]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
4846d82b1ebc4e1c929e01b09aa54f5cd32290f4
[lyx.git] / src / ChangeLog
1 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
4         combox, it is necessary to search for the topmost paragraph in the
5         cursor stack (bug 1926)
6
7 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
10         end of paragraph. (bug 2010)
11
12 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
13
14         * text.C (leftMargin): check for inInset == 0
15
16 2005-08-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
17
18         * text.C (leftMargin): test for insetbase's new neverIndent()
19         bool instead of listing each and every inset that does not
20         wish par indendation.
21
22 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * buffer_funcs.C (setCounter): put the code to compute enum label
25         here (where it belongs).
26
27         * counters.C (enumLabel): move code to buffer_funcs.C.
28
29 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
30
31         * outputparams.[Ch]: store local_font instead of local_language
32         * paragraph.C (simpleTeXOnePar): adapt to the change above
33
34 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
35
36         * buffer_funcs.C:
37         * counters.[Ch]: clean up special code for Hebrew.
38
39 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
42         than 2.
43
44 2005-09-08  Angus Leeming  <leeming@lyx.org>
45
46         * ispell.C:
47         * lyxrc.C: correct grammar describing invocation of the
48         spellchecker.
49
50 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * text.C (read): remove unused variable.
53         (readParToken): remove static Change variable (never good in
54         recursive settings...); add it as a parameter instead.
55
56         * paragraph_pimpl.C (acceptChange): make debug info conditional.
57
58         * metricsinfo.C (PainterInfo): add new member erased_.
59
60         * rowpainter.C (RowPainter): add erased_ member, initialized from
61         PainterInfo. 
62         (paintInset): pass erased_ to Inset::draw.
63
64         * lyxfunc.C (lookupChange): new function. Tells whether change 
65         tracking is disabled at a given postion.
66         (getStatus): disable some actions when in deleted text with change
67         tracking. 
68
69 2005-08-03  John Levon  <levon@movementarian.org>
70         
71         * tabular.C (appendColumn, setMultiColumn): adapt to change to
72         InsetText::clear().
73
74         * paragraph_pimpl.C (markErased): add bool argument and handle it.
75         Also make sure to mark insets recursively.
76         (rejectChange, erase): be recursive
77
78         * paragraph.C (markErased): add bool argument.
79 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
80
81         * lyxfind.C (findNextChange): tiny cleanup.
82
83         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
84         change tracking with the cursor in an inset; make sure the first
85         change is not skipped.
86
87 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
88
89         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
90         tabularStackDirty to work around bug 1919 (tabular needs
91         to know whether its own cell paste buffer or the one of 
92         texted is newer.
93         * CutAndPaste.C: mark tabular_stack_ clean after copy.
94
95 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
98
99 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
100
101         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
102         use old deleteion algorithm when changetracking is on.
103
104 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
105
106         * messages.C (get): add debug output.
107
108 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * text.C (cursorX): fix bug 1965: cursor movement at
111         line end broken in RtL.
112         (drawSelection): fix bug 1970: drawing of single-line 
113         selection broken for RtL.
114
115 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         bug 465.
118
119         * dociterator.h (clear, push_back, pop_back): change from
120         protected to public.
121
122         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
123         and changed to just return the value of the item depth; take a
124         ParIterator as argument; take the itemdepth at outer nesting level
125         in account if necessary; cleanup and comment the code.
126         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
127         and changed to just return true if reset is needed; take a
128         ParIterator as argument; cleanup and comment the code.
129         (setCounter): adapt to above changes.
130
131 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * text3.C (dispatch): make debug message optional
134
135 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
136
137         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
138         inset. (bug 1963)
139
140 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
141
142         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
143
144 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
145
146         * text.C (insertChar):
147         * text2.C (deleteEmptyParagraphMechanism): take care whether 
148         a blank has been deleted (in change tracking mode) (bug 1254).
149
150 2005-07-20  John Levon  <levon@movementarian.org>
151
152         * text2.C (insertStringAsLines): remove old dubious code,
153         fixing bug 1939.
154
155 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * MenuBackend.C (expandToc): use Floating::listName() as title of
158         the floats submenus.
159
160 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
161
162         * toc.[Ch]: Do not use translatable strings (bug 1870).
163
164 2005-07-20  John Levon  <levon@movementarian.org>
165
166         * tabular.C: fix 1748 - setting multicolumn adds
167           left line to the first cell
168
169 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
170
171         bug 1920
172         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
173         pars in one go.
174
175 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
176
177         * messages.C: supress some lyxerr messages
178
179 2005-07-18  Juergen Vigna  <jug@lyx.org>
180
181         * text.C (drawSelection): honor boundary when asking for cursorX.
182
183 2005-07-17  José Matos  <jamatos@fc.up.pt>
184
185         * tabular.C (recalculateMulticolumns): fix handling of one column
186         tables.
187
188 2005-07-17  Juergen Vigna  <jug@lyx.org>
189
190         * text.C (Delete, backspace): fixed so that paragraph with the
191         same layout can be merged by Delete/Backspace.
192
193 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
194
195         * text.C (readParToken): fix spelling.
196
197 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
198
199         * text2.C: fix counter update for DEPM problem reported by
200         Georg Baum
201
202 2005-07-17  Juergen Vigna  <jug@lyx.org>
203
204         * BufferView_pimpl.C (setBuffer): save/restore the
205         cursor/selection when switching buffers
206
207         * buffer.h: 
208         * buffer.C (saveCursor): add saveDocumentIterators to save the
209         cursor when switching buffer.
210
211 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
212
213         * debug.C: fix typo
214         * buffer.C: clarify message
215         
216 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
217
218         * dociterator.C (DocIterator): fix initialization order
219
220 2005-07-17  Juergen Vigna  <jug@lyx.org>
221
222         * text2.C (cursorHome): 
223         * text.C (drawSelection, cursorX): 
224         * dociterator.C (textRow): add boundary to getRow() call
225
226         * paragraph.C (getRow): implementation of below
227
228         * paragraph.h: add parameter boundary for getRow() function
229
230 2005-07-17  José Matos  <jamatos@fc.up.pt>
231
232         * buffer.C:
233         * bufferparams.[Ch]:
234         * tex-strings.[Ch]: new file format, remove support for a4.sty,
235         a4wide.sty and a4widemargins.
236
237 2005-07-17  Juergen Vigna  <jug@lyx.org>
238
239         * text2.C (cursorLeft): fix one of error
240
241 2005-07-17  Juergen Vigna  <jug@lyx.org>
242
243         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
244                    cursorEnd):
245         more fixes for boundary handling
246
247         * text3.C (dispatch): don't reset cursor if boundary has changed
248         on cursor movement.
249
250 2005-07-16  Juergen Vigna  <jug@lyx.org>
251
252         * text2.C (getColumnNearX): hopefully got it right now,
253         check if we are on column 0 for special case.
254
255 2005-07-16  Juergen Vigna  <jug@lyx.org>
256
257         * text2.C (getColumnNearX): handle special case Newline Inset
258
259         * text.C (singleWidth): Just remove bogus check
260
261 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
262
263         * funcrequest.C (split): avoid reading uninitialized char c
264
265 2005-07-16  José Matos  <jamatos@fc.up.pt>
266
267         * buffer.C:
268         * converter.C:
269         * lyxrc.C:
270         * paper.h:
271         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
272         single papersize variable.
273
274 2005-07-16  Juergen Vigna  <jug@lyx.org>
275
276         * text3.C (dispatch): honor boundary when checking if a cursor
277         movement has been done
278
279         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
280         (setCursor, setCursorIntern): fix cursor movement with boundary
281
282 2005-07-16  Juergen Vigna  <jug@lyx.org>
283
284         * text.C (currentState): output the actual Boundary
285
286 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * factory.C (createInset): fix bad logic for tabular creation
289
290 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
291
292         * lyx_main.C (init): change some reLyX reference to tex2lyx
293
294 2005-07-16  Juergen Vigna  <jug@lyx.org>
295
296         * dociterator.C (DocIterator): initialize boundary
297
298 2005-07-16  Juergen Vigna  <jug@lyx.org>
299
300         * text2.C (getColumnNearX): Consider rows without trailing blank.  
301
302 2005-07-16  André Pönitz  <poenitz@gmx.net>
303
304         * lyxfont.h: Change order of declarations to give the compiler
305         a better chance to inline things
306
307         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
308         questions on unsaved docs for better scritability
309
310 2005-07-16  André Pönitz  <poenitz@gmx.net>
311
312         * paragraph.h (getChar): remove asserts as the same kind of security
313         can be achieved by using a suitable standard library implementation
314         and the function was in the critical path (25.9% in profiler)
315
316 2005-07-16  Juergen Vigna  <jug@lyx.org>
317
318         * cursor.C (bruteFind2):
319         * bufferview_funcs.C (coordOffset): 
320         * text.C (cursorX,cursorY): Handle cursor position after last char
321         in row before a inset which uses a whole row.
322
323 2005-07-15  José Matos <jamatos@lyx.org>
324
325         * output_plaintext.[Ch] (writeFileAscii): control reference title
326         printing.
327         (asciiParagraph): noparbreak was already deal and was incorrectly
328         used.
329
330 2005-07-15  Juergen Vigna <jug@lyx.org>
331
332         * lyxfunc.C (dispatch): save and restore the cursor after a
333         textclass switch.
334
335 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
336
337         * text.C (backspace): bug 806 for empty keepempty paragraphs we
338         change the layout to default before letting DEPM do its thing.
339
340         * paragraph_funcs.C (breakParagraph): dont reset the layout on
341         keepEmpty paragraphs
342
343         * text.C (setCursorFromCoordinates): add a debug statement
344
345         * text2.C (getColumnNearX): bug 1825 make sure that we don't
346         return a pos that is not on the row
347
348         * output_latex.C (TeXDeeper): get rid of potential dereferencing
349         of past the end iterator
350
351 2005-07-14  André Pönitz  <poenitz@gmx.net>
352
353         * undo.C (recordUndoFullBuffer): implement undo for
354         textclass switches
355
356 2005-07-14  André Pönitz  <poenitz@gmx.net>
357
358         * cursor.C (setSelection): open insets when selection is set there
359         to avoid crashs with cold coord cache
360
361 2005-07-14  André Pönitz  <poenitz@gmx.net>
362
363         * trans_mgr.C (insert): move cursor to the right after inserting
364         a char.
365
366 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
367
368         * BufferView_pimpl.C (update): dampen some of the debug blabbering
369         * factory.C (readInset): ditto
370         * text.C, text2.C: ditto
371
372 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * buffer.C: format incremented to 242. There is no file format per
375         se, but the "frenchb" language has been removed from lib/language
376         and has to be translated to "french" by lyx2lyx.
377
378 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
379
380         * cursor_slice.h, dociterator.h: add some documentation
381         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
382
383 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
384
385         * text.C (leftMargin): do not add identation to display() style
386         insets, because they are always centered (bug 1293).
387
388 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
389
390         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
391         formatted_time methods in support/lyxtime.
392
393 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
394
395         * toc.[Ch]: new method getGuiName, which is used by the frontends 
396         to set the toc combo (fixes bug 1870). Make TOC string translatable.
397
398 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
399
400         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
401         StableDocIterator const &)
402         * undo.C (recordUndo): use the above instead of cell.size() comparison
403         (fixes bug 1808; instructed by Andr�.
404
405 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
406
407         * cursor_slice.h: 
408         * dociterator.h: Fix the assert when copying rows/cols in math
409
410 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
411
412         * BufferView_pimpl.C:
413         * LyXAction.C:
414         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
415
416         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
417         (findInset): new functions, refactored from goto Inset that return 
418         the position of a certain inset without setting the buffer's cursor
419         (by Jean-Marc); 
420         (gotoInset): rewrite to call findInset and then set the cursor
421         (by Jean-Marc).
422
423 2005-06-16  Angus Leeming  <leeming@lyx.org>
424
425         * lyxrc.C (output, read): wrap all input and output of paths with
426         calls to os::internal_path and os::external_path, respectively.
427         (output): wrap bind_file inside quotes.
428
429         * format.C (view): enable the viewer to use the '$$s' placeholder.
430
431 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
432
433         * LColor.[Ch] (getFromLaTeXName): new
434
435 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
436
437         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
438
439 2005-06-14  Angus Leeming  <leeming@lyx.org>
440
441         * lyx_main.C (init): ensure that the LyX binary dir is the first
442         element in the PATH on non-POSIX builds.
443
444 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
445
446         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
447
448 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * rowpainter.C (paintInset, paintHebrewComposeChar)
451         (paintArabicComposeChar, paintChars): add a LyXFont argument.
452         (paintChars): use getFontSpan to reduce calls to getFont to a
453         minimum; use Paragraph::lookupChange instead of isXXXText.
454         (paintForeignMark): rename LyXFont argument.
455         (paintFromPos): pass a LyXFont object to the various paintXXX
456         methods.
457
458         * FontIterator.C (FontIterator, operator++): use
459         Paragraph::getFontSpan
460
461         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
462         version that returns the font span as a pair.
463
464 2005-06-09  Angus Leeming  <leeming@lyx.org>
465
466         * converter.C (convert): Don't forget "outfile = real_outfile" as
467         the final step in a conversion where the input and output file names
468         are the same. Otherwise, future conversion steps won't work...
469
470 2005-06-09  Angus Leeming  <leeming@lyx.org>
471
472         * lyxsocket.C: remove stub code as it isn't needed by
473         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
474
475 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
476
477         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
478         effectively disabled -x
479
480 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
481
482         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
483         when it actually makes sense.
484
485 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
486
487         * BufferView_pimpl.C: revert to showCursor in connection with
488         Lars's front-end stack
489
490 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
491
492         * text.C (redoParagraph): move cursor right after a bibitem
493         has been inserted.
494
495         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
496
497 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * buffer_funcs.C (bufferErrors): fix computation of the end of an
500         error range.
501
502 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
503
504         * BufferView.[Ch] (update):
505         * BufferView_pimpl.[Ch] (update, metrics):
506         * dimension.h (operator==):
507         * lyxfunc.C (dispatch):
508         * metricsinfo.h (ViewMetricsInfo):
509         * rowpainter.C (paintText):
510         * lyxtext.h:
511         * text.C (redoParagraph):
512         * text3.C (dispatch): Make LyX only repaint current paragraph in
513         case of character insert --> speedup. Also fix cursor draw
514         artifacts
515
516 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
519         avoid a crash (bug 1891)
520
521 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
522
523         Fix bug 1892:
524
525         * text2.C (getStringToIndex): constify cur argument.
526
527         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
528         argument has been given
529         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
530         try to invoke LFUN_INSET_APPLY).
531
532         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
533         if no inset was created by doInsertInset
534         (doInsertInset): return true if an inset has been inserted.
535
536 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * vspace.C (asGUIName): new method. A version of the space
539         suitable for showing on screen.
540
541 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
542
543         * MenuBackend.C:
544         * lyxrc.C: rename "ASCII" to "Plain Text"
545
546 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
547
548         * buffer_funcs.C (expandLabel): take a Buffer as argument;
549         translate the labelstring.
550         (setCounter): translate labelstring as needed.
551
552         * output_docbook.C (makeCommand): fix expandLabel invokation
553
554 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
555
556         * BufferView.C: fix dialog title
557
558 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
559
560         * lyx_main.C (priv_exec): fix logic error with help from Angus
561         * lyx_main.C (parse_execute): set is_gui = false and remove now
562         obsolete comment about a segfault
563
564 2005-05-18  Angus Leeming  <leeming@lyx.org>
565
566         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
567
568 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
569
570         * tabular.[hC]: added setCellInset to fix tabular paste.
571
572 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
573
574         * buffer.C (save): check if destination is writable before trying
575         to copy a file
576
577 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
578
579         * BufferView_pimpl.C (update): fix processEvents -caused update
580         recursion bug
581
582 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * buffer_funcs.C (setCounter): fix test for numbering of
585         environments.
586
587         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
588         depth correctly; use optional argument when it exists
589
590         * lyxtextclass.C: remove unused MaxCounterTags enum
591         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
592         (max_toclevel, min_toclevel): new methods.
593
594         * MenuBackend.C (expandToc2): fix case where depth is smaller than
595         the smallest depth in toc.
596
597         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
598         layouts that should not appear in a table of contents.
599
600 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
601
602         * cursor.h (undispatched, noUpdate): add comments from Andr�
603 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
604
605         * lfuns.h:
606         * LyXAction.C:
607         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
608
609 2005-05-07  André Pönitz  <poenitz@gmx.net>
610
611         * cursor.[Ch] (leaveInset): new function
612
613 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
614
615         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
616
617 2005-05-04  Angus Leeming  <leeming@lyx.org>
618
619         * lyxfunc.C (getStatus): disable the spell checker dialog if
620         none of USE_[AIP]SPELL are defined.
621
622 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
623
624         * tabular.C (setWidthOfCell): remove obsolete comment
625
626 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
627
628         * paragraph.C (bibitem):
629         * buffer_funcs.C (setCounter):
630         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
631
632 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
633
634         * text3.C (getStatus): immediately return after setOnOff
635
636         * rowpainter.C: fix drawing of appendix start
637
638 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
639
640         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
641         SwitchBetweenClasses and remove the unused return value.
642         Handle character styles, too
643
644 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
645
646         * factory.C (createInset): handle undefined character styles
647
648 2005-05-02  Angus Leeming  <leeming@lyx.org>
649
650         * buffer.C: protect the #include of utime.h with a preprocessor
651         guard.
652
653 2005-05-02  Angus Leeming  <leeming@lyx.org>
654
655         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
656         function so that auto-saving works, albeit in a blocking manner.
657
658         * Makefile.am: make compilation of the client sub directory, of
659         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
660         on conditionals set at configure time.
661
662         * SpellBase.[Ch]: no longer an abstract base class. Instead,
663         it can be compiled in its own right but has no-op functionality.
664
665         * aspell.C, pspell.C: remove preprocessor guards. The files should
666         be compiled only if the necessary functionality exists.
667
668         * lyxserver.C, lyxsocket.C: disable on Windows.
669
670 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
671
672         * text.C (leftMargin): Fix the parindent use bug (1764)
673         by dirty trick
674
675 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
676
677         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
678         argument.
679
680 2005-04-25  Angus Leeming  <leeming@lyx.org>
681
682         * Bidi.[Ch]:
683         * coordcache.[Ch]:
684         * ispell.C:
685         * lyxserver.C:
686         * mover.C:
687         * pch.h:
688         include <config.h> in .C files, not .h ones.
689         add licence blurb.
690         protect headers inside preprocessor guards.
691
692 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
693
694         * FuncStatus.h (StatusCodes): document
695
696 2005-04-21  André Pönitz  <poenitz@gmx.net>
697
698         * FuncStatus.h (enabled, onoff): document
699
700 2005-04-19  Angus Leeming  <leeming@lyx.org>
701
702         * BufferView_pimpl.C (cursorToggle): no longer test whether
703         any child processes have been reaped before calling
704         handleCompletedProcesses().
705
706 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
707
708         * text3.C (dispatch): fix, finally fix, the language problem in
709         new lyxtexts, without disabling on-the-fly font changes (Helge's
710         bug report)
711
712 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
713
714         * text3.C (dispatch): set cursor on double/triple click events
715         (bug 1811)
716
717 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
720         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
721
722         * rowpainter.C (paintFirst): simplify the code a little bit. In
723         particular, remove the test for secnumdepth.
724         * text.C (setHeightOfRow): only allocate space for chapter number
725         when updateCounters provided an actual label, instead of looking
726         at secnumdepth directly.
727
728         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
729
730         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
731         paragraphs when secnumdepth is large enough or, for environments,
732         when they are not the first in a sequence.
733
734 2005-04-17  Angus Leeming  <leeming@lyx.org>
735
736         * buffer.C (makeLaTeXFile): replace code to manipulate a path
737         containing space and '~' characters with a call to latex_path().
738
739 2005-04-17  Angus Leeming  <leeming@lyx.org>
740
741         * converter.C (convert): protect all args of convertDefault.sh
742         script with quotes.
743
744 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
745
746         * text3.C (dispatch): change the layout to "Caption" after inserting
747         a float.
748
749 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
750
751         * text3.C (dispatch): fix language problem in newly created
752         textinsets (and main text) in non-english docs
753
754 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
755
756         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
757         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
758         * text3.C (getStatus): disable LFUN_INSET_MODIFY
759
760 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
761
762         * lyxtext.h:
763         * text.C (metrics):
764         * text2.C (getFont):
765         * rowpainter.C (getFont): Fix metrics bug introduced by inset
766         fonts fix
767
768 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
769
770         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
771         output of \item arguments without trailing text.
772
773 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
774
775         * FontIterator.C (operator*): avoid a copy of the font.
776
777 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
778
779         * rowpainter.C (getFont): fix language bug from previous fix
780
781 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
782
783         * rowpainter.C (RowPainter, getFont): fix font inside inset
784         (bugs 1766, 1809)
785
786 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
787
788         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
789         preventing inserted font, deco, delim insets jumping to start of
790         surrounding inset.
791
792 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
793
794         * lyxfunc.C (dispatch): translate message before sending it to the
795         minibuffer.
796
797 2005-03-29  Angus Leeming  <leeming@lyx.org>
798
799         * lyx_main.C (priv_exec): call os::internal_path on each file passed
800         to LyX on the command line.
801
802 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
803
804         * vc-backend.C: use QuoteName to protect file names wherever
805         necessary.
806
807 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
808
809         * buffer.[Ch]:
810         * BranchList.h: fix bugs 1844,1845: document settings don't
811         stick
812
813 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         * lyxrc.C (setDefaults, read, output, getDescription): add support
816         for tex_allows_spaces.
817
818         * exporter.C (Export): allows files in directory containing spaces
819         if tex_allows_spaces is true.
820
821         * buffer.C (makeLaTeXFile): if the document path contains spaces,
822         output it in double quotes.
823
824 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
825
826         * rowpainter.C: use default text height for drawing change tracker
827         strikeout lines.
828
829 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
830
831         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
832
833 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
834
835         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
836         directory is missing.
837
838 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
839
840         * text2.C: fixed the fix, extended to other case.
841
842 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
843
844         * text2.C: fix for cursor up/down stuck in math [bug 1792]
845
846 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
847
848         * text2.C (cursorUp): get rid of a crash
849         * text.C (x2pos): add an assert
850
851 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
852
853         * lyxfunc.C (getStatus): fix warning when assertions are disabled
854
855         * text3.C:
856         * lyxfunc.C:
857         * dociterator.C: include <boost/current_function.hpp>, which is
858         needed when assertions are disabled.
859
860 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
861
862         * text2.C: fix for stuck cursor when traversing two
863         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
864
865 2005-02-25  Andreas Vox  <avox@arcor.de>
866
867         * output_docbook.C (makeParagraph): suppress trailing newline
868         after a run of paragraphs
869
870 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
871
872         * paragraph.C: fix for confused change tracker when pasting
873         text that begins with a lineseparator. [bug 1827]
874         (setChange(0, Change::INSERTED);)
875
876         * paragraph_funcs.C: fix for lost changes on triple-paste
877         in change tracking mode [bug 1827] (par.setChange()).
878
879 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
880
881         * text2.C (updateCounters, setCounter, expandLabel): move to
882         buffer_funcs.
883
884         * buffer_funcs.C (updateCounters): turn into a free standing
885         function and add a buffer parameter. Remove dead code for tracking
886         labelstring change.
887         (setCounter): change into a free-standing function which gets a
888         dociterator as argument. Use this iterator to fix captions in a
889         simple way. When no float is found above the caption, use the
890         labelstring of the caption layout as default.
891
892         * text.C (breakParagraph, backspace):
893         * text2.C (init, setLayout, changeDepth):
894         * text3.C (dispatch):
895         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
896         updateCounters.
897
898         * dociterator.C (forwardPar): make it much faster by calling
899         forwardPos() only when really necessary.
900
901         * output_docbook.C (makeCommand): adapt to expandLabel move.
902
903         * cursor.C: remove unused variable
904
905 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
906
907         * paragraph_funcs.C: fix crash when pasting insets in change
908         tracking mode [bug 1277] (honour change type in moveItem).
909
910 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
911
912         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
913
914 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
915
916         * BufferView.C (setCursor): change to use a DocIterator.
917         (gotoLabel): use BufferView::setCursor (other part of bug 781).
918         (putSelectionAt): adapt to BufferView::setCursor change.
919
920         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
921         moved here from LyXText and rewritten to use proper cursor
922         methods. Fixes bug 1787, 616 and 835.
923
924         * BufferView_pimpl.C (restorePosition): set the cursor correctly
925         when inside an inset (part of bug 781).
926         (dispatch): adapt to change of BufferView::setCursor.
927         (getStatus, dispatch): handle LFUN_GOTOERROR,
928         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
929
930         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
931         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
932         * text3.C (gotoNextInset, gotoInset): removed.
933
934 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
937
938 2005-02-15  Angus Leeming  <leeming@lyx.org>
939
940         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
941         can be used meaningfully in a comparison.
942
943 2005-02-13  André Pönitz  <poenitz@gmx.net>
944
945         * bufferview_funcs.C (coordOffset): improve cursor drawing
946
947 2005-02-13  André Pönitz  <poenitz@gmx.net>
948
949         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
950         * Cursor.C (dispatch): use fixIfBroken
951         * lyxfunc.C (getStatus): use fixIfBroken
952
953 2005-02-15  Angus Leeming  <leeming@lyx.org>
954
955         * lyx_main.C (error_handler):
956         * lyxfunc.C:
957         * lyxrc.C (setDefaults):
958         s/GetEnv/getEnv/.
959         #include "environment.h".
960
961         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
962
963 2005-02-15  Angus Leeming  <leeming@lyx.org>
964
965         * lyxserver.C (startPipe): squash MSVC warning "local variable
966         'fd' used without having been initialized".
967
968 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
969
970         * BufferView_pimpl.C: revert accidental commit.
971
972 2005-02-14  André Pönitz  <poenitz@gmx.net>
973
974         * dociterator.[Ch]: new member forwardPosNoDescent(),
975         which doesn't enter nested insets.
976         * text2.C (setFont): use forwardPosNoDescent() instead
977         of ForwardPos() (fixes crash on font change).
978
979 2005-02-13  Angus Leeming  <leeming@lyx.org>
980
981         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
982         only if lyxrc.path_prefix is not empty.
983
984 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
985
986         * bufferparams.C (readGraphicsDriver): prevent crash
987
988 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
989
990         * text2.C (setCounter): check for inInset() == 0
991
992 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
993
994         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
995         but use update() to get correct screen display; use convert
996         instead of istringstream.
997         (getStatus): handle LFUN_GOTO_PARAGRAPH
998
999         * lyxfunc.C (dispatch, getStatus): do not handle
1000         LFUN_GOTO_PARAGRAPH here.
1001
1002 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1003
1004         * text3.C (dispatch): size() -> depth()
1005
1006         * text2.C: remove some debug output
1007
1008         * paragraph.C: ws changes only
1009
1010         * lyxfunc.C (getStatus): size() -> depth()
1011
1012         * dociterator.h (clear, push_back, pop_back, internalData,
1013         operator[], resize, empty): new functions
1014         Make StableDocIterator and operator== be friends. Don't inherit
1015         from std::vector use a privat class variable slices_ instead.
1016         Modify to fit.
1017
1018         * dociterator.C: update because of not inheriting from std::vector
1019         anymore. Call explictly to slices_ instead. Use depth() instead of
1020         size() and top() instead of back()
1021
1022         * cursor.C: chagne size() -> depth and back() -> top(). Also
1023         remove some direct operator[](i) calls in favour of foo[i]
1024         (getFont): remove some dead code
1025
1026         * bufferview_funcs.C (coordOffset): size() -> depth()
1027
1028         * buffer.C: ws changes only
1029
1030         * CutAndPaste.C (eraseSelection): back() -> top()
1031
1032         * BufferView_pimpl.C (selectionRequested): back() -> top()
1033
1034         * BufferView.C (setCursor): size() -> depth()
1035
1036 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1037
1038         * text3.C (cursorPrevious): return true if depm changed something
1039         (cursorNext): ditto
1040         (dispatch): rename sl to oldTopSlice, remove moving use the new
1041         NoUpdate func attrib instead. Make sure that needsUpdate is set
1042         for function that have NoUpdate, but where depm might have changed
1043         the buffer anyway.
1044
1045         * text2.C (cursorLeft): make us return true if depm changed
1046         something
1047         (cursorRight): ditto
1048         (cursorUpParagraph): ditto
1049         (curosrDownParagraph): ditto
1050         (cursorUp, cursorDown): ditto, make sure to read comments in code
1051         (deleteEmptyParagraphMechanism): remove an assert, also return
1052         true if just a single char was deleted.
1053
1054         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1055         cursor that we modify, to avoid modifying an active cursor before
1056         we call setCursor. This allows depm to run. Also return true if
1057         depm deleted something.
1058
1059         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1060         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1061         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1062         something was changed in the buffer because of them (ie. depm run)
1063
1064         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1065         debug messages. Make update by default be false. Make sure that
1066         the result of update is retained throught several calls down to
1067         dispatch.
1068
1069         * LyXAction.h: add a new func_attrib: NoUpdate
1070
1071         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1072         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1073         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1074         and LFUN_WORDLEFT
1075         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1076
1077 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1078
1079         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1080         bv_->owner(), bv_->buffer() by direct references to the private
1081         members.
1082         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1083         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1084         (fitCursor): center() is in BufferView::Pimpl.
1085         (getStatus, trackChanges, dispatch): no need for a temporary buf
1086         variable
1087         (fitCursor, workAreaDispatch): use workarea().workheight()
1088
1089 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1090
1091         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1092
1093 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1094
1095         * buffer.C: format up to 241.
1096         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1097         break if pasting into ERT
1098         * lyxfunc.C (getStatus): suppress mathpanel and
1099         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1100
1101 2005-02-01  Angus Leeming  <leeming@lyx.org>
1102
1103         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1104
1105 2005-02-01  Angus Leeming  <leeming@lyx.org>
1106
1107         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1108         calling fs::is_directory().
1109
1110 2005-01-31  Angus Leeming  <leeming@lyx.org>
1111
1112         * lyx_main.C (priv_exec): specify explicitly the relative location
1113         of the top level build directory when run in-place.
1114
1115 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1116
1117         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1118         LyXText containing the cursor, not the top-level one.
1119
1120         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1121         true.
1122         (insertStringAsLines): rename par to pit; use temporary variable
1123         par to hold a Paragraph; do not store par.layout() in a variable,
1124         since the pointer may die when breaking paragraphs; pass pars to
1125         breakParagraph() instead of Buffer::paragraphs().
1126
1127 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1128
1129         * lyxlex_pimpl.h: #include <fstream>.
1130
1131         * BufferView.[Ch] (getLyXText): add a const version.
1132
1133         * BufferView_pimpl.C: add debug aids.
1134
1135         * RowList_fwd.h:
1136         * buffer.h:
1137         * lyxrow.h:
1138         * paragraph_funcs.h: add commentary explaining what the class does.
1139
1140
1141         * coordcache.[Ch]: add lots of commentary.
1142         (startUpdating, doneUpdating): debug aids.
1143         (arrays, insets, parPos, getParPos): accessors to private data.
1144
1145         * cursor_slice.[Ch] (text): add a const version.
1146         * dociterator.[Ch] (text, innerText): add const versions.
1147
1148         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1149         bool.
1150
1151         * paragraph.C (getRow, pos2ros): add asserts.
1152
1153         * paragraph.h: add commentary. Lots of.
1154
1155         * paragraph.[Ch] (metrucs, draw): removed.
1156
1157         * cursor.C:
1158         * rowpainter.[Ch]: const-correct changes.
1159
1160         * text.C: various obvious clean-ups. Removal of ancient cruft.
1161         Bug fixes, even.
1162
1163 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1164
1165         * vc-backend.C (find_file): rewrite to use boost.filesystem
1166         (scanMaster): ditto
1167
1168         * main.C (main): set default name check for boost.filesystem to
1169         no check
1170
1171         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1172         (open): ditto
1173         (doImport): ditto
1174         (actOnUpdatedPrefs): ditto
1175
1176         * lyx_main.C (init): rewrite to use boost.filesystem
1177         (queryUserLyXDir): ditto
1178
1179         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1180         (getContentsOfAsciiFile): ditto
1181
1182         * lastfiles.C (readFile): rewrite to use boost.filesystem
1183
1184         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1185
1186         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1187         (loadLyXFile): ditto
1188
1189         * buffer.C (Buffer): adjust for destroydir
1190         (getLogName): rewrite to use boost.filesystem
1191         (setFileName): ditto
1192         (save): use fs::copy_file (from fs_extras)
1193
1194         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1195
1196         * LaTeX.C (run): rewrite to use boost.filesystem
1197         (scanAuxFiles): ditto
1198         (handleFoundFile): ditto
1199
1200 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1201
1202         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1203
1204         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1205
1206 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1207
1208         * lyxlayout.[Ch]: change some vars from float to double
1209
1210         * buffer.C (readFile): make a local var const
1211
1212         * Several files: use convert<> instead of atoi,strToXXX and friends
1213
1214 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1215
1216         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1217         holds the contents of packages.lst. New functions getAvailable
1218         and isAvailable to parse and check that list, resp.
1219
1220         * LyXAction.C:
1221         * lfuns.h:
1222         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1223
1224         * bufferparams.[Ch]: new param output_changes.
1225
1226         * Buffer.C: increase file format to 240.
1227         Use output_changes and isVailable.
1228
1229         * changes.[Ch]:
1230         * paragraph.C:
1231         * paragraph_pimpl.C: Use output_changes and isVailable.
1232
1233 2005-01-23  Angus Leeming  <leeming@lyx.org>
1234
1235         * output_latex.C: #include "insetbibitem.h", rather than
1236         forward declare function bibitemWidest.
1237
1238 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1239
1240         * lyx_main.C (init): make it compile on the Mac.
1241
1242 2005-01-20  Angus Leeming  <leeming@lyx.org>
1243
1244         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1245         (setLyXMisc): (char string literal) != (char string literal) is
1246         performing a comparison on the addresses. Convert one operand
1247         explicitly to string to guarantee expected behaviour.
1248         From MSVC warning.
1249
1250 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1251
1252         * buffer.C:
1253         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1254
1255         * output_plaintext.C: remove unneeded #include gzstream.h.
1256
1257 2005-01-20  Angus Leeming  <leeming@lyx.org>
1258
1259         * SpellBase.h: rename some of the elements of the Result enum.
1260
1261         * aspell_local.h:
1262         * ispell.h:
1263         * pspell.h:
1264         * aspell.C (check):
1265         * ispell.C (check):
1266         * pspell.C (check): ditto
1267
1268 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1269
1270         * buffer.C: add #include <fstream>.
1271
1272         * lyx_main.C (init): Compile fix.
1273
1274         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1275
1276 2005-01-20  Angus Leeming  <leeming@lyx.org>
1277
1278         * mover.h: change commentary to reflect the changed meaning of
1279         the $$s placeholder.
1280
1281 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1282
1283         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1284
1285         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1286
1287 2005-01-20  Angus Leeming  <leeming@lyx.org>
1288
1289         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1290         printing diagnostic data by not dereferecing an iterator past the
1291         end.
1292
1293 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1294
1295         * buffer.C (readHeader): use "&&" rather than "and".
1296
1297         * lyxserver.h (inPipeName, outPipeName): make these const.
1298
1299 2005-01-19  Angus Leeming  <leeming@lyx.org>
1300
1301         * lyx_main.C (error_handler, init): protect SIGHUP with
1302         #ifdef SIGHUP guards.
1303
1304 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1307
1308 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * text.C (setHeightOfRow): add a margin at the top and bottom of
1311         the document (bug 1761)
1312
1313 2005-01-17  Angus Leeming  <leeming@lyx.org>
1314
1315         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1316         with "python ". Workaround for a brain-dead Windows.
1317
1318 2005-01-16  Angus Leeming  <leeming@lyx.org>
1319
1320         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1321         for MacOSX and Windows to use prependEnvPath.
1322         Strip out the hard-coded block to add elements to the PATH for
1323         MacOSX and replace it with a call to prependEnvPath using the
1324         contents of LyXRC::path_prefix.
1325         (queryUserLyXDir): strip out the code to run reconfigure, instead
1326         returning a boolean indicating the necessity to do so.
1327         (reconfigureUserLyXDir): contains the code to reconfigure the
1328         user support directory. Is now called after the various LyXRC data
1329         files have been read.
1330
1331         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1332
1333 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1334
1335         * converter.[Ch] (convert): take a new parameter try_default. Use
1336         a default converter (imagemagick) if try_default is true.
1337
1338 2005-01-13  Angus Leeming  <leeming@lyx.org>
1339
1340         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1341         os::cygwin_path_fix.
1342         (write): output LyXRC::cygwin_path_fix as necessary.
1343
1344 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1345
1346         * lyxrc.h:
1347         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1348
1349 2005-01-12  Angus Leeming  <leeming@lyx.org>
1350
1351         * lyx_main.C (init): set the PATH variable to include the
1352         directory containing the LyX binary when running on Mac or Windows.
1353
1354 2005-01-12  Angus Leeming  <leeming@lyx.org>
1355
1356         * lyx_main.C (init): remove cruft that purports to set the locale
1357         dir. It doesn't and is not needed anyway.
1358
1359 2005-01-10  Angus Leeming  <leeming@lyx.org>
1360
1361         * Makefile.am: remove the lyx_main.C special casing.
1362
1363         * BufferView_pimpl.C:
1364         * bufferlist.C:
1365         * exporter.C:
1366         * lyx_cb.C:
1367         * lyx_main.C:
1368         * lyxfunc.C:
1369         * messages.C: use support/package.h to provide the paths to the
1370         various directories used by LyX.
1371
1372 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1373
1374         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1375         layout if pasting into an empty paragraph)
1376
1377 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1378
1379         * tex-accent.C: add <string>
1380
1381 2005-01-06  José Matos  <jamatos@lyx.org>
1382
1383         * ParagraphParameters.C (write): put every parameter in its own line.
1384         * paragraph.C (write): reduce number of consecutive empty lines exported.
1385         * buffer.C (LYX_FORMAT): increase file format to 239.
1386
1387 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1388
1389         * everywhere: change support/tostr.h -> support/convert.h
1390
1391         * tabular.C: make all write_attributes templates, tostr -> convert
1392
1393         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1394         (emptyTag): and -> &&, and fix type for ret from getChar
1395         (getFirstWord): fix type for ret from getChar
1396         (onlyText): and -> &&
1397         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1398         getChar
1399
1400         * toc.C (goTo, action):
1401         * text3.C (dispatch):
1402         * text.C (currentState):
1403         * tex-accent.C (DoAccent):
1404         * sgml.C:
1405         * lyxrc.C:
1406         * lyxfunc.C (menuNew):
1407         * lyxfinc.C (replace):
1408         * counters.C (laberItem):
1409         * bufferview_funcs.C (font2string):
1410         * bufferparams.C (writeFile):
1411         * buffer.C (readFile):
1412         * Spacing.C (set):
1413         * MenuBackend.C: tostr -> convert
1414
1415         * LaTeX.C (runMessage): fix format
1416         (scanAuxFiles): tostr -> convert
1417
1418         * BufferView_pimpl.C (savePosition): fix format
1419         (restorePosition): ditto
1420         (dispatch): ditto
1421
1422 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1423
1424         * Spacing.[Ch]: New method getValueAsString().
1425
1426         * Spacing.[Ch]:
1427         * bufferparams.C:
1428         * ParagraphParameters.C:
1429         * lyxlayout.C:
1430         * text.C:
1431         * text3.C: store/read spacing value as string.
1432
1433         * rowpainter.C: change float value (spacing_val) to double.
1434
1435         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1436         broken custom document spacing).
1437
1438 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1439
1440         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1441         namespace, also more use of temp references and const
1442
1443         * cursor.[Ch] (getStatus): move to lyxfunc.C
1444
1445         * bufferparams.C: reformat slightly
1446
1447         * bufferview_funcs.C (font2string): constify arg
1448
1449         * changes.C:
1450         * converter.C:
1451         * counters.C:
1452         * bufferlist.C:
1453         * buffer_funcs.C: (many funcs): constify arg on function
1454         definitions, also make more local vars const, also add ASSERTS on
1455         pointer args.
1456
1457         * buffer.C (LYX_FORMAT): put const in correct place
1458         (many funcs): constify arg on function definitions, also make
1459         more local vars const
1460
1461         * aspell_local.h: remove "struct" from typdef setup
1462
1463         * aspell.C (check): make word_ok const
1464         (nextMiss): simplify slightly
1465         (error): ditto
1466
1467 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1468
1469         * lyxrc.[Ch]: store all float values as strings.
1470         use int (not float) for lyxrc.dpi.
1471
1472 2005-01-04  Angus Leeming  <leeming@lyx.org>
1473
1474         * lyx_cb.C (Reconfigure):
1475         * lyx_main.C (queryUserLyXDir):
1476         to run the <system_lyxdir>/configure correctly on Windows, prefix
1477         the path to the script with "sh " when generating the string that
1478         is passed to system().
1479
1480 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1481
1482         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1483
1484 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1485
1486         * lyxlength.C (asLatexString): get rid of setprecision
1487
1488 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * text2.C (setLayout): remove unused variable endpit.
1491         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1492
1493         * paragraph.C (onlyText): remove unused variable style.
1494
1495         * cursor.C (bruteFind): remove unused variables beg and end.
1496
1497         * Makefile.am (dist_noinset_DATA): not needed anymore
1498
1499         * cheaders/*: remove.
1500
1501 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1502
1503         * text3.C: fix LFUN_MATH_MODE.
1504
1505 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1506
1507         * buffer_funcs.C (countWords): new function. Counts words between
1508         two iterators.
1509
1510         * BufferView_pimpl.C (getStatus, dispatch): handle
1511         LFUN_WORDS_COUNT.
1512
1513         * LyXAction.C (init):
1514         * lfuns.h: add LFUN_WORDS_COUNT.
1515
1516 2004-12-19  Angus Leeming  <leeming@lyx.org>
1517
1518         * buffer.C (save): s/slashify_path/internal_path/.
1519
1520 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1521
1522         * lyxfind.C (findChange): do not search for end of pars, because
1523         the change tracker cannot handle this (fixes bug 1719).
1524
1525 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1526
1527         * paragraph.[Ch] (autoBreakRows): remove
1528
1529         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1530
1531         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1532         avoid using the paragraph one
1533
1534         * text2.C (LyXText, insertStringAsLines): adjust
1535
1536 2004-12-16  Angus Leeming  <leeming@lyx.org>
1537
1538         * bufferlist.C:
1539         * lyx_main.C:
1540         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1541
1542 2004-12-14  Angus Leeming  <leeming@lyx.org>
1543
1544         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1545
1546         * bufferlist.C (emergencyWrite):
1547         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1548         GetEnvPath("HOME").
1549
1550 2004-12-14  Angus Leeming  <leeming@lyx.org>
1551
1552         * main.C: (main): no longer pass pointers to os::init.
1553
1554 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1555
1556         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1557         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1558
1559 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1560
1561         * lyxfunc.C:
1562         * text3.C: remove selection_possible global flag
1563
1564 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1565
1566         * text2.C (getSelectionSpan): remove
1567         (changeDepth, changeDepthAllowed): adjust
1568
1569 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1570
1571         * Makefile.am (BOOST_LIBS): use boost variables
1572
1573 2004-12-03  José Matos  <jamatos@lyx.org>
1574
1575         * buffer.C: format up to 238.
1576
1577 2004-12-03  José Matos  <jamatos@lyx.org>
1578
1579         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1580
1581 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1582
1583         * cursor.C (goUpDown): remove call to idxUpDown2
1584
1585 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1586
1587         * tabular.[Ch]: use size_t-like types for cell, row and column
1588         indices
1589
1590 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1591
1592         * lyxfunc.C (getStatus): do not lose previous information when
1593         calling BufferView::getStatus; do not set a default "Command
1594         disabled" message at the beginning, but just before returning.
1595
1596 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1597
1598         * cursor.h (getStatus): add better comment from src/cursor.C
1599
1600 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1601
1602         * text3.C (getStatus): return false when the lfun is not handled
1603
1604 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1605
1606         * broken_headers.h: remove
1607
1608         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1609
1610 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1611
1612         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1613         offset_ref accessors
1614
1615         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1616         top_y_, merge fitcursor with update
1617         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1618         coord scheme
1619         (metrics): introduce
1620         (workAreaDispatch): adapt to new coord scheme
1621         (redoCurrentBuffer): remove
1622
1623         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1624
1625         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1626         CurStatus enum.
1627
1628         * coordcache.[Ch]: add paragraph cache and helpers
1629
1630         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1631         adjust everywhere
1632
1633         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1634         (targetX, setTargetX): introduce
1635
1636         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1637         baseline -> ascent, as the rest of lyx
1638
1639         * lyxtext.h: remove redoParagraphs, updateParPositions,
1640         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1641         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1642         have ascent/descent (ascent is ascent of first par)
1643
1644         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1645         step of BufferView
1646
1647         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1648
1649         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1650
1651         * pariterator.C: fix infinite loop introduced in par->pit renaming
1652
1653         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1654         in insets and LyXText, draw two off-screen paragraphs using
1655         NullPainter, and adapt to new coord scheme
1656
1657         * text.C:
1658         * text2.C:
1659         * text3.C: adapt lfun handlers to the new coord scheme, which
1660         means: there's only guaranteed coord information for onscreen pars
1661         plus one above and one below. This implies that one can do search
1662         from y coordinates in the range [-1,workHeight]
1663
1664 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1665
1666         * rename a lot of InsetOld to InsetBase
1667
1668 2004-11-25  Angus Leeming  <leeming@lyx.org>
1669
1670         * BufferView_pimpl.C:
1671         * lyx_cb.C:
1672         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1673
1674 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1675
1676         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1677         call BufferView::getStatus if LCursor::getStatus did nothing
1678         (setStatusMessage, getStatusMessage): removed.
1679
1680         * FuncStatus.C (message): new methods. Used to provide an error
1681         message indicating why a command is disabled.
1682         (clear, |=, FuncStatus): update for message.
1683
1684 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1685
1686         * lyxfunc.C (dispatch): always call sendDispatchMessage
1687
1688 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1689
1690         * BufferView.C:
1691         * BufferView_pimpl.C:
1692         * CutAndPaste.C:
1693         * FontIterator.C:
1694         * buffer.C:
1695         * cursor.C:
1696         * cursor_slice.[Ch]:
1697         * dociterator.[Ch]:
1698         * lyxfind.C:
1699         * paragraph_funcs.C:
1700         * pariterator.C:
1701         * rowpainter.C:
1702         * text.C:
1703         * text2.C:
1704         * text3.C:
1705         * undo.C: par->pit renaming
1706
1707 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1708
1709         * tabular.C (cellstruct): use initialization, store a shared_ptr
1710         to insettext instead of the insettext directly, adjust to fit.
1711         (operator=):  new function
1712         (swap): new function
1713         (rowstruct): use initialization
1714         (columnstruct): use initialization
1715         (ltType): use initialization
1716
1717
1718         * lyxlength.h (swap): new function
1719
1720         * LColor.[Ch] (operator=): use the common semantics
1721
1722 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1723
1724         * lyxfind.C (findNextChange): update the bufferview after setting
1725         the selection.
1726
1727 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1728
1729         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1730         number of InsetOptArgs has already been inserted.
1731
1732         * output_latex.C (latexOptArgInsets): new method. This outputs all
1733         the optarg insets, up to the limit defined in the layout file.
1734         (optArgInset): removed
1735         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1736
1737 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1738
1739         * paragraph.C (isLetter): remove special spellchecker-related
1740         code; return true also for digits
1741         (isWord, isKomma): remove
1742
1743         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1744         * lyxfind.C (MatchString()): use isLetter instead of isWord
1745
1746 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1747
1748         * pariterator.h (operatir=): comment out un-implemented member
1749         function.
1750
1751         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1752         static cast.
1753
1754 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1755
1756         * lyxfont.h: include LColor.h to satisfy concept checks.
1757
1758 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1759
1760         * pariterator.h: add typdefs for value_type, difference_type,
1761         pointer and reference to satisfy concept checks. Also add default
1762         constructor for same reason.
1763
1764         * pariterator.C (operator++): add post-increment operator to
1765         satisfy concept checks.
1766
1767         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1768         checks.
1769
1770         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1771
1772         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1773         checks. Also rename base_type to BaseType to follow naming
1774         standard better.
1775
1776         * FloatList.h: include Floating.h to satisfy concept checks.
1777
1778 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1779
1780         * lyxfunc.C (getStatus): when the origin of the request is menu or
1781         toolbar, and the LyXView does not have focus, do as if there was
1782         no buffer (bug 1720)
1783
1784         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1785         FuncRequest to individual entries of LFUN_SEQUENCE
1786
1787 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1788
1789         * output_latex.C (TeXOnePar): override runparams.moving_arg
1790         according to the needprotect value of the current paragraph (bug
1791         1739)
1792
1793         * paragraph.C (simpleTeXOnePar): no need to override
1794         runparams.moving_args here
1795
1796 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1797
1798         * vspace.C: fix off-by-one-error, related to fix #1682
1799
1800 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1801
1802         * lengthcommon.C: a more general fix for bug 1682
1803
1804 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1805
1806         * text.C (backspace): fix crash
1807
1808 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1809
1810         * format.[Ch] (getFormatFromFile): new method
1811         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1812
1813 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1814
1815         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1816
1817 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1818
1819         * lyxfunc.C (dispatch): remove the verbose argument
1820         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1821         instead
1822
1823         * kbmap.C (defkey): set the origin of func to KEYBOARD
1824
1825         * MenuBackend.C (MenuItem):
1826         * ToolbarBackend.C (add): set the origin of func to UI
1827
1828         * funcrequest.[Ch]: add origin member, which indicates which part
1829         of LyX requests an action
1830
1831 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1832
1833         * converter.C (move): don't lie in the error message
1834         * converter.h (isReachable, move): document
1835
1836 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * buffer.C: remove unused using lyx::support::atoi
1839         * paragraph_funcs.C: ditto
1840
1841 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1842
1843         * bufferlist.C (exists): use bind and equal_to instead of
1844         compare_memfun
1845         (getBuffer): ditto
1846         * lyxtextclasslist.C (NumberOfClass): ditto
1847
1848         * cursor.C (insert): use for_each instead of explicit for loop
1849
1850         * bufferlist.C (getFileNames): use std::transform and
1851         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1852
1853         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1854         for loop
1855
1856         * buffer.C (changeLanguage): use for_each instead of explicit for
1857         loop
1858         (hasParWithID): implement using getParFromID
1859
1860         * LaTeXFeatures.C: ws change only
1861
1862         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1863         to cleanup a bit.
1864
1865         * BufferView_pimpl.C (trackChanges): use for_each instead of
1866         expilicit for loop
1867
1868 2004-11-04  André Pönitz  <poenitz@gmx.net>
1869
1870         * undo.h:
1871         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1872
1873         * dociterator.C (asDocIterator): use hard assert again.
1874
1875 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1876
1877         * lyxlength.C (asLatexString): rewrite so that it does not use
1878         snprintf anymore
1879
1880 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1881
1882         * text3.C (specialChar, dispatch): make sure cursor moves to the
1883         right after inserting an inset
1884
1885 2004-11-02  José Matos  <jamatos@lyx.org>
1886
1887         * output_docbook.C (docbook):
1888         * paragraph.C (getID):
1889         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1890         garantee that the output is always legal.
1891
1892         * tabular.C (docbook):
1893         * outputprams.[Ch]: remove mixed contents.
1894
1895 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1896
1897         * text2.C (setCounter): prevent endless loop
1898
1899 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1900
1901         * exporter.C (copyFile): use the mover instead of support::copy()
1902         * exporter.C (Export): pass format and latex name to copyFile()
1903         * exporter.h (addExternalFile): document
1904         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1905
1906 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1907
1908         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1909
1910 2004-10-30  José Matos  <jamatos@lyx.org>
1911
1912         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1913         text and no inset or font change. This allows to use CDATA
1914         sections just for the whole paragraph.
1915
1916 2004-10-30  José Matos  <jamatos@lyx.org>
1917
1918         * paragraph.C (getFirstWord): remove unused variable.
1919
1920 2004-10-30  José Matos  <jamatos@lyx.org>
1921
1922         * paragraph.C (getFirstWord): the content should always be escaped
1923         there.
1924         (simpleDocBookOnePar):
1925         * output_docbook.C (makeEnvironment): replace reference to CDATA
1926         to style pass_thru.
1927
1928 2004-10-30  José Matos  <jamatos@lyx.org>
1929
1930         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1931
1932 2004-10-30  José Matos  <jamatos@lyx.org>
1933
1934         * output_docbook.C (makeParagraphs):
1935         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1936         standard paragraph has only a given type of content drop the wrapper.
1937
1938 2004-10-29  José Matos  <jamatos@lyx.org>
1939
1940         * output_docbook.C (makeEnvironment):
1941         * sgml.C (openTag):
1942         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1943
1944 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1945
1946         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1947         (cleanID): sanitize any id.
1948
1949 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1950
1951         * buffer.C, lyxlex_pimpl.C:
1952         * lyxlex_pimpl.C (setFile):
1953         s/getExtFromContents/getFormatFromContents/
1954
1955 2004-10-28  José Matos  <jamatos@lyx.org>
1956
1957         * output_docbook.C (makeEnvironment): move id to broadest possible
1958         scope.
1959
1960         * sgml.C (openTag): apply substitution of <> for all attributes.
1961
1962 2004-10-28  José Matos  <jamatos@lyx.org>
1963
1964         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1965         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1966         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1967
1968         * sgml.[Ch]: new version for open and closeTag for paragraph and
1969         for strings. Now they handle the ids of paragraphs.
1970
1971 2004-10-26  Angus Leeming  <leeming@lyx.org>
1972
1973         * Makefile.am: add mover.[Ch].
1974
1975         * converter.C (convert, move): use the new Movers to move external
1976         files to the temp directory.
1977
1978         * lyx_main.C (init): ensure that the global system_movers data
1979         is initialised.
1980
1981         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1982         preferences file.
1983
1984         * mover.[Ch]: new files, defining a Mover as a utility to move an
1985         external file between directories and, if necessary, manipulate this
1986         file using a helper script.
1987
1988 2004-10-25  José Matos  <jamatos@lyx.org>
1989
1990         * output_docbook.C (makeCommand): merge two if's that tested the
1991         same condition.
1992
1993 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1994
1995         * sgml.C (escapeString): fix warning in a better way
1996
1997 2004-10-25  José Matos  <jamatos@lyx.org>
1998
1999         * sgml.C (escapeString): import the require boosts header file for
2000         tie, and avoid a signed unsigned comparison.
2001
2002 2004-10-25  José Matos  <jamatos@lyx.org>
2003
2004         * sgml.h: add #include <string>
2005
2006 2004-10-25  José Matos  <jamatos@lyx.org>
2007
2008         * sgml.[Ch] (escapeString): new function to escape all the string.
2009
2010 2004-10-24  José Matos  <jamatos@lyx.org>
2011
2012         * paragraph.[Ch] (getFirstWord): new function to get the first
2013         word. Useful for description.
2014         (simpleDocBookOnePar): remove depth argument, add another that
2015         says where to start the paragraph.
2016
2017         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2018         use the new functions to fix cleanly the support for descriptions.
2019
2020 2004-10-24  José Matos  <jamatos@lyx.org>
2021
2022         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2023         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2024         * output_linuxdoc.C (linuxdocParagraphs):
2025         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2026         add buffer as argument.
2027
2028 2004-10-24  José Matos  <jamatos@lyx.org>
2029
2030         * output_docbook.C (makeEnvironment, searchEnvironment): place
2031         CDATA inside paragraphs and fix scope for listitems.
2032
2033 2004-10-24  José Matos  <jamatos@lyx.org>
2034
2035         * output_docbook.C: remove using statement for stack.
2036
2037 2004-10-23  José Matos  <jamatos@lyx.org>
2038
2039         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2040         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2041         docbook. The new scheme is recursive and makes use of iterators, the
2042         same as latex export works.
2043         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2044         directly with the paragraph contents. This code was moved up to
2045         output_docbook.C (docbookParagraphs).
2046         * sgml.C (openTag, closeTag): removed unneeded newlines.
2047         (closeEnvTags) removed.
2048
2049 2004-10-23  André Pönitz  <poenitz@gmx.net>
2050
2051         * undo.C (textUndoOrRedo):
2052         * dociterator.C (asDocIterator): work around crash
2053
2054         * cursor.C (getStatus): replace ASSERT by more verbose error message
2055           and manual correction of the problem. Should increase stability
2056           while providing more sensible information.
2057
2058 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2059
2060         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2061
2062         * bufferlist.C (previous, next): new methods
2063
2064         * lfuns.h:
2065         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2066
2067 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2068
2069         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2070         entities to preamble.
2071
2072 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2073
2074         * messages.C (Pimpl): strip off translation context information
2075
2076 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2077
2078         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2079         the cursor is correct (bug 1694)
2080
2081 2004-10-13  José Matos  <jamatos@lyx.org>
2082
2083         * output_docbook.C (docbookParagraphs): fix closing tags in the
2084         end of the document.
2085
2086 2004-10-09  José Matos  <jamatos@lyx.org>
2087
2088         * buffer.C: format up to 237.
2089         * bufferparams.C (write): use tostr to convert booleans to strings.
2090
2091 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2092
2093         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2094
2095 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2096
2097         * LaTeX.C: implement use of babel language in xindy.
2098
2099 2004-10-05  José Matos  <jamatos@lyx.org>
2100
2101         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2102         Add new translators to help reading and writing the lyx file.
2103
2104 2004-10-05  José Matos  <jamatos@lyx.org>
2105
2106         * ParagraphParameters.C (read):
2107         * text.C (readParToken): replace nexToken by more appropriate lex
2108         methods.
2109
2110 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2111
2112         * LaTeX.C (runMakeIndex):
2113         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2114         (usually 'makeindex') configurable.
2115
2116         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2117         with a variable rather than with a number.
2118
2119 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2120
2121         * output_latex.C (TeXOnePar): make sure font setting is the first
2122         thing that gets output (and the last at the end). Should fix bug
2123         1404.
2124
2125 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2126
2127         * pch.h: use proper signal include
2128
2129         * LaTeX.h: Use preferred calling of Boost.Signal
2130         * buffer.h: ditto
2131
2132 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2133
2134         * pch.h: dont include <boost/function/function0.hpp>
2135
2136         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2137
2138         * paragraph_pimpl.h: remove usage of ShareContainer
2139
2140         * paragraph_pimpl.C: remove initialization of ShareContainer.
2141
2142 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         Fix bug #1666
2145
2146         * BufferView.C (putSelectionAt): change the semantics when
2147         backwards == true: now, this just swaps cursor and anchor wrt the
2148         forward case
2149
2150         * BufferView.h (putSelectionAt): add some documentation
2151
2152         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2153         make sure backwardChar is done at least once (to avoid getting
2154         stuck)
2155         (findNextChange): use putSelectionAt in the forward direction
2156         (operator()): use Paragraph::isWord
2157
2158 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2159
2160         * Spacing.C (set): c_str fix
2161
2162 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2163
2164         * lyx_cb.C (Reconfigure): quote the name of configure script in
2165         case it contains spaces
2166
2167 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2168
2169         * client: new dir
2170
2171         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2172         (BOOST_LIBS): use top_buildir when looking for the file
2173
2174 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2175
2176         * pch.h: do not use include boost/format.hpp, multiple symbols
2177                 will result (gcc bug)
2178
2179
2180 2004-08-23  José Matos  <jamatos@lyx.org>
2181
2182         * bufferparams.C (readToken): fix reading of the author field.
2183
2184 2004-08-20  José Matos  <jamatos@lyx.org>
2185
2186         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2187
2188 2004-08-20  José Matos  <jamatos@lyx.org>
2189
2190         * lyxlex.[Ch] (findToken): remove function.
2191
2192         * ParagraphParameters.C (findToken):
2193         * bufferparams.C (findToken): replace call for previous function
2194         with local copy. This local function has one more argument, the
2195         read string argument.
2196
2197 2004-08-16  José Matos  <jamatos@lyx.org>
2198
2199         * ParagraphParameters.C (write):
2200         * Spacing.C (writeFile):
2201         * bufferparams.C (writeLaTeX):
2202         * lyx_cb.C (Reconfigure):
2203         * paragraph.C (write):
2204         * tabular.C (write): remove unnecessary space at end of line.
2205
2206
2207 2004-08-16  José Matos  <jamatos@lyx.org>
2208
2209         * text.C (readParagraph): remove debug message.
2210
2211 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2212
2213         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2214         crash
2215
2216         * output_plaintext.C (asciiParagraph): set depth correctly
2217
2218         * outputparams.h: add member depth
2219
2220         * paragraph_funcs.C (ownerPar): remove.
2221
2222         * text2.C (setCounter): remove first_pit; comment out some
2223         non-working code that uses ownerPar
2224
2225         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2226         uses ownerPar
2227
2228 2004-08-16  José Matos  <jamatos@lyx.org>
2229
2230         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2231         For the same level of importance use the same chanel to report problems.
2232         (read): add code to deal with \begin_body and \end_body.
2233
2234
2235 2004-08-15  José Matos  <jamatos@lyx.org>
2236
2237         * lyxlex.C (getString): fix comment, buffer::readBody is now
2238         buffer:readDocument.
2239
2240         * tex-strings.C (string_papersize): Default -> default,
2241         Custom -> custom, for consistency with other options.
2242
2243 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2244
2245         * pch.h: new file
2246
2247         * Makefile.am: support pch
2248
2249 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2250
2251         * text.C (readParToken): remove the static LyXFont variable and
2252         pass it as a parameter instead. This fixes a nasty bug where an
2253         inset will be inserted with a bad font in some situations
2254         (readParagraph): adapt
2255
2256         * text2.C (setCounter): reduce number of calls to pars_[pit]
2257
2258         * text.C (singleWidth): add an assert, fix a test
2259
2260         * rowpainter.C (paintText): reduce number of calls to singleWidth
2261
2262         * paragraph.C (isHfill):
2263         (isNewline): ws only
2264
2265 2004-08-14  André Pönitz  <poenitz@gmx.net>
2266
2267         * text.C:
2268         * text2.C:
2269         * rowpainter.C:
2270         * lyxtext.h (several functions): use a Paragraph & argument
2271         instead of par_type
2272
2273 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2274
2275         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2276
2277         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2278
2279         * text.C (singleWidth): remove useless test
2280
2281 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2282
2283         * tabular.h: remove bogus comments
2284
2285         * tabular.C (getDescentOfRow):
2286         (isPartOfMultiColumn): add assertions
2287
2288         * lyxlength.C (inPixels): remove #warning
2289
2290 2004-08-14  André Pönitz  <poenitz@gmx.net>
2291
2292         * paragraph.h: inline getChar()
2293
2294         * BufferView.h: remove unused declarations
2295
2296 2004-08-14  José Matos  <jamatos@lyx.org>
2297
2298         * Buffer.[Ch] (readDocument): new name for old readBody.
2299         * Buffer.C: new file format, new keywords: \begin_document,
2300         \begin_header, \begin_body, \end_body.
2301
2302         * bufferparams.C (readToken): replace all calls to lex.nextToken
2303         by lex.next(). Do the same to eatLine except where really needed.
2304
2305         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2306         line when writing to the lyx file.
2307
2308         * output_plaintext.C (asciiParagraph): fix Bibliography style
2309         handling.
2310
2311         * text.C (read): fix end of file handling.
2312
2313 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2314
2315         * MenuBackend.C (Menu::operator[]): new method to access
2316         individual menu items
2317         (Menu::hasFunc): new method. search for an item that corresponds
2318         to a given func
2319         (MenuBackend::specialMenu): new method
2320         (MenuBackend::expand): if a special menu has been set, skip
2321         entries whose func() appears in this menu
2322
2323 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2324
2325         * text3.C: use Debug::DEBUG a bit more
2326
2327         * text.C (leftMargin): try to simplify a tiny bit change var x to
2328         l_margin. Dont output the wide margins always.
2329         (rightMargin): no margin in inner texts
2330
2331         * rowpainter.h (nestMargin): new func
2332         (changebarMargin): new func
2333         (rightMargin): new func
2334
2335         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2336         now functions.
2337         (paintLast): ditto
2338
2339         * factory.C (createInset): modify setDrawFrame
2340
2341         * cursor.C: use Debug::DEBUG a bit more
2342
2343 2004-08-14  André Pönitz  <poenitz@gmx.net>
2344
2345         * coordcache.[Ch]:
2346         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2347         cache for all insets in (at least partially) visible (top-level)
2348         paragraphs.
2349
2350         * BufferView_pimpl.C: reset external coord cache before every update.
2351         This means the coord cache only contains valid entries.
2352
2353 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2354
2355         bug 1096
2356         * BufferView_pimpl.C (getInsetByCode): move function out of class
2357         and change in to a template in anon namespace. Also fix to do what
2358         suits us better.
2359
2360 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2361
2362         bug 1305
2363         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2364         of char
2365         (breakParagraph): rename par to par_offset and use a local
2366         reference. Add code to keep the language over a rebreak.
2367         (breakParagraphConservative): rename par to par_offset, use a
2368         local reference
2369         (mergeParagraph): ditto
2370         (outerHook): ditto
2371         (isFirstInSequence): ditto
2372         (outerFont): rename pit to par_offset
2373
2374         * paragraph.C: ws change
2375         * paragraph.h: ditto
2376         * text3.C: ditto
2377         * text.C: ditto
2378
2379 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2380
2381         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2382         treatment for ']'
2383
2384         * paragraph.C (simpleTeXOnePar): when we have a \item with
2385         optional argument, enclose the argument with curly brackets (in
2386         case it contains a closing square bracket)
2387
2388         * text2.C (editXY):
2389         * text2.C (editXY):
2390         * text3.C (checkInsetHit): constify
2391
2392 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2393
2394         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2395         documents (bug 1629)
2396
2397 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2398
2399         Fix toggling of collapsable insets with the mouse (bug 1558)
2400
2401         * lyxfunc.C (dispatch): adapt to LCursor changes
2402
2403         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2404         make sure that dispatch is not invoked twice
2405
2406         * cursor.C (needsUpdate): new method
2407         (dispatch): return void
2408         (result): new method, to access the DispatchResult of the cursor.
2409
2410 2004-08-13  José Matos  <jamatos@lyx.org>
2411
2412         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2413
2414 2004-08-13  André Pönitz  <poenitz@gmx.net>
2415
2416         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2417
2418         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2419           multiple cells
2420
2421 2004-08-12  André Pönitz  <poenitz@gmx.net>
2422
2423         * text3.C: take out the 'cursor right' form insertInset and only
2424         do it in those places when it is really needed. Fixes crash on
2425         C-m...
2426
2427 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2428
2429         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2430
2431         * BufferView_pimpl.C (setBuffer): initialize the current font of
2432         the underlying LyXText
2433
2434 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2435
2436         * kbsequence.C (print): use UI native formatting for menu
2437         shortcuts
2438
2439         * text.C (insertChar): call Paragraph::insertChar with a font
2440         argument (cosmetic)
2441
2442         * paragraph.C (insertInset, insertChar): the version that takes a
2443         LyXFont argument is now a wrapper around the other one (the
2444         opposite used to be true).
2445
2446         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2447         argument. Font setting is done in Paragraph now.
2448
2449 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2450
2451         * outputparams.h: add new members intitle and lang.
2452
2453         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2454         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2455
2456 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2457
2458         * text3.C (dispatch): remove special handling of button 4 and 5,
2459         it is now taken care of in the frontend code.
2460
2461 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2462
2463         * Spacing.h: add <string> (STLPort compile fix)
2464
2465 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2466
2467         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2468
2469 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2472         to bool.
2473
2474         * converter.C (showMessage): inherit from unary_function, make
2475         operator() const.
2476
2477         * buffer.C (writeFile): initialize retval
2478
2479         * InsetList.h: rename private variable list to list_
2480         * InsetList.[Ch]: adjust accordingly.
2481
2482 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2483
2484         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2485         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2486         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2487         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2488         * ParagraphParameters.C, LaTeXFeatures.C: replace
2489         "support/std_sstream.h" with <sstream>
2490
2491 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2492
2493         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2494         * lyxsocket.C (LyXServerSocket): ditto
2495         (serverCallback): ditto
2496
2497 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2498
2499         * LaTeXFeatures.C: check release date when loading jurabib.
2500
2501 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2502
2503         * lyxserver.C (startPipe): call register_socket_callback
2504         (endPipe): call unregister_socket_callback
2505
2506 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2507
2508         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2509         (LyXServerSocket): register the callback
2510         (LyXServerSocket): unregister the callback
2511         (fd): delete function
2512         (serverCallback): improve error checking and setup the callbacks.
2513         (dataCallback): change arg to fd.
2514         (writeln): new func (copied fro the client socket) used for server
2515         write to client.
2516         (LyXDataSocket): simplify
2517         (~LyXDataSocket): close ann unregiser callback
2518         (server): delete function
2519         (fd): delete function
2520         (readln): small changes, improve some std::string usage
2521         (writeln): constify a bit
2522
2523 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2524
2525         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2526         Qt frontend
2527
2528 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2529
2530         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2531         after it has been populated
2532
2533 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2534
2535         * text2.C (insertInset): move cursor when inserting inset.
2536
2537 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2538
2539         * kbmap.C (findbindings): a couple of new methods. returns a
2540         container of kb_sequence objects. The real work is done by the
2541         private recursive version
2542         (printbindings): uses findbindings to print out a bracketed list
2543         of bindings (renamed from findbinding).
2544
2545         * MenuBackend.C (binding): use kb_keymap::findbindings
2546
2547         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2548
2549 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2550
2551         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2552
2553 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2554
2555         * paragraph.C (isWord): return true on insets that report
2556         isLetter().
2557
2558         * text.C (getWord): use Paragraph::isWord to decide what is in a
2559         word and what is not; fix bug 1609.
2560
2561 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2562
2563         * tex-strings.C: add "none" to string_paperpackages[], fixes
2564         off-by-one-error in the paperpackage selection.
2565
2566         * lyxlex.[Ch]:
2567         * tex-strings.[Ch]: char const * string[n]
2568         -> char const * const string[]
2569
2570 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2571
2572         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2573         command, return early.
2574
2575 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * debug.h: add DEBUG to enum and fix size of ANY.
2578
2579         * debug.C: add support for Debug::DEBUG
2580         (showTags): cast errorTags.level to unsigned int
2581
2582         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2583         (redoCurrentBuffer): ditto
2584         (updateScrollbar): ditto
2585         * cursor.C (dispatch): ditto
2586         * text2.C (setLayout): ditto
2587         (setFont): ditto
2588         (updateCounters): ditto
2589         (editXY): ditto
2590         (deleteEmptyParagraphMechanism): ditto
2591
2592 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2593
2594         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2595         annotations to cleanup the Makefile slightly.
2596
2597 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2598
2599         * lyxrc.C: do not set user_email to a default value but use empty
2600         instead. The entry used to be translated, which does not work
2601         since at the point where lyxrc is constructed there is no
2602         translation service available
2603
2604         * messages.C (getLocaleDir): remove and use directly
2605         lyx_localedir() instead
2606
2607 2004-06-02  Angus Leeming  <leeming@lyx.org>
2608
2609         Fix crash caused by dereferencing null pointer 'exportdata' in
2610         OutputParams by creating a new ExportData variable on the heap,
2611         storing it in a boost::shared_ptr.
2612         The crash was triggered when generating an Instant Preview
2613         of an external inset.
2614
2615         * Makefile.am: add outputparams.C
2616
2617         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2618         (c-tor): allocate memory to it.
2619
2620         * exporter.C (c-tor): associated changes.
2621
2622 2004-06-01  Angus Leeming  <leeming@lyx.org>
2623
2624         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2625         contains data before calling isInset(0). (Bug 1513.)
2626
2627 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2628
2629         * exporter.C (checkOverwrite): new method
2630         * exporter.C (copyFile): new method
2631         * exporter.C (Export): copy referenced files to the document dir
2632         * exporter.[Ch]: new class ExportedFile
2633         * exporter.[Ch]: new class ExportData. Contains currently the
2634         names of referenced external files
2635         * outputparams.h: add exportdata member.
2636
2637 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2640         version.C-tmp
2641
2642 2004-05-19  Angus Leeming  <leeming@lyx.org>
2643
2644         * LaTeXFeatures.C:
2645         * ToolbarBackend.C:
2646         * bufferparams.C:
2647         * lyxfunc.C: small changes due to the introduction of namespace
2648         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2649
2650 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2651
2652         * text3.C (dispatch): supress update when only moving the cursor
2653         * cursor.C (selHandle): remove commented code
2654
2655 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2656
2657         * paragraph.C (startTeXParParams): correct column count
2658         * CutAndPaste.C (pasteSelection): remove const_cast
2659         * output_docbook.C (docbookParagraphs): remove const_cast
2660         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2661         const_cast and return ParagraphList::const_iterator
2662         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2663         * output_plaintext.C (writeFileAscii): remove const_cast
2664         * paragraph.[Ch] (simpleTeXOnePar): make const
2665         * paragraph_funcs.C (outerPar): use const iterators
2666         * paragraph_pimpl.C (validate): use const iterators
2667         * text.C (setHeightOfRow): use const iterators
2668
2669 2004-05-17  Angus Leeming  <leeming@lyx.org>
2670
2671         * lfuns.h:
2672         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2673
2674         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2675         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2676         if the citation engine has changed.
2677
2678 2004-05-14  José Matos  <jamatos@lyx.org>
2679
2680         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2681         if the textclass does not provide it. Have it different for sgml and
2682         xml.
2683         support the language of document.
2684         * output_docbook.C (docbookParagraphs):
2685         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2686         first anchor as the id of the paragraph, remove special case code.
2687         * sgml.C (escapeChar): escape only < & >.
2688
2689 2004-05-14  Angus Leeming  <leeming@lyx.org>
2690
2691         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2692         dependencies on src/frontends/controllers/biblio.h. Define a
2693         CiteEngine_enum wrapper class to enable the enum to be forward
2694         declared.
2695
2696 2004-05-12  Angus Leeming  <leeming@lyx.org>
2697
2698         * buffer.C: up LYX_FORMAT to 234.
2699         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2700         use_numerical_citations with a single biblio::CiteEngine cite_engine
2701         variable.
2702         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2703
2704 2004-05-13  José Matos  <jamatos@lyx.org>
2705
2706         * converter.h:
2707         * converter.C (Converter, readFlags): add xml member.
2708         * outputparams.h: add XML flavor.
2709         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2710
2711 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2712
2713         * lyxfunc.C (dispatch):
2714         (getStatus): fix handling of LFUN_SEQUENCE
2715
2716 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2717
2718         * debug.C (showLevel): do not forget the end-of-line marker
2719
2720 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2721
2722         * kbmap.C (read): do not stop parsing a bind file when an error
2723         occurs (bug 1575)
2724
2725 2004-04-29  Angus Leeming  <leeming@lyx.org>
2726
2727         * cursor.C:
2728         * factory.C:
2729         * pariterator.C:
2730         * text2.C: wrap a bunch of #warning statements
2731         inside #ifdef WITH_WARNINGS blocks.
2732
2733 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2734
2735         * buffer.C: increment format to 233.
2736
2737 2004-04-28  Angus Leeming  <leeming@lyx.org>
2738
2739         * BufferView_pimpl.C:
2740         * lyxfunc.C:
2741         * text3.C:
2742         s/updateToolbar()/updateToolbars()/
2743         s/Toolbar.h/Toolbars.h/
2744
2745 2004-04-28  Angus Leeming  <leeming@lyx.org>
2746
2747         * BufferView.[Ch] (c-tor):
2748         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2749         No longer passes these data to the WorkArea generator.
2750
2751 2004-04-28  Angus Leeming  <leeming@lyx.org>
2752
2753         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2754
2755 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2756
2757         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2758
2759 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2760
2761         * output_latex.C (TeXEnvironment): make sure that there is a line
2762         break before \end{foo} for the last paragraph of a document
2763         (TeXOnePar): if the paragraph is at the end of the document (or
2764         inset) and the language has to be reset, then make sure that the
2765         line break is _before_ the language command, not after (fixes bug
2766         1225); also make sure that the language reset command is the first
2767         thing after the paragraph (to ensure proper nesting of
2768         environments and thus fix bug 1404)
2769
2770 2004-04-21  John Levon  <levon@movementarian.org>
2771
2772         * ToolbarBackend.h:
2773         * ToolbarBackend.C: make "name" be a programmatic name
2774         and a gui_name field.
2775
2776         * lyxfunc.C: display the minibuffer on M-x
2777
2778 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2779
2780         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2781         (bug 1526)
2782
2783 2004-04-19  Angus Leeming  <leeming@lyx.org>
2784
2785         * BufferView_pimpl.C (setBuffer): changed preview interface.
2786
2787         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2788         possible values.
2789
2790 2004-04-19  John Levon  <levon@movementarian.org>
2791
2792         * BufferView_pimpl.C:
2793         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2794
2795 2004-04-05  Angus Leeming  <leeming@lyx.org>
2796
2797         * text.C (redoParagraphs): add call to updateCounters(), thereby
2798         fixing the missing "Figure #:" label from the caption of a
2799         figure float.
2800
2801 2004-04-13  Angus Leeming  <leeming@lyx.org>
2802
2803         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2804         cursor is clicked out of an inset.
2805
2806 2004-04-13  Angus Leeming  <leeming@lyx.org>
2807
2808         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2809         than an InsetOld one.
2810
2811 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2812
2813         * format.[Ch]: add editor to Format
2814         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2815         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2816
2817 2004-04-08  André Pönitz  <poenitz@gmx.net>
2818
2819         * metricsinfo.h: remove PainterInfo::width member
2820
2821 2004-04-08  Angus Leeming  <leeming@lyx.org>
2822
2823         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2824         "\providecommand" rather than "\newcommand", thereby preventing
2825         clashes with packages that define "\boldsymbol" themselves.
2826         Eg, beamer.
2827
2828 2004-04-08  Angus Leeming  <leeming@lyx.org>
2829
2830         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2831         thereby squashing an unnecessary warning.
2832
2833 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2834
2835         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2836         setBuffer()
2837
2838 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2839
2840         * BufferView.C (setCursor): call redoParagraph (some insets could
2841         have been opened)
2842         (putSelectionAt): remove the 'double update' trick
2843
2844         * BufferView_pimpl.C (fitCursor): call refreshPar
2845         (workAreaDispatch): remove an uneeded update call
2846         (dispatch): remove some manual update calls
2847
2848         * cursor.[Ch]: remove cached_y_, updatePos
2849         (selHandle): set noUpdate when appropriate
2850
2851         * lyxfunc.C (dispatch): track if we need an update
2852
2853         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2854
2855         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2856         (paintSelection): cheap optimization, do not call cursorX when not
2857         needed
2858         (paintPars): change signature
2859         (refreshPar): add
2860         (paintText): adjust
2861         (paintTextInset): adjust
2862
2863         * text.C: adjust
2864
2865 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2866
2867         * lengthcommon.C: compilation fix: remove explicit array size from
2868         unit_name[] and friends
2869
2870 2004-04-05  Angus Leeming  <leeming@lyx.org>
2871
2872         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2873
2874         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2875         present only for the preferences dialog.
2876         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2877
2878 2004-04-05  Angus Leeming  <leeming@lyx.org>
2879
2880         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2881         to enable the frontends to export changes to lyxrc correctly.
2882
2883         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2884
2885 2004-04-07  André Pönitz  <poenitz@gmx.net>
2886
2887         * cursor.[Ch] (selClear, adjust): remove math
2888
2889         * cursor_slice.C: more agressive assert
2890
2891         * lyxfunc.C:
2892         * BufferView_pimpl.C: rework mouse event dispatch
2893
2894         * dociterator.C:
2895         * paragraph.C:
2896         * text2.C:
2897         * text3.C: adjust
2898
2899 2004-04-05  André Pönitz  <poenitz@gmx.net>
2900
2901         * cursor.[Ch] (valign, halign...): remove unneeded functions
2902
2903 2004-04-05  Angus Leeming  <leeming@lyx.org>
2904
2905         * lyxlength.[Ch] (unit_name et al.): const-correct.
2906
2907 2004-04-05  Angus Leeming  <leeming@lyx.org>
2908
2909         * BufferView_pimpl.C:
2910         * buffer.C:
2911         * counters.C:
2912         * cursor.C:
2913         * lyxfunc.C
2914         * paragraph.C:
2915         * pariterator.C:
2916         * text.C:
2917         * text2.C:
2918         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2919
2920 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2921
2922         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2923
2924 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2925
2926         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2927         * BufferView_pimpl.[Ch] (getStatus)
2928         * BufferView.[Ch] (getStatus): add
2929         * lyxfunc.C (getStatus): move lfuns handled in
2930         BufferView::dispatch to te function above
2931         * Cursor.C (setSelection): set selection() = true
2932
2933 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2934
2935         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2936
2937 2004-03-31  Angus Leeming  <leeming@lyx.org>
2938
2939         * lyxfunc.C (dispatch): Fall through to the generic
2940         Dialogs::show("preamble").
2941
2942 2004-03-31  Angus Leeming  <leeming@lyx.org>
2943
2944         * lyxfunc.C (dispatch): Fall through to the generic
2945         Dialogs::show("spellchecker").
2946
2947 2004-03-31  Angus Leeming  <leeming@lyx.org>
2948
2949         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2950         preferences dialog.
2951
2952 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2953
2954         * BufferView.C
2955         * cursor.[Ch]
2956         * dociterator.[Ch]:
2957         * insetiterator.[Ch]:
2958         * lyxfind.C:
2959         * lyxfunc.C:
2960         * pariterator.[Ch]:
2961         * text2.C:
2962         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2963
2964 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2965
2966         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2967         insets where we are putting the cursor.
2968
2969 2004-03-31  Angus Leeming  <leeming@lyx.org>
2970
2971         * lfuns.h:
2972         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2973
2974         * lyxrc.[Ch] (read, write): overloaded member functions taking
2975         a std::[io]stream arguments.
2976
2977         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2978
2979 2004-03-31  Angus Leeming  <leeming@lyx.org>
2980
2981         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2982         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2983
2984         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2985         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2986
2987 2004-03-31  Angus Leeming  <leeming@lyx.org>
2988
2989         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2990         the LFUN_ALL_INSETS_TOGGLE code.
2991
2992 2004-03-30  Angus Leeming  <leeming@lyx.org>
2993
2994         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2995         has died. Fall through to the generic Dialogs::show("document").
2996
2997 2004-03-30  Angus Leeming  <leeming@lyx.org>
2998
2999         * lfuns.h:
3000         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3001         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3002
3003         * lyxfunc.C (getStatus, dispatch): define the actions for these
3004         lfuns. Little more than a cut and pste job from ControlDocument.C
3005
3006         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3007
3008 2004-03-30  Angus Leeming  <leeming@lyx.org>
3009
3010         * lfuns.h:
3011         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3012         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3013
3014         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3015         open/closed state of ollapsable insets. Usage:
3016
3017         all-inset-toggle <state> <name>, where
3018         <state> == "open" || "closed" || "toggle" and
3019         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3020
3021         * lyxtext.h, text2.C (toggleInset): removed.
3022
3023         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3024         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3025         now passes LFUN_INSET_TOGGLE to the found inset.
3026
3027         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3028         is now invoked as "all-insets-toggle toggle branch".
3029
3030 2004-03-30  Angus Leeming  <leeming@lyx.org>
3031
3032         * dociterator.C:
3033         * insetiterator.C:
3034         * pariterator.[Ch]: added/corrected header blurb.
3035
3036 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3037
3038         * dociterator.[Ch]: add an inset_ member
3039         (backwardPos): implemented
3040         (backwardPos, forwardPos): use inset_ when the stack is empty.
3041         (doc_iterator_begin, doc_iterator_end): implemented
3042         * pariterator.[Ch]: adjust, add begin, end
3043         * insetiterator.[Ch]: adjust, add begin, end
3044         * cursor.C:
3045         * document.C:
3046         * BufferView.C:
3047         * BufferView_pimpl.C:
3048         * CutAndPaste.C: adjust
3049
3050 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3051
3052         * buffer.C: increment file format to 232.
3053         * LaTeXFeatures.C: add bibtopic package.
3054         * bufferparams.[Ch]: param \use_bibtopic.
3055
3056         * lyxrc.[Ch]: add lyxrc bibtex_command
3057         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3058
3059         * buffer.C: increment file format to 231.
3060
3061 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3062
3063         * dociterator.C: implement forwardPar
3064         * iterators.[Ch]: remove, replaced by
3065         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3066         * BufferView.C:
3067         * BufferView_pimpl.C:
3068         * CutAndPaste.C:
3069         * buffer.C:
3070         * bufferview_funcs.C:
3071         * cursor.C:
3072         * lyxfind.C
3073         * lyxfunc.C
3074         * paragraph_funcs.C
3075         * toc.C:
3076         * Makefile.am: adjust
3077
3078 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3079
3080         * CutAndPaste.C (pasteSelection): fix 2 crashes
3081         (eraseSelection): fix a crash
3082         * paragraph_funcs.C: remove a warning
3083
3084 2004-03-28  Angus Leeming  <leeming@lyx.org>
3085
3086         * lfuns.h:
3087         * LyXAction.C (init): new LFUN_PRINT.
3088
3089         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3090
3091 2004-03-27  Angus Leeming  <leeming@lyx.org>
3092
3093         * lfuns.h:
3094         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3095
3096         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3097
3098 2004-03-27  Angus Leeming  <leeming@lyx.org>
3099
3100         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3101         insetlist always contains non-null pointers to insets.
3102
3103 2004-03-26  Angus Leeming  <leeming@lyx.org>
3104
3105         * src/BufferView_pimpl.C:
3106         * src/CutAndPaste.C:
3107         * src/buffer.C:
3108         * src/iterators.C:
3109         * src/output_plaintext.C:
3110         * src/outputparams.h:
3111         * src/paragraph_funcs.C:
3112         * src/rowpainter.C:
3113         * src/text.C:
3114         * src/text2.C:
3115         * src/frontends/controllers/ControlErrorList.C:
3116         * src/frontends/gtk/FileDialogPrivate.C:
3117         * src/frontends/gtk/GPainter.C:
3118         * src/frontends/gtk/GToolbar.C:
3119         * src/frontends/qt2/QRef.C:
3120         * src/mathed/math_scriptinset.C: squash compiler warnings.
3121
3122 2004-03-26  Angus Leeming  <leeming@lyx.org>
3123
3124         * ispell.C (LaunchIspell::start):
3125         * lyx_cb.C (AutoSaveBuffer::start):
3126         invoke run(DontWait) rather than runNonBlocking().
3127
3128 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3129
3130         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3131
3132 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3133
3134         * kbsequence.C (print): adjust
3135
3136         * kbmap.C (printKeySym): rename and change signature
3137         (printKey): use LyXKeySym::print()
3138
3139 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3140
3141         * undo.C: add using std::advance to compile for stlport
3142
3143 2004-03-24  Angus Leeming  <leeming@lyx.org>
3144
3145         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3146         it leads to a crash when no buffer is present.
3147
3148 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3149             Martin Vermeer  <martin.vermeer@hut.fi>
3150
3151         * lyxfunc.C (dispatch):
3152         * bufferparams.C (readToken): use the new LColor::setColor
3153
3154         * LColor.[Ch] (setColor): new version that takes two strings as
3155         argument and creates a new color entry if necessary
3156
3157 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3158
3159         * buffer.C (makeLaTeXFile): if the main latex file that is
3160         processed is usually a subdocument of some master, then pretend
3161         for a while that it is actually the master
3162
3163 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3164
3165         * buffer.C (getLabelList):
3166         (getBibkeyList): use getMasterBuffer()
3167         (getMasterBuffer): new method. Returns the main document in the
3168         case where one is using included documents.
3169
3170 2004-03-25  André Pönitz  <poenitz@gmx.net>
3171
3172         * Makefile.am:
3173         * iterators.[Ch]:
3174         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3175
3176         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3177
3178         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3179         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3180
3181         * ParameterStruct.h: merge with ParagraphParameters
3182
3183         * lyxtext.h: remove LyXText::parOffset() and getPar()
3184
3185         * text3.C: Remove all 'manual' update calls. We do now one per user
3186         interaction which is completely sufficient.
3187
3188         * Bidi.C:
3189         * BufferView.[Ch]:
3190         * BufferView_pimpl.C:
3191         * FontIterator.[Ch]:
3192         * MenuBackend.C:
3193         * ParagraphParameters.[Ch]:
3194         * buffer.C:
3195         * buffer.h:
3196         * bufferlist.C:
3197         * cursor.[Ch]:
3198         * cursor_slice.[Ch]:
3199         * dociterator.[Ch]:
3200         * errorlist.[Ch]:
3201         * factory.C:
3202         * lfuns.h:
3203         * lyxfind.C:
3204         * lyxfunc.C:
3205         * output_docbook.[Ch]:
3206         * output_latex.[Ch]:
3207         * output_linuxdoc.[Ch]:
3208         * output_plaintext.[Ch]:
3209         * paragraph.[Ch]:
3210         * paragraph_funcs.[Ch]:
3211         * paragraph_pimpl.[Ch]:
3212         * rowpainter.C:
3213         * tabular.[Ch]:
3214         * text.C:
3215         * text2.C:
3216         * toc.C:
3217         * undo.[Ch]: adjust
3218
3219         * frontends/controllers/ControlDocument.C:
3220         * frontends/controllers/ControlErrorList.C:
3221         * frontends/controllers/ControlSpellchecker.C:
3222         * insets/inset.C:
3223         * insets/inset.h:
3224         * insets/insetbase.h:
3225         * insets/insetbibitem.C:
3226         * insets/insetbox.C:
3227         * insets/insetbranch.C:
3228         * insets/insetcaption.C:
3229         * insets/insetcharstyle.C:
3230         * insets/insetcharstyle.h:
3231         * insets/insetcollapsable.C:
3232         * insets/insetcollapsable.h:
3233         * insets/insetert.C:
3234         * insets/insetfloat.C:
3235         * insets/insetfoot.C:
3236         * insets/insetmarginal.C:
3237         * insets/insetnote.C:
3238         * insets/insetoptarg.C:
3239         * insets/insettabular.C:
3240         * insets/insettext.C:
3241         * insets/insettext.h:
3242         * insets/insetwrap.C:
3243         * mathed/math_mboxinset.C:
3244         * mathed/math_nestinset.C:
3245         * mathed/math_scriptinset.C:
3246         * mathed/math_scriptinset.h:
3247         * support/types.h:
3248
3249 2004-03-24  Angus Leeming  <leeming@lyx.org>
3250
3251         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3252         deal with any child processes that have finished but are waiting to
3253         communicate this fact to the rest of LyX.
3254
3255 2004-03-24  Angus Leeming  <leeming@lyx.org>
3256
3257         64-bit compile fixes.
3258
3259         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3260         (c-tor): pass lyx::pos_types rather than ints.
3261
3262         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3263         lyx::pos_type.
3264
3265         * text.C (Delete): compile fix.
3266         (getPar): ensure that function declaration is the same as that in
3267         the header file.
3268
3269 2004-03-23  Angus Leeming  <leeming@lyx.org>
3270
3271         * ispell.C (LaunchIspell):
3272         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3273         a boost::shred_ptr rather than a std::auto_ptr.
3274
3275 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3276
3277         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3278         handle LFUN_FILE_INSERT_*
3279
3280         * lyxrc.C (setDefaults, getDescription, output, read):
3281         * lyxrc.h: remove ps_command
3282
3283 2004-03-22  Angus Leeming  <leeming@lyx.org>
3284
3285         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3286         Ensure that error_handler is processed once only and that all data
3287         is saved before attempting to output any warning messages.
3288
3289         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3290
3291 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3292
3293         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3294
3295 2004-03-19  André Pönitz  <poenitz@gmx.net>
3296
3297         * cursor.[Ch] (reset): take main text inset as argument
3298
3299         * BufferView: adjust
3300         * BufferView_pimpl.C: adjust
3301
3302         * paragraph.[Ch]: fix completely broken operator=()
3303
3304 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3305
3306         * LColor.C (getFromLyXName): make sure that the color name is used
3307         as lowercase.
3308
3309 2004-03-17  Angus Leeming  <leeming@lyx.org>
3310
3311         * lfuns.h:
3312         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3313
3314         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3315         dialog and to kill a forked process.
3316
3317 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3318
3319         * text2.C (setCursorFromCoordinates): fix font problem
3320
3321 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3322
3323         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3324         bogus "rebuild cursor" code
3325
3326 2004-03-11  André Pönitz  <poenitz@gmx.net>
3327
3328         * buffer.[Ch]: use InsetText instead of LyXText as container for
3329         the main lyx text.
3330
3331         * dociterator.[Ch]: drop the BufferView * member which is not needed
3332         anymore after the change to buffer.C
3333
3334         * paragraph_funcs.C:
3335         * text.C:
3336         * text2.C:
3337         * BufferView.[Ch]:
3338         * BufferView_pimpl.[Ch]:
3339         * cursor.[Ch]:
3340         * cursor_slice.[Ch]: adjust
3341
3342         * text3.C: fix bug in mathDispatch
3343
3344 2004-03-08  André Pönitz  <poenitz@gmx.net>
3345
3346         * undo.[Ch]: use 'StableDocumentIterator' as base for
3347         the Undo struct.
3348
3349 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3350
3351         * LaTeXFeatures.C:
3352         * bufferparams.[Ch]: add jurabib support and param.
3353
3354         * LaTeX.C: add FIXME/comment.
3355
3356 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3357
3358         * buffer.C: increment file format to 230.
3359
3360 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3361
3362         * cursor.C (dispatch): avoid infinite loops
3363
3364 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3365
3366         * rowpainter.C (paintSelection): fix x coordinates
3367
3368 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3369
3370         * text.C (rowBreakPoint): fix breaking before displayed insets
3371
3372 2004-03-01  André Pönitz  <poenitz@gmx.net>
3373
3374         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3375
3376         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3377
3378         * Makefile.am:
3379         * BufferView.C:
3380         * BufferView_pimpl.C:
3381         * buffer.C:
3382         * lyxfind.C:
3383         * lyxfunc.C:
3384         * text.C:
3385         * text2.C:
3386         * text3.C: adjust
3387
3388 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3389
3390         * lyxtext.h:
3391         * text.C:
3392         * text2.C:
3393         * rowpainter.C:
3394         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3395         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3396
3397 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3398
3399         * Bidi.[Ch] (computeTables): const correctness
3400         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3401         fill_hfill, fill_label_hfill and x from Row
3402         * lyxtext.h: prepareToPrint returns a RowMetrics
3403         * rowPainter.C: adjust
3404         * text.C (prepareToPrint): use width, not textWidth. adjust
3405         (redoParagraphInternal, cursorX): adjust
3406         * text2.C (getColumnNearX): adjust
3407         (init): put a default value to the top LyXText::width
3408
3409 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3410
3411         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3412
3413 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3414
3415         * lyxtext.h: add FontIterator class
3416
3417         * text.C (FontIterator, operator*, operator->, operator++): add
3418         (rowBreakPoint, setRowWidth): adjust (fixing a
3419         rebreaking bug)
3420
3421 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3422
3423         * BufferView_pimpl.C (workAreaDispatch): allow also
3424         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3425
3426 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3427
3428         * text.C (rowBreakPoint): fix a bug showing with very large insets
3429
3430 2004-02-25  André Pönitz  <poenitz@gmx.net>
3431
3432         * text3.C:
3433         * cursor.[Ch]: move some mathed specific code to mathed
3434
3435 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3436
3437         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3438         use_tempdir in preferences
3439         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3440         tempfile creation
3441         * lyx_main.C: ensure that tempdir is valid
3442         * lyxlex.h: correct typo
3443         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3444         * paragraph.[Ch] (isMultiLingual): make const
3445         * cursor.[Ch] (openable): make const
3446
3447 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3448
3449         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3450
3451 2004-02-20  André Pönitz  <poenitz@gmx.net>
3452
3453         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3454
3455         * cursor.[Ch]: prepare for localized getStatus()
3456
3457         * lyxtext.h:
3458         * tabular.C:
3459         * text.C:
3460         * text2.C:
3461         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3462
3463 2004-02-20  André Pönitz  <poenitz@gmx.net>
3464
3465         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3466
3467 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3468
3469         * text2.C (setCursorFromCoordinates): switch to absolute coords
3470         (cursorUp): adjust
3471         (cursorDown): adjust
3472         * text3.C (dispatch): adjust
3473
3474 2004-02-16  André Pönitz  <poenitz@gmx.net>
3475
3476         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3477           insets/ChangeLog)
3478
3479         * cursor_slice.[Ch]: remove unneeded acessor function
3480
3481         * lyxtext.h: rename rtl() to isRTL()
3482
3483         * rowpainter.C:
3484         * tabular.C:
3485         * text.C:
3486         * text2.C:
3487         * text3.C: adjust
3488
3489 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3490
3491         * rowpainter.C (paintSelection): coord fix
3492
3493 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3494
3495         * Spacing.C: compile fix
3496
3497 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3498
3499         * cursor.C (dispatch): restore current_ before returning
3500
3501 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3502
3503         * text2.C (cursorUp, cursorDown): fix coords
3504         (moveUp): fix crash
3505
3506 2004-02-12  André Pönitz  <poenitz@gmx.net>
3507
3508         * lyxtext.h:
3509         * text.C:
3510         * text2.C:
3511         * text3.C: add LCursor & parameter to most cursor movement functions
3512           remove usage of LyXText::cursorRow() and cursorPar()
3513
3514         * cursor.[Ch]: add textRow() needed members
3515
3516         * BufferView.C:
3517         * BufferView_pimpl.C:
3518         * paragraph.[Ch]:
3519         * BufferView.C:
3520         * BufferView_pimpl.C: adjust
3521
3522 2004-02-11  André Pönitz  <poenitz@gmx.net>
3523
3524         * lyxfunc.C:
3525         * BufferView.[Ch]:
3526         * BufferView_pimpl.C: shift undo/redo handling
3527
3528         * cursor.[Ch]: fix mathed crash
3529
3530         * lyxfind.C:
3531         * lyxtext.h: move selectionAsText to LCursor
3532
3533         * output_latex.C:
3534         * paragraph.C:
3535         * text.C:
3536         * text2.C:
3537         * text3.C: adjust
3538
3539         * rowpainter.C: fix excessive drawing
3540
3541 2004-02-06  André Pönitz  <poenitz@gmx.net>
3542
3543         * BufferView.[Ch]:
3544         * BufferView_pimpl.[Ch]:
3545         * text3.C: move some text specific LFUN handling
3546
3547 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3548
3549         * text3.C (checkInsetHit): adjust coords
3550         * text2.C (getColumnNearX): adjust coords
3551         (edit): adjust coords
3552         * text.C (getRowNearY): add two asserts
3553
3554 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3555
3556         * converter.C:
3557         * format.C: add using std::distance to compile on gcc 2.95/stlport
3558
3559 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3560
3561         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3562
3563 2004-02-04  André Pönitz  <poenitz@gmx.net>
3564
3565         * BufferView.[Ch] (insertInset):
3566         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3567
3568         * text2.C:
3569         * text3.C: adjust
3570
3571 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3572
3573         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3574         on the default clause of the switch
3575         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3576         wasn't catched by LCursor::dispatch
3577
3578 2004-02-03  André Pönitz  <poenitz@gmx.net>
3579
3580         * BufferView.C:
3581         * cursor.[Ch]: some additional asserts
3582
3583         * undo.[Ch]: remove LyXText dependency in interface
3584
3585         * lyxfunc.C: adjust
3586
3587         * lyxtext.h (firstPar, lastPar): remove dead functions
3588
3589         * text.C:
3590         * text2.C:
3591         * text3.C:
3592         * paragraph.[Ch]: adjust
3593
3594 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3595
3596         * lyxfind.C (find): fix argument order in call to ::find
3597
3598 2004-02-02  André Pönitz  <poenitz@gmx.net>
3599
3600         * cursor.[Ch]: remove direct access to anchor
3601
3602         * text.C: remove findText() hack
3603
3604 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3605
3606         * iterators.[Ch] (lockPath): remove in favour of...
3607         * BufferView.[Ch] (setCursor): this addition
3608         * BufferView.C (putSelectionAt): adjust
3609         * undo.C (performUndoOrRedo): adjust
3610         * lyxfunc.C (dispatch): adjust
3611
3612 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3613
3614         * iterators.C (lockPath): add a missing slice
3615         * undo.C (performUndoOrRedo): remove redundant positioning code
3616
3617 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3618
3619         * vc-backend.C (scanMaster): ";" -> ';'
3620
3621 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3622
3623         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3624         std::binary_function
3625
3626         * lyxtextclass.C (compare_name): rename to...
3627         (LayoutNamesEqual): ...this
3628
3629         * lyxlex_pimpl.C (compare_tags): inherit from
3630         std::binary_function, put back into anon namespace
3631
3632         * lyxfind.C (MatchString): inherig from std::binary_function
3633         (findChange): use empty() istead of !size()
3634
3635         * format.C (FormatNamesEqual): new functor
3636         (getFormat): use it
3637         (getNumber): use it
3638         (add): use it
3639         (erase): use it
3640         (setViewer): use it
3641
3642         * converter.C (compare_Converter): rename to...
3643         (ConverterEqual): ...this, and fixup a bit.
3644         (getConverter): use it, and make function const
3645         (getNumber): use it, and make function const
3646         (add): use it
3647         (erase): use it:
3648
3649         * bufferlist.C: add using boost::bind
3650
3651         * MenuBackend.C (MenuNamesEqual): new functor
3652         (hasMenu): use it, and make function const
3653         (hasSubmenu): use nested bind to get rid of compare_memfun.
3654
3655 2004-01-30  André Pönitz  <poenitz@gmx.net>
3656
3657         * BufferView_pimpl.C:
3658         * cursor.C:
3659         * cursor.h:
3660         * cursor_slice.[Ch]:
3661         * lyxfunc.C:
3662         * lyxtext.h:
3663         * paragraph_funcs.C:
3664         * paragraph_funcs.h:
3665         * rowpainter.C:
3666         * text.C:
3667         * text2.C:
3668         * text3.C: move some of the edit(x,y) handling to the insets
3669         some coordinate changes.
3670
3671 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3672
3673         * text.C: add using statements for std::advance and std::distance
3674
3675         * paragraph.C: add using statement for std::distance
3676
3677         * lyxfind.C: add using statement for std::advance
3678
3679         * cursor.C (region): remove std:: from swap
3680         (openable): use nucleus in stead of operator->
3681
3682         * BufferView.C: add using statements for std::distance and std::swap
3683
3684 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3685
3686         * iterators.C: Remove the pimple, move the needed structures to
3687         the header file. Create accessor for the positions stack.
3688         (asPosIterator): remove function
3689
3690         * PosIterator.C (PosIterator): move constructors to top of file
3691         (PosIterator): reimplement the constructor taking a ParIterator in
3692         terms of setFrom.
3693         (setFrom): new function
3694         (operator!=): inline it
3695
3696 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * lyxfind.C (replaceAll): use std::advance
3699
3700         * iterators.h: inherit from std::iterator.
3701
3702         * PosIterator.C (advance, distance): remove
3703         * PosIterator.h: interit from std::iterator.
3704
3705 2004-01-26  André Pönitz  <poenitz@gmx.net>
3706
3707         * BufferView.[Ch]:
3708         * BufferView_pimpl.[Ch]:
3709         * InsetList.[Ch]:
3710         * PosIterator.[Ch]:
3711         * buffer.h:
3712         * bufferview_funcs.C:
3713         * cursor.[Ch]:
3714         * cursor_slice.h:
3715         * factory.[Ch]:
3716         * iterators.[Ch]:
3717         * lyxfind.C:
3718         * lyxfunc.C:
3719         * lyxtext.h:
3720         * output_docbook.C:
3721         * output_latex.C:
3722         * output_linuxdoc.C:
3723         * output_plaintext.C:
3724         * paragraph.[Ch]:
3725         * paragraph_funcs.[Ch]:
3726         * paragraph_pimpl.[Ch]:
3727         * rowpainter.C:
3728         * tabular.C:
3729         * tabular.h:
3730         * text.C:
3731         * text2.C:
3732         * text3.C: more IU:  dumps most of the rest of the mathcursor
3733     implementation into cursor.[Ch]; "globalize" a bit of it.
3734
3735 2004-01-25  Angus Leeming  <leeming@lyx.org>
3736
3737         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3738
3739 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3740
3741         * LaTeXFeatures.h: add nice_ and nice() const
3742         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3743
3744 2004-01-20  André Pönitz  <poenitz@gmx.net>
3745
3746         * BufferView.[Ch]:
3747         * BufferView_pimpl.C:
3748         * PosIterator.C:
3749         * bufferview_funcs.C:
3750         * cursor.[Ch]:
3751         * cursor_slice.[Ch]:
3752         * factory.C:
3753         * iterators.C:
3754         * lyx_cb.C:
3755         * lyxfind.C:
3756         * lyxfunc.C:
3757         * lyxtext.h:
3758         * rowpainter.C:
3759         * text.C:
3760         * text2.C:
3761         * text3.C:
3762         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3763           LCursor and mathcursor parts to LCursor and InsetBase.
3764
3765 2004-01-15  André Pönitz  <poenitz@gmx.net>
3766
3767         * cursor_slice.[Ch]: add a few covienience functions
3768
3769         * funcrequest.[Ch]: remove BufferView * member
3770
3771         * BufferView_pimpl.C:
3772         * cursor.C:
3773         * factory.[Ch]:
3774         * lyxfind.[Ch]:
3775         * lyxfunc.C:
3776         * lyxtext.h:
3777         * text3.C:
3778         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3779
3780 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3781
3782         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3783         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3784
3785 2004-01-13  André Pönitz  <poenitz@gmx.net>
3786
3787         * textcursor.[Ch]:
3788         * lyxtext.h: hide cursor and selection anchor behind accessor function
3789
3790         * BufferView.C:
3791         * BufferView_pimpl.[Ch]:
3792         * PosIterator.C:
3793         * bufferview_funcs.C:
3794         * cursor.h:
3795         * lyxfind.C:
3796         * lyxfunc.C:
3797         * text.C:
3798         * text2.C:
3799         * text3.C:
3800         * undo.C: adjust
3801
3802         * cursor.h:
3803         * cursor_slice.[Ch]: some integer type changes for inset unification
3804
3805         * lyxcursor.[hC]: remove, it's CursorSlice now.
3806
3807         * Makefile.am:
3808         * BufferView_pimpl.[Ch]:
3809         * bufferview_funcs.C:
3810         * cursor_slice.C:
3811         * lyxtext.h:
3812         * text.C:
3813         * text2.C:
3814         * text3.C:
3815         * textcursor.[Ch]: adjust
3816
3817 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3818
3819         * text2.C (undoSpan): add and use
3820         * text.C (breakParagraph): use undoSpan (fix bug 578)
3821         * lyxtext.h: adjust
3822
3823 2004-01-08  Angus Leeming  <leeming@lyx.org>
3824
3825         * BufferView_pimpl.C (MenuInsertLyXFile):
3826         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3827         * lyxfunc.C (menuNew, open, doImport):
3828         FileFilterList change to the FileDialog open and save functions.
3829
3830 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3831
3832         * ShareContainer.h: make isEqual and isUnique adaptable
3833
3834         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3835
3836 2004-01-07  Angus Leeming  <leeming@lyx.org>
3837
3838         * LyXAction.C:
3839         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3840
3841         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3842
3843         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3844         functions replacing find, replace and replaceAll.
3845
3846         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3847         LFUN_WORDFIND(FORWARD|BACKWARD).
3848
3849 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3850
3851         * text.C (breakParagraph): remove an outdated #warning
3852
3853 2004-01-07  André Pönitz  <poenitz@gmx.net>
3854
3855         * lyxfind.C: somewhat clearer logic
3856
3857         * text.C: prevent crash in cursorX on unitialized row cache
3858
3859 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3860
3861         * lyxcursor.[Ch] (operator>): add
3862         * textcursor.C (selStart, selEnd): use std::min and std::max
3863
3864 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * Chktex.C: include boost/format.hpp
3867
3868 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3869
3870         * InsetList.C: replace functor MathcIt with adaptable functor
3871         InsetTablePosLess
3872         (insetIterator): modify accordingly
3873
3874         * BranchList.h: move the BranchNamesEqual functor here from...
3875         * BranchList.C: ... to here
3876
3877         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3878         SameName and match.
3879         (add): replace a finding loop with std::find_if.
3880
3881 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3882
3883         * output_docbook.C: moving LatexParam functionality into
3884         .layout files
3885
3886 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3887
3888         * buffer.C: increment format to 229.
3889
3890 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3891
3892         * LaTeXFeatures.C:
3893         * lyx_sty.[Ch]: remove minipageindent_def
3894
3895         * LyXAction.C:
3896         * factory.C:
3897         * lfuns.h:
3898         * lyxfunc.C:
3899         * text3.C: remove LFUN_INSET_MINIPAGE
3900
3901 2003-12-28  Angus Leeming  <leeming@lyx.org>
3902
3903         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3904
3905 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3906
3907         * text2.C (setParagraph): fix off-by-one crash
3908
3909 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3910
3911         * output_docbook.C: header stuff for AGU
3912
3913 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3914
3915         * text2.C (redoCursor): remove
3916         * text.C:
3917         * text3.C:
3918         * BufferView_pimpl.C: remove calls to redoCursor and
3919         setCursor(cursor.par(), cursor.pos()) all around
3920
3921 2003-12-15  Angus Leeming  <leeming@lyx.org>
3922
3923         * buffer.C: up the format to 228.
3924
3925 2003-12-15  André Pönitz  <poenitz@gmx.net>
3926
3927         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3928         slices
3929
3930         * Makefile.am:
3931
3932         * BufferView_pimpl.C:
3933         * cursor.[Ch]:
3934         * lyxcursor.[Ch]:
3935         * rowpainter.[Ch]:
3936         * lyxtext.h:
3937         * text.C:
3938         * text2.C:
3939         * text3.C: adjust
3940
3941 2003-12-15  Angus Leeming  <leeming@lyx.org>
3942
3943         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3944         than getFromGUIName to manipulate the color.
3945
3946 2003-12-14  Angus Leeming  <leeming@lyx.org>
3947
3948         * BranchList.[Ch]: minimize the API.
3949         (Branch::getBranch, getColor): now return a 'const &'.
3950         (Branch::setSelected) now returns a bool set to true if the
3951         selection status changes.
3952         (BranchList::clear, size, getColor, setColor, setSelected,
3953         allBranches, allSelected, separator): removed.
3954         (BranchList::find): new functions, returning the Branch with
3955         the given name.
3956         (BranchList::add, remove): return a bool indicating that
3957         the operation was successful.
3958
3959         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3960         new InsetBranch::isBranchSlected member function.
3961
3962         * LColor.[Ch]: mimimize the API.
3963         (fill): renamed as addColor and made private.
3964         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3965         versions of these functions taking a string arg have been removed.
3966
3967         * bufferparams.C (readToken):
3968         * lyxfunc.C (dispatch):
3969         * lyxrc.C (read): changes due to the altered BranchList and
3970         LColor APIs.
3971
3972         * factory.C (createInset, readInset): changes due to altered
3973         InsetBranch c-tor.
3974
3975 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3976
3977         * factory.C:
3978         * lyxfunc.C: remove insetminipage. "minipage-insert"
3979         now produces a frameless minipage box inset.
3980
3981 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3982
3983         * textcursor.[Ch] (selStart,selEnd): add new methods
3984         remove selection::start, end, use LyXCursor::operator<
3985         * lyxcursor.[Ch] (operator<): add
3986         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3987         * BufferView.[Ch] (unsetXSel): add
3988         * text2.C (clearSelection): use unsetXSel,adjust
3989         * text.C: adjust
3990         * text3.C: adjust
3991         * rowpainter.C: adjust
3992         * bufferview_funcs.C (put_selection_at): adjust
3993
3994 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3995
3996         * BufferView_pimpl.C: small coord. correction
3997
3998 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3999
4000         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4001         dragging over the splash screen.
4002
4003 2003-12-11  Angus Leeming  <leeming@lyx.org>
4004
4005         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4006         as it is now handled in LyXText::dispatch.
4007
4008         * text3.C (doInsertInset): remove a level of nesting.
4009
4010 2003-12-11  Angus Leeming  <leeming@lyx.org>
4011
4012         * factory.C (createInset): changes due to the changed interface to
4013         InsetCommandMailer::string2params.
4014
4015 2003-12-10  Angus Leeming  <leeming@lyx.org>
4016
4017         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4018         'dialog-show-new-inset <inset name>'
4019
4020 2003-12-10  Angus Leeming  <leeming@lyx.org>
4021
4022         * buffer.C: up the format to 227.
4023
4024         * factory.C: the box inset is now identified simply by 'Box'.
4025
4026 2003-12-10  Angus Leeming  <leeming@lyx.org>
4027
4028         * buffer.C: up the format to 226.
4029
4030         * factory.C: the note inset is now identified simply by 'Note'.
4031
4032 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4033
4034         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4035         when a pit is enough. Standarize a couple of loops.
4036
4037 2003-12-05  Angus Leeming  <leeming@lyx.org>
4038
4039         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4040         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4041         data to the re-worked "log" dialog.
4042
4043 2003-12-03  André Pönitz  <poenitz@gmx.net>
4044
4045         * PosIterator.C:
4046         * iterators.C:
4047         * lyxtext.h:
4048         * output_latex.C:
4049         * paragraph_funcs.C:
4050         * text.C:
4051         * text2.C: use Inset::getText instead of Inset::getParagraph
4052
4053 2003-12-03  André Pönitz  <poenitz@gmx.net>
4054
4055         * buffer.[Ch]:
4056         * lyxtext.h:
4057         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4058         InsetText::read() as LyXText::read()
4059
4060 2003-12-02  Angus Leeming  <leeming@lyx.org>
4061
4062         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4063         type. Add a comment in the implementation that the function uses
4064         the stream's bad() function rather than fail() as the std::streams
4065         would do.
4066
4067 2003-12-02  André Pönitz  <poenitz@gmx.net>
4068
4069         * lyxlex.[Ch]: make interface more similar to std::stream
4070
4071         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4072
4073 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4074
4075         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4076
4077 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4078
4079         * vspace.[Ch]: remove VSpace::NONE
4080
4081 2003-12-01  André Pönitz  <poenitz@gmx.net>
4082
4083         * buffer.[Ch]:
4084         * lyxtext.h: move ParagraphList member to LyXText
4085         rename LyXText::ownerParagraphs to LyXText::paragraph
4086
4087         * CutAndPaste.C:
4088         * bufferview_funcs.C:
4089         * iterators.[Ch]:
4090         * lyx_cb.C:
4091         * paragraph.C:
4092         * rowpainter.C:
4093         * tabular.C:
4094         * text.C:
4095         * text2.C:
4096         * text3.C: adjust
4097
4098         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4099
4100         * undo.C: fix cursor positioning
4101
4102 2003-12-01  John Levon  <levon@movementarian.org>
4103
4104         * BufferView_pimpl.C: fix a crash on exit with
4105         a buffer open
4106
4107 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4108
4109         * BranchList.C: fix setSelected() method.
4110
4111 2003-11-28  André Pönitz  <poenitz@gmx.net>
4112
4113         * ParagraphParameters.[Ch]:
4114         * ParameterStruct.h: remove space above/below from Paragraph to
4115          InsetVSpace
4116
4117         * BufferView_pimpl.C:
4118         * factory.C:
4119         * lyxfunc.C:
4120         * lyxtext.h:
4121         * output_latex.C:
4122         * paragraph.C:
4123         * paragraph_funcs.C:
4124         * rowpainter.[Ch]:
4125         * text.C:
4126         * text2.C:
4127         * text3.C: adjust
4128
4129 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4130
4131         * factory.C: Syntax change for CharStyles
4132
4133 2003-11-28  André Pönitz  <poenitz@gmx.net>
4134
4135         * BufferView.[Ch]:
4136         * BufferView.[Ch]:
4137         * buffer.[Ch]:
4138         * buffer.[Ch]: move LyXText member
4139
4140 2003-11-28  André Pönitz  <poenitz@gmx.net>
4141
4142         * BufferView.[Ch]: make LyXText * text a private member
4143
4144         * BufferView_pimpl.C:
4145         * cursor.C:
4146         * iterators.C:
4147         * lyx_cb.C:
4148         * lyxfind.C:
4149         * lyxtext.h:
4150         * rowpainter.[Ch]:
4151         * text.C:
4152         * text2.C:
4153         * undo.C: adjust
4154
4155         * output_plaintext.C: cleanup
4156
4157 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4158
4159         * buffer.C:
4160         * lyxtextclass.[Ch]: parametrize SGML document header
4161
4162 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4163
4164         * converter.[Ch]:
4165         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4166         getFlavor().
4167
4168 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4169
4170         * text2.C (setFont): rework using PosIterator (no more recursive)
4171         (setCharFont): no more needed
4172         (setLayout): no more selection cursors fiddling (done by redoCursor)
4173         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4174         destroy remaining ones)
4175
4176 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4177
4178         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4179         * lyxtext.h: ditto
4180         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4181         selection cursors
4182         * lyxfunc.C: adjust
4183         * text3.C: adjust + re-allow multi par depth changes
4184         * textcursor.C: simplify a bit
4185
4186 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4187
4188         * src/buffer.C:
4189         * src/lyxlayout.C:
4190         * src/lyxlayout.h:
4191         * src/lyxtext.h:
4192         * src/output_docbook.C:
4193         * src/output_latex.C:
4194         * src/paragraph.C:
4195         * src/paragraph.h:
4196         * src/sgml.C:
4197         * src/sgml.h:
4198         * src/text2.C: Introducing a number of tags parametrizing various
4199         XML formats that we may want to support
4200
4201 2003-11-25  André Pönitz  <poenitz@gmx.net>
4202
4203         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4204
4205         * lyxtext.h (leftMargin/rightMargin): simplify interface
4206
4207         * rowpainter.C:
4208         * text.C:
4209         * text2.C:
4210         * text3.C: adjust
4211
4212 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4213
4214         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4215         master file to any child files. Fixes bug 546.
4216
4217 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4218
4219         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4220
4221 2003-11-24  André Pönitz  <poenitz@gmx.net>
4222
4223         * rowpainter.C: simplification
4224
4225         * text2.C (updateCounters): remove call to redoParagraph on
4226         changed labels as this is far too expensive.
4227
4228 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4229
4230         * converter.C (convert): fix a crash: this function gets
4231         called with buffer == 0 from importer code.
4232
4233 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4234
4235         * text3.C (cursorPrevious): make sure that we do not compare
4236         iterators form different containers.
4237         (cursorNext): ditto
4238
4239         * rowpainter.C (paintSelection): make sure that we do not compare
4240         iterators from different containers.
4241
4242         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4243         iterators from different ParagraphList containers.
4244         [NEXT] ditto
4245
4246         * text2.C (LyXText): change order of initialization slightly
4247         (operator=): new function. copy all variables except cache_par_
4248         (moveUp): make sure that we do not compare iterators from
4249         different ParagraphList constainers.
4250         (moveDown): ditto
4251
4252         * text.C (firstPar): new function
4253         (lastPar): new function
4254         (endPar): new function
4255
4256         * lyxtext.h: move things around and group public functions, public
4257         variables, private functions, private variables
4258
4259 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4260
4261         * factory.C: change call to InsetERT constructor to avoid
4262         additional invocation of method status
4263         * text2.C (toggleInset): remove redundant update() call
4264         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4265         instead of a Bufferview pointer
4266
4267 2003-11-21  André Pönitz  <poenitz@gmx.net>
4268
4269         * rowpainter.C: simplification
4270
4271 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4272
4273         * text3.C (dispatch): make possible to extend a word/row selection
4274         with the mouse
4275
4276 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4277
4278         * lyxtext.h: x0_,y0_ -> xo_,yo_
4279         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4280         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4281         * rowpainter.C (paintRows): paint full paragraphs
4282
4283 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4284
4285         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4286         screen coordinates)
4287
4288 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4289
4290         * lyxtext.h: add x0_, y0_
4291         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4292         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4293
4294 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4295
4296         * text2.C (setCursorIntern): move the x_target update here *
4297         * text3.C: change some bv() to true/false in calls to
4298         cursorUp/Down/Right/Left
4299         * cursor.C: use helper function.
4300
4301 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4302
4303         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4304         * paragraph_funcs.[Ch]: correct comment
4305         * rowpainter.C: do not paint selections away from bv->cursor()
4306         Fix a long standing selection painting bug.
4307         * text3.C: generalize mouse-selection code to LyXTexts other that
4308         top one
4309         * textcursor.C: do not use y coords if we can use par offsets
4310
4311 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4312
4313         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4314         cursor position after e.g. inset insert)
4315
4316 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4317
4318         * lyxfind.C (replace): adjust to locking removal + some
4319         code simplification
4320
4321 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4322
4323         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4324         of the path
4325
4326 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4327
4328         * lyxlayout.[Ch]:
4329         * output_docbook.C: XML sanitation: new layout
4330         parameters InnerTag and CommandDepth
4331
4332 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4333
4334         * BufferView_pimpl.C:
4335         * factory.C:
4336         * text3.C: Fix the insertion and modification of button-style
4337         insets
4338
4339 2003-11-13  André Pönitz  <poenitz@gmx.net>
4340
4341         * InsetList.[Ch]: remove deleteLyXText
4342
4343         * paragraph.[Ch]: cache beginOfBody position
4344
4345         * Bidi.C:
4346         * text.C:
4347         * text2.C:
4348         * text3.C: remove superfluous update() calls
4349
4350         * vspace.C: cleanup
4351
4352 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4353
4354         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4355         * BufferView.C (fitLockedInsetCursor): remove
4356         * cursor.[Ch] (getDim): add
4357         * text.C (getRowNearY): add faster version
4358         * text3.C: remove some update calls
4359
4360 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4361
4362         * LaTeXFeatures.C:
4363         * LyXAction.C:
4364         * MenuBackend.C:
4365         * MenuBackend.h:
4366         * dispatchresult.h:
4367         * factory.C:
4368         * lfuns.h:
4369         * lyxfunc.C:
4370         * lyxtextclass.C:
4371         * lyxtextclass.h:
4372         * text3.C: The Character Style /XML short element patch.
4373
4374 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4375
4376         * text3.C:
4377         * factory.C: Small step to solving 'unable to insert some insets'
4378         problem
4379
4380 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4381
4382         * cursor.[Ch] (updatePos): new function for updating the y
4383         position of the tip inset
4384         * bufferview_funcs.C (put_selection_at):
4385         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4386
4387 2003-11-11  André Pönitz  <poenitz@gmx.net>
4388
4389         * text.C: remove big comment on invalid Paragraph pointers as it is
4390         not valid anymore
4391
4392 2003-11-11  André Pönitz  <poenitz@gmx.net>
4393
4394         * text_funcs.[Ch]: merge with ...
4395
4396         * text.C: ... this
4397
4398         * lyxtext.h:
4399         * text2.C:
4400         * text3.C: adjust
4401
4402         * Makefile.am: remove text_funcs.[Ch]
4403
4404 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4405
4406         * cursor.C (getPos): return absolute cached y coord
4407
4408         * BufferView_pimpl.C (fitCursor): new simplistic code
4409         (workAreaDispatch): add a fitCursor call
4410
4411 2003-11-10  André Pönitz  <poenitz@gmx.net>
4412
4413         * BufferView.[Ch]:
4414         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4415
4416 2003-11-10  André Pönitz  <poenitz@gmx.net>
4417
4418         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4419         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4420         indicate that the cursor needs to leave an inset
4421
4422         * lyxtext.h: remove inset locking
4423
4424         * cursor.[Ch]: re-implement functionality provided by inset locking
4425
4426         * BufferView.[Ch]:
4427         * BufferView_pimpl.[Ch]:
4428         * LyXAction.C:
4429         * bufferview_funcs.[Ch]:
4430         * factory.C:
4431         * funcrequest.[Ch]:
4432         * iterators.C:
4433         * lyx_cb.C:
4434         * lyxfind.C:
4435         * lyxfunc.C:
4436         * text.C:
4437         * text2.C:
4438         * text3.C:
4439         * undo.C: adjust
4440
4441 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4442
4443         * PosIterator.[Ch]: replace the stack with a vector, add inset
4444         accesor
4445         * iterators.[C]: adjust
4446
4447 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4448
4449         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4450         replaced
4451         * paragraph_funcs.C (readParToken): put the correct id in the
4452         error item, not the id of the top paragraph
4453
4454 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4455
4456         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4457         * bufferview_funcs.C (put_selection_at): use the above
4458
4459 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4460
4461         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4462
4463 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4464
4465         * output_linuxdoc.h:
4466         * output_plaintext.h:
4467         * output.h:
4468         * output_docbook.h: add #include statements
4469
4470 2003-11-05  José Matos  <jamatos@lyx.org>
4471
4472         * output_docbook.[Ch]:
4473         * output_latex.[Ch]:
4474         * output_linuxdoc.[Ch]:
4475         * output_plaintext.[Ch]: New files for output formats.
4476         * output.[Ch]: New file for helper functions.
4477
4478         * buffer.[Ch]:
4479         * paragraph_funcs.[Ch]: output functions moved to new files.
4480
4481         * outputparams.h: rename of latexrunparams.h
4482
4483         * LaTeX.[Ch]:
4484         * buffer.[Ch]:
4485         * bufferlist.[Ch]:
4486         * converter.[Ch]:
4487         * exporter.C:
4488         * paragraph.[Ch]:
4489         * paragraph_funcs.[Ch]:
4490         * paragraph_pimpl.[Ch]:
4491         * tabular.[Ch]: rename ascii to plaintext
4492         and LatexRunParams to OutputParams.
4493
4494 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4495
4496         * iterators.[Ch] (text): require bv argument
4497         * undo.C (recordUndo):
4498         * lyxfunc.C (dispatch):
4499         * bufferview_funcs.C (put_selection_at): adjust
4500
4501 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4502
4503         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4504
4505 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4506
4507         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4508         nestings
4509
4510 2003-11-04  André Pönitz  <poenitz@gmx.net>
4511
4512         * cursor.[Ch]: restructure
4513
4514         * BufferView.[Ch]:
4515         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4516
4517         * iterators.[Ch] (asCursor): remove
4518
4519         * lfuns.h: remove LFUN_INSET_EDIT
4520
4521         * lyxfunc.C:
4522         * tabular.C:
4523         * text.C:
4524         * text2.C:
4525         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4526
4527 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4528
4529         * lyxfind.[Ch]: complete overhaul
4530         * BufferView_pimpl.C:
4531         * lyxfunc.C: adjust
4532         * paragraph.[Ch] (insert): add
4533
4534 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4535
4536         * BufferView.[Ch]:
4537         * lyxtext.h:
4538         * text.C: remove dead spellcheck code
4539
4540 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * dispatchresult.h: add a val setter
4543
4544         * cursor.C (dispatch): use a tempvar for data_[i]
4545
4546 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4547
4548         * PosIterator.[Ch]: compile fix
4549
4550 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * text.C (cursorPar): deactivate the cursor cache
4553
4554 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4555
4556         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4557
4558 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4559
4560         * text3.C (dispatch): adjust for new DisptchResult semantics.
4561
4562         * lyxfunc.C (dispatch): handle update when return from
4563         Cursor::dispatch, adjust for new DispatchResult semantics.
4564
4565         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4566         DispatchResult(true) mean to not update. Add class functions for
4567         setting dispatched and update, as well as reading.
4568
4569         * cursor.C (dispatch): don't handle update here
4570
4571 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4572
4573         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4574         * trans_mgr.C: adjust
4575
4576         * paragraph_funcs.C (readParToken): exception safety
4577
4578         * lyxvc.h: store the vcs pointer in a scoped_ptr
4579         * lyxvc.C: adjust
4580
4581         * lyxsocket.C (serverCallback): exception safety
4582
4583         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4584
4585         * ispell.C (clone): make it return a auto_ptr
4586
4587         * factory.C (createInset): exception safety
4588         (readInset): exception safety
4589
4590         * bufferlist.C (newBuffer): exception safety
4591
4592         * Thesaurus.C (Thesaurus): use initialization for aik_
4593
4594         * MenuBackend.C (expandToc): exception safety.
4595
4596 2003-11-03  André Pönitz  <poenitz@gmx.net>
4597
4598         * buffer.C:
4599         * buffer.h:
4600         * bufferview_funcs.C: remove getInsetFromId()
4601
4602         * lyxcursor.[Ch]:
4603         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4604
4605         * lyxfunc.C:
4606         * text2.C:
4607         * text3.C: adjust
4608
4609 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4610
4611         * PosIterator.C (distance, advance): new
4612         * bufferview_funcs.[Ch] (put_selection_at): new
4613         * iterators.[Ch] (lockPath): new
4614
4615 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4616
4617         * iterators.[Ch] (asPosIterator): added
4618         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4619         * PosIterator.[Ch]: added
4620
4621 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4622
4623         * text3.C:
4624         * lyxfunc.C:
4625         * cursor.C (dispatch):
4626         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4627
4628         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4629         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4630         contructor, add a class function dispatched. Remove operator>=
4631
4632 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4633
4634         * debug.C: only use the default constructor for debugstream
4635         (lyxerr) here.
4636
4637         * main.C (main): include debug.h and setup the lyxerr streambuf
4638         here.
4639
4640 2003-10-31  José Matos  <jamatos@lyx.org>
4641
4642         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4643
4644         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4645         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4646         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4647         * paragraph_pimpl.C (simpleTeXSpecialC):
4648         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4649         add LatexRunParams argument.
4650
4651         * exporter.C (Export): change call accordingly.
4652
4653         * latexrunparams.h: add new member to take care of the other backends.
4654 2003-10-30  José Matos  <jamatos@lyx.org>
4655
4656         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4657         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4658         factorise code for paragraph output.
4659         * buffer.[Ch]:
4660         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4661         move functions.
4662
4663 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * text3.C (dispatch):
4666         * lyxfunc.C (dispatch):
4667         * cursor.C (dispatch):
4668         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4669
4670         * dispatchresult.h: make the dispatch_result_t ctor explicit
4671
4672 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4673
4674         * sgml.[Ch]:
4675         * buffer.C: small refactoring of docbook stuff
4676
4677 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4678
4679         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4680         meaning.
4681
4682 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4685         operator dispatch_result_t, and operators for == != and >=
4686
4687         * cursor.C (dispatch): adjust for operator dispatch_result_t
4688         removal. comment out call to update
4689
4690         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4691
4692 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4693
4694         * text3.C:
4695         * text2.C:
4696         * text.C:
4697         * lyxtext.h:
4698         * lyxfunc.C:
4699         * cursor.C:
4700         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4701         (dispatch):
4702
4703         * dispatchresult.h: new file, DispatchResult broken out of
4704         insets/insetbase.h
4705
4706         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4707
4708 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4709
4710         * text.C (rowBreakPoint): put a hack inside #if 0
4711
4712 2003-10-28  André Pönitz  <poenitz@gmx.net>
4713
4714         * lyxtext.h:
4715         * metricsinfo.C:
4716         * paragraph_funcs.C:
4717         * rowpainter.C:
4718         * text.C:
4719         * text2.C: general cleanup (lots of small stuff)
4720
4721 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4722
4723         * text2.C (cursorEnd): simple fix to the "end key goes to one
4724         before the end on last row" bug
4725
4726 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4727
4728         * text.C (backspace): fix the "zombie characters"
4729
4730 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4731
4732         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4733
4734 2003-10-27  André Pönitz  <poenitz@gmx.net>
4735
4736         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4737
4738         * factory.C: handle new InsetPagebreak, InsetLine
4739
4740         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4741         and move handling into new InsetPagebreak, InsetLine
4742
4743         * BufferView_pimpl.C:
4744         * LyXAction.C:
4745         * ParagraphParameters.C:
4746         * ParameterStruct.h:
4747         * lyxfunc.C:
4748         * lyxtext.h:
4749         * paragraph.C:
4750         * paragraph.h:
4751         * paragraph_funcs.C:
4752         * paragraph_pimpl.C:
4753         * rowpainter.C:
4754         * text.C:
4755         * text2.C:
4756         * text3.C: adjust
4757
4758 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4759
4760         * text.C:
4761         * lyxrow_funcs.[Ch]:
4762         * Bidi.C:
4763         * paragraph.C:
4764         * lyxtext.h:
4765         * rowpainter.C:
4766         * text2.C:
4767         * text3.C: remove lastPos uses in favour of Row::endpos
4768
4769 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4770
4771         * undo.C (performUndoOrRedo): fix two crashes by setting a
4772         cursor by hand and reordering some calls. Use bv->lockInset instead
4773         of inset->edit because the latter loses cursor information
4774
4775 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4778         by Martin
4779         (rowBreakPoint): fix width. change point to point + 1.
4780         Add a missing check.
4781
4782 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4783
4784         * MenuBackend.C:
4785         * lyxfunc.C: fix (at least partly) the problems
4786         with the Nav menu and headers inside branch insets
4787         reported by Kayvan
4788
4789 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * paragraph.C (getChar): add strong asserts
4792
4793         * lyxrow_funcs.C (lastPos): remove hideous hack
4794
4795         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4796         (fill): adjust to that (avoid an infinite loop)
4797
4798 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4799
4800         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4801
4802 2003-10-23  André Pönitz  <poenitz@gmx.net>
4803
4804         * RowList_fwd.h: change list<> to vector<> to gain speed
4805         after suggestion from Alfredo
4806
4807 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4808
4809         * lyxtext.h: move the bidi stuff from here...
4810         * text.C: and here
4811         * text2.C: and here
4812         * Bidi.[Ch]: ... to here
4813
4814 2003-10-23  André Pönitz  <poenitz@gmx.net>
4815
4816         * lyxtext.h:
4817         * text.C (isLastRow, isFirstRow): new functions
4818
4819         * paragraph.h: new width cache member
4820
4821         * rowpainter.C: replace RowList::iterator with Row & where possible
4822
4823         * lyxfunc.C: replace several view()->text with a single call
4824
4825         * toc.C: fix 'unused' warning
4826
4827 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4828
4829         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4830         when woring with stream::pos_type
4831         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4832
4833 2003-10-22  André Pönitz  <poenitz@gmx.net>
4834
4835         * lyxtext.h:
4836         * text.C: use Row & instead of RowList::iterator
4837
4838         * lyxrow.h: rename end() to endpos()
4839
4840         * rowpainter.C:
4841         * text.C:
4842         * text2.C: adjust
4843
4844 2003-10-22  Angus Leeming  <leeming@lyx.org>
4845
4846         * buffer.[Ch] (fully_loaded): new member function, returning true
4847         only when the file has been loaded fully.
4848         Used to prevent the premature generation of previews and by the
4849         citation inset to prevent computation of the natbib-style label.
4850
4851         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4852         templates are all set up.
4853
4854         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4855
4856 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4857
4858         * text.C: fixed an "oops" in the "is a bit silly"
4859         bug fix
4860
4861 2003-10-21  André Pönitz  <poenitz@gmx.net>
4862
4863         * FuncStatus.[Ch]: small stuff, whitespace
4864
4865         * lyxfont.[Ch]: operator<<() for debug reasons
4866
4867         * lyxfunc.C:
4868         * lyxrow_funcs.C:
4869         * lyxtext.h: whitespace, spelling
4870
4871         * paragraph.C: naming of variables
4872
4873         * text.C:
4874         * text2.C: small stuff
4875
4876
4877 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4878
4879         * text.C: (1) finish off the inset display() work;
4880         (2) fix the "is a bit silly" bug (accessing char
4881         past end of par).
4882
4883 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4884
4885         * text.C: re-introduce display() for insets, fixing the
4886         various bugs (stretch of line above, math inset
4887         positioning, ...)
4888
4889 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4890
4891         * text.C (rightMargin): remove spurious semicolon
4892
4893         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4894         1415)
4895
4896 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4897
4898         * text3.C: fix one crash due to wrong cursor def
4899
4900 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4901
4902         * vc-backend.C (scanMaster): make the regex static
4903
4904         * LaTeX.C (scanAuxFile): make the regexs static
4905
4906         * text3.C (doInsertInset, dispatch, dispatch):
4907         * text2.C (cursorUp, cursorDown):
4908         * text.C (selectNextWordToSpellcheck):
4909         * BufferView_pimpl.C (dispatch):
4910         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4911
4912 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4913
4914         * lyxsocket.C: include <cerrno>
4915
4916 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * lyxfunc.C (dispatch): remove textcache stuff
4919
4920         * bufferlist.C (release): remove textcache stuff
4921         (closeAll): ditto
4922
4923         * TextCache.C: delete file
4924         * TextCache.h: delete file
4925
4926         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4927
4928         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4929         delete of the bv_->text.
4930         (resizeCurrentBuffer): remove texcache stuff
4931         (workAreaResize): ditto
4932
4933 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4934
4935         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4936         action.
4937
4938 2003-10-16  André Pönitz  <poenitz@gmx.net>
4939
4940         * lyxrow.[Ch]:
4941         * paragraph.h:
4942         * rowpainter.C:
4943         * text.C:
4944         * text2.C:
4945         * text3.C: speed up by storing y positions per paragraph plus per-row
4946         offset instead of having a 'full' y position in the row.
4947
4948 2003-10-15  André Pönitz  <poenitz@gmx.net>
4949
4950         * iterators.[Ch]:
4951         * iterators.[Ch]:
4952         * undo.[Ch]: make undo aware of inner insets
4953
4954 2003-10-14  Angus Leeming  <leeming@lyx.org>
4955
4956         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4957         static member functions LyX::ref() and LyX::cref.
4958         (lastfiles): new accessor functions for the new lastfiles_ member var.
4959         (addLyXView, views_): add a new LyXView to the list of views_.
4960         (updateInset): loop over all LyXViews to call their own updateInset
4961         member function, returning a pointer to the Buffer owning the inset.
4962
4963         * BufferView_pimpl.C (loadLyXFile):
4964         * MenuBackend.C (expandLastfiles):
4965         * bufferlist.C (MenuWrite, QuitLyX):
4966         lastfiles is no longer a global variable.
4967         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4968
4969         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4970         static function. Access through LyX::cref().emergencyCleanup().
4971
4972 2003-10-14  André Pönitz  <poenitz@gmx.net>
4973
4974         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4975
4976         * undo.[Ch]: restoring part of 'undo in insets'
4977
4978         * Makefile.am:
4979         * undo_funcs.[Ch]: merge with undo.[Ch]
4980
4981         * tabular.C: small cleansing stuff
4982
4983 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4984
4985         * paragraph_funcs.C (readParToken): report unknown insets as error
4986         boxes. Use the outer paragraph as location (also for unknown
4987         tokens).
4988
4989         * factory.C (readInset): do not abort on reading an unknown inset.
4990         Eat it and return 0.
4991
4992 2003-10-13  Angus Leeming  <leeming@lyx.org>
4993
4994         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4995
4996         * lyxrc.C: displayTranslator is now a function,
4997         declared in GraphicsTypes.h.
4998
4999 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5000
5001         * format.C: new placeholder $$a to pass the socket address.
5002
5003         * bufferlist.[Ch]: new function getBufferFromTmp.
5004
5005         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5006           files in the temporary dir.
5007
5008 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5009
5010         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5011
5012         * Makefile.am: add lyxsocket.[Ch].
5013
5014         * lyx_main.C (error_handler): handle SIGPIPE.
5015
5016 2003-10-13  André Pönitz  <poenitz@gmx.net>
5017
5018         * BufferView_pimpl.C:
5019         * lyxtext.h:
5020         * text.C:
5021         * text2.C:
5022         * text3.C:
5023         * undo_funcs.[Ch]: use paroffset_type instead of
5024           ParagraphList::iterators to prevent multiple conversion
5025           (and get a more robust interface)
5026
5027 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5030         * lyxtext.h: ditto
5031         * text3.C (dispatch): ditto
5032
5033 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5034
5035         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5036         move the onlyfile, use onlyfile instead of foundfile in a couple
5037         of places.
5038
5039         * DepTable.C (update): flush the error stream a bit more
5040
5041 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5042
5043         * lyxserver.C (callback): adjust
5044
5045         * lyxfunc.C (getStatus): add a missing brace in commented code
5046         (ensureBufferClean): reindent
5047         (dispatch): delete version taking a string
5048
5049 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5050
5051         * LaTeX.C (deplog): move found file handlig from here...
5052         (handleFoundFile): .. to new function here.
5053         (deplog): make sure to discover several files mentioned on the
5054         same log line.
5055
5056 2003-10-10  André Pönitz  <poenitz@gmx.net>
5057
5058         * lyxfunc.C:
5059         * lyxtext.h:
5060         * tabular.C:
5061         * text.C:
5062         * text2.C:
5063         * text3.C: fix some of the tabular crashes
5064
5065 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5066
5067         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5068
5069         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5070
5071 2003-10-09  André Pönitz  <poenitz@gmx.net>
5072
5073         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5074
5075         * BufferView.C:
5076         * BufferView_pimpl.C:
5077         * bufferview_funcs.C:
5078         * lyx_cb.C:
5079         * lyxcursor.C:
5080         * lyxfind.C:
5081         * lyxfunc.C:
5082         * lyxtext.h:
5083         * text.C:
5084         * text2.C:
5085         * text3.C:
5086         * text_funcs.[Ch]:
5087         * textcursor.[Ch]:
5088         * undo_funcs.C: adjust
5089
5090 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * text2.C (incrementItemDepth): new function, use a backtracking
5093         algorithm to discover the correct item depth.
5094         (resetEnumCounterIfNeeded): new function, use a backtracking
5095         algorithm to discover if counter reset is needed.
5096         (setCounter): use them. Simplify a bit. Add different labels for
5097         different item depths for itemize.
5098
5099         * paragraph.C (Paragraph): remove initialization of enumdepth
5100         (operator=): ditto
5101
5102         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5103         enumerate and itemize. Change the type of itemdepth to signed char.
5104
5105 2003-10-08  André Pönitz  <poenitz@gmx.net>
5106
5107         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5108           thing assignable.
5109         * text.C:
5110         * text2.C: adjust
5111
5112         * tabular.[Ch]: fix crash after 'row-insert'
5113
5114 2003-10-08  Angus Leeming  <leeming@lyx.org>
5115
5116         Fix doxygen warnings.
5117
5118         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5119         Remove CutAndPaste:: prefix from header file declaration.
5120
5121         * LColor.h (fill): remove LColor:: prefix from declaration.
5122
5123         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5124         use lyx::depth_type rather than Paragraph::depth_type so that
5125         header file and .C file match.
5126
5127         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5128
5129         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5130         * aspell.C: \file aspell_local.C -> \file aspell.C
5131         * gettext.C: \file gettext.C -> \file src/gettext.C
5132         * gettext.h: \file gettext.h -> \file src/gettext.h
5133         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5134         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5135         * text.C: \file text.C -> \file src/text.C
5136
5137         * toc.C: move comment so that doxygen is not confused.
5138
5139 2003-10-07  Angus Leeming  <leeming@lyx.org>
5140
5141         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5142
5143 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5144
5145         * aspell.C:
5146         * aspell_local.h: add forgotten std::string's.
5147
5148 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5149
5150         * LaTeXFeatures.C:
5151         * LyXAction.C:
5152         * factory.C:
5153         * lfuns.h:
5154         * lyxfunc.C:
5155         * text3.C: The Box patch. Fancybox support, minipage, parbox
5156
5157 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5158
5159         * CutAndPaste.h:
5160         * DepTable.h:
5161         * FloatList.h:
5162         * LaTeXFeatures.h:
5163         * ParagraphParameters.h:
5164         * TextCache.h:
5165         * Thesaurus.h:
5166         * bufferlist.h:
5167         * exporter.h:
5168         * importer.h:
5169         * lastfiles.h:
5170         * lyxfind.h:
5171         * lyxfont.h:
5172         * lyxlex.h:
5173         * lyxtextclasslist.h:
5174         * messages.h:
5175         * paragraph.h:
5176         * paragraph_pimpl.C:
5177         * textcursor.h: add <string> and other small fixes to make Lars'
5178         std::string patch compile with STLport.
5179
5180 2003-10-06  Angus Leeming  <leeming@lyx.org>
5181
5182         * LColor.h: Add missing #include <string>.
5183
5184 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * All most all file in all subdirs: Make <string> be the prefered
5187         way of getting to std::string, add using declarations.
5188
5189 2003-10-06  André Pönitz  <poenitz@gmx.net>
5190
5191         * metricsinfo.C: initialize LyXFont before changing attribute.
5192         (fixes the 'math in \emph is upright' bug)
5193
5194 2003-10-06  André Pönitz  <poenitz@gmx.net>
5195
5196         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5197
5198 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5199
5200         * graph.C:
5201         * paragraph_pimpl.C: Small fixes to build using STLport
5202
5203 2003-10-02  André Pönitz  <poenitz@gmx.net>
5204
5205         * lyxfunc.C:
5206         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5207
5208 2003-10-01  André Pönitz  <poenitz@gmx.net>
5209
5210         * factory.C: assert early
5211
5212 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * lyx_main.C: remove the global debug object
5215
5216         * debug.h: adjust for new debugstream
5217
5218         * debug.C: adjust for new debugstream and keep the global debug
5219         object here.
5220
5221 2003-09-22  Angus Leeming  <leeming@lyx.org>
5222
5223         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5224         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5225         an incomplete class LyXFont.
5226
5227 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5228
5229         * factory.C: bug fix in branches
5230
5231 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * lyxfunc.C (processKeySym): adjust
5234         (dispatch): adjust
5235         (dispatch): change arg name from ev to func, adjust
5236         (sendDispatchMessage): ditto
5237
5238         * lyx_main.C (defaultKeyBindings): adjust keybindings
5239         (deadKeyBindings): ditto
5240
5241         * kbsequence.C (addkey): return a FuncRequest
5242
5243         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5244
5245         * kbmap.C (bind): take a FuncRequest as arg, adjust
5246         (read): adjust
5247         (lookup): adjust
5248         (defkey): change to take a FuncRequest as arg, adjust
5249         (findbinding): take a FuncRequest as arg, adjust.
5250
5251         * funcrequest.h (operator=): added
5252
5253         * funcrequest.C (FuncRequest): default kb_action changed from
5254         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5255
5256         * buffer.C (dispatch): simplify
5257         (dispatch): adjust to take a FuncRequest as arg, adjust
5258
5259         * boost.C (assertion_failed): change assertion message slightly
5260
5261         * ToolbarBackend.C (read): simplify
5262
5263         * MenuBackend.C (binding): adjust call to findbinding, add a
5264         message if no binding is found.
5265         (read): simplify
5266         (expandToc): correct by adding a empty FuncRequest
5267
5268         * LyXAction.C: include <boost/assert.hpp>
5269         (isPseudoAction): delete function
5270         (LookupFunc): change name to...
5271         (lookupFunc): this. change return type to FuncRequest.
5272         (getActionName): take kb_action as arg, simplify
5273         (funcHasFlag): add an assert, simplify.
5274
5275 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * toc.C (action): return a FuncRequest, simplify
5278
5279         * lyxfunc.C (processKeySym): adjust
5280         (getStatus): delete version that takes an int.
5281         (getStatus): adjust
5282         (dispatch): delete version that takes action as int
5283         (dispatch): adjust
5284         (sendDispatchMessage): simplify and adjust
5285
5286         * funcrequest.C (getArg): take unsigned int as arg
5287
5288         * ToolbarBackend.C (read): adjust
5289         (add): delete version that takes func as a string.
5290         (getIton): take a FuncRequest as arg
5291
5292         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5293         action.
5294
5295         * MenuBackend.C (MenuItem): add a new construct that only takes a
5296         Kind, simplify the constructor use for submenus.
5297         (add): adjust
5298         (expandLastfiles): adjust
5299         (expandDocuments): adjust
5300         (expandFormats): adjust
5301         (expandFloatListInsert): adjust
5302         (expandFloatInsert): adjust
5303         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5304
5305         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5306         Remove class variables lyx_pseudo_map and lyx_arg_map
5307
5308         * LyXAction.C (searchActionArg): delete function
5309         (getPseudoAction): delete function
5310         (retrieveActionArg): delete function
5311         (LookupFunc): make it return kb_action, simplify.
5312         (getActionName): simplify
5313
5314         * factory.C (createInset): fix new bug
5315
5316 2003-09-19  Angus Leeming  <leeming@lyx.org>
5317
5318         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5319         masterFilename_ parameter in the include inset.
5320
5321         * factory.C (createInset): changes due to the changes to InsetInclude.
5322
5323 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5324
5325         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5326
5327 2003-09-18  Angus Leeming  <leeming@lyx.org>
5328
5329         * buffer.C:
5330         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5331         Inset::fillWithBibKeys.
5332         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5333
5334 2003-09-18  Angus Leeming  <leeming@lyx.org>
5335
5336         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5337         variables.
5338         (ctor): pass and store a 'Buffer const &'
5339         (buffer): new member function.
5340
5341         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5342         '*this' to the LaTeXFeatures ctor.
5343
5344 2003-09-18  Angus Leeming  <leeming@lyx.org>
5345
5346         * LColor.h:
5347         * lyxfont.C:
5348         * lyxfont.h:
5349         * lyxtext.h:
5350         * text.C: rename EnumLColor as LColor_color.
5351
5352 2003-09-18  Angus Leeming  <leeming@lyx.org>
5353
5354         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5355         remove #include "insets/insetbase.h" from cursor.h.
5356
5357 2003-09-18  Angus Leeming  <leeming@lyx.org>
5358
5359         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5360         InsetOld_code to remove #include "inset.h".
5361
5362         * iterators.C: add #include "insets/inset.h"
5363
5364 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5365
5366         * BufferView.C: remove more locking stuff that apparently doesn't
5367         do anything sensible.
5368
5369 2003-09-16  André Pönitz  <poenitz@gmx.net>
5370
5371         * paragraph.[Ch]:
5372         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5373           performance boost.
5374
5375 2003-09-16  Angus Leeming  <leeming@lyx.org>
5376
5377         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5378
5379         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5380         arg/return type.
5381
5382         * paragraph.h: remove #include "lyxfont.h". Forward declare
5383         LyXFont_size.
5384
5385 2003-09-16  Angus Leeming  <leeming@lyx.org>
5386
5387         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5388         of support/textutils.h.
5389         (isWord): move the contents of support/textutils.h's IsWordChar here.
5390
5391         * buffer.C:
5392         * lyxfind.C:
5393         * rowpainter.C:
5394         * text.C:
5395         * text2.C: add #include "paragraph.h".
5396
5397         * rowpainter.C:
5398         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5399
5400 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5401
5402         * main.C:
5403         * lyx_main.C:
5404         * lyx_cb.C:
5405         * buffer.C:
5406         * LaTeX.C: use namespace alias for lyx::support::os
5407
5408 2003-09-16  Angus Leeming  <leeming@lyx.org>
5409
5410         * bufferparams.C:
5411         * bufferview_funcs.C:
5412         * factory.C:
5413         * lyxfunc.C:
5414         * paragraph_pimpl.C:
5415         * rowpainter.C:
5416         * text.C: add #include "LColor.h".
5417
5418 2003-09-16  Angus Leeming  <leeming@lyx.org>
5419
5420         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5421         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5422         return LyXFont &.
5423         Store the FontBits::color variable as an int rather than as an
5424         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5425         file.
5426
5427         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5428         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5429         string calls together.
5430
5431         * lyxrc.C: add #include "LColor.h".
5432
5433 2003-09-15  Angus Leeming  <leeming@lyx.org>
5434
5435         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5436         a cow_ptr.
5437
5438 2003-09-15  Angus Leeming  <leeming@lyx.org>
5439
5440         * LColor.h: add an EnumLColor wrapper for LColor::color.
5441
5442         * lyxfont.[Ch] (color, setColor, realColor):
5443         * lyxtext.h, text.C (backgroundColor):
5444         pass EnumLColor args to/from the functions, rather than LColor::color
5445         ones.
5446
5447         * lyxfont.h:
5448         * lyxtext.h: forward declare EnumLColor.
5449
5450         * lyx_main.C: add #include "LColor.h".
5451
5452 2003-09-15  Angus Leeming  <leeming@lyx.org>
5453
5454         * .cvsignore: add lyx-gtk.
5455
5456 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * Chktex.C
5459         * LaTeX.C
5460         * LaTeXFeatures.C
5461         * ParagraphParameters.C
5462         * Spacing.C
5463         * buffer.C
5464         * bufferparams.C
5465         * bufferview_funcs.C
5466         * chset.C
5467         * counters.C
5468         * funcrequest.C
5469         * lyxfont.C
5470         * lyxgluelength.C
5471         * lyxlength.C
5472         * paragraph.C
5473         * paragraph_funcs.C
5474         * text3.C
5475         * vc-backend.C: remove usage of STRCONV
5476
5477 2003-09-15  Angus Leeming  <leeming@lyx.org>
5478
5479         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5480         explicitly define the color passed to the painter.
5481
5482 2003-09-15  Angus Leeming  <leeming@lyx.org>
5483
5484         * bufferparams.C (BufferParams): reorder member initializers to avoid
5485         compiler warning.
5486
5487 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5488
5489         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5490         * text.C (updateRowPositions): remove an unusual nop
5491
5492 2003-09-12  André Pönitz  <poenitz@gmx.net>
5493
5494         * BufferView_pimpl.C:
5495         * Bullet.C:
5496         * layout.h:
5497         * lyxfunc.C:
5498         * lyxlayout.[Ch]:
5499         * lyxtextclass.C:
5500         * rowpainter.C:
5501         * text.C:
5502         * text2.C:
5503         * Counters.[Ch]: finish the 'automatic counters' job
5504
5505 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5506
5507         * aspell.C: include <boost/assert.cpp> (compile fix)
5508
5509 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5510
5511         * boost.C (assertion_failed): use lyx::support::abort instead of
5512         assert.
5513
5514 2003-09-10  Angus Leeming  <leeming@lyx.org>
5515
5516         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5517         with their _fwd progeny.
5518
5519 2003-09-09  Angus Leeming  <leeming@lyx.org>
5520
5521         134 files throughtout the source tree: replace 'using namespace abc;'
5522         directives with the appropriate 'using abc::xyz;' declarations.
5523
5524 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5525
5526         * boost.C (emergencyCleanup): moved here from LAssert.c
5527         (assertion_failed): new function, called by BOOST_ASSERT
5528
5529         * several files: change Assert to BOOST_ASSERT
5530
5531 2003-09-09  Angus Leeming  <leeming@lyx.org>
5532
5533         * buffer.[Ch]: Add an Impl class and move Buffer's member
5534         variables into it. As a result move several header files out of
5535         buffer.h.
5536
5537         Add header files to lots of .C files all over the tree as a result.
5538
5539 2003-09-09  Angus Leeming  <leeming@lyx.org>
5540
5541         * buffer.[Ch]: make Buffer's member variables private. Add
5542         accessor functions.
5543
5544         Lots of changes all over the tree as a result.
5545
5546 2003-09-08  Angus Leeming  <leeming@lyx.org>
5547
5548         * graph.C: #include <config.h>.
5549
5550 2003-09-08  Angus Leeming  <leeming@lyx.org>
5551
5552         * BranchList.C:
5553         * BufferView.C:
5554         * BufferView_pimpl.C:
5555         * CutAndPaste.C:
5556         * DepTable.C:
5557         * LaTeX.C:
5558         * LaTeXFeatures.C:
5559         * LyXAction.C:
5560         * MenuBackend.C:
5561         * TextCache.C:
5562         * aspell.C:
5563         * buffer.C:
5564         * bufferlist.C:
5565         * changes.C:
5566         * chset.C:
5567         * converter.C:
5568         * counters.C:
5569         * debug.C:
5570         * graph.C:
5571         * ispell.C:
5572         * lyx_cb.C:
5573         * lyxfind.C:
5574         * lyxfunc.C:
5575         * lyxlex_pimpl.C:
5576         * lyxrc.C:
5577         * lyxrow.C:
5578         * paragraph.C:
5579         * rowpainter.C:
5580         * texrow.C:
5581         * text.C:
5582         * text2.C:
5583         * toc.C: remove redundant using directives.
5584
5585 2003-09-07  Angus Leeming  <leeming@lyx.org>
5586
5587         * LaTeXFeatures.h: remove #include "support/types.h".
5588         * ToolbarBackend.h: remove #include <algorithm>.
5589         * changes.h: remove #include <ctime>.
5590         * debug.h: remove #include <iosfwd>.
5591         * graph.h: remove #include "support/std_string.h".
5592         * lyx_main.h: remove #include <csignal>.
5593         * lyxlex_pimpl.h: remove #include <fstream>.
5594         * sgml.h: remove #include <algorithm>, <utility>.
5595         * toc.h: remove #include "support/std_ostream.h".
5596         Add #include <iosfwd>.
5597
5598 2003-09-07  Angus Leeming  <leeming@lyx.org>
5599
5600         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5601
5602         * converter.h: forward declare LatexRunParams.
5603         * encoding.h: remove #include "lyxrc.h".
5604         * lyxtext.h: remove #include "LColor.h".
5605         * lyxtextclass.h: remove #include "support/types.h".
5606         * trans.h: remove #include "tex-accent.h".
5607         * trans_mgr.h: remove #include "tex-accent.h".
5608         * insets/inset.h: remove #include "support/types.h", <vector>.
5609         * insets/insetcollapsable.h: remove #include "LColor.h".
5610         * insets/insetinclude.h: remove #include "dimension.h".
5611         * insets/insetlatexaccent.h: remove #include "dimension.h".
5612         * insets/insetoptarg.h:: remove #include "insettext.h".
5613         * insets/insettext.h: remove #include "dimension.h",
5614         <boost/shared_ptr.hpp>
5615
5616         * insets/renderers.h: add #include "dimension.h".
5617         * insets/updatableinset.h: add #include "support/types.h".
5618
5619         * many .C files: Associated changes.
5620
5621 2003-09-06  Angus Leeming  <leeming@lyx.org>
5622
5623         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5624         one, inside testInvariant.
5625
5626         * PrinterParams.C: new file.
5627         * PrinterParams.[Ch]: move the function bodies out of line.
5628
5629 2003-09-06  Angus Leeming  <leeming@lyx.org>
5630
5631         * ParagraphParameters.h: forward declare ParameterStruct rather than
5632         including its header file.
5633         (depth): moved out-of-line.
5634
5635 2003-09-06  Angus Leeming  <leeming@lyx.org>
5636
5637         * BufferView_pimpl.h:
5638         * kbmap.h:
5639         * kbsequence.h:
5640         * lyxfunc.h: forward declare LyXKeySym rather than
5641         #include "frontends/LyXKeySym.h".
5642
5643         * BufferView_pimpl.C:
5644         * kbmap.C:
5645         * kbsequence.C:
5646         * lyxfunc.C: associated changes.
5647
5648 2003-09-06  Angus Leeming  <leeming@lyx.org>
5649
5650         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5651         As a result, can remove the #include "insets/inset.h" from BufferView.h
5652
5653 2003-09-06  Angus Leeming  <leeming@lyx.org>
5654
5655         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5656         As a result, can remove the #include "insets/inset.h" from BufferView.h
5657
5658 2003-09-06  Angus Leeming  <leeming@lyx.org>
5659
5660         * buffer_funcs.C:
5661         * buffer.h:
5662         * bufferlist.C:
5663         * BufferView.C:
5664         * bufferview_funcs.C:
5665         * BufferView_pimpl.C:
5666         * CutAndPaste.C:
5667         * lyx_cb.C:
5668         * lyxfunc.C:
5669         * paragraph.h:
5670         * ParagraphParameters.C:
5671         * tabular.C:
5672         * text3.C:
5673         * toc.C:
5674         * undo_funcs.C:
5675         * frontends/controllers/ControlDocument.C:
5676         * insets/insetcaption.C: rearrange the #includes into some sort of
5677         coherent order.
5678
5679         * buffer.h: remove #includes ErrorList.h, undo.h
5680
5681 2003-09-06  Angus Leeming  <leeming@lyx.org>
5682
5683         * support/types.h: add a 'depth_type' typedef, used to store the
5684         nesting depth of a paragraph.
5685
5686         * paragraph.h:
5687         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5688         defining explicitly.
5689
5690         * buffer.h:
5691         * paragraph_funcs.h:
5692         * ParagraphParameters.h:
5693         * sgml.h: use lyx::depth_type rather than Paragraph or
5694         ParameterStruct's depth_type.
5695
5696         * buffer.h
5697         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5698
5699         * BufferView.C:
5700         * BufferView_pimpl.C:
5701         * CutAndPaste.C:
5702         * ParagraphParameters.C:
5703         * buffer_funcs.C:
5704         * bufferlist.C:
5705         * bufferview_funcs.C:
5706         * lyx_cb.C:
5707         * lyxfunc.C:
5708         * tabular.C:
5709         * text3.C:
5710         * toc.C:
5711         * undo_funcs.C:
5712         * frontends/LyXView.C:
5713         * frontends/controllers/ControlDocument.C:
5714         * frontends/controllers/ControlErrorList.C:
5715         * insets/insetbibitem.C:
5716         * insets/insetbranch.C:
5717         * insets/insetcaption.C:
5718         * insets/insetcollapsable.C:
5719         * insets/insetenv.C:
5720         * insets/insetert.C:
5721         * insets/insetfloat.C:
5722         * insets/insetfoot.C:
5723         * insets/insetfootlike.C:
5724         * insets/insetnewline.C:
5725         * insets/insetquotes.C:
5726         * insets/insettabular.C:
5727         * insets/insettext.C:
5728         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5729
5730         * frontends/controllers/ControlChanges.C: #include "changes.h".
5731
5732 2003-09-06  Angus Leeming  <leeming@lyx.org>
5733
5734         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5735         than #including paragraph.h.
5736
5737         * ParagraphList.h:
5738         * RowList.h: deleted. Superfluous.
5739
5740         * CutAndPaste.h:
5741         * iterators.h:
5742         * lyxcursor.h:
5743         * lyxtext.h:
5744         * text_funcs.h:
5745         * undo.h:
5746         * undo_funcs.h:
5747         * insets/inset.h:
5748         * insets/insettext.h: use ParagraphList_fwd.h rather than
5749         ParagraphList.h.
5750
5751         * paragraph.h: don't forward declare ParagraphList.
5752
5753         * buffer.h:
5754         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5755         rather than ParagraphList.h. paragraph.h is still needed for the
5756         Paragraph::depth_type parameters.
5757
5758         * textcursor.h: enable it to compile stand-alone in light of the
5759         above changes.
5760
5761         * bufferview_funcs.C:
5762         * iterators.C:
5763         * lyxfunc.C:
5764         * lyxrow_funcs.C:
5765         * paragraph.C:
5766         * rowpainter.C:
5767         * text.C:
5768         * text2.C:
5769         * text3.C:
5770         * text_funcs.C:
5771         * textcursor.C:
5772         * undo.C:
5773         * frontends/controllers/ControlParagraph.C:
5774         * frontends/controllers/ControlTabular.C:
5775         * insets/insetmarginal.C:
5776         * insets/insetminipage.C:
5777         * insets/insetnote.C:
5778         * insets/insetoptarg.C: add header files needed to compile again.
5779
5780 2003-09-06  Angus Leeming  <leeming@lyx.org>
5781
5782         * RowList_fwd.h: new file, forward-declaring Row rather than
5783         #including lyxrow.h.
5784
5785         * lyxrow_funcs.h:
5786         * lyxtext.h:
5787         * paragraph.h:
5788         * insets/insettext.h: use it instead of RowList.h
5789
5790         * bufferview_funcs.C:
5791         * lyxfunc.C:
5792         * lyxrow_funcs.C:
5793         * paragraph.C:
5794         * rowpainter.C:
5795         * text.C:
5796         * text2.C:
5797         * text3.C: #include "RowList.h".
5798
5799 2003-09-05  Angus Leeming  <leeming@lyx.org>
5800
5801         * factory.C (createInset):
5802         * vspace.C (c-tor): replace sscanf call with an istringstream.
5803         * ispell.C: re-add missing HP/UX headers.
5804         * lyxserver.C: re-add missing  os2 headers.
5805
5806 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5807
5808         * BranchList.C:
5809         * graph.C:
5810         * ispell.C:
5811         * lastfiles.C:
5812         * lyx_cb.C:
5813         * lyxserver.C:
5814         * texrow.C:
5815         * text3.C: re-add missing system headers, needed for 2.95.2.
5816
5817 2003-09-05  Angus Leeming  <leeming@lyx.org>
5818
5819         Changes most place everywhere due to the removal of using directives
5820         from support/std_sstream.h.
5821
5822 2003-09-05  Angus Leeming  <leeming@lyx.org>
5823
5824         Replace LString.h with support/std_string.h,
5825         Lsstream.h with support/std_sstream.h,
5826         support/LIstream.h with support/std_istream.h,
5827         support/LOstream.h with support/std_ostream.h.
5828
5829         Changes resulting throughout the tree.
5830
5831 2003-09-05  Angus Leeming  <leeming@lyx.org>
5832
5833         * sgml.h: ensure that the header file can be compiled stand-alone.
5834         * *.C: strip out redundant #includes. (320 in total.)
5835
5836 2003-09-04  Angus Leeming  <leeming@lyx.org>
5837
5838         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5839         here (from getPackages).
5840
5841         * debug.[Ch]: add a new EXTERNAL tag.
5842
5843 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5844
5845         * text2.C (cursorEnd): simplify
5846         (setCursor): adjust
5847         (getColumnNearX): adjust
5848
5849         * text.C (computeBidiTables): adjust
5850         (fill): adjust
5851
5852         * rowpainter.C (paintChars): adjust
5853         (paintSelection): adjust
5854         (paintChangeBar): adjust
5855         (paintText): adjust
5856
5857         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5858         lastPos instead.
5859         (numberOfSeparators): adjust
5860
5861 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5862
5863         * LyXAction.C:
5864         * box.[Ch]:
5865         * lfuns.h:
5866         * lyxfunc.C:
5867         * text3.C: Restricts the mouse click functionality
5868         of insets like bibtex, include, toc and floatlist to the visible
5869         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5870         up the dialogs. Cursor has to be in front of the inset (i.e.
5871         start of row) for this to function.
5872
5873 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5874
5875         * bufferview_funcs.C (currentState): output row information
5876
5877 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5878
5879         * bufferview_funcs.C (currentState): output paragraph position
5880
5881 2003-09-04  Angus Leeming  <leeming@lyx.org>
5882
5883         * FloatList.h: move out #include "Floating.h".
5884         * LaTeX.h: move out #include "DepTable.h".
5885         * LyXAction.h: move out #include "funcrequest.h".
5886         * buffer.h: move out #include "author.h", "iterators.h".
5887         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5888         * lyx_main.h: move out #include "errorlist.h".
5889         * lyxfunc.h: move out #include "FuncStatus.h".
5890         * lyxtext: move out #include "lyxcursor.h".
5891         * paragraph_pimpl.h: move out #include "counters.h".
5892
5893 2003-09-03  Angus Leeming  <leeming@lyx.org>
5894
5895         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5896         preamble_snippets list, enabling us to add snippets to the preamble
5897         only if the snippet was not there already.
5898
5899 2003-09-04  Angus Leeming  <leeming@lyx.org>
5900
5901         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5902
5903 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5904
5905         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5906         update
5907
5908 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5909
5910         * BranchList.C: point fix, earlier forgotten
5911
5912 2003-09-02  Angus Leeming  <leeming@lyx.org>
5913
5914         * box.C (contains): renamed from 'contained' after a fantastic
5915         amount of hot air.
5916
5917 2003-09-02  John Levon  <levon@movementarian.org>
5918
5919         * BufferView.C:
5920         * lyxcursor.h:
5921         * lyxcursor.C:
5922         * lyxfunc.C:
5923         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5924
5925 2003-09-02  John Levon  <levon@movementarian.org>
5926
5927         * text2.C: simplification of cursorEnd(), including partial
5928         fix for bug 1376
5929
5930 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5931
5932         * buffer.C (readFile): add a space
5933
5934 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5935
5936         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5937
5938 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5939
5940         * buffer.C (readFile): new function, take a filename and a
5941         ParagraphList::iterator
5942         (readFile): adjust
5943         (readFile): adjust, make it private. don't use setStream, make
5944         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5945         always contain the filename.
5946
5947         * BufferView.C (insertLyXFile): simplify and make it work for
5948         gzipped files.
5949
5950 2003-08-30  John Levon  <levon@movementarian.org>
5951
5952         * Makefile.am: fix dist (from Kayvan)
5953
5954 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5955
5956         * most files: change to use const Buffer refs
5957
5958 2003-08-27  André Pönitz  <poenitz@gmx.net>
5959
5960         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5961         on top of ownerPar().
5962
5963 2003-08-27  John Levon  <levon@movementarian.org>
5964
5965         * funcrequest.C: properly initialise POD members
5966
5967 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5968
5969         * lyxtext.h (top_y): move top_y from here
5970         * text.C:
5971         * text2.C:
5972         * text3.C:
5973         * BufferView.[Ch]:
5974         * BufferView_pimpl.[Ch]: to here
5975         * frontends/screen.C:
5976         * insets/insettabular.C:
5977         * insets/insettext.C: adjust
5978         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5979
5980 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5981
5982         * BufferView.[Ch]:
5983         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5984
5985 2003-08-26  André Pönitz  <poenitz@gmx.net>
5986
5987         * paragraph_func.[Ch] (outerPar): new function
5988
5989         * paragraph.C:
5990         * paragraph_funcs.C:
5991         * paragraph_funcs.h:
5992         * paragraph_pimpl.C:
5993         * text2.C: remove Inset::par_owner
5994
5995 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5996
5997         * lyxrow_funcs.C:
5998         * lyxtext.h:
5999         * text.C:
6000         * text2.C: eliminates the needFullRow/display() stuff
6001         altogether, putting the logic in metrics/draw in the insets.
6002
6003 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6004
6005         * text2.C (redoParagraphInternal, redoParagraphs):
6006         * text.C (redoParagraph): add a call to updateRowPositions at the
6007         end of each 'metrics-like' call. Remove all others.
6008         (getRow): remove the 'y-computing' version.
6009         (getRowNearY): do not compute nor return the real y. Solve the
6010         'y < 0' problem and simplify.
6011
6012 2003-08-22  Angus Leeming  <leeming@lyx.org>
6013
6014         * *.[Ch]: clean-up of licence and author blurbs.
6015         Also move config.h out of a few .h files and into a few .C files.
6016
6017 2003-08-22  André Pönitz  <poenitz@gmx.net>
6018
6019         * lyxrow.[Ch]: add x_ and *fill_ members
6020
6021         * lyxtext.h:
6022         * text.C:
6023         * rowpainter.C:
6024         * text2.C: adjust/remove prepareToPrint() calls
6025
6026 2003-08-22  André Pönitz  <poenitz@gmx.net>
6027
6028         * lyxrow.[Ch]: add  end_ member
6029
6030         * lyxrow_funcs.C: use LyXRow::end_
6031
6032         * lyxtext.h (singleWidth): add LyXFont parameter
6033
6034         * rowpainter.C:
6035         * text2.C: adjust LyXText::singleWidth() calls
6036
6037         * text.C (redoParagraph): simplify row breaking logic
6038
6039
6040 2003-08-19  André Pönitz  <poenitz@gmx.net>
6041
6042         * funcrequest.C: initialize button_ member
6043
6044         * text3.C:
6045         * rowpainter.[Ch]: interface consolidation
6046
6047 2003-08-18  André Pönitz  <poenitz@gmx.net>
6048
6049         * BufferView.C:
6050         * BufferView_pimpl.C:
6051         * lyxfind.C:
6052         * paragraph_funcs.C:
6053         * rowpainter.C:
6054         * text3.C: remove LyXScreen::draw() and fitCursor calls
6055
6056         * BranchList.h: remove spurious semicolons
6057
6058         * MenuBackend.C: fix branchlist related crash
6059
6060 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6061
6062         * BranchList.[Ch]:
6063         * InsetList.[Ch]:
6064         * LColor.[Ch]:
6065         * LyXAction.C:
6066         * Makefile.am:
6067         * MenuBackend.[Ch]:
6068         * bufferparams.[Ch]:
6069         * factory.C:
6070         * lfuns.h:
6071         * lyxfunc.C:
6072         * text3.C: implements the 'branch inset'
6073         idea. This allows the output of various versions of a document
6074         from a single source version, selectively outputing or suppressing
6075         output of parts of the text.
6076         This implementation contains a 'branch list editor' in a separate
6077         tab of the document settings dialog. Branches are user definable
6078         and have a "display colour" to distinguish them on-screen.
6079
6080         ColorHandler was somewhat cleaned up.
6081         (1) make possible a dynamically growing LColor list by allowing
6082         the graphic context cache to grow along (vector);
6083         (2) eliminate an IMHO unnecessary step in colour allocation.
6084
6085 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6086
6087         * BufferView_pimpl.C: compile fix
6088
6089 2003-08-15  André Pönitz  <poenitz@gmx.net>
6090
6091         * rowpainter.C: remove extra metrics calls
6092
6093         * lyxtext.h: merge the two constructors into a single one,
6094           pass reference to owner's par list
6095
6096         * BufferView_pimpl.C:
6097         * text.C:
6098         * text2.C: adjust
6099
6100 2003-08-15  André Pönitz  <poenitz@gmx.net>
6101
6102         * lyxrow_funcs.[Ch]:
6103         * lyxtext.h:
6104         * paragraph.h:
6105         * paragraph_funcs.C:
6106         * rowpainter.C:
6107         * text.C:
6108         * text2.C:
6109         * text3.C:
6110         * text_funcs.C: split LyXText::rowlist_ into individual
6111         Paragraph::rows_ chunks
6112
6113         * BufferView.[Ch]:
6114         * BufferView_pimpl.[Ch]:
6115         * lyxfind.C:
6116         * lyxtext.h:
6117         * text3.C: remove toggleSelection()
6118
6119 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6120
6121         * bufferlist.C: beautify two alerts (shorter text of buttons)
6122         * buffer.C: Remove redundant ' ' from message
6123         * tabular.h:
6124         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6125         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6126         rename VALIGN_CENTER to VALIGN_MIDDLE
6127
6128 2003-08-11  André Pönitz  <poenitz@gmx.net>
6129
6130         * lyxtext.h (getPar):
6131         * text.C: new function
6132
6133 2003-08-11  André Pönitz  <poenitz@gmx.net>
6134
6135         * Makefile.am:
6136         * tracer.[Ch]: remove unneeded files
6137
6138         * InsetList.[Ch]: remove resizeInsetsLyXText()
6139
6140         * lyxtext.h:
6141         * text.C:
6142         * text2.C:
6143         * text3.C: merge insertParagraphs() and appendParagraph()
6144         remove breakAgain(), update()
6145
6146         * BufferView_pimpl.[Ch]:
6147         * bufferview_funcs.[Ch]:
6148         * lyxfunc.C:
6149         * paragraph.[Ch]:
6150         * rowpainter.C:
6151         * tabular.C: adjust after text & InsetList changes.
6152
6153 2003-08-08  André Pönitz  <poenitz@gmx.net>
6154
6155         * text.C (insertChar, backspace): replace rowlist fiddling
6156         with rebreak of full par
6157
6158         * lyxtext.h:
6159         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6160         checkParagraph, updateInset): removed
6161
6162 2003-08-07  André Pönitz  <poenitz@gmx.net>
6163
6164         * paragraph.C:
6165         * text3.C: merge some LFUN handlers, remove dead code
6166
6167 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6168
6169         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6170
6171 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6172
6173         * text2.C (DEPM): fix part of bug 1255 and 1256
6174
6175 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6176
6177         * BufferView_pimpl.C (workAreaDispatch): change to use
6178         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6179         that are no mouse related.
6180
6181 2003-08-05  André Pönitz  <poenitz@gmx.net>
6182
6183         * BufferView.[Ch]:
6184         * BufferView_pimpl.[Ch]:
6185         * bufferview_funcs.C:
6186         * text2.C:
6187         * text3.C: rip out "deep update"
6188
6189         * textcursor.[Ch] (last_sel_cursor): remove unused member
6190
6191 2003-08-04  André Pönitz  <poenitz@gmx.net>
6192
6193         * BufferView.[Ch]:
6194         * BufferView_pimpl.[Ch]:
6195         * ParagraphParameters.C:
6196         * bufferview_funcs.C:
6197         * lyx_cb.C:
6198         * lyxfind.C:
6199         * lyxfunc.C:
6200         * text.C:
6201         * text2.C:
6202         * text3.C: replace "complicated" BufferView::update(...) calls with
6203         simpler ones.
6204
6205         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6206
6207 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6208
6209         * Makefile.am (lyx_SOURCES): add paper.h
6210
6211 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6212
6213         * Makefile.am: move things around so that both lyx-qt and
6214         lyx-xforms can be built (according to --with-frontend). Then lyx
6215         is a symbolic link to lyx-[firstfrontend]
6216
6217 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6218
6219         * Always use std::endl with lyxerr
6220
6221 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6222
6223         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6224
6225 2003-08-01  André Pönitz  <poenitz@gmx.net>
6226
6227         * BufferView.[Ch]:
6228         * BufferView_pimpl.[Ch]:
6229         * lyxfunc.C:
6230         * text3.C: merge BufferView::repaint() and BufferView::update()
6231
6232 2003-08-01  José Matos  <jamatos@lyx.org>
6233
6234         * buffer.[Ch]: file_format is no longer a buffer data element.
6235
6236 2003-08-01  André Pönitz  <poenitz@gmx.net>
6237
6238         * BufferView.C:
6239         * lyxtext.h:
6240         * text.C:
6241         * text2.C: make redoParagraph more independent of current cursor
6242
6243         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6244         * text.C:
6245         * text2.C: remove unneeded members
6246
6247 2003-07-30  André Pönitz  <poenitz@gmx.net>
6248
6249         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6250
6251         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6252           create a single function...
6253
6254         * paragraph_funcs.C (moveItem): ... here.
6255
6256         * text.C:
6257           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6258
6259 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6260
6261         * LColor.[Ch]: Add comment and greyedout logical colors.
6262
6263 2003-07-30  André Pönitz  <poenitz@gmx.net>
6264
6265         * tabular.C: don't use Assert too heavily. This crashes where it
6266           shouldn't
6267
6268 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6269
6270         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6271         is disabled (bug 1232)
6272
6273 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6274
6275         * factory.C: limited 'arg' scope
6276
6277 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6278
6279         * factory.C: fixed Note submenu issues
6280
6281 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6282
6283         * factory.C: submenu for Note/Comment/Greyedout
6284
6285 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6286
6287         * lyx_main.C (LyX):
6288         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6289
6290 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6291
6292         * LaTeXFeatures.C:
6293         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6294         greyedout. Patch provided by Jürgen Spitzmüller.
6295
6296 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6297
6298         * kbmap.C (read): fix error message when reading bind files
6299
6300 2003-07-29  Angus Leeming  <leeming@lyx.org>
6301
6302         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6303         certainly does not do what it purports to do. I am doing it, and
6304         us, a favour by killing it.
6305
6306 2003-07-28  José Matos  <jamatos@lyx.org>
6307
6308         * buffer.C (readBody, do_writeFile):
6309         * paragraph.C(readParagraph): \end_document replaces \the_end.
6310
6311 2003-07-29  André Pönitz  <poenitz@gmx.net>
6312
6313         * BufferView.[Ch]:
6314         * BufferView_pimpl.[Ch]:
6315         * lyxfunc.C:
6316         * text2.C:
6317         * text3.C:
6318         * textcursor.[Ch]: remove toggleToggle & Co
6319
6320 2003-07-28  José Matos  <jamatos@fep.up.pt>
6321
6322         * buffer.C (readParagraph):
6323         * params_func (readParToken, readParagraph):
6324         * paragraph.C (write): \layout -> \begin_layout.
6325
6326 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6327
6328         * lyxlex_pimpl.C (setFile): clean up slightly.
6329
6330         * bufferparams.h: add compressed var
6331
6332         * buffer_funcs.C (readFile): adjust for LyXLex change
6333         (newFile): ditto + simplify
6334
6335         * buffer.C (writeFile): handle writing of compressed files
6336
6337         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6338         Check if the file is compressed and set a bufferparm if so.
6339
6340         * Makefile.am (lyx_LDADD): remove explicit -lz
6341
6342 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6343
6344         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6345         makeDocBookFile): put the real LyX version in the first line of
6346         the file
6347
6348         * version.h:
6349         * version.C.in: remove lyx_docversion
6350
6351         * tabular.C (write_attribute): add a template-based version to
6352         write enums properly
6353
6354 2003-07-28  André Pönitz  <poenitz@gmx.net>
6355
6356         * lyxtext.h:
6357         * text.C:
6358         * text2.C:
6359         * text3.C: use doubles again for x-coordinates. They are needed.
6360
6361 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6362
6363         * messages.C (getLocaleDir): use lyx_localedir()
6364
6365         * lyxlex_pimpl.C (setFile): compress stuff
6366
6367         * buffer.C (writeFile): add some compression stuff
6368         (do_writeFile): new func, dont call expliti close... will this
6369         breake anything?
6370
6371         * Makefile.am (lyx_LDADD): add -lz
6372
6373 2003-07-28  José Matos  <jamatos@fep.up.pt>
6374
6375         * buffer.C: increment file format.
6376         * paragraph_funcs (readParagraph, readParToken):
6377         * paragraph.C (readParagraph): add \end_layout.
6378
6379 2003-07-27  Angus Leeming  <leeming@lyx.org>
6380
6381         * Makefile.am: remove special casing for configure-time setting of
6382         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6383
6384         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6385         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6386
6387 2003-07-26  André Pönitz  <poenitz@gmx.net>
6388
6389         * paragraph_func.[Ch]:
6390         * paragraph.C (realizeFont): inline it whereever it is used
6391
6392         * rowpainter.C:
6393         * text.C:
6394         * text2.C:
6395         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6396
6397
6398 2003-07-26  André Pönitz  <poenitz@gmx.net>
6399
6400         *       lyxtext.h:
6401         * text.C:
6402         * text2.C: get rid of LyXText::need_break_row
6403
6404 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * toc.[Ch]: put namespace toc inside namespace lyx
6407
6408         * MenuBackend.C (expandToc2): adjust for lyx::toc
6409         (expandToc): ditto
6410
6411         * lyxfunc.C (dispatch): adjust for lyx::find
6412
6413         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6414         lyx::find instead. Reorganize a bit.
6415         (LyXReplace): rename to replace
6416         (LyXFind): rename to find
6417
6418         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6419         (dispatch): ditto
6420
6421 2003-07-26  André Pönitz  <poenitz@gmx.net>
6422
6423         * text.C (setHeightOfRow): restrict scope of temporary variable
6424
6425         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6426           code (never has been used?)
6427
6428 2003-07-27  Asger Alstrup  <alstrup@local>
6429
6430         * text.C (fill): Optimise algorithm to exploit that we can reuse
6431         the LyXFont for many characters.
6432         (setHeightOfRow): Same thing.
6433         (rowBreakPoint): Same thing.
6434
6435 2003-07-26  Asger Alstrup  <alstrup@local>
6436
6437         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6438
6439         * text.C (singleWidth): Spurious font copying in hot-spot
6440         singleWidth avoided. Reorder tests for arabic for efficiency.
6441
6442         * text.C (fill): handle empty paragraphs better.
6443
6444 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6445
6446         * ispell.C:
6447         * encoding.h: add includes
6448
6449         * lyxrc.C: remove reading of bind files
6450
6451         * lyx_main.C (init): setup bindings and menus only if we have a
6452         gui.
6453
6454         * kbmap.C (read): new method. Do the actual reading of bind
6455         files.
6456
6457         * converter.C (dvipdfm_options):
6458         * bufferparams.C:
6459         * lyxrc.C (read):
6460         (output): adapt PAPER_* enums.
6461
6462         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6463
6464         * bufferparams.h: remove paper-related enums from there
6465
6466         * paper.h: New file. A trivial header file to hold paper-related
6467         enums. It should later expand to contain many paper-related
6468         horrors access.
6469
6470         * lyxrc.C: declare extern displayTranslator
6471
6472 2003-07-27  José Matos  <jamatos@fep.up.pt>
6473
6474         * tabular.[Ch] (linuxdoc): add support for tables and figures
6475         (linuxdoc).
6476
6477 2003-07-27  José Matos  <jamatos@fep.up.pt>
6478
6479         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6480         consistency in both functions.
6481         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6482
6483 2003-07-26  Asger Alstrup  <alstrup@local>
6484
6485         * rowpainter.C (paintRows): Change algorithm to work directly on
6486         the insets rather than asking every character in the document
6487         whether its an inset.
6488
6489 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6490
6491         * buffer.C (openFileWrite): factorize some code
6492
6493 2003-07-26  Angus Leeming  <leeming@lyx.org>
6494
6495         * lyx_cb.C:
6496         * lyx_main.[Ch]: replace occurances of system_tempdir with
6497         os::getTmpDir().
6498
6499 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6500
6501         * rename Inset to InsetOld
6502
6503 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6504
6505         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6506         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6507         which I think is a bit clearer. EDIT is gone, since it was
6508         premature optimisation, and broken for mathed anyway.
6509         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6510         with cursor positioning in insets as well (math insets still do not
6511         work, but that's a different story anyway.) It mysteriously
6512         crashes sometimes with undo in the first paragraph, but I'm fairly
6513         confident that this is a compiler bug.
6514
6515 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * paragraph.C (Paragraph): adjust for new clone return type
6518         (operator==): ditto
6519         (copyIntoMinibuffer): ditto
6520
6521 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6522
6523         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6524         by not having a special case, and always doing a full rebreak of
6525         the document after undo.
6526
6527 2003-07-23  Angus Leeming  <leeming@lyx.org>
6528
6529         * factory.C (createInset): InsetExternal::setParams now takes a
6530         Buffer const * arg.
6531
6532 2003-07-23  Angus Leeming  <leeming@lyx.org>
6533
6534         * factory.C (createInset): changed interface to the external and
6535         graphics mailers' string2params functions.
6536
6537 2003-07-23  Angus Leeming  <leeming@lyx.org>
6538
6539         * factory.C (createInset): pass a
6540         Buffer const * parameter to InsetExternalMailer's string2params.
6541
6542 2003-07-22  John Levon  <levon@movementarian.org>
6543
6544         * Thesaurus.h: include the right aiksaurus header
6545
6546 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6547
6548         * MenuBackend.C (expand): check menu shortcuts unconditionally
6549
6550 2003-07-21  Angus Leeming  <leeming@lyx.org>
6551
6552         * factory.C (createInset): pass a
6553         buffer_path parameter to InsetGraphicsMailer's string2params.
6554
6555 2003-07-21  Angus Leeming  <leeming@lyx.org>
6556
6557         * BufferView_pimpl.C (buffer):
6558         * buffer.C (d-tor):
6559         * lyx_main.C (LyX):
6560         * lyxfunc.C (dispatch):
6561         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6562         rather than the grfx shortcut.
6563
6564 2003-07-21  André Pönitz  <poenitz@gmx.net>
6565
6566         * rowpainter.C: remove unused variables
6567
6568         * tabular_funcs.C:
6569         * tabular_funcs.h: move to tabular.C
6570         * Makefile.am: adjust
6571
6572         * tabular.[Ch]: basic optical cleaning
6573
6574         * author.h: pass references, not values
6575
6576 2003-07-18  André Pönitz  <poenitz@gmx.net>
6577
6578         * lyxtext.h:
6579         * metricsinfo.C:
6580         * metricsinfo.h:
6581         * rowpainter.C:
6582         * text.C:
6583         * text2.C:
6584         * text3.C: two-phase drawing for InsetText and InsetTabular
6585         some float -> int changes.
6586
6587 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6588
6589         * lyx_main.C: fix the fix
6590
6591 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6592
6593         * lyx_main.C: fix a crash in batch mode if no files specified
6594         * converter.C: ws
6595
6596 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6597
6598         * format.[Ch] (papersize): moved to BufferParams
6599         * converter.[Ch] (dvips_options): moved to BufferParams
6600         (dvipdfm_options): moved to anon namespace
6601         * bufferparams.[Ch]: added above functions.
6602
6603 2003-07-17  André Pönitz  <poenitz@gmx.net>
6604
6605         * lyxtext.h:
6606         * rowpainter.C:
6607         * text2.C: don't call inset->update() anymore
6608
6609         * metricsinfo.[Ch]: add convenience constructor
6610
6611 2003-07-16  André Pönitz  <poenitz@gmx.net>
6612
6613         * lyxcursor.[Ch]:
6614         * lyxfunc.[Ch]:
6615         * text.C:
6616         * text2.C: replace the LyXCursor::irow_ member with
6617          on-demand computation of the value
6618
6619 2003-07-16  John Levon  <levon@movementarian.org>
6620
6621         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6622
6623 2003-07-15  André Pönitz  <poenitz@gmx.net>
6624
6625         * text.C:
6626         * text2.C: remove no more needed refresh_row
6627
6628 2003-07-15  André Pönitz  <poenitz@gmx.net>
6629
6630         * lyxtext.h:
6631         * rowpainter.C:
6632         * text2.C:
6633         * text3.C: refresh_status tristate -> need_update bool
6634
6635 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6636
6637         * lyxtext.h (init): remove reinit argument (act as if always true)
6638         * text2.C: adjust to that
6639
6640 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6641
6642         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6643         * text3.C: use it to delete selections in some cases
6644         (bugs 441, 673, 702, 954).
6645
6646 2003-07-14  André Pönitz  <poenitz@gmx.net>
6647
6648         * rowpainter.[Ch]: reduce interface
6649
6650 2003-07-14  André Pönitz  <poenitz@gmx.net>
6651
6652         * BufferView_pimpl.C:
6653         * text2.C: adjust after removing unused BufferView * argument
6654
6655 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6656
6657         * text2.C (init): fix a crash fired on resize
6658
6659 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6660
6661         * buffer.[Ch]: added new closing signal
6662         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6663         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6664         BufferView::Pimpl via the closing the signal
6665
6666 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6667
6668         * buffer.[Ch]: take out all bv-related from buffer
6669         * BufferView.C:
6670         * BufferView_pimpl.[Ch]: connect to new signals
6671         * CutAndPaste.C: removed useless asserts
6672         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6673         * lyxvc.[Ch]:
6674         * vc-backend.[Ch]:
6675         * lyxfunc.C: moved view-related funciontality from vc here
6676         * paragraph.C: removed outdated comments
6677         * text.C: ws
6678
6679 2003-07-10  André Pönitz  <poenitz@gmx.net>
6680
6681         * BufferView_pimpl.C:
6682         * tabular.h:
6683         * tabular_funcs.C:
6684         * text.C:
6685         * text2.C: remove InsetText::InnerCache, clean up consequences
6686
6687 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6688
6689         * ispell.C: fix two typos in error messages
6690
6691 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6692
6693         * Extend Note inset to other forms of annotation like Comment
6694         and Greyedout. Right button click gives dialog.
6695
6696         Files modified or added (+):
6697
6698         * insetnote.[Ch]
6699         * FormNote.[Ch]      +
6700         * ControlNote.[Ch]   +
6701         * form_note.fd       +
6702         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6703         frontends/controllers
6704         * xforms/Dialogs.C
6705         * factory.C
6706
6707 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6708
6709         * aspell.C: add missing namespace lyx::support
6710
6711 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6712
6713         * BufferView.[Ch] (newFile): Add
6714         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6715         * LaTeX.[Ch] (message): added this signal and use it
6716         * buffer.[Ch] (busy, message): added these signals and use them
6717         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6718         * converter.C:
6719         * exporter.C:
6720         * format.C:
6721         * importer.C: use buffer signals instead of direct bv calling
6722         * lyx_cb.[Ch] (ShowMessage): removed
6723         * lyx_main.C:
6724         * lyxfunc.C:
6725         * paragraph_funcs.C:
6726         * text2.C: use buffer signals
6727
6728 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * introduce namespace lyx::graphics
6731
6732 2003-07-02  André Pönitz  <poenitz@gmx.net>
6733
6734         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6735
6736 2003-07-01  André Pönitz  <poenitz@gmx.net>
6737
6738         * text.C:
6739         * text2.C:
6740         * text3.C:
6741         * text_funcs.[Ch]:
6742         * textcursor.h:
6743         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6744           text*.C to text_func.C
6745
6746 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * introduce namespace lyx::support
6749
6750 2003-06-30  André Pönitz  <poenitz@gmx.net>
6751
6752         * Chktex.C:
6753         * funcrequest.C:
6754         * lyxtext.h:
6755         * text.C: re-enable --with-included-string
6756
6757 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6758
6759         * textcursor.C: add <config.h>
6760
6761         * text.C (getWord): remove const from word_location arg
6762
6763         * lyxvc.C (getLogFile): fix const type order
6764
6765         * lyxtext.h: remove const from word_location arg, add arg name
6766
6767         * lyxlayout.h: currect type on labeltype.
6768
6769         * importer.C: correct \file
6770
6771         * converter.C (intToFormat): use std:: on ret val, ws changes
6772
6773         * bufferlist.h: correct \file
6774
6775         * buffer.C (makeLinuxDocFile): fix const type order
6776         (makeDocBookFile): ditto
6777         (fillWithBibKeys): use std:: on stdlib args.
6778
6779         * CutAndPaste.C: fix authors.
6780         (availableSelections): use std:: on return vector
6781
6782 2003-06-27  André Pönitz  <poenitz@gmx.net>
6783
6784         * BufferView_pimpl.C:
6785         * bufferview_funcs.C:
6786         * lyxcursor.C:
6787         * lyxcursor.h:
6788         * lyxfunc.C:
6789         * lyxtext.h:
6790         * rowpainter.C:
6791         * text.C:
6792         * text2.C:
6793         * text3.C: remove LyXCursor::row_ member
6794
6795         * lyxtext.h:
6796         * text.C: rename fullRebreak() to partialRebreak() and implement
6797           a fullRebreak() that really bereks fully
6798
6799         * textcursor.h: new struct for cursor-related data
6800
6801 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6802
6803         * lyx_main.C (LyX): get full path of document loaded on the
6804         command line
6805
6806 2003-06-26  André Pönitz  <poenitz@gmx.net>
6807
6808         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6809           remove unused/broken operator>,<,>=.
6810
6811         *       text.C: remove only use of broken operator<= in an Assert().
6812
6813 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6814
6815         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6816         moved errorlist_.clear to showErrorList
6817
6818 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6819
6820         * converter.C (scanLog, runLaTeX):
6821         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6822         move the bv->showErrorList call to the callers
6823         * lyxfunc.C: i.e. here...
6824         * text2.C: and here
6825         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6826         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6827         namespace, the second to...
6828         * buffer_funcs (BufferFormat, parseErrors): added
6829         * errorlist.C (ErrorList(TeXErrors const &)): removed
6830
6831 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6832
6833         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6834
6835 2003-06-24  "Garst R. Reese" <reese@isn.net>
6836
6837         * debug.C: fix typo
6838
6839 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6840
6841         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6842
6843         * version.C.in: change docversion to 1.4
6844
6845 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6846
6847         * buffer.C: fix a bug just introduced
6848
6849 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6850
6851         * buffer.[Ch]: added the parseError signal and use it, removed
6852         sgmlError
6853         * BufferView.[Ch] (addError): moved to ...
6854         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6855         to the Buffer::parseError signal to catch (guess what) parse errors
6856         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6857
6858 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6859
6860         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6861         ability to create a buffer and to return an existing one from
6862         the list. Moved these functions to...
6863         * buffer_funcs.[Ch]: added
6864         * BufferView.[Ch] (loadLyXFile): added
6865         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6866         job removed from bufferlist::loadLyXFile.
6867         * buffer.C (setReadOnly): make it work without view
6868         (i.e added an if (users))
6869
6870 2003-06-19  Angus Leeming  <leeming@lyx.org>
6871
6872         * lfuns.h:
6873         * LyXAction.C (init):
6874         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6875         with LFUN_DIALOG_SHOW <name> <data>.
6876
6877 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6878
6879         * CutAndPaste.C (availableSelections): small compilation fix for
6880         ancient (gcc 2.9x) compilers
6881
6882 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * text3.C (cursorNext): add tmp var
6885
6886         * text2.C (updateCounters): for function calling out of for clause
6887         (replaceSelectionWithString): ditto
6888         (insertStringAsParagraphs): ditto
6889         (getColumnNearX): add tmp var
6890         (setCursorFromCoordinates): add tmp var
6891         (cursorDownParagraph): add tmp var
6892         (deleteEmptyParagraphMechanism): add tmp var
6893
6894         * text.C (insertChar): add tmp var
6895
6896         * rowpainter.C (paintDepthBar): add tmp var
6897
6898         * CutAndPaste.C (availableSelections): potentially check all
6899         paragraphs in a cut to fill the shown strings.
6900
6901 2003-06-18  André Pönitz  <poenitz@gmx.net>
6902
6903         * kbmap.[Ch]: use vector<> instead of list<>
6904
6905 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6906
6907         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6908         pasteSelection with index
6909
6910         * text2.C (pasteSelection): modify, call pasteSelection with index
6911
6912         * paragraph.C (asString): reimplement version with no interval to
6913         call the one with interval.
6914
6915         * lyxtext.h: add index arg to pasteSelection
6916
6917         * MenuBackend.C (MenuItem): handle PasteRecent
6918         (Menu::read::Menutags): add md_pasterecent
6919         (read): handle it
6920         (expandPasteRecent): new function
6921         (expand): use it
6922
6923         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6924
6925         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6926         the limited stack
6927         (availableSelections): new function
6928
6929 2003-06-17  Angus Leeming  <leeming@lyx.org>
6930
6931         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6932
6933 2003-06-17  Angus Leeming  <leeming@lyx.org>
6934
6935         * lfuns.h:
6936         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6937
6938         * lyxfunc.C (dispatch): invoke it.
6939
6940 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6941
6942         * iterators.C (operator++, ParPosition): reintroduce some
6943         const_cast for the benefit of older compilers.
6944
6945 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6946
6947         * text3.C (dispatch): do not modify clipboard when doing
6948         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6949         LFUN_DELETE_SKIP on a selection selection
6950
6951 2003-06-16  André Pönitz  <poenitz@gmx.net>
6952
6953         * BufferView.C:
6954         * buffer.C:
6955         * buffer.h:
6956         * paragraph.C:
6957         * tabular.[Ch]: IU of clone() and getLabelList();
6958
6959 2003-06-13  André Pönitz  <poenitz@gmx.net>
6960
6961         * tabular.h: compactification
6962
6963 2003-06-12  André Pönitz  <poenitz@gmx.net>
6964
6965         * tabular.C:
6966         * tabular.h:
6967         * tabular_funcs.h: some renaming plus whitespace
6968
6969 2003-06-12  André Pönitz  <poenitz@gmx.net>
6970
6971         * BufferView.C:
6972         * BufferView_pimpl.C:
6973         * CutAndPaste.C:
6974         * buffer.C:
6975         * iterators.[Ch]:
6976         * lyxfunc.C:
6977         * text.C:
6978         * toc.C: Return a Paragraph & for ParIterator::operator*()
6979
6980 2003-06-11  John Levon  <levon@movementarian.org>
6981
6982         * lyx_main.C:
6983         * ToolbarBackend.h:
6984         * ToolbarBackend.C: add "Toolbars" section and
6985         put the flags there
6986
6987 2003-06-10  Angus Leeming  <leeming@lyx.org>
6988
6989         * lfuns.h:
6990         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6991
6992         * lyxfunc.C (dispatch): invoke it.
6993
6994 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * main.C: protect <ios> with HAVE_IOS
6997         (main): protect sync_with_stdio with HAVE_IOS
6998
6999 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7000
7001         * text2.C (cutSelection): adjust
7002         (pasteSelection): adjust
7003
7004         * messages.C: handle get of empty string
7005
7006         * main.C (main): use sync_with_stdio(false)
7007
7008         * lyxfunc.C (dispatch): adjust
7009
7010         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7011         (WriteAs): remove unneeded BufferView arg.
7012
7013         * bufferparams.h: use correct types on papersize, papersize2 and
7014         paperpackage.
7015
7016         * bufferparams.C (readToken): adjust for type
7017         (writeLaTeX): add missing cases to switch.
7018
7019         * bufferlist.C (quitWriteBuffer): adjust
7020         (close): adjust
7021
7022         * buffer.C (asciiParagraph): remove some commented code.
7023
7024         * CutAndPaste.C: remove current_view extern variable.
7025         (cutSelection): add BufferParams arg.
7026         (eraseSelection): add BufferParams arg.
7027         (pasteSelection): add Buffer const & arg
7028
7029 2003-06-07  John Levon  <levon@movementarian.org>
7030
7031         * buffer.C:
7032         * paragraph_funcs.C:
7033         * paragraph_pimpl.C:
7034         * text.C:
7035         * text2.C:
7036         * paragraph.h:
7037         * paragraph.C: allow InsetERT to freely space lines,
7038         and some consolidation of code
7039
7040 2003-06-06  José Matos  <jamatos@fep.up.pt>
7041
7042         * buffer.C (makeDocBookFile): fix bug #821
7043
7044 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7045
7046         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7047
7048 2003-06-04  Angus Leeming  <leeming@lyx.org>
7049
7050         * buffer.C: bump format to 224.
7051
7052 2003-06-05  André Pönitz  <poenitz@gmx.net>
7053
7054         * text2.C (redoParagraphs): remove two const_cast<>
7055
7056 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7057
7058         * ParagraphList.h: remove last remnants of NO_STD_LIST
7059
7060 2003-06-03  Angus Leeming  <leeming@lyx.org>
7061
7062         * factory.C (createInset): small change to the way InsetExternal's params
7063         are set.
7064
7065 2003-06-04  André Pönitz  <poenitz@gmx.net>
7066
7067         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7068
7069         * paragraph_pimpl.h:
7070         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7071
7072         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7073
7074         * undo_funcs.C: make some simple cases of undo work again
7075
7076 2003-06-03  John Levon  <levon@movementarian.org>
7077
7078         * ispell.C: HPUX doesn't have sys/select.h
7079         (from Albert Chin)
7080
7081 2003-06-03  John Levon  <levon@movementarian.org>
7082
7083         * CutAndPaste.C: update tabular and include inset
7084         buffer references
7085
7086         * buffer.h:
7087         * paragraph.h:
7088         * paragraph.C: remove owningBuffer(), don't pass Buffer
7089         to clone()
7090
7091         * factory.C: insetGraphicsParams changed
7092
7093 2003-06-02  John Levon  <levon@movementarian.org>
7094
7095         * LyXAction.C:
7096         * factory.C:
7097         * lfuns.h:
7098         * lyxfunc.C:
7099         * text3.C: remove insetparent
7100
7101 2003-06-02  John Levon  <levon@movementarian.org>
7102
7103         * buffer.h:
7104         * buffer.C: fix inset_iterator.end(), move out of line
7105         (bug 1149)
7106
7107 2003-06-01  John Levon  <levon@movementarian.org>
7108
7109         * text3.C: use a proper cut/paste when doing inset
7110         insert (from Jürgen Spitzmüller)
7111
7112 2003-06-01  John Levon  <levon@movementarian.org>
7113
7114         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7115
7116 2003-05-30  André Pönitz  <poenitz@gmx.net>
7117
7118         * rowpainter.C: unify second drawing phase
7119
7120 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7121
7122         * trans_mgr.C: remove one case of current_view
7123
7124         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7125
7126         * paragraph_funcs.h: remove paragraph.h include
7127
7128         * paragraph.h: delete NO_STD_LIST stuff
7129
7130         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7131
7132         * buffer.h: remove paragraph.h include
7133
7134         * ParagraphList.C: delete file
7135
7136         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7137
7138         * toc.C (getTocList): adjust
7139
7140         * paragraph_pimpl.C (validate): adjust
7141
7142         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7143
7144         * paragraph.C (Paragraph): adjust
7145         (getPositionOfInset): use const_iterator, adjust
7146         (bibitem): use const_iterator, adjust
7147         (setInsetOwner): adjust
7148
7149         * iterators.C (operator++): adjust
7150
7151         * InsetList.[Ch]: Replace selfmade iterator with standard
7152         vector::iterator also introduce const_iterator. Remove getPos,
7153         getInset and setInset from InsetTable. Adjust accordingly.
7154
7155         * BufferView.C (lockInset): adjust
7156         (ChangeInsets): adjust
7157
7158         * tabular.[Ch]: delete commented same_id functions
7159
7160 2003-05-28  John Levon  <levon@movementarian.org>
7161
7162         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7163
7164 2003-05-28  André Pönitz  <poenitz@gmx.net>
7165
7166         * metricsinfo.[Ch]: remove 'fullredraw' member
7167
7168 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7169
7170         * lyxtextclass.C (operator): remove caching.
7171
7172 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * text3.C: adjust
7175
7176         * text2.C (cursorBottom): adjust
7177         (setCounter): use ParagraphList::find, adjust
7178
7179         * text.C (workWidth): use ParagraphList::find, adjust
7180
7181         * lyxcursor.C (LyXCursor): adjust
7182
7183         * buffer.C (inset_iterator): adjust
7184
7185         * ParagraphList.h: make iterator(value_type) private, make
7186         ParagraphList a friend of iterator.
7187
7188         * ParagraphList.C (find): new function
7189
7190         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7191
7192 2003-05-27  André Pönitz  <poenitz@gmx.net>
7193
7194         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7195
7196 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7197
7198         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7199
7200 2003-05-26  John Levon  <levon@movementarian.org>
7201
7202         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7203
7204 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7205
7206         * remove same_id from function signatures, adjust.
7207
7208 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7209
7210         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7211
7212         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7213
7214         * paragraph.C (Paragraph): get rid of same_ids parameter
7215
7216         * ParagraphList.C (insert): adjust
7217         (push_back): adjust
7218
7219 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7220
7221         * paragraph_funcs.C (breakParagraph): adjust
7222         (breakParagraphConservative): adjust
7223
7224         * buffer.C (readParagraph): adjust
7225
7226         * ParagraphList.C (insert): take a reference instead of a pointer
7227         (insert): adjust
7228
7229         * paragraph.[Ch] (id): new function
7230
7231         * bufferlist.C (newFile): adjust
7232
7233         * ParagraphList.C (ParagraphList): adjust
7234         (assign): adjust
7235         (push_back): take a reference instead of a pointer.
7236
7237         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7238
7239         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7240         instead.
7241
7242         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7243         set else use old code.
7244
7245         * ParagraphList.C: remove all NO_NEXT code and only compile this
7246         code of NO_STD_LIST is set.
7247
7248 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7249
7250         * BufferView_pimpl.C:
7251         * TextCache.C:
7252         * TextCache.h:
7253         * bufferlist.C:
7254         * errorlist.h:
7255         * format.C:
7256         * format.h:
7257         * graph.C:
7258         * lyxfunc.C:
7259         * lyxrc.C:
7260         * graphics/GraphicsConverter.C:
7261         * graphics/PreviewLoader.C: header adjustment
7262
7263 2003-05-23  Angus Leeming  <leeming@lyx.org>
7264
7265         * LaTeXFeatures.[Ch] (useBabel): new method.
7266         * bufferparams.C (writeLaTeX): use it.
7267
7268 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7269
7270         * ParagraphList.h (set): remove unused function.
7271
7272 2003-05-23  André Pönitz  <poenitz@gmx.net>
7273
7274         * BufferView.C:
7275         * BufferView_pimpl.C:
7276         * buffer.C:
7277         * buffer.h:
7278         * lyxfunc.C:
7279         * undo_funcs.C: setUndo reworked
7280
7281         * iterators.[Ch]: add access to topmost ParagraphList
7282
7283         * lyxtext.[Ch] (workWidth): add a const
7284
7285 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7286
7287         * texrow.[Ch] (increasePos): remove function
7288         * exporter.C (export): removed unused var and outdated comment
7289
7290 2003-05-23  Angus Leeming  <leeming@lyx.org>
7291
7292         * latexrunparams.h: rename fragile as moving_arg.
7293         * paragraph.C (simpleTeXOnePar): ditto.
7294         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7295
7296 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7297
7298         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7299         (createUndo): ditto
7300         (textUndoOrRedo): comment out a currently unused var.
7301
7302         * paragraph.h (NO_NEXT): enable NO_NEXT
7303
7304         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7305
7306         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7307
7308         * exporter.C (Export): adjust for removeAutoInsets removal.
7309
7310         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7311
7312         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7313
7314         * BufferView.[Ch] (removeAutoInsets): delete function
7315
7316 2003-05-22  Angus Leeming  <leeming@lyx.org>
7317
7318         * latexrunparams.h: add a free_spacing variable.
7319
7320         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7321         to pass moving_arg, as the data is stored in runparams.fragile.
7322
7323         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7324         to Inset::latexOptional or to simpleTeXOnePar.
7325
7326         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7327         free_spacing arg to Inset::latexOptional.
7328
7329         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7330         free_spacing arg.
7331
7332 2003-05-22  Angus Leeming  <leeming@lyx.org>
7333
7334         * latexrunparams.h: add fragile and use_babel variables.
7335
7336         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7337         * buffer.C (makeLaTeXFile): store this returned value in
7338         runparams.use_babel, thus passing it to the inset::latex methods.
7339
7340         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7341         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7342
7343         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7344         longer has a fragile arg, as it is stored in runparams.fragile.
7345
7346         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7347         moving_arg parameter as the data is stored in runparams.fragile.
7348
7349         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7350         a fragile parameter as the data is stored in runparams.fragile.
7351
7352 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7355
7356 2003-05-22  Angus Leeming  <leeming@lyx.org>
7357
7358         * latexrunparams.h: add a 'bool nice' which defaults to false.
7359
7360         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7361         now encapsulated within runparams.
7362
7363         * bufferlist.C (updateIncludedTeXfiles):
7364         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7365
7366 2003-05-22  Angus Leeming  <leeming@lyx.org>
7367
7368         * latexrunparams.h: new file containing struct LatexRunParams.
7369         * Makefile.am: add new file.
7370
7371         * LaTeX.[Ch] (c-tor, run):
7372         * buffer.[Ch] (makeLaTeXFile):
7373         * bufferlist.[Ch] (updateIncludedTeXfiles):
7374         * converter.C (convert, scanLog):
7375         * converter.[Ch] (runLaTeX):
7376         * exporter.C (Export):
7377         * paragraph.[Ch] (simpleTeXOnePar):
7378         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7379         * paragraph_funcs.[Ch] (latexParagraphs):
7380         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7381         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7382         pass around a LatexRunParams parameter.
7383
7384 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * paragraph.[Ch]: remove unused constructor
7387
7388         * ParagraphList.C (erase): new function, taking two iterators
7389
7390 2003-05-22  André Pönitz  <poenitz@gmx.net>
7391
7392         * undo_funcs.C: remove duplicated code
7393
7394         * iterator.[Ch]: operator=
7395
7396 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7397
7398         * tabular.C (SetMultiColumn): ws changes
7399
7400         * rowpainter.C (paintFirst): get rid of a ->previous
7401
7402         * lyx_cb.C (getPossibleLabel): parlist simplification
7403
7404         * BufferView.C (ChangeInsets): simplify slightly.
7405
7406 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7407
7408         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7409         * lfuns.h: new LFUN_SPACE
7410         * lyxfunc.C: protected space has a new lfun
7411         * paragraph_funcs.C: read new space insets
7412         * text3.C:
7413         * factory.C: handle new space insets
7414
7415 2003-05-22  André Pönitz  <poenitz@gmx.net>
7416
7417         * BufferView.C:
7418         * BufferView_pimpl.C:
7419         * buffer.[Ch]:
7420         * lyxfunc.C:
7421         * undo_funcs.C: return a ParIterator from getParFromID.
7422
7423         * iterators.[Ch]: add two const's
7424
7425 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7426
7427         * toc.C (getTocList): adjust
7428
7429         * iterators.[Ch]: rework for parlist
7430
7431         * buffer.C (par_iterator_begin): adjust
7432         (par_iterator_end): adjust
7433
7434         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7435
7436         * BufferView.C (removeAutoInsets): adjust
7437         (ChangeInsets): adjust
7438
7439 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7440
7441         * text.C (top_y): fix bug 1110
7442
7443 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7444
7445         * errorlist.[Ch]: added
7446         * buffer.C:
7447         * BufferView.[Ch]:
7448         * BufferView_pimpl.C:
7449         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7450         instead
7451
7452 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7453
7454         * Makefile.am: ensure that lyx is relinked upon changes to the
7455         various "convenience" libs.
7456
7457 2003-05-20  Angus Leeming  <leeming@lyx.org>
7458
7459         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7460         files are compiled in alphabetical order again.
7461
7462         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7463
7464 2003-05-19  Angus Leeming  <leeming@lyx.org>
7465
7466         * gettext.[Ch]: remove "char const * _(char const *)".
7467
7468 2003-05-19  André Pönitz  <poenitz@gmx.net>
7469
7470         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7471
7472         * Makefile.am:
7473         * BufferView.C:
7474         * DepTable.h:
7475         * LaTeXFeatures.C:
7476         * buffer.C:
7477         * lyxfont.C:
7478         * lyxlex.h:
7479         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7480
7481 2003-05-19  André Pönitz  <poenitz@gmx.net>
7482
7483         * buffer.C:
7484         * lyxlayout.[Ch]:
7485         * lyxtextclass.[Ch]:
7486         * paragraph.C:
7487         * paragraph_funcs.[Ch]:
7488         * text2.C:
7489         * text3.C: more insetenv work
7490
7491 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7492
7493         * ParagraphParameters.C (params2string): small bug fixed
7494
7495 2003-05-16  André Pönitz  <poenitz@gmx.net>
7496
7497         * debug.C:
7498         * bufferview_funcs.C: patch from Kornel Benko to prevent
7499           crash when _(...) is called twice in a statement
7500
7501 2003-05-16  André Pönitz  <poenitz@gmx.net>
7502
7503         * BufferView.C:
7504         * lyxfunc.C:
7505         * text.C:
7506         * text2.C:
7507         * text3.C:
7508         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7509
7510 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7511
7512         * lyx_main.C (init): remove spurious static_cast
7513
7514 2003-05-14  André Pönitz  <poenitz@gmx.net>
7515
7516         * BufferView.C: fix format string
7517
7518 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7519
7520         * BufferView.[Ch] (insertErrors): removed
7521         * BufferView.[Ch] (showErrorList): added
7522         * buffer.C (runChkTeX):
7523         * converter.C (scanLog): call showErrorList instead of inserterrors
7524
7525 2003-05-13  André Pönitz  <poenitz@gmx.net>
7526
7527         * BufferView_pimpl.C:
7528         * buffer.C:
7529         * bufferview_func.C:
7530         * MenuBackend.C:
7531         * lyxfunc.C:
7532         * lyxrc.C:
7533         * tex-accent.C:
7534         * text3.C:
7535         * toc.C:
7536         * tabular_funcs.h: tostr() from its own header
7537
7538         * ParagraphParameters.C:
7539         * ToolbarBackend.C:
7540         * bufferparams.C:
7541         * format.C:
7542         * lyxlex_pimpl.C:
7543         * text3.C: STRCONV()
7544
7545 2003-05-12  André Pönitz  <poenitz@gmx.net>
7546
7547         * BufferView.C:
7548         * BufferView_pimpl.C:
7549         * CutAndPaste.C:
7550         * LaTeX.C:
7551         * LaTeXFeatures.C:
7552         * ParagraphParameters.C:
7553         * buffer.C:
7554         * bufferlist.C:
7555         * bufferparams.C:
7556         * bufferview_funcs.C:
7557         * converter.C:
7558         * counters.C:
7559         * debug.C:
7560         * exporter.C:
7561         * format.C:
7562         * importer.C:
7563         * lyx_cb.C:
7564         * lyx_main.C:
7565         * lyxfont.C:
7566         * lyxfunc.C:
7567         * lyxvc.C:
7568         * paragraph.C:
7569         * paragraph_funcs.C:
7570         * tabular.C:
7571         * tabular_funcs.C:
7572         * text2.C:
7573         * text3.C:  boost::format -> bformat  all over the place
7574
7575
7576 2003-05-09  André Pönitz  <poenitz@gmx.net>
7577
7578         * LColor.[Ch]: Pimpl the #include <map> away
7579
7580 2003-05-09  John Levon  <levon@movementarian.org>
7581
7582         * bufferlist.C: never remove emergency saves
7583
7584 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7585
7586         * Makefile.am: better lib building
7587
7588 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7591         instead.
7592         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7593         (simpleTeXSpecialChars): adjust
7594         (simpleTeXSpecialChars): adjust
7595         * paragraph.C (simpleTeXOnePar): adjust
7596         * buffer.C (makeLaTeXFile): adjust
7597
7598         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7599
7600         * text2.C (changeDepth): parlist cleanup
7601         (getColumnNearX): ditto
7602
7603         * rowpainter.C (getLabelFont): parlist cleanup
7604
7605         * bufferlist.C (newFile): parlist cleanup
7606
7607         * CutAndPaste.C (eraseSelection): parlist cleanup
7608
7609         * BufferView_pimpl.C (trackChanges): parlist cleanup
7610         (dispatch): ditto
7611
7612         * BufferView.C (lockInset): parlist cleanup.
7613         (ChangeInsets): ditto
7614
7615 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7616
7617         * CutAndPaste.h: Update file header.
7618
7619         * CutAndPaste.C: Update file header.
7620         Store the parts cut out of the Document in a limited_stack.
7621         (copySelection): adjust
7622         (pasteSelection): new function, takes the index in the limited stack.
7623         (nrOfParagraphs): adjust
7624         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7625         simplify error inset insertion.
7626         (checkPastePossible): adjust
7627
7628 2003-05-06  John Levon  <levon@movementarian.org>
7629
7630         * text2.C: don't cast wrap inset to float
7631
7632 2003-05-05  André Pönitz  <poenitz@gmx.net>
7633
7634         * iterator.C:
7635         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7636
7637         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7638           few naked Paragraph *.
7639
7640 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7641
7642         * bufferparams.C: Output warning if a document with missing
7643         TeX document class is loaded
7644         * exporter.C: Disable TeX exports if the document class is missing
7645         * lyxtextclass.C:
7646         * lyxtextclass.h:
7647         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7648         isTeXClassAvailable()
7649
7650 2003-05-03  John Levon  <levon@movementarian.org>
7651
7652         * BufferView.h:
7653         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7654         explicit cursor show/hide
7655
7656         * BufferView_pimpl.h:
7657         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7658         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7659
7660         * lyxfunc.C: hide cursor before dispatching.
7661
7662         * lyx_cb.C:
7663         * lyxfind.C:
7664         * text.C:
7665         * text3.C: remove explicit cursor hides
7666
7667 2003-05-02  André Pönitz  <poenitz@gmx.net>
7668
7669         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7670
7671         * undo_funcs.C:
7672         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7673           linked lists
7674
7675         * text2.C: tiny whitespace
7676
7677 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7678
7679         * undo_funcs.C: almost only ws changes.
7680
7681         * ParagraphList.C (splice): just return if pl is empty.
7682
7683 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7684
7685         * ParagraphList.C (splice): new function.
7686
7687         * CutAndPaste.C (pasteSelection): use it
7688
7689 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7690
7691         * CutAndPaste.C (pasteSelection): remove the last next and
7692         previous from this file.
7693
7694 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7695
7696         * CutAndPaste.C (pasteSelection): more clean up, user proper
7697         ParagraphList functions for pasteing.
7698
7699         * ParagraphList.C (insert): new function, three arg insert
7700
7701 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7702
7703         * ParagraphList.C (insert): new function, three arg insert
7704
7705         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7706         not on paragraphs.
7707
7708 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7711
7712 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7715
7716 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7717
7718         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7719         (copySelection): clean up a bit.
7720         (pasteSelection): use make_pair
7721
7722         * ParagraphList.C (ParagraphList): implement copy constructor
7723         (operator=): implement, base on copy constructor.
7724         (assign): new func
7725
7726         * paragraph.C (erase): return a bool
7727
7728         * paragraph_pimpl.C (erasePos): remove function, move contents...
7729         (erase): ... here. Return a bool.
7730         (erase): call erase instead of erasePos.
7731
7732 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7733
7734         * ParagraphList.h: define PitPosPair
7735         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7736         ParagraphList, fix a bug on pasting multiple pars
7737         * text2.C: change interface to C&P
7738
7739 2003-04-30  André Pönitz  <poenitz@gmx.net>
7740
7741         * undo_func.C: revert part of yesterday's patch 2
7742
7743 2003-04-30  John Levon  <levon@movementarian.org>
7744
7745         * LColor.C: s/tabular/table/
7746
7747 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7748
7749         * text3.C (dispatch): do not convert iterator -> pointer
7750         * undo_funcs.C (setCursorParUndo): ditto
7751         * text_funcs.C (transposeChars): ditto
7752
7753         * text2.C (setLayout): ws changes only
7754
7755         * text.C (breakParagraph): do not convert iterator -> pointer
7756         (insertChar): ditto
7757         (acceptChange): ditto
7758         (rejectChange): ditto
7759         (changeCase): ditto
7760         (Delete): ditto
7761         (backspace): ditto
7762
7763         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7764         pointer
7765
7766 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7767
7768         * text3.C (gotoInset): YABG (yet another bad getChar)
7769
7770 2003-04-29  André Pönitz  <poenitz@gmx.net>
7771
7772         * paragraph.h: make operator= private unimplemented as long as
7773           it is unusable
7774
7775         * ParagraphList.C: whitespace
7776
7777         * paragraph.[Ch]:
7778         * paragraph_pimpl.[Ch]:
7779         * paragraph_funcs.C:
7780         * CutAndPaste.C:
7781         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7782
7783         * text2.C:
7784           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7785
7786 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7787
7788         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7789         * paragraph.[Ch] (erase):
7790         * paragraph_pimpl.[Ch] (erase): change return type and value
7791         * text2.C (cutSelection): some rework
7792
7793 2003-04-28  John Levon  <levon@movementarian.org>
7794
7795         * bufferlist.C: changes for unsaved changes dialog
7796
7797 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7798
7799         * bufferlist.C (newFile): set language (messages_) for new
7800         documents also.
7801
7802         * buffer.C (readFile): ws changes only.
7803
7804 2003-04-28  André Pönitz  <poenitz@gmx.net>
7805
7806         * undo_funcs.C:
7807         * lyxfunc.C:
7808         * buffer.[Ch]:
7809         * BufferView_pimpl.C:
7810         * BufferView.C: getParFromID related ParagraphList::iterator changes
7811
7812 2003-04-28  André Pönitz  <poenitz@gmx.net>
7813
7814         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7815           Changes
7816
7817 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7818
7819         * messages.C: remove one more localedir class variable.
7820
7821 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * messages.C (getLocaleDir): singleton generation function
7824         (Pimpl): use it.
7825         (Messages): add a default constructor.
7826
7827         * main.C (main): do not setup localedir here, do not call
7828         gettext_init.
7829
7830         * gettext.C (_): use it.
7831         (gettext_init): delete funciton
7832
7833 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7834
7835         * gettext.C (getLyXMessages): new singleton generating function.
7836
7837         * buffer.C (updateDocLang): adjust
7838
7839         * Makefile.am (messages.o): add target
7840         (main.o): remove target
7841
7842 2003-04-27  John Levon  <levon@movementarian.org>
7843
7844         * bufferlist.C:
7845         * lyx_cb.C:
7846         * lyxfunc.C:
7847         * lyxvc.C: specify cancel button in Alert::prompt
7848
7849 2003-04-26  John Levon  <levon@movementarian.org>
7850
7851         * text3.C:
7852         * lyxfunc.C:
7853         * lfuns.h:
7854         * LyXAction.C: add LFUN_INSET_SETTINGS
7855
7856         * lyxfunc.C: don't enable tabular-feature when there's
7857         just any locking inset
7858
7859 2003-04-26  John Levon  <levon@movementarian.org>
7860
7861         * bufferlist.C: re-add Cancel to buffer close question
7862
7863         * lyxfunc.C: fix import UI a bit
7864
7865 2003-04-25  John Levon  <levon@movementarian.org>
7866
7867         * gettext.C: remove the broken asserts for now
7868
7869 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7870
7871         * messages.C: make case where setlocale cannot comply work better.
7872
7873         * buffer.C (updateDocLang): new function
7874         (changeLanguage): use it
7875         (readFile): use it
7876
7877         * text2.C (setCounter): use B_ a bit.
7878
7879         * lyxlayout.C (Read): be sure to trim the label strings.
7880
7881         * messages.C (Messages): fix typo in comment
7882
7883         * buffer.C (readFile): set message_ after file is loaded.
7884         (makeDocBookFile): remove double return
7885         (changeLanguage): reset message_ upon language change.
7886         (B_): new func, use this to get translated buffer strings.
7887
7888         * main.C: add myself and Jean Marc as authors.
7889
7890 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * messages.[hC]: pimplify Messages, and three different pimpls to be
7893         used in different circumstances.
7894
7895         * gettext.[Ch]: change for use with new message code.
7896
7897 2003-04-24 André Pönitz <poenitz@gmx.net>
7898
7899         * factory.C: support for eqref
7900
7901 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7902
7903         * messages.[Ch]: add missing char
7904
7905         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7906
7907         * messages.[Ch]: New files
7908
7909 2003-04-18  John Levon  <levon@movementarian.org>
7910
7911         * BufferView.h:
7912         * BufferView.C:
7913         * BufferView_pimpl.C:
7914         * lfuns.h:
7915         * LyXAction.C:
7916         * lyxtext.h:
7917         * text2.C: remove layout-copy/paste (bug 778)
7918
7919 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7920
7921         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7922
7923 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7924
7925         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7926         if they succeed. Act accordingly.
7927
7928 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7929
7930         * text2.C (setCharFont): adjust
7931         (setCounter): adjust
7932         (insertStringAsLines): adjust
7933
7934         * text.C (leftMargin): adjust
7935         (setHeightOfRow): adjust
7936
7937         * rowpainter.C (paintFirst): adjust
7938         (paintLast): adjust
7939
7940         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7941         (outerHook): ditto
7942         (isFirstInSequence): ditto
7943         (getEndLabel): ditto
7944         (outerFont): adjust
7945
7946         * paragraph.C (getParLanguage): comment out some hard stuff.
7947
7948         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7949         (sgmlError): ditto
7950         (simpleDocBookOnePar): ditto
7951         (makeDocBookFile): use ParagraphList::iterator
7952
7953         * CutAndPaste.C (pasteSelection): adjust
7954
7955 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7956
7957         * text2.C (getFont): adjust
7958         (getLayoutFont): adjust
7959         (getLabelFont): adjust
7960
7961         * paragraph_funcs.C (TeXOnePar): adjust
7962
7963         * buffer.C (simpleLinuxDocOnePar): adjust
7964         (simpleDocBookOnePar): adjust
7965
7966         * CutAndPaste.C (pasteSelection): adjust
7967
7968         * BufferView.C (getEncoding): adjust
7969
7970         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7971
7972 2003-04-16  John Levon  <levon@movementarian.org>
7973
7974         * lyxfind.C: use parlist stuff for search/changes
7975
7976 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7977
7978         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7979
7980         * text2.C (deleteEmptyParagraphMechanism): adjust
7981
7982         * text2.[Ch] (ownerParagraph): delete func (both of them
7983
7984 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7987
7988 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * ParagraphList.C: prepare for NO_NEXT
7991
7992 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7993
7994         * text2.C (getFont): adjust
7995         (getLayoutFont): adjust
7996         (getLabelFont): adjust
7997
7998         * paragraph.C (getFont): adjust
7999         (getLabelFont): adjust
8000         (getLayoutFont): adjust
8001
8002         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8003
8004 2003-04-15  John Levon  <levon@movementarian.org>
8005
8006         From Angus Leeming
8007
8008         * lyx_main.C: handle Include in .ui files
8009
8010 2003-04-15  John Levon  <levon@movementarian.org>
8011
8012         * MenuBackend.C: make the doc files length shorter
8013
8014         * ToolbarBackend.h:
8015         * ToolbarBackend.C: handle toolbar placement flags,
8016         Minibuffer
8017
8018 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8019
8020         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8021         adjust
8022
8023         * paragraph_funcs.C (TeXOnePar): adjust
8024
8025         * paragraph.C (getLabelFont): add outerfont arg, adjust
8026         (getLayoutFont): ditto
8027         (simpleTeXOnePar): adjust
8028
8029         * paragraph_pimpl.C (realizeFont): delete func
8030
8031 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8032
8033         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8034         row argument, constify cur argument.
8035
8036 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8037
8038         * text2.C (getFont): adjust
8039         (getLayoutFont): adjust
8040         (getLabelFont): adjust
8041
8042         * paragraph_funcs.C (TeXOnePar): adjust
8043         (outerFont): new func...
8044         (realizeFont): ...moved out from here, changed this to facilitate
8045         transition
8046
8047         * paragraph.C (getFont): take outerfont as arg, adjust
8048         (simpleTeXOnePar): add outerfont arg, adjust
8049
8050         * buffer.C (simpleLinuxDocOnePar): adjust
8051         (simpleDocBookOnePar): adjust
8052
8053         * CutAndPaste.C (pasteSelection): adjust
8054
8055         * BufferView.C (getEncoding): adjust
8056
8057 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8058
8059         * text2.C (setCharFont): adjust
8060         (setCounter): adjust
8061
8062         * text.C (leftMargin): adjust
8063         (setHeightOfRow): adjust
8064
8065         * rowpainter.C (paintFirst): adjust
8066         (paintLast): adjust
8067
8068         * paragraph_pimpl.C (realizeFont): adjust
8069
8070         * paragraph.C (isFirstInSequence): move from here...
8071         * paragraph_funcs.C (isFirstInSequence): ...to here
8072
8073         * paragraph.C (outerHook): move from here...
8074         * paragraph_funcs.C (outerHook): ...to here
8075
8076         * paragraph.C (depthHook): move from here...
8077         * paragraph_funcs.C (depthHook): ...to here
8078
8079         * paragraph.C (getEndLabel): move from here...
8080         * paragraph_funcs.C (getEndLabel): ...to here
8081
8082         * text2.C (realizeFont): move from here...
8083         * paragraph_funcs.C (realizeFont): ...to here
8084
8085 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8086
8087         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8088
8089 2003-04-14  Angus Leeming  <leeming@lyx.org>
8090
8091         * LColor.[Ch]: scrap LColor mathcursor.
8092
8093 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * lyxlex.[Ch] (text): delete function
8096         * trans.C (Load): adjust
8097         * paragraph_funcs.C (readParToken): adjust
8098
8099 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8100
8101         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8102         vector<char> instead of a char[].
8103
8104         * lyxlex_pimpl.C (getString): adjust
8105         (next): adjust
8106         (lex): use getString
8107         (eatLine): adjust
8108         (nextToken): adjust
8109
8110         * lyxlex.C (text): use pimpl_->getString()
8111         (getBool): ditto
8112         (findToken): ditto
8113
8114 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8115
8116         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8117         (makeFontEntriesLayoutSpecific): temp var for par.size()
8118         (setLayout): temp var for ownerParagraphs().end()
8119         (fullRebreak): temp var for rows().end()
8120         (selectionAsString): temp var for boost::next(startpit), realize
8121         that the while really is a regular for loop.
8122         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8123         setCursor in one place.
8124         (setParagraph): temp vr for ownerParagraphs().end()
8125         (updateCounters): make the while loop a for loop
8126         (cutSelection): temp var for ownerParagraphs().end()
8127         (updateInset): make the do {} while() a regular for loop
8128         (getCursorX): use temp vars
8129         (setCurrentFont): use temp vars
8130         (getColumnNearX): use temp vars
8131
8132 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8133
8134         * text.C (transformChar): use temp var for getChar
8135         (computeBidiTables): use temp var for row->par()
8136         (fill): move temp vars for row->par() and pit->layout() earlier in
8137         the function.
8138         (labelFill): use temp var for row->par()
8139         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8140         asc and desc, realize that pit never changes and that firstpit is
8141         just a duplicate and not needed. Exchange rit->par() with pit in a
8142         lot of places.
8143         (breakAgain): use a temp var for boost::next(rit)
8144         (breakAgainOneRow): ditto
8145         (breakParagraph): use a temp var for rows().begin()
8146         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8147         (cursorRightOneWord): use temp var for cursor.par() and
8148         cursor.pos(), remove usage of tmpcursor.
8149         (cursorLeftOneWord): use temp var for cursor.par() and
8150         cursor.pos() only set cur at end of function.
8151
8152 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8153
8154         * text.C, text2.C: exchange all usage of Paragraph::next with
8155         boost::next(ParagraphList::iterator)
8156
8157         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8158
8159         * text2.C (cursorTop): simplify implementation
8160         (cursorBottom): ditto
8161         (setParagraph): use ParagraphList::iterator
8162         (setCurrentFont): adjust
8163         (getColumnNearX): adjust
8164         (cursorRight): adjust
8165         (cursorLeft): remove usage of Paragraph::previous
8166         (cursorUpParagraph): ditto
8167         (deleteEmptyParagraphMechanism): slight cleanup
8168
8169         * text.C (isBoundary): take a Paragraph const & instead of a
8170         pointer as arg.
8171         (addressBreakPoint): ditto
8172         (leftMargin): remove usage of Paragraph::previous.
8173         (setHeightOfRow): ditto
8174         (cursorLeftOneWord): ditto
8175         (selectNextWordToSpellcheck): ditto
8176         (Delete): ditto
8177         (backspace): ditto
8178         (breakParagraph): remove one usage of Paragraph::next
8179         (redoParagraph): ditto
8180         (acceptChange): ditto
8181         (insertChar): adjust
8182         (rowBreakPoint): adjust
8183
8184         * bufferview_funcs.C (toggleAndShow): adjust
8185
8186 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8187
8188         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8189         methods to access it.
8190         * lyxtext.h:
8191         * text.C: Added updateRowPositions to compute all row positions.
8192         Make top_y and getRowNearY() to use the cached y position
8193
8194 2003-04-11  John Levon  <levon@movementarian.org>
8195
8196         * text.C (rowBreakPoint): reintroduce the labelEnd
8197         checks, code copied from the row fill stuff. Deep voodoo.
8198
8199         * text.C (fill): add a comment and debugging for the
8200         next poor soul.
8201
8202 2003-04-11  John Levon  <levon@movementarian.org>
8203
8204         * text.C: make sure fullrow insets get wrapped to the next line,
8205         even when they're in a manual label
8206
8207 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * text2.C (insertParagraph): make it take ParagraphList::iterator
8210         as arg.
8211         (setLayout): make it return ParagraphList::iterator
8212         (redoParagraphs): ditto
8213         (setCounter): ditto
8214         (checkParagraph): ditto
8215
8216         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8217
8218         * text2.C: adjust several funcs.
8219         (realizeFont): take a ParagraphList::iterator as arg.
8220         (getLayoutFont): ditto
8221         (getLabelFont): ditto
8222         (setCharFont): ditto
8223
8224         * text.C: adjust several funcs.
8225
8226 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8227
8228         * text.C (selectNextWordToSpellcheck): don't accidentally
8229         skip insets
8230
8231 2003-04-10  John Levon  <levon@movementarian.org>
8232
8233         * ToolbarBackend.C (getIcon): special handling for
8234         LFUN_MATH_DELIM
8235
8236 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8237
8238         * text2.C (cursorRight): a getChar assert fixed
8239
8240 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8241
8242         * text2.C (getFont): change to take a ParagraphList::iterator
8243         instead of Paragraph*
8244         Adjust several functions.
8245
8246         * text.C (transformChar): change to take a ParagraphList::iterator
8247         instead of Paragraph*
8248         (singleWidth): ditto
8249         Adjust several functions.
8250
8251         * rowpainter.C: adjust several functions
8252         * rowpainter.h:store a ParagraphList::iterator and not a
8253         Paragraph&.
8254
8255
8256 2003-04-09  John Levon  <levon@movementarian.org>
8257
8258         * lyxfunc.C:
8259         * lfuns.h:
8260         * LyXAction.h:
8261         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8262         and the "help" bits as well
8263
8264 2003-04-09  John Levon  <levon@movementarian.org>
8265
8266         * ToolbarBackend.h:
8267         * ToolbarBackend.C: allow multiple toolbars
8268
8269 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8270
8271         * undo_funcs.C (setCursorParUndo): adjust
8272
8273         * text_funcs.C (transposeChars): adjust
8274
8275         * text3.C (gotoNextInset): adjust
8276         (dispatch): adjust
8277
8278         * text2.C (setLayout): adjust
8279         (changeDepth): adjust
8280         (setFont): adjust
8281         (redoParagraphs): adjust
8282         (selectionAsString): adjust
8283         (setParagraph): adjust
8284         (insertInset): adjust
8285         (cutSelection): adjust
8286         (copySelection): adjust
8287         (pasteSelection): adjust
8288         (insertStringAsLines): adjust
8289         (updateInset): adjust
8290         (setCursor): change to take a ParagraphList::iterator parameter
8291         (setCursorIntern): change to take a ParagraphList::iterator parameter
8292         (setCurrentFont): adjust
8293         (cursorLeft): adjust
8294         (cursorRight): adjust
8295         (deleteEmptyParagraphMechanism): adjust
8296
8297         * text.C (breakParagraph): adjust
8298         (insertChar): adjust
8299         (acceptChange): adjust
8300         (rejectChange): adjust
8301         (selectNextWordToSpellcheck): adjust
8302         (changeCase): adjust
8303         (Delete): adjust
8304         (backspace): adjust
8305
8306         * lyxfind.C (SearchForward): adjust
8307         (SearchBackward): adjust
8308         (nextChange): adjust
8309
8310         * lyxcursor.C (par): adjust
8311
8312         * lyxcursor.h: store a ParagraphList::iterator instead of a
8313         Paragraph*
8314
8315         * lyx_cb.C (getPossibleLabel): adjust
8316
8317         * bufferview_funcs.C (toggleAndShow): adjust
8318
8319         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8320         (dispatch): adjust
8321
8322         * BufferView.C (removeAutoInsets): adjust
8323         (lockedInsetStoreUndo): adjust
8324
8325 2003-04-09  John Levon  <levon@movementarian.org>
8326
8327         * ToolbarBackend.C: try icon without argument
8328         if with argument fails
8329
8330 2003-04-08  John Levon  <levon@movementarian.org>
8331
8332         * ToolbarBackend.h:
8333         * ToolbarBackend.C: add getIcon(), handle tooltip,
8334         and change from "Icon" to "Item".
8335
8336 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8337
8338         * BufferView.C (lockInset): another bad getchar crunched
8339
8340 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8341
8342         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8343         again)
8344
8345 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8346
8347         * lyxfind.C (searchForward, searchBackwards): bug 782
8348
8349 2003-04-07  John Levon  <levon@movementarian.org>
8350
8351         * paragraph.C: remove dead comment
8352
8353         * text.C: remove troublesome depth-fiddling code
8354         in leftMargin() and rightMargin() (bug 1017)
8355
8356         * text.C: fix breaking of rows in nested lists
8357         (bug 1004)
8358
8359         * text2.C (updateCounters): fix up depth values
8360         (bug 1013)
8361
8362 2003-04-07  John Levon  <levon@movementarian.org>
8363
8364         * BufferView_pimpl.C: clear message when doc finishes resizing,
8365         and after a mouse event
8366
8367         * lyxfunc.C: clear message after exiting inset
8368
8369 2003-04-07  John Levon  <levon@movementarian.org>
8370
8371         * bufferview_funcs.C: show math status not outside
8372         status in the statusbar
8373
8374 2003-04-07  John Levon  <levon@movementarian.org>
8375
8376         * lyxfunc.C: note status changed after a depth change
8377
8378 2003-04-04  Angus Leeming  <leeming@lyx.org>
8379
8380         * LaTeX.h: move AuxInfo operator==, != out of line.
8381         Remove LaTeX virtual destructor; nothing derives from it.
8382         Move operator()() out of public area and rename it startscript().
8383         Change protected for private.
8384
8385 2003-04-04  Angus Leeming  <leeming@lyx.org>
8386
8387         * lyxfunc.C:
8388         * text2.C: remove unneeded #includes.
8389
8390 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8391
8392         * text2.C (dEPM): fix the heigth of the next row
8393
8394 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8395
8396         * text.C: squashed an invalid getChar requester + some ws changes
8397
8398 2003-04-03  John Levon  <levon@movementarian.org>
8399
8400         * bufferview_funcs.h:
8401         * bufferview_funcs.C:
8402         * lyxfunc.C:
8403         * lyxtext.h:
8404         * text2.C: make getStatus work for the env depth lfuns
8405
8406 2003-04-03  John Levon  <levon@movementarian.org>
8407
8408         * bufferview_funcs.h:
8409         * bufferview_funcs.C:
8410         * lyxfunc.C:
8411         * lyxtext.h:
8412         * text2.C: parlistize decDepth(), by merging it with incDepth()
8413
8414 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8415
8416         * lyxrow.h: store a ParagraphList::iterator instead of a
8417         Paragraph* and adjust other class functions to suit.
8418
8419         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8420         above.
8421
8422 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8423
8424         * text2.C (setCursor): do not anchor to cursor row for the time being
8425
8426 2003-04-02  John Levon  <levon@movementarian.org>
8427
8428         * LyXAction.C:
8429         * lfuns.h:
8430         * lyx_main.C:
8431         * lyxtext.h:
8432         * text.C:
8433         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8434
8435 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8436
8437         * paragraph.h: make ParagraphList and ParagraphList::iterator
8438         friends of Paragraph.
8439
8440         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8441
8442         * ParagraphList.C: Use the private next_ and previous_ from
8443         Paragraph.
8444
8445 2003-04-01  John Levon  <levon@movementarian.org>
8446
8447         * ToolbarBackend.h:
8448         * ToolbarBackend.C:
8449         * Makefile.am: rename, remove defaults gunk
8450
8451         * MenuBackend.h:
8452         * MenuBackend.C: remove defaults gunk
8453
8454         * Languages.h:
8455         * Languages.C: remove defaults gunk
8456
8457         * lyx_main.h:
8458         * lyx_main.C: error out if files couldn't be found.
8459
8460 2003-04-02  John Levon  <levon@movementarian.org>
8461
8462         * text2.C: make incDepth() use parlist
8463
8464 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8465
8466         * undo_funcs.C (firstUndoParagraph): adjust
8467
8468         * text3.C (gotoInset): adjust
8469         (dispatch): adjust, and rewrite loop.
8470
8471         * text2.C (init): adjust, and rewrite loop.
8472         (redoParagraphs): adjust
8473         (updateInset): adjust, and rewrite loop.
8474         (deleteEmptyParagraphMechanism): adjust
8475
8476         * tabular.C (LyXTabular): adjust
8477         (SetMultiColumn): adjust
8478         (TeXRow): adjust
8479
8480         * lyxtext.[Ch] (ownerParagraph): delete function
8481         (ownerParagraphs): new function returns a ParagraphList.
8482
8483         * BufferView.C (removeAutoInsets): adjust
8484         (insertErrors): adjust
8485         (setCursorFromRow): adjust
8486
8487 2003-04-01  Angus Leeming  <leeming@lyx.org>
8488
8489         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8490         in the frontends.
8491
8492 2003-04-02  John Levon  <levon@movementarian.org>
8493
8494         * lyxtext.h:
8495         * text.C:
8496         * Makefile.am:
8497         * text_funcs.h:
8498         * text_funcs.C: make transposeChars a free function
8499
8500         * lyxrow_funcs.C: remove wrong comment
8501
8502 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8503
8504         * lyxtext.h: adjust
8505         * rowpainter.C: adjust
8506         * text.C: adjust
8507         * text2.C: adjust
8508         * text3.C: adjust
8509
8510         * lyxrow_funcs. [Ch]: new files
8511
8512         * lyxrow.[Ch]: remove next and previous pointers
8513         (next,previous): remove accessor functions
8514         (isParEnd): move to lyxrow_funcs
8515         (lastPos): move to lyxrow_funcs
8516         (nextRowIsAllInset): move to lyxrow_funcs
8517         (lastPrintablePos): move to lyxrow_funcs
8518         (numberOfSeparators): move to lyxrow_funcs
8519         (numberOfHfills): move to lyxrow_funcs
8520         (numberOfLabelHfills): move to lyxrow_funcs
8521         (hfillExpansion): move to lyxrow_funcs
8522
8523         * lyxfunc.C: adjust
8524
8525         * bufferview_funcs.C (toggleAndShow): adjust
8526
8527         * RowList.h: Remove class RowList from file leave just a
8528         std::list<Row>.
8529
8530         * RowList.C: delete file
8531
8532         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8533         and lyxrow_funcs.h
8534
8535 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8536
8537         * text3.C (cursorPrevious): adjust
8538         (cursorNext): adjust
8539         (dispatch): adjust
8540
8541         * text2.C (redoHeightOfParagraph): adjust
8542         (redoDrawingOfParagraph): adjust
8543         (setCursor): adjust
8544
8545         * text.C (breakParagraph): adjust
8546         (insertChar): adjust
8547         (backspace): adjust
8548
8549         * rowpainter.C (RowPainter): adjust
8550         (leftMargin): simplify and adjust
8551         (most rowpainter functions): adjust.
8552
8553         * rowpainter.h: store the row as RowList::iterator not as Row*
8554
8555         * lyxcursor.C (row): taka RowList::iterator as arg
8556         (irow): ditto
8557
8558         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8559         of Row*.
8560
8561 2003-04-01  Angus Leeming  <leeming@lyx.org>
8562
8563         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8564         stuff like bool Bool.
8565
8566 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8567
8568         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8569         rewrite a loop
8570
8571 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8572
8573         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8574         RowList::iterator.
8575
8576         * lyxtext.h (rows): drop one version and leve a const variant that
8577         returns a RowList::iterator.
8578
8579 2003-03-31  Angus Leeming  <leeming@lyx.org>
8580
8581         * text.C (fill): ensure that the signature is the same as that in the
8582         header file.
8583
8584 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * text2.C (redoParagraphs): adjust
8587         (updateCounters): adjust
8588         (checkParagraph): adjust
8589         (getColumnNearX): adjust and reformat a bit.
8590
8591         * text.C (top_y): adjust
8592         (workWidth): adjust
8593         (leftMargin): adjust
8594         (prepareToPrint): adjust
8595         (getRow): adjust
8596         (getRowNearY): adjust
8597
8598         * lyxtext.h: make rowlist_ mutable.
8599
8600         * RowList.h: add const_iterator
8601         * RowList.C: adjust for RowList::const_iterator.
8602
8603         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8604         adjust.
8605
8606 2003-03-31  John Levon  <levon@movementarian.org>
8607
8608         * lyxrc.h:
8609         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8610
8611         * lyx_main.C: set default fonts from using lyx_gui funcs
8612
8613         * exporter.C: pdf_mode moved from lyxrc
8614
8615         * lyx_cb.C:
8616         * lyxfunc.C: changes from above
8617
8618 2003-03-31  John Levon  <levon@movementarian.org>
8619
8620         * lyx_main.C: fix to the last fix
8621
8622 2003-03-31  John Levon  <levon@movementarian.org>
8623
8624         * bufferlist.C: "Load original" -> "Load Original"
8625
8626         * converter.C:
8627         * exporter.C:
8628         * importer.C:
8629         * lyx_main.C:
8630         * format.C: more Alert cleanups
8631
8632 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8633
8634         * text2.C (removeParagraph): make it take a RowList::iterator as
8635         arg, adjust.
8636         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8637         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8638
8639         * text.C (anchor_row): make it take a RowList::iterator as arg,
8640         adjust.
8641         (computeBidiTables): make it take a const reference to Row instead
8642         of Row pointer, adjust.
8643         (leftMargin): make it take a RowList::iterator as arg, adjust.
8644         (rowBreakPoint): adjust
8645         (breakAgainOneRow): make it take a RowList::iterator as arg,
8646         adjust.
8647         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8648
8649         * bufferview_funcs.C (toggleAndShow): adjust
8650
8651 2003-03-30  John Levon  <levon@movementarian.org>
8652
8653         * Makefile.am:
8654         * BoostFormat.h:
8655         * boost-inst.C: moved to support
8656
8657         * several files: changes as a result
8658
8659 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * text2.C (LyXText): adjust.
8662         (init): adjust
8663         (removeRow): make it take a RowList::iterator as arg, adjust.
8664         (fullRebreak): adjust
8665         (deleteEmptyParagraphMechanism): adjust
8666         (clearPaint): adjust
8667         (postPaint): adjust
8668
8669         * text.C (top_y): adjust
8670         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8671         (breakAgain): make it take a RowList::iterator as arg, adjust.
8672         (breakParagraph): adjust
8673         (insertChar): adjust
8674         (backspace): adjust
8675
8676         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8677         need_break_row, and refresh_row.
8678
8679         * text3.C (dispatch): adjust
8680
8681         * text2.C (checkParagraph): adjust
8682         (setCursor): adjust
8683         (setCursorFromCoordinates): adjust
8684
8685         * text.C (top_y): adjust
8686         (workWidth): adjust
8687         (getRow): make it return a RowList::iterator, adjust
8688         (getRowNearY): make it return a RowList::iterator, adjust
8689
8690         * text2.C (init): adjust
8691         (insertRow): remove function
8692         (insertParagraph): adjust
8693         (redoParagraphs): adjust
8694         (fullRebreak): adjust
8695         (updateCounters): adjust
8696
8697         * text.C (top_y): rewrite to use RowList iterators.
8698         (top_y): adjust
8699         (setHeightOfRow): rewrite to sue RowList iterators.
8700         (appendParagraph): adjust
8701         (breakAgain): adjust
8702         (breakAgainOneRow): adjust
8703         (breakParagraph): adjust
8704         (getRow): adjust
8705         (getRowNearY): adjust, and remove commented code.
8706
8707         * lyxtext.h (firstRow): delete function
8708         (lastRow): delete function
8709         (rows): new function (const and non-const versions.)
8710         (insertRow): delete function
8711
8712         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8713
8714 2003-03-29  John Levon  <levon@movementarian.org>
8715
8716         * BufferView_pimpl.C: always update scrollbar top
8717         because pasting text when we're anchored could mean we
8718         miss an update altogether
8719
8720 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8721
8722         * text2.C (init): use rowlist_.end() and not 0.
8723         (insertRow): change to take a RowList::iterator as arg, adjust
8724         for this.
8725         (insertParagraph): change to take a RowList::iterator as arg,
8726         adjust for this.
8727         (redoParagraphs): remove some debug msgs.
8728
8729         * text.C (appendParagraph): change to take a RowList::iterator
8730         arg, adjust for this.
8731         (breakAgain): add an assert
8732         (breakAgainOneRow): ditto
8733
8734 2003-03-29  John Levon  <levon@movementarian.org>
8735
8736         * text2.C: do not clear selection after inc/decDepth
8737         (bug 550)
8738
8739 2003-03-29  John Levon  <levon@movementarian.org>
8740
8741         * BufferView.C:
8742         * buffer.C: fix broken strerrors according to Lars
8743
8744 2003-03-29  John Levon  <levon@movementarian.org>
8745
8746         * converters.C: more Alert cleanups
8747
8748 2003-03-29  John Levon  <levon@movementarian.org>
8749
8750         * bufferview_funcs.C: remove pointless Alert
8751
8752         * buffer.C: fix confusing error message when
8753         a template is chmoded 000
8754
8755 2003-03-29  John Levon  <levon@movementarian.org>
8756
8757         * BufferView.C:
8758         * BufferView.h:
8759         * BufferView_pimpl.C: Alert fixes
8760
8761         * Makefile.am:
8762         * tabular.C:
8763         * tabular-old.C: remove unused table compat reading
8764
8765 2003-03-29  John Levon  <levon@movementarian.org>
8766
8767         * BufferView.C:
8768         * buffer.C:
8769         * lyx_cb.h:
8770         * lyx_cb.C: more Alert cleanups
8771
8772         * lyxfunc.C: don't allow chktex if not latex document
8773
8774 2003-03-29  John Levon  <levon@movementarian.org>
8775
8776         * lyx_cb.C:
8777         * BufferView.C:
8778         * buffer.C: warnings pushed down from support/,
8779         kill err_alert
8780
8781 2003-03-29  John Levon  <levon@movementarian.org>
8782
8783         * lyxfunc.C: safety check for C-r (revert)
8784
8785 2003-03-29  John Levon  <levon@movementarian.org>
8786
8787         * bufferlist.h:
8788         * bufferlist.C: several UI fixes using Alert::prompt.
8789         Fix the pointless looping quit code. Fix stupid revert
8790         behaviour (bug 938)
8791
8792         * lyxvc.h:
8793         * lyxvc.C:
8794         * lyx_cb.C: use Alert::prompt
8795
8796         * lyx_main.C: remove a silly question
8797
8798         * lyxfunc.C: remove a couple of silly questions,
8799         use Alert::prompt
8800
8801 2003-03-28  John Levon  <levon@movementarian.org>
8802
8803         * text2.C: fix bug 974 (End on empty par)
8804
8805 2003-03-28  John Levon  <levon@movementarian.org>
8806
8807         * BufferView_pimpl.C:
8808         * LyXAction.C:
8809         * lfuns.h: remove do-nothing math greek lfuns
8810
8811 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8812
8813         * lyxgluelength.h (isValidGlueLength): add default arg on
8814         parameter 2. Remove default arg from friend in class.
8815
8816         * lyxlength.h (isValidLength): add default arg on parameter 2.
8817         Remove default arg from friend in class.
8818
8819         * text2.C (LyXText): adjust, initialize refresh_row.
8820         (init): adjust
8821         (removeRow): adjust
8822         (insertRow): adjust
8823         (insertParagraph): adjst
8824         (redoParagraphs): adjust
8825         (fullRebreak): adjust
8826         (updateCounters): adjust
8827         (deleteEmptyParagraphMechanism): first attempt at fixing a
8828         crashing bug.
8829
8830         * text.C (top_y): adjust
8831         (setHeightOfRow): adjust
8832         (getRow): adjust
8833         (getRowNearY): adjust
8834
8835         * lyxtext.h: include RowList.h
8836         (~LyXText): not needed anymore, deleted.
8837         (firstRow): modify for RowList
8838         (lastRow): new function
8839         Delete firstrow and lastrow class variables, add a Rowlist
8840         rowlist_ class variable.
8841
8842         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8843         paragraph is empty.
8844
8845         * RowList.C (insert): fix case where it == begin().
8846
8847 2003-03-26  Angus Leeming  <leeming@lyx.org>
8848
8849         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8850         the thesaurus dialog.
8851
8852 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8853
8854         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8855
8856         * RowList.[Ch]: new files
8857
8858         * ParagraphList.C (erase): handle the case where it == begin
8859         correctly.
8860
8861 2003-03-25  John Levon  <levon@movementarian.org>
8862
8863         * Makefile.am:
8864         * aspell_local.h:
8865         * aspell.C: add new aspell support
8866
8867         * lyxrc.h:
8868         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8869         have it accessible.
8870
8871 2003-03-25  Angus Leeming  <leeming@lyx.org>
8872
8873         * lfuns.h:
8874         * LyXAction.C (init): new LFUN_INSET_INSERT.
8875
8876         * BufferView_pimpl.C (dispatch): split out part of the
8877         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8878
8879         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8880         LFUN_INSET_APPLY.
8881
8882 2003-03-25  Angus Leeming  <leeming@lyx.org>
8883
8884         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8885
8886 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8887
8888         * text2.C:
8889         * text3.C: remove useless row->height(0)
8890
8891 2003-03-25  John Levon  <levon@movementarian.org>
8892
8893         * lyxtext.h:
8894         * text2.C:
8895         * text3.C: rename the refreshing stuff to better names
8896
8897 2003-03-24  John Levon  <levon@movementarian.org>
8898
8899         * BufferView_pimpl.h:
8900         * BufferView_pimpl.C: update layout choice on a mouse
8901         press/release
8902
8903 2003-03-23  John Levon  <levon@movementarian.org>
8904
8905         * Makefile.am: fix commandtags.h reference
8906
8907 2003-03-22  John Levon  <levon@movementarian.org>
8908
8909         * BufferView_pimpl.C:
8910         * lyxtext.h:
8911         * rowpainter.C:
8912         * rowpainter.h:
8913         * text.C:
8914         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8915
8916 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8917
8918         * lyxtext.h:
8919         * text.C: take the rtl methods out of line
8920
8921 2003-03-21 André Pönitz <poenitz@gmx.net>
8922
8923         * metricsinfo.[Ch]: new files containing structures to be passed around
8924         during the two-phase-drawing...
8925
8926 2003-03-21 André Pönitz <poenitz@gmx.net>
8927
8928         * lyxtextclass.C: read 'environment' tag.
8929
8930 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8931
8932         * text2.C (removeRow): fix bug 964
8933
8934 2003-03-20  John Levon  <levon@movementarian.org>
8935
8936         * rowpainter.C:
8937         * text.C:
8938         * text2.C: paint cleanups. Inset::update() dropped font
8939         parameter
8940
8941 2003-03-19  John Levon  <levon@movementarian.org>
8942
8943         * lyxfunc.C: only fitcursor/markDirty if available()
8944
8945 2003-03-19  John Levon  <levon@movementarian.org>
8946
8947         * commandtags.h: rename to ...
8948
8949         * lfuns.h: ... this, and renumber / cleanup
8950
8951 2003-03-19  John Levon  <levon@movementarian.org>
8952
8953         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8954         fit the cursor after an lfun
8955
8956         * BufferView.h:
8957         * BufferView.C:
8958         * BufferView_pimpl.h:
8959         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8960
8961         * LyXAction.C: layout-character should have ReadOnly
8962
8963         * ParagraphParameters.C:
8964         * buffer.C:
8965         * bufferview_funcs.C:
8966         * lyx_cb.C:
8967         * lyxfind.C:
8968         * lyxtext.h:
8969         * text.C:
8970         * text2.C:
8971         * text3.C:
8972         * undo_funcs.C: changes from above
8973
8974 2003-03-18  John Levon  <levon@movementarian.org>
8975
8976         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8977         remove it from update()
8978
8979         * lyxfunc.C: update layout choice after an lfun
8980
8981         * text3.C: remove extra updateLayoutChoice()s
8982
8983 2003-03-18  John Levon  <levon@movementarian.org>
8984
8985         * text.C: top_y change means full repaint, fix
8986         a drawing bug with cursor movement
8987
8988 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8989
8990         * lyxtext.h:
8991         * text.C:
8992         * text2.C: anchor row on setCursor
8993
8994 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8995
8996         * lyxtext.h: remove almost all mutable keywords
8997         * text.C:
8998         * text2.C:
8999         * text3.C: remove const keywords accordingly
9000
9001 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9002
9003         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9004         anon namespace
9005         (TeXEnvironment): ditto
9006         (TeXOnePar): ditto
9007
9008 2003-03-17  John Levon  <levon@movementarian.org>
9009
9010         * text.C (rowBreakPoint): remove attempt to fix displayed
9011         math insets inside a manual label
9012
9013 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9014
9015         * lyxtext.h: remove BufferView* as first arg from almost all class
9016         functions.
9017         * other files: adjust.
9018
9019 2003-03-17  John Levon  <levon@movementarian.org>
9020
9021         * lyxtext.h:
9022         * undo_funcs.C:
9023         * text2.C: more paint cleanups
9024
9025         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9026
9027         * rowpainter.h:
9028         * rowpainter.C: remove "smart" background painting code
9029
9030 2003-03-16  John Levon  <levon@movementarian.org>
9031
9032         * lyxtext.h:
9033         * text.C:
9034         * text2.C:
9035         * text3.C: add helper functions for setting refresh_row/y
9036
9037 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9038
9039         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9040         newline inset which *can* get inserted in the pass_thru layouts.
9041         This is primarily for literate documents.
9042
9043 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9044
9045         * buffer.C: increment LYX_FORMAT to 223
9046
9047 2003-03-14 André Pönitz <poenitz@gmx.net>
9048
9049         * textclass.h: prepare for environment handling, ws changes
9050         * lyxlayout.C: read latexheader and latexfooter tags
9051
9052 2003-03-14  John Levon  <levon@movementarian.org>
9053
9054         * text2.C: rewrite ::status() a bit
9055
9056 2003-03-13  John Levon  <levon@movementarian.org>
9057
9058         * lyxtext.h: add some docs
9059
9060 2003-03-13  John Levon  <levon@movementarian.org>
9061
9062         * lyxtext.h:
9063         * text.C:
9064         * text2.C:
9065         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9066
9067 2003-03-13  John Levon  <levon@movementarian.org>
9068
9069         * text3.C: fix appendix redrawing
9070
9071 2003-03-13  John Levon  <levon@movementarian.org>
9072
9073         * text.C (setHeightOfRow):
9074         * rowpainter.h:
9075         * rowpainter.C: make appendix mark have the text
9076           "Appendix" so the user knows what it is
9077
9078         * LColor.h:
9079         * LColor.C: s/appendixline/appendix/ from above
9080
9081 2003-03-13  John Levon  <levon@movementarian.org>
9082
9083         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9084
9085         * text.C: fix a getChar(pos) bug properly
9086
9087 2003-03-13  Angus Leeming  <leeming@lyx.org>
9088
9089         * commandtags.h:
9090         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9091         Probably only temporary. Let's see how things pan out.
9092
9093         * BufferView.C (unlockInset):
9094         * BufferView_pimpl.C (fitCursor):
9095         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9096
9097         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9098         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9099
9100         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9101         new functions that convert ParagraphParameters to and from a string.
9102
9103         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9104         BufferView::Pimpl's dispatch.
9105         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9106
9107 2003-03-13 André Pönitz <poenitz@gmx.net>
9108
9109         * lyxfunc.C:
9110         * text3.C:
9111         * factory.C: make it aware of InsetEnv
9112
9113 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9114
9115         * text2.C (setCursor): never ask for one past last
9116         (setCursor): add some debugging messages.
9117
9118         * text.C (singleWidth): never ask for one past last
9119         (singleWidth): ditto
9120         (leftMargin): ditto
9121         (rightMargin): ditto
9122         (rowBreakPoint): ditto
9123         (setHeightOfRow): ditto
9124         (prepareToPrint): ditto
9125
9126         * rowpainter.C (paintBackground): never ask for one past last
9127         (paintText): never ask for one past last
9128
9129         * paragraph_pimpl.C (getChar): make the assert stricter, never
9130         allow the one past last pos to be taken
9131
9132         * paragraph.C (getChar): ws changes only
9133
9134         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9135         (numberOfSeparators): ditto
9136         (numberOfHfills): ditto
9137
9138 2003-03-12  John Levon  <levon@movementarian.org>
9139
9140         * author.h:
9141         * author.C:
9142         * bufferparams.h:
9143         * bufferparams.C:
9144         * paragraph_funcs.C: fix per-buffer authorlists
9145
9146 2003-03-12  John Levon  <levon@movementarian.org>
9147
9148         * text.C: fix newline in right address
9149
9150 2003-03-12  Angus Leeming  <leeming@lyx.org>
9151
9152         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9153         duplicate those in LyXFunc::dispatch.
9154
9155         * commandtags.h:
9156         * LyXAction.C:
9157         * ToolbarDefaults.C:
9158         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9159         Add LFUN_FONTFREE_UPDATE.
9160
9161         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9162         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9163
9164         * bufferview_func.[Ch]: several new functions to facilliate
9165         transfer of data to and from the character dialog.
9166
9167 2003-03-12  John Levon  <levon@movementarian.org>
9168
9169         * buffer.C:
9170         * paragraph.h:
9171         * paragraph.C:
9172         * paragraph_funcs.C:
9173         * paragraph_pimpl.C:
9174         * sgml.C:
9175         * tabular.C:
9176         * text.C:
9177         * text3.C: remove META_NEWLINE in favour of an inset
9178
9179         * rowpainter.h:
9180         * rowpainter.C: remove paintNewline (done by inset)
9181
9182 2003-03-12  John Levon  <levon@movementarian.org>
9183
9184         * paragraph_pimpl.C: complain about bad getChar()s
9185         for a while at least
9186
9187 2003-03-12  John Levon  <levon@movementarian.org>
9188
9189         * buffer.h:
9190         * buffer.C: move paragraph read into a separate function,
9191         a little renaming to reflect that.
9192
9193         * bufferparams.h:
9194         * bufferparams.C: remove the author_ids map, not necessary now
9195
9196         * factory.h:
9197         * factory.C: moved Buffer::readInset to here
9198
9199         * paragraph_funcs.h:
9200         * paragraph_funcs.C: readParagraph free function moved from
9201         buffer.C
9202
9203         * tabular.C: name change
9204
9205 2003-03-12  John Levon  <levon@movementarian.org>
9206
9207         * buffer.C:
9208         * ParagraphParameters.C: move par params input to
9209         a read() method
9210
9211         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9212         behave like a normal read from the stream wrt reading
9213         a line vs. a \\token
9214
9215 2003-03-12  John Levon  <levon@movementarian.org>
9216
9217         * paragraph.C:
9218         * ParagraphParameters.h:
9219         * ParagraphParameters.C: move output code to a
9220         ::write() method
9221
9222 2003-03-12  John Levon  <levon@movementarian.org>
9223
9224         * BufferView.C (insertLyXFile):
9225         * buffer.h:
9226         * buffer.C:
9227         * tabular.C: use a parlist iterator for creating the
9228           document.
9229
9230 2003-03-12  John Levon  <levon@movementarian.org>
9231
9232         * buffer.C: make current_change static local not
9233           static file-scope
9234
9235 2003-03-12  John Levon  <levon@movementarian.org>
9236
9237         * buffer.C: fix insertStringAsLines for change tracking
9238
9239 2003-03-12  John Levon  <levon@movementarian.org>
9240
9241         * BufferView.C:
9242         * tabular.C:
9243         * buffer.h:
9244         * buffer.C:
9245         * bufferparams.h:
9246         * bufferparams.C: move author list into params. Rename some
9247           functions. Move the header reading into a separate token
9248           loop. Move the header token reading into BufferParams.
9249
9250 2003-03-12  John Levon  <levon@movementarian.org>
9251
9252         * changes.C: put debug inside lyxerr.debugging() checks
9253
9254 2003-03-11 André Pönitz <poenitz@gmx.net>
9255
9256         * factory.C: make it aware of InsetHFill
9257
9258 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9259
9260         * buffer.C (latexParagraphs): move function from here...
9261         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9262         args.
9263
9264 2003-03-10  Angus Leeming  <leeming@lyx.org>
9265
9266         * LyXAction.C (init): fix bug in poplating array with multiple entries
9267         with the same LFUN (spotted by JMarc).
9268
9269 2003-03-10  John Levon  <levon@movementarian.org>
9270
9271         * text.C:
9272         * text2.C: move getColumnNearX() near its
9273         only call site
9274
9275 2003-03-10  John Levon  <levon@movementarian.org>
9276
9277         * text.C: fix break before a minipage
9278
9279 2003-03-10  John Levon  <levon@movementarian.org>
9280
9281         * text.C: fix the last commit
9282
9283 2003-03-09  John Levon  <levon@movementarian.org>
9284
9285         * lyxtext.h:
9286         * text.C:
9287         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9288         bug 365 (don't break before insets unless needed). Don't
9289         return a value > last under any circumstances.
9290
9291 2003-03-09  Angus Leeming  <leeming@lyx.org>
9292
9293         * BufferView_pimpl.C (trackChanges, dispatch): call
9294         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9295
9296 2003-03-09  Angus Leeming  <leeming@lyx.org>
9297
9298         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9299         than Dialogs::showAboutlyx().
9300
9301 2003-03-09  Angus Leeming  <leeming@lyx.org>
9302
9303         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9304         than Dialogs::showTabularCreate().
9305
9306 2003-03-09  John Levon  <levon@movementarian.org>
9307
9308         * lyxtext.h:
9309         * text.C:
9310         * text2.C: 3rd arg to nextBreakPoint was always the same.
9311           Use references.
9312
9313 2003-03-08  John Levon  <levon@movementarian.org>
9314
9315         * lyxrow.C:
9316         * paragraph.C:
9317         * paragraph.h:
9318         * rowpainter.C:
9319         * text.C:
9320         * text2.C: Remove the "main" bit from the "main body"
9321           notion.
9322
9323 2003-03-08  John Levon  <levon@movementarian.org>
9324
9325         * text.C (leftMargin): The left margin of an empty
9326         manual label paragraph should not include the label width
9327         string length.
9328
9329         * text.C (prepareToPrint): don't attempt to measure hfills
9330         for empty manual label paragraphs - the answer should be 0
9331
9332 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9333
9334         * CutAndPaste.C: remove commented code and reindent.
9335
9336 2003-03-08  John Levon  <levon@movementarian.org>
9337
9338         * lyxfunc.h:
9339         * lyxfunc.C: move reloadBuffer()
9340
9341         * BufferView.h:
9342         * BufferView.C: to here
9343
9344         * lyxvc.C: add comment
9345
9346         * vc-backend.h:
9347         * vc-backend.C: call bv->reload() to avoid
9348           getStatus() check on MENURELOAD
9349
9350 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9351
9352         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9353         to an old format .dep file.
9354
9355 2003-03-07  Angus Leeming  <leeming@lyx.org>
9356
9357         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9358         when the LFUN_MOUSE_RELEASE should have been handled by
9359         inset->localDispatch.
9360
9361 2003-03-07  Angus Leeming  <leeming@lyx.org>
9362
9363         * BufferView_pimpl.C (dispatch):
9364         * LyXAction.C (init):
9365         * ToolbarDefaults.C (init):
9366         * commandtags.h:
9367         * lyxfunc.C (getStatus):
9368         remove LFUN_INSET_GRAPHICS.
9369
9370         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9371
9372 2003-03-07  Angus Leeming  <leeming@lyx.org>
9373
9374         * commandtags.h:
9375         * LyXAction.C (init):
9376         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9377
9378         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9379
9380         * commandtags.h:
9381         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9382
9383         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9384         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9385
9386 2003-03-07  Angus Leeming  <leeming@lyx.org>
9387
9388         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9389         remove "ert".
9390
9391 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9392
9393         * ParagraphList.C (front): new function
9394         (back): implement
9395
9396 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9397
9398         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9399         and top_row_offset_. removed var first_y.
9400         * text.C (top_y):
9401         * text2.C (LyXText, removeRow):
9402         * text3.C:
9403         * BufferView_pimpl.C:
9404         use these methods instead of using first_y
9405
9406 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9407
9408         * text2.C (pasteSelection): adjust for checkPastePossible
9409
9410         * CutAndPaste.C: remove Paragraph * buf and replace with
9411         ParagraphList paragraphs.
9412         (DeleteBuffer): delete
9413         (cutSelection): change the tc type to textclass_type
9414         (copySelection): change the tc type to textclass_type
9415         (copySelection): adjust for ParagraphList
9416         (pasteSelection): change the tc type to textclass_type
9417         (pasteSelection): adjust for Paragraphlist
9418         (nrOfParagraphs): simplify for ParagraphList
9419         (checkPastePossible): simplify for ParagraphList
9420         (checkPastePossible): remove unused arg
9421
9422         * ParagraphList.C (insert): handle the case where there are no
9423         paragraphs yet.
9424
9425         * CutAndPaste.h: make CutAndPaste a namespace.
9426
9427         * text3.C (dispatch): adjust
9428
9429         * text.C (breakParagraph): add a ParagraphList as arg
9430
9431         * paragraph_funcs.C (breakParagraph): change to take a
9432         BufferParams and a ParagraphList as args.
9433         (breakParagraphConservative): ditto
9434         (mergeParagraph): ditto
9435         (TeXDeeper): add a ParagraphList arg
9436         (TeXEnvironment): ditto
9437         (TeXOnePar): ditto
9438
9439         * buffer.C (readLyXformat2): adjust
9440         (insertStringAsLines): adjust
9441         (latexParagraphs): adjust
9442
9443         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9444         (cutSelection): adjust
9445         (pasteSelection): adjust
9446
9447         * BufferView_pimpl.C (insertInset): adjust
9448
9449 2003-03-05  Angus Leeming  <leeming@lyx.org>
9450
9451         * commandtags.h:
9452         * LyXAction.C (init):
9453         * BufferView_pimpl.C (dispatch):
9454         * lyxfunc.C (getStatus):
9455         remove LFUN_CHILD_INSERT.
9456
9457         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9458
9459 2003-03-05  Angus Leeming  <leeming@lyx.org>
9460
9461         * commandtags.h:
9462         * LyXAction.C (init):
9463         * src/factory.C (createInset):
9464         * lyxfunc.C (getStatus):
9465         * text3.C (dispatch):
9466         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9467
9468         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9469
9470 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9471
9472         * ParagraphList.C (insert): handle insert right before end()
9473         (erase): fix cases where it can be first or last paragraph.
9474
9475 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9476
9477         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9478         Paragraph::next and Paragraph::previous
9479         (TeXOnePar): ditto
9480
9481         * text.C (breakParagraph): adjust
9482
9483         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9484         BufferParams& as arg.
9485         (breakParagraph): use ParagraphList::insert
9486         (breakParagraphConservative): take a Buffer* instead of a
9487         BufferParams& as arg.
9488         (breakParagraphConservative): use ParagraphList::insert.
9489
9490         * buffer.C (insertStringAsLines): un-const it
9491         (insertStringAsLines): adjust
9492
9493         * ParagraphList.C (insert): new function
9494
9495         * CutAndPaste.C (pasteSelection): adjust
9496
9497         * text.C (backspace): adjust
9498
9499         * tabular.C (SetMultiColumn): adjust
9500
9501         * CutAndPaste.C (cutSelection): adjust
9502         (pasteSelection): adjust
9503
9504         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9505         Buffer const * as arg
9506
9507         * ParagraphList.C (erase): new function
9508         * paragraph_funcs.C (mergeParagraph): use it
9509         (mergeParagraph): make it take a Buffer* instead of a
9510         BufferParams* as arg
9511
9512         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9513         as arg
9514         (breakParagraphConservative): ditto
9515
9516         * paragraph.h: remove the breakParagraph friend
9517
9518         * paragraph.C (eraseIntern): new function
9519         (setChange): new function
9520
9521         * paragraph_funcs.C (mergeParagraph): make it take a
9522         ParagraphList::iterator instead of a Paragraph *, adjust
9523         accordingly.
9524
9525         * paragraph.h: move an #endif so that the change tracking stuff
9526         also works in the NO_NEXT case.
9527
9528 2003-03-04  Angus Leeming  <leeming@lyx.org>
9529
9530         * commandtags.h:
9531         * LyXAction.C: new LFUN_INSET_MODIFY.
9532
9533         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9534         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9535
9536 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9537
9538         * several files: ws changes only
9539
9540         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9541         (TeXEnvironment): ditto
9542         (TeXDeeper): ditto
9543
9544         * buffer.C (makeLaTeXFile): adjust
9545         (latexParagraphs): make it take ParagraphList::iterator as args
9546
9547 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9548
9549         * buffer.C (latexParagraphs): adjust
9550
9551         * paragraph.C (TeXOnePar): move function...
9552         (optArgInset): move function...
9553         (TeXEnvironment): move function...
9554         * paragraph_pimpl.C (TeXDeeper): move function...
9555         * paragraph_funcs.C: ...here
9556
9557         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9558
9559 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9560
9561         * buffer.C (readInset): remove compability code for old Figure and
9562         InsetInfo insets
9563
9564 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9565
9566         * buffer.C: ws changes
9567         (readInset):
9568
9569         * BufferView_pimpl.C: ditto
9570         * author.C: ditto
9571         * buffer.h: ditto
9572         * bufferlist.h: ditto
9573         * changes.h: ditto
9574         * lyxfunc.C: ditto
9575
9576 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9577
9578         * converter.[Ch]: split into itself +
9579         * graph.[Ch]
9580         * format.[Ch]
9581         * Makefile.am: += graph.[Ch] + format.[Ch]
9582         * MenuBackend.C
9583         * buffer.C
9584         * exporter.C
9585         * importer.C
9586         * lyx_main.C
9587         * lyxfunc.C
9588         * lyxrc.C: added #include "format.h"
9589
9590 2003-02-27  Angus Leeming  <leeming@lyx.org>
9591
9592         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9593           a label.
9594
9595         * factory.C (createInset): add "label" to the factory.
9596
9597         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9598           string and do no more.
9599
9600 2003-02-27  Angus Leeming  <leeming@lyx.org>
9601
9602         * commandtags.h:
9603         * LyXAction.C (init):
9604         * factory.C (createInset):
9605         * BufferView_pimpl.C (dispatch):
9606           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9607
9608         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9609
9610         * lyxfunc.C (dispatch):
9611         * text3.C (dispatch): pass name to params2string.
9612
9613 2003-02-26  Angus Leeming  <leeming@lyx.org>
9614
9615         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9616           blocks together.
9617           Rearrange the ~includes. Strip out the unnecessary ones.
9618
9619         * factory.C (createInset): reformat.
9620           create new insets for the various LFUN_XYZ_APPLY lfuns.
9621
9622 2003-02-26  John Levon  <levon@movementarian.org>
9623
9624         * lyxrow.h:
9625         * lyxrow.C: add isParStart,isParEnd helpers
9626
9627         * paragraph.h: make isInserted/DeletedText take refs
9628
9629         * paragraph_funcs.h:
9630         * paragraph_funcs.C: remove #if 0'd code
9631
9632         * lyxtext.h:
9633         * text3.C:
9634         * text2.C:
9635         * text.C: use lyxrow helpers above.
9636           Move draw and paint routines to RowPainter.
9637           Make several methods use refs not pointers.
9638           Make backgroundColor() const.
9639           Add markChangeInDraw(), isInInset().
9640           Merge changeRegionCase into changeCase.
9641           Make workWidth() shouldn't-happen code into an Assert.
9642
9643         * rowpainter.h:
9644         * rowpainter.C: new class for painting a row.
9645
9646         * vspace.h:
9647         * vspace.C: make inPixels take a ref
9648
9649 2003-02-26  Angus Leeming  <leeming@lyx.org>
9650
9651         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9652         LFUN_REF_APPLY.
9653
9654 2003-02-25  John Levon  <levon@movementarian.org>
9655
9656         * ispell.C: give the forked command a more accurate name
9657
9658 2003-02-22  John Levon  <levon@movementarian.org>
9659
9660         * toc.h:
9661         * toc.C: make TocItem store an id not a Paragraph *
9662           (bug #913)
9663
9664 2003-02-21  Angus Leeming  <leeming@lyx.org>
9665
9666         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9667           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9668           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9669           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9670           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9671           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9672
9673         * BufferView_pimpl.C (dispatch):
9674         * LyXAction.C (init):
9675         * factory.C (createInset):
9676         * lyxfunc.C (getStatus, dispatch):
9677         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9678
9679 2003-02-21  Angus Leeming  <leeming@lyx.org>
9680
9681         * BufferView_pimpl.C (MenuInsertLyXFile):
9682         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9683         * lyxfunc.C (menuNew, open, doImport):
9684           no longer pass a LyXView & to fileDlg.
9685
9686 2003-02-21  Angus Leeming  <leeming@lyx.org>
9687
9688         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9689         * LyXAction.C: change, BIBKEY to BIBITEM.
9690         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9691         Change InsetBibKey to InsetBibitem.
9692         Change BIBKEY_CODE to BIBITEM_CODE.
9693         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9694         * factory.C: replace insetbib.h with insetbibitem.h.
9695         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9696         * paragraph.C: replace insetbib.h with insetbibitem.h.
9697         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9698         Change bibkey() to bibitem().
9699         * text.C: remove insetbib.h.
9700         * text2.C: replace insetbib.h with insetbibitem.h.
9701         change bibkey() to bibitem().
9702         * text3.C: remove insetbib.h.
9703         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9704
9705 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9706
9707         * lyxrc.C (output): enclose user email in quotes (in case there are
9708         several words)
9709
9710 2003-02-18  John Levon  <levon@movementarian.org>
9711
9712         * buffer.h: add std::
9713
9714 2003-02-17  John Levon  <levon@movementarian.org>
9715
9716         * SpellBase.h:
9717         * ispell.h:
9718         * ispell.C:
9719         * pspell.h:
9720         * pspell.C: reworking. Especially in ispell, a large
9721           number of clean ups and bug fixes.
9722
9723         * lyxfunc.C: fix revert to behave sensibly
9724
9725 2003-02-17 André Pönitz <poenitz@gmx.net>
9726
9727         * LyXAction.C:
9728         * commandtags.h: new LFUN_INSERT_BIBKEY
9729
9730         * layout.h:
9731         * lyxlayout.C:
9732         * buffer.C:
9733         * factory.C:
9734         * text.C:
9735         * text2.C:
9736         * text3.C:
9737         * paragraph.[Ch]:
9738         * paragraph_func.C: remove special bibkey handling
9739
9740 2003-02-17  John Levon  <levon@movementarian.org>
9741
9742         * text.C (Delete): fix case where delete at the end of
9743           the very first paragraph would not merge the pars
9744
9745 2003-02-17  John Levon  <levon@movementarian.org>
9746
9747         * lyxrow.C: fix lastPrintablePos()
9748
9749 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9750
9751         * bufferparams.C (writeLaTeX): add a std:here
9752
9753         * buffer.C: and remove a using directive there
9754
9755 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9756
9757         * buffer.C (makeLaTeXFile): move the code that generates the
9758           preamble...
9759
9760         * bufferparams.C (writeLaTeX): ... in this new method
9761
9762         * LaTeXFeatures.C (getEncodingSet): make const
9763           (getLanguages): make const
9764
9765         * MenuBackend.C (binding): returns the binding associated to this
9766           action
9767           (add): sets the status of each item by calling getStatus. Adds
9768           some intelligence.
9769           (read): add support for OptSubMenu
9770           (expand): remove extra separator at the end of expanded menu
9771
9772 2003-02-15  John Levon  <levon@movementarian.org>
9773
9774         * BufferView.C:
9775         * BufferView_pimpl.C:
9776         * bufferlist.h:
9777         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9778           inset code that had no actual effect. Remove unneeded status
9779           code.
9780
9781 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9784           in preamble
9785
9786 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9787
9788         * text.C (drawLengthMarker): also draw an arrow marker for
9789           symbolic lengths (medskip...)
9790
9791 2003-02-14  John Levon  <levon@movementarian.org>
9792
9793         * tabular.h:
9794         * tabular.C: better method names
9795
9796 2003-02-14  John Levon  <levon@movementarian.org>
9797
9798         * BufferView_pimpl.C:
9799         * bufferlist.C:
9800         * buffer.C:
9801         * converter.C:
9802         * lyx_cb.C:
9803         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9804           it's a more accurate name. Remove some pointless uses.
9805
9806 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9807
9808         * text2.C (LyXText): change order of initilizers to shut off
9809           warnings
9810
9811 2003-02-14  John Levon  <levon@movementarian.org>
9812
9813         * buffer.C: use ParIterator for getParFromID()
9814
9815         * paragraph.h:
9816         * paragraph.C:
9817         * paragraph_pimpl.h:
9818         * paragraph_pimpl.C: remove unused getParFromID()
9819
9820 2003-02-14  John Levon  <levon@movementarian.org>
9821
9822         * buffer.C: remove some very old #if 0'd parse code
9823
9824 2003-02-13  John Levon  <levon@movementarian.org>
9825
9826         * text.h:
9827         * text.C:
9828         * text2.C: move hfillExpansion(), numberOfSeparators(),
9829           rowLast(), rowLastPrintable(), numberofHfills(),
9830           numberOfLabelHfills() ...
9831
9832         * lyxrow.h:
9833         * lyxrow.C: ... to member functions here.
9834
9835         * paragraph.h:
9836         * paragraph.C:
9837         * lyxtext.h:
9838         * text.C: remove LyXText::beginningOfMainBody(), and call
9839           p->beginningOfMainBody() directly. Move the check for
9840           LABEL_MANUAL into the latter.
9841
9842         * text.h:
9843         * text.C:
9844         * text2.C:
9845         * vspace.C:
9846         * BufferView.h:
9847         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9848
9849         * text.h:
9850         * text.C:
9851         * text2.C:
9852         * text3.C:
9853         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9854           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9855
9856 2003-02-13  John Levon  <levon@movementarian.org>
9857
9858         * CutAndPaste.C: remove debug
9859
9860 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9861
9862         * paragraph.C (asString): remove two unused variables
9863
9864         * lyxtextclass.C (readTitleType):
9865           (Read):
9866           (LyXTextClass): handle new members titletype_ and titlename_
9867
9868         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9869
9870 2003-02-09  John Levon  <levon@movementarian.org>
9871
9872         * buffer.h:
9873         * buffer.C: replace hand-coded list with a map for the dep clean
9874
9875 2003-02-08  John Levon  <levon@movementarian.org>
9876
9877         * LaTeX.C: consolidate code into showRunMessage() helper
9878
9879 2003-02-08  John Levon  <levon@movementarian.org>
9880
9881         * lyxfind.C:
9882         * lyxtext.h:
9883         * text2.C:
9884         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9885           and pass the size in explicitly
9886
9887         * BufferView_pimpl.h:
9888         * BufferView_pimpl.C:
9889         * BufferView.h:
9890         * BufferView.C: add getCurrentChange()
9891
9892         * BufferView_pimpl.h:
9893         * BufferView_pimpl.C: handle change lfuns
9894
9895         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9896           for changes. Mark pasted paragraphs as new.
9897
9898         * support/lyxtime.h:
9899         * support/lyxtime.C:
9900         * DepTable.C: abstract time_t as lyx::time_type
9901
9902         * LColor.h:
9903         * LColor.C: add colours for new text, deleted text, changebars
9904
9905         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9906           package use "usenames" option.
9907
9908         * commandtags.h:
9909         * lyxfunc.C:
9910         * LyXAction.C: add change lfuns
9911
9912         * Makefile.am:
9913         * author.h:
9914         * author.C: author handling
9915
9916         * buffer.h:
9917         * buffer.C: add a per-buffer author list, with first entry as
9918           current author. Handle new .lyx tokens for change tracking. Output
9919           author list to .lyx file. Output dvipost stuff to .tex preamble.
9920           Bump lyx format to 222.
9921
9922         * bufferlist.h:
9923         * bufferlist.C: add setCurrentAuthor() to reset current author details
9924           in all buffers.
9925
9926         * bufferparams.h:
9927         * bufferparams.C: add param for tracking
9928
9929         * bufferview_funcs.C: output change info in minibuffer
9930
9931         * Makefile.am:
9932         * changes.h:
9933         * changes.C: add change-tracking structure
9934
9935         * debug.h:
9936         * debug.C: add CHANGES debug flag
9937
9938         * lyxfind.h:
9939         * lyxfind.C: add code for finding the next change piece
9940
9941         * lyxrc.h:
9942         * lyxrc.C: add user_name and user_email
9943
9944         * lyxrow.h:
9945         * lyxrow.C: add a metric for the top of the text line
9946
9947         * lyxtext.h:
9948         * text.C: implement accept/rejectChange()
9949
9950         * lyxtext.h:
9951         * text.C: paint changebars. Paint new/deleted text in the chosen
9952         colours. Strike through deleted text.
9953
9954         * paragraph.h:
9955         * paragraph.C:
9956         * paragraph_pimpl.h:
9957         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9958           in the current change to the insert functions. Rework erase to
9959           mark text as deleted, adding an eraseIntern() and a range-based
9960           erase(). Implement per-paragraph change lookup and
9961           accept/reject.
9962
9963         * paragraph_funcs.C: Fixup paste for change tracking.
9964
9965         * tabular.C: mark added row/columns as new.
9966
9967         * text.C: fix rowLast() to never return -1. Don't allow
9968           spellchecking of deleted text. Track transpose changes. Don't
9969           allow paragraph break or merge where appropriate.
9970
9971         * text2.C: leave cursor at end of selection after a cut.
9972
9973 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9974
9975         * text.C (getLengthMarkerHeight):
9976         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9977         visible on screen too.
9978
9979 2003-02-07  John Levon  <levon@movementarian.org>
9980
9981         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9982
9983 2003-02-05  Angus Leeming  <leeming@lyx.org>
9984
9985         * lyxserver.C (read_ready): revert my patch of 11 September last year
9986         as it sends PC cpu through the roof. Presumably this means that
9987         the lyxserver will no longer run on an Alpha...
9988
9989 2003-01-30  Angus Leeming  <leeming@lyx.org>
9990
9991         * factory.C (createInset): create an InsetCommandParam of type "index"
9992         and use it to 'do the right thing'.
9993
9994         * text2.C (getStringToIndex): ensure that cursor position is always
9995         reset to the reset_cursor position.
9996
9997 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9998
9999         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10000         disabled.
10001
10002 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10003
10004         * bufferview.C:
10005         * lyxcb.C:
10006         * lyxfunc.C: Output messages with identical spelling, punctuation,
10007         and spaces
10008
10009 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10010
10011         * MenuBackend.C (expandFormats): List only viewable export formats
10012         in "View" menu
10013
10014         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10015         message
10016
10017         * lyxfunc.C (getStatus): Make sure that formats other than
10018         "fax" can also be disabled
10019
10020 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10021
10022         * text3.C (dispatch): put the lfuns that insert insets in 3
10023         groups, and call doInsertInset with appropriate arguments.
10024         (doInsertInset): new function, that creates an inset and inserts
10025         it according to some boolean parameters.
10026
10027 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10028
10029         * buffer.C (readFile): remember to pass on 'par' when calling
10030         readFile recursively.
10031
10032 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10033
10034         * MenuBackend.C (expandFormats): add "..." to import formats.
10035
10036 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10037
10038         * paragraph.C (asString): Remove XForms RTL hacks.
10039
10040 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10041         * buffer.C: fix typo
10042
10043 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10044
10045         * Makefile.am (LIBS): delete var
10046         (lyx_LDADD): add @LIBS@ here instead.
10047
10048 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10049
10050         * Clarify the meaning of "wheel mouse jump"
10051
10052 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10053
10054         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10055         tabular in a float
10056
10057 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10058
10059         * importer.C (Loaders): do not preallocate 3 elements in the
10060         vector, since one ends up with 6 elements otherwise
10061
10062 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10063
10064         * DepTable.C (write): write the file name as last element of the
10065         .dep file (because it may contain spaces)
10066         (read): read info in the right order
10067
10068 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10069
10070         * paragraph_pimpl.C (simpleTeXBlanks):
10071         (simpleTeXSpecialChars):
10072         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10073
10074         * tabular.C (latex): add some missing case statements. Reindent.
10075
10076         * MenuBackend.C (expandToc): remove unused variable.
10077
10078 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10079
10080         * LColor.C:
10081         * LaTeX.C:
10082         * LyXAction.C:
10083         * MenuBackend.C:
10084         * buffer.C:
10085         * exporter.C:
10086         * lyxfunc.C:
10087         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10088         and the like.
10089
10090 2003-01-05  John Levon  <levon@movementarian.org>
10091
10092         * BufferView.h:
10093         * BufferView.C: add getEncoding()
10094
10095         * kbsequence.h:
10096         * kbsequence.C: do not store last keypress
10097
10098         * lyxfunc.h:
10099         * lyxfunc.C: store last keypress here instead. Pass encoding
10100           to getISOEncoded()
10101
10102 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10103
10104         * lyx_main.C (init): remove annoying error message when following
10105         symbolic links (bug #780)
10106
10107 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10108
10109         * text.C (insertChar):
10110         * lyxrc.C (getDescription): remove extra spaces
10111
10112 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10113
10114         * lyxrc.C (getDescription): remove extra spaces
10115
10116 2002-12-20  John Levon  <levon@movementarian.org>
10117
10118         * text3.C: hack fix for page up/down across tall rows
10119
10120 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10121
10122         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10123         not been invoked
10124
10125 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10126
10127         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10128         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10129         thesaurus is not compiled in
10130
10131 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10132
10133         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10134
10135 2002-12-16  Angus Leeming  <leeming@lyx.org>
10136
10137         * lyxrc.[Ch]:
10138         * lyx_main.C (init): remove override_x_deadkeys stuff.
10139
10140 2002-12-12  John Levon  <levon@movementarian.org>
10141
10142         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10143           insert. Only remove shift modifier under strict
10144           circumstances.
10145
10146 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10147
10148         * MenuBackend.C (expandToc): fix crash.
10149
10150 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10151
10152         * MenuBackend.C (expandToc): gettext on float names.
10153
10154 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10155
10156         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10157         implement bool empty() [bug 490]
10158
10159 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10160
10161         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10162
10163 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10164
10165         * several files: ws changes
10166
10167 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10168
10169         * text2.C (setCounter): clean up a bit, use boost.format.
10170         (updateCounters): initialize par upon declaration.
10171
10172         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10173         if the layout exists. We do not just store the layout any more.
10174         (SwitchLayoutsBetweenClasses): use boost.format
10175
10176 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10177
10178         * converter.C (convert): if from and to files are the same, use a
10179         temporary files as intermediary
10180
10181 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10182
10183         * commandtags.h:
10184         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10185
10186 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10187
10188         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10189
10190 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10191
10192         * tabular.C (asciiPrintCell): use string(size, char) instead of
10193         explicit loop.
10194
10195         * sgml.C (openTag): fix order of arguments to string constructor
10196         (closeTag): ditto
10197
10198         * lyxfunc.C (dispatch): use boost.format
10199
10200         * lots of files: change "c" -> 'c'
10201
10202 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10203
10204         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10205
10206 2002-11-25  Angus Leeming  <leeming@lyx.org>
10207
10208         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10209
10210         * lyx_main.C (init): compile fix.
10211
10212 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10213
10214         * lyx_cb.C (start): boost.formatify
10215         do not include <iostream>
10216
10217         * lengthcommon.C: ws only
10218
10219         * boost-inst.C,BoostFormat.h: add more explict instantations
10220
10221 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10222
10223         * lots of files: handle USE_BOOST_FORMAT
10224
10225 2002-11-21  John Levon  <levon@movementarian.org>
10226
10227         * pspell.C: fix compile
10228
10229 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10230
10231         * lyxfunc.C (dispatch): use boost::format
10232         (open): ditto
10233         (doImport): ditto
10234
10235         * lyxfont.C (stateText): use boost::format
10236
10237         * lyx_main.C (LyX): use boost::format
10238         (init): ditto
10239         (queryUserLyXDir): ditto
10240         (readRcFile): ditto
10241         (parse_dbg): ditto
10242         (typedef boost::function): use the recommened syntax.
10243
10244         * importer.C (Import): use boost::format
10245
10246         * debug.C (showLevel): use boost::format
10247
10248         * converter.C (view): use boost::format
10249         (convert): ditto
10250         (move): ditto
10251         (scanLog): ditto
10252
10253         * bufferview_funcs.C (currentState): use boost::format
10254
10255         * bufferlist.C (emergencyWrite): use boost::format
10256
10257         * buffer.C (readLyXformat2): use boost::format
10258         (parseSingleLyXformat2Token): ditto
10259
10260         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10261
10262         * LaTeX.C (run): use boost::format
10263
10264         * Chktex.C (scanLogFile): use boost::format
10265
10266         * BufferView_pimpl.C (savePosition): use boost::format
10267         (restorePosition): ditto
10268         (MenuInsertLyXFile): ditto
10269
10270         * BoostFormat.h: help file for explicit instation.
10271
10272 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10273
10274         * tabular.C (latex): Support for block alignment in fixed width
10275         columns.
10276
10277 2002-11-17  John Levon  <levon@movementarian.org>
10278
10279         * BufferView_pimpl.C:
10280         * lyx_cb.C:
10281         * lyxfunc.C: split filedialog into open/save
10282
10283 2002-11-08  Juergen Vigna  <jug@sad.it>
10284
10285         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10286         by my last patch (hopefully).
10287
10288 2002-11-08  John Levon  <levon@movementarian.org>
10289
10290         * iterators.h:
10291         * iterators.C:
10292         * buffer.h:
10293         * buffer.C:
10294         * paragraph.h:
10295         * paragraph.C:
10296         * toc.h:
10297         * toc.C: ParConstIterator, and use it (from Lars)
10298
10299 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10300
10301         * lyxtextclass.[Ch]: revise and add doxygen comments
10302
10303 2002-11-07  John Levon  <levon@movementarian.org>
10304
10305         * text.C: fix progress value for spellchecker
10306
10307         * toc.C: fix navigate menu for insetwrap inside minipage
10308
10309         * paragraph_funcs.C: added FIXME for suspect code
10310
10311 2002-11-07  John Levon  <levon@movementarian.org>
10312
10313         * BufferView_pimpl.C: fix redrawing of insets
10314           on buffer switch
10315
10316 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10317
10318         * text2.C (updateCounters): fix bug 668
10319
10320 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10321
10322         * text3.C (dispatch): Do not make the buffer dirty when moving the
10323         cursor.
10324
10325 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10326
10327         * vc-backend.C: STRCONV
10328         (scanMaster): ditto
10329
10330         * text2.C (setCounter): STRCONV
10331
10332         * paragraph.C (asString): STRCONV
10333
10334         * lyxlength.C (asString): STRCONV
10335         (asLatexString): ditto
10336
10337         * lyxgluelength.C (asString): STRCONV
10338         (asLatexString): ditto
10339
10340         * lyxfunc.C (dispatch): STRCONV
10341         (open): ditto
10342
10343         * lyxfont.C (stateText): STRCONV
10344
10345         * importer.C (Import): STRCONV
10346
10347         * counters.C (labelItem): STRCONV
10348         (numberLabel): ditto
10349         (numberLabel): remove unused ostringstream o
10350
10351         * chset.C: STRCONV
10352         (loadFile): ditto
10353
10354         * bufferview_funcs.C (currentState): STRCONV
10355
10356         * buffer.C (readFile): STRCONV
10357         (asciiParagraph): ditto
10358         (makeLaTeXFile): ditto
10359
10360         * Spacing.C (writeEnvirBegin): STRCONV
10361
10362         * LaTeXFeatures.C (getLanguages): STRCONV
10363         (getPackages): ditto
10364         (getMacros): ditto
10365         (getBabelOptions): ditto
10366         (getTClassPreamble): ditto
10367         (getLyXSGMLEntities): ditto
10368         (getIncludedFiles): ditto
10369
10370         * LaTeX.C: STRCONV
10371         (run): ditto
10372         (scanAuxFile): ditto
10373         (deplog): ditto
10374
10375         * LString.h: add the STRCONV macros
10376
10377         * BufferView_pimpl.C (savePosition): STRCONV
10378         (restorePosition): ditto
10379         (MenuInsertLyXFile): ditto
10380
10381         * vc-backend.C (scanMaster): change from submatch[...] to
10382         submatch.str(...)
10383
10384         * funcrequest.C: include config.h
10385
10386         * factory.C: include config.h
10387
10388         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10389
10390         * box.C: include config.h
10391
10392         * LaTeX.C (scanAuxFile): change from submatch[...] to
10393         submatch.str(...)
10394         (deplog): ditto
10395
10396 2002-10-25  Angus Leeming  <leeming@lyx.org>
10397
10398         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10399
10400         * ispell.[Ch] (setError): new method.
10401         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10402         Use setError() insetead of goto END.
10403
10404         * lyx_cb.C (AutoSave): move out child process into new class
10405         AutoSaveBuffer.
10406
10407 2002-10-30  John Levon  <levon@movementarian.org>
10408
10409         * text3.C: make start appendix undoable
10410
10411 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10412
10413         * lyxlength.C (inPixels): Fix returned value.
10414
10415         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10416         environment.
10417
10418 2002-10-24  Angus Leeming  <leeming@lyx.org>
10419
10420         * lyxgluelength.h: no need to forward declare BufferParams
10421         or BufferView, so don't.
10422
10423 2002-10-21  John Levon  <levon@movementarian.org>
10424
10425         * BufferView.C: menuUndo ->undo, redo
10426
10427         * BufferView.h: document, remove dead, make some methods private
10428
10429         * paragraph_funcs.h:
10430         * paragraph_funcs.C:
10431         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10432
10433         * buffer.h:
10434         * buffer.C:
10435         * sgml.h:
10436         * sgml.C: move sgml open/close tag into sgml.C
10437
10438         * bufferview_funcs.h: unused prototype
10439
10440         * lyxfunc.h:
10441         * lyxfunc.C: remove unused
10442
10443         * lyxtext.h:
10444         * text.C: remove unused
10445
10446 2002-10-21  John Levon  <levon@movementarian.org>
10447
10448         * BufferView.h:
10449         * BufferView.C:
10450         * BufferView_pimpl.h:
10451         * BufferView_pimpl.C: fix mouse wheel handling based on
10452           patch from Darren Freeman
10453
10454 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10455
10456         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10457
10458 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10459
10460         * lyxlength.C (inPixels): Fix hanfling of negative length.
10461         Fix LyXLength::MU case.
10462
10463 2002-10-16  John Levon  <levon@movementarian.org>
10464
10465         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10466
10467 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10468
10469         * converter.C (view): add support for $$i (file name) and $$p
10470         (file path) for the viewer command. If $$i is not specified, then
10471         it is appended to the command (for compatibility with old syntax)
10472
10473 2002-10-14  Juergen Vigna  <jug@sad.it>
10474
10475         * undo_funcs.C (textHandleUndo): alter the order in which the
10476         new undopar is added to the LyXText, as we have to set first
10477         the right prev/next and then add it as otherwise the rebuild of
10478         LyXText is not correct. Also reset the cursor to the right paragraph,
10479         with this IMO we could remove the hack in "redoParagraphs()".
10480
10481 2002-10-09  Angus Leeming  <leeming@lyx.org>
10482
10483         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10484         to turn off an optimisation if a new inset is to be inserted.
10485
10486 2002-10-11 André Pönitz <poenitz@gmx.net>
10487
10488         * lyxtext.h: make some functions public to allow access
10489         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10490
10491 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10492
10493         * text3.C (dispatch): when changing layout, avoid an infinite loop
10494         [bug #652]
10495
10496 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10497
10498         * lyxrc.C (read): treat a viewer or converter command of "none" as
10499         if it were empty.
10500
10501         * MenuBackend.C (expandFormats): for an update, also allow the
10502         formats that are not viewable
10503
10504         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10505         script if it is newer than the lyxrc.defaults in user directory
10506
10507 2002-10-07 André Pönitz <poenitz@gmx.net>
10508
10509         * text.C: Vitaly Lipatov's small i18n fix
10510
10511 2002-09-25  Angus Leeming  <leeming@lyx.org>
10512
10513         * ispell.h: doxygen fix.
10514
10515 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10516
10517         * buffer.h (readFile): Add a new argument to the method, to allow
10518         reading of old-format templates.
10519
10520 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10521
10522         * toc.C (getTocList): Get TOC from InsetWrap.
10523
10524 2002-09-16  John Levon  <levon@movementarian.org>
10525
10526         * lyxfunc.C: check tabular for cut/copy too
10527
10528 2002-09-12  John Levon  <levon@movementarian.org>
10529
10530         * LyXAction.C: tidy
10531
10532         * factory.h:
10533         * factory.C: add header
10534
10535         * paragraph_funcs.h:
10536         * paragraph_funcs.C: cleanup
10537
10538 2002-09-11  John Levon  <levon@movementarian.org>
10539
10540         * PrinterParams.h: odd/even default to true
10541
10542 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10543
10544         * PrinterParams.h: update printer parameters for new xforms dialog
10545
10546 2002-09-11  Angus Leeming  <leeming@lyx.org>
10547
10548         * lyxserver.C (read_ready): re-write to make it more transparent
10549         and to make it work in coherent fashion under Tru64 Unix.
10550
10551 2002-09-11  André Pönitz <poenitz@gmx.net>
10552
10553         * commandtags.h:
10554         * LyXAction.C:
10555         * text3.C: implement LFUN_WORDSEL
10556
10557 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10558
10559         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10560         make floatlist_ a boost::shared_ptr<FloatList>
10561
10562         * lyxtextclass.C: include FloatList.h
10563         (LyXTextClass): initialize floatlist_
10564         (TextClassTags): add TC_NOFLOAT
10565         (Read): match "nofloat" to TC_NOFLOAT and use it.
10566         (readFloat): modify call to floatlist_
10567         (floats): ditto
10568         (floats): ditto
10569
10570         * FloatList.[Ch] (FloatList): remove commented out float
10571         initialization.
10572         (erase): new function
10573
10574 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10575
10576         * MenuBackend.C (expandToc): fix crash when there is no document
10577         open
10578
10579 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10580
10581         * many files: Add insetwrap.
10582
10583 2002-09-09  John Levon  <levon@movementarian.org>
10584
10585         * text2.C: remove confusing and awkward depth wraparound
10586
10587 2002-09-09  John Levon  <levon@movementarian.org>
10588
10589         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10590
10591         * buffer.h:
10592         * buffer.C: remove getIncludeonlyList()
10593
10594         * paragraph.C:
10595         * lyxfunc.C: remove headers
10596
10597 2002-09-09  Juergen Vigna  <jug@sad.it>
10598
10599         * text.C (getColumnNearX): fix form Michael this is most
10600         probably a cut&paste bug.
10601
10602 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10603
10604         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10605
10606         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10607         references, ws changes.
10608
10609         * text2.C (init): update counters after init
10610         (insertParagraph): no need to set counter on idividual paragraphs.
10611         (setCounter): access the counters object in the textclass object
10612         on in the buffer object.
10613         (updateCounters): ditto
10614
10615         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10616         shared_ptr<Counters> to avoid loading counters.h in all
10617         compilation units.
10618         (LyXTextClass): initialize ctrs_
10619         (TextClassTags): add TC_COUNTER, and ...
10620         (Read): use it here.
10621         (CounterTags): new tags
10622         (readCounter): new function
10623         (counters): new funtion
10624         (defaultLayoutName): return a const reference
10625
10626         * counters.C (Counters): remove contructor
10627         (newCounter): remove a couple of unneeded statements.
10628         (newCounter): simplify a bit.
10629         (numberLabel): some small formatting changes.
10630
10631         * buffer.[Ch]: remove all traces of counters, move the Counters
10632         object to the LyXTextClass.
10633
10634 2002-09-06  Alain Castera  <castera@in2p3.fr>
10635
10636         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10637         package to set the horizontal alignment on fixed width columns.
10638
10639         * lyx_sty.C:
10640         * lyx_sty.h: added tabularnewline macro def.
10641
10642         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10643
10644 2002-09-06  John Levon  <levon@movementarian.org>
10645
10646         * LyXAction.C: tooltips for sub/superscript
10647
10648         * MenuBackend.C: a bit more verbose
10649
10650         * lyxfunc.C: tiny clean
10651
10652         * undo_funcs.C: document undo_frozen
10653
10654 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10655
10656         * counters.C (Counters): add missing algorithm counter.
10657
10658         * text2.C (setCounter): lookup the counter with layouts latexname
10659         instead of by section number.
10660         (setCounter): use a hackish way to lookup the correct enum
10661         counter.
10662         a float name->type change
10663         reset enum couners with counter name directly instead of depth value.
10664
10665         * counters.C (Counters): remove the push_backs, change to use the
10666         float type not the float name.
10667         (labelItem): remove unused string, float name->type change
10668
10669         * counters.h: don't include vector, loose the enums and sects vectors
10670
10671 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10672
10673         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10674         (Read): add float->TC_FLOAT to textclassTags
10675         (Read): and handle it in the switch
10676         (readFloat): new function
10677
10678         * FloatList.C (FloatList): comment out the hardcoded float
10679         definitions.
10680
10681         * lyxlayout.h: ws change.
10682
10683 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10684
10685         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10686
10687 2002-09-03  Angus Leeming  <leeming@lyx.org>
10688
10689         * BufferView_pimpl.h: qualified name is not allowed in member
10690         declaration: WorkArea & Pimpl::workarea() const;
10691
10692         * factory.C: added using std::endl directive.
10693
10694         * text3.C: added using std::find and std::vector directives.
10695
10696 2002-08-29  André Pönitz <poenitz@gmx.net>
10697
10698         * lyxtext.h:
10699         * text2.C: remove unused member number_of_rows
10700
10701         * Makefile.am:
10702         * BufferView2.C: remove file, move contents to...
10703         * BufferView.C: ... here
10704
10705         * BufferView_pimpl.C:
10706         * factory.C: move more inset creation to factory
10707
10708         * vspace.C: avoid direct usage of LyXText, ws changes
10709
10710         * BufferView.[Ch]:
10711                 don't provide direct access to WorkArea, use two simple
10712                 acessors haveSelction() and workHeight() instead
10713
10714
10715 2002-08-29  John Levon  <levon@movementarian.org>
10716
10717         * BufferView_pimpl.C (dispatch): do not continue when
10718           no buffer
10719
10720 2002-08-28  André Pönitz <poenitz@gmx.net>
10721
10722         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10723
10724         * BufferView.h:
10725         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10726
10727 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10728
10729         * buffer.C: increment LYX_FORMAT to 221
10730
10731         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10732         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10733
10734         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10735
10736         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10737
10738 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10739
10740         * factory.C (createInset): use LyXTextClass::floats
10741
10742         * MenuBackend.C (expandFloatListInsert):
10743         (expandFloatInsert):
10744         (expandToc):
10745
10746         * text2.C (setCounter):
10747
10748         * LaTeXFeatures.C (useFloat):
10749         (getFloatDefinitions):
10750
10751         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10752
10753         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10754         floatlist_, with accessor floats().
10755
10756         * FloatList.h: remove global FloatList
10757
10758 2002-08-26  André Pönitz <poenitz@gmx.net>
10759
10760         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10761
10762         * BufferView.h:
10763         * BufferView2.C:
10764         * BufferView_pimpl.C:
10765         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10766
10767 2002-08-25  John Levon  <levon@movementarian.org>
10768
10769         * LyXAction.C: fix margin note description
10770
10771 2002-08-24  John Levon  <levon@movementarian.org>
10772
10773         * buffer.C:
10774         * bufferlist.C:
10775         * bufferview_funcs.C:
10776         * lyxfont.C:
10777         * undo_funcs.C: cleanups
10778
10779         * lyxfunc.C: disable CUT/COPY when no selection
10780
10781 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10782
10783         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10784         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10785
10786         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10787         Add backward compatibility to "mono", "gray" and "no".
10788
10789 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10790
10791         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10792         (and file_format >= 200).
10793
10794 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10795
10796         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10797
10798 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10801
10802 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10803
10804         * BufferView_pimpl.C:
10805         * LyXAction.C:
10806         * buffer.C:
10807         * commandtags.h:
10808         * lyxfunc.C:
10809         * paragraph.[Ch]:
10810         * text2.C:
10811         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10812         inset and code to make it  work with the paragraph code. The inset
10813         can be anywhere in the paragraph, but will only do the expected
10814         thing in LaTeX if the layout file contains the parameter line
10815                         OptionalArgs    1
10816         (or more generally, a nonzero value) for that layout.
10817
10818 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10819
10820         * paragraph.h: remove the declaration of undefined counters class
10821         function.
10822
10823 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10824
10825         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10826         Dr. Richard Hawkins.
10827
10828 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10829
10830         * paragraph_funcs.h: remove some unneeded includes
10831
10832         * text.C (backspace): pasteParagraph now in global scipe
10833
10834         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10835         (pasteSelection): ditto
10836
10837         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10838         * paragraph_funcs.C (pasteParagraph): ... here
10839
10840 2002-08-20  André Pönitz <poenitz@gmx.net>
10841
10842         * commandtags.h: new LFUNs for swapping/copying table row/colums
10843
10844         * LyXAction.C:
10845         * lyxfunc.C: support for new lfuns
10846
10847 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10848
10849         * tabular.C:
10850         * buffer.[Ch]: remove NO_COMPABILITY stuff
10851
10852 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10853
10854         * boost.C (throw_exception): new file, with helper function for
10855         boost compiled without exceptions.
10856
10857         * paragraph.h:
10858         * lyxlength.C:
10859         * buffer.C:
10860         * ParameterStruct.h:
10861         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10862
10863         * bufferlist.C (emergencyWriteAll): use boost bind
10864
10865         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10866
10867         * text.C: include paragraph_funcs.h
10868         (breakParagraph): breakParagraph is now in global scope
10869
10870         * paragraph_funcs.[Ch]: new files
10871
10872         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10873         global scope
10874
10875         * buffer.C: include paragraph_funcs.h
10876         (insertStringAsLines): breakParagraph is now in global scope
10877
10878         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10879         paragraph_funcs.C
10880
10881         * CutAndPaste.C: include paragraph_funcs.h
10882         (cutSelection): breakParagraphConservative is now in global scope
10883         (pasteSelection): ditto
10884
10885         * buffer.h: declare oprator== and operator!= for
10886         Buffer::inset_iterator
10887
10888         * bufferlist.C (emergencyWrite): don't use fmt(...)
10889
10890         * text3.C: add using std::endl
10891
10892         * BufferView.C (moveCursorUpdate): remove default arg
10893
10894 2002-08-20  André Pönitz <poenitz@gmx.net>
10895
10896         * buffer.[Ch]: move inline functions to .C
10897
10898         * BufferView2.C:
10899         * BufferView_pimpl.C:
10900         * text.C:
10901         * buffer.[Ch]: use improved inset_iterator
10902
10903         * buffer.C:
10904         * paragraph.[Ch]: write one paragraph at a time
10905
10906 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10907
10908         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10909         style if style is not specified.
10910
10911 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10912
10913         * text2.C (setCounter): when searching for right label for a
10914         caption, make sure to recurse to parent insets (so that a caption
10915         in a minipage in a figure float works) (bug #568)
10916
10917 2002-08-20  André Pönitz <poenitz@gmx.net>
10918
10919         * text3.C: new file for LyXText::dispatch() and helpers
10920
10921         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10922
10923         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10924
10925 2002-08-19  André Pönitz <poenitz@gmx.net>
10926
10927         * lyxtext.h:
10928         * text.C: new LyXText::dispatch()
10929
10930         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10931
10932 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10933
10934         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10935
10936         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10937         Hebrew text.
10938
10939 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10940
10941         * Makefile.am: use $(variables) instead of @substitutions@
10942
10943 2002-08-15  André Pönitz <poenitz@gmx.net>
10944
10945         * lyxfunc.C:
10946         * BufferView_pimpl.C: streamlining mathed <-> outer world
10947         interaction
10948
10949         * commandtags.h:
10950         * LyXAction.C: remove unused LFUN_MATH
10951
10952 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10953
10954         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10955
10956 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10957
10958         * paragraph.C (Paragraph): reformat a bit
10959         (cutIntoMinibuffer): use builtin InsetList function instad of
10960         doing it manually.
10961         (getInset): ditto
10962
10963         * buffer.C: include boost/bind.hpp, add using std::for_each
10964         (writeFileAscii): use ParagraphList iterators
10965         (validate): use for_each for validate traversal of paragraphs
10966         (getBibkeyList): use ParagraphList iterators
10967         (resizeInsets): use for_each to resizeInsetsLyXText for all
10968         paragraphs.
10969         (getParFromID): use ParagraphList iterators
10970
10971         * BufferView2.C (lockInset): use paragraph list and iterators
10972
10973 2002-08-14  John Levon  <levon@movementarian.org>
10974
10975         * lyxserver.C: remove spurious xforms include
10976
10977 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10978
10979         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10980
10981 2002-08-13  André Pönitz <poenitz@gmx.net>
10982
10983         * LyXAction.[Ch]:
10984         * lyxfunc.C: further cleaning
10985
10986 2002-08-13  André Pönitz <poenitz@gmx.net>
10987
10988         * funcrequest.h: new constructor
10989
10990         * funcrequest.C: move stuff here from .h
10991
10992         * Makefile.am:
10993         * BufferView_pimpl.C:
10994         * LyXAction.C:
10995         * toc.C:
10996         * lyxfunc.C: subsequent changes
10997
10998         * lyxfunc.h: new view() member function
10999
11000         * lyxfunc.C: subsequent changes
11001
11002 2002-08-13  Angus Leeming  <leeming@lyx.org>
11003
11004         * BufferView2.C:
11005         * BufferView_pimpl.C:
11006         * buffer.C:
11007         * converter.C:
11008         * importer.C:
11009         * lyxfunc.C:
11010         * lyxvc.C:
11011         * toc.C:
11012         * vc-backend.C:
11013         changes due to the changed LyXView interface that now returns references
11014         to member variables not pointers.
11015
11016 2002-08-13  Angus Leeming  <leeming@lyx.org>
11017
11018         * WordLangTuple (word, lang_code): return references to strings,
11019         not strings.
11020
11021         * BufferView.h:
11022         * SpellBase.h:
11023         * lyxtext.h: forward-declare WordLangTuple.
11024
11025         * BufferView2.C:
11026         * ispell.C:
11027         * pspell.C:
11028         * text.C: #include "WordLangTuple.h".
11029
11030         * lyxtext.h:
11031         * text.C: (selectNextWordToSpellcheck): constify return type.
11032
11033 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11034
11035         * buffer.C:
11036         * buffer.h:
11037         * lyxtext.h:
11038         * paragraph.C:
11039         * paragraph_pimpl.h:
11040         * text.C:
11041         * text2.C:
11042         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11043         suggested by Angus.
11044         Made updateCounter always count from start of buffer, and removed
11045         second argument (par).
11046         Reverted floats number display to '#'. Perhaps I'll try again when the
11047         code base is sanitized a bit.
11048
11049 2002-08-12  Angus Leeming  <leeming@lyx.org>
11050
11051         * buffer.[Ch] (getLabelList): constify.
11052
11053 2002-08-07  André Pönitz <poenitz@gmx.net>
11054
11055         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11056
11057         * funcrequest.h: extension to keep mouse (x,y) position
11058
11059 2002-08-12  Juergen Vigna  <jug@sad.it>
11060
11061         * BufferView2.C (insertErrors): forbid undo when inserting error
11062         insets.
11063
11064         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11065
11066 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11067
11068         * ParagraphList.[Ch]: new files
11069
11070         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11071
11072         * BufferView2.C (lockInset): ParagraphList changes
11073         * toc.C: ditto
11074         * text2.C: ditto
11075         * bufferlist.C: ditto
11076         * buffer.h: ditto
11077         * buffer.C: ditto
11078
11079 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11080
11081         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11082         unused class variable counter_,
11083
11084         * paragraph.[Ch] (getFirstCounter): delete unused function
11085
11086         * counters.C: include LAssert.h
11087         (reset): add a new function with no arg, change other version to
11088         not have def. arg and to not allow empty arg.
11089
11090         * text2.C (setCounter): remove empty arg from call to Counters::reset
11091
11092 2002-08-11  John Levon  <levon@movementarian.org>
11093
11094         * Makefile.am: add WordLangTuple.h
11095
11096 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11097
11098         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11099         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11100
11101         * insets/insettext.C: InsetList changes
11102
11103         * graphics/GraphicsSupport.C (operator()): InsetList changes
11104
11105         * toc.C (getTocList): InsetList changes
11106
11107         * paragraph_pimpl.[Ch]: InsetList changes
11108
11109         * paragraph.[Ch]: InsetList changes
11110
11111         * buffer.C (inset_iterator): InsetList changes
11112         (setParagraph): ditto
11113         * buffer.h (inset_iterator): ditto
11114         * iterators.C (operator++): ditto
11115         * iterators.h: ditto
11116
11117         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11118
11119         * InsetList.[Ch]: new files, most InsetList handling moved out of
11120         paragraph.C.
11121
11122         * BufferView2.C (removeAutoInsets): InsetList changes
11123         (lockInset): ditto
11124         (ChangeInsets): ditto
11125
11126 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11127
11128         * paragraph_pimpl.h (empty): new function
11129
11130         * paragraph.[Ch] (empty): new function
11131
11132         * other files: use the new Paragraph::empty function
11133
11134 2002-08-09  John Levon  <levon@movementarian.org>
11135
11136         * lyxtext.h: remove unused refresh_height
11137
11138 2002-08-09  John Levon  <levon@movementarian.org>
11139
11140         * Makefile.am:
11141         * sgml.h:
11142         * sgml.C:
11143         * buffer.C:
11144         * paragraph.h:
11145         * paragraph.C: move sgml char escaping out of paragraph
11146
11147         * paragraph.h:
11148         * paragraph.C: remove id setter
11149
11150         * buffer.C:
11151         * paragraph.C:
11152         * paragraph_pimpl.C: remove dead tex_code_break_column
11153
11154         * bufferview_funcs.C: small cleanup
11155
11156         * lyxfunc.C: remove dead proto
11157
11158         * lyxtext.h: make some stuff private. Remove some dead stuff.
11159
11160         * lyxgluelength.C: make as[LyX]String() readable
11161
11162 2002-08-08  John Levon  <levon@movementarian.org>
11163
11164         * LyXAction.h:
11165         * LyXAction.C:
11166         * MenuBackend.C:
11167         * ToolbarDefaults.C:
11168         * lyxfunc.C:
11169         * lyxrc.C:
11170         * toc.C: lyxaction cleanup
11171
11172 2002-08-08  John Levon  <levon@movementarian.org>
11173
11174         * BufferView2.C: small cleanup
11175
11176         * lyxfind.h:
11177         * lyxfind.C: move unnecessary header into the .C
11178
11179 2002-08-08  John Levon  <levon@movementarian.org>
11180
11181         * funcrequest.h: just tedious nonsense
11182
11183         * lyx_main.h:
11184         * lyx_main.C: cleanups
11185
11186         * buffer.C:
11187         * vspace.C: remove dead header lyx_main.h
11188
11189 2002-08-07  Angus Leeming  <leeming@lyx.org>
11190
11191         * Paragraph.[Ch]:
11192         * paragraph_pimpl.h:
11193         Forward declare class Counters in paragraph.h by moving the ctrs member
11194         variable into Paragraph::Pimpl.
11195         (counters): new method, returning a reference to pimpl_->ctrs.
11196
11197         * text2.C: ensuing changes.
11198
11199 2002-08-07  John Levon  <levon@movementarian.org>
11200
11201         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11202
11203         * BufferView_pimpl.C: announce X selection on double/triple
11204           click
11205
11206         * lyx_main.C: use correct bool in batch dispatch
11207
11208         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11209
11210 2002-08-07  André Pönitz <poenitz@gmx.net>
11211
11212         * funcrequest.h: new class to wrap a kb_action and its argument
11213
11214         * BufferView.[Ch]:
11215         * BufferView_pimpl[Ch]:
11216         * LaTeX.C:
11217         * LyXAction.[Ch]:
11218         * lyxfunc.[Ch]:
11219         * lyxrc.C: subsequent changes
11220
11221
11222 2002-08-07  John Levon  <levon@movementarian.org>
11223
11224         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11225           document options change.
11226
11227 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11228
11229         * counters.[Ch]
11230         * text2.C
11231         * paragraph.[Ch]
11232         * makefile.am: move counters functionality over from
11233         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11234
11235 2002-08-06  John Levon  <levon@movementarian.org>
11236
11237         * WordLangTuple.h: new file for word + language code tuple
11238
11239         * SpellBase.h:
11240         * pspell.h:
11241         * pspell.C:
11242         * ispell.h:
11243         * ispell.C:
11244         * lyxtext.h:
11245         * text.C:
11246         * text2.C:
11247         * BufferView.h:
11248         * BufferView2.C: use WordLangTuple
11249
11250         * layout.h:
11251         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11252
11253 2002-08-06  John Levon  <levon@movementarian.org>
11254
11255         * lyx_main.C: fix cmdline batch handling
11256
11257 2002-08-06  André Pönitz <poenitz@gmx.net>
11258
11259         * lyxrc.C: set default for show_banner to true
11260
11261 2002-08-06  John Levon  <levon@movementarian.org>
11262
11263         * pspell.C: fix a crash, and allow new aspell to work
11264
11265 2002-08-06  John Levon  <levon@movementarian.org>
11266
11267         * lyxfunc.C:
11268         * kbmap.C: small cleanup
11269
11270         * vspace.h:
11271         * vspace.C: add const
11272
11273 2002-08-05  John Levon  <levon@movementarian.org>
11274
11275         * LyXAction.C: back to tabular-insert
11276
11277 2002-08-04  John Levon  <levon@movementarian.org>
11278
11279         * BufferView.h:
11280         * BufferView.C: cosmetic change
11281
11282         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11283
11284         * bufferlist.C:
11285         * buffer.h:
11286         * buffer.C:
11287         * lyxcb.h:
11288         * lyxcb.C:
11289         * lyxserver.C:
11290         * lyxvc.C:
11291         * vc-backend.C:
11292         * BufferView2.C: purge all "Lyx" not "LyX" strings
11293
11294         * lyxcursor.h:
11295         * lyxcursor.C: attempt to add some documentation
11296
11297         * lyxfunc.C:
11298         * commandtags.h:
11299         * LyXAction.C:
11300         * ToolbarDefaults.C:
11301         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11302           merge with LFUN_TABULAR_INSERT
11303
11304         * Makefile.am:
11305         * SpellBase.h:
11306         * ispell.h:
11307         * ispell.C:
11308         * pspell.h:
11309         * pspell.C: split up i/pspell implementations into separate
11310           files, many cleanups
11311
11312         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11313
11314         * text2.C: some cleanup
11315
11316         * lyxfunc.C: don't check for isp_command == "none" any more, it
11317           didn't make any sense
11318
11319 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11320
11321         * counters.[Ch]
11322         * text2.C
11323         * paragraph.[Ch]
11324         * makefile.am: move counters functionality over
11325         from text2.C/paragraph.[Ch] to counters.[Ch], and
11326         make proper C++.
11327 2002-08-02  John Levon  <levon@movementarian.org>
11328
11329         * buffer.C: s/lyxconvert/lyx2lyx/
11330
11331 2002-08-02  Angus Leeming  <leeming@lyx.org>
11332
11333         * lyxlex.C: revert John's change as it breaks reading of the user
11334         preamble.
11335
11336 2002-08-02  Angus Leeming  <leeming@lyx.org>
11337
11338         * importer.C (Import):
11339         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11340         changes due to LyXView::view() now returning a boost::shared_ptr.
11341
11342 2002-08-02  John Levon  <levon@movementarian.org>
11343
11344         * lyxlex.C: small cleanup
11345
11346 2002-08-02  John Levon  <levon@movementarian.org>
11347
11348         * text2.C (status): small cleanup, no logic change
11349
11350 2002-08-01  John Levon  <levon@movementarian.org>
11351
11352         * buffer.h:
11353         * buffer.C (writeFile): don't output alerts, caller
11354           handles this
11355
11356         * bufferlist.C:
11357         * lyx_cb.C: from above
11358
11359         * lyxfunc.C: allow to open non-existent files
11360
11361 2002-07-31  John Levon  <levon@movementarian.org>
11362
11363         * lyxserver.C: don't let incidental errors get
11364           in the way (errno)
11365
11366 2002-07-30  John Levon  <levon@movementarian.org>
11367
11368         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11369
11370 2002-07-30  John Levon  <levon@movementarian.org>
11371
11372         * lyxserver.h:
11373         * lyxserver.C: remove I/O callback too
11374
11375 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11376
11377         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11378         log.
11379
11380 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11381
11382         * many files: strip,frontStrip -> trim,ltrim,rtrim
11383
11384 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11385
11386         * PrinterParams.h: remove extern containsOnly, and include
11387         support/lstrings.h instead.
11388
11389         * LaTeX.C (scanAuxFile): modify because of strip changes
11390         (deplog): ditto
11391         * buffer.C (makeLaTeXFile): ditto
11392         * bufferparams.C (writeFile): ditt
11393         * lyxfont.C (stateText): ditto
11394         * lyxserver.C (read_ready): ditto
11395         * vc-backend.C (scanMaster): ditto
11396
11397         * BufferView_pimpl.h: ws changes
11398
11399         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11400
11401 2002-07-26  André Pönitz <poenitz@gmx.net>
11402
11403         * kb_sequence.C: remove unnedred usings
11404
11405 2002-07-26  Juergen Vigna  <jug@sad.it>
11406
11407         * lyxfind.C (LyXReplace): we have to check better if the returned
11408         text is not of theLockingInset()->getLockingInset().
11409
11410 2002-07-25  Juergen Vigna  <jug@sad.it>
11411
11412         * lyxfind.C (LyXReplace): don't replace if we don't get the
11413         right LyXText.
11414
11415         * undo_funcs.C (createUndo): remove debugging code.
11416
11417 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11418
11419         * buffer.C (parseSingleLyXformat2Token): Use default placement
11420         when reading old floats.
11421
11422         * FloatList.C (FloatList): Change the default placement of figure
11423         and tables to "tbp".
11424
11425 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * MenuBackend.C: using std::max
11428
11429 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * MenuBackend.C (expandToc):
11432         (expandToc2): code moved from xforms menu frontend. It is now
11433         generic and TOCs are transparent to menu frontends.
11434
11435 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11436
11437         * toc.C (getTocList): protect against buf=0
11438
11439         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11440         Menu as first parameter. Now, this calls itself recursively to
11441         expand a whole tree (this will be useful for TOC handling)
11442         (expandFloatInsert): remove 'wide' version of floats
11443
11444         * MenuBackend.h (submenuname): returns the name of the submenu.
11445         (submenu): returns the submenu itself, provided it has been
11446         created by MenuBackend::expand
11447
11448 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11449
11450         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11451         insets which have noFontChange == true. (bug #172)
11452
11453 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * BufferView_pimpl.C: add connection objects and use them...
11456         (Pimpl): here.
11457
11458 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11459
11460         * MenuBackend.C (expandLastfiles):
11461         (expandDocuments):
11462         (expandFormats):
11463         (expandFloatListInsert):
11464         (expandFloatInsert):
11465         (expand): split expand in parts
11466
11467 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11468
11469         * lyx_gui.C: use lyx_gui::exit()
11470
11471 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11472
11473         * LyXAction.C: show the failing pseudo action
11474
11475 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11476
11477         * buffer.C (readFile): Run the lyxconvert script in order to read
11478         old files.
11479
11480 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11481
11482         * LyXAction.C:
11483         * commandtags.h:
11484         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11485
11486 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * LyXAction.C:
11489         * commandtags.h:
11490         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11491
11492 2002-07-22  Herbert Voss  <voss@lyx.org>
11493
11494         * lengthcommon.C:
11495         * lyxlength.[Ch]: add support for the vertical lengths
11496
11497 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * toc.[Ch]: std:: fixes
11500
11501 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11502
11503         * lyxrc.C: do not include lyx_main.h
11504
11505         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11506         for layouts
11507
11508         * lyxrc.C:
11509         * encoding.C:
11510         * bufferlist.C:
11511         * BufferView2.C: include "lyxlex.h"
11512
11513         * tabular.h:
11514         * bufferparams.h: do not #include "lyxlex.h"
11515
11516         * lyxtextclasslist.C (Add): remove method
11517         (classlist): renamed to classlist_
11518
11519         * paragraph_pimpl.C:
11520         * paragraph.C:
11521         * text2.C:
11522         * CutAndPaste.C:
11523         * bufferview_funcs.C:
11524         * bufferlist.C:
11525         * text.C:
11526         * LaTeXFeatures.C:
11527         * buffer.C:
11528         * toc.C (getTocList): use BufferParams::getLyXTextClass
11529
11530         * toc.C (getTocList): use InsetFloat::addToToc
11531
11532         * toc.[Ch]: new files, containing helper functions to handle table
11533         of contents
11534
11535         * lyxfunc.C (dispatch): no need to remove spaces around command
11536         given as a string
11537         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11538         first command of the sequence; it is not very clever, but I do not
11539         have a better idea, actually
11540
11541         * LyXAction.C (LookupFunc): make sure to remove space at the
11542         beginning and end of the command
11543
11544 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11545
11546         * MenuBackend.C (getMenubar): new method: return the menubar of
11547         this menu set
11548         (read): treat differently reading of menu and menubar (in
11549         particular, the menubar has no name now)
11550         (Menu::menubar): remove
11551
11552         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11553         saving is finished
11554
11555 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11556
11557         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11558         a bibitem inset in a RTL paragraph.
11559
11560 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11561
11562         * paragraph_pimpl.C: constify
11563
11564         * BufferView_pimpl.C:
11565         * LaTeX.C:
11566         * lyxfunc.C: fix dispatch in a nicer way
11567
11568 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11569
11570         * lyxfunc.C (dispatch):
11571         * BufferView_pimpl.C:
11572         * BufferView_pimpl.h:
11573         * BufferView.C:
11574         * BufferView.h: rename Dispatch() to dispatch()
11575
11576         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11577
11578         * lyxlayout.C (Read): honor DependsOn tag
11579
11580         * lyxlayout.[Ch] (depends_on): new method
11581
11582         * version.C.in: update lyx_docversion
11583
11584         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11585
11586         * paragraph.C (validate): remove from here...
11587         * paragraph_pimpl.C (validate): ... and move here
11588         (isTextAt): make it const
11589
11590         * buffer.C (getLists): ws cleanup
11591
11592 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11593
11594         * language.C (read): Use iso8859-1 encoding in latex_lang
11595         (this prevents LyX from crashing when using iso10646-1 encoding).
11596
11597 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * text2.C (toggleInset): if cursor is inside an inset, close the
11600         inset and leave cursor _after_ it
11601
11602 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * lyxfunc.C: move minibuffer completion handling out of here
11605
11606 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * BufferView_pimpl.C:
11609         * LaTeX.C: fix dispatch calls
11610
11611 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11612
11613         * text.C (drawChars): Fix Arabic text rendering.
11614
11615 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * LyXAction.C:
11618         * commandtags.h:
11619         * lyxfunc.C: remove message-push/pop
11620
11621         * lyxserver.C:
11622         * lyxfunc.h:
11623         * lyxfunc.C: rationalise some code by removing verboseDispatch
11624           in favour of a bool argument to dispatch()
11625
11626 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11627
11628         * lyx_main.C (init): make sure to read symlinks as absolute paths
11629
11630 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11631
11632         * lyxfunc.h:
11633         * lyxfunc.C: no need for commandshortcut to be a member
11634
11635 2002-07-15  André Pönitz <poenitz@gmx.net>
11636
11637         * converter.C: add support for $$s (scripts from lib/scripts dir)
11638         * lyx_main.C: white space
11639
11640 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * bufferlist.C:
11643         * lyxrc.h:
11644         * lyxrc.C: remove second exit confirmation
11645
11646 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * BufferView.h:
11649         * BufferView.C:
11650         * BufferView2.C:
11651         * BufferView_pimpl.h:
11652         * BufferView_pimpl.C:
11653         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11654
11655 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * MenuBackend.C (expand): add numeric shortcuts to document menu
11658
11659         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11660
11661 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11662
11663         * lyxfont.C (setLyXFamily):
11664         (setLyXSeries):
11665         (setLyXShape):
11666         (setLyXSize):
11667         (setLyXMisc):
11668         (lyxRead):
11669         * debug.C (value):
11670         * buffer.C (asciiParagraph): use ascii_lowercase
11671
11672 2002-07-15  Mike Fabian  <mfabian@suse.de>
11673
11674         * lyxlex_pimpl.C (search_kw):
11675         * lyxlex.C (getLongString):
11676         * converter.h (operator<):
11677         * converter.C (operator<):
11678         * buffer.C (parseSingleLyXformat2Token):
11679         (asciiParagraph):
11680         * ToolbarDefaults.C (read):
11681         * MenuBackend.C (checkShortcuts):
11682         (read):
11683         * LColor.C (getFromGUIName):
11684         (getFromLyXName): use the compare_ascii_no_case instead of
11685         compare_no_case, because in turkish, 'i' is not the lowercase
11686         version of 'I', and thus turkish locale breaks parsing of tags.
11687
11688 2002-07-16  Angus Leeming  <leeming@lyx.org>
11689
11690         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11691         now takes a Buffer const & argument.
11692
11693 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11694
11695         * BufferView.C (resize): check there's a buffer to resize
11696
11697 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * lyxfunc.C: remove dead code
11700
11701         * lyxserver.h:
11702         * lyxserver.C: use lyx_guii::set_read_callback
11703
11704 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11705
11706         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11707         an inset in a RTL paragraph.
11708
11709 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11710
11711         * lyxfunc.C: repaint after a font size update
11712
11713 2002-07-15  André Pönitz <poenitz@gmx.net>
11714
11715         * lyxlength.C: inBP should be able to return negative values
11716
11717 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * lyxfunc.C: use lyx_gui::update_fonts()
11720
11721 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * lyxfunc.C: use lyx_gui::update_color()
11724
11725 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11726
11727         * bufferlist.C:
11728         * lyxfunc.h:
11729         * lyxfunc.C:
11730         * lyxrc.h:
11731         * lyxrc.C: remove file->new asks for name option, and let
11732           buffer-new take an argument
11733
11734 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11735
11736         * BufferView_pimpl.C: remove unneeded extra repaint()
11737
11738 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11739
11740         * LyXAction.C: allow command-sequence with NoBuffer
11741
11742         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11743
11744 2002-07-10  Angus Leeming  <leeming@lyx.org>
11745
11746         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11747
11748 2002-07-09  Angus Leeming  <leeming@lyx.org>
11749
11750         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11751
11752 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11753
11754         * lengthcommon.h: whitespace
11755
11756         * lyxfunc.C: update scrollbar after goto paragraph
11757
11758         * lyxtext.h: factor out page break drawing, and fix it so
11759           page break/added space paints as selected nicely
11760
11761 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11762
11763         * BufferView_pimpl.C: add FIXMEs, clean up a little
11764
11765 2002-07-09  André Pönitz <poenitz@gmx.net>
11766
11767         * lyxfont.[Ch]: support for wasy symbols
11768
11769 2002-07-08  André Pönitz <poenitz@gmx.net>
11770
11771         * BufferView_pimpl.C: apply John's patch for #93.
11772
11773 2002-07-05  Angus Leeming  <leeming@lyx.org>
11774
11775         * BufferView_pimpl.C (buffer): generate previews if desired.
11776
11777         * LColor.h: add "preview" to the color enum.
11778
11779         * LColor.C (LColor): add a corresponding entry to the items array.
11780
11781         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11782         with this buffer.
11783
11784 2002-07-05  Angus Leeming  <leeming@lyx.org>
11785
11786         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11787         The body of the code is now in the method that is passed an ostream &
11788         rather than a file name.
11789         Pass an additional only_preamble parameter, useful for the forthcoming
11790         preview stuff.
11791
11792 2002-07-03  André Pönitz <poenitz@gmx.net>
11793
11794         * lyxfunc.C: simplify getStatus() a bit for math stuff
11795
11796 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11797
11798         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11799
11800 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11801
11802         * text.C (changeRegionCase): do not change case of all the
11803         document when region ends at paragraph end (bug #461)
11804
11805 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11806
11807         * paragraph.C (startTeXParParams):
11808         (endTeXParParams): add \protect when necessary
11809
11810 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11811
11812         * BufferView_pimpl.C (workAreaExpose): remove warning
11813
11814 2002-06-27  Angus Leeming  <leeming@lyx.org>
11815
11816         * Makefile.am: add lyxlayout_ptr_fwd.h.
11817
11818 2002-06-26  André Pönitz <poenitz@gmx.net>
11819
11820         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11821
11822 2002-06-25  Angus Leeming  <leeming@lyx.org>
11823
11824         * lyxfunc.C (dispatch): Comment out the call to
11825         grfx::GCache::changeDisplay. The method no longer exists now that the
11826         pixmap generation part of the graphics loader has been moved into
11827         InsetGraphics.
11828
11829 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11830
11831         * text2.C: layout as layout
11832
11833         * text.C: layout as layout
11834
11835         * tabular.C (OldFormatRead): layout as layout
11836
11837         * paragraph_pimpl.C (TeXDeeper): layout as layout
11838         (realizeFont): layout as layout
11839
11840         * paragraph.C (writeFile): layout as layout
11841         (validate): layout as layout
11842         (getFont): layout as layout
11843         (getLabelFont): layout as layout
11844         (getLayoutFont): layout as layout
11845         (breakParagraph): layout as layout
11846         (stripLeadingSpaces): layout as layout
11847         (getEndLabel): layout as layout
11848         (getMaxDepthAfter): layout as layout
11849         (applyLayout): layout as layout
11850         (TeXOnePar): layout as layout
11851         (simpleTeXOnePar): layout as layout
11852         (TeXEnvironment): layout as layout
11853         (layout): layout as layout
11854         (layout): layout as layout
11855
11856         * lyxtextclass.C (compare_name): new functor to work with
11857         shared_ptr, layout as layout
11858         (Read): layout as layout
11859         (hasLayout): layout as layout
11860         (operator): layout as layout
11861         (delete_layout): layout as layout
11862         (defaultLayout): layout as layout
11863
11864         * lyxlayout_ptr_fwd.h: new file
11865
11866         * lyxlayout.C (Read): layout as layout
11867
11868         * lyx_cb.C (MenuInsertLabel): layout as layout
11869
11870         * bufferlist.C (newFile): layout as layout
11871
11872         * buffer.C (readLyXformat2): layout as layout
11873         (parseSingleLyXformat2Token): layout as layout
11874         (insertStringAsLines): layout as layout
11875         (asciiParagraph): layout as layout
11876         (latexParagraphs): layout as layout
11877         (makeLinuxDocFile): layout as layout
11878         (simpleLinuxDocOnePar): layout as layout
11879         (makeDocBookFile): layout as layout
11880         (simpleDocBookOnePar): layout as layout
11881         (getLists): layout as layout
11882
11883         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11884
11885         * CutAndPaste.C (cutSelection): layout as layout
11886         (pasteSelection): layout as layout
11887         (SwitchLayoutsBetweenClasses): layout as layout
11888
11889         * BufferView_pimpl.C (Dispatch): layout as layout
11890         (smartQuote): layout as layout
11891
11892         * BufferView2.C (unlockInset): layout as layout
11893
11894 2002-06-24  André Pönitz <poenitz@gmx.net>
11895
11896         * lyxfunc.C: fix #487
11897
11898 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * lyxrc.h:
11901         * lyxrc.C:
11902         * lyxfunc.C: remove display_shortcuts, show_banner
11903
11904 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11905
11906         * Buffer_pimpl.C: oops, update on resize
11907
11908 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * buffer.C:
11911         * converter.C:
11912         * exporter.C:
11913         * lyxfunc.C:
11914         * BufferView.h:
11915         * BufferView.C: use repaint()
11916
11917         * BufferView_pimpl.h:
11918         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11919           as it's a clearer description. Remove superfluous
11920           redraws.
11921
11922 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * text.C: fix bug 488. Not ideal, but getting
11925           getWord() to work properly for the insets that
11926           matter is more difficult ...
11927
11928 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11929
11930         * BufferView_pimpl.C:
11931         * LyXAction.C:
11932         * commandtags.h:
11933         * lyxfunc.C: remove the six million index lyxfuncs to just
11934           one, and DTRT (bug 458)
11935
11936 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * BufferView.h:
11939         * BufferView.C:
11940         * BufferView_pimpl.h:
11941         * BufferView_pimpl.C: clean up resize() stuff,
11942           and unnecessary updateScreen()s
11943
11944 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * BufferView.h:
11947         * BufferView.C:
11948         * BufferView_pimpl.h:
11949         * BufferView_pimpl.C:
11950         * lyxfind.h:
11951         * lyxfind.C:
11952         * minibuffer.C: remove focus management of workarea,
11953           not needed. Use screen's greyOut()
11954
11955 2002-06-17  Herbert Voss  <voss@lyx.org>
11956
11957         * converter.C: (convert) do not post a message, when converting
11958         fails, let the calling function decide what to do in this case
11959
11960 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * lyxfunc.C: tidy up a little
11963
11964 2002-06-16    <alstrup@diku.dk>
11965
11966         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11967         Got rid of FORMS_H_LOCATION include. Now we are
11968         GUII.
11969
11970 2002-06-15  LyX Development team  <lyx@rilke>
11971
11972         * buffer.[Ch] (sgmlOpenTag):
11973         (sgmlCloseTag): Added support for avoiding pernicious mixed
11974         content. Return number of lines written.
11975
11976         (makeLinuxDocFile):
11977         (makeDocBookFile): Fixed calls to sgml*Tag.
11978         Simple white space clean.
11979
11980         (simpleDocBookOnePar): Simple white space clean.
11981
11982         * tabular.[Ch] (docBook): Renamed to docbook and got another
11983         argument to related with the pernicious mixed content.
11984
11985         (docbookRow): Fixed calls for docbook inset method.
11986
11987 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11988
11989         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11990         so it's X11 independent.
11991
11992         * kb*.[Ch]: ditto.
11993
11994         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11995
11996 2002-06-15  Lyx Development team  <lyx@electronia>
11997
11998         * intl.h: Renamed getTrans to getTransManager.
11999
12000 2002-06-14  Angus Leeming  <leeming@lyx.org>
12001
12002         * Makefile.am: nuke forgotten stl_string_fwd.h.
12003
12004 2002-06-12  Angus Leeming  <leeming@lyx.org>
12005
12006         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12007
12008 2002-06-13  Angus Leeming  <leeming@lyx.org>
12009
12010         * LaTeX.C:
12011         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12012
12013 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12014
12015         * kbmap.C (getiso): add support for cyrillic and greek
12016
12017 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * BufferView.h:
12020         * BufferView.C:
12021         * BufferView_pimpl.h:
12022         * BufferView_pimpl.C: move bogus scrolling logic
12023           to xforms
12024
12025 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * lyxfunc.C:
12028         * BufferView_pimpl.C: view->resize() change
12029
12030 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * BufferView_pimpl.C: topCursorVisible
12033           prototype change
12034
12035 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * Makefile.am:
12038         * lyx_gui.h:
12039         * lyx_gui.C: move to frontends/
12040
12041         * main.C:
12042         * lyx_main.h:
12043         * lyx_main.C: changes from above
12044
12045 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * intl.C:
12048         * intl.h:
12049         * kbmap.C:
12050         * kbsequence.C:
12051         * lyx_cb.C:
12052         * lyx_main.C: minor tidy
12053
12054 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * BufferView_pimpl.h:
12057         * BufferView_pimpl.C:
12058         * BufferView.h:
12059         * BufferView.C: make painter() const,
12060           remove dead code
12061
12062         * BufferView2.C: use screen() accessor
12063
12064         * lyx_main.h:
12065         * lyx_main.C: some minor cleanup
12066
12067 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * BufferView_pimpl.h:
12070         * BufferView_pimpl.C: remove enter/leaveView,
12071           use workHeight()
12072
12073 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12074
12075         * BufferView.h:
12076         * BufferView.C:
12077         * BufferView2.C:
12078         * BufferView_pimpl.h:
12079         * BufferView_pimpl.C: only construct screen once,
12080           rename
12081
12082         * lyxrc.C: remove pointless comment
12083
12084 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * BufferView.h:
12087         * BufferView.C: remove active() and belowMouse()
12088
12089         * BufferView_pimpl.h:
12090         * BufferView_pimpl.C: use workarea() not workarea_,
12091           and make it use a scoped_ptr instead
12092
12093 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * lyx_gui.C: add debug message on BadWindow
12096
12097 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * sp_spell.C: fdopen is not part of the C++ standard.
12100
12101         * paragraph.C (InsetIterator): use >= instead of ==
12102
12103 2002-06-07  Angus Leeming  <leeming@lyx.org>
12104
12105         Fixes needed to compile with Compaq cxx 6.5.
12106         * BufferView_pimpl.C:
12107         * DepTable.C:
12108         * buffer.C:
12109         * converter.C:
12110         * encoding.C:
12111         * lyx_gui.C:
12112         * lyx_main.C:
12113         * lyxtextclasslist.C:
12114         * minibuffer.C:
12115         * sp_spell.C:
12116         * tabular_funcs.C:
12117         * vc-backend.C:
12118         all c-library variables have been moved into namespace std. Wrap
12119         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12120
12121         * lyxlength.C:
12122         * tabular-old.C:
12123         * tabular.C:
12124         Add a using std::abs declaration.
12125
12126         * kbmap.h (modifier_pair):
12127         * paragraph.h (InsetTable, InsetList):
12128         * lyxfont.h (FontBits):
12129         type definition made public.
12130
12131         * bufferlist.C (emergencyWriteAll): the compiler complains that
12132         there is more than one possible lyx::class_fun template to choose from.
12133         I re-named the void specialisation as lyx::void_class_fun.
12134
12135         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12136
12137         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12138         the compiler is is unable to find tostr in write_attribute.
12139
12140 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12141
12142         * buffer.C (sgmlError): hide #warning
12143
12144 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12145
12146         * xtl/*: get rid of xtl, which is not in use anyway
12147
12148         * LyXAction.C (init):
12149         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12150         were unimplemented xtl experimentation
12151
12152 2002-06-04  André Pönitz <poenitz@gmx.net>
12153
12154         * lyxfunc.C: disable array operation on simple formulae
12155
12156 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * converter.C: constify a bit
12159
12160 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * lyx_gui.C: check xforms version correctly
12163
12164 2002-04-30  Herbert Voss  <voss@lyx.org>
12165
12166         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12167         "keep" option
12168
12169 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12170
12171         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12172           attempt to register it with a VCS)
12173
12174 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12175
12176         * lyx_main.C (init): honor variables LYX_DIR_13x and
12177         LYX_USERDIR_13x
12178
12179 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12180
12181         * buffer.h:
12182         * buffer.C:
12183         * lyx_main.C: fix a crash on bad command line,
12184           and give a useful exit status on error
12185
12186         * lyxfunc.C (doImport): allow -i lyx to work
12187
12188 2002-03-30  André Pönitz <poenitz@gmx.net>
12189
12190         * lyxfunc.C: mathed font changes
12191
12192 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12193
12194         * LaTeX.C:
12195         * importer.h:
12196         * importer.C:
12197         * lyx_sty.h:
12198         * lyx_sty.C:
12199         * lyxlex.C:
12200         * lyxrow.h:
12201         * lyxtext.h:
12202         * paragraph.h:
12203         * paragraph.C:
12204         * texrow.h:
12205         * texrow.C:
12206         * text.C:
12207         * trans_mgr.h: srcdocs, and some minor cleanups
12208
12209 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12210
12211         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12212         call getFont all the time)
12213
12214 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * switch from SigC signals to boost::signals
12217
12218 2002-05-29  André Pönitz <poenitz@gmx.net>
12219
12220         * paragraph_pimpl.C (getChar): don't call size() too often...
12221
12222 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12223
12224         * paragraph_pimpl.C (insertChar): do not try to update tables when
12225         appending (pos == size())
12226
12227         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12228         in order to reduce drastically the number of comparisons needed to
12229         parse a large document
12230
12231 2002-05-29  André Pönitz <poenitz@gmx.net>
12232
12233         * text.C:
12234         * text2.C:
12235         * lyxtextclass.C:
12236         * sp_pspell.h:
12237         * textclasslist.[Ch]:
12238         * sp_ispell.h: whitespace change
12239
12240 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12241
12242         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12243         lyxaction directly now.
12244
12245 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12246
12247         * trans.C:
12248         * lyxfont.C:
12249         * lyxvc.C: remove unused headers
12250
12251 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * Makefile.am:
12254         * buffer.h:
12255         * undostack.h:
12256         * undostack.C:
12257         * undo_funcs.h:
12258         * undo_funcs.C: some cleanups. Use shared_ptr
12259           and a template for the undo stacks.
12260
12261 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * BufferView_pimpl.h:
12264         * BufferView_pimpl.C:
12265         * kbmap.h:
12266         * kbmap.C:
12267         * kbsequence.h:
12268         * kbsequence.C:
12269         * lyxfunc.h:
12270         * lyxfunc.C:
12271         * text2.C: use key_state/mouse_state
12272
12273 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12274
12275         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12276         and LSubstring
12277
12278         * chset.C: change include order
12279         (loadFile): use boost regex and get rid of LRegex and LSubstring
12280
12281         * Makefile.am (BOOST_LIBS): new variable
12282         (lyx_LDADD): use it
12283
12284         * LaTeX.C: change include order.
12285         (scanAuxFile): use boost regex and get rid of LRegex and
12286         LSubstring
12287         (deplog): ditto
12288
12289 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * ColorHandler.h:
12292         * ColorHandler.C:
12293         * FontInfo.h:
12294         * FontInfo.C: moved to frontends/xforms/
12295
12296         * FontLoader.h:
12297         * FontLoader.C: moved into frontends for GUIIzation
12298
12299         * Makefile.am:
12300         * lyx_gui.C:
12301         * lyxfont.C:
12302         * lyxfunc.C: changes from above
12303
12304 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12305
12306         * LColor.C: remove spurious X include
12307
12308         * BufferView_pimpl.C:
12309         * Makefile.am:
12310         * font.h:
12311         * font.C:
12312         * text.C:
12313         * text2.C: move font metrics to frontends/
12314
12315 2002-05-24  Juergen Vigna  <jug@sad.it>
12316
12317         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12318         setting the undo_cursor.
12319
12320         * ParagraphParameters.h: include local includes first.
12321
12322 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * BufferView_pimpl.C:
12325         * BufferView_pimpl.h:
12326         * Makefile.am:
12327         * WorkArea.h:
12328         * WorkArea.C:
12329         * screen.C: move WorkArea into frontends/
12330
12331         * lyxscreen.h:
12332         * screen.C:
12333         * text.C:
12334         * BufferView.C:
12335         * BufferView2.C: move LyXScreen into frontends/
12336
12337         * lyxlookup.h:
12338         * lyxlookup.C:
12339         * lyx_gui.C: move lyxlookup into frontends/xforms/
12340
12341 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * BufferView2.C:
12344         * BufferView_pimpl.C:
12345         * FontLoader.C:
12346         * LyXView.h:
12347         * LyXView.C:
12348         * Makefile.am:
12349         * WorkArea.C:
12350         * XFormsView.h:
12351         * XFormsView.C:
12352         * buffer.C:
12353         * bufferlist.C:
12354         * bufferview_funcs.C:
12355         * converter.C:
12356         * importer.C:
12357         * lyx_cb.C:
12358         * lyx_gui.C:
12359         * lyx_main.C:
12360         * lyx_find.C:
12361         * lyxfunc.C:
12362         * lyxvc.C:
12363         * minibuffer.C:
12364         * text.C:
12365         * text2.C:
12366         * trans.C:
12367         * vc-backend.C: move LyX/XFormsView into frontends/
12368
12369 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * Makefile.am:
12372         * PainterBase.C:
12373         * PainterBase.h:
12374         * Painter.C:
12375         * Painter.h:
12376         * WorkArea.C:
12377         * WorkArea.h:
12378         * screen.C:
12379         * tabular.C:
12380         * text.C:
12381         * text2.C: move Painter to frontends/
12382
12383 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * buffer.C: comment out some some code that depend upon lyx_format
12386         < 220
12387
12388         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12389         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12390
12391         * buffer.h (NO_COMPABILITY): turn off compability
12392
12393         * ColorHandler.C: include scoped_array.hpp
12394
12395         * font.C: Use more specific smart_ptr header.
12396         * Painter.C: ditto
12397         * gettext.C: ditto
12398         * ShareContainer.h: ditto
12399         * lyx_main.h: ditto
12400         * kbmap.h: ditto
12401         * FontInfo.h: ditto
12402         * BufferView_pimpl.h: ditto
12403         * ColorHandler.h: ditto
12404
12405         * kbmap.C (defkey): change call to shared_ptr::reset
12406
12407 2002-05-21  Juergen Vigna  <jug@sad.it>
12408
12409         * buffer.C (insertErtContents): fix to insert ert asis if it is
12410         non empty. Skip it completely if it contains only whitespaces.
12411
12412 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * BufferView_pimpl.C:
12415         * BufferView2.C: clear selection on paste (bug 393)
12416
12417 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12418
12419         * DepTable.C: include ctime
12420
12421 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12422
12423         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12424
12425 2002-05-14  Juergen Vigna  <jug@sad.it>
12426
12427         * text.C (breakParagraph): fixed function to honor the keepempty
12428         layout in the right maner and also to permit the right breaking
12429         algorithm on empty or non empyt keepempty paragraphs.
12430
12431         * paragraph.C (breakParagraph): we have to check also if the par
12432         is really empty (!size()) for isempty otherwise we do the wrong
12433         paragraph break.
12434
12435 2002-05-10  Juergen Vigna  <jug@sad.it>
12436
12437         * buffer.[Ch] : The following are only changes to the ert
12438         compatibility read reading old LaTeX layout and font stuff and
12439         convert it to ERTInsets.
12440
12441         * buffer.h: added isErtInset().
12442
12443         * buffer.C (struct ErtComp): add a fromlayout bool to check
12444         if we're inside a LaTeX layout.
12445         (isErtInset): new helper function.
12446         (insertErtContents): look for other ert insets before this one
12447         and insert the contents there, so that we don't have subsequent
12448         ERT insets with nothing between them. This way we create only one
12449         inset with multiple paragraphs. Also check if we don't insert only
12450         spaces ' ' as they are ignored anyway afterwards in the .tex file
12451         so if we have only spaces we will ignore this latex part in the
12452         new file.
12453         (parseSingleLyXformat2Token \\layout): better compatibility when
12454         reading layout-latex stuff.
12455         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12456         language tag.
12457         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12458         stuff after reading the inset only get the information back from
12459         the stack.
12460
12461 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12462
12463         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12464
12465         * LaTeXFeatures.C (getBabelOptions): New method.
12466
12467 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12468
12469         * BufferView_pimpl.C (Dispatch): work around missing argument for
12470         'layout'
12471
12472 2002-05-08  Juergen Vigna  <jug@sad.it>
12473
12474         * text.C (leftMargin): handle paragraph leftindent.
12475
12476         * paragraph.C (writeFile): write the new \\leftindent tag.
12477         (validate): handle leftindent code.
12478         (TeXEnvironment): handle paragraphleftindent code again.
12479
12480         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12481
12482         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12483         for paragrap_extra indent code and new token \\leftindent.
12484         (latexParagraphs): handle the leftindent as environment.
12485
12486         * ParameterStruct.h: added leftindent support.
12487
12488         * ParagraphParameters.C (leftIndent): added support functions for
12489         the paragraph left indent.
12490
12491         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12492         more appropriate.
12493
12494 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12495
12496         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12497         inside insetERT.
12498
12499         * text.C (computeBidiTables): No bidi in insetERT.
12500
12501         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12502         in RTL documents.
12503
12504 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * version.C.in: pre 5
12507
12508 2002-05-02  José Matos  <jamatos@fep.up.pt>
12509         * buffer.C (makeDocBookFile): white space changes, add newline to
12510         command styles.
12511         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12512
12513         * tabular.C (docBook): fix typo.
12514
12515 2002-05-03  Juergen Vigna  <jug@sad.it>
12516
12517         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12518         change in LyXText as we can not be sure it was not freed.
12519         (drawOneRow): remove unused code.
12520
12521         * text.C (drawInset): redo the calculation of the need_break_row as
12522         it could have a row which was already freed.
12523         (draw): look at the return value of drawInset and return false if
12524         it also returned false.
12525         (paintRowText): look at the return value of draw and return false if
12526         it also returned false.
12527
12528         * lyxtext.h: added bool return type to drawInset() and draw() so that
12529         if we have a change in the row so that the rowbreak has to be redone
12530         we abort drawing as it will be called again.
12531
12532 2002-05-02  Juergen Vigna  <jug@sad.it>
12533
12534         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12535         a change in the maintext also if we're inside an inset.
12536         (Dispatch): set the cursor again after a break line and after the
12537         screen has been updated as it could be we're in a different row.
12538
12539         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12540         to set the cursor behind the pargraph with > size().
12541         (setCursor): check also for the same paragraph when checking where
12542         to put the cursor if we have a NFR inset.
12543
12544         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12545         parts of layout read further up as it still was in the wrong
12546         position.
12547
12548 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12549
12550         * screen.C (drawFromTo): change sine fullRebreak always return
12551         true.
12552
12553         * buffer.C (parseSingleLyXformat2Token): reindent some
12554
12555         * BufferView_pimpl.C (update): change since fullRebreak always
12556         return true.
12557         (Dispatch): git rid of the last hardcoded "Standard"s.
12558
12559 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12560
12561         * text2.[Ch] (fullRebreak): make it return void now that we always
12562         returned true.
12563
12564 2002-04-30  Juergen Vigna  <jug@sad.it>
12565
12566         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12567         ert compatibility check for "latex" layout.
12568
12569 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12570
12571         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12572         minipages: use col% instead of p%, and also use the current font.
12573         (makeLaTeXFile): Fix use babel condition.
12574         (parseSingleLyXformat2Token): Correct font when reading old floats.
12575
12576 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12577
12578         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12579         inserting list of floats.
12580
12581 2002-04-25  Herbert Voss  <voss@lyx.org>
12582
12583         * MenuBackend.C (expand): don't add the graphics extensions to the
12584         export menu
12585
12586 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12587
12588         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12589         non-existing layout, do not complain if it was the default layout
12590         of the original class (bug #342)
12591
12592 2002-04-24  Juergen Vigna  <jug@sad.it>
12593
12594         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12595         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12596
12597 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12598
12599         * buffer.C (getBibkeyList): If using \bibliography, return the
12600         option field with the reference itself. Enables us to provide natbib
12601         support when using \bibliography.
12602
12603 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12604
12605         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12606
12607         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12608         natbib is provided by the LaTeX class.
12609
12610 2002-04-23  Juergen Vigna  <jug@sad.it>
12611
12612         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12613         Wakeup functions.
12614
12615         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12616
12617 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12618
12619         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12620
12621         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12622         ensuremath around textordmasculine, textordfeminine and
12623         textdegree.
12624
12625 2002-04-19  Juergen Vigna  <jug@sad.it>
12626
12627         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12628         reinitializing the buffer otherwise row-dimensions may be wrong.
12629         (update): reset also the selection cursors if they do exits otherwise
12630         their x/y positions may be wrong.
12631
12632         * text2.C (cursorDown): don't enter the inset if we came from a row
12633         above and are one row over the inset.
12634
12635         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12636         really leaving an inset.
12637
12638 2002-04-18  Juergen Vigna  <jug@sad.it>
12639
12640         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12641         of the selected paragraph does not have the selected layout also if
12642         the last one had!
12643
12644         * text2.C (setLayout): fixed bug which did not change last selected
12645         paragraph.
12646
12647         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12648         changed the read and substituted \\end_float with \\end_inset!
12649
12650         * BufferView_pimpl.C (cursorPrevious):
12651         (cursorNext): fixed to make it work with rows heigher than the work
12652         area without moving the cursor only the draw of the row.
12653         (workAreaMotionNotify): fix jumping over high rows.
12654
12655 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12658         Ressler.
12659
12660 2002-04-16  Juergen Vigna  <jug@sad.it>
12661
12662         * text2.C (setCursor): set also the irow().
12663         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12664         (cursorUp):
12665         (cursorDown): support for locking an inset if the x_fix value goes
12666         inside it. That way I can transverse insets too with cursor up/down.
12667
12668         * lyxrow.h: added irow helper function same as other (i) functions.
12669
12670         * BufferView_pimpl.C (cursorPrevious):
12671         (cursorNext): fixed for insets!
12672
12673 2002-04-15  Juergen Vigna  <jug@sad.it>
12674
12675         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12676         position otherwise it is wrong in some cases.
12677
12678         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12679         inside the inset before the call.
12680
12681 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12682
12683         * buffer.[Ch] (getBibkeyList): make it const.
12684
12685 2002-04-12  Juergen Vigna  <jug@sad.it>
12686
12687         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12688
12689         * text2.C (getCursorX): new helper function
12690         (setCursor): compute also ix_
12691         (setCursorFromCoordinates): set also ix.
12692
12693         * lyxcursor.h: added ix_ and helper functions.
12694
12695         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12696
12697         * buffer.C (insertStringAsLines): dont break paragraph if the this
12698         paragraph is inside an inset which does not permit it!
12699
12700         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12701         also with no chars on this paragraph.
12702         (paintRowText): only paint stuff if it's inside the workarea!
12703
12704         * paragraph.C (breakParagraph): honor keepempty flag and break the
12705         paragraph always below not above.
12706
12707         * BufferView2.C (unlockInset): update the paragraph layout on inset
12708         unlock as we changed paragraph in such a case.
12709
12710         * lyxfind.C (LyXFind): clear the former selection if not found!
12711
12712         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12713         again called in insertChar().
12714
12715         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12716         an inset which uses the whole row!
12717         (rightMargin): ditto.
12718         (insertChar): force a rebreak if we inserted an inset!
12719
12720 2002-03-28  Herbert Voss  <voss@lyx.org>
12721
12722         * lyxlength.[Ch]: add inBP() to get the right PS-point
12723         units (BigPoint). With inPixels we have rounding errors
12724
12725 2002-04-11  Juergen Vigna  <jug@sad.it>
12726
12727         * text2.C (setCursorFromCoordinates): set iy to the right value.
12728         (setCursor): add check if row->previous exists!
12729
12730         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12731         an old float_type as this was the case in the old code!
12732
12733         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12734
12735         * BufferView2.C (showLockedInsetCursor): use iy
12736         (fitLockedInsetCursor): ditto
12737
12738         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12739         locked insets as there we have the right value now.
12740
12741         * lyxcursor.C: added iy_ variable and iy functions to set to the
12742         baseline of cursor-y of the locked inset.
12743
12744         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12745         (setCursor): fixed for insets which need a full row.
12746
12747         * text.C (rowLastPrintable): don't ignore the last space when before
12748         an inset which needs a full row.
12749         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12750         as last character of a row when before a inset which needs a full row.
12751
12752 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * version.C.in: update date
12755
12756         * text2.C (fullRebreak): try to always return true and see what
12757         happens...
12758
12759 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12760
12761         * MenuBackend.C (expand): use Floating::listName
12762
12763         * FloatList.C (FloatList): add listName argument to the built-in
12764         floats
12765
12766         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12767         text associated with the float.
12768
12769 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12770
12771         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12772
12773 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12774
12775         * ShareContainer.h: add a couple of missing typenames.
12776
12777 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12778
12779         * lyxrc.C (getDescription): use _() correctly rather than N_().
12780
12781 2002-03-28  Herbert Voss  <voss@lyx.org>
12782
12783         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12784         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12785
12786 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12787
12788         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12789         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12790
12791 2002-03-29  Juergen Vigna  <jug@sad.it>
12792
12793         * lyxfunc.C (dispatch): add a missing fitCursor call.
12794
12795         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12796         it was scrolled by a cursor move, so return the bool status.
12797
12798         * BufferView.C (fitCursor): return the bool flag also to the outside
12799         world as this is needed.
12800
12801         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12802
12803         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12804         call the edit() as it is not needed (and wrong) IMO.
12805         (workAreaButtonPress): set the screen_first variable before evt.
12806         unlock the inset as this may change screen_first and then we have
12807         a wrong y position for the click!
12808
12809 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12810
12811         * MenuBackend.C (expand): another translation that I missed
12812
12813 2002-03-28  Juergen Vigna  <jug@sad.it>
12814
12815         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12816
12817         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12818
12819 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12820
12821         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12822
12823         * MenuBackend.C (expand): fix export/view/update when there is no
12824         document open.
12825
12826 2002-03-27  Herbert Voss  <voss@lyx.org>
12827
12828         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12829         and text%
12830
12831 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12832
12833         * bufferview_funcs.C (currentState): only show paragraph number
12834         for is DEVEL_VERSION is set.
12835
12836         * lyxfunc.C (dispatch): put warning in INFO channel
12837
12838         * MenuBackend.C (expand): translate the name of floats
12839
12840         * FloatList.C (FloatList): mark the float names for translation
12841
12842         * converter.C (convert): use LibScriptSearch
12843
12844 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12845
12846         * MenuBackend.C (defaults): fix default menu (we might as well get
12847         rid of it...)
12848
12849 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12850
12851         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12852         directory.
12853
12854 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12855
12856         * lyxvc.C: reorder includes.
12857
12858 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12859
12860         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12861           properly
12862
12863 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12864
12865         * CutAndPaste.C: change layouts earlier on paste
12866           to avoid crashing when calling getFont()
12867
12868 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12869
12870         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12871         irritating #error.
12872
12873 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12874
12875         * WorkArea.C: remove 'Pending' debug message.
12876
12877         * most files: ws cleanup
12878
12879         * buffer.[Ch]: ws changes
12880
12881         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12882
12883 2002-03-21  Juergen Vigna  <jug@sad.it>
12884
12885         * tabular.C (SetMultiColumn): collapse also the contents of the
12886         cells and set the last border right. Added a Buffer const * param.
12887
12888 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12891         linking or not.
12892
12893 2002-03-19  Juergen Vigna  <jug@sad.it>
12894
12895         * text2.C (clearSelection): reset also xsel_cache.
12896
12897         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12898         where it needs to be called (John tells us to do so too :)
12899         (selectionLost): reset sel_cache.
12900
12901         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12902
12903 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12904
12905         * text2.C (setCursorIntern): put debuging code in INSETS channel
12906
12907 2002-03-19  André Pönitz <poenitz@gmx.net>
12908
12909         * lyxfunc.C: tiny whitespace change
12910
12911 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12912
12913         * ToolbarDefaults.C (init):
12914         * LyXAction.C (init):
12915         * commandtags.h:
12916         * BufferView_pimpl.C (Dispatch):
12917         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12918
12919 2002-03-19  Allan Rae  <rae@lyx.org>
12920
12921         * exporter.C (Export): removeAutoInsets before doing anything else.
12922         While I've just introduced a dependency on BufferView this really is
12923         the best place to clean the buffer otherwise you need to cleanup in
12924         a dozen places before calling export or cleanup in a dozen functions
12925         that export calls.
12926
12927         * converter.C (runLaTeX):
12928         (scanLog): Better handling of removeAutoInsets and screen updates.
12929
12930         * lyxfunc.C (dispatch): small whitespace changes
12931
12932 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * WorkArea.C (C_WorkAreaEvent): return a value.
12935         (event_cb): return 1 if we handled the event, 0 otherwise.
12936
12937         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12938
12939 2002-03-18  Juergen Vigna  <jug@sad.it>
12940
12941         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12942         (GetAdditionalWidth): ditto.
12943         (RightLine): ditto.
12944         (LeftLine): ditto.
12945
12946         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12947         inset if we're there actually (probably not used right now but this
12948         is the direction to go for unifying code).
12949         (paste): disable code to clear the selection.
12950
12951         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12952         inside an InsetText and move the check further up as it is in the
12953         wrong place.
12954
12955         * text2.C (pasteSelection): set a selection over the pasted text.
12956
12957 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12958
12959         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12960         and libgraphics to build on Cygwin.
12961
12962 2002-03-15  Juergen Vigna  <jug@sad.it>
12963
12964         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12965         inserting an Inset into the paragraph. I know this is not the best
12966         fix but we already use current_view in CutAndPaste so we will remove
12967         all of it's using at the same time.
12968
12969         * buffer.C (sgmlError): deactivated function till it is rewritten in
12970         the right mode, now it can create problems.
12971
12972         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12973         before accessing it.
12974
12975 2002-03-14  Juergen Vigna  <jug@sad.it>
12976
12977         * undo_funcs.C (textHandleUndo): do the right thing when updating
12978         the inset after the undo/redo.
12979
12980         * text2.C (setCursor): just some testcode for #44 not ready yet.
12981
12982         * undo_funcs.C (textHandleUndo): set the next() and previous()
12983         pointers of the paragraph to 0 before deleting otherwise we have
12984         problems with the Paragraph::[destructor].
12985
12986         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12987         on a paragraph insertion.
12988
12989 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12990
12991         * buffer.C (asciiParagraph): use += operator for char append to
12992         string.
12993
12994         * paragraph.C (getFontSettings): compare >= not just >
12995         (highestFontInRange): ditto
12996         (setFont): ditto
12997
12998 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12999
13000         * paragraph.C: change several algorithm to be more appripriate for
13001         the problem domain. This is lookip in FontList and in the InsetList.
13002
13003 2002-03-13  André Pönitz <poenitz@gmx.net>
13004
13005         * commandtags.h:
13006         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13007
13008 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * commandtags.h:
13011         * LyXAction.C:
13012         * lyxfunc.C:
13013         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13014
13015 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13016
13017         * Painter.C (display): anon helper function, adjust code for this
13018         change.
13019         (pixmap): remove function.
13020
13021         * Painter.h: remove private display variable.
13022
13023         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13024
13025 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13026
13027         * WorkArea.[Ch]: remove figinset_canvas cruft.
13028
13029 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * lyxtextclass.C (operator): add one item cache optimization.
13032
13033         * bufferlist.h: doxy changes
13034
13035         * bufferlist.C: ws changes
13036
13037         * DepTable.[Ch] (ext_exist): place const in the right spot.
13038
13039         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13040         call resizeInsets.
13041         (workAreaExpose): call resizeInsets when the with BufferView changes.
13042         (Dispatch): adjust for protectedBlank removal
13043         (specialChar): call updateInset if the insert went ok.
13044
13045         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13046         specialChar instead.
13047
13048         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13049
13050         * BufferView.h: doxy change
13051
13052         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13053
13054         * lyxtextclass.C (operator[]): remove non-const version
13055         (defaultLayout): remove non-const version
13056
13057 2002-03-12  Juergen Vigna  <jug@sad.it>
13058
13059         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13060         did resize the LyXText too.
13061
13062         * buffer.C (readLyXformat2): set layout information on newly allocated
13063         paragraphs.
13064
13065         * tabular.C (OldFormatRead): set layout information on the paragraph.
13066
13067 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13068
13069         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13070
13071 2002-03-11  Juergen Vigna  <jug@sad.it>
13072
13073         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13074         plainly wrong.
13075         (resizeCurrentBuffer): force also the insets to resize themselfes.
13076         (moveCursorUpdate): fixed up for InsetText.
13077
13078 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13079
13080         * commandtags.h:
13081         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13082         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13083         value of Dialogs::tooltipsEnabled().
13084         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13085
13086 2002-03-08  Juergen Vigna  <jug@sad.it>
13087
13088         * BufferView_pimpl.C (updateInset): update inset inside inset also
13089         if it isn't inside theLockingInset().
13090
13091 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13092
13093         * buffer.C (asciiParagraph): redo some of the word and line length
13094         handling.
13095         (getLists): look for Caption instead of caption.
13096
13097 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13098
13099         * buffer.C (Buffer): initialize niceFile to true
13100         (makeLaTeXFile):
13101         (makeLinuxDocFile):
13102         (makeDocBookFile): make sure niceFile is true on exit
13103
13104 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13105
13106         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13107
13108 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13109
13110         * LyXSendto.C: remove.
13111         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13112         * lyx_gui.C: remove now-redundant comment.
13113         * ColorHandler.h: remove forward declaration of class WorkArea.
13114         * lyxfunc.C: remove #include "WorkArea.h".
13115
13116 2002-03-07  Juergen Vigna  <jug@sad.it>
13117
13118         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13119         got moved away with the DEPM and also set the inset_owner always
13120         right which before could have been omitted.
13121
13122 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13123
13124         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13125         wanted layout is not found.
13126
13127 2002-03-07  Juergen Vigna  <jug@sad.it>
13128
13129         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13130
13131 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13132
13133         * paragraph.C (breakParagraph): use default layout not layout of
13134         prev paragraph.
13135         (Paragraph): clear ParagraphParameters.
13136
13137 2002-03-06  Juergen Vigna  <jug@sad.it>
13138
13139         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13140         otherwise it would not be a valid lenght. Fixed a special case in
13141         the minipage compatibility read where we end the document with a
13142         minipage.
13143
13144         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13145         was set as it could be 0 for InsetTexts first entry.
13146
13147 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13148
13149         * paragraph.C (writeFile): if layout is empty write out
13150         defaultLayoutName().
13151
13152         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13153         file without named layout we set layout to defaultLayoutName().
13154
13155 2002-03-06  Juergen Vigna  <jug@sad.it>
13156
13157         * CutAndPaste.C (copySelection): set layout for new paragraph.
13158
13159         * text.C (prepareToPrint): leave ERT inset left aligned
13160         (leftMargin): don't indent paragraphs inside ERT insets
13161
13162 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * paragraph.C (breakParagraph): dont call clear do the work manually
13165
13166         * paragraph.[Ch] (clear): remove function
13167
13168 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13169
13170         * paragraph.C (Paragraph): dont call clear, the work has already
13171         been done.
13172
13173         * lyxtextclass.C (operator): assert if n is empty
13174
13175         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13176         work manually instead.
13177
13178 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13179
13180         * BufferView_pimpl.C: protect selectionLost against text == 0
13181
13182 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13183
13184         * text.C (breakParagraph): fix a setting layout to '0' problem.
13185
13186 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13187
13188         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13189         final location of file, for the included files, and graphics.
13190
13191 2002-03-05  Juergen Vigna  <jug@sad.it>
13192
13193         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13194
13195 2002-03-04  Juergen Vigna  <jug@sad.it>
13196
13197         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13198
13199         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13200         last column of multicolumn cells.
13201         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13202
13203 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13204
13205         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13206         file if it doesn't go to a temporary file.
13207
13208         * buffer.C (sgmlOpenTag):
13209         (sgmlCloseTag):  remove extra newline insertion.
13210
13211 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13212
13213         * text.C (getRowNearY): comment out debug msg
13214
13215 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * text2.C: first -> first_y
13218
13219         * text.C (getRowNearY): add some attemts at a possible
13220         optimization, not working.
13221
13222         * tabular.[Ch]: add BufferParams to several function so that newly
13223         created paragraph can be initialized to he default layotu for the
13224         buffers textclass.
13225
13226         * tabular-old.C (ReadOld): add buf->params to call of Init
13227
13228         * screen.C: rename text->first to text->first_y
13229
13230         * paragraph.C (breakParagraph): always set layout in the broken
13231         paragraph
13232
13233         * lyxtextclass.C (Read): remove lowercase
13234         (hasLayout): ditto
13235         (operator): ditto
13236         (delete_layout): ditto
13237
13238         * lyxtext.h: rename first -> first_y
13239
13240         * lyxlayout.C (Read): remove lowercase
13241         (name): ditto
13242         (setName): ditto
13243         (obsoleted_by): ditto
13244
13245         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13246
13247         * buffer.C (insertErtContents): add params are to InsetERT
13248         (parseSingleLyXformat2Token): add code to check if a paragraphs
13249         layout really exist.
13250         (parseSingleLyXformat2Token): add params to several inset
13251         constructors
13252         (asciiParagraph): remove lowercase, do the layout comparisons with
13253         no_case
13254
13255         * BufferView_pimpl.C (cursorNext): first -> first_y
13256         (resizeCurrentBuffer): first -> first_y
13257         (updateScrollbar): first -> first_y
13258         (scrollCB): first -> first_y
13259         (workAreaMotionNotify): first -> first_y
13260         (workAreaButtonPress): first -> first_y
13261         (checkInsetHit): first -> first_y
13262         (cursorPrevious): first -> first_y
13263         (cursorNext): first -> first_y
13264         (Dispatch): add buffer_->params to severl inset contructors
13265
13266 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13267
13268         * lyxlayout.C (Read): remove some debug info that I forgot.
13269
13270         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13271         clean up the code slightly.
13272         (makeLinuxDocFile): ditto
13273         (makeDocBookFile): ditto
13274
13275         * text2.C: layout as string
13276
13277         * text.C: layout as string
13278
13279         * paragraph_pimpl.C: layout as string
13280
13281         * paragraph.[Ch]: layout as string
13282
13283         * lyxtextclasslist.[Ch]: layout as string
13284
13285         * lyxtextclass.[Ch]: layout as string
13286
13287         * lyxtext.h: layout as string
13288
13289         * lyxlayout.[Ch]: layout as string
13290
13291         * lyx_cb.C: layout as string
13292
13293         * bufferview_funcs.C: layout as string
13294
13295         * bufferparams.C: layout as string
13296
13297         * buffer.C: layout as string
13298
13299         * LyXView.[Ch]: layout as string
13300
13301         * LaTeXFeatures.[Ch]: layout as string
13302
13303         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13304
13305         * BufferView_pimpl.C: change current_layout to string, remove
13306         lyx::layout_type.
13307         (Dispatch):
13308         (smartQuote):
13309         (insertInset):
13310         (workAreaButtonRelease): layout as string
13311
13312         * BufferView2.C (unlockInset): adjust
13313
13314         * vspace.C (asLatexCommand): use an explict temp variable.
13315
13316 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13317
13318         * Makefile.am: use FRONTEND_*
13319
13320 2002-03-01  Juergen Vigna  <jug@sad.it>
13321
13322         * tabular.C (SetWidthOfMulticolCell): changed to something better
13323         I hope but still work in progress.
13324         (recalculateMulticolumnsOfColumn): renamed function from
13325         recalculateMulticolCells as it is more appropriate now.
13326         (SetWidthOfCell): calculate multicols better.
13327
13328 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13329
13330         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13331
13332         * lyxfunc.C (processKeySym): print sequence also if it is
13333         `deleted' (complete)
13334
13335         * kbsequence.C (print): print sequence even if it is deleted
13336         (complete would be a better word, actually).
13337
13338         * lyxfunc.C (dispatch): print complete options after a prefix key
13339
13340         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13341
13342 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13343
13344         * text2.C (setCharFont): eliminate setCharFont code duplication.
13345
13346 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13347
13348         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13349         LFUN_TABULAR_FEATURE (bug #177)
13350
13351 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13352
13353         * Makefile.am: remove figure.h
13354
13355 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13356
13357         * Bufferview_pimpl.C:
13358         * CutAndPasteC:
13359         * LaTeX.C:
13360         * LyXSendto.C:
13361         * buffer.C:
13362         * bufferlist.C:
13363         * converter.C:
13364         * language.C:
13365         * lyxfunc.C:
13366         * lyxvc.C:
13367         * paragraph.C:
13368         * text.C:
13369         * text2.C: remove #include "lyx_gui_misc.h".
13370
13371         * LaTeX.C: added #include <cstdio>
13372
13373 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13374
13375         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13376         that the paragraph following this one can have.
13377
13378         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13379
13380         * vspace.C (asLatexCommand): fix bogus gcc warning
13381
13382         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13383
13384 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13385
13386         * text2.C (setLayout): get rid of redundant code
13387
13388 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13389
13390         * text2.C (incDepth): make sure depth cannot be increased beyond
13391         reasonable values.
13392
13393 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13394
13395         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13396         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13397
13398         * PainterBase.h (image):
13399         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13400         a LyXImage const *.
13401
13402 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13403
13404         * BufferView.C:
13405         * BufferView.h:
13406         * BufferView_pimpl.C:
13407         * BufferView_pimpl.h:
13408         * LaTeXFeatures.C:
13409         * LyXAction.C:
13410         * LyXView.C:
13411         * Makefile.am:
13412         * UpdateList.h:
13413         * UpdateList.C:
13414         * buffer.C:
13415         * figure.h:
13416         * figureForm.C:
13417         * figureForm.h:
13418         * figure_form.C:
13419         * figure_form.h:
13420         * lyx_cb.C:
13421         * lyx_gui.C:
13422         * lyx_gui_misc.C:
13423         * lyxfunc.C:
13424         * sp_base.h:
13425         * sp_ispell.h:
13426         * sp_pspell.h:
13427         * sp_spell.C: remove fig inset, and the crap house of
13428           cards that follows it
13429
13430 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13431
13432         * Makefile.am:
13433         * lyxserver.C:
13434         * os2_defines.h:
13435         * os2_errortable.h:
13436         * nt_defines.h: move .h into support/
13437
13438         * vms_defines.h: remove
13439
13440         * WorkArea.C: add space in debug output
13441
13442         * text2.C:
13443         * paragraph.C:
13444         * buffer.C: add WITH_WARNINGS
13445
13446         * vc-backend.h:
13447         * vc-backend.C:
13448         * bufferlist.C: s/retrive/retrieve/, add docs
13449
13450         * vspace.h:
13451         * vspace.C:
13452         * kbmap.h:
13453         * lyxlength.h:
13454         * lyxgluelength.h:
13455         * length_common.h:
13456         * chset.h:
13457         * chset.C: add docs
13458
13459         * lyxgui.C: add ID to X error handler
13460
13461         * lyxtestclass.c: fix typo
13462
13463 2002-02-26  Juergen Vigna  <jug@sad.it>
13464
13465         * tabular_funcs.C (write_attribute): changed so that some default
13466         attributes are not written at all.
13467         (getTokenValue): set default values before trying to read the
13468         value so we have the return value always set as default if we don't
13469         find the token we search for.
13470
13471         * tabular.C (Write): write bools as bools not as strings!
13472
13473 2002-02-22  Juergen Vigna  <jug@sad.it>
13474
13475         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13476         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13477
13478         * text.C (leftMargin): don't add an indent for paragraphs inside
13479         tabular cells (fix #208).
13480
13481 2002-02-21  José Matos  <jamatos@fep.up.pt>
13482
13483         * tabular.C (docBook): fixed support for long tables.
13484
13485 2002-02-20  Juergen Vigna  <jug@sad.it>
13486
13487         * text2.C (getFont): get the drawing font of the Inset if this
13488         paragraph is inside an inset (only important for InsetERT for now).
13489
13490         * buffer.C (insertErtContents): use new lanugage params in ERT
13491         constructor.
13492
13493         * CutAndPaste.C: commenting out seemingly uneeded code.
13494
13495 2002-02-19  Allan Rae  <rae@lyx.org>
13496
13497         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13498         Iterators might be simple to use but they also get invalidated.
13499         (removeAutoInsets): renamed saved cursor tracking variables and added
13500         some comments to clarify what everything does.
13501
13502 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13503
13504         * Chktex.C:
13505         * LaTeX.C:
13506         * LyXSendto.C:
13507         * converter.C:
13508         * lyx_cb.C:
13509         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13510         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13511
13512         * lyxfunc.C:
13513         * vc-backend.h: remove #include "support/syscall.h"
13514
13515         * LaTeX.C:
13516         * LyXSendto.C:
13517         * converter.C: rearrange #includes in Lars' approved fashion.
13518
13519         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13520         forward declare class Timeout in the header file.
13521
13522         * XFormsView.C: changes due to the above.
13523
13524         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13525         similar to LyXView.
13526
13527         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13528         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13529
13530 2002-02-18  José Matos  <jamatos@fep.up.pt>
13531
13532         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13533         insets contents.
13534
13535 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13536
13537         * a lot of small ws changes
13538         * add a lot of using std::XXX
13539         * use std construcs some places where approp.
13540         * use some exisint stuff from lyxfunctional where approp.
13541         * Make file changes to use partial linking (lets test this now...)
13542
13543 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13544
13545         * Chktex.C:
13546         * buffer.C:
13547         remove #include "support/syscontr.h" as it's redundant. Always has been.
13548
13549         * Chktex.C:
13550         * LaTeX.C:
13551         * LyXSendto.C:
13552         * converter.C:
13553         * lyx_cb.C:
13554         * vc-backend.C:
13555         change Systemcalls::System to Systemcalls::Wait and
13556         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13557         No change of functionality, just reflects the stripped down Systemcalls
13558         class.
13559
13560 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13561
13562         * debug.[Ch]: add a GRAPHICS type to the enum.
13563
13564 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13565
13566         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13567
13568         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13569         there is an inset.
13570
13571 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13572
13573         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13574         match the changes below.
13575
13576         * text2.C (toggleInset): if there is not editable inset at cursor
13577         position, try to see if cursor is _inside_ a collapsable inset
13578         and close it.
13579
13580 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13581
13582         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13583         document menu has a nice checkbox
13584
13585 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13586
13587         * lyxlength.C (asLatexString): change PW to output as percent of
13588         \textwidth.
13589
13590         * lengthcommon.C: change '%' to 't%'
13591
13592         * lyxfunc.C (dispatch): a few comments from Martin
13593
13594 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13595
13596         * WorkArea.h:
13597         * WorkArea.C:
13598         * BufferView_pimpl.h:
13599         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13600           the X selection.
13601
13602 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13603
13604         * vspace.C (inPixels): fix compiler warning
13605
13606 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13607
13608         * lyxfunc.C (getStatus): fix status message for disabled commands.
13609
13610 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13611
13612         * BufferView_pimpl.C: fix crash on close buffer
13613         during selection (#227)
13614
13615 2002-01-27  Herbert Voss  <voss@lyx.org>
13616
13617         * buffer.C: link old Figure to new graphic inset
13618
13619 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13620
13621         * FontLoader.C (getFontinfo): Change the latex font names in order
13622         to match the names of type1inst.
13623
13624 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13625
13626         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13627
13628         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13629         (extchanged): ditto
13630         (ext_exist): ditto
13631         (remove_files_with_extension): ditto
13632         (remove_file): ditto
13633         (write): ditto
13634
13635         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13636         document is smaller than the work area height. Do not initialize
13637         static variables to 0.
13638
13639 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13640
13641         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13642
13643         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13644         LFUN_LAYOUT_PARAGRAPHS.
13645
13646         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13647         tabular. It is possible to provide a possible cell, which will
13648         typically be the actcell from the corresponding insettabular
13649
13650         * lyxfunc.C (getStatus): small cleanup; disable
13651         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13652         true
13653
13654 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13655
13656         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13657
13658         * paragraph.C (startTeXParParams):
13659         (endTeXParParams): new methods. The LaTeX code to
13660         start/end paragraph formatting
13661         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13662         empty (fixes bug #200)
13663
13664         * vspace.C (inPixels): adapt to the change below
13665         (inPixels): [later] more cleanups (remove unused variables)
13666
13667         * lyxlength.C (inPixels): change to use a width and a height as
13668         parameter.
13669
13670 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13671
13672         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13673         Replaced with \paperwidth
13674
13675         * DepTable.C (insert): add std:: qualifier
13676
13677 2002-01-18  Allan Rae  <rae@lyx.org>
13678
13679         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13680         updated also?
13681
13682         * text.C (drawInset): Turned out I didn't know enough about how
13683         rebreaking worked.  This fixes most of the redraw problems.  I see
13684         an occasional cursor trail when a line is broken now and the cursor
13685         placement can seem out by a few pixels also after a rebreak.
13686
13687 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13688
13689         * buffer.C (parseSingleLyXformat2Token): update because minipage
13690         width is now a LyXLength
13691
13692         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13693
13694         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13695         math insets
13696
13697 2002-01-17  Juergen Vigna  <jug@sad.it>
13698
13699         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13700
13701         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13702         is set correctly and the inset is updated correctly.
13703
13704 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13705
13706         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13707         the beginning of the loop.
13708
13709 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13710
13711         * lyxrc.C: improve help for use_scalable_fonts
13712
13713 2002-01-17  Allan Rae  <rae@lyx.org>
13714
13715         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13716
13717 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13718
13719         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13720         make sure to set their inset_owner to the right value (bug #171)
13721
13722 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13723
13724         * DepTable.h
13725         * DepTable.C: Implement mtime checking to reduce time spent doing
13726         CRCs.
13727
13728 2002-01-16  Juergen Vigna  <jug@sad.it>
13729
13730         * tabular.C (GetAdditionalHeight): one of error fixed.
13731
13732         * lyxrc.C (output): small fix in writing use_pspell.
13733
13734 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13735
13736         * sp_base.h: #include LString.h
13737
13738 2002-01-16  Allan Rae  <rae@lyx.org>
13739
13740         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13741         Can someone check this please?
13742
13743         * text.C (drawInset): It was possible that p.row would be removed by
13744         breakAgainOneRow upsetting a few other settings.  There may be another
13745         small tweak possible by setting need_break_row = 0 when p.row has been
13746         removed but I don't know enough about the logic here.
13747
13748 2002-01-15  Allan Rae  <rae@lyx.org>
13749
13750         * text.C (insertChar): removed conditional truism.
13751
13752         * BufferView2.C (removeAutoInsets): More tweaks.
13753         cur_par_prev could be a stray pointer.  Check for trailing empty line
13754         in case last line was cur_par and only had an error inset on it.
13755
13756 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13757
13758         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13759         absolute
13760
13761         * vc-backend.C (most methods):
13762         * exporter.C (Export):
13763         * converter.C (convert):
13764         (runLaTeX):
13765         * LyXSendto.C (SendtoApplyCB):
13766         * lyxfunc.C (dispatch):
13767         (menuNew):
13768         (open):
13769         (doImport):
13770         * lyx_cb.C (AutoSave):
13771         (InsertAsciiFile):
13772         * BufferView_pimpl.C (MenuInsertLyXFile):
13773         * buffer.C (runChktex): use Buffer::filePath().
13774
13775         * buffer.h: rename filename to filename_; rename filepath to
13776         filepath_ and make it private
13777         (filePath): new method
13778
13779         * buffer.C (writeFile): use fileName()
13780         (getLatexName):
13781
13782         * lyx_main.C (init): fix starting  of LyX when the binary is a
13783         link from so,ewhere else.
13784
13785         * minibuffer.C: include <cctype> for isprint
13786
13787 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13788
13789         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13790         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13791         name clash with InsetCollapsable's width function.
13792
13793 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13794
13795         * lastfiles.C: include <iterator>
13796
13797 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13798
13799         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13800         std::count.
13801
13802         * buffer.C (makeLaTeXFile): ditto.
13803         Also make loop operation more transparent.
13804
13805 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13806
13807         * ToolbarDefaults.C: remove trailing comma closing namespace.
13808
13809         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13810
13811         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13812         as in WorkArea.
13813
13814         * trans.C (Load): comment out unused variable, allowed.
13815
13816 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13817
13818         * minibuffer.[Ch] (append_char): new method to recieve input from the
13819         drop-down completion browser. If a key was pressed, then recieve this
13820         char and append it to the existing string.
13821         (peek_event): modify the positioning data passed to the completion
13822         browser so that it can be placed above the minibuffer rather than below.
13823 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13824
13825         * LyXAction.C (init): alloe error-next for readonly documents.
13826
13827         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13828         count.
13829
13830 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13831
13832         * bufferlist.C (readFile): create the buffer _after_ checking that
13833         the file exists.
13834
13835         * lyxfunc.C (verboseDispatch): fix handling of arguments
13836
13837         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13838
13839         * lyxrc.C: use string::erase() instead of initializing to "".
13840
13841
13842 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13843
13844         * BufferView_pimpl.h:
13845         * BufferView_pimpl.C:
13846         * WorkArea.h:
13847         * WorkArea.C:
13848         * text2.C: tell X when we have made a selection for copying
13849
13850 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13851
13852         * BufferView_pimpl.C (MenuInsertLyXFile):
13853         * lyxfunc.C (menuNew):
13854         (open):
13855         (doImport): add shortcuts to directory buttons
13856
13857         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13858         open a float)
13859
13860         * lyxfunc.C (setStatusMessage):
13861         (getStatusMessage): new methods
13862         (getStatus):use setStatusMessage instead of setErrorMessage
13863         (dispatch): when function is disabled, set error message here
13864         [instead of in getStatus previously]
13865
13866         * BufferView_pimpl.C (workAreaButtonRelease): update
13867         toolbar/menubar here too.
13868
13869 2002-01-13  Allan Rae  <rae@lyx.org>
13870
13871         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13872         Now seems indestructible.  Remaining task is to audit all other
13873         code affected by deleteEmptyParagraphMechanism.  One small quirk
13874         left is that an empty document with an error in the preamble can
13875         be made to report an error but no error box appears.  I don't know
13876         where it goes.
13877         (removeAutoInsets): Improved comments.
13878
13879 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13880
13881         * Thesaurus.h:
13882         * Thesaurus.C: update for Aiksaurus 0.14
13883
13884 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13885
13886         * text2.C (firstParagraph): removed member function, all uses
13887         replaces with ownerParagraph
13888         (redoParagraphs): here
13889         (updateInset): here
13890         (toggleAppendix): here
13891         * BufferView2.C (insertErrors): here
13892         (setCursorFromRow): here
13893
13894 2002-01-13  Allan Rae  <rae@lyx.org>
13895
13896         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13897         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13898         There is still a way to segfault this although you may have to do this
13899         multiple times: Have an InsetERT with an unknown command in it.
13900         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13901         <down-arrow>, <Enter> again, View->DVI, BANG!
13902
13903         * text2.C (setCursor):
13904         (deleteEmptyParagraphMechanism):
13905         * lyxtext.h (setCursor):
13906         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13907         Making use of the return value may help fix other bugs.
13908
13909 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13910
13911         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13912
13913         * LyXView.C (updateMenubar): call MenuBar::update here
13914         (updateToolbar): but not here
13915         (showState): do not update toolbar/menubar
13916
13917         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13918         should need to care about that.
13919
13920         * lyxfunc.C (verboseDispatch): simplify a bit
13921         (getStatus): have a version which takes a pseudoaction, and
13922         another which requires a (kb_action,string).
13923
13924         * LyXAction.C (retrieveActionArg): make it work also when action
13925         is not a pseudo-action.
13926         (getActionName): simplify a bit
13927         (helpText):
13928
13929 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13930
13931         * lyxfunc.C (verboseDispatch): new families of methods with
13932         several ways to specify a command and a bool to indicate whether
13933         the command name and shortcut should be displayed in minibuffer
13934         (eventually, we could extend that to a finer bitmask like
13935         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13936         (dispatch): the pristine dispatch command which just, well,
13937         dispatchs! Note it still sets its result to minibuffer; I'm not
13938         sure we want that.
13939
13940         * lyxfunc.h: remove setHintMessage
13941
13942         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13943
13944 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13945
13946         * BufferView_pimpl.C (specialChar): delete new inset if we have
13947         not been able to insert it.
13948
13949         * kbmap.C: revert to using int instead of kb_action, since all we
13950         are dealing with is pseudo-actions.
13951
13952         * LyXAction.C (searchActionArg): change to return int instead of
13953         kb_action, since the result is a pseudoaction.
13954
13955 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13956
13957         * buffer.C (insertErtContents): Fix (partially) the font bug.
13958
13959 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13960
13961         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13962         as the other one is broken on my machine!
13963
13964 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13965
13966         * commandtags.h:
13967         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13968
13969 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13970
13971         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13972         reflect their actual use. Provide compatibility code for older lyxrc
13973         files.
13974
13975         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13976         FL_NORMAL_STYLE.
13977         change names of popup font variables in line with the changes to lyxrc.C
13978
13979 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13980
13981         * buffer.C (asciiParagraph): avoid outputing a word twice after
13982         an inset.
13983
13984         * lyxrc.C (getDescription): document that document_path and
13985         template_path can be empty.
13986
13987 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13988
13989         * LaTeXFeatures.C (getMacros):
13990         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13991
13992         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13993
13994         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13995         getPackages.
13996         (getPackages): rename feature "floats" to "float". Use an array to
13997         iterate over 'simple' features (i.e. just a \usepackage). Add
13998         handling of "amsmath" (renamed from "amsstyle").
13999
14000 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14001
14002         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14003         features list.
14004
14005 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14006
14007         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14008         FuncStaus::FuncStatus & FuncStaus::some_method().
14009
14010 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14011
14012         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14013         of the func_satus stuff. Edited and massaged in various ways by
14014         JMarc.
14015
14016         * lyxfunc.C (getStatus): use FuncStatus
14017
14018 2002-01-08  Juergen Vigna  <jug@sad.it>
14019
14020         * text.C (nextBreakPoint): use function Inset::isChar().
14021
14022         * paragraph.C (TeXOnePar): use function
14023         Inset::forceDefaultParagraphs.
14024
14025         * buffer.C (latexParagraphs): use function
14026         Inset::forceDefaultParagraphs.
14027
14028 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14029
14030         * lyx_gui.C (init): set the style of the menu popups to
14031         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14032
14033 2002-01-07  Juergen Vigna  <jug@sad.it>
14034
14035         * text.C (setHeightOfRow): small fix
14036         (prepareToPrint): don't look at alignment if we don't have the place
14037         for doing it.
14038
14039 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14040
14041         * box.C: New file. Move the Box methods and functions out of box.h,
14042         following Lars' suggestion.
14043
14044 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14045
14046         * box.h: #include "support/LOstream.h", needed for inlined function.
14047
14048         * lyxtextclass.C:
14049         * lyxtextclasslist.C: added some using std declarations.
14050
14051 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14052
14053         * box.h: make signed dimensions to allow insets wider than
14054           the screen (bug #162)
14055
14056         * BufferView_pimpl.C: add some insetHit debug
14057
14058 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14059
14060         * vc-backend.C: add FIXME
14061
14062 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14063
14064         * lyxfunc.C (getStatus): enable code for showing math font status
14065         in toolbar/menu.
14066
14067 2002-01-07  Juergen Vigna  <jug@sad.it>
14068
14069         * text.C (nextBreakPoint): removed debug output not needed anymore.
14070
14071 2002-01-06  Juergen Vigna  <jug@sad.it>
14072
14073         * text.C (nextBreakPoint): fixed up this function we had this bug
14074         since ever but now hopefully we break row better.
14075         (insertChar): we have to check if an inset is the next char as it
14076         could now happen that a large inset is causing a break.
14077
14078 2002-01-05  Juergen Vigna  <jug@sad.it>
14079
14080         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14081         if it doesn't like to be drawed.
14082
14083 2002-01-04  Juergen Vigna  <jug@sad.it>
14084
14085         * BufferView2.C (lockInset): forgot to set a cursor.
14086
14087         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14088
14089 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14090
14091         * FormMathsPanel.C:
14092         * FormMathsPanel.h
14093         * MathsSymbols.C:
14094         * form_maths_panel.C:
14095         * form_maths_panel.h:
14096         * form_maths_panel.fd: implemented sub- and super- buttons in math
14097         panel.
14098
14099         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14100         (or ^ space) to be used as in TeX (req'd by Andr�.
14101
14102         * lyxfunc.C: Allow ^ and _ again to be used both as
14103         super/subscript (mathed) and as themselves (in text).
14104
14105 2002-01-03  Allan Rae  <rae@lyx.org>
14106
14107         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14108         "LyX" or the filename of the current buffer if it has one.  This is a
14109         modified form of John Levon's patch.
14110
14111         * XFormsView.C (setWindowTitle): also set icon title.
14112
14113         * LyXView.h (setWindowTitle): signature changed.
14114         * XFormsView.h (setWindowTitle): ditto.
14115
14116 2002-01-02  Juergen Vigna  <jug@sad.it>
14117
14118         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14119
14120 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14121
14122         * screen.C (topCursorVisible): introduce a temp var for
14123         text->cursor.row(), handle the case where this row is null. (kindo
14124         hachish)
14125
14126         * text2.C (setCursor): add a couple of asserts.
14127
14128         * paragraph.h (inset_iterator): add -> operator
14129
14130         * paragraph.[Ch] (autoDeleteInsets): remove member function
14131
14132         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14133         cursor pos correctly and handle inset deletion by itself.
14134         (insertErrors): move iterator declaration out of for expression
14135
14136         * lyxtextclass.C: add <algorithm>
14137
14138         * Makefile.am: added the new files to sources, removed layout.C
14139
14140         * layout.C: removed file
14141
14142         * layout.h: remove LYX_DUMMY_LAYOUT
14143
14144         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14145         layout.
14146
14147         * lyxlayout.[Ch]:
14148         * lyxtextclass.[Ch]:
14149         * lyxtextclasslist.[Ch]: new files
14150
14151         * include order changes to a lot of files, also changes because of
14152         the six new files.
14153
14154 2001-12-27  Juergen Vigna  <jug@sad.it>
14155
14156         * buffer.C (asciiParagraph): more fixes.
14157
14158         * tabular.C (ascii): make ascii export support export of only the
14159         data separated by a column-delimiter.
14160         (ascii): better support for ascii export.
14161
14162         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14163
14164 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * tabular_funcs.C: use a "using std::getline" instead of the
14167         previous fix from Angus (necessary for cxx + lyxstring)
14168
14169 2001-12-24  Juergen Vigna  <jug@sad.it>
14170
14171         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14172
14173         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14174         problems. First check a minipage also if we have some ert-contents
14175         (not only on par->size(), second set the right depth of the paragraph
14176         on the relink to the root-paragraph-list!
14177
14178         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14179         which then did not anymore update the main paragraphs on undo/redo!
14180
14181 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14182
14183         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14184         code. Support all font-changing funcs (even those which are not in
14185         menu currently). Support for reporting font settings in
14186         mathed (disabled until Andre provides a function on mathed's side).
14187
14188         * func_status.h (toggle): small helper function to set toggle
14189         state on a flag.
14190
14191 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14192
14193         * tabular_funcs.C: getline -> std::getline
14194
14195 2001-12-21  Juergen Vigna  <jug@sad.it>
14196
14197         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14198         accessed and could be 0 (I couldn't generate this but it seems
14199         Michael could!).
14200
14201 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14202
14203         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14204         * tabular_funcs.h: here and include iosfwd
14205
14206 2001-12-20  Juergen Vigna  <jug@sad.it>
14207
14208         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14209         inside inset but undo_par was.
14210
14211 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14212
14213         * Thesaurus.C: always include <config.h> in sources.
14214
14215         * Painter.h:
14216         * lyxlookup.h:
14217         * box.h: do not include <config.h> in header files
14218
14219         * text.C (paintLastRow): remove unused variable
14220
14221         * text.C (transformChar):
14222         (insertChar):
14223         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14224
14225         * Painter.C (text):
14226         * font.C (width): rewrite to use uppercase() instead of
14227         islower/toupper.
14228
14229         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14230
14231 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * lyxfind.C: clean up of find failure position change
14234
14235 2001-12-20  Juergen Vigna  <jug@sad.it>
14236
14237         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14238
14239         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14240         (TeXRow): added to LaTeX a single tabular row.
14241         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14242         (Latex): simplified and finally good LT-h/f support.
14243         (various_functions): just small adaptions for LT-h/f support.
14244
14245         * tabular_funcs.[hC]: added and moved here all not classfunctions
14246         of LyXTabular.
14247
14248 2001-12-19  Juergen Vigna  <jug@sad.it>
14249
14250         * tabular.[Ch]: better support for longtabular options (not finished
14251         yet!)
14252
14253 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14254
14255         * text.C (paintLastRow): use the label font instead of the font of
14256         the last character to compute the size of *_BOX. This makes more
14257         sense and avoids a crash with empty paragraphs.
14258         Use Painter::rectangle to draw EMPTY_BOX.
14259
14260 2001-12-19  Juergen Vigna  <jug@sad.it>
14261
14262         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14263         the paragraphs if the replaced paragraph is not the first one!
14264         Tried to delete not used paragraphs but does not work yet so for
14265         now it's inside #ifdef's and by default off!
14266
14267 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14268
14269         * MenuBackend.C: include "lyx_main.h" instead of declaring
14270         lastfiles (actually was declared as LastFiles* instead of a
14271         scoped_ptr).
14272
14273 2001-12-17  Juergen Vigna  <jug@sad.it>
14274
14275         * tabular.C (AppendColumn): applied John's fix
14276
14277 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14278
14279         * BufferView.h:
14280         * BufferView.C:
14281         * BufferView_pimpl.h:
14282         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14283
14284         * Makefile.am:
14285         * box.h: new start of class for above
14286
14287         * lyxfunc.C: ignore space-only minibuffer dispatches.
14288           Show the command name when it doesn't exist
14289
14290         * minibuffer.C: don't add empty lines to the history
14291
14292         * minibuffer.C: add a space on dropdown completion
14293
14294 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14295
14296         * text.C: fix line above/below drawing in insets
14297
14298 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14299
14300         * lyxlength.C (LyXLength): Initialize private variables.
14301
14302 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14303
14304         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14305         when inserting error insets.
14306
14307 2001-12-13  Juergen Vigna  <jug@sad.it>
14308
14309         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14310         actually sometimes the before-paragraph.
14311         (setUndo): don't clear the redostack if we're not actually undoing!
14312
14313 2001-12-06  Juergen Vigna  <jug@sad.it>
14314
14315         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14316         and fixed redoing of main paragraph, so we can use it now ;)
14317
14318         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14319
14320 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14321
14322         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14323         Juergen's request
14324
14325 2001-12-13  André Pönitz <poenitz@gmx.net>
14326
14327         * undostack.[Ch]:
14328         * undo_func.C: minor cleanup
14329
14330 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14331
14332         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14333         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14334         font in urw-fonts package which is marked as -urw-fontspecific and
14335         does not work (incidentally, changing the encoding in the
14336         fonts.dir of this package to -adobe-fontspecific fixes the
14337         problem).
14338
14339         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14340         is a crash when undoing first paragraph (Juergen, please take a
14341         look). THis does not mean the undo fix is wrong, just that it
14342         uncovers problems.
14343
14344         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14345         the (Paragraph*) version when needed instead of duplicating the
14346         code.
14347
14348         * text.C (workWidth): use Inset::parOwner to find out where the
14349         inset has been inserted. This is a huge performance gain for large
14350         documents with lots of insets. If Inset::parOwner is not set, fall
14351         back on the brute force method
14352
14353         * paragraph_pimpl.C (insertInset):
14354         * paragraph.C (Paragraph):
14355         (cutIntoMinibuffer): set parOwner of insets when
14356         inserting/removing them
14357
14358         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14359
14360 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14361
14362         * commandtags.h:
14363         * LyXAction.C:
14364         * lyx_main.C:
14365         * lyxfunc.C:
14366         * mathed/formulabase.C:
14367         * mathed/math_cursor.[Ch]:
14368         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14369
14370
14371 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14372
14373         * lyxlength.[Ch] (operator!=): new function
14374
14375 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14376
14377         * text.C (workWidth): use Inset::parOwner to find out where the
14378         inset has been inserted. This is a huge performance gain for large
14379         documents with lots of insets. If Inset::parOwner is not set, fall
14380         back on the brute force method
14381
14382         * paragraph_pimpl.C (insertInset):
14383         * paragraph.C (Paragraph):
14384         (cutIntoMinibuffer): set parOwner of insets when
14385         inserting/removing them
14386
14387         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14388
14389 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14390
14391         * tabular-old.C (getTokenValue):
14392         * tabular.C (getTokenValue):
14393         (write_attribute): new versions for LyXLength
14394         (everywhere): adjust the use of widths
14395
14396         * tabular.h: change the type of widths from string to LyXLength
14397
14398 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14399
14400         * paragraph.C: fixed missing line number count when exporting
14401         Environments to LaTeX file
14402
14403         * buffer.C: added informational message for checking line numbers.
14404
14405 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14406
14407         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14408         paragraph, do the 'double space' part, but not the 'empty
14409         paragraph' one.
14410
14411         * text.C (workWidth): small optimization
14412         (getLengthMarkerHeight): use minimal size for negative lengths.
14413
14414 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14415
14416         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14417
14418         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14419
14420 2001-12-11  André Pönitz <poenitz@gmx.net>
14421
14422         * FontLoader.C:
14423         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14424
14425 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14426
14427         * text2.C: keep selection on a setFont()
14428
14429 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14430
14431         * lyx_cb.C: another bv->text misuse, from insert label
14432
14433 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14434
14435         * kbsequence.h:
14436         * kbsequence.C: re-instate nmodifier mask
14437
14438 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14439
14440         * lyx_main.h: make lyxGUI private.
14441
14442 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14443
14444         * lyxfind.C: place the cursor correctly on failed search
14445
14446 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14447
14448         * text.C (getLengthMarkerHeight): for small heights, the arrows
14449         are not always on top/bottom of the text
14450         (drawLengthMarker): smaller arrows; take the left margin in
14451         account; draw also vfills.
14452         (paintFirstRow):
14453         (paintLastRow): remove special code for vfill and standard spaces,
14454         since everything is handled in drawLengthMarker now.
14455
14456 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14457
14458         * buffer.C (insertErtContents): try to handle font and language
14459         interaction a bit better.g
14460
14461         * ColorHandler.C (updateColor): change the hash to cover the whole
14462         LColor enum, ws cleanup
14463         (getGCLinepars): ditto
14464         (getGCLinepars): only lookup in the linecache once.
14465
14466 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14467
14468         * iterators.C (operator++): Make the iterator more robust
14469
14470         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14471         (John's patch)
14472         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14473
14474 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14475
14476         * lyxtext.h:
14477         * text.C: better added space drawing
14478
14479 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14480
14481         * LyXView.C:
14482         * BufferView2.C: fix layout combo update on inset unlock
14483
14484 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14485
14486         * Makefile.am: don't compile unused files
14487
14488 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14489
14490         * lyxfunc.C:
14491         * commandtags.h:
14492         * LyXAction.C: remove old LFUN_LAYOUTNO
14493
14494 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14495
14496         * paragraph_pimpl.h:
14497         * paragraph_pimpl.C: isTextAt() doesn't need font param
14498
14499 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14500
14501         * lyxlex.h:
14502         * lyxlex.C: little cleanup
14503
14504 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14505
14506         * BufferView_pimpl.C: fix insertAscii for insets
14507
14508 2001-12-05  Juergen Vigna  <jug@sad.it>
14509
14510         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14511         set the right font on the "multi" paragraph paste!
14512
14513 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14514
14515         * trans_decl.h:
14516         * trans_mgr.[Ch]:
14517         * trans.[Ch]:
14518         * lyxgluelength.C:
14519         * lyxlength.C: remove out-commented code.
14520
14521         * BufferView_pimpl:
14522         * CutAndPaste.C:
14523         * DepTable.C:
14524         * buffer.C:
14525         * chset.C:
14526         * lastfiles.C:
14527         * lyxlex.C:
14528         * lyxlex_pimpl.C:
14529         * lyxserver.C:
14530         * screen.C:
14531         * tabular-old.C:
14532         * tabular.C:
14533         * text.C:
14534         * trans_mgr.C:
14535         * vc-backend.C: change "while(" to "while ("
14536
14537         * lyxlength.[Ch]: add zero function to check if length is zero or
14538         not
14539         * lyxgluelength.C: use it
14540
14541 2001-12-05  Allan Rae  <rae@lyx.org>
14542
14543         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14544         Works for 2.95.3, from what I understand of Garst's reports this should
14545         work for other g++ versions.  We're screwed if the abs(int) definition
14546         changed between bugfix releases of gcc.
14547
14548 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14549
14550         * text.C: fix chapter label offset !
14551
14552 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14553
14554         * lyxtext.h:
14555         * text.C: fix hfill at end of line, clean up
14556
14557 2001-12-04  Juergen Vigna  <jug@sad.it>
14558
14559         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14560         that we force an update of the inset and it's owners if neccessary.
14561
14562 2001-12-03  Juergen Vigna  <jug@sad.it>
14563
14564         * text.C (rowLast): simplified code
14565
14566 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14567
14568         * lyxfunc.C: fix show options on timeout
14569
14570 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14571
14572         * screen.C (topCursorVisible): scroll half a page when the cursor
14573         reached top of bottom of screen
14574
14575 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14576
14577         * minibuffer.C: deactivate on loss of focus
14578
14579 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14580
14581         * vspace.[Ch] (operator!=): add operator.
14582
14583 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14584
14585         * BufferView_pimpl.C: refuse to open an inset when
14586         there's a selection.
14587
14588 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14589
14590         * BufferView_pimpl.C: allow to click on RHS of full row insets
14591
14592 2001-11-30  Juergen Vigna  <jug@sad.it>
14593
14594         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14595         insets for undo reasons.
14596
14597 2001-11-28  André Pönitz <poenitz@gmx.net>
14598
14599         * vspace.[Ch]: cosmetical changes
14600
14601 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14602
14603         * LyXAction.h:
14604         * LyXAction.C:
14605         * lyxfunc.h:
14606         * lyxfunc.C:
14607         * kbmap.h:
14608         * kbmap.C:
14609         * lyxrc.C:
14610         * kbsequence.h:
14611         * kbsequence.C: part re-write of old kb code
14612
14613         * Painter.C:
14614         * WorkArea.C: remove Lgb_bug_find_hack
14615
14616 2001-11-30  José Matos <jamatos@fep.up.pt>
14617
14618         * buffer.C (makeDocBookFile): add a comment to point a hack.
14619         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14620         Fixed a double write of labels.
14621
14622 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14623
14624         * LaTeX.C:
14625         * LaTeX.h Fixed bug in LaTeX class where it would not
14626         re-run latex if no depfiles were changed, but the .dvi was removed.
14627
14628 2001-11-28  André Pönitz <poenitz@gmx.net>
14629
14630         * all the files from the change on 2001/11/26:
14631         use lyx::layout_type instead of LyXTextClass::size_type
14632         use lyx::textclass_type instead of LyXTextClassList::size_type
14633
14634 2001-11-29  Juergen Vigna  <jug@sad.it>
14635
14636         * text.C: added support for paragraph::isFreeSpacing()
14637
14638         * buffer.C: same as above
14639
14640         * paragraph.h: inserted isFreeSpacing() function to enable
14641         FreeSpacing inside InsetERT.
14642
14643         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14644         of the paragraph's in the cut/copy buffer to 0!
14645
14646         * text2.C (removeRow): remove the assert as it can!
14647
14648         * lyxtext.h: added helper function firstRow returning firstrow and
14649         made firstrow private again.
14650
14651         * BufferView2.C (lockInset): don't relock if we're already locked!
14652
14653         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14654         the only paragraph.
14655         (removeRow): added Assert::(firstrow)
14656
14657         * debug.C: forgot to add INSETTEXT here.
14658
14659 2001-11-28  Juergen Vigna  <jug@sad.it>
14660
14661         * sp_spell.C (initialize): changed error text to more general
14662         spellchecker command use (not only ispell!)
14663
14664         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14665
14666         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14667
14668 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14669
14670         * vspace.C: initialise lyxgluelength on failure
14671
14672 2001-11-28  Allan Rae  <rae@lyx.org>
14673
14674         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14675         declaration & definition that looks like a function declaration.
14676
14677 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14678
14679         * BufferView2.C (copy):
14680         (copyEnvironment): do not clear the selection when doing a copy.
14681
14682         * text.C (paintFirstRow): compilation fix
14683
14684 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14685
14686         * tabular.C (Latex): correct line count when writing latex.
14687
14688 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14689
14690         * paragraph_pimpl.h:
14691         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14692           bug a bit
14693
14694 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14695
14696         * text.C:
14697         * LColor.h:
14698         * LColor.C: change vfillline->added_space
14699
14700         * text.C: add markers and text for added space
14701
14702         * vspace.C: fix comment
14703
14704 2001-11-28  André Pönitz <poenitz@gmx.net>
14705
14706         * paragraph.C: whitespace changes
14707         * all the other files from the change on 2001/11/26:
14708         change *::pos_type into lyx::pos_type
14709
14710 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14711
14712         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14713         language of the document when inserting error insets.
14714
14715 2001-11-26  André Pönitz <poenitz@gmx.net>
14716
14717         * BufferView_pimpl.[Ch]:
14718         *       CutAndPaste.C:
14719         * buffer.[Ch]:
14720         * lyxcursor.[Ch]:
14721         * lyxfind.C:
14722         * lyxfunc.C:
14723         * lyxrow.[Ch]:
14724         * paragraph.[Ch]:
14725         * paragraph_pimpl.[Ch]:
14726         * sp_spell.C:
14727         * text.C:
14728         * text2.C: reduce header dependencies, introduce type for positions
14729
14730 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14731
14732         * <various>: change to use Alert.h
14733
14734 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14735
14736         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14737         when encountering an unknown token.
14738         (readLyXformat2): Show an error message if there were unknown tokens.
14739
14740 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14741
14742         * BufferView2.C:
14743         * BufferView_pimpl.C:
14744         * buffer.C:
14745         * paragraph.h:
14746         * text.C:
14747         * text2.C: use par->isInset()
14748
14749 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14750
14751         * paragraph_pimpl.h:
14752         * paragraph_pimpl.C: cleanup
14753
14754 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14755
14756         * text2.C (removeRow):
14757         * text.C (setHeightOfRow): remove useless (and costly) call to
14758         getRow.
14759
14760 2001-11-20  Allan Rae  <rae@lyx.org>
14761
14762         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14763         Now need Inset*::checkInsertChar() to return true for appropriate
14764         cases so that the characters in the minibuffer will actually be
14765         inserted.
14766
14767 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14768
14769         * text.C: change the order of the includes.
14770         (workWidth): initialize it at once.
14771         (workWidth): make maxw unsigned
14772         (setHeightOfRow): remove unused variable (inset)
14773         (selectSelectedWord): remove unused variable (inset)
14774         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14775
14776 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14777
14778         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14779         server is not running.
14780         (openConnection):
14781         (closeConnection): add debug info when server is disabled.
14782
14783         * ColorHandler.C (getGCForeground): send debug message to GUI
14784         channel.
14785
14786         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14787
14788         * kbmap.C (bind): modify because return conventions of
14789         kb_sequence::parse have changed.
14790
14791         * kbsequence.C (parse): only ignore spaces and not any stupid
14792         control character. This avoids tests like s[i] <= ' ', which are
14793         guaranteed to fail with 8bit characters and signed chars.
14794         Change return code to string::npos when there have been no error
14795         (0 was a bad idea when error is at first character)
14796
14797 2001-11-14  José Matos  <jamatos@fep.up.pt>
14798
14799         * buffer.h:
14800         * buffer.C (simpleDocBookOnePar): removed unused argument.
14801
14802 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14805         insets which are part of a word. Paragraph::isLetter takes care of
14806         that now. Use Paragraph::isInset to identify insets.
14807         (selectSelectedWord): do not test for hyphenation break.
14808
14809         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14810         that protected spaces are considered as spaces.
14811
14812         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14813         Inset::isLetter.
14814
14815 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14816
14817         * lyxserver.h:
14818         * lyxserver.C: fix it. and small cleanup.
14819
14820 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14821
14822         * BufferView_pimpl.C: use inline helpers
14823
14824         * LaTeXFeatures.h:
14825         * LaTeXFeatures.C: fix typos
14826
14827         * Spacing.h:
14828         * Spacing.C: move spacing_string into class
14829
14830         * ToolbarDefaults.C: move stuff into namespace anon
14831
14832         * layout.h: update enum
14833
14834         * lyxfunc.C: use better debug
14835
14836         * minibuffer.h: fix typo
14837
14838         * debug.h:
14839         * debug.C:
14840         * WorkArea.C: add and use Debug::WORKAREA
14841
14842         * lyxtext.h:
14843         * text.C:
14844         * text2.C: code re-organisation, inline helpers
14845
14846 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14847
14848         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14849         std::vector.empty().
14850
14851 2001-11-09  Allan Rae  <rae@lyx.org>
14852
14853         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14854         '\n's after tables.  Tabular and ERT inset work now makes this no
14855         longer necessary.
14856
14857 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14858
14859         * minibuffer.h:
14860         * minibuffer.C: fix crash, improve drop-down completion
14861
14862 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14863
14864         * lyxserver.h:
14865         * lyxserver.C: invalidate fd's when doing endPipe()
14866
14867 2001-11-08  José Matos  <jamatos@fep.up.pt>
14868
14869         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14870         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14871
14872         * paragraph.h:
14873         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14874
14875 2001-11-07  José Matos  <jamatos@fep.up.pt>
14876
14877         * buffer.h:
14878         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14879         const qualifier.
14880
14881         * buffer.C (sgmlOpenTag):
14882         * buffer.C (sgmlCloseTag): removed debug info.
14883
14884         * buffer.h (sgmlOpenTag):
14885         * buffer.h (sgmlCloseTag): made public.
14886
14887 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14888
14889         * buffer.C (saveParamsAsDefaults):
14890         * lyx_cb.C (MenuLayoutSave): remove
14891
14892         * LyXAction.C (init):
14893         * commandtags.h:
14894         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14895
14896 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14897
14898         * buffer.C (setPaperStuff): removed from here...
14899
14900         * bufferparams.C (setPaperStuff): ... and moved there.
14901
14902 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14903
14904         * minibuffer.h:
14905         * minibuffer.C:
14906         * XFormsView.C: add support for drop-down completion
14907
14908 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14909
14910         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14911         commands.
14912
14913 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14914
14915         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14916         disabled.
14917
14918 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14919
14920         * lyx_main.C: change ref to known bugs
14921
14922 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14923
14924         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14925         to work around older babel problems.
14926
14927 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14928
14929         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14930
14931 2001-10-24  Juergen Vigna  <jug@sad.it>
14932
14933         * tabular-old.C (ReadOld): below variable changes reflected.
14934
14935         * tabular.[Ch]: added ltType struct for longtable header/footer
14936         defines and changed all instances where they are used. Added
14937         future support for double top/bottom rows.
14938
14939 2001-10-24  José Matos  <jamatos@fep.up.pt>
14940
14941         * buffer.h (docbookHandleCaption):
14942         * buffer.C (docbookHandleCaption): removed unused function.
14943         (makeDocBookFile): moved docbook supported version to v4.1.
14944
14945 2001-10-24  José Matos  <jamatos@fep.up.pt>
14946
14947         * tabular.h:
14948         * tabular.C (docbookRow): new function to export docbook code of a row.
14949         (DocBook): now honors the longtable flags.
14950
14951 2001-10-23  José Matos  <jamatos@fep.up.pt>
14952
14953         * LaTeXFeatures.h:
14954         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14955         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14956
14957         * buffer.C (makeLinuxDocFile):
14958         (makeDocBookFile): reworked the preamble, more clean, and with
14959         support for lyx defined entities. Changed the document declaration
14960         to be more XML friendly.
14961
14962         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14963         if we need to output XML that should be done with a filter.
14964
14965 2001-10-22  Juergen Vigna  <jug@sad.it>
14966
14967         * sp_pspell.h (class PSpell): add alive function needed in the
14968         controller to see if the spellchecker could be started.
14969
14970 2001-10-22  Juergen Vigna  <jug@sad.it>
14971
14972         * buffer.C (insertStringAsLines): modify the font for inserting
14973         chars in certain conditions by calling checkInsertChar(font).
14974
14975 2001-10-19  Juergen Vigna  <jug@sad.it>
14976
14977         * text.C (workWidth): use getRow instead of wrong algorithm.
14978         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14979
14980 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14981
14982         * lyxserver.h:
14983         * lyxserver.C:
14984         * lyx_main.h:
14985         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14986
14987 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14988
14989         * text.C (workWidth): do not search for the exact row when
14990         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14991         optimization for big documents.
14992
14993 2001-10-18  Juergen Vigna  <jug@sad.it>
14994
14995         * text.C (workWidth): new function with added Inset * parameter.
14996
14997 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14998
14999         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15000
15001         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15002         change return type of getColumnNearX.
15003
15004
15005         * text.C (changeRegionCase): use uppercase/lowercase instead of
15006         toupper/tolower.
15007         (leftMargin):
15008         (rightMargin): simplify code by factoring out the uses of
15009         textclasslist.
15010         (labelFill):
15011         (numberOfHfills):
15012         (setHeightOfRow):
15013         (appendParagraph): use Paragraph::size_type
15014
15015 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15016
15017         * vspace.C (asLatexString): add a missing break
15018
15019 2001-10-15  Herbert Voss  <voss@perce.de>
15020
15021         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15022
15023 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15024
15025         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15026         is not available.
15027
15028 2001-10-10  André Pönitz <poenitz@gmx.net>
15029
15030         * lyxfunc.C: removed greek_kb_flag.
15031
15032 2001-10-10  Herbert Voss  <voss@perce.de>
15033
15034         * lyx_main.C: delete global string help_lyxdir.
15035
15036 2001-10-09  Herbert Voss  <voss@perce.de>
15037
15038         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15039
15040         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15041
15042         * lyx_main.C: added global string help_lyxdir.
15043
15044         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15045
15046 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15047
15048         * lyxrc.C (set_font_norm_type): support iso8859-4
15049
15050 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15051
15052         * LaTeX.C (deplog): add another regex for MikTeX
15053
15054 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15055
15056         * lyxrc.C (set_font_norm_type): support iso8859-3
15057
15058 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15059
15060         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15061
15062         * LaTeXFeatures.C: remove special case of french and index
15063
15064         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15065         before \begin{document}). This solves several incompatibilities.
15066
15067 2001-10-03  Garst Reese  <reese@isn.net>
15068
15069         * lyx_cb.C: change CheckTex error msg.
15070
15071 2001-10-03  José Matos  <jamatos@fep.up.pt>
15072
15073         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15074
15075 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15076
15077         * .cvsignore: update
15078
15079         * lyx_main.C (commandLineVersionInfo): use new style version info.
15080
15081         * buffer.C (writeFile):
15082         (makeLaTeXFile):
15083         (makeLinuxDocFile):
15084         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15085
15086         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15087
15088         * version.h: update to use stuff in version.C
15089
15090         * version.C.in: new file. Contains version information determined
15091         at compile time. This is a merging of version.h and
15092         version_info.h.in.
15093
15094 2001-10-03  Juergen Vigna  <jug@sad.it>
15095
15096         * BufferView_pimpl.C (update): don't change "dirty" status in
15097         updateInset call.
15098
15099 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15100
15101         * WorkArea.C (c-tor): re-position version string slightly.
15102
15103 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15104
15105         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15106         revert to previous code.
15107
15108         WorkArea.[Ch]: (show, destroySplash): methods removed.
15109
15110         WorkArea.C: rework code so that it's an amalgam of the codes before and
15111         after the splash screen was moved to WorkArea.
15112
15113 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15114
15115         * lyxrc.C (read):
15116         * vspace.C (inPixels):
15117         (lyx_advance):
15118         * kbmap.C (bind):
15119         * buffer.C (insertStringAsLines):
15120         (asciiParagraph): fix types to be large enough
15121
15122         * lyxlex_pimpl.h: change member status from short to int
15123
15124         * layout.h: fix type of endlabeltype
15125
15126         * kbmap.C (bind):
15127         * kbsequence.C (parse): change return type to string::size_type
15128
15129         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15130         variable
15131
15132         * Bullet.C (bulletSize):
15133         (bulletEntry): do not use short ints as parameters
15134
15135         * BufferView2.C (insertLyXFile): change a char to an int.
15136
15137         * WorkArea.C (WorkArea): remove unneeded floats in computation
15138
15139 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15140
15141         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15142
15143         * paragraph.C (asString): Do not ignore newline/hfill chars when
15144         copying to the clipboard.
15145
15146 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15147
15148         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15149         after a multi-line inset.
15150
15151 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15152
15153         * paragraph.C (validate): Set NeedLyXFootnoteCode
15154
15155 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15156
15157         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15158         and decrease-error to decrease.
15159
15160 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15161
15162         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15163         it more readable (should be equivalent)
15164
15165 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15166
15167         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15168
15169 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15170
15171         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15172         of a cursor (row, etc.) after a character has been deleted
15173         (deleteEmptyParagraphMechanism): call the method above on _all_
15174         cursors held by the LyXText when a double space has been
15175         detected/deleted.
15176
15177 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15178
15179         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15180         pixmap.
15181         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15182
15183         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15184         background. Use greyOut() and the new show() methods to toggle between
15185         the foreground and background. Add code to remove the splash after
15186         its initial showing.
15187
15188         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15189         (create_forms): no longer call Dialogs::showSplash.
15190
15191 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15192
15193         * .cvsignore: add version_info.h
15194
15195 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15196
15197         * version_info.h.in: new file
15198
15199         * Makefile.am: add version_info.h.in
15200
15201         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15202         version_info.h instead of VERSION_INFO
15203
15204 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15205
15206         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15207         The ERT inset now returns string().
15208
15209 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15210
15211         * lyxtext.h, text.C (selectNextWord): renamed as
15212         selectNextWordToSpellcheck.
15213
15214         * text.C (selectNextWordToSpellcheck): Modified to not select
15215         words inside an ERT inset.
15216
15217 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15218
15219         * lyx_cb.C (MenuLayoutSave): change a bit the question
15220
15221         * sp_base.h: include <sys/types.h>
15222
15223 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15224
15225         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15226
15227 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15228
15229         * several files: fix typos in user-visible strings
15230
15231 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15232
15233         * text2.C (pasteSelection): do not set the selection, since it
15234         will be cleared later. Actually, the intent was to fix the way the
15235         selection was set, but I figured rmoving the code was just as good.
15236
15237 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15238
15239         * FontLoader.C (available): Check if font is available without
15240         loading the font.
15241
15242 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15243
15244         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15245
15246 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15247
15248         * lyxrc.[Ch]: added display_graphics variable and associated code.
15249
15250 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15251
15252         * bufferparams.C (hasClassDefaults): new method. Returns true if
15253         the buffer parameters correspond to known class defaults
15254
15255 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15256
15257         * XFormsView.C (show): set minimum size to the main window.
15258
15259 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15260
15261         * text2.C (copySelection):
15262         (cutSelection):
15263         * lyxfind.C (LyXReplace):
15264         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15265         LyXText::selectionAsString.
15266
15267         * paragraph.C (asString): add "label" argument to the second form
15268
15269         * text2.C (selectionAsString): add "label" argument and pass it to
15270         Paragraph::asString.
15271
15272 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15273
15274         * lyx_main.C (commandLineHelp): remove version information
15275
15276 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15277
15278         * lyx_main.C: add -version commandline option
15279
15280 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15281
15282         * paragraph.h: make the optional constructor arg required instead.
15283         some modifications to other files because of this.
15284
15285         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15286
15287         * lyxserver.C (C_LyXComm_callback): make it static
15288
15289         * lyx_main.C (error_handler): make it static
15290
15291         * lyx_gui.C (LyX_XErrHandler): make it static
15292
15293         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15294
15295         * WorkArea.C: make the extern "C" methods static.
15296
15297         * Makefile.am (lyx_LDADD): simplify
15298
15299 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15300
15301         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15302         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15303
15304         * LyXAction.C (init):
15305         * lyxfunc.C (dispatch): associated code removal.
15306
15307 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15308
15309         * lyxfont.h (isSymbolFont): shut off warning
15310
15311         * text.C (setHeightOfRow):
15312         (getVisibleRow): fix crash with empty paragraphs which have a
15313         bottom line
15314
15315 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15316
15317         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15318         code.
15319
15320 2001-09-04  José Matos  <jamatos@fep.up.pt>
15321         * buffer.C
15322         * buffer.h
15323         * tabular.C (docbook): rename docBook method to docbook.
15324
15325 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15326
15327         * Makefile.am: add dependencies to main.o.
15328
15329 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15330
15331         * FontLoader.C (available): Return false if !lyxrc.use_gui
15332
15333 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15334
15335         * FontInfo.C (query):
15336         * converter.C (view):
15337         * importer.C (Import):
15338         * exporter.C (Export): Can not -> cannot.
15339
15340 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15341
15342         * BufferView_pimpl.C: allow to create index inset even if
15343           string is empty
15344
15345 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15346
15347         * buffer.C (getLists): replace boost::tie code with an explicit pair
15348         as boost::tie can break some compilers.
15349
15350         * iterators.h: Added a std:: declaration to the return type of
15351         ParIterator::size.
15352
15353 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15354
15355         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15356           case.
15357
15358 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15359
15360         * iterators.[Ch]: New files. Provide paragraph iterators.
15361
15362         * buffer.C (changeLanguage): Use paragraph iterators.
15363         (isMultiLingual): ditto
15364
15365         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15366
15367 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15368
15369         * FontLoader.C: Support for cmr font.
15370
15371 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15372
15373         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15374         (available): New method.
15375
15376         * FontInfo.C (getFontname): Use scalable fonts even when
15377         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15378         found.
15379
15380 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15381
15382         * converter.C (Formats::view): reverted! Incorrect fix.
15383
15384 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15385
15386         * converter.C (Formats::view): only output the -paper option
15387         if the dvi viewer is xdvi, thereby fixing bug #233429.
15388
15389 2001-08-23  Herbert Voss  <voss@perce>
15390
15391         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15392
15393 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15394
15395         * Spacing.h (Spacing): Set space to Default on in the default
15396         constructor.
15397
15398 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15399
15400         * vc-backend.h (RCS::versionString): add RCS to version
15401         (CVS::versionString): add CVS to version
15402
15403         * vc-backend.C (scanMaster): do not add CVS to version.
15404         (scanMaster): do not add RCS to version
15405
15406         * lyxvc.C (versionString): new method
15407
15408         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15409
15410 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15411
15412         * Spacing.C (set): initialize fval
15413
15414 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15415
15416         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15417         " or \.
15418
15419 2001-08-16  Juergen Vigna  <jug@sad.it>
15420
15421         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15422
15423 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15424
15425         * BufferView_pimpl.C:
15426         * figureForm.C:
15427         * lyxtext.h:
15428         * text2.C: setParagraph takes linespacing now
15429
15430 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15431
15432         * LyxAction.C: add internal LFUN_CITATION_INSERT
15433
15434         * LyXView.C: actually apply fix
15435
15436         * bufferlist.C: fix open non-existent file
15437
15438         * lyxfind.C: fix indentation
15439
15440         * lyxfunc.C: remove unneeded assert, fix typo
15441
15442 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15443
15444         * MenuBackend.C: use "Floatname List"
15445
15446 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15447
15448         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15449         when converting LaTeX layout to insetERT.
15450         Generate a non-collapsed float when reading old float
15451
15452 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15453
15454         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15455         ERT insets.
15456
15457 2001-08-13  Juergen Vigna  <jug@sad.it>
15458
15459         * text.C (fill): return 0 instead of 20 as this seems to be the more
15460         correct value.
15461
15462 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15463
15464         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15465         lyxrc.font_norm.
15466
15467 2001-08-13  Juergen Vigna  <jug@sad.it>
15468
15469         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15470         casesensitive off.
15471         (SearchBackward): comment out the unlocking of the inset_owner this
15472         should not be needed!
15473
15474 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15475
15476         * Many files: Remove inherit_language, and add latex_language
15477
15478         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15479         collapsible insets.
15480
15481 2001-08-10  Juergen Vigna  <jug@sad.it>
15482
15483         * text.C (prepareToPrint): fixed hfill-width in draw!
15484
15485         * BufferView2.C (selectLastWord): save the selection cursor as this
15486         now is cleared in the function LyXText::clearSelection!
15487
15488 2001-08-08  Juergen Vigna  <jug@sad.it>
15489
15490         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15491         BACKSPACE type functions.
15492
15493         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15494         is only cutted from the document but not put in the cut-buffer, where
15495         still the old stuff should be.
15496
15497         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15498
15499         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15500
15501         * tabular.C (SetWidthOfCell): fixed special case where the width
15502         was not updated!
15503         (LeftLine): handle '|' in align_special.
15504         (RightLine): ditto
15505         (LeftAlreadyDrawed): ditto
15506         (SetWidthOfCell): ditto
15507
15508 2001-08-07  Juergen Vigna  <jug@sad.it>
15509
15510         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15511
15512 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15513
15514         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15515         * lyxlex.[hC]: ditto
15516
15517 2001-08-06  Juergen Vigna  <jug@sad.it>
15518
15519         * text.C (getVisibleRow): fix up row clearing a bit.
15520
15521 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15522
15523         * minibuffer.C: make sure the X server sees the changes in the input.
15524
15525 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * paragraph.C (getFont): split into...
15528         (getLabelFont): this
15529         (getLayoutFont): and this
15530         * paragraph_pimpl.C (realizeFont): calling this
15531
15532         * text2.C (getFont): split into...
15533         (getLayoutFont): this
15534         (getLabelFont): and this
15535         (realizeFont): all three calling this
15536
15537         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15538         files where used.
15539
15540 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15543
15544 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15545
15546         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15547         layouts from the Quote inset insertion.
15548
15549 2001-08-03  Juergen Vigna  <jug@sad.it>
15550
15551         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15552
15553         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15554         only if status not is already CHANGED_IN_DRAW (second level).
15555
15556         * text.C (draw): don't set the need_break_row when inside an
15557         InsetText LyXText.
15558
15559 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15560
15561         * buffer.C (parseSingleLyXformat2Token): handle more latex
15562         conversion cases.
15563
15564         * bufferview_funcs.[hC]: change function names to
15565         begin with small char, adjust other files.
15566
15567 2001-08-02  André Pönitz <poenitz@gmx.net>
15568
15569         * lyxfunc.C:
15570         BufferView_pimpl.C: remove broken special code for math-greek
15571
15572 2001-08-02  Juergen Vigna  <jug@sad.it>
15573
15574         * BufferView_pimpl.C (update): redone this function so that we
15575         update the text again if there was a CHANGE_IN_DRAW.
15576
15577         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15578         (drawFromTo): added a new internal bool which is used by draw() and
15579         redraw() function.
15580         (general): some cursor drawing problems fixed.
15581
15582 2001-08-01  Juergen Vigna  <jug@sad.it>
15583
15584         * lyxfind.C (LyXFind): fixed
15585         (SearchForward): ditto
15586         (SearchBackward): ditto
15587
15588         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15589         spurius drawing of the cursor in the main area.
15590
15591         * text2.C (status): small fix which could lead to a segfault!
15592         (clearSelection): remove unneeded BufferView param.
15593
15594 2001-08-01  André Pönitz <poenitz@gmx.net>
15595
15596         * lyxfunc.C: small change due to changed mathed interface
15597
15598 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15599
15600         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15601
15602 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15603
15604         * lyxfunc.c: fail gracefully if file doesn't exist
15605
15606         * LyXSendto.C:
15607         * buffer.C:
15608         * lyxfunc.C:
15609         * BufferView_pimpl.C: IsDirWriteable() proto changed
15610
15611         * LyXView.C: fix updateWindowTitle() to store the last title
15612
15613 2001-07-31  Juergen Vigna  <jug@sad.it>
15614
15615         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15616         the font (wrong since using of Paragraph::highestFontInRange).
15617
15618         * paragraph.C (highestFontInRange): added a default_size parameter.
15619
15620         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15621         (setHeightOfRow): reformat
15622
15623 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15624
15625         * converter.[hC] + affected files: move to (inital-char)lowercase
15626         function names.
15627
15628         * ParagraphParameters.C (ParagraphParameters): remove commented code
15629
15630         * PainterBase.[Ch]: remove commented code
15631
15632         * LaTeXFeatures.h: add "bool floats" for float.sty
15633
15634         * LaTeXFeatures.C (LaTeXFeatures): init floats
15635         (require): handle float
15636         (getPackages): do it with floats
15637
15638 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15639
15640         * BufferView_pimpl.C (Dispatch): improve handling of
15641         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15642
15643         * commandtags.h: #include lyxfont.h here temporarily to avoid
15644         keybinding bug.
15645
15646         * bufferlist.h: include LString.h here.
15647
15648 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15649
15650         * text2.C (getStringToIndex): new method.
15651
15652 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15653
15654         * *: Reduced header file dependencies all over.
15655
15656 2001-07-30  Baruch Even  <baruch@lyx.org>
15657
15658         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15659
15660 2001-07-29  Baruch Even  <baruch@lyx.org>
15661
15662         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15663
15664 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15665
15666         * ParameterStruct.h (endif): add a default constructor to make
15667         sure that all variables is initialized.
15668
15669         * ParagraphParameters.C (ParagraphParameters): adjust
15670
15671 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15672
15673         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15674         index; also, check that there is something to index, and that it
15675         does not span over several paragraphs.
15676         (doubleClick): use WHOLE_WORD_STRICT for double click.
15677
15678         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15679
15680         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15681         scheme.
15682
15683 2001-07-26  Baruch Even  <baruch@lyx.org>
15684
15685         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15686         an InsetFig figure, backwards compatible reading of old figure code.
15687
15688 2001-07-27  Juergen Vigna  <jug@sad.it>
15689
15690         * text2.C: font.realize function adaption.
15691
15692         * text.C (draw): add a warnings lyxerr text if needed.
15693
15694         * layout.C: font.realize function adaption.
15695
15696         * language.C: add inherit_language and implement it's handlings
15697
15698         * bufferview_funcs.C (StyleReset): remove language parameter from
15699         font creation (should be language_inherit now).
15700
15701         * bufferparams.C (writeFile): handle ignore_language.
15702
15703         * paragraph.C (getFontSettings): the language has to be resolved
15704         otherwise we have problems in LyXFont!
15705
15706         * lyxfont.C (lyxWriteChanges): added document_language parameter
15707         (update): removed unneeded language parameter
15708
15709         * paragraph.C (validate): fixed wrong output of color-package when
15710         using interface colors for certain fonts in certain environments,
15711         which should not seen as that on the final output.
15712
15713 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15714
15715         * BufferView_pimpl.C:
15716         * Thesaurus.h:
15717         * Thesaurus.C:
15718         * Makefile.am:
15719         * commandtags.h:
15720         * LyXAction.C: add thesaurus support
15721
15722         * lyxfind.h:
15723         * lyxfind.C: add "once" parameter, for thesaurus, to not
15724           move to the next match
15725
15726 2001-07-26  Juergen Vigna  <jug@sad.it>
15727
15728         * lyxfont.C (realize): honor ignore_language too!
15729         (resolved): ditto.
15730
15731         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15732
15733         * text.C (draw): one place more for ignore_language to not draw
15734         itself!
15735
15736 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15737
15738         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15739
15740 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15741
15742         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15743         the minipage conversion problem.
15744
15745 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15746
15747         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15748         insert an inset.
15749
15750 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15751
15752         * BufferView.h: don't forward declare WorkArea
15753
15754         * BufferView.C: don't include WorkArea.h
15755
15756 2001-07-25  André Pönitz <poenitz@gmx.net>
15757
15758         * commandtags.h:
15759         * LyXAction.C:
15760         * lyxfunc.C:  new LFUN 'math-space'
15761
15762         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15763
15764 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15765
15766         * text2.C (toggleInset): call open/close
15767
15768 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15769
15770         * lyxfunc.C (dispatch): add debug for the disabled case
15771
15772         * font.C (buttonText): make similar to rectText
15773
15774         * buffer.C (readInset): comment out parsing of insetlist and
15775         insttheorem
15776
15777         * PainterBase.C (rectText): small correction
15778
15779         * BufferView_pimpl.C: comment out insettheorem and insetlist
15780         * LyXAction.C: ditto
15781         * commandtags.h: ditto
15782
15783 2001-07-24  Juergen Vigna  <jug@sad.it>
15784
15785         * text.C (draw): honor the ignore_language.
15786
15787         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15788
15789 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15790
15791         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15792         char inset.
15793
15794 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15795
15796         * lyxtext.h: remove unused (and unimplemented) methods
15797
15798 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15799
15800         * text.C (getVisibleRow): honor background color
15801
15802         * PainterBase.h:
15803         * Painter.h: remove default color argument for fillRectangle
15804
15805         * text.C (backgroundColor): new method
15806
15807 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15808
15809         * text.C (getVisibleRow): adjust
15810
15811         * font.[Ch] (rectText): new method, metrics
15812         (buttonText): new method, metrics
15813
15814         * PainterBase.[hC]: make rectText and buttonText always draw and take
15815         fewer paramteres.
15816
15817 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15818
15819         * ToolbarDefaults.C (read):
15820         * MenuBackend.C (read): allow escaping in all strings
15821
15822         * BufferView_pimpl.C (insertAndEditInset): new method.
15823         (Dispatch): use insertAndEditInset whenever appropriate.
15824
15825         * BufferView_pimpl.C (insertNote): removed
15826
15827         * BufferView_pimpl.C (smartQuote): new method, moved from
15828         BufferView; if an insetquote cannot be inserted, insert a '"'
15829         character instead.
15830
15831         * BufferView2.C: remove insertCorrectQuote();
15832
15833         * lyxfunc.C (getStatus): Add support for all remaingin
15834         inset-insert lfuns.
15835
15836         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15837
15838         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15839         command (necessary to pass " as parameter of self-insert.
15840
15841         * text.C (selectWordWhenUnderCursor):
15842         (selectWord): add word_location parameter
15843         (selectWordWhenUnderCursor): same + remove special code for word
15844         boundary.
15845         (selectNextWord): use kind() to guess type of insetspecialchar,
15846         not latex().
15847
15848         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15849         (insertErtContents): create ert insets as collapsed.
15850         (readInset): better compatibility code for Info inset.
15851
15852 2001-07-20  Juergen Vigna  <jug@sad.it>
15853
15854         * lyxfunc.C (dispatch): use always LyXFind now!
15855
15856         * text2.C (init): add a reinit flag so that the LyXText can be
15857         reinited instead of deleted and reallocated (used in InsetText).
15858
15859         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15860
15861         * text.C: ditto
15862
15863         * text2.C: ditto
15864
15865 2001-07-18  Juergen Vigna  <jug@sad.it>
15866
15867         * text.C (selectNextWord): handle insets inside inset by calling
15868         always the bv->text functions so that we can go up the_locking_inset!
15869
15870         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15871         in strange locations when inside an inset!
15872
15873         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15874         handling to include insets.
15875
15876         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15877
15878 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15879
15880         * LyXAction.C (init):
15881         * commandtags.h:
15882         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15883         LIGATURE_BREAK, since the name is so stupid.
15884
15885 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15886
15887         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15888         InsetInfos.
15889
15890         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15891
15892         * sp_form.[Ch]: remove.
15893
15894         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15895
15896         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15897         InsetInfo.
15898
15899         * src/buffer.C (readInset): ditto.
15900
15901 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15902
15903         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15904         menuSeparator(), endOfSentenceDot(), ldots() and
15905         hyphenationPoint(), which are therefore removed.
15906         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15907
15908         * LyXAction.C (init):
15909         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15910
15911         * paragraph.C (getWord): removed.
15912
15913         * BufferView_pimpl.C (Dispatch): use last word or selection for
15914         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15915
15916         * lyx_main.C (queryUserLyXDir): do not ask before creating
15917         user_dir, except if it has been named explicitely.
15918
15919 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15920
15921         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15922         a document of zero size.
15923
15924 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15925
15926         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15927         approriately in the c-tor and in require().
15928         (getPackages): output the appropriate LaTeX for natbib support.
15929
15930         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15931         variables "use_natbib" and "use_numerical_citations" when reading the
15932         LyX file.
15933         (readInset): read the various natbib cite commands.
15934         (validate): white-space change.
15935
15936         * bufferparams.[Ch]: new variables "bool use_natbib" and
15937         "bool use_numerical_citations".
15938         (writeFile): output them in the LyX file.
15939
15940 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15941
15942         * lyxfunc.C (getStatus): add support for all the inset insertion
15943         commands.
15944
15945         * text2.C (insertInset):
15946         * paragraph.C (insetAllowed):
15947         * BufferView_pimpl.C (insertInset): update to take in account the
15948         renaming of insertInsetAllowed
15949
15950         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15951
15952         * text2.C (getInset): new method. returns inset at cursor position.
15953
15954         * BufferView_pimpl.C (Dispatch): changes because of this.
15955
15956         * LyXAction.C (init): rename open-stuff to inset-toggle.
15957
15958         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15959
15960         * text2.C (toggleInset): renamed from openStuff; use
15961         Inset::open().
15962
15963 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15964
15965         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15966
15967         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15968
15969 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15970
15971         * buffer.C (readLyXformat2): Add filename to the error dialog
15972
15973 2001-07-18  Juergen Vigna  <jug@sad.it>
15974
15975         * tabular.C (GetCellNumber): put an assert here instead of the check!
15976
15977 2001-07-17  Juergen Vigna  <jug@sad.it>
15978
15979         * BufferView_pimpl.C (toggleSelection): adapted too.
15980
15981         * text.C (selectNextWord): adapted for use with insets.
15982         (selectSelectedWord): ditto
15983
15984 2001-07-17  Juergen Vigna  <jug@sad.it>
15985
15986         * sp_spell.C (PSpell): fix initialitation order.
15987
15988 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15989
15990         * paragraph.C: spacing
15991
15992 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15993
15994         * sp_spell.C: repair language selection for pspell
15995
15996 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15997
15998         * lyxfunc.h: change more methods to begin with lower char.
15999
16000 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16001
16002         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16003         for unknown layouts.
16004
16005 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16006
16007         * buffer.C (readLyXformat2): Generate an error dialog if there are
16008         unknown layouts.
16009
16010 2001-07-16  Juergen Vigna  <jug@sad.it>
16011
16012         * sp_spell.C: always compile ISpell part.
16013
16014         * lyxrc.C: added use_pspell entry and it's handling.
16015
16016 2001-07-13  Juergen Vigna  <jug@sad.it>
16017
16018         * sp_spell.C: removed double includes.
16019
16020 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16021
16022         Consistent use of Lsstream.h:
16023         * Lsstream.h: added using std::stringstream for consistencies sake.
16024
16025         * buffer.C: removed using std::stringstream
16026
16027         * lyxfont.C (stateText):
16028         * paragraph.C (asString):
16029         * text.C (selectNextWord, selectSelectedWord):
16030         * text2.C (setCounter):
16031         * vspace.C (asString, asLatexString):
16032         std::ostringstream -> ostringstream.
16033
16034 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16035
16036         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16037         * commandtags.h: add LFUN_HELP_ABOUTLYX
16038         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16039
16040 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16041
16042         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16043         cursorToggle()
16044         * lyx_gui_misc.C: remove spellchecker
16045         * lyxfunc.C: showSpellchecker
16046         * sp_base.h: added
16047         * sp_ispell.h: added
16048         * sp_pspell.h: added
16049         * sp_spell.C: added
16050         * sp_form.[Ch]: removed
16051         * spellchecker.[Ch]: removed
16052
16053 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16054
16055         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16056         is set.
16057         (simpleTeXSpecialChars): Simply print the input character without
16058         any special translation if pass_thru is set.
16059
16060         * layout.h: Added bool pass_thru to layout class for being able to
16061         implement pass through of a paragraph for Literate Programming.
16062
16063         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16064         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16065         * layout.C (Read): add "passthru" to list of layout tags and add
16066         code to set the pass_thru boolean when it is read.
16067
16068 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16069
16070         * trans_decl.h: remove allowed from KmodInfo
16071
16072         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16073         remove allowed code
16074         (Load): adjust
16075
16076         * paragraph_pimpl.C (erase): use boost::prior
16077
16078         * Painter.C (text): use data() instead of c_str() when length is
16079         also provided.
16080         * WorkArea.C (putClipboard): ditto
16081         * font.h (width): ditto
16082
16083         * BufferView2.C: use it-> instead of (*it). for iterators
16084         * texrow.C: ditto
16085         * paragraph_pimpl.C: ditto
16086         * paragraph.C: ditto
16087         * minibuffer.C: ditto
16088         * language.C: ditto
16089         * kbmap.C: ditto
16090         * encoding.C: ditto
16091         * counters.C: ditto
16092         * converter.C: ditto
16093         * chset.C: ditto
16094         * Variables.C: ditto
16095         * TextCache.C: ditto
16096         * MenuBackend.C: ditto
16097         * LyXAction.C: ditto
16098         * LColor.C: ditto
16099         * FloatList.C: ditto
16100         * DepTable.C: ditto
16101         * ColorHandler.C (LyXColorHandler): ditto
16102
16103 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16104
16105         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16106
16107         * text2.C (openStuff): reintroduce this method (which had been
16108         nuked in NEW_INSETS frenzy).
16109
16110         * lyxfunc.C (Dispatch): when an action has not been handled, use
16111         its name in the error message, not its number.
16112
16113         * paragraph.C (inInset): change method name to begin with lowercase.
16114
16115         * undo_funcs.C:
16116         * text2.C: updates because of this.
16117
16118 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16119
16120         * ToolbarDefaults.C (add): add spaces in error message
16121
16122 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16123
16124         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16125         (readLyXformat2): rename return_par to first_par, use lyxlex's
16126         pushToken and remove the manual push handling.
16127         (parseSingleLyXformat2Token): add another ert comp. variable:
16128         in_tabular, rename return_par to first_par. handle newlines better
16129
16130 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16131
16132         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16133
16134 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16135
16136         * text2.C (getParFromID): removed
16137
16138         * buffer.C (getParFromID): new method moved form lyxtext.
16139         * BufferView2.C (insertErrors): adjust
16140         (setCursorFromRow): adjust
16141         * BufferView_pimpl.C (restorePosition): adjust
16142         * lyxfunc.C (Dispatch): adjust
16143         * undo_funcs.C (textUndo): adjust
16144         (textRedo): adjust
16145         (textHandleUndo): adjust
16146         (textHandleUndo): adjust
16147
16148 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16149
16150         * buffer.C: up' the LYX_FORMAT
16151
16152         * lyxfont.h: turn NO_LATEX on as default
16153
16154         * buffer.C (insertErtContents): new methods of tex style compability.
16155         (parseSingleLyXformat2Token): use it several places.
16156         * tabular.C (OldFormatRead): and here
16157
16158 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16159
16160         * text2.C: remove some commented code.
16161         reindent file.
16162
16163         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16164         * trans.C: changes because of the above.
16165
16166 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16167
16168         * text2.C (setCounter): Fix counters bug with bibliography layout.
16169
16170 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16171
16172         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16173         own member functions
16174         (simpleTeXSpecialChars): ditto
16175
16176 2001-07-06  Juergen Vigna  <jug@sad.it>
16177
16178         * a lot of files: changed the access to LyXText::status and the
16179         call of undo-functions.
16180
16181         * undo.[Ch]: added a inset_id to the undo informations.
16182
16183         * undo_funcs.[Ch]: added and moved here all undo functions.
16184
16185         * lyxtext.h: give the status enum a weight, made status_ a private
16186         variable and made accessor functions for it, removed the whole bunch
16187         of undo-functions as they are now in their own file, make some
16188         functions publically available. Added function ownerParagraph with
16189         int parameter.
16190
16191         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16192         made InInset() a const function, added getParFromID() function.
16193
16194         * buffer.[Ch]: added const version for inset_iterator functions,
16195         added getInsetFromID() function.
16196
16197         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16198         changed undo functions for new version.
16199
16200 2001-07-05  Juergen Vigna  <jug@sad.it>
16201
16202         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16203         unknow mechanism does not call the proper constructor but only this
16204         one also if I request the other!?
16205
16206 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16207
16208         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16209
16210         * text2.C (LyXText): use initialization lists.
16211
16212         * lyxtext.h (Selection): initialize set_ and mark_
16213         (init): remove method
16214
16215 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16216
16217         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16218
16219 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16220
16221         * screen.[Ch]: change method names to begin with lowercase
16222
16223         * BufferView_pimpl.C (updateScrollbar): simplify further and
16224         hopefully make it a bit faster.
16225
16226 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16227
16228         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16229         calling directly xforms functions.
16230
16231         * Painter.C (Painter):
16232         * lyx_cb.C (MenuWrite):
16233         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16234         fl_display.
16235
16236         * lyx_gui.C: remove bogus guiruntime extern declaration.
16237
16238 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16239
16240         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16241         in NEW_INSETS
16242         (redoDrawingOfParagraph): ditto
16243         (redoParagraphs): ditto
16244         (cutSelection): don't create a object for CutAndPaste use the
16245         static method directly
16246         (pasteSelection): ditto
16247
16248         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16249         LyXview (+ rename)
16250
16251 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16252
16253         * modifications to some other files because of this.
16254
16255         * Makefile.am (lyx_SOURCES): add XFormsView
16256
16257         * XFormsView.[Ch]: new files
16258
16259         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16260         the main window. Move the gui dependent stuff to XFormsView
16261
16262 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16263
16264         * tabular.C (GetCellInset): update cur_cell also in the row/col
16265         version of this function.
16266
16267         * lyxfunc.C: no need to include figure_form.h here.
16268
16269         * FontLoader.h:
16270         * lyxfunc.h:
16271         * lyxscreen.h:
16272         * text2.C:
16273         * lyxvc.C: no need to include forms.h here.
16274
16275 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16276
16277         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16278
16279         * lyxfunc.C (Dispatch):
16280         * Spacing.C (set):
16281         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16282         constructor argument.
16283
16284 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16285
16286         * paragraph.C (Paragraph): dont't clear, and just set layout.
16287         (makeSameLayout): use params's copy contructor.
16288
16289         * ParagraphParameters.[Ch] (makeSame): delete method
16290
16291 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16292
16293         * Variables.[Ch]: fix indentation, rename set to isSet
16294
16295 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16296
16297         * lyxfunc.C (Dispatch): fix typo
16298
16299 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16300
16301         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16302         upper_bound.
16303
16304         * bufferlist.C: include assert.h for emergencyWrite().
16305
16306 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16307
16308         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16309           give up at last (bug #425202) !
16310
16311 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16312
16313         * lyx_gui_misc.C:
16314         * sp_form.h:
16315         * sp_form.C:
16316         * spellchecker.h:
16317         * spellchecker.C: strip spellchecker options and bring up
16318           preferences tab instead
16319
16320 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16321
16322         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16323         the istringstream constructor
16324
16325 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16326
16327         * paragraph.C (getLayout): fix return value
16328
16329         * paragraph.h: do not declare getLayout as inline.
16330
16331         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16332
16333 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16334
16335         * lyxcursor.h (operator<): new func
16336         (operator>): new func
16337         (operator>=): new func
16338         (operator<=): new func
16339
16340         * text.C (changeCase): use selection.start and selection.end
16341         (changeRegionCase): require from to be <= to. Require par to be a
16342         valid paragraph.
16343
16344         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16345
16346 2001-06-27  Juergen Vigna  <jug@sad.it>
16347
16348         * text.C (cursorLeftOneWord): changed to return the cursor and added
16349         overlay with BufferView * parameter which calls this one.
16350         (getWord): added
16351         (selectWord): use new getWord function.
16352         (changeCase): renamed from changeWordCase as and extended to work
16353         also on selections.
16354
16355         * lyxtext.h: added enum word_location
16356
16357         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16358         changeCase as this operates now also on selections.
16359
16360 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16361
16362         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16363
16364         * many files: send debug output to Debug::INFO instead of
16365         Debug::ANY.
16366
16367         * converter.C (View):
16368         (Convert):
16369         (Move): send debug output to Debug::FILES instead of console.
16370
16371 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16372
16373         * lyxfunc.C (getStatus): use func_status
16374
16375         * func_status.h: new header, describing the results of
16376         LyXFunc::getStatus;
16377
16378         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16379         LFUN_MATH_HALIGN.
16380
16381 2001-06-25  The LyX Project  <jug@sad.it>
16382
16383         * buffer.C (sgmlOpenTag):
16384         (sgmlCloseTag):
16385         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16386
16387 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16388
16389         * text2.C: remove some dead code
16390
16391         * tabular.C (GetCellInset): store the last cell checked (gotten)
16392
16393         * tabular.h: add the helper for the speedup
16394
16395         * lyxtext.h: remove some dead code
16396
16397 2001-06-26  The LyX Project  <Asger>
16398
16399         * paragraph.C: Change export to LaTeX of alignment to
16400         \begin{center} and family for better roundtrip work with reLyX.
16401
16402         * Tune the math drawing a bit.
16403
16404 2001-06-25  The LyX Project  <Asger>
16405
16406         * LColor.C (LColor): New color for math background. New color
16407         for buttons.
16408
16409 2001-06-25  The LyX Project  <jug@sad.it>
16410
16411         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16412
16413         * lyxfunc.C (Open):
16414         * bufferlist.C (newFile): do not restrict to files ending with
16415         .lyx
16416
16417         * BufferView_pimpl.C (MenuInsertLyXFile):
16418
16419 2001-06-24  The LyX Project  <jug@sad.it>
16420
16421         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16422         of compare_no_case
16423
16424 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16425
16426         * lyxtext.h: rename most methods to begin with a small char.
16427         Lots of changes because of this.
16428
16429         * paragraph.C (Paragraph): do not call fitToSize
16430         (erase): call Pimpl::erase
16431         (insertChar): call Pimpl::insertChar
16432         (insertInset): call Pipl::insertInset
16433         (breakParagraph): do not call fitToSize
16434         (breakParagraphConservative): do not call fitToSize
16435         (fitToSize): remove method
16436
16437         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16438
16439 2001-06-24  The LyX Project  <Asger>
16440
16441         * Fix Qt compilation^2
16442
16443 2001-06-24  The LyX Project  <jug@sad.it>
16444
16445         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16446         depthHook(getDepth()-1).
16447
16448         * paragraph.h:
16449         * ParagraphParameters.h:
16450         * ParameterStruct.h: change type of depth to unsigned int ==
16451         depth_type. Many adaptations to other files before of that.
16452
16453 2001-06-24  The LyX Project  <Asger>
16454
16455         * Fix Qt compilation.
16456
16457 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16458
16459         * paragraph.h: renamed several methods to begin with small letter.
16460         several changes to many parts of the code because of this.
16461
16462 2001-06-23  The LyX Project  <jug@sad.it>
16463
16464         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16465         rewritten to discard all double spaces when KeepEmpty is off
16466         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16467         to only handle newlines but not fiddle with spaces and friends.
16468
16469         * lyxfunc.C (MenuNew): when doing 'new from template', use
16470         template_path as default directory
16471
16472 2001-06-23  The LyX Project  <Asger>
16473
16474         * Clean-up of header file includes all over
16475         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16476
16477 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16478
16479         * paragraph.h: renamed from lyxparagraph.h
16480
16481 2001-06-23  Asger  <lyx@violet.home.sad.it>
16482
16483         * Buffer.h: Removed Buffer::resize
16484         * BufferList.h: Removed BufferList::resize
16485         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16486         the document lazily when we change the width, or the font settings.
16487
16488 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16489
16490         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16491
16492 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16493
16494         * buffer.h: remove out of date comment
16495
16496 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16497
16498         * lyxscreen.h:
16499         * screen.C: fix "theoretical" GC leak
16500
16501 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16502
16503         * LaTeX.C (scanAuxFile):
16504         (deplog): remove trailing \r when reading stream (useful under
16505         win32)
16506
16507 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16508
16509         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16510         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16511         and BufferView::theLockingInset(Inset*), so should use them and not
16512         access bv_->text->the_locking_inset directly.
16513
16514         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16515
16516 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16517
16518         * Makefile.am:
16519         * tex-defs.h: remove old unused file
16520
16521 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16522
16523         * BufferView_pimpl.C: fix typo, remove minibuffer message
16524           when buffer has loaded
16525
16526 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16527
16528         * lyxfunc.C (Dispatch): use stringstream
16529         (MenuNew): use stringstream
16530         (Open): use stringstream
16531
16532         * importer.C (Import): use stringstream
16533
16534         * bufferview_funcs.C (CurrentState): use stringstream
16535
16536         * LaTeX.C (run): use stringstream
16537
16538         * BufferView_pimpl.C (savePosition): use stringstream
16539         (restorePosition): use stringstream
16540         (MenuInsertLyXFile): use stringstream
16541
16542 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16543
16544         * BufferView.C:
16545         * Bullet.C:
16546         * ColorHandler.C:
16547         * FontInfo.C:
16548         * FontLoader.C:
16549         * LColor.C:
16550         * LaTeXFeatures.C:
16551         * Painter.C:
16552         * gettext.C:
16553         * lyx_gui_misc.C:
16554         * lyxserver.C:
16555         * vspace.C: removed // -*- C++ -*- as first line.
16556
16557         * lyxfind.h:
16558         * version.h: added // -*- C++ -*- as first line.
16559
16560 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16561
16562         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16563
16564         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16565         of string
16566
16567 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16568
16569         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16570         of floats.
16571
16572 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16573
16574         * gettext.C: include LString.h even when --disable-nls is on.
16575
16576 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16577
16578         * converter.h (Get): changed argument type from int to
16579         FormatList::size_type to avoid unnecessary conversion.
16580
16581         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16582         before using it.
16583
16584 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16585
16586         * gettext.h: include LString.h even when --disable-nls is on.
16587
16588 2001-06-07  Juergen Vigna  <jug@sad.it>
16589
16590         * text.C (BreakAgain): subst spaces with tabs.
16591
16592         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16593         (resizeInsetsLyXText): set force on resizeLyXText.
16594
16595 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16596
16597         * gettext.h (gettext_init):
16598         (locale_init): use a real definition instead of a macro
16599
16600 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16601
16602         * Bufferview_pimpl.C:
16603         * LColor.h:
16604         * LColor.C: further lcolor tidies
16605
16606 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16607
16608         * BufferView_pimpl.C (updateScrollbar): simplify.
16609
16610         * BufferView2.C: don't include insets/insetinfo.h, change
16611         prototype for insertInset and call the Pimpl version. let
16612         updateInset call Pimpl version.
16613
16614         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16615         gotoInset to BufferView::Pimpl
16616
16617 2001-06-01  Juergen Vigna  <jug@sad.it>
16618
16619         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16620         inside a LockingInset (is the update needed at all?).
16621
16622 2001-05-31  Juergen Vigna  <jug@sad.it>
16623
16624         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16625         here not the old one otherwise how should we compare it afterwards
16626         if it's the same!
16627
16628 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16629
16630         * lyxfont.C:
16631         * tabular.C:
16632         * tabular-old.C:
16633         * FontInfo.C: bring C functions into global namespace when
16634         necessary
16635
16636 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16637
16638         * LString.h: make sure config.h has been loaded before LString.h.
16639
16640         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16641         (one for each char read by EatLine!).
16642
16643         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16644         variables.
16645
16646 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16647
16648         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16649         to the same as the par we break from
16650
16651 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16652
16653         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16654
16655         * MenuBackend.C (expand): also create menu entries for wide
16656         versions of the floats.
16657
16658         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16659
16660         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16661
16662         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16663         frontends/Makefile.am
16664
16665         * text2.C: adjust
16666         * text.C: adjust
16667
16668
16669         * tabular.C (getTokenValue): add std::
16670
16671         * tabular-old.C (getTokenValue): add std::
16672         (getTokenValue): ditto
16673         (getTokenValue): ditto
16674
16675         * screen.C (ToggleSelection): adjust
16676
16677         * lyxtext.h: put selection cursors inside a Selection struct.
16678
16679         * lyxfunc.C (moveCursorUpdate): adjust
16680
16681         * lyxfont.C (latexWriteStartChanges): add std::
16682
16683         * lyxfind.C: adjust
16684
16685         * font.h: delete with(char const *, LyXFont const &)
16686
16687         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16688
16689         * FontInfo.C (getFontname): add std::
16690
16691         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16692         (workAreaButtonPress): adjust
16693         (tripleClick): adjust
16694         (update): adjust
16695         (moveCursorUpdate): adjust
16696         (Dispatch): adjust
16697
16698         * BufferView2.C (gotoInset): adjust
16699
16700 2001-05-30  Juergen Vigna  <jug@sad.it>
16701
16702         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16703         to check pspell I add this as default as I now have new pspell
16704         libraries and they seem to use this.
16705
16706 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16707
16708         * text2.C (CutSelection): make the cursor valid before the call to
16709         ClearSelection.
16710
16711 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16712
16713         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16714         relied on 0 terminated strings and other horrors. Bug found due to
16715         the new assert in lyxstring!
16716
16717         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16718         KP_ keys.
16719
16720 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16721
16722         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16723         to latinkeys.bind.
16724
16725         * lyxfunc.C (processKeySym): change method of getting to the
16726         self-insert char.
16727
16728         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16729         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16730         * BufferView_pimpl.[Ch]: here as private methods.
16731
16732 2001-05-28  Juergen Vigna  <jug@sad.it>
16733
16734         * text.C (SetHeightOfRow): added the update() call again as it is
16735         needed to initialize inset dimensions!
16736
16737 2001-05-16  Juergen Vigna  <jug@sad.it>
16738
16739         * text2.C (SetCharFont): Add new function with BufferView * and
16740         bool toggleall parameters for setting insets internal fonts.
16741         (SetFont): Freeze the undo as we may change fonts in Insets and
16742         all this change should be inside only one Undo!
16743
16744         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16745         setting font's in insets as for them we have the SetFont function!
16746
16747 2001-05-15  Juergen Vigna  <jug@sad.it>
16748
16749         * text2.C (ClearSelection): to be sure we REALLY don't have any
16750         selection anymore!
16751
16752         * tabular.C (TeXCellPreamble): fixed the left border problem for
16753         multicolumn cells.
16754
16755 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16756
16757         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16758         dependancy file
16759
16760 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16761
16762         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16763         LFUN_BREAKPARAGRAPH.
16764
16765         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16766         help test to "internal only", similar for LFUN_INSERT_URL
16767
16768         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16769         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16770         auto_region_delete and deadkeys.
16771
16772 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16773
16774         * LColor.h:
16775         * LColor.C: remove some dead entries, tidy a little
16776
16777 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16778
16779         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16780         commented code.
16781         (Dispatch): implement LFUN_ESCAPE
16782
16783         * commandtags.h: add LFUN_ESCAPE
16784
16785         * LyXAction.C (init): add entry for LFUN_ESCAPE
16786
16787         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16788         Remove commented code.
16789         (insertNote): moved here
16790         (open_new_inset): moved here
16791
16792         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16793         BufferView_pimpl
16794
16795 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16796
16797         * kbmap.C (findbinding): clean it up and make it work correctly.
16798
16799         * lyx_main.C (init): do not pass argc and argv as parameters
16800
16801 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16802
16803         * buffer.C: fix path for OS/2 & Win32
16804
16805         * lyx_gui.C:
16806         * lyx_main:
16807         * lyx_main.C: Added os:: class.
16808
16809         * os2_defines.h: update
16810
16811 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16812
16813         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16814         better by trying again with reduced state.
16815
16816 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16817
16818         * lyxrc.C (read): print error about invalid key sequence only when
16819         debugging (because not all latinX keysyms are known to some X
16820         servers)
16821
16822         * kbsequence.C (getiso): add a few std:: qualifiers
16823         (getiso): comment out extra return statement.
16824
16825 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16826
16827         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16828         handling.
16829         (Dispatch): enhance the accent inset a bit. (not perfect)
16830
16831 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16832
16833         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16834
16835 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16836
16837         * bufferlist.C (emergencyWrite): fix assert() call
16838
16839 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16840
16841         * text.C (InsertChar): Added trivial patch to only send the "you
16842         can not do multiple spaces this way" message once during a
16843         session.
16844
16845 2001-05-08  Baruch Even  <baruch@lyx.org>
16846
16847         * Makefile.am: Changed order of libraries to get LyX to link properly
16848         with the gnome frontend.
16849
16850 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16851
16852         * LaTeXFeatures.h: add a std:: qualifier
16853
16854 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16855
16856         * paragraph.C (String): use stringstream
16857
16858 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16859
16860         * paragraph.C (writeFile): remove footflag arg
16861
16862         * buffer.C (makeLaTeXFile): use stringstream
16863         (latexParagraphs): remove footnot gurba
16864
16865         * LaTeXFeatures.C (getPackages): use stringstream
16866         (getMacros): likewise
16867         (getTClassPreamble): likewise
16868         (getFloatDefinitions): new method
16869
16870         * paragraph.C (writeFile): reindent
16871         (Erase): reindent
16872
16873         * WorkArea.h: revert the xpos + etc changes.
16874
16875         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16876
16877         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16878
16879         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16880         (pasteSelection): likewise
16881         * text2.C (CreateUndo): likewise
16882
16883 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16884
16885         * minibuffer.C (peek_event): temporarily reduce the functionality
16886         of the minibuffer (to allow args on lfuns)
16887
16888         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16889         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16890
16891         * buffer.C (readInset): add compability reading of old float
16892         lists, add reading of new style float list.
16893         (readInset): avoid reevaluation of inscmd.getCmdName()
16894         (getLists): reindent
16895
16896         * MenuBackend.C (MenuItem): implement parsing of
16897         md_floatlistinsert and md_floatinsert.
16898         (expand::LastFiles): move initalizaton of iterators out of loop,
16899         avoid reevaluation.
16900         (expand::Documents): introduce typdedef vector<string> Strings,
16901         and use it.
16902         (expand::ExportFormats): introduce typedef vector<Format const *>
16903         Formats, and use it.
16904         (expand): implement FloatListInsert and FloatInsert.
16905
16906         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16907         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16908         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16909
16910         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16911         handling.
16912         (Dispatch::LFUN_FLOAT_LIST): implement
16913
16914 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16915
16916         * LaTeX.C (run): Fix problem with --export code.
16917
16918 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16919
16920         * BufferView.[Ch] (workarea): removed.
16921         (getClipboard) new method; wrapper for workarea()->getClipboard()
16922
16923         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16924         bug.
16925
16926         * WorkArea.h (width, height, xpos, ypos): These methods all
16927         returned the dimensions of the work_area sub-area of WorkArea,
16928         resulting in a position error if the WorkArea were resized. Now
16929         return the dimensions of the entire WorkArea.
16930
16931         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16932
16933 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16934
16935         * LaTeX.C (deplog): correct the syntax of regex reg1
16936
16937 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16938
16939         * undo.C: remove !NEW_INSETS cruft
16940
16941 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16942
16943         * text2.C: remove !NEW_INSETS cruft
16944
16945         * text.C: remove !NEW_INSETS cruft
16946
16947         * tabular.C: remove !NEW_INSETS cruft
16948
16949         * spellchecker.C: remove !NEW_INSETS cruft
16950
16951         * lyxtext.h: remove !NEW_INSETS cruft
16952
16953         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16954
16955         * lyxfunc.C: remove !NEW_INSETS cruft
16956
16957         * lyxfind.C: remove !NEW_INSETS cruft
16958
16959         * lyx_cb.C: remove !NEW_INSETS cruft
16960
16961         * figureForm.C: remove  !NEW_INSETS cruft
16962
16963         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16964
16965         * buffer.[Ch]: remove !NEW_INSETS cruft
16966
16967         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16968
16969         * CutAndPaste.C: remove !NEW_INSETS cruft
16970
16971         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16972
16973         * BufferView2.C: remove !NEW_INSETS cruft
16974
16975         * BufferView.h: remove !NEW_INSETS cruft
16976
16977 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16978
16979         * Lsstream.h: include LString.h before the sstream headers to
16980         fix problem with gcc 2.95.3 and lyxstring
16981
16982 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16983
16984         * lyx_main.C: add using directives when needed for C functions
16985         declared in std:: namespace.
16986
16987 2001-04-27  Juergen Vigna  <jug@sad.it>
16988
16989         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16990         (SetHeightOfRow): comment out the update call should not be needed!
16991
16992 2001-04-13  Juergen Vigna  <jug@sad.it>
16993
16994         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16995         (LyXTabular): tried to minimize operator= operations (and realized
16996         hopfully Lars wish).
16997
16998 2001-04-27  Juergen Vigna  <jug@sad.it>
16999
17000         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17001
17002 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17003
17004         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17005
17006         * buffer.C (readInset): hack to make listof algorithm work
17007
17008         * BufferView_pimpl.C: hack to make listof algorithm work
17009
17010 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17011
17012         * LyXAction.C: removed all !NEW_INSETS cruft
17013         (init): moved lfun_item in method
17014
17015         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17016
17017 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17018
17019         * BufferView2.C (theLockingInset): white space.
17020
17021 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17022
17023         * minibuffer.C: include <iostream>
17024
17025         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17026
17027         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17028
17029         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17030
17031         * text.[Ch] (TransposeChars): new method
17032
17033 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17034
17035         * call message directly through LyXView instead of through LyXFunc
17036         * BufferView2.C: adjust
17037         * BufferView_pimpl.C: adjust
17038         * FontLoader.C: adjust
17039         * buffer.C: adjust
17040         * bufferview_funcs.C: adjust
17041         * converter.C: adjust
17042         * figureForm.C: adjust
17043         * importer.C: adjust
17044         * lyx_cb.C: adjust
17045         * lyx_gui_misc.C: adjust
17046         * lyxfunc.C: adjust
17047         * lyxvc.C: adjust
17048         * text2.C: adjust
17049         + more files in subdirs
17050
17051         * lyxparagraph.h (size): move up int file
17052         (GetLayout): ditto
17053
17054         * adjust all uses of Assert to lyx::Assert.
17055
17056         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17057         lyxfunctional in namespace lyx
17058         * layout.C (hasLayout): ditto
17059         (GetLayout): ditto
17060         (GetLayout): ditto
17061         (delete_layout): ditto
17062         (NumberOfClass): ditto
17063         * converter.C (GetFormat): ditto
17064         (GetNumber): ditto
17065         (Add): ditto
17066         (Delete): ditto
17067         (SetViewer): ditto
17068         * bufferlist.C (getFileNames): ditto
17069         (emergencyWriteAll): ditto
17070         (exists): ditto
17071         (getBuffer): ditto
17072         * MenuBackend.C (hasSubmenu): ditto
17073         (hasMenu): ditto
17074         (getMenu): ditto
17075         * BufferView_pimpl.C (getInsetByCode): ditto
17076
17077 2001-04-18  Juergen Vigna  <jug@sad.it>
17078
17079         * vspace.C (asLatexString): fixed the 100% problem.
17080
17081 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17082
17083         * lyxfunc.C (Dispatch):
17084         * minibuffer.C:
17085         * minibuffer.h: add a few std:: qualifiers
17086
17087 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17088
17089         * minibuffer.[Ch]: reimplement so that commands is initiated and
17090         run from lyxfunc, simplified som handling, and made the completion
17091         and history code for complete. wip.
17092
17093         * lyxfunc.C (processKeySym): call message
17094         (miniDispatch): new temporary method
17095         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17096         (LFUN_MESSAGE): implement
17097         (LFUN_MESSAGE_PUSH): implement
17098         (LFUN_MESSAGE_POP): implement
17099         (initMiniBuffer): the initial/defualt minibuffer message.
17100
17101         * lyxfont.[Ch]: inline some more getters
17102
17103         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17104
17105         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17106
17107         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17108         (AutoSave): use LFUN_MESSAGE
17109         (Reconfigure): ditto
17110
17111         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17112
17113         * figureForm.C: use LFUN_MESSAGE
17114
17115         * converter.C (runLaTeX): use LFUN_MESSAGE
17116
17117         * bufferview_funcs.C: use LFUN_MESSAGE
17118         (Melt): ditto
17119         (changeDepth): ditto
17120
17121         * bufferparams.h: use boost::
17122
17123         * bufferlist.h: inherit privately from noncopyable
17124
17125         * bufferlist.C (loadLyXFile): remove some commented code.
17126
17127         * buffer.C (runChktex): use LFUN_MESSAGE
17128
17129         * ShareContainer.h: inherit privately from noncopyable
17130
17131         * ParagraphParameters.[hC] (depth): inline it.
17132
17133         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17134         methods.
17135         (message): new method
17136         (messagePush): ditto
17137         (messagePop): ditto
17138         (show): init minibuffer
17139         (showState): direct call
17140
17141         * LaTeX.[Ch]: inherit privately from noncopyable
17142         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17143         instead of WriteStatus.
17144
17145         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17146
17147         * BufferView_pimpl.C (buffer): don't init minibuffer
17148         (workAreaButtonPress): use LFUN_MESSAGE
17149         (workAreaButtonRelease): ditto
17150         (savePosition): ditto
17151         (restorePosition): ditto
17152         (MenuInsertLyXFile): ditto
17153         (workAreaExpose): don't init minibuffer
17154         (update): remove commented code, simplify
17155
17156         * BufferView2.C (openStuff): use LFUN_MESSAGE
17157         (toggleFloat): ditto
17158         (menuUndo): ditto
17159         (menuRedo): ditto
17160         (copyEnvironment): ditto
17161         (pasteEnvironment): ditto
17162         (copy): ditto
17163         (cut): ditto
17164         (paste): ditto
17165         (gotoInset): ditto
17166         (updateInset): remove some commented code
17167
17168         * lastfiles.h: inherit privately from noncopyable
17169         * layout.h: ditto
17170         * lyx_gui.h: ditto
17171         * lyx_main.h: ditto
17172         * lyxlex.h: ditto
17173         * lyxlex_pimpl.h: ditto
17174
17175         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17176         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17177         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17178
17179         * LyXAction.h: inherit privately from noncopyable, add methods
17180         func_begin, func_end, returning iterators to the func map.
17181
17182         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17183         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17184         (func_begin): new method
17185         (func_end): new method
17186
17187         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17188         and not)
17189         (copySelection): ditto
17190         (pasteSelection): ditto
17191
17192         * BufferView.C: whitespace change
17193         * BufferView.h: inherit privately from noncopyable
17194
17195 2001-04-16  Allan Rae  <rae@lyx.org>
17196
17197         * tabular-old.C (l_getline):
17198         * spellchecker.C (sc_check_word):
17199         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17200         an unrecognised preprocessor directive.  So ensure they're wrapped.
17201
17202 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17203
17204         * src/exporter.C (Export): Give an error message when path to file
17205         contains spaces.
17206
17207 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17208
17209         * LaTeX.C (deplog): Always check that foundfile exists.
17210
17211 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17212
17213         * lyx_main.h:
17214         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17215
17216 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17217
17218         * tabular.[Ch] (getLabelList): implement new method
17219
17220         * minibuffer.h: comment ouf setTiimer
17221
17222         * minibuffer.C (ExecutingCB): constify res
17223         (peek_event): constify s
17224         (Set): constify ntext
17225         (Init): constify nicename
17226
17227         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17228
17229         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17230         (savePosition): use two params to Minibuffer::Set
17231         (restorePosition): ditto
17232
17233 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17234
17235         * lyx_main.C: include language.h
17236
17237         * Makefile.am (lyx_main.o): add language.h
17238
17239 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17240
17241         * exporter.C:
17242         * paragraph.C:
17243         * screen.C:
17244         * tabular.C:
17245         * CutAndPaste.C: include gettext.h
17246
17247         * lyxfont.h: remove old hack with ON and OFF.
17248
17249         * lyxparagraph.h:
17250         * lyxfont.h: do not include language.h...
17251
17252         * BufferView2.C:
17253         * LaTeXFeatures.C:
17254         * Painter.C:
17255         * bufferview_funcs.C:
17256         * font.C:
17257         * lyxfont.C:
17258         * text.C:
17259         * text2.C:
17260         * trans_mgr.C:
17261         * paragraph.C: ... but do it here instead
17262
17263 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17264
17265         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17266
17267         * tabular.C: small reformat
17268
17269         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17270         NEW_INSETS version
17271         (GetChar): ditto
17272         (BreakParagraph): ditto
17273         (SetOnlyLayout): ditto
17274         (SetLayout): ditto
17275
17276         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17277         with one arg less.
17278
17279         * lastfiles.C: removed most using decl, add std:: where needed
17280
17281         * buffer.C: ws changes
17282
17283         * MenuBackend.C (class compare_format): put into anon namespace
17284         (expand): constify label, names, action, action2
17285         (expand):
17286
17287         * text.C (SingleWidth): constify font
17288         (IsBoundary): constify rtl2
17289         (GetVisibleRow): constify ww
17290
17291         * LaTeX.C (deplog): constify logfile
17292
17293         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17294         start_x, end_x
17295         (workAreaExpose): constify widthChange, heightChange
17296
17297         * lyxrow.C (par): moved
17298         (height): moved
17299         (next): moved
17300         * lyxrow.h: as inlines here
17301
17302         * lyxfont.h (shape): moved from lyxfont.C
17303         (emph): moved from lyxfont.C
17304
17305         * lyxfont.C (LyXFont): use initialization list for all
17306         constructors
17307         (shape): move to lyxfont.h as inline
17308         (emph): move to lyxfont.h as inline
17309
17310
17311 2001-04-04  Juergen Vigna  <jug@sad.it>
17312
17313         * vspace.C: had to include stdio.h for use of sscanf
17314
17315 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17316
17317         * BufferView.h:
17318         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17319         independent of xforms.
17320
17321 2001-04-02  Juergen Vigna  <jug@sad.it>
17322
17323         * spellchecker.C: fixed namespace placing!
17324
17325 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17326
17327         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17328         the LyXParagraph * is 0.
17329
17330 2001-03-29  Juergen Vigna  <jug@sad.it>
17331
17332         * vspace.C: added support for %, c%, p%, l%.
17333         (stringFromUnit): added helper function.
17334         (asLatexString): changed to give right results for the %-values.
17335
17336         * buffer.C: convert the widthp in a width%.
17337
17338 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17339
17340         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17341         figureForm.[Ch].
17342
17343         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17344         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17345
17346         * lyx_cb.[Ch]: see above.
17347
17348         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17349         form1.[Ch].
17350
17351         * form1.[Ch]:
17352         * lyx.[Ch]: replaced by figure_form.[Ch].
17353
17354         * lyx_gui.C:
17355         * lyx_gui_misc.C:
17356         * lyxfunc.C: changed headers associated with above changes.
17357
17358 2001-03-27  Juergen Vigna  <jug@sad.it>
17359
17360         * BufferView_pimpl.C: set the temporary cursor right!
17361
17362 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17363
17364         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17365
17366 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17367
17368         * LString.h: removed "using std::getline"!
17369
17370         * BufferView_pimpl.C (Dispatch): changes due to changes in
17371         InsetInclude::Params.
17372
17373         * buffer.C (tag_name): removed redundant break statements as they were
17374         producing lots of warnings with my compiler.
17375
17376 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17377
17378         * LString.h: add "using std::getline" when using the real <string>.
17379
17380 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17381
17382         * buffer.C: removed bitset usage.
17383         PAR_TAG moved to an anonymous name space.
17384         (tag_name): new funtion, also in the anonymous namespace.
17385         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17386         (makeDocBookFile): clean code. Completed transition from string arrays
17387         to string vectors.
17388         (SimpleDocBookOnePar): code clean.
17389
17390 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17391
17392         * tabular.C: add some comments.
17393
17394 2001-03-22  Juergen Vigna  <jug@sad.it>
17395
17396         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17397         compatibility read a bit and fixed bug with minipage in different
17398         depth.
17399
17400 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17401
17402         * buffer.C (pop_tag): removed.
17403         (push_tag): removed.
17404         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17405         array replaced with vector. Added support for CDATA sections.
17406         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17407         at any nest level.
17408         (makeDocBookFile): XML conformant declaration of CDATA section,
17409         fixed bug related to <emphasis> in the first paragraph char.
17410         (sgmlOpenTag): exclude empty tags.
17411         (sgmlCloseTag): ditto.
17412
17413         * buffer.h (pop_tag): removed.
17414         (push_tag): removed.
17415
17416 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17417
17418         * language.h (Languages): added size_type and size().
17419
17420 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17421
17422         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17423         response on compability reading of minipages. One probliem is that
17424         the old usage of minipages was flertydig
17425
17426         * several files here and in subdirs: don't use static at file
17427         scope use anon namespaces instead.
17428
17429 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17430
17431         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17432         LaTeX output. This is necessary for Literate document
17433         processing.
17434
17435 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17436
17437         * buffer.C: insert hfill when needed.
17438
17439         * tabular.C (l_getline): use string::erase, small whitespace change.
17440
17441         * BufferView_pimpl.C: try the anon namespace.
17442         * WorkArea.C: ditto
17443
17444 2001-03-16  Juergen Vigna  <jug@sad.it>
17445
17446         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17447         otherwise it won't open options-dialogs.
17448
17449         * buffer.C: honor pextraWidth(p) on converting minipages.
17450
17451         * tabular.C (l_getline): changed the functions to strip trailing \r.
17452
17453 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17454
17455         * BufferView_pimpl.C:
17456         * minibuffer..C: added "using SigC::slot" declaration.
17457
17458 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17459
17460         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17461
17462         * text2.C: ditto
17463
17464         * text.C: ditto
17465
17466         * paragraph.C: ditto
17467
17468         * lyxtext.h: NO_PEXTRA
17469
17470         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17471
17472         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17473         * ParameterStruct.h: ditto
17474         * ParagraphParameters.h: ditto
17475         * lyxparagraph.h: ditto
17476
17477 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17478
17479         * buffer.C: add compability for minipage alignment.
17480         (latexParagraphs): remove unwanted pextra check.
17481
17482         * several files: remove CXX_WORKING_NAMESPACES
17483
17484         * buffer.C (pop_tag): tie is in namespace boost
17485
17486         * BufferView.h: noncopyable is in namespace boost
17487         * lyxlex.h: ditto
17488         * lyx_main.h: ditto
17489         * lyx_gui.h: ditto
17490         * layout.h: ditto
17491         * lastfiles.h: ditto
17492         * bufferlist.h: ditto
17493         * ShareContainer.h: ditto
17494         * LyXView.h: ditto
17495         * LyXAction.h: ditto
17496         * LaTeX.h: ditto
17497
17498 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17499
17500         * Merging changes from BRANCH_MVC back into HEAD.
17501
17502         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17503
17504 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17505
17506         * BufferView_pimpl.C: change from intl.C
17507
17508         * combox.h:
17509         * combox.C:
17510         * Makefile.am: move combox.*
17511
17512         * form1.h:
17513         * form1.C:
17514         * lyx_gui.C:
17515         * intl.h:
17516         * intl.C: remove dialog (covered by prefs)
17517
17518 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17519
17520         * lyxfunc.C (Dispatch): removed redundant break statement.
17521
17522 2001-03-14  Juergen Vigna  <jug@sad.it>
17523
17524         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17525
17526 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17527
17528         * buffer.C: add hack to fix compability reading of minipages.
17529
17530 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17531
17532         * buffer.C (getLists): Cleanup.
17533
17534 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17535
17536         * lyxfont.C (update): don't honor toggleall on font size.
17537
17538 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17539
17540         * bmtable.c:
17541         * bmtable.h:
17542         * Makefile.am: moved to frontends/xforms/
17543
17544         * lyx_gui_misc.C:
17545         * lyxfunc.C:
17546         * BufferView_pimpl.C: changes for moved mathpanel
17547
17548 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17549
17550         * gettext.h: fix gettext_init() in --disable-nls
17551
17552 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17553
17554         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17555
17556 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17557
17558         * lyx.C:
17559         * lyx.h: strip external form
17560
17561 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17562
17563         * BufferView_pimpl.C: add comment, destroySplash()
17564
17565 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17566
17567         * BufferView_pimpl.C:
17568         * LyXAction.C:
17569         * buffer.C:
17570         * commandtags.h:
17571         * lyxfunc.C: use re-worked insetinclude
17572
17573 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17574
17575         * buffer.C: add using std::stringstream.
17576
17577         * lyx_cb.C: readd using std::ios.
17578
17579         * buffer.C: add using std::map.
17580
17581         * BufferView_pimpl.C: add using std::vector.
17582
17583         * ShareContainer.h: add std:: to swap.
17584
17585         * buffer.h: add some typedefs
17586         * buffer.C (getLists): use them
17587         (getLists): renamed from getTocList.
17588         add a counter for the different float types and use it in the
17589         generated string.
17590         (getLists): use the same counter for the NEW_INSETS and the "non"
17591         NEW_INSETS
17592
17593         * lyx_cb.h: remove unused items, includes, using etc.
17594
17595         * ShareContainer.h: remove some commented code, add more comments
17596         and "documentation".
17597
17598 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17599
17600         * buffer.C (getTocList): make the list also when NEW_INSETS is
17601         defined.
17602
17603         * buffer.h: remove TocType
17604
17605         * buffer.C (getTocList): change to return a map<string,
17606         vector<TocItem> >, implement for dynamic number of list.
17607
17608         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17609         * text2.C (PasteSelection): adjust
17610         * CutAndPaste.C (pasteSelection): adjust
17611
17612         * FloatList.C (FloatList): update from the new_insets branch.
17613         * Floating.[Ch]: ditto
17614         * LaTeXFeatures.C: ditto
17615         * buffer.C: ditto
17616         * lyxlex_pimpl.C: ditto
17617
17618         * paragraph.C (Last): remove when NEW_INSETS is defined.
17619
17620         * other file: changes because of the above.
17621
17622 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17623
17624         * lyxparagraph.h: rename next to next_, previous to previous_,
17625         make them private for NEW_INSETS. Rename Next() to next(),
17626         Previous() to previous().
17627
17628         * other files: changes because of the above.
17629
17630 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17631
17632         * BufferView.h:
17633         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17634         problem.
17635
17636 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17637
17638         * main.C (main): pass lyx_localedir to gettext_init().
17639
17640         * gettext.h: remove locale_init and gettext_init macros
17641
17642         * gettext.C (locale_init): new function
17643         (gettext_init): new function
17644
17645         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17646         setlocale().
17647
17648 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17649
17650         * Moved credits to frontends:
17651         * credits.[Ch]: removed
17652         * credits_form.[Ch]: removed
17653         * lyx_gui_misc.C: remove credits stuff
17654         * Makefile.am:
17655
17656 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17657
17658         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17659
17660         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17661         unneeded destructor.
17662
17663         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17664         a standalone pointer again.
17665
17666         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17667
17668 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17669
17670         * Makefile.am:
17671         * filedlg.h:
17672         * filedlg.C:
17673         * LyXAction.C:
17674         * ToolbarDefaults.C:
17675         * bufferlist.C:
17676         * commandtags.h:
17677         * form1.C:
17678         * form1.h:
17679         * lyx_cb.C:
17680         * lyx_cb.h:
17681         * lyxfunc.h:
17682         * lyxfunc.C:
17683         * BufferView_pimpl.C: use new file dialog in GUII
17684
17685         * lyx_cb.h:
17686         * lyx_cb.C: remove LayoutsCB to Toolbar
17687
17688 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17689
17690         * ShareContainer.h (get): add std:: qualifier
17691
17692 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17693
17694         * ShareContainer.h: define a proper ShareContainer::value_type
17695         type (and use typename to please compaq cxx)
17696
17697 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17698
17699         * lyxparagraph.h: move serveral local vars to
17700         ParameterStruct/ParagraphParameters., use ShareContainer in
17701         FontTable., make vars in FontTable private and add getter and
17702         setter.
17703
17704         * paragraph.C: changes because of the above.
17705
17706         * lyxfont.h: remove copy constructor and copy assignment. (the
17707         default ones is ok), move number inside FontBits. move inlines to
17708         lyxfont.C
17709
17710         * lyxfont.C: add number to initializaton of statics, move several
17711         inlines here. constify several local vars. some whitespace
17712         cleanup. Dont hide outerscope variables.
17713
17714         * Spacing.h: add two new constructors to match the set methods.
17715
17716         * ShareContainer.h: new file, will perhaps be moved to support
17717
17718         * ParameterStruct.h: new file
17719
17720         * ParagraphParameters.h: new file
17721
17722         * ParagraphParameters.C: new file
17723
17724         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17725         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17726
17727         * BufferView_pimpl.C: ParagraphParameter changes.
17728         * buffer.C: Likewise.
17729         * bufferview_funcs.C: Likewise.
17730         * text.C: Likewise.
17731         * text2.C: Likewise.
17732
17733 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17734
17735         * lyxfind.C (LyXReplace): do not redefine default argument in
17736         implementation.
17737         (IsStringInText): ditto
17738         (SearchForward): ditto
17739         (SearchBackward): ditto
17740
17741 2001-03-06  Juergen Vigna  <jug@sad.it>
17742
17743         * lyxfind.C (IsStringInText): put parentes around expressions.
17744
17745 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17746
17747         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17748
17749 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17750
17751         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17752
17753         * stl_string_fwd.h: add comment
17754
17755         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17756
17757         * tabular.h:
17758         * tabular.C: remove unused DocBook methods
17759
17760         * intl.C:
17761         * language.C:
17762         * paragraph.C:
17763         * buffer.C:
17764         killed DO_USE_DEFAULT_LANGUAGE
17765
17766 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17767
17768         * lyx_gui.C: do not include language.h.
17769
17770         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17771         arguments in function implementation.
17772
17773 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17774
17775         * BufferView_pimpl.C: add <ctime>
17776
17777 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17778
17779         * BufferView_pimpl.C: add using std::find_if
17780
17781 2001-02-27  José Matos  <jamatos@fep.up.pt>
17782
17783         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17784         by OnlyPath.
17785
17786 2001-02-11  José Matos  <jamatos@fep.up.pt>
17787
17788         * buffer.C (makeDocBookFile): command styles now have a parameter as
17789         "title" by default.
17790
17791 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17792
17793         * layout_forms.[Ch]: removed
17794         * lyx_cb.[Ch]: out character
17795         * lyx_gui.C: out character
17796         * lyx_gui_misc.C: out character
17797         * bufferview_funcs.C: : out character,
17798         added toggleall as parameter in ToggleAndShow
17799
17800 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17801
17802         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17803
17804         * text2.C (SetCurrentFont): Disable number property at boundary.
17805
17806 2001-02-26  Juergen Vigna  <jug@sad.it>
17807
17808         * lyxfunc.C (getStatus): added a string argument override function so
17809         that this is correctly called from LyXFunc::Dispatch if it contains a
17810         do_not_use_argument which is used!
17811         (Dispatch): added check for "custom" export and call appropriate func.
17812
17813 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17814
17815         * lyxrc.C: Add language_command_local, language_use_babel and
17816         language_global_options.
17817
17818         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17819
17820         * buffer.C (makeLaTeXFile): Use language_use_babel and
17821         language_global_options.
17822
17823 2001-02-23  Juergen Vigna  <jug@sad.it>
17824
17825         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17826         which works with LyXText and putted it inside BufferView. Here now we
17827         only call for that part the BufferView::Dispatch() function.
17828
17829         * BufferView.C (Dispatch): added.
17830
17831         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17832         functions which needs to use a LyXText over from LyXFunc.
17833         (MenuInsertLyXFile): added
17834         (getInsetByCode): added
17835         (moveCursorUpdate): added
17836         (static TEXT): added
17837
17838 2001-02-22  Juergen Vigna  <jug@sad.it>
17839
17840         * BufferView_pimpl.C (update): call a status update to see if LyXText
17841         needs it.
17842
17843 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17844
17845         * vc-backend.C (revert): implement for CVS
17846         (getLog): implement for CVS
17847
17848 2001-02-20  Juergen Vigna  <jug@sad.it>
17849
17850         * text2.C (ClearSelection): added BufferView param for inset_owner call
17851
17852         * lyxfunc.C (TEXT): added this function and use it instead of
17853         directly owner->view()-text of getLyXText().
17854
17855 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17856
17857         * src/layout_forms.C: out preamble
17858         * src/layout_forms.h: out preamble
17859         * src/lyx_cb.C: out preamble
17860         * src/lyx_cb.h: out preamble
17861         * src/lyx_gui.C: out preamble
17862         * src/lyx_gui_misc.C: out preamble
17863         * src/lyxfunc.C: connect with guii preamble
17864
17865 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17866
17867         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17868
17869 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17870
17871         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17872         whether to run bibtex.
17873
17874 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17875
17876         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17877
17878 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17879
17880         * Makefile.am (lyx_SOURCES): removed bibforms.h
17881
17882         * vspace.h: doxygen
17883
17884         * text.C (GetVisibleRow): make several local vars const
17885
17886         * tabular.C: small cleanup.
17887
17888         * lyxserver.C (callback): use compare instead of strncmp
17889
17890         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17891         inlines to after class or to paragraph.C
17892
17893         * lyxfont.h: remove friend operator!=
17894
17895         * converter.h: move friend bool operator< to non friend and after
17896         class def.
17897
17898         * combox.h: small cleanup
17899
17900         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17901         to inlines after class def.
17902
17903         * buffer.C (pop_tag): use string operations instead of strcmp
17904
17905         * bmtable.c: doxygen, small cleanup
17906
17907         * LaTeX.h: remove friend operator==
17908
17909 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17910
17911         * screen.C:
17912         * lyxrc.[Ch]:
17913         * lyxfunc.C:
17914         * lyxfont.[Ch]:
17915         * lyx_cb.C:
17916         * intl.[Ch]:
17917         * commandtags.h:
17918         * buffer.C:
17919         * WorkArea.[Ch]:
17920         * LyXAction.C:
17921         * BufferView_pimpl.C:
17922         * BufferView.[Ch]: remove cruft
17923
17924 2001-02-14  Juergen Vigna  <jug@sad.it>
17925
17926         * lyxfunc.C: removed #if 0 unused code
17927
17928         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17929
17930         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17931
17932         * text2.C (SetSelection): added a BufferView * parameter
17933
17934 2001-02-13  Juergen Vigna  <jug@sad.it>
17935
17936         * lyxfunc.C (Dispatch): fixed protected blank problem.
17937         * BufferView2.C (protectedBlank): added LyxText * parameter.
17938
17939         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17940         (AppendColumn): same as above for column_info.
17941
17942         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17943         (moveCursorUpdate): use a LyXText param for support of InsetText.
17944
17945         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17946         (tripleClick): ditto
17947
17948         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17949
17950         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17951
17952         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17953
17954         * text2.C (SetSelection): set correct update status if inset_owner
17955         (ToggleFree): ditto
17956
17957 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17958
17959         * tabular.C: remove some commented code.
17960
17961 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17962
17963         * BufferView_pimpl.C: call hideSplash()
17964
17965         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17966
17967         * include_form.h:
17968         * bibforms.h: remove
17969
17970         * lyxfunc.C:
17971         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17972           add LFUN_CHILD_CREATE
17973
17974         * counters.h: fix tiny typo
17975
17976         * lyx_cb.C:
17977         * lyx.h:
17978         * lyx_gui.C:
17979         * lyx.C: move splash to frontends/xforms/
17980
17981         * lyx_gui_misc.C: move Include and Bibform to frontends
17982
17983         * lyxvc.h: clarify comment
17984
17985         * vspace.C: tiny housekeeping
17986
17987 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17988
17989         * text.C (PrepareToPrint): RTL Fix.
17990
17991         * paragraph.C (GetUChar): New method.
17992         (String):  Use GetUChar.
17993
17994         * buffer.C (asciiParagraph): Use GetUChar.
17995
17996 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17997
17998         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17999
18000 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18001
18002         * buffer.h:
18003         * buffer.C: rename to getLogName(), handle
18004           build log / latex log nicely
18005
18006 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18007
18008         * MenuBackend.C:
18009         * MenuBackend.h: remove support for reference menuitem type.
18010
18011 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18012
18013         * BufferView_pimpl.C: housekeeping
18014         * BufferView_pimpl.h:
18015         * LyXView.h:
18016         * Makefile.am:
18017         * Timeout.C:
18018         * Timeout.h:
18019         * minibuffer.h: move Timeout GUI-I
18020
18021 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18022
18023         * lyxrc.C (read): Update converters data-structures.
18024
18025 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18026
18027         * LaTeX.h (operator!=): add operator != for Aux_Info
18028
18029 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18030
18031         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18032
18033         * LaTeXLog.C: deleted, useful code moved to Buffer
18034
18035         * buffer.h:
18036         * buffer.C: new function getLatexLogName()
18037
18038         * lyx_gui_misc.C:
18039         * lyx_gui.C:
18040         * lyxvc.C:
18041         * lyxvc.h:
18042         * lyxfunc.C: use frontends for LaTeX and VC logs
18043
18044 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18045
18046         * LaTeX.h: yet another std:: that Allan forgot.
18047
18048         * Variables.C (set): renamed from isset(), because this clashes
18049         with some HP-UX macros (grr).
18050
18051 2001-02-06  Allan Rae  <rae@lyx.org>
18052
18053         * LaTeX.h: Another bug fix.  Missing std:: this time.
18054
18055 2001-02-04  Allan Rae  <rae@lyx.org>
18056
18057         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18058         floats problem. I've left it commented out because it's not quite
18059         correct.  It should also test that the current object is a table or
18060         figure inset.  But I haven't gotten around to figuring out how to do
18061         that.  I *think* it'll be something like: "table" == inset.type()
18062
18063         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18064         bool.
18065
18066 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18067
18068         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18069         all the citation/databases/styles in the auxilary file.
18070         (run): Rerun latex if there was a babel language error.
18071
18072 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18073
18074         * text.C (Backspace): Preserve the font when changing newline char
18075         with a space.
18076         (BreakParagraph): If the cursor is before a space, delete the space.
18077
18078         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18079
18080 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18081
18082         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18083         new argument (code).
18084         (ChangeCitationsIfUnique): New method.
18085
18086         * paragraph.C (GetPositionOfInset): Handle bibkey.
18087
18088 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18089
18090         * BufferView_pimpl.h: change type of Position::par_pos to
18091         LyXParagraph::size_type.
18092
18093 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18094
18095         * BufferView_pimpl.C (savePosition, restorePosition): Write
18096         messages to minibuffer.
18097
18098 2001-01-28  José Matos  <jamatos@fep.up.pt>
18099
18100         * buffer.C (makeDocBookFile): adds support for document language.
18101         A silly restriction on the name of LatexCommand types where removed.
18102         Added support for CDATA sections, allows to chars unescaped, used
18103         among others in code, to avoid escape < and >.
18104
18105 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18106
18107         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18108         saved positions instrad of a stack. Furthermore, a position is
18109         stored using paragraph id/paragraph position.
18110
18111         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18112         Remove LFUN_REF_BACK.
18113
18114 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18115
18116         * converter.C (dvipdfm_options): New method.
18117
18118 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18119
18120         * vspace.C (isValidLength): Fix for empty input string.
18121
18122 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18123
18124         * LyXAction.C (init): change description of LFUN_FIGURE to
18125         "Insert Graphics"
18126
18127 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18128
18129         * LaTeX.C: add using directive
18130
18131 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18132
18133         * MenuBackend.C (expand): Fix the sorting of the formats.
18134
18135 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18136
18137         * lyx_main.C: tiny error message fix
18138
18139 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18140
18141         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18142         calling fl_initialize(). This fixes the problem with ',' as
18143         decimal separator in text files.
18144
18145 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18146
18147         * trans.C (process): Fix the keymap bug.
18148
18149 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18150
18151         * LaTeX.C (scanAuxFiles): New method. Provides support for
18152         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18153         (scanLogFile) Scan for "run BibTeX" messages.
18154
18155         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18156         OT1 font encoding. Also, load the aecompl package if the ae
18157         package is loaded.
18158
18159         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18160
18161 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18162
18163         * texrow.C (increasePos): turn two error messages into debug
18164         messages.
18165
18166 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18167
18168         * LaTeX.C (scanAux): Handle the \@input macro.
18169         (runBibTeX): Use scanAux().
18170
18171         * language.C (latex_options_): New field.
18172
18173         * LaTeXFeatures.C (getMacros): Add language macros.
18174
18175         * buffer.C (makeLaTeXFile): Small fix.
18176
18177 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18178
18179         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18180
18181         * text2.C: add a using directive.
18182
18183 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18184
18185         * BufferView2.C:
18186         * lyx_gui_misc.h:
18187         * lyxfr1.C:
18188         * lyxfunc.C: kill LyXBell.
18189
18190 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18191
18192         * text.C (IsBoundary): Remove the error message
18193
18194         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18195
18196         * lyxrc.C (setDefaults): Correct initialization value for
18197         font_norm_type.
18198
18199 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18200
18201         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18202         gotoError().
18203
18204         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18205         and GotoNextNote().
18206
18207         * src/LyXAction.C: Added reference-next.
18208
18209         * text.C (InsertChar): Use contains instead of strchr.
18210
18211         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18212
18213 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18214
18215         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18216         alignment commands (when needed).
18217
18218         * text.C (InsertChar): Add ':' to number separator chars.