]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
faf4cd5b5f323a9fbe5022ee2339561929453ea3
[lyx.git] / src / ChangeLog
1 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
4         change anything.
5
6 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * BufferView_pimpl.C: comment layout change
9
10 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11
12         * LyXAction.C:
13         * lfuns.h:
14         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
15         by bibliography managers (bug 2071).
16
17 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
18
19         * BufferView_pimpl.C (update): choose arguments to update call so
20         that single-par update works most times
21         * text3.C (dispatch): carefully tune updating separately for
22         whole-screen and current-paragraph
23         * rowpainter.C (paintText): 1) replace painting by caching for
24         the two extra paragraphs, because we can;
25         2) suppress greying out of areas below/above drawn area in case of
26         single-par refresh
27         * lyxfunc.C (dispatch): remove superfluous update
28         * LyXAction.[Ch]: introduce SingleParUpdate
29
30 2005-10-05  Angus Leeming  <leeming@lyx.org>
31
32         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
33         always initialised before use.
34
35         * text.C (setHeightOfRow): squash warning about comparison
36         of signed and unsigned types.
37
38 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * text.C (cursorX): two fixes involving RtL text drawing
41
42 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
43
44         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
45         items, not only large ones (part of bug 2057)
46
47 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
48
49         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
50         argument, use "newcommand".
51
52 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
53
54         * cursor.C (setSelection): do not open collapsable insets;
55         the insets do by themselves now (autoopen).
56
57 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
58
59         * buffer.C: format is up to 244.
60
61 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
62
63         * text.C (redoParagraph): fix calcultation of inset width wrt 
64         leftMargin (bug 1957).
65
66         * text3.C (dispatch): leave inset to the right when hitting ESC 
67         (bug 2034).
68
69 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
70
71         * text2.C: 
72         * text.C: 
73         * factory.C:
74         * messages.C: include <boost/current_function.hpp> 
75
76 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
79         when command is internal. (bug 1941)
80
81 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * text2.C (cursorRight): do not honor boundary when at the end of
84         a paragraph. (bug 2010 again)
85
86 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
89
90 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * rowpainter.C (paintText): fix RtL space width display bug (2029)
93
94 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * text2.C (setCursor): remove the unused 'boundary' parameter for
97         the CursorSlice version; adapt the LCursor version.
98
99         * lyxrc.C (write): 
100         * paragraph_pimpl.C (markErased): 
101         * cursor.C (bruteFind2, bruteFond3): fix warnings.
102
103 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
106         as is already done for "chapter".
107
108 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
111         textclass; do not record undo if nothing is changed.
112
113 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
114
115         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
116
117 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
118
119         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
120
121 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
124         combox, it is necessary to search for the topmost paragraph in the
125         cursor stack (bug 1926)
126
127 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
128
129         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
130         end of paragraph. (bug 2010)
131
132 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
133
134         * text.C (leftMargin): check for inInset == 0
135
136 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
137
138         * text.C (leftMargin): test for insetbase's new neverIndent()
139         bool instead of listing each and every inset that does not
140         wish par indendation.
141
142 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * buffer_funcs.C (setCounter): put the code to compute enum label
145         here (where it belongs).
146
147         * counters.C (enumLabel): move code to buffer_funcs.C.
148
149 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
150
151         * outputparams.[Ch]: store local_font instead of local_language
152         * paragraph.C (simpleTeXOnePar): adapt to the change above
153
154 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
155
156         * buffer_funcs.C:
157         * counters.[Ch]: clean up special code for Hebrew.
158
159 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
162         than 2.
163
164 2005-09-08  Angus Leeming  <leeming@lyx.org>
165
166         * ispell.C:
167         * lyxrc.C: correct grammar describing invocation of the
168         spellchecker.
169
170 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * text.C (read): remove unused variable.
173         (readParToken): remove static Change variable (never good in
174         recursive settings...); add it as a parameter instead.
175
176         * paragraph_pimpl.C (acceptChange): make debug info conditional.
177
178         * metricsinfo.C (PainterInfo): add new member erased_.
179
180         * rowpainter.C (RowPainter): add erased_ member, initialized from
181         PainterInfo. 
182         (paintInset): pass erased_ to Inset::draw.
183
184         * lyxfunc.C (lookupChange): new function. Tells whether change 
185         tracking is disabled at a given postion.
186         (getStatus): disable some actions when in deleted text with change
187         tracking. 
188
189 2005-08-03  John Levon  <levon@movementarian.org>
190         
191         * tabular.C (appendColumn, setMultiColumn): adapt to change to
192         InsetText::clear().
193
194         * paragraph_pimpl.C (markErased): add bool argument and handle it.
195         Also make sure to mark insets recursively.
196         (rejectChange, erase): be recursive
197
198         * paragraph.C (markErased): add bool argument.
199 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * lyxfind.C (findNextChange): tiny cleanup.
202
203         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
204         change tracking with the cursor in an inset; make sure the first
205         change is not skipped.
206
207 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
208
209         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
210         tabularStackDirty to work around bug 1919 (tabular needs
211         to know whether its own cell paste buffer or the one of 
212         texted is newer.
213         * CutAndPaste.C: mark tabular_stack_ clean after copy.
214
215 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
216
217         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
218
219 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
220
221         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
222         use old deleteion algorithm when changetracking is on.
223
224 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
225
226         * messages.C (get): add debug output.
227
228 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
229
230         * text.C (cursorX): fix bug 1965: cursor movement at
231         line end broken in RtL.
232         (drawSelection): fix bug 1970: drawing of single-line 
233         selection broken for RtL.
234
235 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
236
237         bug 465.
238
239         * dociterator.h (clear, push_back, pop_back): change from
240         protected to public.
241
242         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
243         and changed to just return the value of the item depth; take a
244         ParIterator as argument; take the itemdepth at outer nesting level
245         in account if necessary; cleanup and comment the code.
246         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
247         and changed to just return true if reset is needed; take a
248         ParIterator as argument; cleanup and comment the code.
249         (setCounter): adapt to above changes.
250
251 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * text3.C (dispatch): make debug message optional
254
255 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
256
257         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
258         inset. (bug 1963)
259
260 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
261
262         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
263
264 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
265
266         * text.C (insertChar):
267         * text2.C (deleteEmptyParagraphMechanism): take care whether 
268         a blank has been deleted (in change tracking mode) (bug 1254).
269
270 2005-07-20  John Levon  <levon@movementarian.org>
271
272         * text2.C (insertStringAsLines): remove old dubious code,
273         fixing bug 1939.
274
275 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
276
277         * MenuBackend.C (expandToc): use Floating::listName() as title of
278         the floats submenus.
279
280 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
281
282         * toc.[Ch]: Do not use translatable strings (bug 1870).
283
284 2005-07-20  John Levon  <levon@movementarian.org>
285
286         * tabular.C: fix 1748 - setting multicolumn adds
287           left line to the first cell
288
289 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
290
291         bug 1920
292         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
293         pars in one go.
294
295 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
296
297         * messages.C: supress some lyxerr messages
298
299 2005-07-18  Juergen Vigna  <jug@lyx.org>
300
301         * text.C (drawSelection): honor boundary when asking for cursorX.
302
303 2005-07-17  José Matos  <jamatos@fc.up.pt>
304
305         * tabular.C (recalculateMulticolumns): fix handling of one column
306         tables.
307
308 2005-07-17  Juergen Vigna  <jug@lyx.org>
309
310         * text.C (Delete, backspace): fixed so that paragraph with the
311         same layout can be merged by Delete/Backspace.
312
313 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
314
315         * text.C (readParToken): fix spelling.
316
317 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
318
319         * text2.C: fix counter update for DEPM problem reported by
320         Georg Baum
321
322 2005-07-17  Juergen Vigna  <jug@lyx.org>
323
324         * BufferView_pimpl.C (setBuffer): save/restore the
325         cursor/selection when switching buffers
326
327         * buffer.h: 
328         * buffer.C (saveCursor): add saveDocumentIterators to save the
329         cursor when switching buffer.
330
331 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
332
333         * debug.C: fix typo
334         * buffer.C: clarify message
335         
336 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
337
338         * dociterator.C (DocIterator): fix initialization order
339
340 2005-07-17  Juergen Vigna  <jug@lyx.org>
341
342         * text2.C (cursorHome): 
343         * text.C (drawSelection, cursorX): 
344         * dociterator.C (textRow): add boundary to getRow() call
345
346         * paragraph.C (getRow): implementation of below
347
348         * paragraph.h: add parameter boundary for getRow() function
349
350 2005-07-17  José Matos  <jamatos@fc.up.pt>
351
352         * buffer.C:
353         * bufferparams.[Ch]:
354         * tex-strings.[Ch]: new file format, remove support for a4.sty,
355         a4wide.sty and a4widemargins.
356
357 2005-07-17  Juergen Vigna  <jug@lyx.org>
358
359         * text2.C (cursorLeft): fix one of error
360
361 2005-07-17  Juergen Vigna  <jug@lyx.org>
362
363         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
364                    cursorEnd):
365         more fixes for boundary handling
366
367         * text3.C (dispatch): don't reset cursor if boundary has changed
368         on cursor movement.
369
370 2005-07-16  Juergen Vigna  <jug@lyx.org>
371
372         * text2.C (getColumnNearX): hopefully got it right now,
373         check if we are on column 0 for special case.
374
375 2005-07-16  Juergen Vigna  <jug@lyx.org>
376
377         * text2.C (getColumnNearX): handle special case Newline Inset
378
379         * text.C (singleWidth): Just remove bogus check
380
381 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
382
383         * funcrequest.C (split): avoid reading uninitialized char c
384
385 2005-07-16  José Matos  <jamatos@fc.up.pt>
386
387         * buffer.C:
388         * converter.C:
389         * lyxrc.C:
390         * paper.h:
391         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
392         single papersize variable.
393
394 2005-07-16  Juergen Vigna  <jug@lyx.org>
395
396         * text3.C (dispatch): honor boundary when checking if a cursor
397         movement has been done
398
399         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
400         (setCursor, setCursorIntern): fix cursor movement with boundary
401
402 2005-07-16  Juergen Vigna  <jug@lyx.org>
403
404         * text.C (currentState): output the actual Boundary
405
406 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
407
408         * factory.C (createInset): fix bad logic for tabular creation
409
410 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
411
412         * lyx_main.C (init): change some reLyX reference to tex2lyx
413
414 2005-07-16  Juergen Vigna  <jug@lyx.org>
415
416         * dociterator.C (DocIterator): initialize boundary
417
418 2005-07-16  Juergen Vigna  <jug@lyx.org>
419
420         * text2.C (getColumnNearX): Consider rows without trailing blank.  
421
422 2005-07-16  André Pönitz  <poenitz@gmx.net>
423
424         * lyxfont.h: Change order of declarations to give the compiler
425         a better chance to inline things
426
427         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
428         questions on unsaved docs for better scritability
429
430 2005-07-16  André Pönitz  <poenitz@gmx.net>
431
432         * paragraph.h (getChar): remove asserts as the same kind of security
433         can be achieved by using a suitable standard library implementation
434         and the function was in the critical path (25.9% in profiler)
435
436 2005-07-16  Juergen Vigna  <jug@lyx.org>
437
438         * cursor.C (bruteFind2):
439         * bufferview_funcs.C (coordOffset): 
440         * text.C (cursorX,cursorY): Handle cursor position after last char
441         in row before a inset which uses a whole row.
442
443 2005-07-15  José Matos <jamatos@lyx.org>
444
445         * output_plaintext.[Ch] (writeFileAscii): control reference title
446         printing.
447         (asciiParagraph): noparbreak was already deal and was incorrectly
448         used.
449
450 2005-07-15  Juergen Vigna <jug@lyx.org>
451
452         * lyxfunc.C (dispatch): save and restore the cursor after a
453         textclass switch.
454
455 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
456
457         * text.C (backspace): bug 806 for empty keepempty paragraphs we
458         change the layout to default before letting DEPM do its thing.
459
460         * paragraph_funcs.C (breakParagraph): dont reset the layout on
461         keepEmpty paragraphs
462
463         * text.C (setCursorFromCoordinates): add a debug statement
464
465         * text2.C (getColumnNearX): bug 1825 make sure that we don't
466         return a pos that is not on the row
467
468         * output_latex.C (TeXDeeper): get rid of potential dereferencing
469         of past the end iterator
470
471 2005-07-14  André Pönitz  <poenitz@gmx.net>
472
473         * undo.C (recordUndoFullBuffer): implement undo for
474         textclass switches
475
476 2005-07-14  André Pönitz  <poenitz@gmx.net>
477
478         * cursor.C (setSelection): open insets when selection is set there
479         to avoid crashs with cold coord cache
480
481 2005-07-14  André Pönitz  <poenitz@gmx.net>
482
483         * trans_mgr.C (insert): move cursor to the right after inserting
484         a char.
485
486 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
487
488         * BufferView_pimpl.C (update): dampen some of the debug blabbering
489         * factory.C (readInset): ditto
490         * text.C, text2.C: ditto
491
492 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * buffer.C: format incremented to 242. There is no file format per
495         se, but the "frenchb" language has been removed from lib/language
496         and has to be translated to "french" by lyx2lyx.
497
498 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
499
500         * cursor_slice.h, dociterator.h: add some documentation
501         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
502
503 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
504
505         * text.C (leftMargin): do not add identation to display() style
506         insets, because they are always centered (bug 1293).
507
508 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
509
510         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
511         formatted_time methods in support/lyxtime.
512
513 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
514
515         * toc.[Ch]: new method getGuiName, which is used by the frontends 
516         to set the toc combo (fixes bug 1870). Make TOC string translatable.
517
518 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
519
520         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
521         StableDocIterator const &)
522         * undo.C (recordUndo): use the above instead of cell.size() comparison
523         (fixes bug 1808; instructed by Andr�.
524
525 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
526
527         * cursor_slice.h: 
528         * dociterator.h: Fix the assert when copying rows/cols in math
529
530 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
531
532         * BufferView_pimpl.C:
533         * LyXAction.C:
534         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
535
536         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
537         (findInset): new functions, refactored from goto Inset that return 
538         the position of a certain inset without setting the buffer's cursor
539         (by Jean-Marc); 
540         (gotoInset): rewrite to call findInset and then set the cursor
541         (by Jean-Marc).
542
543 2005-06-16  Angus Leeming  <leeming@lyx.org>
544
545         * lyxrc.C (output, read): wrap all input and output of paths with
546         calls to os::internal_path and os::external_path, respectively.
547         (output): wrap bind_file inside quotes.
548
549         * format.C (view): enable the viewer to use the '$$s' placeholder.
550
551 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
552
553         * LColor.[Ch] (getFromLaTeXName): new
554
555 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
556
557         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
558
559 2005-06-14  Angus Leeming  <leeming@lyx.org>
560
561         * lyx_main.C (init): ensure that the LyX binary dir is the first
562         element in the PATH on non-POSIX builds.
563
564 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
565
566         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
567
568 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
569
570         * rowpainter.C (paintInset, paintHebrewComposeChar)
571         (paintArabicComposeChar, paintChars): add a LyXFont argument.
572         (paintChars): use getFontSpan to reduce calls to getFont to a
573         minimum; use Paragraph::lookupChange instead of isXXXText.
574         (paintForeignMark): rename LyXFont argument.
575         (paintFromPos): pass a LyXFont object to the various paintXXX
576         methods.
577
578         * FontIterator.C (FontIterator, operator++): use
579         Paragraph::getFontSpan
580
581         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
582         version that returns the font span as a pair.
583
584 2005-06-09  Angus Leeming  <leeming@lyx.org>
585
586         * converter.C (convert): Don't forget "outfile = real_outfile" as
587         the final step in a conversion where the input and output file names
588         are the same. Otherwise, future conversion steps won't work...
589
590 2005-06-09  Angus Leeming  <leeming@lyx.org>
591
592         * lyxsocket.C: remove stub code as it isn't needed by
593         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
594
595 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
596
597         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
598         effectively disabled -x
599
600 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
601
602         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
603         when it actually makes sense.
604
605 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
606
607         * BufferView_pimpl.C: revert to showCursor in connection with
608         Lars's front-end stack
609
610 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
611
612         * text.C (redoParagraph): move cursor right after a bibitem
613         has been inserted.
614
615         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
616
617 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
618
619         * buffer_funcs.C (bufferErrors): fix computation of the end of an
620         error range.
621
622 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
623
624         * BufferView.[Ch] (update):
625         * BufferView_pimpl.[Ch] (update, metrics):
626         * dimension.h (operator==):
627         * lyxfunc.C (dispatch):
628         * metricsinfo.h (ViewMetricsInfo):
629         * rowpainter.C (paintText):
630         * lyxtext.h:
631         * text.C (redoParagraph):
632         * text3.C (dispatch): Make LyX only repaint current paragraph in
633         case of character insert --> speedup. Also fix cursor draw
634         artifacts
635
636 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
637
638         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
639         avoid a crash (bug 1891)
640
641 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
642
643         Fix bug 1892:
644
645         * text2.C (getStringToIndex): constify cur argument.
646
647         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
648         argument has been given
649         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
650         try to invoke LFUN_INSET_APPLY).
651
652         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
653         if no inset was created by doInsertInset
654         (doInsertInset): return true if an inset has been inserted.
655
656 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * vspace.C (asGUIName): new method. A version of the space
659         suitable for showing on screen.
660
661 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
662
663         * MenuBackend.C:
664         * lyxrc.C: rename "ASCII" to "Plain Text"
665
666 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * buffer_funcs.C (expandLabel): take a Buffer as argument;
669         translate the labelstring.
670         (setCounter): translate labelstring as needed.
671
672         * output_docbook.C (makeCommand): fix expandLabel invokation
673
674 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
675
676         * BufferView.C: fix dialog title
677
678 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
679
680         * lyx_main.C (priv_exec): fix logic error with help from Angus
681         * lyx_main.C (parse_execute): set is_gui = false and remove now
682         obsolete comment about a segfault
683
684 2005-05-18  Angus Leeming  <leeming@lyx.org>
685
686         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
687
688 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
689
690         * tabular.[hC]: added setCellInset to fix tabular paste.
691
692 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
693
694         * buffer.C (save): check if destination is writable before trying
695         to copy a file
696
697 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
698
699         * BufferView_pimpl.C (update): fix processEvents -caused update
700         recursion bug
701
702 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * buffer_funcs.C (setCounter): fix test for numbering of
705         environments.
706
707         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
708         depth correctly; use optional argument when it exists
709
710         * lyxtextclass.C: remove unused MaxCounterTags enum
711         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
712         (max_toclevel, min_toclevel): new methods.
713
714         * MenuBackend.C (expandToc2): fix case where depth is smaller than
715         the smallest depth in toc.
716
717         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
718         layouts that should not appear in a table of contents.
719
720 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
721
722         * cursor.h (undispatched, noUpdate): add comments from Andr�
723 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
724
725         * lfuns.h:
726         * LyXAction.C:
727         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
728
729 2005-05-07  André Pönitz  <poenitz@gmx.net>
730
731         * cursor.[Ch] (leaveInset): new function
732
733 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
734
735         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
736
737 2005-05-04  Angus Leeming  <leeming@lyx.org>
738
739         * lyxfunc.C (getStatus): disable the spell checker dialog if
740         none of USE_[AIP]SPELL are defined.
741
742 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
743
744         * tabular.C (setWidthOfCell): remove obsolete comment
745
746 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
747
748         * paragraph.C (bibitem):
749         * buffer_funcs.C (setCounter):
750         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
751
752 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
753
754         * text3.C (getStatus): immediately return after setOnOff
755
756         * rowpainter.C: fix drawing of appendix start
757
758 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
759
760         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
761         SwitchBetweenClasses and remove the unused return value.
762         Handle character styles, too
763
764 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
765
766         * factory.C (createInset): handle undefined character styles
767
768 2005-05-02  Angus Leeming  <leeming@lyx.org>
769
770         * buffer.C: protect the #include of utime.h with a preprocessor
771         guard.
772
773 2005-05-02  Angus Leeming  <leeming@lyx.org>
774
775         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
776         function so that auto-saving works, albeit in a blocking manner.
777
778         * Makefile.am: make compilation of the client sub directory, of
779         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
780         on conditionals set at configure time.
781
782         * SpellBase.[Ch]: no longer an abstract base class. Instead,
783         it can be compiled in its own right but has no-op functionality.
784
785         * aspell.C, pspell.C: remove preprocessor guards. The files should
786         be compiled only if the necessary functionality exists.
787
788         * lyxserver.C, lyxsocket.C: disable on Windows.
789
790 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
791
792         * text.C (leftMargin): Fix the parindent use bug (1764)
793         by dirty trick
794
795 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
796
797         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
798         argument.
799
800 2005-04-25  Angus Leeming  <leeming@lyx.org>
801
802         * Bidi.[Ch]:
803         * coordcache.[Ch]:
804         * ispell.C:
805         * lyxserver.C:
806         * mover.C:
807         * pch.h:
808         include <config.h> in .C files, not .h ones.
809         add licence blurb.
810         protect headers inside preprocessor guards.
811
812 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
813
814         * FuncStatus.h (StatusCodes): document
815
816 2005-04-21  André Pönitz  <poenitz@gmx.net>
817
818         * FuncStatus.h (enabled, onoff): document
819
820 2005-04-19  Angus Leeming  <leeming@lyx.org>
821
822         * BufferView_pimpl.C (cursorToggle): no longer test whether
823         any child processes have been reaped before calling
824         handleCompletedProcesses().
825
826 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
827
828         * text3.C (dispatch): fix, finally fix, the language problem in
829         new lyxtexts, without disabling on-the-fly font changes (Helge's
830         bug report)
831
832 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
833
834         * text3.C (dispatch): set cursor on double/triple click events
835         (bug 1811)
836
837 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
838
839         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
840         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
841
842         * rowpainter.C (paintFirst): simplify the code a little bit. In
843         particular, remove the test for secnumdepth.
844         * text.C (setHeightOfRow): only allocate space for chapter number
845         when updateCounters provided an actual label, instead of looking
846         at secnumdepth directly.
847
848         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
849
850         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
851         paragraphs when secnumdepth is large enough or, for environments,
852         when they are not the first in a sequence.
853
854 2005-04-17  Angus Leeming  <leeming@lyx.org>
855
856         * buffer.C (makeLaTeXFile): replace code to manipulate a path
857         containing space and '~' characters with a call to latex_path().
858
859 2005-04-17  Angus Leeming  <leeming@lyx.org>
860
861         * converter.C (convert): protect all args of convertDefault.sh
862         script with quotes.
863
864 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
865
866         * text3.C (dispatch): change the layout to "Caption" after inserting
867         a float.
868
869 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
870
871         * text3.C (dispatch): fix language problem in newly created
872         textinsets (and main text) in non-english docs
873
874 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
875
876         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
877         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
878         * text3.C (getStatus): disable LFUN_INSET_MODIFY
879
880 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
881
882         * lyxtext.h:
883         * text.C (metrics):
884         * text2.C (getFont):
885         * rowpainter.C (getFont): Fix metrics bug introduced by inset
886         fonts fix
887
888 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
889
890         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
891         output of \item arguments without trailing text.
892
893 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * FontIterator.C (operator*): avoid a copy of the font.
896
897 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
898
899         * rowpainter.C (getFont): fix language bug from previous fix
900
901 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
902
903         * rowpainter.C (RowPainter, getFont): fix font inside inset
904         (bugs 1766, 1809)
905
906 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
907
908         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
909         preventing inserted font, deco, delim insets jumping to start of
910         surrounding inset.
911
912 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
913
914         * lyxfunc.C (dispatch): translate message before sending it to the
915         minibuffer.
916
917 2005-03-29  Angus Leeming  <leeming@lyx.org>
918
919         * lyx_main.C (priv_exec): call os::internal_path on each file passed
920         to LyX on the command line.
921
922 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
923
924         * vc-backend.C: use QuoteName to protect file names wherever
925         necessary.
926
927 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
928
929         * buffer.[Ch]:
930         * BranchList.h: fix bugs 1844,1845: document settings don't
931         stick
932
933 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
934
935         * lyxrc.C (setDefaults, read, output, getDescription): add support
936         for tex_allows_spaces.
937
938         * exporter.C (Export): allows files in directory containing spaces
939         if tex_allows_spaces is true.
940
941         * buffer.C (makeLaTeXFile): if the document path contains spaces,
942         output it in double quotes.
943
944 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
945
946         * rowpainter.C: use default text height for drawing change tracker
947         strikeout lines.
948
949 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
950
951         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
952
953 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
954
955         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
956         directory is missing.
957
958 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
959
960         * text2.C: fixed the fix, extended to other case.
961
962 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
963
964         * text2.C: fix for cursor up/down stuck in math [bug 1792]
965
966 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
967
968         * text2.C (cursorUp): get rid of a crash
969         * text.C (x2pos): add an assert
970
971 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * lyxfunc.C (getStatus): fix warning when assertions are disabled
974
975         * text3.C:
976         * lyxfunc.C:
977         * dociterator.C: include <boost/current_function.hpp>, which is
978         needed when assertions are disabled.
979
980 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
981
982         * text2.C: fix for stuck cursor when traversing two
983         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
984
985 2005-02-25  Andreas Vox  <avox@arcor.de>
986
987         * output_docbook.C (makeParagraph): suppress trailing newline
988         after a run of paragraphs
989
990 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
991
992         * paragraph.C: fix for confused change tracker when pasting
993         text that begins with a lineseparator. [bug 1827]
994         (setChange(0, Change::INSERTED);)
995
996         * paragraph_funcs.C: fix for lost changes on triple-paste
997         in change tracking mode [bug 1827] (par.setChange()).
998
999 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1000
1001         * text2.C (updateCounters, setCounter, expandLabel): move to
1002         buffer_funcs.
1003
1004         * buffer_funcs.C (updateCounters): turn into a free standing
1005         function and add a buffer parameter. Remove dead code for tracking
1006         labelstring change.
1007         (setCounter): change into a free-standing function which gets a
1008         dociterator as argument. Use this iterator to fix captions in a
1009         simple way. When no float is found above the caption, use the
1010         labelstring of the caption layout as default.
1011
1012         * text.C (breakParagraph, backspace):
1013         * text2.C (init, setLayout, changeDepth):
1014         * text3.C (dispatch):
1015         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1016         updateCounters.
1017
1018         * dociterator.C (forwardPar): make it much faster by calling
1019         forwardPos() only when really necessary.
1020
1021         * output_docbook.C (makeCommand): adapt to expandLabel move.
1022
1023         * cursor.C: remove unused variable
1024
1025 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1026
1027         * paragraph_funcs.C: fix crash when pasting insets in change
1028         tracking mode [bug 1277] (honour change type in moveItem).
1029
1030 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1031
1032         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1033
1034 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1035
1036         * BufferView.C (setCursor): change to use a DocIterator.
1037         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1038         (putSelectionAt): adapt to BufferView::setCursor change.
1039
1040         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1041         moved here from LyXText and rewritten to use proper cursor
1042         methods. Fixes bug 1787, 616 and 835.
1043
1044         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1045         when inside an inset (part of bug 781).
1046         (dispatch): adapt to change of BufferView::setCursor.
1047         (getStatus, dispatch): handle LFUN_GOTOERROR,
1048         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1049
1050         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1051         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1052         * text3.C (gotoNextInset, gotoInset): removed.
1053
1054 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1057
1058 2005-02-15  Angus Leeming  <leeming@lyx.org>
1059
1060         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1061         can be used meaningfully in a comparison.
1062
1063 2005-02-13  André Pönitz  <poenitz@gmx.net>
1064
1065         * bufferview_funcs.C (coordOffset): improve cursor drawing
1066
1067 2005-02-13  André Pönitz  <poenitz@gmx.net>
1068
1069         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1070         * Cursor.C (dispatch): use fixIfBroken
1071         * lyxfunc.C (getStatus): use fixIfBroken
1072
1073 2005-02-15  Angus Leeming  <leeming@lyx.org>
1074
1075         * lyx_main.C (error_handler):
1076         * lyxfunc.C:
1077         * lyxrc.C (setDefaults):
1078         s/GetEnv/getEnv/.
1079         #include "environment.h".
1080
1081         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1082
1083 2005-02-15  Angus Leeming  <leeming@lyx.org>
1084
1085         * lyxserver.C (startPipe): squash MSVC warning "local variable
1086         'fd' used without having been initialized".
1087
1088 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1089
1090         * BufferView_pimpl.C: revert accidental commit.
1091
1092 2005-02-14  André Pönitz  <poenitz@gmx.net>
1093
1094         * dociterator.[Ch]: new member forwardPosNoDescent(),
1095         which doesn't enter nested insets.
1096         * text2.C (setFont): use forwardPosNoDescent() instead
1097         of ForwardPos() (fixes crash on font change).
1098
1099 2005-02-13  Angus Leeming  <leeming@lyx.org>
1100
1101         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1102         only if lyxrc.path_prefix is not empty.
1103
1104 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1105
1106         * bufferparams.C (readGraphicsDriver): prevent crash
1107
1108 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1109
1110         * text2.C (setCounter): check for inInset() == 0
1111
1112 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1115         but use update() to get correct screen display; use convert
1116         instead of istringstream.
1117         (getStatus): handle LFUN_GOTO_PARAGRAPH
1118
1119         * lyxfunc.C (dispatch, getStatus): do not handle
1120         LFUN_GOTO_PARAGRAPH here.
1121
1122 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1123
1124         * text3.C (dispatch): size() -> depth()
1125
1126         * text2.C: remove some debug output
1127
1128         * paragraph.C: ws changes only
1129
1130         * lyxfunc.C (getStatus): size() -> depth()
1131
1132         * dociterator.h (clear, push_back, pop_back, internalData,
1133         operator[], resize, empty): new functions
1134         Make StableDocIterator and operator== be friends. Don't inherit
1135         from std::vector use a privat class variable slices_ instead.
1136         Modify to fit.
1137
1138         * dociterator.C: update because of not inheriting from std::vector
1139         anymore. Call explictly to slices_ instead. Use depth() instead of
1140         size() and top() instead of back()
1141
1142         * cursor.C: chagne size() -> depth and back() -> top(). Also
1143         remove some direct operator[](i) calls in favour of foo[i]
1144         (getFont): remove some dead code
1145
1146         * bufferview_funcs.C (coordOffset): size() -> depth()
1147
1148         * buffer.C: ws changes only
1149
1150         * CutAndPaste.C (eraseSelection): back() -> top()
1151
1152         * BufferView_pimpl.C (selectionRequested): back() -> top()
1153
1154         * BufferView.C (setCursor): size() -> depth()
1155
1156 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1157
1158         * text3.C (cursorPrevious): return true if depm changed something
1159         (cursorNext): ditto
1160         (dispatch): rename sl to oldTopSlice, remove moving use the new
1161         NoUpdate func attrib instead. Make sure that needsUpdate is set
1162         for function that have NoUpdate, but where depm might have changed
1163         the buffer anyway.
1164
1165         * text2.C (cursorLeft): make us return true if depm changed
1166         something
1167         (cursorRight): ditto
1168         (cursorUpParagraph): ditto
1169         (curosrDownParagraph): ditto
1170         (cursorUp, cursorDown): ditto, make sure to read comments in code
1171         (deleteEmptyParagraphMechanism): remove an assert, also return
1172         true if just a single char was deleted.
1173
1174         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1175         cursor that we modify, to avoid modifying an active cursor before
1176         we call setCursor. This allows depm to run. Also return true if
1177         depm deleted something.
1178
1179         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1180         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1181         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1182         something was changed in the buffer because of them (ie. depm run)
1183
1184         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1185         debug messages. Make update by default be false. Make sure that
1186         the result of update is retained throught several calls down to
1187         dispatch.
1188
1189         * LyXAction.h: add a new func_attrib: NoUpdate
1190
1191         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1192         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1193         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1194         and LFUN_WORDLEFT
1195         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1196
1197 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1198
1199         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1200         bv_->owner(), bv_->buffer() by direct references to the private
1201         members.
1202         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1203         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1204         (fitCursor): center() is in BufferView::Pimpl.
1205         (getStatus, trackChanges, dispatch): no need for a temporary buf
1206         variable
1207         (fitCursor, workAreaDispatch): use workarea().workheight()
1208
1209 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1210
1211         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1212
1213 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1214
1215         * buffer.C: format up to 241.
1216         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1217         break if pasting into ERT
1218         * lyxfunc.C (getStatus): suppress mathpanel and
1219         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1220
1221 2005-02-01  Angus Leeming  <leeming@lyx.org>
1222
1223         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1224
1225 2005-02-01  Angus Leeming  <leeming@lyx.org>
1226
1227         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1228         calling fs::is_directory().
1229
1230 2005-01-31  Angus Leeming  <leeming@lyx.org>
1231
1232         * lyx_main.C (priv_exec): specify explicitly the relative location
1233         of the top level build directory when run in-place.
1234
1235 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1236
1237         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1238         LyXText containing the cursor, not the top-level one.
1239
1240         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1241         true.
1242         (insertStringAsLines): rename par to pit; use temporary variable
1243         par to hold a Paragraph; do not store par.layout() in a variable,
1244         since the pointer may die when breaking paragraphs; pass pars to
1245         breakParagraph() instead of Buffer::paragraphs().
1246
1247 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1248
1249         * lyxlex_pimpl.h: #include <fstream>.
1250
1251         * BufferView.[Ch] (getLyXText): add a const version.
1252
1253         * BufferView_pimpl.C: add debug aids.
1254
1255         * RowList_fwd.h:
1256         * buffer.h:
1257         * lyxrow.h:
1258         * paragraph_funcs.h: add commentary explaining what the class does.
1259
1260
1261         * coordcache.[Ch]: add lots of commentary.
1262         (startUpdating, doneUpdating): debug aids.
1263         (arrays, insets, parPos, getParPos): accessors to private data.
1264
1265         * cursor_slice.[Ch] (text): add a const version.
1266         * dociterator.[Ch] (text, innerText): add const versions.
1267
1268         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1269         bool.
1270
1271         * paragraph.C (getRow, pos2ros): add asserts.
1272
1273         * paragraph.h: add commentary. Lots of.
1274
1275         * paragraph.[Ch] (metrucs, draw): removed.
1276
1277         * cursor.C:
1278         * rowpainter.[Ch]: const-correct changes.
1279
1280         * text.C: various obvious clean-ups. Removal of ancient cruft.
1281         Bug fixes, even.
1282
1283 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1284
1285         * vc-backend.C (find_file): rewrite to use boost.filesystem
1286         (scanMaster): ditto
1287
1288         * main.C (main): set default name check for boost.filesystem to
1289         no check
1290
1291         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1292         (open): ditto
1293         (doImport): ditto
1294         (actOnUpdatedPrefs): ditto
1295
1296         * lyx_main.C (init): rewrite to use boost.filesystem
1297         (queryUserLyXDir): ditto
1298
1299         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1300         (getContentsOfAsciiFile): ditto
1301
1302         * lastfiles.C (readFile): rewrite to use boost.filesystem
1303
1304         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1305
1306         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1307         (loadLyXFile): ditto
1308
1309         * buffer.C (Buffer): adjust for destroydir
1310         (getLogName): rewrite to use boost.filesystem
1311         (setFileName): ditto
1312         (save): use fs::copy_file (from fs_extras)
1313
1314         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1315
1316         * LaTeX.C (run): rewrite to use boost.filesystem
1317         (scanAuxFiles): ditto
1318         (handleFoundFile): ditto
1319
1320 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1321
1322         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1323
1324         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1325
1326 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1327
1328         * lyxlayout.[Ch]: change some vars from float to double
1329
1330         * buffer.C (readFile): make a local var const
1331
1332         * Several files: use convert<> instead of atoi,strToXXX and friends
1333
1334 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1335
1336         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1337         holds the contents of packages.lst. New functions getAvailable
1338         and isAvailable to parse and check that list, resp.
1339
1340         * LyXAction.C:
1341         * lfuns.h:
1342         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1343
1344         * bufferparams.[Ch]: new param output_changes.
1345
1346         * Buffer.C: increase file format to 240.
1347         Use output_changes and isVailable.
1348
1349         * changes.[Ch]:
1350         * paragraph.C:
1351         * paragraph_pimpl.C: Use output_changes and isVailable.
1352
1353 2005-01-23  Angus Leeming  <leeming@lyx.org>
1354
1355         * output_latex.C: #include "insetbibitem.h", rather than
1356         forward declare function bibitemWidest.
1357
1358 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1359
1360         * lyx_main.C (init): make it compile on the Mac.
1361
1362 2005-01-20  Angus Leeming  <leeming@lyx.org>
1363
1364         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1365         (setLyXMisc): (char string literal) != (char string literal) is
1366         performing a comparison on the addresses. Convert one operand
1367         explicitly to string to guarantee expected behaviour.
1368         From MSVC warning.
1369
1370 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1371
1372         * buffer.C:
1373         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1374
1375         * output_plaintext.C: remove unneeded #include gzstream.h.
1376
1377 2005-01-20  Angus Leeming  <leeming@lyx.org>
1378
1379         * SpellBase.h: rename some of the elements of the Result enum.
1380
1381         * aspell_local.h:
1382         * ispell.h:
1383         * pspell.h:
1384         * aspell.C (check):
1385         * ispell.C (check):
1386         * pspell.C (check): ditto
1387
1388 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1389
1390         * buffer.C: add #include <fstream>.
1391
1392         * lyx_main.C (init): Compile fix.
1393
1394         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1395
1396 2005-01-20  Angus Leeming  <leeming@lyx.org>
1397
1398         * mover.h: change commentary to reflect the changed meaning of
1399         the $$s placeholder.
1400
1401 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1402
1403         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1404
1405         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1406
1407 2005-01-20  Angus Leeming  <leeming@lyx.org>
1408
1409         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1410         printing diagnostic data by not dereferecing an iterator past the
1411         end.
1412
1413 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1414
1415         * buffer.C (readHeader): use "&&" rather than "and".
1416
1417         * lyxserver.h (inPipeName, outPipeName): make these const.
1418
1419 2005-01-19  Angus Leeming  <leeming@lyx.org>
1420
1421         * lyx_main.C (error_handler, init): protect SIGHUP with
1422         #ifdef SIGHUP guards.
1423
1424 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1425
1426         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1427
1428 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1429
1430         * text.C (setHeightOfRow): add a margin at the top and bottom of
1431         the document (bug 1761)
1432
1433 2005-01-17  Angus Leeming  <leeming@lyx.org>
1434
1435         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1436         with "python ". Workaround for a brain-dead Windows.
1437
1438 2005-01-16  Angus Leeming  <leeming@lyx.org>
1439
1440         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1441         for MacOSX and Windows to use prependEnvPath.
1442         Strip out the hard-coded block to add elements to the PATH for
1443         MacOSX and replace it with a call to prependEnvPath using the
1444         contents of LyXRC::path_prefix.
1445         (queryUserLyXDir): strip out the code to run reconfigure, instead
1446         returning a boolean indicating the necessity to do so.
1447         (reconfigureUserLyXDir): contains the code to reconfigure the
1448         user support directory. Is now called after the various LyXRC data
1449         files have been read.
1450
1451         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1452
1453 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1454
1455         * converter.[Ch] (convert): take a new parameter try_default. Use
1456         a default converter (imagemagick) if try_default is true.
1457
1458 2005-01-13  Angus Leeming  <leeming@lyx.org>
1459
1460         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1461         os::cygwin_path_fix.
1462         (write): output LyXRC::cygwin_path_fix as necessary.
1463
1464 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1465
1466         * lyxrc.h:
1467         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1468
1469 2005-01-12  Angus Leeming  <leeming@lyx.org>
1470
1471         * lyx_main.C (init): set the PATH variable to include the
1472         directory containing the LyX binary when running on Mac or Windows.
1473
1474 2005-01-12  Angus Leeming  <leeming@lyx.org>
1475
1476         * lyx_main.C (init): remove cruft that purports to set the locale
1477         dir. It doesn't and is not needed anyway.
1478
1479 2005-01-10  Angus Leeming  <leeming@lyx.org>
1480
1481         * Makefile.am: remove the lyx_main.C special casing.
1482
1483         * BufferView_pimpl.C:
1484         * bufferlist.C:
1485         * exporter.C:
1486         * lyx_cb.C:
1487         * lyx_main.C:
1488         * lyxfunc.C:
1489         * messages.C: use support/package.h to provide the paths to the
1490         various directories used by LyX.
1491
1492 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1493
1494         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1495         layout if pasting into an empty paragraph)
1496
1497 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1498
1499         * tex-accent.C: add <string>
1500
1501 2005-01-06  José Matos  <jamatos@lyx.org>
1502
1503         * ParagraphParameters.C (write): put every parameter in its own line.
1504         * paragraph.C (write): reduce number of consecutive empty lines exported.
1505         * buffer.C (LYX_FORMAT): increase file format to 239.
1506
1507 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1508
1509         * everywhere: change support/tostr.h -> support/convert.h
1510
1511         * tabular.C: make all write_attributes templates, tostr -> convert
1512
1513         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1514         (emptyTag): and -> &&, and fix type for ret from getChar
1515         (getFirstWord): fix type for ret from getChar
1516         (onlyText): and -> &&
1517         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1518         getChar
1519
1520         * toc.C (goTo, action):
1521         * text3.C (dispatch):
1522         * text.C (currentState):
1523         * tex-accent.C (DoAccent):
1524         * sgml.C:
1525         * lyxrc.C:
1526         * lyxfunc.C (menuNew):
1527         * lyxfinc.C (replace):
1528         * counters.C (laberItem):
1529         * bufferview_funcs.C (font2string):
1530         * bufferparams.C (writeFile):
1531         * buffer.C (readFile):
1532         * Spacing.C (set):
1533         * MenuBackend.C: tostr -> convert
1534
1535         * LaTeX.C (runMessage): fix format
1536         (scanAuxFiles): tostr -> convert
1537
1538         * BufferView_pimpl.C (savePosition): fix format
1539         (restorePosition): ditto
1540         (dispatch): ditto
1541
1542 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1543
1544         * Spacing.[Ch]: New method getValueAsString().
1545
1546         * Spacing.[Ch]:
1547         * bufferparams.C:
1548         * ParagraphParameters.C:
1549         * lyxlayout.C:
1550         * text.C:
1551         * text3.C: store/read spacing value as string.
1552
1553         * rowpainter.C: change float value (spacing_val) to double.
1554
1555         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1556         broken custom document spacing).
1557
1558 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1559
1560         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1561         namespace, also more use of temp references and const
1562
1563         * cursor.[Ch] (getStatus): move to lyxfunc.C
1564
1565         * bufferparams.C: reformat slightly
1566
1567         * bufferview_funcs.C (font2string): constify arg
1568
1569         * changes.C:
1570         * converter.C:
1571         * counters.C:
1572         * bufferlist.C:
1573         * buffer_funcs.C: (many funcs): constify arg on function
1574         definitions, also make more local vars const, also add ASSERTS on
1575         pointer args.
1576
1577         * buffer.C (LYX_FORMAT): put const in correct place
1578         (many funcs): constify arg on function definitions, also make
1579         more local vars const
1580
1581         * aspell_local.h: remove "struct" from typdef setup
1582
1583         * aspell.C (check): make word_ok const
1584         (nextMiss): simplify slightly
1585         (error): ditto
1586
1587 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1588
1589         * lyxrc.[Ch]: store all float values as strings.
1590         use int (not float) for lyxrc.dpi.
1591
1592 2005-01-04  Angus Leeming  <leeming@lyx.org>
1593
1594         * lyx_cb.C (Reconfigure):
1595         * lyx_main.C (queryUserLyXDir):
1596         to run the <system_lyxdir>/configure correctly on Windows, prefix
1597         the path to the script with "sh " when generating the string that
1598         is passed to system().
1599
1600 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1601
1602         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1603
1604 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1605
1606         * lyxlength.C (asLatexString): get rid of setprecision
1607
1608 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * text2.C (setLayout): remove unused variable endpit.
1611         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1612
1613         * paragraph.C (onlyText): remove unused variable style.
1614
1615         * cursor.C (bruteFind): remove unused variables beg and end.
1616
1617         * Makefile.am (dist_noinset_DATA): not needed anymore
1618
1619         * cheaders/*: remove.
1620
1621 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1622
1623         * text3.C: fix LFUN_MATH_MODE.
1624
1625 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1626
1627         * buffer_funcs.C (countWords): new function. Counts words between
1628         two iterators.
1629
1630         * BufferView_pimpl.C (getStatus, dispatch): handle
1631         LFUN_WORDS_COUNT.
1632
1633         * LyXAction.C (init):
1634         * lfuns.h: add LFUN_WORDS_COUNT.
1635
1636 2004-12-19  Angus Leeming  <leeming@lyx.org>
1637
1638         * buffer.C (save): s/slashify_path/internal_path/.
1639
1640 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1641
1642         * lyxfind.C (findChange): do not search for end of pars, because
1643         the change tracker cannot handle this (fixes bug 1719).
1644
1645 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1646
1647         * paragraph.[Ch] (autoBreakRows): remove
1648
1649         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1650
1651         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1652         avoid using the paragraph one
1653
1654         * text2.C (LyXText, insertStringAsLines): adjust
1655
1656 2004-12-16  Angus Leeming  <leeming@lyx.org>
1657
1658         * bufferlist.C:
1659         * lyx_main.C:
1660         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1661
1662 2004-12-14  Angus Leeming  <leeming@lyx.org>
1663
1664         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1665
1666         * bufferlist.C (emergencyWrite):
1667         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1668         GetEnvPath("HOME").
1669
1670 2004-12-14  Angus Leeming  <leeming@lyx.org>
1671
1672         * main.C: (main): no longer pass pointers to os::init.
1673
1674 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1675
1676         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1677         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1678
1679 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1680
1681         * lyxfunc.C:
1682         * text3.C: remove selection_possible global flag
1683
1684 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1685
1686         * text2.C (getSelectionSpan): remove
1687         (changeDepth, changeDepthAllowed): adjust
1688
1689 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1690
1691         * Makefile.am (BOOST_LIBS): use boost variables
1692
1693 2004-12-03  José Matos  <jamatos@lyx.org>
1694
1695         * buffer.C: format up to 238.
1696
1697 2004-12-03  José Matos  <jamatos@lyx.org>
1698
1699         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1700
1701 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1702
1703         * cursor.C (goUpDown): remove call to idxUpDown2
1704
1705 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1706
1707         * tabular.[Ch]: use size_t-like types for cell, row and column
1708         indices
1709
1710 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1711
1712         * lyxfunc.C (getStatus): do not lose previous information when
1713         calling BufferView::getStatus; do not set a default "Command
1714         disabled" message at the beginning, but just before returning.
1715
1716 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1717
1718         * cursor.h (getStatus): add better comment from src/cursor.C
1719
1720 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1721
1722         * text3.C (getStatus): return false when the lfun is not handled
1723
1724 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1725
1726         * broken_headers.h: remove
1727
1728         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1729
1730 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1731
1732         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1733         offset_ref accessors
1734
1735         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1736         top_y_, merge fitcursor with update
1737         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1738         coord scheme
1739         (metrics): introduce
1740         (workAreaDispatch): adapt to new coord scheme
1741         (redoCurrentBuffer): remove
1742
1743         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1744
1745         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1746         CurStatus enum.
1747
1748         * coordcache.[Ch]: add paragraph cache and helpers
1749
1750         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1751         adjust everywhere
1752
1753         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1754         (targetX, setTargetX): introduce
1755
1756         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1757         baseline -> ascent, as the rest of lyx
1758
1759         * lyxtext.h: remove redoParagraphs, updateParPositions,
1760         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1761         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1762         have ascent/descent (ascent is ascent of first par)
1763
1764         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1765         step of BufferView
1766
1767         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1768
1769         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1770
1771         * pariterator.C: fix infinite loop introduced in par->pit renaming
1772
1773         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1774         in insets and LyXText, draw two off-screen paragraphs using
1775         NullPainter, and adapt to new coord scheme
1776
1777         * text.C:
1778         * text2.C:
1779         * text3.C: adapt lfun handlers to the new coord scheme, which
1780         means: there's only guaranteed coord information for onscreen pars
1781         plus one above and one below. This implies that one can do search
1782         from y coordinates in the range [-1,workHeight]
1783
1784 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1785
1786         * rename a lot of InsetOld to InsetBase
1787
1788 2004-11-25  Angus Leeming  <leeming@lyx.org>
1789
1790         * BufferView_pimpl.C:
1791         * lyx_cb.C:
1792         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1793
1794 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1795
1796         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1797         call BufferView::getStatus if LCursor::getStatus did nothing
1798         (setStatusMessage, getStatusMessage): removed.
1799
1800         * FuncStatus.C (message): new methods. Used to provide an error
1801         message indicating why a command is disabled.
1802         (clear, |=, FuncStatus): update for message.
1803
1804 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1805
1806         * lyxfunc.C (dispatch): always call sendDispatchMessage
1807
1808 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1809
1810         * BufferView.C:
1811         * BufferView_pimpl.C:
1812         * CutAndPaste.C:
1813         * FontIterator.C:
1814         * buffer.C:
1815         * cursor.C:
1816         * cursor_slice.[Ch]:
1817         * dociterator.[Ch]:
1818         * lyxfind.C:
1819         * paragraph_funcs.C:
1820         * pariterator.C:
1821         * rowpainter.C:
1822         * text.C:
1823         * text2.C:
1824         * text3.C:
1825         * undo.C: par->pit renaming
1826
1827 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1828
1829         * tabular.C (cellstruct): use initialization, store a shared_ptr
1830         to insettext instead of the insettext directly, adjust to fit.
1831         (operator=):  new function
1832         (swap): new function
1833         (rowstruct): use initialization
1834         (columnstruct): use initialization
1835         (ltType): use initialization
1836
1837
1838         * lyxlength.h (swap): new function
1839
1840         * LColor.[Ch] (operator=): use the common semantics
1841
1842 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1843
1844         * lyxfind.C (findNextChange): update the bufferview after setting
1845         the selection.
1846
1847 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1848
1849         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1850         number of InsetOptArgs has already been inserted.
1851
1852         * output_latex.C (latexOptArgInsets): new method. This outputs all
1853         the optarg insets, up to the limit defined in the layout file.
1854         (optArgInset): removed
1855         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1856
1857 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1858
1859         * paragraph.C (isLetter): remove special spellchecker-related
1860         code; return true also for digits
1861         (isWord, isKomma): remove
1862
1863         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1864         * lyxfind.C (MatchString()): use isLetter instead of isWord
1865
1866 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1867
1868         * pariterator.h (operatir=): comment out un-implemented member
1869         function.
1870
1871         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1872         static cast.
1873
1874 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1875
1876         * lyxfont.h: include LColor.h to satisfy concept checks.
1877
1878 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1879
1880         * pariterator.h: add typdefs for value_type, difference_type,
1881         pointer and reference to satisfy concept checks. Also add default
1882         constructor for same reason.
1883
1884         * pariterator.C (operator++): add post-increment operator to
1885         satisfy concept checks.
1886
1887         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1888         checks.
1889
1890         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1891
1892         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1893         checks. Also rename base_type to BaseType to follow naming
1894         standard better.
1895
1896         * FloatList.h: include Floating.h to satisfy concept checks.
1897
1898 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1899
1900         * lyxfunc.C (getStatus): when the origin of the request is menu or
1901         toolbar, and the LyXView does not have focus, do as if there was
1902         no buffer (bug 1720)
1903
1904         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1905         FuncRequest to individual entries of LFUN_SEQUENCE
1906
1907 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1908
1909         * output_latex.C (TeXOnePar): override runparams.moving_arg
1910         according to the needprotect value of the current paragraph (bug
1911         1739)
1912
1913         * paragraph.C (simpleTeXOnePar): no need to override
1914         runparams.moving_args here
1915
1916 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1917
1918         * vspace.C: fix off-by-one-error, related to fix #1682
1919
1920 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1921
1922         * lengthcommon.C: a more general fix for bug 1682
1923
1924 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1925
1926         * text.C (backspace): fix crash
1927
1928 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1929
1930         * format.[Ch] (getFormatFromFile): new method
1931         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1932
1933 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1934
1935         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1936
1937 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1938
1939         * lyxfunc.C (dispatch): remove the verbose argument
1940         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1941         instead
1942
1943         * kbmap.C (defkey): set the origin of func to KEYBOARD
1944
1945         * MenuBackend.C (MenuItem):
1946         * ToolbarBackend.C (add): set the origin of func to UI
1947
1948         * funcrequest.[Ch]: add origin member, which indicates which part
1949         of LyX requests an action
1950
1951 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1952
1953         * converter.C (move): don't lie in the error message
1954         * converter.h (isReachable, move): document
1955
1956 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1957
1958         * buffer.C: remove unused using lyx::support::atoi
1959         * paragraph_funcs.C: ditto
1960
1961 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1962
1963         * bufferlist.C (exists): use bind and equal_to instead of
1964         compare_memfun
1965         (getBuffer): ditto
1966         * lyxtextclasslist.C (NumberOfClass): ditto
1967
1968         * cursor.C (insert): use for_each instead of explicit for loop
1969
1970         * bufferlist.C (getFileNames): use std::transform and
1971         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1972
1973         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1974         for loop
1975
1976         * buffer.C (changeLanguage): use for_each instead of explicit for
1977         loop
1978         (hasParWithID): implement using getParFromID
1979
1980         * LaTeXFeatures.C: ws change only
1981
1982         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1983         to cleanup a bit.
1984
1985         * BufferView_pimpl.C (trackChanges): use for_each instead of
1986         expilicit for loop
1987
1988 2004-11-04  André Pönitz  <poenitz@gmx.net>
1989
1990         * undo.h:
1991         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1992
1993         * dociterator.C (asDocIterator): use hard assert again.
1994
1995 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1996
1997         * lyxlength.C (asLatexString): rewrite so that it does not use
1998         snprintf anymore
1999
2000 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2001
2002         * text3.C (specialChar, dispatch): make sure cursor moves to the
2003         right after inserting an inset
2004
2005 2004-11-02  José Matos  <jamatos@lyx.org>
2006
2007         * output_docbook.C (docbook):
2008         * paragraph.C (getID):
2009         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2010         garantee that the output is always legal.
2011
2012         * tabular.C (docbook):
2013         * outputprams.[Ch]: remove mixed contents.
2014
2015 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2016
2017         * text2.C (setCounter): prevent endless loop
2018
2019 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2020
2021         * exporter.C (copyFile): use the mover instead of support::copy()
2022         * exporter.C (Export): pass format and latex name to copyFile()
2023         * exporter.h (addExternalFile): document
2024         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2025
2026 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2027
2028         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2029
2030 2004-10-30  José Matos  <jamatos@lyx.org>
2031
2032         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2033         text and no inset or font change. This allows to use CDATA
2034         sections just for the whole paragraph.
2035
2036 2004-10-30  José Matos  <jamatos@lyx.org>
2037
2038         * paragraph.C (getFirstWord): remove unused variable.
2039
2040 2004-10-30  José Matos  <jamatos@lyx.org>
2041
2042         * paragraph.C (getFirstWord): the content should always be escaped
2043         there.
2044         (simpleDocBookOnePar):
2045         * output_docbook.C (makeEnvironment): replace reference to CDATA
2046         to style pass_thru.
2047
2048 2004-10-30  José Matos  <jamatos@lyx.org>
2049
2050         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2051
2052 2004-10-30  José Matos  <jamatos@lyx.org>
2053
2054         * output_docbook.C (makeParagraphs):
2055         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2056         standard paragraph has only a given type of content drop the wrapper.
2057
2058 2004-10-29  José Matos  <jamatos@lyx.org>
2059
2060         * output_docbook.C (makeEnvironment):
2061         * sgml.C (openTag):
2062         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2063
2064 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2065
2066         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2067         (cleanID): sanitize any id.
2068
2069 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2070
2071         * buffer.C, lyxlex_pimpl.C:
2072         * lyxlex_pimpl.C (setFile):
2073         s/getExtFromContents/getFormatFromContents/
2074
2075 2004-10-28  José Matos  <jamatos@lyx.org>
2076
2077         * output_docbook.C (makeEnvironment): move id to broadest possible
2078         scope.
2079
2080         * sgml.C (openTag): apply substitution of <> for all attributes.
2081
2082 2004-10-28  José Matos  <jamatos@lyx.org>
2083
2084         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2085         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2086         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2087
2088         * sgml.[Ch]: new version for open and closeTag for paragraph and
2089         for strings. Now they handle the ids of paragraphs.
2090
2091 2004-10-26  Angus Leeming  <leeming@lyx.org>
2092
2093         * Makefile.am: add mover.[Ch].
2094
2095         * converter.C (convert, move): use the new Movers to move external
2096         files to the temp directory.
2097
2098         * lyx_main.C (init): ensure that the global system_movers data
2099         is initialised.
2100
2101         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2102         preferences file.
2103
2104         * mover.[Ch]: new files, defining a Mover as a utility to move an
2105         external file between directories and, if necessary, manipulate this
2106         file using a helper script.
2107
2108 2004-10-25  José Matos  <jamatos@lyx.org>
2109
2110         * output_docbook.C (makeCommand): merge two if's that tested the
2111         same condition.
2112
2113 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114
2115         * sgml.C (escapeString): fix warning in a better way
2116
2117 2004-10-25  José Matos  <jamatos@lyx.org>
2118
2119         * sgml.C (escapeString): import the require boosts header file for
2120         tie, and avoid a signed unsigned comparison.
2121
2122 2004-10-25  José Matos  <jamatos@lyx.org>
2123
2124         * sgml.h: add #include <string>
2125
2126 2004-10-25  José Matos  <jamatos@lyx.org>
2127
2128         * sgml.[Ch] (escapeString): new function to escape all the string.
2129
2130 2004-10-24  José Matos  <jamatos@lyx.org>
2131
2132         * paragraph.[Ch] (getFirstWord): new function to get the first
2133         word. Useful for description.
2134         (simpleDocBookOnePar): remove depth argument, add another that
2135         says where to start the paragraph.
2136
2137         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2138         use the new functions to fix cleanly the support for descriptions.
2139
2140 2004-10-24  José Matos  <jamatos@lyx.org>
2141
2142         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2143         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2144         * output_linuxdoc.C (linuxdocParagraphs):
2145         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2146         add buffer as argument.
2147
2148 2004-10-24  José Matos  <jamatos@lyx.org>
2149
2150         * output_docbook.C (makeEnvironment, searchEnvironment): place
2151         CDATA inside paragraphs and fix scope for listitems.
2152
2153 2004-10-24  José Matos  <jamatos@lyx.org>
2154
2155         * output_docbook.C: remove using statement for stack.
2156
2157 2004-10-23  José Matos  <jamatos@lyx.org>
2158
2159         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2160         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2161         docbook. The new scheme is recursive and makes use of iterators, the
2162         same as latex export works.
2163         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2164         directly with the paragraph contents. This code was moved up to
2165         output_docbook.C (docbookParagraphs).
2166         * sgml.C (openTag, closeTag): removed unneeded newlines.
2167         (closeEnvTags) removed.
2168
2169 2004-10-23  André Pönitz  <poenitz@gmx.net>
2170
2171         * undo.C (textUndoOrRedo):
2172         * dociterator.C (asDocIterator): work around crash
2173
2174         * cursor.C (getStatus): replace ASSERT by more verbose error message
2175           and manual correction of the problem. Should increase stability
2176           while providing more sensible information.
2177
2178 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2179
2180         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2181
2182         * bufferlist.C (previous, next): new methods
2183
2184         * lfuns.h:
2185         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2186
2187 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2188
2189         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2190         entities to preamble.
2191
2192 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2193
2194         * messages.C (Pimpl): strip off translation context information
2195
2196 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2197
2198         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2199         the cursor is correct (bug 1694)
2200
2201 2004-10-13  José Matos  <jamatos@lyx.org>
2202
2203         * output_docbook.C (docbookParagraphs): fix closing tags in the
2204         end of the document.
2205
2206 2004-10-09  José Matos  <jamatos@lyx.org>
2207
2208         * buffer.C: format up to 237.
2209         * bufferparams.C (write): use tostr to convert booleans to strings.
2210
2211 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2212
2213         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2214
2215 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2216
2217         * LaTeX.C: implement use of babel language in xindy.
2218
2219 2004-10-05  José Matos  <jamatos@lyx.org>
2220
2221         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2222         Add new translators to help reading and writing the lyx file.
2223
2224 2004-10-05  José Matos  <jamatos@lyx.org>
2225
2226         * ParagraphParameters.C (read):
2227         * text.C (readParToken): replace nexToken by more appropriate lex
2228         methods.
2229
2230 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2231
2232         * LaTeX.C (runMakeIndex):
2233         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2234         (usually 'makeindex') configurable.
2235
2236         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2237         with a variable rather than with a number.
2238
2239 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2240
2241         * output_latex.C (TeXOnePar): make sure font setting is the first
2242         thing that gets output (and the last at the end). Should fix bug
2243         1404.
2244
2245 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2246
2247         * pch.h: use proper signal include
2248
2249         * LaTeX.h: Use preferred calling of Boost.Signal
2250         * buffer.h: ditto
2251
2252 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2253
2254         * pch.h: dont include <boost/function/function0.hpp>
2255
2256         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2257
2258         * paragraph_pimpl.h: remove usage of ShareContainer
2259
2260         * paragraph_pimpl.C: remove initialization of ShareContainer.
2261
2262 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2263
2264         Fix bug #1666
2265
2266         * BufferView.C (putSelectionAt): change the semantics when
2267         backwards == true: now, this just swaps cursor and anchor wrt the
2268         forward case
2269
2270         * BufferView.h (putSelectionAt): add some documentation
2271
2272         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2273         make sure backwardChar is done at least once (to avoid getting
2274         stuck)
2275         (findNextChange): use putSelectionAt in the forward direction
2276         (operator()): use Paragraph::isWord
2277
2278 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2279
2280         * Spacing.C (set): c_str fix
2281
2282 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * lyx_cb.C (Reconfigure): quote the name of configure script in
2285         case it contains spaces
2286
2287 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2288
2289         * client: new dir
2290
2291         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2292         (BOOST_LIBS): use top_buildir when looking for the file
2293
2294 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2295
2296         * pch.h: do not use include boost/format.hpp, multiple symbols
2297                 will result (gcc bug)
2298
2299
2300 2004-08-23  José Matos  <jamatos@lyx.org>
2301
2302         * bufferparams.C (readToken): fix reading of the author field.
2303
2304 2004-08-20  José Matos  <jamatos@lyx.org>
2305
2306         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2307
2308 2004-08-20  José Matos  <jamatos@lyx.org>
2309
2310         * lyxlex.[Ch] (findToken): remove function.
2311
2312         * ParagraphParameters.C (findToken):
2313         * bufferparams.C (findToken): replace call for previous function
2314         with local copy. This local function has one more argument, the
2315         read string argument.
2316
2317 2004-08-16  José Matos  <jamatos@lyx.org>
2318
2319         * ParagraphParameters.C (write):
2320         * Spacing.C (writeFile):
2321         * bufferparams.C (writeLaTeX):
2322         * lyx_cb.C (Reconfigure):
2323         * paragraph.C (write):
2324         * tabular.C (write): remove unnecessary space at end of line.
2325
2326
2327 2004-08-16  José Matos  <jamatos@lyx.org>
2328
2329         * text.C (readParagraph): remove debug message.
2330
2331 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2332
2333         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2334         crash
2335
2336         * output_plaintext.C (asciiParagraph): set depth correctly
2337
2338         * outputparams.h: add member depth
2339
2340         * paragraph_funcs.C (ownerPar): remove.
2341
2342         * text2.C (setCounter): remove first_pit; comment out some
2343         non-working code that uses ownerPar
2344
2345         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2346         uses ownerPar
2347
2348 2004-08-16  José Matos  <jamatos@lyx.org>
2349
2350         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2351         For the same level of importance use the same chanel to report problems.
2352         (read): add code to deal with \begin_body and \end_body.
2353
2354
2355 2004-08-15  José Matos  <jamatos@lyx.org>
2356
2357         * lyxlex.C (getString): fix comment, buffer::readBody is now
2358         buffer:readDocument.
2359
2360         * tex-strings.C (string_papersize): Default -> default,
2361         Custom -> custom, for consistency with other options.
2362
2363 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2364
2365         * pch.h: new file
2366
2367         * Makefile.am: support pch
2368
2369 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2370
2371         * text.C (readParToken): remove the static LyXFont variable and
2372         pass it as a parameter instead. This fixes a nasty bug where an
2373         inset will be inserted with a bad font in some situations
2374         (readParagraph): adapt
2375
2376         * text2.C (setCounter): reduce number of calls to pars_[pit]
2377
2378         * text.C (singleWidth): add an assert, fix a test
2379
2380         * rowpainter.C (paintText): reduce number of calls to singleWidth
2381
2382         * paragraph.C (isHfill):
2383         (isNewline): ws only
2384
2385 2004-08-14  André Pönitz  <poenitz@gmx.net>
2386
2387         * text.C:
2388         * text2.C:
2389         * rowpainter.C:
2390         * lyxtext.h (several functions): use a Paragraph & argument
2391         instead of par_type
2392
2393 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2394
2395         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2396
2397         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2398
2399         * text.C (singleWidth): remove useless test
2400
2401 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2402
2403         * tabular.h: remove bogus comments
2404
2405         * tabular.C (getDescentOfRow):
2406         (isPartOfMultiColumn): add assertions
2407
2408         * lyxlength.C (inPixels): remove #warning
2409
2410 2004-08-14  André Pönitz  <poenitz@gmx.net>
2411
2412         * paragraph.h: inline getChar()
2413
2414         * BufferView.h: remove unused declarations
2415
2416 2004-08-14  José Matos  <jamatos@lyx.org>
2417
2418         * Buffer.[Ch] (readDocument): new name for old readBody.
2419         * Buffer.C: new file format, new keywords: \begin_document,
2420         \begin_header, \begin_body, \end_body.
2421
2422         * bufferparams.C (readToken): replace all calls to lex.nextToken
2423         by lex.next(). Do the same to eatLine except where really needed.
2424
2425         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2426         line when writing to the lyx file.
2427
2428         * output_plaintext.C (asciiParagraph): fix Bibliography style
2429         handling.
2430
2431         * text.C (read): fix end of file handling.
2432
2433 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2434
2435         * MenuBackend.C (Menu::operator[]): new method to access
2436         individual menu items
2437         (Menu::hasFunc): new method. search for an item that corresponds
2438         to a given func
2439         (MenuBackend::specialMenu): new method
2440         (MenuBackend::expand): if a special menu has been set, skip
2441         entries whose func() appears in this menu
2442
2443 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2444
2445         * text3.C: use Debug::DEBUG a bit more
2446
2447         * text.C (leftMargin): try to simplify a tiny bit change var x to
2448         l_margin. Dont output the wide margins always.
2449         (rightMargin): no margin in inner texts
2450
2451         * rowpainter.h (nestMargin): new func
2452         (changebarMargin): new func
2453         (rightMargin): new func
2454
2455         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2456         now functions.
2457         (paintLast): ditto
2458
2459         * factory.C (createInset): modify setDrawFrame
2460
2461         * cursor.C: use Debug::DEBUG a bit more
2462
2463 2004-08-14  André Pönitz  <poenitz@gmx.net>
2464
2465         * coordcache.[Ch]:
2466         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2467         cache for all insets in (at least partially) visible (top-level)
2468         paragraphs.
2469
2470         * BufferView_pimpl.C: reset external coord cache before every update.
2471         This means the coord cache only contains valid entries.
2472
2473 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2474
2475         bug 1096
2476         * BufferView_pimpl.C (getInsetByCode): move function out of class
2477         and change in to a template in anon namespace. Also fix to do what
2478         suits us better.
2479
2480 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2481
2482         bug 1305
2483         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2484         of char
2485         (breakParagraph): rename par to par_offset and use a local
2486         reference. Add code to keep the language over a rebreak.
2487         (breakParagraphConservative): rename par to par_offset, use a
2488         local reference
2489         (mergeParagraph): ditto
2490         (outerHook): ditto
2491         (isFirstInSequence): ditto
2492         (outerFont): rename pit to par_offset
2493
2494         * paragraph.C: ws change
2495         * paragraph.h: ditto
2496         * text3.C: ditto
2497         * text.C: ditto
2498
2499 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2500
2501         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2502         treatment for ']'
2503
2504         * paragraph.C (simpleTeXOnePar): when we have a \item with
2505         optional argument, enclose the argument with curly brackets (in
2506         case it contains a closing square bracket)
2507
2508         * text2.C (editXY):
2509         * text2.C (editXY):
2510         * text3.C (checkInsetHit): constify
2511
2512 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2513
2514         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2515         documents (bug 1629)
2516
2517 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2518
2519         Fix toggling of collapsable insets with the mouse (bug 1558)
2520
2521         * lyxfunc.C (dispatch): adapt to LCursor changes
2522
2523         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2524         make sure that dispatch is not invoked twice
2525
2526         * cursor.C (needsUpdate): new method
2527         (dispatch): return void
2528         (result): new method, to access the DispatchResult of the cursor.
2529
2530 2004-08-13  José Matos  <jamatos@lyx.org>
2531
2532         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2533
2534 2004-08-13  André Pönitz  <poenitz@gmx.net>
2535
2536         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2537
2538         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2539           multiple cells
2540
2541 2004-08-12  André Pönitz  <poenitz@gmx.net>
2542
2543         * text3.C: take out the 'cursor right' form insertInset and only
2544         do it in those places when it is really needed. Fixes crash on
2545         C-m...
2546
2547 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2548
2549         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2550
2551         * BufferView_pimpl.C (setBuffer): initialize the current font of
2552         the underlying LyXText
2553
2554 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2555
2556         * kbsequence.C (print): use UI native formatting for menu
2557         shortcuts
2558
2559         * text.C (insertChar): call Paragraph::insertChar with a font
2560         argument (cosmetic)
2561
2562         * paragraph.C (insertInset, insertChar): the version that takes a
2563         LyXFont argument is now a wrapper around the other one (the
2564         opposite used to be true).
2565
2566         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2567         argument. Font setting is done in Paragraph now.
2568
2569 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2570
2571         * outputparams.h: add new members intitle and lang.
2572
2573         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2574         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2575
2576 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2577
2578         * text3.C (dispatch): remove special handling of button 4 and 5,
2579         it is now taken care of in the frontend code.
2580
2581 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2582
2583         * Spacing.h: add <string> (STLPort compile fix)
2584
2585 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2586
2587         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2588
2589 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2590
2591         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2592         to bool.
2593
2594         * converter.C (showMessage): inherit from unary_function, make
2595         operator() const.
2596
2597         * buffer.C (writeFile): initialize retval
2598
2599         * InsetList.h: rename private variable list to list_
2600         * InsetList.[Ch]: adjust accordingly.
2601
2602 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2603
2604         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2605         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2606         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2607         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2608         * ParagraphParameters.C, LaTeXFeatures.C: replace
2609         "support/std_sstream.h" with <sstream>
2610
2611 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2612
2613         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2614         * lyxsocket.C (LyXServerSocket): ditto
2615         (serverCallback): ditto
2616
2617 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2618
2619         * LaTeXFeatures.C: check release date when loading jurabib.
2620
2621 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * lyxserver.C (startPipe): call register_socket_callback
2624         (endPipe): call unregister_socket_callback
2625
2626 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2627
2628         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2629         (LyXServerSocket): register the callback
2630         (LyXServerSocket): unregister the callback
2631         (fd): delete function
2632         (serverCallback): improve error checking and setup the callbacks.
2633         (dataCallback): change arg to fd.
2634         (writeln): new func (copied fro the client socket) used for server
2635         write to client.
2636         (LyXDataSocket): simplify
2637         (~LyXDataSocket): close ann unregiser callback
2638         (server): delete function
2639         (fd): delete function
2640         (readln): small changes, improve some std::string usage
2641         (writeln): constify a bit
2642
2643 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2644
2645         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2646         Qt frontend
2647
2648 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2649
2650         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2651         after it has been populated
2652
2653 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2654
2655         * text2.C (insertInset): move cursor when inserting inset.
2656
2657 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2658
2659         * kbmap.C (findbindings): a couple of new methods. returns a
2660         container of kb_sequence objects. The real work is done by the
2661         private recursive version
2662         (printbindings): uses findbindings to print out a bracketed list
2663         of bindings (renamed from findbinding).
2664
2665         * MenuBackend.C (binding): use kb_keymap::findbindings
2666
2667         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2668
2669 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2670
2671         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2672
2673 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2674
2675         * paragraph.C (isWord): return true on insets that report
2676         isLetter().
2677
2678         * text.C (getWord): use Paragraph::isWord to decide what is in a
2679         word and what is not; fix bug 1609.
2680
2681 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2682
2683         * tex-strings.C: add "none" to string_paperpackages[], fixes
2684         off-by-one-error in the paperpackage selection.
2685
2686         * lyxlex.[Ch]:
2687         * tex-strings.[Ch]: char const * string[n]
2688         -> char const * const string[]
2689
2690 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2691
2692         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2693         command, return early.
2694
2695 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2696
2697         * debug.h: add DEBUG to enum and fix size of ANY.
2698
2699         * debug.C: add support for Debug::DEBUG
2700         (showTags): cast errorTags.level to unsigned int
2701
2702         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2703         (redoCurrentBuffer): ditto
2704         (updateScrollbar): ditto
2705         * cursor.C (dispatch): ditto
2706         * text2.C (setLayout): ditto
2707         (setFont): ditto
2708         (updateCounters): ditto
2709         (editXY): ditto
2710         (deleteEmptyParagraphMechanism): ditto
2711
2712 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2713
2714         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2715         annotations to cleanup the Makefile slightly.
2716
2717 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2718
2719         * lyxrc.C: do not set user_email to a default value but use empty
2720         instead. The entry used to be translated, which does not work
2721         since at the point where lyxrc is constructed there is no
2722         translation service available
2723
2724         * messages.C (getLocaleDir): remove and use directly
2725         lyx_localedir() instead
2726
2727 2004-06-02  Angus Leeming  <leeming@lyx.org>
2728
2729         Fix crash caused by dereferencing null pointer 'exportdata' in
2730         OutputParams by creating a new ExportData variable on the heap,
2731         storing it in a boost::shared_ptr.
2732         The crash was triggered when generating an Instant Preview
2733         of an external inset.
2734
2735         * Makefile.am: add outputparams.C
2736
2737         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2738         (c-tor): allocate memory to it.
2739
2740         * exporter.C (c-tor): associated changes.
2741
2742 2004-06-01  Angus Leeming  <leeming@lyx.org>
2743
2744         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2745         contains data before calling isInset(0). (Bug 1513.)
2746
2747 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2748
2749         * exporter.C (checkOverwrite): new method
2750         * exporter.C (copyFile): new method
2751         * exporter.C (Export): copy referenced files to the document dir
2752         * exporter.[Ch]: new class ExportedFile
2753         * exporter.[Ch]: new class ExportData. Contains currently the
2754         names of referenced external files
2755         * outputparams.h: add exportdata member.
2756
2757 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2758
2759         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2760         version.C-tmp
2761
2762 2004-05-19  Angus Leeming  <leeming@lyx.org>
2763
2764         * LaTeXFeatures.C:
2765         * ToolbarBackend.C:
2766         * bufferparams.C:
2767         * lyxfunc.C: small changes due to the introduction of namespace
2768         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2769
2770 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2771
2772         * text3.C (dispatch): supress update when only moving the cursor
2773         * cursor.C (selHandle): remove commented code
2774
2775 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2776
2777         * paragraph.C (startTeXParParams): correct column count
2778         * CutAndPaste.C (pasteSelection): remove const_cast
2779         * output_docbook.C (docbookParagraphs): remove const_cast
2780         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2781         const_cast and return ParagraphList::const_iterator
2782         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2783         * output_plaintext.C (writeFileAscii): remove const_cast
2784         * paragraph.[Ch] (simpleTeXOnePar): make const
2785         * paragraph_funcs.C (outerPar): use const iterators
2786         * paragraph_pimpl.C (validate): use const iterators
2787         * text.C (setHeightOfRow): use const iterators
2788
2789 2004-05-17  Angus Leeming  <leeming@lyx.org>
2790
2791         * lfuns.h:
2792         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2793
2794         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2795         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2796         if the citation engine has changed.
2797
2798 2004-05-14  José Matos  <jamatos@lyx.org>
2799
2800         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2801         if the textclass does not provide it. Have it different for sgml and
2802         xml.
2803         support the language of document.
2804         * output_docbook.C (docbookParagraphs):
2805         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2806         first anchor as the id of the paragraph, remove special case code.
2807         * sgml.C (escapeChar): escape only < & >.
2808
2809 2004-05-14  Angus Leeming  <leeming@lyx.org>
2810
2811         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2812         dependencies on src/frontends/controllers/biblio.h. Define a
2813         CiteEngine_enum wrapper class to enable the enum to be forward
2814         declared.
2815
2816 2004-05-12  Angus Leeming  <leeming@lyx.org>
2817
2818         * buffer.C: up LYX_FORMAT to 234.
2819         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2820         use_numerical_citations with a single biblio::CiteEngine cite_engine
2821         variable.
2822         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2823
2824 2004-05-13  José Matos  <jamatos@lyx.org>
2825
2826         * converter.h:
2827         * converter.C (Converter, readFlags): add xml member.
2828         * outputparams.h: add XML flavor.
2829         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2830
2831 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2832
2833         * lyxfunc.C (dispatch):
2834         (getStatus): fix handling of LFUN_SEQUENCE
2835
2836 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2837
2838         * debug.C (showLevel): do not forget the end-of-line marker
2839
2840 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2841
2842         * kbmap.C (read): do not stop parsing a bind file when an error
2843         occurs (bug 1575)
2844
2845 2004-04-29  Angus Leeming  <leeming@lyx.org>
2846
2847         * cursor.C:
2848         * factory.C:
2849         * pariterator.C:
2850         * text2.C: wrap a bunch of #warning statements
2851         inside #ifdef WITH_WARNINGS blocks.
2852
2853 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2854
2855         * buffer.C: increment format to 233.
2856
2857 2004-04-28  Angus Leeming  <leeming@lyx.org>
2858
2859         * BufferView_pimpl.C:
2860         * lyxfunc.C:
2861         * text3.C:
2862         s/updateToolbar()/updateToolbars()/
2863         s/Toolbar.h/Toolbars.h/
2864
2865 2004-04-28  Angus Leeming  <leeming@lyx.org>
2866
2867         * BufferView.[Ch] (c-tor):
2868         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2869         No longer passes these data to the WorkArea generator.
2870
2871 2004-04-28  Angus Leeming  <leeming@lyx.org>
2872
2873         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2874
2875 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2876
2877         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2878
2879 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2880
2881         * output_latex.C (TeXEnvironment): make sure that there is a line
2882         break before \end{foo} for the last paragraph of a document
2883         (TeXOnePar): if the paragraph is at the end of the document (or
2884         inset) and the language has to be reset, then make sure that the
2885         line break is _before_ the language command, not after (fixes bug
2886         1225); also make sure that the language reset command is the first
2887         thing after the paragraph (to ensure proper nesting of
2888         environments and thus fix bug 1404)
2889
2890 2004-04-21  John Levon  <levon@movementarian.org>
2891
2892         * ToolbarBackend.h:
2893         * ToolbarBackend.C: make "name" be a programmatic name
2894         and a gui_name field.
2895
2896         * lyxfunc.C: display the minibuffer on M-x
2897
2898 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2899
2900         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2901         (bug 1526)
2902
2903 2004-04-19  Angus Leeming  <leeming@lyx.org>
2904
2905         * BufferView_pimpl.C (setBuffer): changed preview interface.
2906
2907         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2908         possible values.
2909
2910 2004-04-19  John Levon  <levon@movementarian.org>
2911
2912         * BufferView_pimpl.C:
2913         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2914
2915 2004-04-05  Angus Leeming  <leeming@lyx.org>
2916
2917         * text.C (redoParagraphs): add call to updateCounters(), thereby
2918         fixing the missing "Figure #:" label from the caption of a
2919         figure float.
2920
2921 2004-04-13  Angus Leeming  <leeming@lyx.org>
2922
2923         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2924         cursor is clicked out of an inset.
2925
2926 2004-04-13  Angus Leeming  <leeming@lyx.org>
2927
2928         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2929         than an InsetOld one.
2930
2931 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2932
2933         * format.[Ch]: add editor to Format
2934         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2935         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2936
2937 2004-04-08  André Pönitz  <poenitz@gmx.net>
2938
2939         * metricsinfo.h: remove PainterInfo::width member
2940
2941 2004-04-08  Angus Leeming  <leeming@lyx.org>
2942
2943         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2944         "\providecommand" rather than "\newcommand", thereby preventing
2945         clashes with packages that define "\boldsymbol" themselves.
2946         Eg, beamer.
2947
2948 2004-04-08  Angus Leeming  <leeming@lyx.org>
2949
2950         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2951         thereby squashing an unnecessary warning.
2952
2953 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2954
2955         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2956         setBuffer()
2957
2958 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2959
2960         * BufferView.C (setCursor): call redoParagraph (some insets could
2961         have been opened)
2962         (putSelectionAt): remove the 'double update' trick
2963
2964         * BufferView_pimpl.C (fitCursor): call refreshPar
2965         (workAreaDispatch): remove an uneeded update call
2966         (dispatch): remove some manual update calls
2967
2968         * cursor.[Ch]: remove cached_y_, updatePos
2969         (selHandle): set noUpdate when appropriate
2970
2971         * lyxfunc.C (dispatch): track if we need an update
2972
2973         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2974
2975         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2976         (paintSelection): cheap optimization, do not call cursorX when not
2977         needed
2978         (paintPars): change signature
2979         (refreshPar): add
2980         (paintText): adjust
2981         (paintTextInset): adjust
2982
2983         * text.C: adjust
2984
2985 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2986
2987         * lengthcommon.C: compilation fix: remove explicit array size from
2988         unit_name[] and friends
2989
2990 2004-04-05  Angus Leeming  <leeming@lyx.org>
2991
2992         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2993
2994         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2995         present only for the preferences dialog.
2996         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2997
2998 2004-04-05  Angus Leeming  <leeming@lyx.org>
2999
3000         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3001         to enable the frontends to export changes to lyxrc correctly.
3002
3003         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3004
3005 2004-04-07  André Pönitz  <poenitz@gmx.net>
3006
3007         * cursor.[Ch] (selClear, adjust): remove math
3008
3009         * cursor_slice.C: more agressive assert
3010
3011         * lyxfunc.C:
3012         * BufferView_pimpl.C: rework mouse event dispatch
3013
3014         * dociterator.C:
3015         * paragraph.C:
3016         * text2.C:
3017         * text3.C: adjust
3018
3019 2004-04-05  André Pönitz  <poenitz@gmx.net>
3020
3021         * cursor.[Ch] (valign, halign...): remove unneeded functions
3022
3023 2004-04-05  Angus Leeming  <leeming@lyx.org>
3024
3025         * lyxlength.[Ch] (unit_name et al.): const-correct.
3026
3027 2004-04-05  Angus Leeming  <leeming@lyx.org>
3028
3029         * BufferView_pimpl.C:
3030         * buffer.C:
3031         * counters.C:
3032         * cursor.C:
3033         * lyxfunc.C
3034         * paragraph.C:
3035         * pariterator.C:
3036         * text.C:
3037         * text2.C:
3038         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3039
3040 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3041
3042         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3043
3044 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3045
3046         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3047         * BufferView_pimpl.[Ch] (getStatus)
3048         * BufferView.[Ch] (getStatus): add
3049         * lyxfunc.C (getStatus): move lfuns handled in
3050         BufferView::dispatch to te function above
3051         * Cursor.C (setSelection): set selection() = true
3052
3053 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3054
3055         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3056
3057 2004-03-31  Angus Leeming  <leeming@lyx.org>
3058
3059         * lyxfunc.C (dispatch): Fall through to the generic
3060         Dialogs::show("preamble").
3061
3062 2004-03-31  Angus Leeming  <leeming@lyx.org>
3063
3064         * lyxfunc.C (dispatch): Fall through to the generic
3065         Dialogs::show("spellchecker").
3066
3067 2004-03-31  Angus Leeming  <leeming@lyx.org>
3068
3069         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3070         preferences dialog.
3071
3072 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3073
3074         * BufferView.C
3075         * cursor.[Ch]
3076         * dociterator.[Ch]:
3077         * insetiterator.[Ch]:
3078         * lyxfind.C:
3079         * lyxfunc.C:
3080         * pariterator.[Ch]:
3081         * text2.C:
3082         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3083
3084 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3085
3086         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3087         insets where we are putting the cursor.
3088
3089 2004-03-31  Angus Leeming  <leeming@lyx.org>
3090
3091         * lfuns.h:
3092         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3093
3094         * lyxrc.[Ch] (read, write): overloaded member functions taking
3095         a std::[io]stream arguments.
3096
3097         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3098
3099 2004-03-31  Angus Leeming  <leeming@lyx.org>
3100
3101         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3102         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3103
3104         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3105         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3106
3107 2004-03-31  Angus Leeming  <leeming@lyx.org>
3108
3109         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3110         the LFUN_ALL_INSETS_TOGGLE code.
3111
3112 2004-03-30  Angus Leeming  <leeming@lyx.org>
3113
3114         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3115         has died. Fall through to the generic Dialogs::show("document").
3116
3117 2004-03-30  Angus Leeming  <leeming@lyx.org>
3118
3119         * lfuns.h:
3120         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3121         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3122
3123         * lyxfunc.C (getStatus, dispatch): define the actions for these
3124         lfuns. Little more than a cut and pste job from ControlDocument.C
3125
3126         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3127
3128 2004-03-30  Angus Leeming  <leeming@lyx.org>
3129
3130         * lfuns.h:
3131         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3132         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3133
3134         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3135         open/closed state of ollapsable insets. Usage:
3136
3137         all-inset-toggle <state> <name>, where
3138         <state> == "open" || "closed" || "toggle" and
3139         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3140
3141         * lyxtext.h, text2.C (toggleInset): removed.
3142
3143         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3144         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3145         now passes LFUN_INSET_TOGGLE to the found inset.
3146
3147         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3148         is now invoked as "all-insets-toggle toggle branch".
3149
3150 2004-03-30  Angus Leeming  <leeming@lyx.org>
3151
3152         * dociterator.C:
3153         * insetiterator.C:
3154         * pariterator.[Ch]: added/corrected header blurb.
3155
3156 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3157
3158         * dociterator.[Ch]: add an inset_ member
3159         (backwardPos): implemented
3160         (backwardPos, forwardPos): use inset_ when the stack is empty.
3161         (doc_iterator_begin, doc_iterator_end): implemented
3162         * pariterator.[Ch]: adjust, add begin, end
3163         * insetiterator.[Ch]: adjust, add begin, end
3164         * cursor.C:
3165         * document.C:
3166         * BufferView.C:
3167         * BufferView_pimpl.C:
3168         * CutAndPaste.C: adjust
3169
3170 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3171
3172         * buffer.C: increment file format to 232.
3173         * LaTeXFeatures.C: add bibtopic package.
3174         * bufferparams.[Ch]: param \use_bibtopic.
3175
3176         * lyxrc.[Ch]: add lyxrc bibtex_command
3177         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3178
3179         * buffer.C: increment file format to 231.
3180
3181 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3182
3183         * dociterator.C: implement forwardPar
3184         * iterators.[Ch]: remove, replaced by
3185         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3186         * BufferView.C:
3187         * BufferView_pimpl.C:
3188         * CutAndPaste.C:
3189         * buffer.C:
3190         * bufferview_funcs.C:
3191         * cursor.C:
3192         * lyxfind.C
3193         * lyxfunc.C
3194         * paragraph_funcs.C
3195         * toc.C:
3196         * Makefile.am: adjust
3197
3198 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3199
3200         * CutAndPaste.C (pasteSelection): fix 2 crashes
3201         (eraseSelection): fix a crash
3202         * paragraph_funcs.C: remove a warning
3203
3204 2004-03-28  Angus Leeming  <leeming@lyx.org>
3205
3206         * lfuns.h:
3207         * LyXAction.C (init): new LFUN_PRINT.
3208
3209         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3210
3211 2004-03-27  Angus Leeming  <leeming@lyx.org>
3212
3213         * lfuns.h:
3214         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3215
3216         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3217
3218 2004-03-27  Angus Leeming  <leeming@lyx.org>
3219
3220         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3221         insetlist always contains non-null pointers to insets.
3222
3223 2004-03-26  Angus Leeming  <leeming@lyx.org>
3224
3225         * src/BufferView_pimpl.C:
3226         * src/CutAndPaste.C:
3227         * src/buffer.C:
3228         * src/iterators.C:
3229         * src/output_plaintext.C:
3230         * src/outputparams.h:
3231         * src/paragraph_funcs.C:
3232         * src/rowpainter.C:
3233         * src/text.C:
3234         * src/text2.C:
3235         * src/frontends/controllers/ControlErrorList.C:
3236         * src/frontends/gtk/FileDialogPrivate.C:
3237         * src/frontends/gtk/GPainter.C:
3238         * src/frontends/gtk/GToolbar.C:
3239         * src/frontends/qt2/QRef.C:
3240         * src/mathed/math_scriptinset.C: squash compiler warnings.
3241
3242 2004-03-26  Angus Leeming  <leeming@lyx.org>
3243
3244         * ispell.C (LaunchIspell::start):
3245         * lyx_cb.C (AutoSaveBuffer::start):
3246         invoke run(DontWait) rather than runNonBlocking().
3247
3248 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3249
3250         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3251
3252 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3253
3254         * kbsequence.C (print): adjust
3255
3256         * kbmap.C (printKeySym): rename and change signature
3257         (printKey): use LyXKeySym::print()
3258
3259 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3260
3261         * undo.C: add using std::advance to compile for stlport
3262
3263 2004-03-24  Angus Leeming  <leeming@lyx.org>
3264
3265         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3266         it leads to a crash when no buffer is present.
3267
3268 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3269             Martin Vermeer  <martin.vermeer@hut.fi>
3270
3271         * lyxfunc.C (dispatch):
3272         * bufferparams.C (readToken): use the new LColor::setColor
3273
3274         * LColor.[Ch] (setColor): new version that takes two strings as
3275         argument and creates a new color entry if necessary
3276
3277 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3278
3279         * buffer.C (makeLaTeXFile): if the main latex file that is
3280         processed is usually a subdocument of some master, then pretend
3281         for a while that it is actually the master
3282
3283 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3284
3285         * buffer.C (getLabelList):
3286         (getBibkeyList): use getMasterBuffer()
3287         (getMasterBuffer): new method. Returns the main document in the
3288         case where one is using included documents.
3289
3290 2004-03-25  André Pönitz  <poenitz@gmx.net>
3291
3292         * Makefile.am:
3293         * iterators.[Ch]:
3294         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3295
3296         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3297
3298         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3299         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3300
3301         * ParameterStruct.h: merge with ParagraphParameters
3302
3303         * lyxtext.h: remove LyXText::parOffset() and getPar()
3304
3305         * text3.C: Remove all 'manual' update calls. We do now one per user
3306         interaction which is completely sufficient.
3307
3308         * Bidi.C:
3309         * BufferView.[Ch]:
3310         * BufferView_pimpl.C:
3311         * FontIterator.[Ch]:
3312         * MenuBackend.C:
3313         * ParagraphParameters.[Ch]:
3314         * buffer.C:
3315         * buffer.h:
3316         * bufferlist.C:
3317         * cursor.[Ch]:
3318         * cursor_slice.[Ch]:
3319         * dociterator.[Ch]:
3320         * errorlist.[Ch]:
3321         * factory.C:
3322         * lfuns.h:
3323         * lyxfind.C:
3324         * lyxfunc.C:
3325         * output_docbook.[Ch]:
3326         * output_latex.[Ch]:
3327         * output_linuxdoc.[Ch]:
3328         * output_plaintext.[Ch]:
3329         * paragraph.[Ch]:
3330         * paragraph_funcs.[Ch]:
3331         * paragraph_pimpl.[Ch]:
3332         * rowpainter.C:
3333         * tabular.[Ch]:
3334         * text.C:
3335         * text2.C:
3336         * toc.C:
3337         * undo.[Ch]: adjust
3338
3339         * frontends/controllers/ControlDocument.C:
3340         * frontends/controllers/ControlErrorList.C:
3341         * frontends/controllers/ControlSpellchecker.C:
3342         * insets/inset.C:
3343         * insets/inset.h:
3344         * insets/insetbase.h:
3345         * insets/insetbibitem.C:
3346         * insets/insetbox.C:
3347         * insets/insetbranch.C:
3348         * insets/insetcaption.C:
3349         * insets/insetcharstyle.C:
3350         * insets/insetcharstyle.h:
3351         * insets/insetcollapsable.C:
3352         * insets/insetcollapsable.h:
3353         * insets/insetert.C:
3354         * insets/insetfloat.C:
3355         * insets/insetfoot.C:
3356         * insets/insetmarginal.C:
3357         * insets/insetnote.C:
3358         * insets/insetoptarg.C:
3359         * insets/insettabular.C:
3360         * insets/insettext.C:
3361         * insets/insettext.h:
3362         * insets/insetwrap.C:
3363         * mathed/math_mboxinset.C:
3364         * mathed/math_nestinset.C:
3365         * mathed/math_scriptinset.C:
3366         * mathed/math_scriptinset.h:
3367         * support/types.h:
3368
3369 2004-03-24  Angus Leeming  <leeming@lyx.org>
3370
3371         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3372         deal with any child processes that have finished but are waiting to
3373         communicate this fact to the rest of LyX.
3374
3375 2004-03-24  Angus Leeming  <leeming@lyx.org>
3376
3377         64-bit compile fixes.
3378
3379         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3380         (c-tor): pass lyx::pos_types rather than ints.
3381
3382         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3383         lyx::pos_type.
3384
3385         * text.C (Delete): compile fix.
3386         (getPar): ensure that function declaration is the same as that in
3387         the header file.
3388
3389 2004-03-23  Angus Leeming  <leeming@lyx.org>
3390
3391         * ispell.C (LaunchIspell):
3392         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3393         a boost::shred_ptr rather than a std::auto_ptr.
3394
3395 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3396
3397         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3398         handle LFUN_FILE_INSERT_*
3399
3400         * lyxrc.C (setDefaults, getDescription, output, read):
3401         * lyxrc.h: remove ps_command
3402
3403 2004-03-22  Angus Leeming  <leeming@lyx.org>
3404
3405         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3406         Ensure that error_handler is processed once only and that all data
3407         is saved before attempting to output any warning messages.
3408
3409         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3410
3411 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3412
3413         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3414
3415 2004-03-19  André Pönitz  <poenitz@gmx.net>
3416
3417         * cursor.[Ch] (reset): take main text inset as argument
3418
3419         * BufferView: adjust
3420         * BufferView_pimpl.C: adjust
3421
3422         * paragraph.[Ch]: fix completely broken operator=()
3423
3424 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3425
3426         * LColor.C (getFromLyXName): make sure that the color name is used
3427         as lowercase.
3428
3429 2004-03-17  Angus Leeming  <leeming@lyx.org>
3430
3431         * lfuns.h:
3432         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3433
3434         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3435         dialog and to kill a forked process.
3436
3437 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3438
3439         * text2.C (setCursorFromCoordinates): fix font problem
3440
3441 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3442
3443         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3444         bogus "rebuild cursor" code
3445
3446 2004-03-11  André Pönitz  <poenitz@gmx.net>
3447
3448         * buffer.[Ch]: use InsetText instead of LyXText as container for
3449         the main lyx text.
3450
3451         * dociterator.[Ch]: drop the BufferView * member which is not needed
3452         anymore after the change to buffer.C
3453
3454         * paragraph_funcs.C:
3455         * text.C:
3456         * text2.C:
3457         * BufferView.[Ch]:
3458         * BufferView_pimpl.[Ch]:
3459         * cursor.[Ch]:
3460         * cursor_slice.[Ch]: adjust
3461
3462         * text3.C: fix bug in mathDispatch
3463
3464 2004-03-08  André Pönitz  <poenitz@gmx.net>
3465
3466         * undo.[Ch]: use 'StableDocumentIterator' as base for
3467         the Undo struct.
3468
3469 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3470
3471         * LaTeXFeatures.C:
3472         * bufferparams.[Ch]: add jurabib support and param.
3473
3474         * LaTeX.C: add FIXME/comment.
3475
3476 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3477
3478         * buffer.C: increment file format to 230.
3479
3480 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3481
3482         * cursor.C (dispatch): avoid infinite loops
3483
3484 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3485
3486         * rowpainter.C (paintSelection): fix x coordinates
3487
3488 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3489
3490         * text.C (rowBreakPoint): fix breaking before displayed insets
3491
3492 2004-03-01  André Pönitz  <poenitz@gmx.net>
3493
3494         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3495
3496         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3497
3498         * Makefile.am:
3499         * BufferView.C:
3500         * BufferView_pimpl.C:
3501         * buffer.C:
3502         * lyxfind.C:
3503         * lyxfunc.C:
3504         * text.C:
3505         * text2.C:
3506         * text3.C: adjust
3507
3508 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3509
3510         * lyxtext.h:
3511         * text.C:
3512         * text2.C:
3513         * rowpainter.C:
3514         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3515         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3516
3517 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3518
3519         * Bidi.[Ch] (computeTables): const correctness
3520         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3521         fill_hfill, fill_label_hfill and x from Row
3522         * lyxtext.h: prepareToPrint returns a RowMetrics
3523         * rowPainter.C: adjust
3524         * text.C (prepareToPrint): use width, not textWidth. adjust
3525         (redoParagraphInternal, cursorX): adjust
3526         * text2.C (getColumnNearX): adjust
3527         (init): put a default value to the top LyXText::width
3528
3529 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3530
3531         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3532
3533 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3534
3535         * lyxtext.h: add FontIterator class
3536
3537         * text.C (FontIterator, operator*, operator->, operator++): add
3538         (rowBreakPoint, setRowWidth): adjust (fixing a
3539         rebreaking bug)
3540
3541 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3542
3543         * BufferView_pimpl.C (workAreaDispatch): allow also
3544         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3545
3546 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3547
3548         * text.C (rowBreakPoint): fix a bug showing with very large insets
3549
3550 2004-02-25  André Pönitz  <poenitz@gmx.net>
3551
3552         * text3.C:
3553         * cursor.[Ch]: move some mathed specific code to mathed
3554
3555 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3556
3557         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3558         use_tempdir in preferences
3559         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3560         tempfile creation
3561         * lyx_main.C: ensure that tempdir is valid
3562         * lyxlex.h: correct typo
3563         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3564         * paragraph.[Ch] (isMultiLingual): make const
3565         * cursor.[Ch] (openable): make const
3566
3567 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3568
3569         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3570
3571 2004-02-20  André Pönitz  <poenitz@gmx.net>
3572
3573         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3574
3575         * cursor.[Ch]: prepare for localized getStatus()
3576
3577         * lyxtext.h:
3578         * tabular.C:
3579         * text.C:
3580         * text2.C:
3581         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3582
3583 2004-02-20  André Pönitz  <poenitz@gmx.net>
3584
3585         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3586
3587 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3588
3589         * text2.C (setCursorFromCoordinates): switch to absolute coords
3590         (cursorUp): adjust
3591         (cursorDown): adjust
3592         * text3.C (dispatch): adjust
3593
3594 2004-02-16  André Pönitz  <poenitz@gmx.net>
3595
3596         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3597           insets/ChangeLog)
3598
3599         * cursor_slice.[Ch]: remove unneeded acessor function
3600
3601         * lyxtext.h: rename rtl() to isRTL()
3602
3603         * rowpainter.C:
3604         * tabular.C:
3605         * text.C:
3606         * text2.C:
3607         * text3.C: adjust
3608
3609 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3610
3611         * rowpainter.C (paintSelection): coord fix
3612
3613 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3614
3615         * Spacing.C: compile fix
3616
3617 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3618
3619         * cursor.C (dispatch): restore current_ before returning
3620
3621 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3622
3623         * text2.C (cursorUp, cursorDown): fix coords
3624         (moveUp): fix crash
3625
3626 2004-02-12  André Pönitz  <poenitz@gmx.net>
3627
3628         * lyxtext.h:
3629         * text.C:
3630         * text2.C:
3631         * text3.C: add LCursor & parameter to most cursor movement functions
3632           remove usage of LyXText::cursorRow() and cursorPar()
3633
3634         * cursor.[Ch]: add textRow() needed members
3635
3636         * BufferView.C:
3637         * BufferView_pimpl.C:
3638         * paragraph.[Ch]:
3639         * BufferView.C:
3640         * BufferView_pimpl.C: adjust
3641
3642 2004-02-11  André Pönitz  <poenitz@gmx.net>
3643
3644         * lyxfunc.C:
3645         * BufferView.[Ch]:
3646         * BufferView_pimpl.C: shift undo/redo handling
3647
3648         * cursor.[Ch]: fix mathed crash
3649
3650         * lyxfind.C:
3651         * lyxtext.h: move selectionAsText to LCursor
3652
3653         * output_latex.C:
3654         * paragraph.C:
3655         * text.C:
3656         * text2.C:
3657         * text3.C: adjust
3658
3659         * rowpainter.C: fix excessive drawing
3660
3661 2004-02-06  André Pönitz  <poenitz@gmx.net>
3662
3663         * BufferView.[Ch]:
3664         * BufferView_pimpl.[Ch]:
3665         * text3.C: move some text specific LFUN handling
3666
3667 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3668
3669         * text3.C (checkInsetHit): adjust coords
3670         * text2.C (getColumnNearX): adjust coords
3671         (edit): adjust coords
3672         * text.C (getRowNearY): add two asserts
3673
3674 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3675
3676         * converter.C:
3677         * format.C: add using std::distance to compile on gcc 2.95/stlport
3678
3679 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3680
3681         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3682
3683 2004-02-04  André Pönitz  <poenitz@gmx.net>
3684
3685         * BufferView.[Ch] (insertInset):
3686         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3687
3688         * text2.C:
3689         * text3.C: adjust
3690
3691 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3692
3693         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3694         on the default clause of the switch
3695         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3696         wasn't catched by LCursor::dispatch
3697
3698 2004-02-03  André Pönitz  <poenitz@gmx.net>
3699
3700         * BufferView.C:
3701         * cursor.[Ch]: some additional asserts
3702
3703         * undo.[Ch]: remove LyXText dependency in interface
3704
3705         * lyxfunc.C: adjust
3706
3707         * lyxtext.h (firstPar, lastPar): remove dead functions
3708
3709         * text.C:
3710         * text2.C:
3711         * text3.C:
3712         * paragraph.[Ch]: adjust
3713
3714 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3715
3716         * lyxfind.C (find): fix argument order in call to ::find
3717
3718 2004-02-02  André Pönitz  <poenitz@gmx.net>
3719
3720         * cursor.[Ch]: remove direct access to anchor
3721
3722         * text.C: remove findText() hack
3723
3724 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3725
3726         * iterators.[Ch] (lockPath): remove in favour of...
3727         * BufferView.[Ch] (setCursor): this addition
3728         * BufferView.C (putSelectionAt): adjust
3729         * undo.C (performUndoOrRedo): adjust
3730         * lyxfunc.C (dispatch): adjust
3731
3732 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3733
3734         * iterators.C (lockPath): add a missing slice
3735         * undo.C (performUndoOrRedo): remove redundant positioning code
3736
3737 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3738
3739         * vc-backend.C (scanMaster): ";" -> ';'
3740
3741 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3742
3743         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3744         std::binary_function
3745
3746         * lyxtextclass.C (compare_name): rename to...
3747         (LayoutNamesEqual): ...this
3748
3749         * lyxlex_pimpl.C (compare_tags): inherit from
3750         std::binary_function, put back into anon namespace
3751
3752         * lyxfind.C (MatchString): inherig from std::binary_function
3753         (findChange): use empty() istead of !size()
3754
3755         * format.C (FormatNamesEqual): new functor
3756         (getFormat): use it
3757         (getNumber): use it
3758         (add): use it
3759         (erase): use it
3760         (setViewer): use it
3761
3762         * converter.C (compare_Converter): rename to...
3763         (ConverterEqual): ...this, and fixup a bit.
3764         (getConverter): use it, and make function const
3765         (getNumber): use it, and make function const
3766         (add): use it
3767         (erase): use it:
3768
3769         * bufferlist.C: add using boost::bind
3770
3771         * MenuBackend.C (MenuNamesEqual): new functor
3772         (hasMenu): use it, and make function const
3773         (hasSubmenu): use nested bind to get rid of compare_memfun.
3774
3775 2004-01-30  André Pönitz  <poenitz@gmx.net>
3776
3777         * BufferView_pimpl.C:
3778         * cursor.C:
3779         * cursor.h:
3780         * cursor_slice.[Ch]:
3781         * lyxfunc.C:
3782         * lyxtext.h:
3783         * paragraph_funcs.C:
3784         * paragraph_funcs.h:
3785         * rowpainter.C:
3786         * text.C:
3787         * text2.C:
3788         * text3.C: move some of the edit(x,y) handling to the insets
3789         some coordinate changes.
3790
3791 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3792
3793         * text.C: add using statements for std::advance and std::distance
3794
3795         * paragraph.C: add using statement for std::distance
3796
3797         * lyxfind.C: add using statement for std::advance
3798
3799         * cursor.C (region): remove std:: from swap
3800         (openable): use nucleus in stead of operator->
3801
3802         * BufferView.C: add using statements for std::distance and std::swap
3803
3804 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * iterators.C: Remove the pimple, move the needed structures to
3807         the header file. Create accessor for the positions stack.
3808         (asPosIterator): remove function
3809
3810         * PosIterator.C (PosIterator): move constructors to top of file
3811         (PosIterator): reimplement the constructor taking a ParIterator in
3812         terms of setFrom.
3813         (setFrom): new function
3814         (operator!=): inline it
3815
3816 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3817
3818         * lyxfind.C (replaceAll): use std::advance
3819
3820         * iterators.h: inherit from std::iterator.
3821
3822         * PosIterator.C (advance, distance): remove
3823         * PosIterator.h: interit from std::iterator.
3824
3825 2004-01-26  André Pönitz  <poenitz@gmx.net>
3826
3827         * BufferView.[Ch]:
3828         * BufferView_pimpl.[Ch]:
3829         * InsetList.[Ch]:
3830         * PosIterator.[Ch]:
3831         * buffer.h:
3832         * bufferview_funcs.C:
3833         * cursor.[Ch]:
3834         * cursor_slice.h:
3835         * factory.[Ch]:
3836         * iterators.[Ch]:
3837         * lyxfind.C:
3838         * lyxfunc.C:
3839         * lyxtext.h:
3840         * output_docbook.C:
3841         * output_latex.C:
3842         * output_linuxdoc.C:
3843         * output_plaintext.C:
3844         * paragraph.[Ch]:
3845         * paragraph_funcs.[Ch]:
3846         * paragraph_pimpl.[Ch]:
3847         * rowpainter.C:
3848         * tabular.C:
3849         * tabular.h:
3850         * text.C:
3851         * text2.C:
3852         * text3.C: more IU:  dumps most of the rest of the mathcursor
3853     implementation into cursor.[Ch]; "globalize" a bit of it.
3854
3855 2004-01-25  Angus Leeming  <leeming@lyx.org>
3856
3857         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3858
3859 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3860
3861         * LaTeXFeatures.h: add nice_ and nice() const
3862         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3863
3864 2004-01-20  André Pönitz  <poenitz@gmx.net>
3865
3866         * BufferView.[Ch]:
3867         * BufferView_pimpl.C:
3868         * PosIterator.C:
3869         * bufferview_funcs.C:
3870         * cursor.[Ch]:
3871         * cursor_slice.[Ch]:
3872         * factory.C:
3873         * iterators.C:
3874         * lyx_cb.C:
3875         * lyxfind.C:
3876         * lyxfunc.C:
3877         * lyxtext.h:
3878         * rowpainter.C:
3879         * text.C:
3880         * text2.C:
3881         * text3.C:
3882         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3883           LCursor and mathcursor parts to LCursor and InsetBase.
3884
3885 2004-01-15  André Pönitz  <poenitz@gmx.net>
3886
3887         * cursor_slice.[Ch]: add a few covienience functions
3888
3889         * funcrequest.[Ch]: remove BufferView * member
3890
3891         * BufferView_pimpl.C:
3892         * cursor.C:
3893         * factory.[Ch]:
3894         * lyxfind.[Ch]:
3895         * lyxfunc.C:
3896         * lyxtext.h:
3897         * text3.C:
3898         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3899
3900 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3903         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3904
3905 2004-01-13  André Pönitz  <poenitz@gmx.net>
3906
3907         * textcursor.[Ch]:
3908         * lyxtext.h: hide cursor and selection anchor behind accessor function
3909
3910         * BufferView.C:
3911         * BufferView_pimpl.[Ch]:
3912         * PosIterator.C:
3913         * bufferview_funcs.C:
3914         * cursor.h:
3915         * lyxfind.C:
3916         * lyxfunc.C:
3917         * text.C:
3918         * text2.C:
3919         * text3.C:
3920         * undo.C: adjust
3921
3922         * cursor.h:
3923         * cursor_slice.[Ch]: some integer type changes for inset unification
3924
3925         * lyxcursor.[hC]: remove, it's CursorSlice now.
3926
3927         * Makefile.am:
3928         * BufferView_pimpl.[Ch]:
3929         * bufferview_funcs.C:
3930         * cursor_slice.C:
3931         * lyxtext.h:
3932         * text.C:
3933         * text2.C:
3934         * text3.C:
3935         * textcursor.[Ch]: adjust
3936
3937 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3938
3939         * text2.C (undoSpan): add and use
3940         * text.C (breakParagraph): use undoSpan (fix bug 578)
3941         * lyxtext.h: adjust
3942
3943 2004-01-08  Angus Leeming  <leeming@lyx.org>
3944
3945         * BufferView_pimpl.C (MenuInsertLyXFile):
3946         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3947         * lyxfunc.C (menuNew, open, doImport):
3948         FileFilterList change to the FileDialog open and save functions.
3949
3950 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3951
3952         * ShareContainer.h: make isEqual and isUnique adaptable
3953
3954         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3955
3956 2004-01-07  Angus Leeming  <leeming@lyx.org>
3957
3958         * LyXAction.C:
3959         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3960
3961         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3962
3963         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3964         functions replacing find, replace and replaceAll.
3965
3966         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3967         LFUN_WORDFIND(FORWARD|BACKWARD).
3968
3969 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3970
3971         * text.C (breakParagraph): remove an outdated #warning
3972
3973 2004-01-07  André Pönitz  <poenitz@gmx.net>
3974
3975         * lyxfind.C: somewhat clearer logic
3976
3977         * text.C: prevent crash in cursorX on unitialized row cache
3978
3979 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3980
3981         * lyxcursor.[Ch] (operator>): add
3982         * textcursor.C (selStart, selEnd): use std::min and std::max
3983
3984 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3985
3986         * Chktex.C: include boost/format.hpp
3987
3988 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3989
3990         * InsetList.C: replace functor MathcIt with adaptable functor
3991         InsetTablePosLess
3992         (insetIterator): modify accordingly
3993
3994         * BranchList.h: move the BranchNamesEqual functor here from...
3995         * BranchList.C: ... to here
3996
3997         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3998         SameName and match.
3999         (add): replace a finding loop with std::find_if.
4000
4001 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4002
4003         * output_docbook.C: moving LatexParam functionality into
4004         .layout files
4005
4006 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4007
4008         * buffer.C: increment format to 229.
4009
4010 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4011
4012         * LaTeXFeatures.C:
4013         * lyx_sty.[Ch]: remove minipageindent_def
4014
4015         * LyXAction.C:
4016         * factory.C:
4017         * lfuns.h:
4018         * lyxfunc.C:
4019         * text3.C: remove LFUN_INSET_MINIPAGE
4020
4021 2003-12-28  Angus Leeming  <leeming@lyx.org>
4022
4023         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4024
4025 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4026
4027         * text2.C (setParagraph): fix off-by-one crash
4028
4029 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4030
4031         * output_docbook.C: header stuff for AGU
4032
4033 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4034
4035         * text2.C (redoCursor): remove
4036         * text.C:
4037         * text3.C:
4038         * BufferView_pimpl.C: remove calls to redoCursor and
4039         setCursor(cursor.par(), cursor.pos()) all around
4040
4041 2003-12-15  Angus Leeming  <leeming@lyx.org>
4042
4043         * buffer.C: up the format to 228.
4044
4045 2003-12-15  André Pönitz  <poenitz@gmx.net>
4046
4047         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4048         slices
4049
4050         * Makefile.am:
4051
4052         * BufferView_pimpl.C:
4053         * cursor.[Ch]:
4054         * lyxcursor.[Ch]:
4055         * rowpainter.[Ch]:
4056         * lyxtext.h:
4057         * text.C:
4058         * text2.C:
4059         * text3.C: adjust
4060
4061 2003-12-15  Angus Leeming  <leeming@lyx.org>
4062
4063         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4064         than getFromGUIName to manipulate the color.
4065
4066 2003-12-14  Angus Leeming  <leeming@lyx.org>
4067
4068         * BranchList.[Ch]: minimize the API.
4069         (Branch::getBranch, getColor): now return a 'const &'.
4070         (Branch::setSelected) now returns a bool set to true if the
4071         selection status changes.
4072         (BranchList::clear, size, getColor, setColor, setSelected,
4073         allBranches, allSelected, separator): removed.
4074         (BranchList::find): new functions, returning the Branch with
4075         the given name.
4076         (BranchList::add, remove): return a bool indicating that
4077         the operation was successful.
4078
4079         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4080         new InsetBranch::isBranchSlected member function.
4081
4082         * LColor.[Ch]: mimimize the API.
4083         (fill): renamed as addColor and made private.
4084         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4085         versions of these functions taking a string arg have been removed.
4086
4087         * bufferparams.C (readToken):
4088         * lyxfunc.C (dispatch):
4089         * lyxrc.C (read): changes due to the altered BranchList and
4090         LColor APIs.
4091
4092         * factory.C (createInset, readInset): changes due to altered
4093         InsetBranch c-tor.
4094
4095 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4096
4097         * factory.C:
4098         * lyxfunc.C: remove insetminipage. "minipage-insert"
4099         now produces a frameless minipage box inset.
4100
4101 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4102
4103         * textcursor.[Ch] (selStart,selEnd): add new methods
4104         remove selection::start, end, use LyXCursor::operator<
4105         * lyxcursor.[Ch] (operator<): add
4106         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4107         * BufferView.[Ch] (unsetXSel): add
4108         * text2.C (clearSelection): use unsetXSel,adjust
4109         * text.C: adjust
4110         * text3.C: adjust
4111         * rowpainter.C: adjust
4112         * bufferview_funcs.C (put_selection_at): adjust
4113
4114 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4115
4116         * BufferView_pimpl.C: small coord. correction
4117
4118 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4119
4120         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4121         dragging over the splash screen.
4122
4123 2003-12-11  Angus Leeming  <leeming@lyx.org>
4124
4125         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4126         as it is now handled in LyXText::dispatch.
4127
4128         * text3.C (doInsertInset): remove a level of nesting.
4129
4130 2003-12-11  Angus Leeming  <leeming@lyx.org>
4131
4132         * factory.C (createInset): changes due to the changed interface to
4133         InsetCommandMailer::string2params.
4134
4135 2003-12-10  Angus Leeming  <leeming@lyx.org>
4136
4137         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4138         'dialog-show-new-inset <inset name>'
4139
4140 2003-12-10  Angus Leeming  <leeming@lyx.org>
4141
4142         * buffer.C: up the format to 227.
4143
4144         * factory.C: the box inset is now identified simply by 'Box'.
4145
4146 2003-12-10  Angus Leeming  <leeming@lyx.org>
4147
4148         * buffer.C: up the format to 226.
4149
4150         * factory.C: the note inset is now identified simply by 'Note'.
4151
4152 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4153
4154         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4155         when a pit is enough. Standarize a couple of loops.
4156
4157 2003-12-05  Angus Leeming  <leeming@lyx.org>
4158
4159         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4160         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4161         data to the re-worked "log" dialog.
4162
4163 2003-12-03  André Pönitz  <poenitz@gmx.net>
4164
4165         * PosIterator.C:
4166         * iterators.C:
4167         * lyxtext.h:
4168         * output_latex.C:
4169         * paragraph_funcs.C:
4170         * text.C:
4171         * text2.C: use Inset::getText instead of Inset::getParagraph
4172
4173 2003-12-03  André Pönitz  <poenitz@gmx.net>
4174
4175         * buffer.[Ch]:
4176         * lyxtext.h:
4177         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4178         InsetText::read() as LyXText::read()
4179
4180 2003-12-02  Angus Leeming  <leeming@lyx.org>
4181
4182         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4183         type. Add a comment in the implementation that the function uses
4184         the stream's bad() function rather than fail() as the std::streams
4185         would do.
4186
4187 2003-12-02  André Pönitz  <poenitz@gmx.net>
4188
4189         * lyxlex.[Ch]: make interface more similar to std::stream
4190
4191         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4192
4193 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4194
4195         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4196
4197 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4198
4199         * vspace.[Ch]: remove VSpace::NONE
4200
4201 2003-12-01  André Pönitz  <poenitz@gmx.net>
4202
4203         * buffer.[Ch]:
4204         * lyxtext.h: move ParagraphList member to LyXText
4205         rename LyXText::ownerParagraphs to LyXText::paragraph
4206
4207         * CutAndPaste.C:
4208         * bufferview_funcs.C:
4209         * iterators.[Ch]:
4210         * lyx_cb.C:
4211         * paragraph.C:
4212         * rowpainter.C:
4213         * tabular.C:
4214         * text.C:
4215         * text2.C:
4216         * text3.C: adjust
4217
4218         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4219
4220         * undo.C: fix cursor positioning
4221
4222 2003-12-01  John Levon  <levon@movementarian.org>
4223
4224         * BufferView_pimpl.C: fix a crash on exit with
4225         a buffer open
4226
4227 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4228
4229         * BranchList.C: fix setSelected() method.
4230
4231 2003-11-28  André Pönitz  <poenitz@gmx.net>
4232
4233         * ParagraphParameters.[Ch]:
4234         * ParameterStruct.h: remove space above/below from Paragraph to
4235          InsetVSpace
4236
4237         * BufferView_pimpl.C:
4238         * factory.C:
4239         * lyxfunc.C:
4240         * lyxtext.h:
4241         * output_latex.C:
4242         * paragraph.C:
4243         * paragraph_funcs.C:
4244         * rowpainter.[Ch]:
4245         * text.C:
4246         * text2.C:
4247         * text3.C: adjust
4248
4249 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4250
4251         * factory.C: Syntax change for CharStyles
4252
4253 2003-11-28  André Pönitz  <poenitz@gmx.net>
4254
4255         * BufferView.[Ch]:
4256         * BufferView.[Ch]:
4257         * buffer.[Ch]:
4258         * buffer.[Ch]: move LyXText member
4259
4260 2003-11-28  André Pönitz  <poenitz@gmx.net>
4261
4262         * BufferView.[Ch]: make LyXText * text a private member
4263
4264         * BufferView_pimpl.C:
4265         * cursor.C:
4266         * iterators.C:
4267         * lyx_cb.C:
4268         * lyxfind.C:
4269         * lyxtext.h:
4270         * rowpainter.[Ch]:
4271         * text.C:
4272         * text2.C:
4273         * undo.C: adjust
4274
4275         * output_plaintext.C: cleanup
4276
4277 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4278
4279         * buffer.C:
4280         * lyxtextclass.[Ch]: parametrize SGML document header
4281
4282 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4283
4284         * converter.[Ch]:
4285         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4286         getFlavor().
4287
4288 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4289
4290         * text2.C (setFont): rework using PosIterator (no more recursive)
4291         (setCharFont): no more needed
4292         (setLayout): no more selection cursors fiddling (done by redoCursor)
4293         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4294         destroy remaining ones)
4295
4296 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4297
4298         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4299         * lyxtext.h: ditto
4300         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4301         selection cursors
4302         * lyxfunc.C: adjust
4303         * text3.C: adjust + re-allow multi par depth changes
4304         * textcursor.C: simplify a bit
4305
4306 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4307
4308         * src/buffer.C:
4309         * src/lyxlayout.C:
4310         * src/lyxlayout.h:
4311         * src/lyxtext.h:
4312         * src/output_docbook.C:
4313         * src/output_latex.C:
4314         * src/paragraph.C:
4315         * src/paragraph.h:
4316         * src/sgml.C:
4317         * src/sgml.h:
4318         * src/text2.C: Introducing a number of tags parametrizing various
4319         XML formats that we may want to support
4320
4321 2003-11-25  André Pönitz  <poenitz@gmx.net>
4322
4323         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4324
4325         * lyxtext.h (leftMargin/rightMargin): simplify interface
4326
4327         * rowpainter.C:
4328         * text.C:
4329         * text2.C:
4330         * text3.C: adjust
4331
4332 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4333
4334         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4335         master file to any child files. Fixes bug 546.
4336
4337 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4338
4339         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4340
4341 2003-11-24  André Pönitz  <poenitz@gmx.net>
4342
4343         * rowpainter.C: simplification
4344
4345         * text2.C (updateCounters): remove call to redoParagraph on
4346         changed labels as this is far too expensive.
4347
4348 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4349
4350         * converter.C (convert): fix a crash: this function gets
4351         called with buffer == 0 from importer code.
4352
4353 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * text3.C (cursorPrevious): make sure that we do not compare
4356         iterators form different containers.
4357         (cursorNext): ditto
4358
4359         * rowpainter.C (paintSelection): make sure that we do not compare
4360         iterators from different containers.
4361
4362         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4363         iterators from different ParagraphList containers.
4364         [NEXT] ditto
4365
4366         * text2.C (LyXText): change order of initialization slightly
4367         (operator=): new function. copy all variables except cache_par_
4368         (moveUp): make sure that we do not compare iterators from
4369         different ParagraphList constainers.
4370         (moveDown): ditto
4371
4372         * text.C (firstPar): new function
4373         (lastPar): new function
4374         (endPar): new function
4375
4376         * lyxtext.h: move things around and group public functions, public
4377         variables, private functions, private variables
4378
4379 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4380
4381         * factory.C: change call to InsetERT constructor to avoid
4382         additional invocation of method status
4383         * text2.C (toggleInset): remove redundant update() call
4384         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4385         instead of a Bufferview pointer
4386
4387 2003-11-21  André Pönitz  <poenitz@gmx.net>
4388
4389         * rowpainter.C: simplification
4390
4391 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4392
4393         * text3.C (dispatch): make possible to extend a word/row selection
4394         with the mouse
4395
4396 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4397
4398         * lyxtext.h: x0_,y0_ -> xo_,yo_
4399         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4400         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4401         * rowpainter.C (paintRows): paint full paragraphs
4402
4403 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4404
4405         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4406         screen coordinates)
4407
4408 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4409
4410         * lyxtext.h: add x0_, y0_
4411         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4412         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4413
4414 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4415
4416         * text2.C (setCursorIntern): move the x_target update here *
4417         * text3.C: change some bv() to true/false in calls to
4418         cursorUp/Down/Right/Left
4419         * cursor.C: use helper function.
4420
4421 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4422
4423         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4424         * paragraph_funcs.[Ch]: correct comment
4425         * rowpainter.C: do not paint selections away from bv->cursor()
4426         Fix a long standing selection painting bug.
4427         * text3.C: generalize mouse-selection code to LyXTexts other that
4428         top one
4429         * textcursor.C: do not use y coords if we can use par offsets
4430
4431 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4432
4433         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4434         cursor position after e.g. inset insert)
4435
4436 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4437
4438         * lyxfind.C (replace): adjust to locking removal + some
4439         code simplification
4440
4441 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4442
4443         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4444         of the path
4445
4446 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4447
4448         * lyxlayout.[Ch]:
4449         * output_docbook.C: XML sanitation: new layout
4450         parameters InnerTag and CommandDepth
4451
4452 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4453
4454         * BufferView_pimpl.C:
4455         * factory.C:
4456         * text3.C: Fix the insertion and modification of button-style
4457         insets
4458
4459 2003-11-13  André Pönitz  <poenitz@gmx.net>
4460
4461         * InsetList.[Ch]: remove deleteLyXText
4462
4463         * paragraph.[Ch]: cache beginOfBody position
4464
4465         * Bidi.C:
4466         * text.C:
4467         * text2.C:
4468         * text3.C: remove superfluous update() calls
4469
4470         * vspace.C: cleanup
4471
4472 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4473
4474         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4475         * BufferView.C (fitLockedInsetCursor): remove
4476         * cursor.[Ch] (getDim): add
4477         * text.C (getRowNearY): add faster version
4478         * text3.C: remove some update calls
4479
4480 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4481
4482         * LaTeXFeatures.C:
4483         * LyXAction.C:
4484         * MenuBackend.C:
4485         * MenuBackend.h:
4486         * dispatchresult.h:
4487         * factory.C:
4488         * lfuns.h:
4489         * lyxfunc.C:
4490         * lyxtextclass.C:
4491         * lyxtextclass.h:
4492         * text3.C: The Character Style /XML short element patch.
4493
4494 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4495
4496         * text3.C:
4497         * factory.C: Small step to solving 'unable to insert some insets'
4498         problem
4499
4500 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4501
4502         * cursor.[Ch] (updatePos): new function for updating the y
4503         position of the tip inset
4504         * bufferview_funcs.C (put_selection_at):
4505         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4506
4507 2003-11-11  André Pönitz  <poenitz@gmx.net>
4508
4509         * text.C: remove big comment on invalid Paragraph pointers as it is
4510         not valid anymore
4511
4512 2003-11-11  André Pönitz  <poenitz@gmx.net>
4513
4514         * text_funcs.[Ch]: merge with ...
4515
4516         * text.C: ... this
4517
4518         * lyxtext.h:
4519         * text2.C:
4520         * text3.C: adjust
4521
4522         * Makefile.am: remove text_funcs.[Ch]
4523
4524 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4525
4526         * cursor.C (getPos): return absolute cached y coord
4527
4528         * BufferView_pimpl.C (fitCursor): new simplistic code
4529         (workAreaDispatch): add a fitCursor call
4530
4531 2003-11-10  André Pönitz  <poenitz@gmx.net>
4532
4533         * BufferView.[Ch]:
4534         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4535
4536 2003-11-10  André Pönitz  <poenitz@gmx.net>
4537
4538         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4539         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4540         indicate that the cursor needs to leave an inset
4541
4542         * lyxtext.h: remove inset locking
4543
4544         * cursor.[Ch]: re-implement functionality provided by inset locking
4545
4546         * BufferView.[Ch]:
4547         * BufferView_pimpl.[Ch]:
4548         * LyXAction.C:
4549         * bufferview_funcs.[Ch]:
4550         * factory.C:
4551         * funcrequest.[Ch]:
4552         * iterators.C:
4553         * lyx_cb.C:
4554         * lyxfind.C:
4555         * lyxfunc.C:
4556         * text.C:
4557         * text2.C:
4558         * text3.C:
4559         * undo.C: adjust
4560
4561 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4562
4563         * PosIterator.[Ch]: replace the stack with a vector, add inset
4564         accesor
4565         * iterators.[C]: adjust
4566
4567 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4568
4569         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4570         replaced
4571         * paragraph_funcs.C (readParToken): put the correct id in the
4572         error item, not the id of the top paragraph
4573
4574 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4575
4576         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4577         * bufferview_funcs.C (put_selection_at): use the above
4578
4579 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4580
4581         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4582
4583 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4584
4585         * output_linuxdoc.h:
4586         * output_plaintext.h:
4587         * output.h:
4588         * output_docbook.h: add #include statements
4589
4590 2003-11-05  José Matos  <jamatos@lyx.org>
4591
4592         * output_docbook.[Ch]:
4593         * output_latex.[Ch]:
4594         * output_linuxdoc.[Ch]:
4595         * output_plaintext.[Ch]: New files for output formats.
4596         * output.[Ch]: New file for helper functions.
4597
4598         * buffer.[Ch]:
4599         * paragraph_funcs.[Ch]: output functions moved to new files.
4600
4601         * outputparams.h: rename of latexrunparams.h
4602
4603         * LaTeX.[Ch]:
4604         * buffer.[Ch]:
4605         * bufferlist.[Ch]:
4606         * converter.[Ch]:
4607         * exporter.C:
4608         * paragraph.[Ch]:
4609         * paragraph_funcs.[Ch]:
4610         * paragraph_pimpl.[Ch]:
4611         * tabular.[Ch]: rename ascii to plaintext
4612         and LatexRunParams to OutputParams.
4613
4614 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4615
4616         * iterators.[Ch] (text): require bv argument
4617         * undo.C (recordUndo):
4618         * lyxfunc.C (dispatch):
4619         * bufferview_funcs.C (put_selection_at): adjust
4620
4621 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4622
4623         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4624
4625 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4626
4627         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4628         nestings
4629
4630 2003-11-04  André Pönitz  <poenitz@gmx.net>
4631
4632         * cursor.[Ch]: restructure
4633
4634         * BufferView.[Ch]:
4635         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4636
4637         * iterators.[Ch] (asCursor): remove
4638
4639         * lfuns.h: remove LFUN_INSET_EDIT
4640
4641         * lyxfunc.C:
4642         * tabular.C:
4643         * text.C:
4644         * text2.C:
4645         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4646
4647 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4648
4649         * lyxfind.[Ch]: complete overhaul
4650         * BufferView_pimpl.C:
4651         * lyxfunc.C: adjust
4652         * paragraph.[Ch] (insert): add
4653
4654 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4655
4656         * BufferView.[Ch]:
4657         * lyxtext.h:
4658         * text.C: remove dead spellcheck code
4659
4660 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * dispatchresult.h: add a val setter
4663
4664         * cursor.C (dispatch): use a tempvar for data_[i]
4665
4666 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4667
4668         * PosIterator.[Ch]: compile fix
4669
4670 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4671
4672         * text.C (cursorPar): deactivate the cursor cache
4673
4674 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4675
4676         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4677
4678 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4679
4680         * text3.C (dispatch): adjust for new DisptchResult semantics.
4681
4682         * lyxfunc.C (dispatch): handle update when return from
4683         Cursor::dispatch, adjust for new DispatchResult semantics.
4684
4685         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4686         DispatchResult(true) mean to not update. Add class functions for
4687         setting dispatched and update, as well as reading.
4688
4689         * cursor.C (dispatch): don't handle update here
4690
4691 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4692
4693         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4694         * trans_mgr.C: adjust
4695
4696         * paragraph_funcs.C (readParToken): exception safety
4697
4698         * lyxvc.h: store the vcs pointer in a scoped_ptr
4699         * lyxvc.C: adjust
4700
4701         * lyxsocket.C (serverCallback): exception safety
4702
4703         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4704
4705         * ispell.C (clone): make it return a auto_ptr
4706
4707         * factory.C (createInset): exception safety
4708         (readInset): exception safety
4709
4710         * bufferlist.C (newBuffer): exception safety
4711
4712         * Thesaurus.C (Thesaurus): use initialization for aik_
4713
4714         * MenuBackend.C (expandToc): exception safety.
4715
4716 2003-11-03  André Pönitz  <poenitz@gmx.net>
4717
4718         * buffer.C:
4719         * buffer.h:
4720         * bufferview_funcs.C: remove getInsetFromId()
4721
4722         * lyxcursor.[Ch]:
4723         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4724
4725         * lyxfunc.C:
4726         * text2.C:
4727         * text3.C: adjust
4728
4729 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4730
4731         * PosIterator.C (distance, advance): new
4732         * bufferview_funcs.[Ch] (put_selection_at): new
4733         * iterators.[Ch] (lockPath): new
4734
4735 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4736
4737         * iterators.[Ch] (asPosIterator): added
4738         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4739         * PosIterator.[Ch]: added
4740
4741 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * text3.C:
4744         * lyxfunc.C:
4745         * cursor.C (dispatch):
4746         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4747
4748         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4749         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4750         contructor, add a class function dispatched. Remove operator>=
4751
4752 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * debug.C: only use the default constructor for debugstream
4755         (lyxerr) here.
4756
4757         * main.C (main): include debug.h and setup the lyxerr streambuf
4758         here.
4759
4760 2003-10-31  José Matos  <jamatos@lyx.org>
4761
4762         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4763
4764         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4765         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4766         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4767         * paragraph_pimpl.C (simpleTeXSpecialC):
4768         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4769         add LatexRunParams argument.
4770
4771         * exporter.C (Export): change call accordingly.
4772
4773         * latexrunparams.h: add new member to take care of the other backends.
4774 2003-10-30  José Matos  <jamatos@lyx.org>
4775
4776         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4777         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4778         factorise code for paragraph output.
4779         * buffer.[Ch]:
4780         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4781         move functions.
4782
4783 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * text3.C (dispatch):
4786         * lyxfunc.C (dispatch):
4787         * cursor.C (dispatch):
4788         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4789
4790         * dispatchresult.h: make the dispatch_result_t ctor explicit
4791
4792 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4793
4794         * sgml.[Ch]:
4795         * buffer.C: small refactoring of docbook stuff
4796
4797 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4800         meaning.
4801
4802 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4805         operator dispatch_result_t, and operators for == != and >=
4806
4807         * cursor.C (dispatch): adjust for operator dispatch_result_t
4808         removal. comment out call to update
4809
4810         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4811
4812 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4813
4814         * text3.C:
4815         * text2.C:
4816         * text.C:
4817         * lyxtext.h:
4818         * lyxfunc.C:
4819         * cursor.C:
4820         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4821         (dispatch):
4822
4823         * dispatchresult.h: new file, DispatchResult broken out of
4824         insets/insetbase.h
4825
4826         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4827
4828 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4829
4830         * text.C (rowBreakPoint): put a hack inside #if 0
4831
4832 2003-10-28  André Pönitz  <poenitz@gmx.net>
4833
4834         * lyxtext.h:
4835         * metricsinfo.C:
4836         * paragraph_funcs.C:
4837         * rowpainter.C:
4838         * text.C:
4839         * text2.C: general cleanup (lots of small stuff)
4840
4841 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4842
4843         * text2.C (cursorEnd): simple fix to the "end key goes to one
4844         before the end on last row" bug
4845
4846 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4847
4848         * text.C (backspace): fix the "zombie characters"
4849
4850 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4851
4852         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4853
4854 2003-10-27  André Pönitz  <poenitz@gmx.net>
4855
4856         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4857
4858         * factory.C: handle new InsetPagebreak, InsetLine
4859
4860         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4861         and move handling into new InsetPagebreak, InsetLine
4862
4863         * BufferView_pimpl.C:
4864         * LyXAction.C:
4865         * ParagraphParameters.C:
4866         * ParameterStruct.h:
4867         * lyxfunc.C:
4868         * lyxtext.h:
4869         * paragraph.C:
4870         * paragraph.h:
4871         * paragraph_funcs.C:
4872         * paragraph_pimpl.C:
4873         * rowpainter.C:
4874         * text.C:
4875         * text2.C:
4876         * text3.C: adjust
4877
4878 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4879
4880         * text.C:
4881         * lyxrow_funcs.[Ch]:
4882         * Bidi.C:
4883         * paragraph.C:
4884         * lyxtext.h:
4885         * rowpainter.C:
4886         * text2.C:
4887         * text3.C: remove lastPos uses in favour of Row::endpos
4888
4889 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4890
4891         * undo.C (performUndoOrRedo): fix two crashes by setting a
4892         cursor by hand and reordering some calls. Use bv->lockInset instead
4893         of inset->edit because the latter loses cursor information
4894
4895 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4896
4897         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4898         by Martin
4899         (rowBreakPoint): fix width. change point to point + 1.
4900         Add a missing check.
4901
4902 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4903
4904         * MenuBackend.C:
4905         * lyxfunc.C: fix (at least partly) the problems
4906         with the Nav menu and headers inside branch insets
4907         reported by Kayvan
4908
4909 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4910
4911         * paragraph.C (getChar): add strong asserts
4912
4913         * lyxrow_funcs.C (lastPos): remove hideous hack
4914
4915         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4916         (fill): adjust to that (avoid an infinite loop)
4917
4918 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4919
4920         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4921
4922 2003-10-23  André Pönitz  <poenitz@gmx.net>
4923
4924         * RowList_fwd.h: change list<> to vector<> to gain speed
4925         after suggestion from Alfredo
4926
4927 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4928
4929         * lyxtext.h: move the bidi stuff from here...
4930         * text.C: and here
4931         * text2.C: and here
4932         * Bidi.[Ch]: ... to here
4933
4934 2003-10-23  André Pönitz  <poenitz@gmx.net>
4935
4936         * lyxtext.h:
4937         * text.C (isLastRow, isFirstRow): new functions
4938
4939         * paragraph.h: new width cache member
4940
4941         * rowpainter.C: replace RowList::iterator with Row & where possible
4942
4943         * lyxfunc.C: replace several view()->text with a single call
4944
4945         * toc.C: fix 'unused' warning
4946
4947 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4950         when woring with stream::pos_type
4951         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4952
4953 2003-10-22  André Pönitz  <poenitz@gmx.net>
4954
4955         * lyxtext.h:
4956         * text.C: use Row & instead of RowList::iterator
4957
4958         * lyxrow.h: rename end() to endpos()
4959
4960         * rowpainter.C:
4961         * text.C:
4962         * text2.C: adjust
4963
4964 2003-10-22  Angus Leeming  <leeming@lyx.org>
4965
4966         * buffer.[Ch] (fully_loaded): new member function, returning true
4967         only when the file has been loaded fully.
4968         Used to prevent the premature generation of previews and by the
4969         citation inset to prevent computation of the natbib-style label.
4970
4971         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4972         templates are all set up.
4973
4974         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4975
4976 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4977
4978         * text.C: fixed an "oops" in the "is a bit silly"
4979         bug fix
4980
4981 2003-10-21  André Pönitz  <poenitz@gmx.net>
4982
4983         * FuncStatus.[Ch]: small stuff, whitespace
4984
4985         * lyxfont.[Ch]: operator<<() for debug reasons
4986
4987         * lyxfunc.C:
4988         * lyxrow_funcs.C:
4989         * lyxtext.h: whitespace, spelling
4990
4991         * paragraph.C: naming of variables
4992
4993         * text.C:
4994         * text2.C: small stuff
4995
4996
4997 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4998
4999         * text.C: (1) finish off the inset display() work;
5000         (2) fix the "is a bit silly" bug (accessing char
5001         past end of par).
5002
5003 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5004
5005         * text.C: re-introduce display() for insets, fixing the
5006         various bugs (stretch of line above, math inset
5007         positioning, ...)
5008
5009 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5010
5011         * text.C (rightMargin): remove spurious semicolon
5012
5013         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5014         1415)
5015
5016 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5017
5018         * text3.C: fix one crash due to wrong cursor def
5019
5020 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * vc-backend.C (scanMaster): make the regex static
5023
5024         * LaTeX.C (scanAuxFile): make the regexs static
5025
5026         * text3.C (doInsertInset, dispatch, dispatch):
5027         * text2.C (cursorUp, cursorDown):
5028         * text.C (selectNextWordToSpellcheck):
5029         * BufferView_pimpl.C (dispatch):
5030         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5031
5032 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5033
5034         * lyxsocket.C: include <cerrno>
5035
5036 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * lyxfunc.C (dispatch): remove textcache stuff
5039
5040         * bufferlist.C (release): remove textcache stuff
5041         (closeAll): ditto
5042
5043         * TextCache.C: delete file
5044         * TextCache.h: delete file
5045
5046         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5047
5048         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5049         delete of the bv_->text.
5050         (resizeCurrentBuffer): remove texcache stuff
5051         (workAreaResize): ditto
5052
5053 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5056         action.
5057
5058 2003-10-16  André Pönitz  <poenitz@gmx.net>
5059
5060         * lyxrow.[Ch]:
5061         * paragraph.h:
5062         * rowpainter.C:
5063         * text.C:
5064         * text2.C:
5065         * text3.C: speed up by storing y positions per paragraph plus per-row
5066         offset instead of having a 'full' y position in the row.
5067
5068 2003-10-15  André Pönitz  <poenitz@gmx.net>
5069
5070         * iterators.[Ch]:
5071         * iterators.[Ch]:
5072         * undo.[Ch]: make undo aware of inner insets
5073
5074 2003-10-14  Angus Leeming  <leeming@lyx.org>
5075
5076         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5077         static member functions LyX::ref() and LyX::cref.
5078         (lastfiles): new accessor functions for the new lastfiles_ member var.
5079         (addLyXView, views_): add a new LyXView to the list of views_.
5080         (updateInset): loop over all LyXViews to call their own updateInset
5081         member function, returning a pointer to the Buffer owning the inset.
5082
5083         * BufferView_pimpl.C (loadLyXFile):
5084         * MenuBackend.C (expandLastfiles):
5085         * bufferlist.C (MenuWrite, QuitLyX):
5086         lastfiles is no longer a global variable.
5087         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5088
5089         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5090         static function. Access through LyX::cref().emergencyCleanup().
5091
5092 2003-10-14  André Pönitz  <poenitz@gmx.net>
5093
5094         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5095
5096         * undo.[Ch]: restoring part of 'undo in insets'
5097
5098         * Makefile.am:
5099         * undo_funcs.[Ch]: merge with undo.[Ch]
5100
5101         * tabular.C: small cleansing stuff
5102
5103 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * paragraph_funcs.C (readParToken): report unknown insets as error
5106         boxes. Use the outer paragraph as location (also for unknown
5107         tokens).
5108
5109         * factory.C (readInset): do not abort on reading an unknown inset.
5110         Eat it and return 0.
5111
5112 2003-10-13  Angus Leeming  <leeming@lyx.org>
5113
5114         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5115
5116         * lyxrc.C: displayTranslator is now a function,
5117         declared in GraphicsTypes.h.
5118
5119 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5120
5121         * format.C: new placeholder $$a to pass the socket address.
5122
5123         * bufferlist.[Ch]: new function getBufferFromTmp.
5124
5125         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5126           files in the temporary dir.
5127
5128 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5129
5130         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5131
5132         * Makefile.am: add lyxsocket.[Ch].
5133
5134         * lyx_main.C (error_handler): handle SIGPIPE.
5135
5136 2003-10-13  André Pönitz  <poenitz@gmx.net>
5137
5138         * BufferView_pimpl.C:
5139         * lyxtext.h:
5140         * text.C:
5141         * text2.C:
5142         * text3.C:
5143         * undo_funcs.[Ch]: use paroffset_type instead of
5144           ParagraphList::iterators to prevent multiple conversion
5145           (and get a more robust interface)
5146
5147 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5150         * lyxtext.h: ditto
5151         * text3.C (dispatch): ditto
5152
5153 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5156         move the onlyfile, use onlyfile instead of foundfile in a couple
5157         of places.
5158
5159         * DepTable.C (update): flush the error stream a bit more
5160
5161 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5162
5163         * lyxserver.C (callback): adjust
5164
5165         * lyxfunc.C (getStatus): add a missing brace in commented code
5166         (ensureBufferClean): reindent
5167         (dispatch): delete version taking a string
5168
5169 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * LaTeX.C (deplog): move found file handlig from here...
5172         (handleFoundFile): .. to new function here.
5173         (deplog): make sure to discover several files mentioned on the
5174         same log line.
5175
5176 2003-10-10  André Pönitz  <poenitz@gmx.net>
5177
5178         * lyxfunc.C:
5179         * lyxtext.h:
5180         * tabular.C:
5181         * text.C:
5182         * text2.C:
5183         * text3.C: fix some of the tabular crashes
5184
5185 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5186
5187         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5188
5189         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5190
5191 2003-10-09  André Pönitz  <poenitz@gmx.net>
5192
5193         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5194
5195         * BufferView.C:
5196         * BufferView_pimpl.C:
5197         * bufferview_funcs.C:
5198         * lyx_cb.C:
5199         * lyxcursor.C:
5200         * lyxfind.C:
5201         * lyxfunc.C:
5202         * lyxtext.h:
5203         * text.C:
5204         * text2.C:
5205         * text3.C:
5206         * text_funcs.[Ch]:
5207         * textcursor.[Ch]:
5208         * undo_funcs.C: adjust
5209
5210 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * text2.C (incrementItemDepth): new function, use a backtracking
5213         algorithm to discover the correct item depth.
5214         (resetEnumCounterIfNeeded): new function, use a backtracking
5215         algorithm to discover if counter reset is needed.
5216         (setCounter): use them. Simplify a bit. Add different labels for
5217         different item depths for itemize.
5218
5219         * paragraph.C (Paragraph): remove initialization of enumdepth
5220         (operator=): ditto
5221
5222         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5223         enumerate and itemize. Change the type of itemdepth to signed char.
5224
5225 2003-10-08  André Pönitz  <poenitz@gmx.net>
5226
5227         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5228           thing assignable.
5229         * text.C:
5230         * text2.C: adjust
5231
5232         * tabular.[Ch]: fix crash after 'row-insert'
5233
5234 2003-10-08  Angus Leeming  <leeming@lyx.org>
5235
5236         Fix doxygen warnings.
5237
5238         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5239         Remove CutAndPaste:: prefix from header file declaration.
5240
5241         * LColor.h (fill): remove LColor:: prefix from declaration.
5242
5243         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5244         use lyx::depth_type rather than Paragraph::depth_type so that
5245         header file and .C file match.
5246
5247         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5248
5249         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5250         * aspell.C: \file aspell_local.C -> \file aspell.C
5251         * gettext.C: \file gettext.C -> \file src/gettext.C
5252         * gettext.h: \file gettext.h -> \file src/gettext.h
5253         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5254         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5255         * text.C: \file text.C -> \file src/text.C
5256
5257         * toc.C: move comment so that doxygen is not confused.
5258
5259 2003-10-07  Angus Leeming  <leeming@lyx.org>
5260
5261         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5262
5263 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5264
5265         * aspell.C:
5266         * aspell_local.h: add forgotten std::string's.
5267
5268 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5269
5270         * LaTeXFeatures.C:
5271         * LyXAction.C:
5272         * factory.C:
5273         * lfuns.h:
5274         * lyxfunc.C:
5275         * text3.C: The Box patch. Fancybox support, minipage, parbox
5276
5277 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5278
5279         * CutAndPaste.h:
5280         * DepTable.h:
5281         * FloatList.h:
5282         * LaTeXFeatures.h:
5283         * ParagraphParameters.h:
5284         * TextCache.h:
5285         * Thesaurus.h:
5286         * bufferlist.h:
5287         * exporter.h:
5288         * importer.h:
5289         * lastfiles.h:
5290         * lyxfind.h:
5291         * lyxfont.h:
5292         * lyxlex.h:
5293         * lyxtextclasslist.h:
5294         * messages.h:
5295         * paragraph.h:
5296         * paragraph_pimpl.C:
5297         * textcursor.h: add <string> and other small fixes to make Lars'
5298         std::string patch compile with STLport.
5299
5300 2003-10-06  Angus Leeming  <leeming@lyx.org>
5301
5302         * LColor.h: Add missing #include <string>.
5303
5304 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * All most all file in all subdirs: Make <string> be the prefered
5307         way of getting to std::string, add using declarations.
5308
5309 2003-10-06  André Pönitz  <poenitz@gmx.net>
5310
5311         * metricsinfo.C: initialize LyXFont before changing attribute.
5312         (fixes the 'math in \emph is upright' bug)
5313
5314 2003-10-06  André Pönitz  <poenitz@gmx.net>
5315
5316         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5317
5318 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5319
5320         * graph.C:
5321         * paragraph_pimpl.C: Small fixes to build using STLport
5322
5323 2003-10-02  André Pönitz  <poenitz@gmx.net>
5324
5325         * lyxfunc.C:
5326         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5327
5328 2003-10-01  André Pönitz  <poenitz@gmx.net>
5329
5330         * factory.C: assert early
5331
5332 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * lyx_main.C: remove the global debug object
5335
5336         * debug.h: adjust for new debugstream
5337
5338         * debug.C: adjust for new debugstream and keep the global debug
5339         object here.
5340
5341 2003-09-22  Angus Leeming  <leeming@lyx.org>
5342
5343         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5344         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5345         an incomplete class LyXFont.
5346
5347 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5348
5349         * factory.C: bug fix in branches
5350
5351 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5352
5353         * lyxfunc.C (processKeySym): adjust
5354         (dispatch): adjust
5355         (dispatch): change arg name from ev to func, adjust
5356         (sendDispatchMessage): ditto
5357
5358         * lyx_main.C (defaultKeyBindings): adjust keybindings
5359         (deadKeyBindings): ditto
5360
5361         * kbsequence.C (addkey): return a FuncRequest
5362
5363         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5364
5365         * kbmap.C (bind): take a FuncRequest as arg, adjust
5366         (read): adjust
5367         (lookup): adjust
5368         (defkey): change to take a FuncRequest as arg, adjust
5369         (findbinding): take a FuncRequest as arg, adjust.
5370
5371         * funcrequest.h (operator=): added
5372
5373         * funcrequest.C (FuncRequest): default kb_action changed from
5374         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5375
5376         * buffer.C (dispatch): simplify
5377         (dispatch): adjust to take a FuncRequest as arg, adjust
5378
5379         * boost.C (assertion_failed): change assertion message slightly
5380
5381         * ToolbarBackend.C (read): simplify
5382
5383         * MenuBackend.C (binding): adjust call to findbinding, add a
5384         message if no binding is found.
5385         (read): simplify
5386         (expandToc): correct by adding a empty FuncRequest
5387
5388         * LyXAction.C: include <boost/assert.hpp>
5389         (isPseudoAction): delete function
5390         (LookupFunc): change name to...
5391         (lookupFunc): this. change return type to FuncRequest.
5392         (getActionName): take kb_action as arg, simplify
5393         (funcHasFlag): add an assert, simplify.
5394
5395 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5396
5397         * toc.C (action): return a FuncRequest, simplify
5398
5399         * lyxfunc.C (processKeySym): adjust
5400         (getStatus): delete version that takes an int.
5401         (getStatus): adjust
5402         (dispatch): delete version that takes action as int
5403         (dispatch): adjust
5404         (sendDispatchMessage): simplify and adjust
5405
5406         * funcrequest.C (getArg): take unsigned int as arg
5407
5408         * ToolbarBackend.C (read): adjust
5409         (add): delete version that takes func as a string.
5410         (getIton): take a FuncRequest as arg
5411
5412         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5413         action.
5414
5415         * MenuBackend.C (MenuItem): add a new construct that only takes a
5416         Kind, simplify the constructor use for submenus.
5417         (add): adjust
5418         (expandLastfiles): adjust
5419         (expandDocuments): adjust
5420         (expandFormats): adjust
5421         (expandFloatListInsert): adjust
5422         (expandFloatInsert): adjust
5423         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5424
5425         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5426         Remove class variables lyx_pseudo_map and lyx_arg_map
5427
5428         * LyXAction.C (searchActionArg): delete function
5429         (getPseudoAction): delete function
5430         (retrieveActionArg): delete function
5431         (LookupFunc): make it return kb_action, simplify.
5432         (getActionName): simplify
5433
5434         * factory.C (createInset): fix new bug
5435
5436 2003-09-19  Angus Leeming  <leeming@lyx.org>
5437
5438         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5439         masterFilename_ parameter in the include inset.
5440
5441         * factory.C (createInset): changes due to the changes to InsetInclude.
5442
5443 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5444
5445         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5446
5447 2003-09-18  Angus Leeming  <leeming@lyx.org>
5448
5449         * buffer.C:
5450         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5451         Inset::fillWithBibKeys.
5452         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5453
5454 2003-09-18  Angus Leeming  <leeming@lyx.org>
5455
5456         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5457         variables.
5458         (ctor): pass and store a 'Buffer const &'
5459         (buffer): new member function.
5460
5461         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5462         '*this' to the LaTeXFeatures ctor.
5463
5464 2003-09-18  Angus Leeming  <leeming@lyx.org>
5465
5466         * LColor.h:
5467         * lyxfont.C:
5468         * lyxfont.h:
5469         * lyxtext.h:
5470         * text.C: rename EnumLColor as LColor_color.
5471
5472 2003-09-18  Angus Leeming  <leeming@lyx.org>
5473
5474         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5475         remove #include "insets/insetbase.h" from cursor.h.
5476
5477 2003-09-18  Angus Leeming  <leeming@lyx.org>
5478
5479         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5480         InsetOld_code to remove #include "inset.h".
5481
5482         * iterators.C: add #include "insets/inset.h"
5483
5484 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5485
5486         * BufferView.C: remove more locking stuff that apparently doesn't
5487         do anything sensible.
5488
5489 2003-09-16  André Pönitz  <poenitz@gmx.net>
5490
5491         * paragraph.[Ch]:
5492         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5493           performance boost.
5494
5495 2003-09-16  Angus Leeming  <leeming@lyx.org>
5496
5497         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5498
5499         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5500         arg/return type.
5501
5502         * paragraph.h: remove #include "lyxfont.h". Forward declare
5503         LyXFont_size.
5504
5505 2003-09-16  Angus Leeming  <leeming@lyx.org>
5506
5507         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5508         of support/textutils.h.
5509         (isWord): move the contents of support/textutils.h's IsWordChar here.
5510
5511         * buffer.C:
5512         * lyxfind.C:
5513         * rowpainter.C:
5514         * text.C:
5515         * text2.C: add #include "paragraph.h".
5516
5517         * rowpainter.C:
5518         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5519
5520 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5521
5522         * main.C:
5523         * lyx_main.C:
5524         * lyx_cb.C:
5525         * buffer.C:
5526         * LaTeX.C: use namespace alias for lyx::support::os
5527
5528 2003-09-16  Angus Leeming  <leeming@lyx.org>
5529
5530         * bufferparams.C:
5531         * bufferview_funcs.C:
5532         * factory.C:
5533         * lyxfunc.C:
5534         * paragraph_pimpl.C:
5535         * rowpainter.C:
5536         * text.C: add #include "LColor.h".
5537
5538 2003-09-16  Angus Leeming  <leeming@lyx.org>
5539
5540         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5541         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5542         return LyXFont &.
5543         Store the FontBits::color variable as an int rather than as an
5544         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5545         file.
5546
5547         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5548         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5549         string calls together.
5550
5551         * lyxrc.C: add #include "LColor.h".
5552
5553 2003-09-15  Angus Leeming  <leeming@lyx.org>
5554
5555         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5556         a cow_ptr.
5557
5558 2003-09-15  Angus Leeming  <leeming@lyx.org>
5559
5560         * LColor.h: add an EnumLColor wrapper for LColor::color.
5561
5562         * lyxfont.[Ch] (color, setColor, realColor):
5563         * lyxtext.h, text.C (backgroundColor):
5564         pass EnumLColor args to/from the functions, rather than LColor::color
5565         ones.
5566
5567         * lyxfont.h:
5568         * lyxtext.h: forward declare EnumLColor.
5569
5570         * lyx_main.C: add #include "LColor.h".
5571
5572 2003-09-15  Angus Leeming  <leeming@lyx.org>
5573
5574         * .cvsignore: add lyx-gtk.
5575
5576 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5577
5578         * Chktex.C
5579         * LaTeX.C
5580         * LaTeXFeatures.C
5581         * ParagraphParameters.C
5582         * Spacing.C
5583         * buffer.C
5584         * bufferparams.C
5585         * bufferview_funcs.C
5586         * chset.C
5587         * counters.C
5588         * funcrequest.C
5589         * lyxfont.C
5590         * lyxgluelength.C
5591         * lyxlength.C
5592         * paragraph.C
5593         * paragraph_funcs.C
5594         * text3.C
5595         * vc-backend.C: remove usage of STRCONV
5596
5597 2003-09-15  Angus Leeming  <leeming@lyx.org>
5598
5599         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5600         explicitly define the color passed to the painter.
5601
5602 2003-09-15  Angus Leeming  <leeming@lyx.org>
5603
5604         * bufferparams.C (BufferParams): reorder member initializers to avoid
5605         compiler warning.
5606
5607 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5608
5609         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5610         * text.C (updateRowPositions): remove an unusual nop
5611
5612 2003-09-12  André Pönitz  <poenitz@gmx.net>
5613
5614         * BufferView_pimpl.C:
5615         * Bullet.C:
5616         * layout.h:
5617         * lyxfunc.C:
5618         * lyxlayout.[Ch]:
5619         * lyxtextclass.C:
5620         * rowpainter.C:
5621         * text.C:
5622         * text2.C:
5623         * Counters.[Ch]: finish the 'automatic counters' job
5624
5625 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5626
5627         * aspell.C: include <boost/assert.cpp> (compile fix)
5628
5629 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5630
5631         * boost.C (assertion_failed): use lyx::support::abort instead of
5632         assert.
5633
5634 2003-09-10  Angus Leeming  <leeming@lyx.org>
5635
5636         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5637         with their _fwd progeny.
5638
5639 2003-09-09  Angus Leeming  <leeming@lyx.org>
5640
5641         134 files throughtout the source tree: replace 'using namespace abc;'
5642         directives with the appropriate 'using abc::xyz;' declarations.
5643
5644 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5645
5646         * boost.C (emergencyCleanup): moved here from LAssert.c
5647         (assertion_failed): new function, called by BOOST_ASSERT
5648
5649         * several files: change Assert to BOOST_ASSERT
5650
5651 2003-09-09  Angus Leeming  <leeming@lyx.org>
5652
5653         * buffer.[Ch]: Add an Impl class and move Buffer's member
5654         variables into it. As a result move several header files out of
5655         buffer.h.
5656
5657         Add header files to lots of .C files all over the tree as a result.
5658
5659 2003-09-09  Angus Leeming  <leeming@lyx.org>
5660
5661         * buffer.[Ch]: make Buffer's member variables private. Add
5662         accessor functions.
5663
5664         Lots of changes all over the tree as a result.
5665
5666 2003-09-08  Angus Leeming  <leeming@lyx.org>
5667
5668         * graph.C: #include <config.h>.
5669
5670 2003-09-08  Angus Leeming  <leeming@lyx.org>
5671
5672         * BranchList.C:
5673         * BufferView.C:
5674         * BufferView_pimpl.C:
5675         * CutAndPaste.C:
5676         * DepTable.C:
5677         * LaTeX.C:
5678         * LaTeXFeatures.C:
5679         * LyXAction.C:
5680         * MenuBackend.C:
5681         * TextCache.C:
5682         * aspell.C:
5683         * buffer.C:
5684         * bufferlist.C:
5685         * changes.C:
5686         * chset.C:
5687         * converter.C:
5688         * counters.C:
5689         * debug.C:
5690         * graph.C:
5691         * ispell.C:
5692         * lyx_cb.C:
5693         * lyxfind.C:
5694         * lyxfunc.C:
5695         * lyxlex_pimpl.C:
5696         * lyxrc.C:
5697         * lyxrow.C:
5698         * paragraph.C:
5699         * rowpainter.C:
5700         * texrow.C:
5701         * text.C:
5702         * text2.C:
5703         * toc.C: remove redundant using directives.
5704
5705 2003-09-07  Angus Leeming  <leeming@lyx.org>
5706
5707         * LaTeXFeatures.h: remove #include "support/types.h".
5708         * ToolbarBackend.h: remove #include <algorithm>.
5709         * changes.h: remove #include <ctime>.
5710         * debug.h: remove #include <iosfwd>.
5711         * graph.h: remove #include "support/std_string.h".
5712         * lyx_main.h: remove #include <csignal>.
5713         * lyxlex_pimpl.h: remove #include <fstream>.
5714         * sgml.h: remove #include <algorithm>, <utility>.
5715         * toc.h: remove #include "support/std_ostream.h".
5716         Add #include <iosfwd>.
5717
5718 2003-09-07  Angus Leeming  <leeming@lyx.org>
5719
5720         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5721
5722         * converter.h: forward declare LatexRunParams.
5723         * encoding.h: remove #include "lyxrc.h".
5724         * lyxtext.h: remove #include "LColor.h".
5725         * lyxtextclass.h: remove #include "support/types.h".
5726         * trans.h: remove #include "tex-accent.h".
5727         * trans_mgr.h: remove #include "tex-accent.h".
5728         * insets/inset.h: remove #include "support/types.h", <vector>.
5729         * insets/insetcollapsable.h: remove #include "LColor.h".
5730         * insets/insetinclude.h: remove #include "dimension.h".
5731         * insets/insetlatexaccent.h: remove #include "dimension.h".
5732         * insets/insetoptarg.h:: remove #include "insettext.h".
5733         * insets/insettext.h: remove #include "dimension.h",
5734         <boost/shared_ptr.hpp>
5735
5736         * insets/renderers.h: add #include "dimension.h".
5737         * insets/updatableinset.h: add #include "support/types.h".
5738
5739         * many .C files: Associated changes.
5740
5741 2003-09-06  Angus Leeming  <leeming@lyx.org>
5742
5743         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5744         one, inside testInvariant.
5745
5746         * PrinterParams.C: new file.
5747         * PrinterParams.[Ch]: move the function bodies out of line.
5748
5749 2003-09-06  Angus Leeming  <leeming@lyx.org>
5750
5751         * ParagraphParameters.h: forward declare ParameterStruct rather than
5752         including its header file.
5753         (depth): moved out-of-line.
5754
5755 2003-09-06  Angus Leeming  <leeming@lyx.org>
5756
5757         * BufferView_pimpl.h:
5758         * kbmap.h:
5759         * kbsequence.h:
5760         * lyxfunc.h: forward declare LyXKeySym rather than
5761         #include "frontends/LyXKeySym.h".
5762
5763         * BufferView_pimpl.C:
5764         * kbmap.C:
5765         * kbsequence.C:
5766         * lyxfunc.C: associated changes.
5767
5768 2003-09-06  Angus Leeming  <leeming@lyx.org>
5769
5770         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5771         As a result, can remove the #include "insets/inset.h" from BufferView.h
5772
5773 2003-09-06  Angus Leeming  <leeming@lyx.org>
5774
5775         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5776         As a result, can remove the #include "insets/inset.h" from BufferView.h
5777
5778 2003-09-06  Angus Leeming  <leeming@lyx.org>
5779
5780         * buffer_funcs.C:
5781         * buffer.h:
5782         * bufferlist.C:
5783         * BufferView.C:
5784         * bufferview_funcs.C:
5785         * BufferView_pimpl.C:
5786         * CutAndPaste.C:
5787         * lyx_cb.C:
5788         * lyxfunc.C:
5789         * paragraph.h:
5790         * ParagraphParameters.C:
5791         * tabular.C:
5792         * text3.C:
5793         * toc.C:
5794         * undo_funcs.C:
5795         * frontends/controllers/ControlDocument.C:
5796         * insets/insetcaption.C: rearrange the #includes into some sort of
5797         coherent order.
5798
5799         * buffer.h: remove #includes ErrorList.h, undo.h
5800
5801 2003-09-06  Angus Leeming  <leeming@lyx.org>
5802
5803         * support/types.h: add a 'depth_type' typedef, used to store the
5804         nesting depth of a paragraph.
5805
5806         * paragraph.h:
5807         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5808         defining explicitly.
5809
5810         * buffer.h:
5811         * paragraph_funcs.h:
5812         * ParagraphParameters.h:
5813         * sgml.h: use lyx::depth_type rather than Paragraph or
5814         ParameterStruct's depth_type.
5815
5816         * buffer.h
5817         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5818
5819         * BufferView.C:
5820         * BufferView_pimpl.C:
5821         * CutAndPaste.C:
5822         * ParagraphParameters.C:
5823         * buffer_funcs.C:
5824         * bufferlist.C:
5825         * bufferview_funcs.C:
5826         * lyx_cb.C:
5827         * lyxfunc.C:
5828         * tabular.C:
5829         * text3.C:
5830         * toc.C:
5831         * undo_funcs.C:
5832         * frontends/LyXView.C:
5833         * frontends/controllers/ControlDocument.C:
5834         * frontends/controllers/ControlErrorList.C:
5835         * insets/insetbibitem.C:
5836         * insets/insetbranch.C:
5837         * insets/insetcaption.C:
5838         * insets/insetcollapsable.C:
5839         * insets/insetenv.C:
5840         * insets/insetert.C:
5841         * insets/insetfloat.C:
5842         * insets/insetfoot.C:
5843         * insets/insetfootlike.C:
5844         * insets/insetnewline.C:
5845         * insets/insetquotes.C:
5846         * insets/insettabular.C:
5847         * insets/insettext.C:
5848         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5849
5850         * frontends/controllers/ControlChanges.C: #include "changes.h".
5851
5852 2003-09-06  Angus Leeming  <leeming@lyx.org>
5853
5854         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5855         than #including paragraph.h.
5856
5857         * ParagraphList.h:
5858         * RowList.h: deleted. Superfluous.
5859
5860         * CutAndPaste.h:
5861         * iterators.h:
5862         * lyxcursor.h:
5863         * lyxtext.h:
5864         * text_funcs.h:
5865         * undo.h:
5866         * undo_funcs.h:
5867         * insets/inset.h:
5868         * insets/insettext.h: use ParagraphList_fwd.h rather than
5869         ParagraphList.h.
5870
5871         * paragraph.h: don't forward declare ParagraphList.
5872
5873         * buffer.h:
5874         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5875         rather than ParagraphList.h. paragraph.h is still needed for the
5876         Paragraph::depth_type parameters.
5877
5878         * textcursor.h: enable it to compile stand-alone in light of the
5879         above changes.
5880
5881         * bufferview_funcs.C:
5882         * iterators.C:
5883         * lyxfunc.C:
5884         * lyxrow_funcs.C:
5885         * paragraph.C:
5886         * rowpainter.C:
5887         * text.C:
5888         * text2.C:
5889         * text3.C:
5890         * text_funcs.C:
5891         * textcursor.C:
5892         * undo.C:
5893         * frontends/controllers/ControlParagraph.C:
5894         * frontends/controllers/ControlTabular.C:
5895         * insets/insetmarginal.C:
5896         * insets/insetminipage.C:
5897         * insets/insetnote.C:
5898         * insets/insetoptarg.C: add header files needed to compile again.
5899
5900 2003-09-06  Angus Leeming  <leeming@lyx.org>
5901
5902         * RowList_fwd.h: new file, forward-declaring Row rather than
5903         #including lyxrow.h.
5904
5905         * lyxrow_funcs.h:
5906         * lyxtext.h:
5907         * paragraph.h:
5908         * insets/insettext.h: use it instead of RowList.h
5909
5910         * bufferview_funcs.C:
5911         * lyxfunc.C:
5912         * lyxrow_funcs.C:
5913         * paragraph.C:
5914         * rowpainter.C:
5915         * text.C:
5916         * text2.C:
5917         * text3.C: #include "RowList.h".
5918
5919 2003-09-05  Angus Leeming  <leeming@lyx.org>
5920
5921         * factory.C (createInset):
5922         * vspace.C (c-tor): replace sscanf call with an istringstream.
5923         * ispell.C: re-add missing HP/UX headers.
5924         * lyxserver.C: re-add missing  os2 headers.
5925
5926 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5927
5928         * BranchList.C:
5929         * graph.C:
5930         * ispell.C:
5931         * lastfiles.C:
5932         * lyx_cb.C:
5933         * lyxserver.C:
5934         * texrow.C:
5935         * text3.C: re-add missing system headers, needed for 2.95.2.
5936
5937 2003-09-05  Angus Leeming  <leeming@lyx.org>
5938
5939         Changes most place everywhere due to the removal of using directives
5940         from support/std_sstream.h.
5941
5942 2003-09-05  Angus Leeming  <leeming@lyx.org>
5943
5944         Replace LString.h with support/std_string.h,
5945         Lsstream.h with support/std_sstream.h,
5946         support/LIstream.h with support/std_istream.h,
5947         support/LOstream.h with support/std_ostream.h.
5948
5949         Changes resulting throughout the tree.
5950
5951 2003-09-05  Angus Leeming  <leeming@lyx.org>
5952
5953         * sgml.h: ensure that the header file can be compiled stand-alone.
5954         * *.C: strip out redundant #includes. (320 in total.)
5955
5956 2003-09-04  Angus Leeming  <leeming@lyx.org>
5957
5958         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5959         here (from getPackages).
5960
5961         * debug.[Ch]: add a new EXTERNAL tag.
5962
5963 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5964
5965         * text2.C (cursorEnd): simplify
5966         (setCursor): adjust
5967         (getColumnNearX): adjust
5968
5969         * text.C (computeBidiTables): adjust
5970         (fill): adjust
5971
5972         * rowpainter.C (paintChars): adjust
5973         (paintSelection): adjust
5974         (paintChangeBar): adjust
5975         (paintText): adjust
5976
5977         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5978         lastPos instead.
5979         (numberOfSeparators): adjust
5980
5981 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5982
5983         * LyXAction.C:
5984         * box.[Ch]:
5985         * lfuns.h:
5986         * lyxfunc.C:
5987         * text3.C: Restricts the mouse click functionality
5988         of insets like bibtex, include, toc and floatlist to the visible
5989         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5990         up the dialogs. Cursor has to be in front of the inset (i.e.
5991         start of row) for this to function.
5992
5993 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5994
5995         * bufferview_funcs.C (currentState): output row information
5996
5997 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5998
5999         * bufferview_funcs.C (currentState): output paragraph position
6000
6001 2003-09-04  Angus Leeming  <leeming@lyx.org>
6002
6003         * FloatList.h: move out #include "Floating.h".
6004         * LaTeX.h: move out #include "DepTable.h".
6005         * LyXAction.h: move out #include "funcrequest.h".
6006         * buffer.h: move out #include "author.h", "iterators.h".
6007         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6008         * lyx_main.h: move out #include "errorlist.h".
6009         * lyxfunc.h: move out #include "FuncStatus.h".
6010         * lyxtext: move out #include "lyxcursor.h".
6011         * paragraph_pimpl.h: move out #include "counters.h".
6012
6013 2003-09-03  Angus Leeming  <leeming@lyx.org>
6014
6015         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6016         preamble_snippets list, enabling us to add snippets to the preamble
6017         only if the snippet was not there already.
6018
6019 2003-09-04  Angus Leeming  <leeming@lyx.org>
6020
6021         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6022
6023 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6024
6025         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6026         update
6027
6028 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6029
6030         * BranchList.C: point fix, earlier forgotten
6031
6032 2003-09-02  Angus Leeming  <leeming@lyx.org>
6033
6034         * box.C (contains): renamed from 'contained' after a fantastic
6035         amount of hot air.
6036
6037 2003-09-02  John Levon  <levon@movementarian.org>
6038
6039         * BufferView.C:
6040         * lyxcursor.h:
6041         * lyxcursor.C:
6042         * lyxfunc.C:
6043         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6044
6045 2003-09-02  John Levon  <levon@movementarian.org>
6046
6047         * text2.C: simplification of cursorEnd(), including partial
6048         fix for bug 1376
6049
6050 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * buffer.C (readFile): add a space
6053
6054 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6055
6056         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6057
6058 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6059
6060         * buffer.C (readFile): new function, take a filename and a
6061         ParagraphList::iterator
6062         (readFile): adjust
6063         (readFile): adjust, make it private. don't use setStream, make
6064         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6065         always contain the filename.
6066
6067         * BufferView.C (insertLyXFile): simplify and make it work for
6068         gzipped files.
6069
6070 2003-08-30  John Levon  <levon@movementarian.org>
6071
6072         * Makefile.am: fix dist (from Kayvan)
6073
6074 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * most files: change to use const Buffer refs
6077
6078 2003-08-27  André Pönitz  <poenitz@gmx.net>
6079
6080         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6081         on top of ownerPar().
6082
6083 2003-08-27  John Levon  <levon@movementarian.org>
6084
6085         * funcrequest.C: properly initialise POD members
6086
6087 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6088
6089         * lyxtext.h (top_y): move top_y from here
6090         * text.C:
6091         * text2.C:
6092         * text3.C:
6093         * BufferView.[Ch]:
6094         * BufferView_pimpl.[Ch]: to here
6095         * frontends/screen.C:
6096         * insets/insettabular.C:
6097         * insets/insettext.C: adjust
6098         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6099
6100 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6101
6102         * BufferView.[Ch]:
6103         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6104
6105 2003-08-26  André Pönitz  <poenitz@gmx.net>
6106
6107         * paragraph_func.[Ch] (outerPar): new function
6108
6109         * paragraph.C:
6110         * paragraph_funcs.C:
6111         * paragraph_funcs.h:
6112         * paragraph_pimpl.C:
6113         * text2.C: remove Inset::par_owner
6114
6115 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6116
6117         * lyxrow_funcs.C:
6118         * lyxtext.h:
6119         * text.C:
6120         * text2.C: eliminates the needFullRow/display() stuff
6121         altogether, putting the logic in metrics/draw in the insets.
6122
6123 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6124
6125         * text2.C (redoParagraphInternal, redoParagraphs):
6126         * text.C (redoParagraph): add a call to updateRowPositions at the
6127         end of each 'metrics-like' call. Remove all others.
6128         (getRow): remove the 'y-computing' version.
6129         (getRowNearY): do not compute nor return the real y. Solve the
6130         'y < 0' problem and simplify.
6131
6132 2003-08-22  Angus Leeming  <leeming@lyx.org>
6133
6134         * *.[Ch]: clean-up of licence and author blurbs.
6135         Also move config.h out of a few .h files and into a few .C files.
6136
6137 2003-08-22  André Pönitz  <poenitz@gmx.net>
6138
6139         * lyxrow.[Ch]: add x_ and *fill_ members
6140
6141         * lyxtext.h:
6142         * text.C:
6143         * rowpainter.C:
6144         * text2.C: adjust/remove prepareToPrint() calls
6145
6146 2003-08-22  André Pönitz  <poenitz@gmx.net>
6147
6148         * lyxrow.[Ch]: add  end_ member
6149
6150         * lyxrow_funcs.C: use LyXRow::end_
6151
6152         * lyxtext.h (singleWidth): add LyXFont parameter
6153
6154         * rowpainter.C:
6155         * text2.C: adjust LyXText::singleWidth() calls
6156
6157         * text.C (redoParagraph): simplify row breaking logic
6158
6159
6160 2003-08-19  André Pönitz  <poenitz@gmx.net>
6161
6162         * funcrequest.C: initialize button_ member
6163
6164         * text3.C:
6165         * rowpainter.[Ch]: interface consolidation
6166
6167 2003-08-18  André Pönitz  <poenitz@gmx.net>
6168
6169         * BufferView.C:
6170         * BufferView_pimpl.C:
6171         * lyxfind.C:
6172         * paragraph_funcs.C:
6173         * rowpainter.C:
6174         * text3.C: remove LyXScreen::draw() and fitCursor calls
6175
6176         * BranchList.h: remove spurious semicolons
6177
6178         * MenuBackend.C: fix branchlist related crash
6179
6180 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6181
6182         * BranchList.[Ch]:
6183         * InsetList.[Ch]:
6184         * LColor.[Ch]:
6185         * LyXAction.C:
6186         * Makefile.am:
6187         * MenuBackend.[Ch]:
6188         * bufferparams.[Ch]:
6189         * factory.C:
6190         * lfuns.h:
6191         * lyxfunc.C:
6192         * text3.C: implements the 'branch inset'
6193         idea. This allows the output of various versions of a document
6194         from a single source version, selectively outputing or suppressing
6195         output of parts of the text.
6196         This implementation contains a 'branch list editor' in a separate
6197         tab of the document settings dialog. Branches are user definable
6198         and have a "display colour" to distinguish them on-screen.
6199
6200         ColorHandler was somewhat cleaned up.
6201         (1) make possible a dynamically growing LColor list by allowing
6202         the graphic context cache to grow along (vector);
6203         (2) eliminate an IMHO unnecessary step in colour allocation.
6204
6205 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6206
6207         * BufferView_pimpl.C: compile fix
6208
6209 2003-08-15  André Pönitz  <poenitz@gmx.net>
6210
6211         * rowpainter.C: remove extra metrics calls
6212
6213         * lyxtext.h: merge the two constructors into a single one,
6214           pass reference to owner's par list
6215
6216         * BufferView_pimpl.C:
6217         * text.C:
6218         * text2.C: adjust
6219
6220 2003-08-15  André Pönitz  <poenitz@gmx.net>
6221
6222         * lyxrow_funcs.[Ch]:
6223         * lyxtext.h:
6224         * paragraph.h:
6225         * paragraph_funcs.C:
6226         * rowpainter.C:
6227         * text.C:
6228         * text2.C:
6229         * text3.C:
6230         * text_funcs.C: split LyXText::rowlist_ into individual
6231         Paragraph::rows_ chunks
6232
6233         * BufferView.[Ch]:
6234         * BufferView_pimpl.[Ch]:
6235         * lyxfind.C:
6236         * lyxtext.h:
6237         * text3.C: remove toggleSelection()
6238
6239 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6240
6241         * bufferlist.C: beautify two alerts (shorter text of buttons)
6242         * buffer.C: Remove redundant ' ' from message
6243         * tabular.h:
6244         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6245         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6246         rename VALIGN_CENTER to VALIGN_MIDDLE
6247
6248 2003-08-11  André Pönitz  <poenitz@gmx.net>
6249
6250         * lyxtext.h (getPar):
6251         * text.C: new function
6252
6253 2003-08-11  André Pönitz  <poenitz@gmx.net>
6254
6255         * Makefile.am:
6256         * tracer.[Ch]: remove unneeded files
6257
6258         * InsetList.[Ch]: remove resizeInsetsLyXText()
6259
6260         * lyxtext.h:
6261         * text.C:
6262         * text2.C:
6263         * text3.C: merge insertParagraphs() and appendParagraph()
6264         remove breakAgain(), update()
6265
6266         * BufferView_pimpl.[Ch]:
6267         * bufferview_funcs.[Ch]:
6268         * lyxfunc.C:
6269         * paragraph.[Ch]:
6270         * rowpainter.C:
6271         * tabular.C: adjust after text & InsetList changes.
6272
6273 2003-08-08  André Pönitz  <poenitz@gmx.net>
6274
6275         * text.C (insertChar, backspace): replace rowlist fiddling
6276         with rebreak of full par
6277
6278         * lyxtext.h:
6279         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6280         checkParagraph, updateInset): removed
6281
6282 2003-08-07  André Pönitz  <poenitz@gmx.net>
6283
6284         * paragraph.C:
6285         * text3.C: merge some LFUN handlers, remove dead code
6286
6287 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6288
6289         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6290
6291 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6292
6293         * text2.C (DEPM): fix part of bug 1255 and 1256
6294
6295 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6296
6297         * BufferView_pimpl.C (workAreaDispatch): change to use
6298         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6299         that are no mouse related.
6300
6301 2003-08-05  André Pönitz  <poenitz@gmx.net>
6302
6303         * BufferView.[Ch]:
6304         * BufferView_pimpl.[Ch]:
6305         * bufferview_funcs.C:
6306         * text2.C:
6307         * text3.C: rip out "deep update"
6308
6309         * textcursor.[Ch] (last_sel_cursor): remove unused member
6310
6311 2003-08-04  André Pönitz  <poenitz@gmx.net>
6312
6313         * BufferView.[Ch]:
6314         * BufferView_pimpl.[Ch]:
6315         * ParagraphParameters.C:
6316         * bufferview_funcs.C:
6317         * lyx_cb.C:
6318         * lyxfind.C:
6319         * lyxfunc.C:
6320         * text.C:
6321         * text2.C:
6322         * text3.C: replace "complicated" BufferView::update(...) calls with
6323         simpler ones.
6324
6325         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6326
6327 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6328
6329         * Makefile.am (lyx_SOURCES): add paper.h
6330
6331 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6332
6333         * Makefile.am: move things around so that both lyx-qt and
6334         lyx-xforms can be built (according to --with-frontend). Then lyx
6335         is a symbolic link to lyx-[firstfrontend]
6336
6337 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6338
6339         * Always use std::endl with lyxerr
6340
6341 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6342
6343         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6344
6345 2003-08-01  André Pönitz  <poenitz@gmx.net>
6346
6347         * BufferView.[Ch]:
6348         * BufferView_pimpl.[Ch]:
6349         * lyxfunc.C:
6350         * text3.C: merge BufferView::repaint() and BufferView::update()
6351
6352 2003-08-01  José Matos  <jamatos@lyx.org>
6353
6354         * buffer.[Ch]: file_format is no longer a buffer data element.
6355
6356 2003-08-01  André Pönitz  <poenitz@gmx.net>
6357
6358         * BufferView.C:
6359         * lyxtext.h:
6360         * text.C:
6361         * text2.C: make redoParagraph more independent of current cursor
6362
6363         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6364         * text.C:
6365         * text2.C: remove unneeded members
6366
6367 2003-07-30  André Pönitz  <poenitz@gmx.net>
6368
6369         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6370
6371         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6372           create a single function...
6373
6374         * paragraph_funcs.C (moveItem): ... here.
6375
6376         * text.C:
6377           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6378
6379 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6380
6381         * LColor.[Ch]: Add comment and greyedout logical colors.
6382
6383 2003-07-30  André Pönitz  <poenitz@gmx.net>
6384
6385         * tabular.C: don't use Assert too heavily. This crashes where it
6386           shouldn't
6387
6388 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6389
6390         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6391         is disabled (bug 1232)
6392
6393 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6394
6395         * factory.C: limited 'arg' scope
6396
6397 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6398
6399         * factory.C: fixed Note submenu issues
6400
6401 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6402
6403         * factory.C: submenu for Note/Comment/Greyedout
6404
6405 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6406
6407         * lyx_main.C (LyX):
6408         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6409
6410 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6411
6412         * LaTeXFeatures.C:
6413         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6414         greyedout. Patch provided by Jürgen Spitzmüller.
6415
6416 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6417
6418         * kbmap.C (read): fix error message when reading bind files
6419
6420 2003-07-29  Angus Leeming  <leeming@lyx.org>
6421
6422         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6423         certainly does not do what it purports to do. I am doing it, and
6424         us, a favour by killing it.
6425
6426 2003-07-28  José Matos  <jamatos@lyx.org>
6427
6428         * buffer.C (readBody, do_writeFile):
6429         * paragraph.C(readParagraph): \end_document replaces \the_end.
6430
6431 2003-07-29  André Pönitz  <poenitz@gmx.net>
6432
6433         * BufferView.[Ch]:
6434         * BufferView_pimpl.[Ch]:
6435         * lyxfunc.C:
6436         * text2.C:
6437         * text3.C:
6438         * textcursor.[Ch]: remove toggleToggle & Co
6439
6440 2003-07-28  José Matos  <jamatos@fep.up.pt>
6441
6442         * buffer.C (readParagraph):
6443         * params_func (readParToken, readParagraph):
6444         * paragraph.C (write): \layout -> \begin_layout.
6445
6446 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6447
6448         * lyxlex_pimpl.C (setFile): clean up slightly.
6449
6450         * bufferparams.h: add compressed var
6451
6452         * buffer_funcs.C (readFile): adjust for LyXLex change
6453         (newFile): ditto + simplify
6454
6455         * buffer.C (writeFile): handle writing of compressed files
6456
6457         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6458         Check if the file is compressed and set a bufferparm if so.
6459
6460         * Makefile.am (lyx_LDADD): remove explicit -lz
6461
6462 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6463
6464         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6465         makeDocBookFile): put the real LyX version in the first line of
6466         the file
6467
6468         * version.h:
6469         * version.C.in: remove lyx_docversion
6470
6471         * tabular.C (write_attribute): add a template-based version to
6472         write enums properly
6473
6474 2003-07-28  André Pönitz  <poenitz@gmx.net>
6475
6476         * lyxtext.h:
6477         * text.C:
6478         * text2.C:
6479         * text3.C: use doubles again for x-coordinates. They are needed.
6480
6481 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * messages.C (getLocaleDir): use lyx_localedir()
6484
6485         * lyxlex_pimpl.C (setFile): compress stuff
6486
6487         * buffer.C (writeFile): add some compression stuff
6488         (do_writeFile): new func, dont call expliti close... will this
6489         breake anything?
6490
6491         * Makefile.am (lyx_LDADD): add -lz
6492
6493 2003-07-28  José Matos  <jamatos@fep.up.pt>
6494
6495         * buffer.C: increment file format.
6496         * paragraph_funcs (readParagraph, readParToken):
6497         * paragraph.C (readParagraph): add \end_layout.
6498
6499 2003-07-27  Angus Leeming  <leeming@lyx.org>
6500
6501         * Makefile.am: remove special casing for configure-time setting of
6502         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6503
6504         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6505         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6506
6507 2003-07-26  André Pönitz  <poenitz@gmx.net>
6508
6509         * paragraph_func.[Ch]:
6510         * paragraph.C (realizeFont): inline it whereever it is used
6511
6512         * rowpainter.C:
6513         * text.C:
6514         * text2.C:
6515         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6516
6517
6518 2003-07-26  André Pönitz  <poenitz@gmx.net>
6519
6520         *       lyxtext.h:
6521         * text.C:
6522         * text2.C: get rid of LyXText::need_break_row
6523
6524 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6525
6526         * toc.[Ch]: put namespace toc inside namespace lyx
6527
6528         * MenuBackend.C (expandToc2): adjust for lyx::toc
6529         (expandToc): ditto
6530
6531         * lyxfunc.C (dispatch): adjust for lyx::find
6532
6533         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6534         lyx::find instead. Reorganize a bit.
6535         (LyXReplace): rename to replace
6536         (LyXFind): rename to find
6537
6538         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6539         (dispatch): ditto
6540
6541 2003-07-26  André Pönitz  <poenitz@gmx.net>
6542
6543         * text.C (setHeightOfRow): restrict scope of temporary variable
6544
6545         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6546           code (never has been used?)
6547
6548 2003-07-27  Asger Alstrup  <alstrup@local>
6549
6550         * text.C (fill): Optimise algorithm to exploit that we can reuse
6551         the LyXFont for many characters.
6552         (setHeightOfRow): Same thing.
6553         (rowBreakPoint): Same thing.
6554
6555 2003-07-26  Asger Alstrup  <alstrup@local>
6556
6557         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6558
6559         * text.C (singleWidth): Spurious font copying in hot-spot
6560         singleWidth avoided. Reorder tests for arabic for efficiency.
6561
6562         * text.C (fill): handle empty paragraphs better.
6563
6564 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6565
6566         * ispell.C:
6567         * encoding.h: add includes
6568
6569         * lyxrc.C: remove reading of bind files
6570
6571         * lyx_main.C (init): setup bindings and menus only if we have a
6572         gui.
6573
6574         * kbmap.C (read): new method. Do the actual reading of bind
6575         files.
6576
6577         * converter.C (dvipdfm_options):
6578         * bufferparams.C:
6579         * lyxrc.C (read):
6580         (output): adapt PAPER_* enums.
6581
6582         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6583
6584         * bufferparams.h: remove paper-related enums from there
6585
6586         * paper.h: New file. A trivial header file to hold paper-related
6587         enums. It should later expand to contain many paper-related
6588         horrors access.
6589
6590         * lyxrc.C: declare extern displayTranslator
6591
6592 2003-07-27  José Matos  <jamatos@fep.up.pt>
6593
6594         * tabular.[Ch] (linuxdoc): add support for tables and figures
6595         (linuxdoc).
6596
6597 2003-07-27  José Matos  <jamatos@fep.up.pt>
6598
6599         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6600         consistency in both functions.
6601         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6602
6603 2003-07-26  Asger Alstrup  <alstrup@local>
6604
6605         * rowpainter.C (paintRows): Change algorithm to work directly on
6606         the insets rather than asking every character in the document
6607         whether its an inset.
6608
6609 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6610
6611         * buffer.C (openFileWrite): factorize some code
6612
6613 2003-07-26  Angus Leeming  <leeming@lyx.org>
6614
6615         * lyx_cb.C:
6616         * lyx_main.[Ch]: replace occurances of system_tempdir with
6617         os::getTmpDir().
6618
6619 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6620
6621         * rename Inset to InsetOld
6622
6623 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6624
6625         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6626         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6627         which I think is a bit clearer. EDIT is gone, since it was
6628         premature optimisation, and broken for mathed anyway.
6629         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6630         with cursor positioning in insets as well (math insets still do not
6631         work, but that's a different story anyway.) It mysteriously
6632         crashes sometimes with undo in the first paragraph, but I'm fairly
6633         confident that this is a compiler bug.
6634
6635 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6636
6637         * paragraph.C (Paragraph): adjust for new clone return type
6638         (operator==): ditto
6639         (copyIntoMinibuffer): ditto
6640
6641 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6642
6643         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6644         by not having a special case, and always doing a full rebreak of
6645         the document after undo.
6646
6647 2003-07-23  Angus Leeming  <leeming@lyx.org>
6648
6649         * factory.C (createInset): InsetExternal::setParams now takes a
6650         Buffer const * arg.
6651
6652 2003-07-23  Angus Leeming  <leeming@lyx.org>
6653
6654         * factory.C (createInset): changed interface to the external and
6655         graphics mailers' string2params functions.
6656
6657 2003-07-23  Angus Leeming  <leeming@lyx.org>
6658
6659         * factory.C (createInset): pass a
6660         Buffer const * parameter to InsetExternalMailer's string2params.
6661
6662 2003-07-22  John Levon  <levon@movementarian.org>
6663
6664         * Thesaurus.h: include the right aiksaurus header
6665
6666 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6667
6668         * MenuBackend.C (expand): check menu shortcuts unconditionally
6669
6670 2003-07-21  Angus Leeming  <leeming@lyx.org>
6671
6672         * factory.C (createInset): pass a
6673         buffer_path parameter to InsetGraphicsMailer's string2params.
6674
6675 2003-07-21  Angus Leeming  <leeming@lyx.org>
6676
6677         * BufferView_pimpl.C (buffer):
6678         * buffer.C (d-tor):
6679         * lyx_main.C (LyX):
6680         * lyxfunc.C (dispatch):
6681         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6682         rather than the grfx shortcut.
6683
6684 2003-07-21  André Pönitz  <poenitz@gmx.net>
6685
6686         * rowpainter.C: remove unused variables
6687
6688         * tabular_funcs.C:
6689         * tabular_funcs.h: move to tabular.C
6690         * Makefile.am: adjust
6691
6692         * tabular.[Ch]: basic optical cleaning
6693
6694         * author.h: pass references, not values
6695
6696 2003-07-18  André Pönitz  <poenitz@gmx.net>
6697
6698         * lyxtext.h:
6699         * metricsinfo.C:
6700         * metricsinfo.h:
6701         * rowpainter.C:
6702         * text.C:
6703         * text2.C:
6704         * text3.C: two-phase drawing for InsetText and InsetTabular
6705         some float -> int changes.
6706
6707 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6708
6709         * lyx_main.C: fix the fix
6710
6711 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6712
6713         * lyx_main.C: fix a crash in batch mode if no files specified
6714         * converter.C: ws
6715
6716 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6717
6718         * format.[Ch] (papersize): moved to BufferParams
6719         * converter.[Ch] (dvips_options): moved to BufferParams
6720         (dvipdfm_options): moved to anon namespace
6721         * bufferparams.[Ch]: added above functions.
6722
6723 2003-07-17  André Pönitz  <poenitz@gmx.net>
6724
6725         * lyxtext.h:
6726         * rowpainter.C:
6727         * text2.C: don't call inset->update() anymore
6728
6729         * metricsinfo.[Ch]: add convenience constructor
6730
6731 2003-07-16  André Pönitz  <poenitz@gmx.net>
6732
6733         * lyxcursor.[Ch]:
6734         * lyxfunc.[Ch]:
6735         * text.C:
6736         * text2.C: replace the LyXCursor::irow_ member with
6737          on-demand computation of the value
6738
6739 2003-07-16  John Levon  <levon@movementarian.org>
6740
6741         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6742
6743 2003-07-15  André Pönitz  <poenitz@gmx.net>
6744
6745         * text.C:
6746         * text2.C: remove no more needed refresh_row
6747
6748 2003-07-15  André Pönitz  <poenitz@gmx.net>
6749
6750         * lyxtext.h:
6751         * rowpainter.C:
6752         * text2.C:
6753         * text3.C: refresh_status tristate -> need_update bool
6754
6755 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6756
6757         * lyxtext.h (init): remove reinit argument (act as if always true)
6758         * text2.C: adjust to that
6759
6760 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6761
6762         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6763         * text3.C: use it to delete selections in some cases
6764         (bugs 441, 673, 702, 954).
6765
6766 2003-07-14  André Pönitz  <poenitz@gmx.net>
6767
6768         * rowpainter.[Ch]: reduce interface
6769
6770 2003-07-14  André Pönitz  <poenitz@gmx.net>
6771
6772         * BufferView_pimpl.C:
6773         * text2.C: adjust after removing unused BufferView * argument
6774
6775 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6776
6777         * text2.C (init): fix a crash fired on resize
6778
6779 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6780
6781         * buffer.[Ch]: added new closing signal
6782         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6783         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6784         BufferView::Pimpl via the closing the signal
6785
6786 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6787
6788         * buffer.[Ch]: take out all bv-related from buffer
6789         * BufferView.C:
6790         * BufferView_pimpl.[Ch]: connect to new signals
6791         * CutAndPaste.C: removed useless asserts
6792         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6793         * lyxvc.[Ch]:
6794         * vc-backend.[Ch]:
6795         * lyxfunc.C: moved view-related funciontality from vc here
6796         * paragraph.C: removed outdated comments
6797         * text.C: ws
6798
6799 2003-07-10  André Pönitz  <poenitz@gmx.net>
6800
6801         * BufferView_pimpl.C:
6802         * tabular.h:
6803         * tabular_funcs.C:
6804         * text.C:
6805         * text2.C: remove InsetText::InnerCache, clean up consequences
6806
6807 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6808
6809         * ispell.C: fix two typos in error messages
6810
6811 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6812
6813         * Extend Note inset to other forms of annotation like Comment
6814         and Greyedout. Right button click gives dialog.
6815
6816         Files modified or added (+):
6817
6818         * insetnote.[Ch]
6819         * FormNote.[Ch]      +
6820         * ControlNote.[Ch]   +
6821         * form_note.fd       +
6822         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6823         frontends/controllers
6824         * xforms/Dialogs.C
6825         * factory.C
6826
6827 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6828
6829         * aspell.C: add missing namespace lyx::support
6830
6831 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6832
6833         * BufferView.[Ch] (newFile): Add
6834         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6835         * LaTeX.[Ch] (message): added this signal and use it
6836         * buffer.[Ch] (busy, message): added these signals and use them
6837         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6838         * converter.C:
6839         * exporter.C:
6840         * format.C:
6841         * importer.C: use buffer signals instead of direct bv calling
6842         * lyx_cb.[Ch] (ShowMessage): removed
6843         * lyx_main.C:
6844         * lyxfunc.C:
6845         * paragraph_funcs.C:
6846         * text2.C: use buffer signals
6847
6848 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * introduce namespace lyx::graphics
6851
6852 2003-07-02  André Pönitz  <poenitz@gmx.net>
6853
6854         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6855
6856 2003-07-01  André Pönitz  <poenitz@gmx.net>
6857
6858         * text.C:
6859         * text2.C:
6860         * text3.C:
6861         * text_funcs.[Ch]:
6862         * textcursor.h:
6863         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6864           text*.C to text_func.C
6865
6866 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * introduce namespace lyx::support
6869
6870 2003-06-30  André Pönitz  <poenitz@gmx.net>
6871
6872         * Chktex.C:
6873         * funcrequest.C:
6874         * lyxtext.h:
6875         * text.C: re-enable --with-included-string
6876
6877 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6878
6879         * textcursor.C: add <config.h>
6880
6881         * text.C (getWord): remove const from word_location arg
6882
6883         * lyxvc.C (getLogFile): fix const type order
6884
6885         * lyxtext.h: remove const from word_location arg, add arg name
6886
6887         * lyxlayout.h: currect type on labeltype.
6888
6889         * importer.C: correct \file
6890
6891         * converter.C (intToFormat): use std:: on ret val, ws changes
6892
6893         * bufferlist.h: correct \file
6894
6895         * buffer.C (makeLinuxDocFile): fix const type order
6896         (makeDocBookFile): ditto
6897         (fillWithBibKeys): use std:: on stdlib args.
6898
6899         * CutAndPaste.C: fix authors.
6900         (availableSelections): use std:: on return vector
6901
6902 2003-06-27  André Pönitz  <poenitz@gmx.net>
6903
6904         * BufferView_pimpl.C:
6905         * bufferview_funcs.C:
6906         * lyxcursor.C:
6907         * lyxcursor.h:
6908         * lyxfunc.C:
6909         * lyxtext.h:
6910         * rowpainter.C:
6911         * text.C:
6912         * text2.C:
6913         * text3.C: remove LyXCursor::row_ member
6914
6915         * lyxtext.h:
6916         * text.C: rename fullRebreak() to partialRebreak() and implement
6917           a fullRebreak() that really bereks fully
6918
6919         * textcursor.h: new struct for cursor-related data
6920
6921 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6922
6923         * lyx_main.C (LyX): get full path of document loaded on the
6924         command line
6925
6926 2003-06-26  André Pönitz  <poenitz@gmx.net>
6927
6928         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6929           remove unused/broken operator>,<,>=.
6930
6931         *       text.C: remove only use of broken operator<= in an Assert().
6932
6933 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6934
6935         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6936         moved errorlist_.clear to showErrorList
6937
6938 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6939
6940         * converter.C (scanLog, runLaTeX):
6941         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6942         move the bv->showErrorList call to the callers
6943         * lyxfunc.C: i.e. here...
6944         * text2.C: and here
6945         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6946         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6947         namespace, the second to...
6948         * buffer_funcs (BufferFormat, parseErrors): added
6949         * errorlist.C (ErrorList(TeXErrors const &)): removed
6950
6951 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6952
6953         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6954
6955 2003-06-24  "Garst R. Reese" <reese@isn.net>
6956
6957         * debug.C: fix typo
6958
6959 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6960
6961         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6962
6963         * version.C.in: change docversion to 1.4
6964
6965 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6966
6967         * buffer.C: fix a bug just introduced
6968
6969 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6970
6971         * buffer.[Ch]: added the parseError signal and use it, removed
6972         sgmlError
6973         * BufferView.[Ch] (addError): moved to ...
6974         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6975         to the Buffer::parseError signal to catch (guess what) parse errors
6976         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6977
6978 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6979
6980         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6981         ability to create a buffer and to return an existing one from
6982         the list. Moved these functions to...
6983         * buffer_funcs.[Ch]: added
6984         * BufferView.[Ch] (loadLyXFile): added
6985         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6986         job removed from bufferlist::loadLyXFile.
6987         * buffer.C (setReadOnly): make it work without view
6988         (i.e added an if (users))
6989
6990 2003-06-19  Angus Leeming  <leeming@lyx.org>
6991
6992         * lfuns.h:
6993         * LyXAction.C (init):
6994         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6995         with LFUN_DIALOG_SHOW <name> <data>.
6996
6997 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6998
6999         * CutAndPaste.C (availableSelections): small compilation fix for
7000         ancient (gcc 2.9x) compilers
7001
7002 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7003
7004         * text3.C (cursorNext): add tmp var
7005
7006         * text2.C (updateCounters): for function calling out of for clause
7007         (replaceSelectionWithString): ditto
7008         (insertStringAsParagraphs): ditto
7009         (getColumnNearX): add tmp var
7010         (setCursorFromCoordinates): add tmp var
7011         (cursorDownParagraph): add tmp var
7012         (deleteEmptyParagraphMechanism): add tmp var
7013
7014         * text.C (insertChar): add tmp var
7015
7016         * rowpainter.C (paintDepthBar): add tmp var
7017
7018         * CutAndPaste.C (availableSelections): potentially check all
7019         paragraphs in a cut to fill the shown strings.
7020
7021 2003-06-18  André Pönitz  <poenitz@gmx.net>
7022
7023         * kbmap.[Ch]: use vector<> instead of list<>
7024
7025 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7026
7027         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7028         pasteSelection with index
7029
7030         * text2.C (pasteSelection): modify, call pasteSelection with index
7031
7032         * paragraph.C (asString): reimplement version with no interval to
7033         call the one with interval.
7034
7035         * lyxtext.h: add index arg to pasteSelection
7036
7037         * MenuBackend.C (MenuItem): handle PasteRecent
7038         (Menu::read::Menutags): add md_pasterecent
7039         (read): handle it
7040         (expandPasteRecent): new function
7041         (expand): use it
7042
7043         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7044
7045         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7046         the limited stack
7047         (availableSelections): new function
7048
7049 2003-06-17  Angus Leeming  <leeming@lyx.org>
7050
7051         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7052
7053 2003-06-17  Angus Leeming  <leeming@lyx.org>
7054
7055         * lfuns.h:
7056         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7057
7058         * lyxfunc.C (dispatch): invoke it.
7059
7060 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7061
7062         * iterators.C (operator++, ParPosition): reintroduce some
7063         const_cast for the benefit of older compilers.
7064
7065 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7066
7067         * text3.C (dispatch): do not modify clipboard when doing
7068         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7069         LFUN_DELETE_SKIP on a selection selection
7070
7071 2003-06-16  André Pönitz  <poenitz@gmx.net>
7072
7073         * BufferView.C:
7074         * buffer.C:
7075         * buffer.h:
7076         * paragraph.C:
7077         * tabular.[Ch]: IU of clone() and getLabelList();
7078
7079 2003-06-13  André Pönitz  <poenitz@gmx.net>
7080
7081         * tabular.h: compactification
7082
7083 2003-06-12  André Pönitz  <poenitz@gmx.net>
7084
7085         * tabular.C:
7086         * tabular.h:
7087         * tabular_funcs.h: some renaming plus whitespace
7088
7089 2003-06-12  André Pönitz  <poenitz@gmx.net>
7090
7091         * BufferView.C:
7092         * BufferView_pimpl.C:
7093         * CutAndPaste.C:
7094         * buffer.C:
7095         * iterators.[Ch]:
7096         * lyxfunc.C:
7097         * text.C:
7098         * toc.C: Return a Paragraph & for ParIterator::operator*()
7099
7100 2003-06-11  John Levon  <levon@movementarian.org>
7101
7102         * lyx_main.C:
7103         * ToolbarBackend.h:
7104         * ToolbarBackend.C: add "Toolbars" section and
7105         put the flags there
7106
7107 2003-06-10  Angus Leeming  <leeming@lyx.org>
7108
7109         * lfuns.h:
7110         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7111
7112         * lyxfunc.C (dispatch): invoke it.
7113
7114 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * main.C: protect <ios> with HAVE_IOS
7117         (main): protect sync_with_stdio with HAVE_IOS
7118
7119 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7120
7121         * text2.C (cutSelection): adjust
7122         (pasteSelection): adjust
7123
7124         * messages.C: handle get of empty string
7125
7126         * main.C (main): use sync_with_stdio(false)
7127
7128         * lyxfunc.C (dispatch): adjust
7129
7130         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7131         (WriteAs): remove unneeded BufferView arg.
7132
7133         * bufferparams.h: use correct types on papersize, papersize2 and
7134         paperpackage.
7135
7136         * bufferparams.C (readToken): adjust for type
7137         (writeLaTeX): add missing cases to switch.
7138
7139         * bufferlist.C (quitWriteBuffer): adjust
7140         (close): adjust
7141
7142         * buffer.C (asciiParagraph): remove some commented code.
7143
7144         * CutAndPaste.C: remove current_view extern variable.
7145         (cutSelection): add BufferParams arg.
7146         (eraseSelection): add BufferParams arg.
7147         (pasteSelection): add Buffer const & arg
7148
7149 2003-06-07  John Levon  <levon@movementarian.org>
7150
7151         * buffer.C:
7152         * paragraph_funcs.C:
7153         * paragraph_pimpl.C:
7154         * text.C:
7155         * text2.C:
7156         * paragraph.h:
7157         * paragraph.C: allow InsetERT to freely space lines,
7158         and some consolidation of code
7159
7160 2003-06-06  José Matos  <jamatos@fep.up.pt>
7161
7162         * buffer.C (makeDocBookFile): fix bug #821
7163
7164 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7165
7166         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7167
7168 2003-06-04  Angus Leeming  <leeming@lyx.org>
7169
7170         * buffer.C: bump format to 224.
7171
7172 2003-06-05  André Pönitz  <poenitz@gmx.net>
7173
7174         * text2.C (redoParagraphs): remove two const_cast<>
7175
7176 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7177
7178         * ParagraphList.h: remove last remnants of NO_STD_LIST
7179
7180 2003-06-03  Angus Leeming  <leeming@lyx.org>
7181
7182         * factory.C (createInset): small change to the way InsetExternal's params
7183         are set.
7184
7185 2003-06-04  André Pönitz  <poenitz@gmx.net>
7186
7187         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7188
7189         * paragraph_pimpl.h:
7190         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7191
7192         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7193
7194         * undo_funcs.C: make some simple cases of undo work again
7195
7196 2003-06-03  John Levon  <levon@movementarian.org>
7197
7198         * ispell.C: HPUX doesn't have sys/select.h
7199         (from Albert Chin)
7200
7201 2003-06-03  John Levon  <levon@movementarian.org>
7202
7203         * CutAndPaste.C: update tabular and include inset
7204         buffer references
7205
7206         * buffer.h:
7207         * paragraph.h:
7208         * paragraph.C: remove owningBuffer(), don't pass Buffer
7209         to clone()
7210
7211         * factory.C: insetGraphicsParams changed
7212
7213 2003-06-02  John Levon  <levon@movementarian.org>
7214
7215         * LyXAction.C:
7216         * factory.C:
7217         * lfuns.h:
7218         * lyxfunc.C:
7219         * text3.C: remove insetparent
7220
7221 2003-06-02  John Levon  <levon@movementarian.org>
7222
7223         * buffer.h:
7224         * buffer.C: fix inset_iterator.end(), move out of line
7225         (bug 1149)
7226
7227 2003-06-01  John Levon  <levon@movementarian.org>
7228
7229         * text3.C: use a proper cut/paste when doing inset
7230         insert (from Jürgen Spitzmüller)
7231
7232 2003-06-01  John Levon  <levon@movementarian.org>
7233
7234         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7235
7236 2003-05-30  André Pönitz  <poenitz@gmx.net>
7237
7238         * rowpainter.C: unify second drawing phase
7239
7240 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7241
7242         * trans_mgr.C: remove one case of current_view
7243
7244         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7245
7246         * paragraph_funcs.h: remove paragraph.h include
7247
7248         * paragraph.h: delete NO_STD_LIST stuff
7249
7250         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7251
7252         * buffer.h: remove paragraph.h include
7253
7254         * ParagraphList.C: delete file
7255
7256         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7257
7258         * toc.C (getTocList): adjust
7259
7260         * paragraph_pimpl.C (validate): adjust
7261
7262         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7263
7264         * paragraph.C (Paragraph): adjust
7265         (getPositionOfInset): use const_iterator, adjust
7266         (bibitem): use const_iterator, adjust
7267         (setInsetOwner): adjust
7268
7269         * iterators.C (operator++): adjust
7270
7271         * InsetList.[Ch]: Replace selfmade iterator with standard
7272         vector::iterator also introduce const_iterator. Remove getPos,
7273         getInset and setInset from InsetTable. Adjust accordingly.
7274
7275         * BufferView.C (lockInset): adjust
7276         (ChangeInsets): adjust
7277
7278         * tabular.[Ch]: delete commented same_id functions
7279
7280 2003-05-28  John Levon  <levon@movementarian.org>
7281
7282         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7283
7284 2003-05-28  André Pönitz  <poenitz@gmx.net>
7285
7286         * metricsinfo.[Ch]: remove 'fullredraw' member
7287
7288 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7289
7290         * lyxtextclass.C (operator): remove caching.
7291
7292 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7293
7294         * text3.C: adjust
7295
7296         * text2.C (cursorBottom): adjust
7297         (setCounter): use ParagraphList::find, adjust
7298
7299         * text.C (workWidth): use ParagraphList::find, adjust
7300
7301         * lyxcursor.C (LyXCursor): adjust
7302
7303         * buffer.C (inset_iterator): adjust
7304
7305         * ParagraphList.h: make iterator(value_type) private, make
7306         ParagraphList a friend of iterator.
7307
7308         * ParagraphList.C (find): new function
7309
7310         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7311
7312 2003-05-27  André Pönitz  <poenitz@gmx.net>
7313
7314         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7315
7316 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7317
7318         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7319
7320 2003-05-26  John Levon  <levon@movementarian.org>
7321
7322         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7323
7324 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7325
7326         * remove same_id from function signatures, adjust.
7327
7328 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7329
7330         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7331
7332         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7333
7334         * paragraph.C (Paragraph): get rid of same_ids parameter
7335
7336         * ParagraphList.C (insert): adjust
7337         (push_back): adjust
7338
7339 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7340
7341         * paragraph_funcs.C (breakParagraph): adjust
7342         (breakParagraphConservative): adjust
7343
7344         * buffer.C (readParagraph): adjust
7345
7346         * ParagraphList.C (insert): take a reference instead of a pointer
7347         (insert): adjust
7348
7349         * paragraph.[Ch] (id): new function
7350
7351         * bufferlist.C (newFile): adjust
7352
7353         * ParagraphList.C (ParagraphList): adjust
7354         (assign): adjust
7355         (push_back): take a reference instead of a pointer.
7356
7357         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7358
7359         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7360         instead.
7361
7362         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7363         set else use old code.
7364
7365         * ParagraphList.C: remove all NO_NEXT code and only compile this
7366         code of NO_STD_LIST is set.
7367
7368 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7369
7370         * BufferView_pimpl.C:
7371         * TextCache.C:
7372         * TextCache.h:
7373         * bufferlist.C:
7374         * errorlist.h:
7375         * format.C:
7376         * format.h:
7377         * graph.C:
7378         * lyxfunc.C:
7379         * lyxrc.C:
7380         * graphics/GraphicsConverter.C:
7381         * graphics/PreviewLoader.C: header adjustment
7382
7383 2003-05-23  Angus Leeming  <leeming@lyx.org>
7384
7385         * LaTeXFeatures.[Ch] (useBabel): new method.
7386         * bufferparams.C (writeLaTeX): use it.
7387
7388 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7389
7390         * ParagraphList.h (set): remove unused function.
7391
7392 2003-05-23  André Pönitz  <poenitz@gmx.net>
7393
7394         * BufferView.C:
7395         * BufferView_pimpl.C:
7396         * buffer.C:
7397         * buffer.h:
7398         * lyxfunc.C:
7399         * undo_funcs.C: setUndo reworked
7400
7401         * iterators.[Ch]: add access to topmost ParagraphList
7402
7403         * lyxtext.[Ch] (workWidth): add a const
7404
7405 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7406
7407         * texrow.[Ch] (increasePos): remove function
7408         * exporter.C (export): removed unused var and outdated comment
7409
7410 2003-05-23  Angus Leeming  <leeming@lyx.org>
7411
7412         * latexrunparams.h: rename fragile as moving_arg.
7413         * paragraph.C (simpleTeXOnePar): ditto.
7414         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7415
7416 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7417
7418         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7419         (createUndo): ditto
7420         (textUndoOrRedo): comment out a currently unused var.
7421
7422         * paragraph.h (NO_NEXT): enable NO_NEXT
7423
7424         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7425
7426         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7427
7428         * exporter.C (Export): adjust for removeAutoInsets removal.
7429
7430         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7431
7432         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7433
7434         * BufferView.[Ch] (removeAutoInsets): delete function
7435
7436 2003-05-22  Angus Leeming  <leeming@lyx.org>
7437
7438         * latexrunparams.h: add a free_spacing variable.
7439
7440         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7441         to pass moving_arg, as the data is stored in runparams.fragile.
7442
7443         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7444         to Inset::latexOptional or to simpleTeXOnePar.
7445
7446         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7447         free_spacing arg to Inset::latexOptional.
7448
7449         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7450         free_spacing arg.
7451
7452 2003-05-22  Angus Leeming  <leeming@lyx.org>
7453
7454         * latexrunparams.h: add fragile and use_babel variables.
7455
7456         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7457         * buffer.C (makeLaTeXFile): store this returned value in
7458         runparams.use_babel, thus passing it to the inset::latex methods.
7459
7460         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7461         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7462
7463         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7464         longer has a fragile arg, as it is stored in runparams.fragile.
7465
7466         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7467         moving_arg parameter as the data is stored in runparams.fragile.
7468
7469         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7470         a fragile parameter as the data is stored in runparams.fragile.
7471
7472 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7473
7474         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7475
7476 2003-05-22  Angus Leeming  <leeming@lyx.org>
7477
7478         * latexrunparams.h: add a 'bool nice' which defaults to false.
7479
7480         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7481         now encapsulated within runparams.
7482
7483         * bufferlist.C (updateIncludedTeXfiles):
7484         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7485
7486 2003-05-22  Angus Leeming  <leeming@lyx.org>
7487
7488         * latexrunparams.h: new file containing struct LatexRunParams.
7489         * Makefile.am: add new file.
7490
7491         * LaTeX.[Ch] (c-tor, run):
7492         * buffer.[Ch] (makeLaTeXFile):
7493         * bufferlist.[Ch] (updateIncludedTeXfiles):
7494         * converter.C (convert, scanLog):
7495         * converter.[Ch] (runLaTeX):
7496         * exporter.C (Export):
7497         * paragraph.[Ch] (simpleTeXOnePar):
7498         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7499         * paragraph_funcs.[Ch] (latexParagraphs):
7500         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7501         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7502         pass around a LatexRunParams parameter.
7503
7504 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * paragraph.[Ch]: remove unused constructor
7507
7508         * ParagraphList.C (erase): new function, taking two iterators
7509
7510 2003-05-22  André Pönitz  <poenitz@gmx.net>
7511
7512         * undo_funcs.C: remove duplicated code
7513
7514         * iterator.[Ch]: operator=
7515
7516 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * tabular.C (SetMultiColumn): ws changes
7519
7520         * rowpainter.C (paintFirst): get rid of a ->previous
7521
7522         * lyx_cb.C (getPossibleLabel): parlist simplification
7523
7524         * BufferView.C (ChangeInsets): simplify slightly.
7525
7526 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7527
7528         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7529         * lfuns.h: new LFUN_SPACE
7530         * lyxfunc.C: protected space has a new lfun
7531         * paragraph_funcs.C: read new space insets
7532         * text3.C:
7533         * factory.C: handle new space insets
7534
7535 2003-05-22  André Pönitz  <poenitz@gmx.net>
7536
7537         * BufferView.C:
7538         * BufferView_pimpl.C:
7539         * buffer.[Ch]:
7540         * lyxfunc.C:
7541         * undo_funcs.C: return a ParIterator from getParFromID.
7542
7543         * iterators.[Ch]: add two const's
7544
7545 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * toc.C (getTocList): adjust
7548
7549         * iterators.[Ch]: rework for parlist
7550
7551         * buffer.C (par_iterator_begin): adjust
7552         (par_iterator_end): adjust
7553
7554         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7555
7556         * BufferView.C (removeAutoInsets): adjust
7557         (ChangeInsets): adjust
7558
7559 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7560
7561         * text.C (top_y): fix bug 1110
7562
7563 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7564
7565         * errorlist.[Ch]: added
7566         * buffer.C:
7567         * BufferView.[Ch]:
7568         * BufferView_pimpl.C:
7569         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7570         instead
7571
7572 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * Makefile.am: ensure that lyx is relinked upon changes to the
7575         various "convenience" libs.
7576
7577 2003-05-20  Angus Leeming  <leeming@lyx.org>
7578
7579         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7580         files are compiled in alphabetical order again.
7581
7582         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7583
7584 2003-05-19  Angus Leeming  <leeming@lyx.org>
7585
7586         * gettext.[Ch]: remove "char const * _(char const *)".
7587
7588 2003-05-19  André Pönitz  <poenitz@gmx.net>
7589
7590         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7591
7592         * Makefile.am:
7593         * BufferView.C:
7594         * DepTable.h:
7595         * LaTeXFeatures.C:
7596         * buffer.C:
7597         * lyxfont.C:
7598         * lyxlex.h:
7599         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7600
7601 2003-05-19  André Pönitz  <poenitz@gmx.net>
7602
7603         * buffer.C:
7604         * lyxlayout.[Ch]:
7605         * lyxtextclass.[Ch]:
7606         * paragraph.C:
7607         * paragraph_funcs.[Ch]:
7608         * text2.C:
7609         * text3.C: more insetenv work
7610
7611 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7612
7613         * ParagraphParameters.C (params2string): small bug fixed
7614
7615 2003-05-16  André Pönitz  <poenitz@gmx.net>
7616
7617         * debug.C:
7618         * bufferview_funcs.C: patch from Kornel Benko to prevent
7619           crash when _(...) is called twice in a statement
7620
7621 2003-05-16  André Pönitz  <poenitz@gmx.net>
7622
7623         * BufferView.C:
7624         * lyxfunc.C:
7625         * text.C:
7626         * text2.C:
7627         * text3.C:
7628         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7629
7630 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7631
7632         * lyx_main.C (init): remove spurious static_cast
7633
7634 2003-05-14  André Pönitz  <poenitz@gmx.net>
7635
7636         * BufferView.C: fix format string
7637
7638 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7639
7640         * BufferView.[Ch] (insertErrors): removed
7641         * BufferView.[Ch] (showErrorList): added
7642         * buffer.C (runChkTeX):
7643         * converter.C (scanLog): call showErrorList instead of inserterrors
7644
7645 2003-05-13  André Pönitz  <poenitz@gmx.net>
7646
7647         * BufferView_pimpl.C:
7648         * buffer.C:
7649         * bufferview_func.C:
7650         * MenuBackend.C:
7651         * lyxfunc.C:
7652         * lyxrc.C:
7653         * tex-accent.C:
7654         * text3.C:
7655         * toc.C:
7656         * tabular_funcs.h: tostr() from its own header
7657
7658         * ParagraphParameters.C:
7659         * ToolbarBackend.C:
7660         * bufferparams.C:
7661         * format.C:
7662         * lyxlex_pimpl.C:
7663         * text3.C: STRCONV()
7664
7665 2003-05-12  André Pönitz  <poenitz@gmx.net>
7666
7667         * BufferView.C:
7668         * BufferView_pimpl.C:
7669         * CutAndPaste.C:
7670         * LaTeX.C:
7671         * LaTeXFeatures.C:
7672         * ParagraphParameters.C:
7673         * buffer.C:
7674         * bufferlist.C:
7675         * bufferparams.C:
7676         * bufferview_funcs.C:
7677         * converter.C:
7678         * counters.C:
7679         * debug.C:
7680         * exporter.C:
7681         * format.C:
7682         * importer.C:
7683         * lyx_cb.C:
7684         * lyx_main.C:
7685         * lyxfont.C:
7686         * lyxfunc.C:
7687         * lyxvc.C:
7688         * paragraph.C:
7689         * paragraph_funcs.C:
7690         * tabular.C:
7691         * tabular_funcs.C:
7692         * text2.C:
7693         * text3.C:  boost::format -> bformat  all over the place
7694
7695
7696 2003-05-09  André Pönitz  <poenitz@gmx.net>
7697
7698         * LColor.[Ch]: Pimpl the #include <map> away
7699
7700 2003-05-09  John Levon  <levon@movementarian.org>
7701
7702         * bufferlist.C: never remove emergency saves
7703
7704 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * Makefile.am: better lib building
7707
7708 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7711         instead.
7712         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7713         (simpleTeXSpecialChars): adjust
7714         (simpleTeXSpecialChars): adjust
7715         * paragraph.C (simpleTeXOnePar): adjust
7716         * buffer.C (makeLaTeXFile): adjust
7717
7718         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7719
7720         * text2.C (changeDepth): parlist cleanup
7721         (getColumnNearX): ditto
7722
7723         * rowpainter.C (getLabelFont): parlist cleanup
7724
7725         * bufferlist.C (newFile): parlist cleanup
7726
7727         * CutAndPaste.C (eraseSelection): parlist cleanup
7728
7729         * BufferView_pimpl.C (trackChanges): parlist cleanup
7730         (dispatch): ditto
7731
7732         * BufferView.C (lockInset): parlist cleanup.
7733         (ChangeInsets): ditto
7734
7735 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * CutAndPaste.h: Update file header.
7738
7739         * CutAndPaste.C: Update file header.
7740         Store the parts cut out of the Document in a limited_stack.
7741         (copySelection): adjust
7742         (pasteSelection): new function, takes the index in the limited stack.
7743         (nrOfParagraphs): adjust
7744         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7745         simplify error inset insertion.
7746         (checkPastePossible): adjust
7747
7748 2003-05-06  John Levon  <levon@movementarian.org>
7749
7750         * text2.C: don't cast wrap inset to float
7751
7752 2003-05-05  André Pönitz  <poenitz@gmx.net>
7753
7754         * iterator.C:
7755         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7756
7757         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7758           few naked Paragraph *.
7759
7760 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7761
7762         * bufferparams.C: Output warning if a document with missing
7763         TeX document class is loaded
7764         * exporter.C: Disable TeX exports if the document class is missing
7765         * lyxtextclass.C:
7766         * lyxtextclass.h:
7767         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7768         isTeXClassAvailable()
7769
7770 2003-05-03  John Levon  <levon@movementarian.org>
7771
7772         * BufferView.h:
7773         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7774         explicit cursor show/hide
7775
7776         * BufferView_pimpl.h:
7777         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7778         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7779
7780         * lyxfunc.C: hide cursor before dispatching.
7781
7782         * lyx_cb.C:
7783         * lyxfind.C:
7784         * text.C:
7785         * text3.C: remove explicit cursor hides
7786
7787 2003-05-02  André Pönitz  <poenitz@gmx.net>
7788
7789         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7790
7791         * undo_funcs.C:
7792         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7793           linked lists
7794
7795         * text2.C: tiny whitespace
7796
7797 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7798
7799         * undo_funcs.C: almost only ws changes.
7800
7801         * ParagraphList.C (splice): just return if pl is empty.
7802
7803 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7804
7805         * ParagraphList.C (splice): new function.
7806
7807         * CutAndPaste.C (pasteSelection): use it
7808
7809 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * CutAndPaste.C (pasteSelection): remove the last next and
7812         previous from this file.
7813
7814 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7815
7816         * CutAndPaste.C (pasteSelection): more clean up, user proper
7817         ParagraphList functions for pasteing.
7818
7819         * ParagraphList.C (insert): new function, three arg insert
7820
7821 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * ParagraphList.C (insert): new function, three arg insert
7824
7825         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7826         not on paragraphs.
7827
7828 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7829
7830         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7831
7832 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7833
7834         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7835
7836 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7837
7838         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7839         (copySelection): clean up a bit.
7840         (pasteSelection): use make_pair
7841
7842         * ParagraphList.C (ParagraphList): implement copy constructor
7843         (operator=): implement, base on copy constructor.
7844         (assign): new func
7845
7846         * paragraph.C (erase): return a bool
7847
7848         * paragraph_pimpl.C (erasePos): remove function, move contents...
7849         (erase): ... here. Return a bool.
7850         (erase): call erase instead of erasePos.
7851
7852 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7853
7854         * ParagraphList.h: define PitPosPair
7855         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7856         ParagraphList, fix a bug on pasting multiple pars
7857         * text2.C: change interface to C&P
7858
7859 2003-04-30  André Pönitz  <poenitz@gmx.net>
7860
7861         * undo_func.C: revert part of yesterday's patch 2
7862
7863 2003-04-30  John Levon  <levon@movementarian.org>
7864
7865         * LColor.C: s/tabular/table/
7866
7867 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7868
7869         * text3.C (dispatch): do not convert iterator -> pointer
7870         * undo_funcs.C (setCursorParUndo): ditto
7871         * text_funcs.C (transposeChars): ditto
7872
7873         * text2.C (setLayout): ws changes only
7874
7875         * text.C (breakParagraph): do not convert iterator -> pointer
7876         (insertChar): ditto
7877         (acceptChange): ditto
7878         (rejectChange): ditto
7879         (changeCase): ditto
7880         (Delete): ditto
7881         (backspace): ditto
7882
7883         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7884         pointer
7885
7886 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7887
7888         * text3.C (gotoInset): YABG (yet another bad getChar)
7889
7890 2003-04-29  André Pönitz  <poenitz@gmx.net>
7891
7892         * paragraph.h: make operator= private unimplemented as long as
7893           it is unusable
7894
7895         * ParagraphList.C: whitespace
7896
7897         * paragraph.[Ch]:
7898         * paragraph_pimpl.[Ch]:
7899         * paragraph_funcs.C:
7900         * CutAndPaste.C:
7901         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7902
7903         * text2.C:
7904           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7905
7906 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7907
7908         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7909         * paragraph.[Ch] (erase):
7910         * paragraph_pimpl.[Ch] (erase): change return type and value
7911         * text2.C (cutSelection): some rework
7912
7913 2003-04-28  John Levon  <levon@movementarian.org>
7914
7915         * bufferlist.C: changes for unsaved changes dialog
7916
7917 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7918
7919         * bufferlist.C (newFile): set language (messages_) for new
7920         documents also.
7921
7922         * buffer.C (readFile): ws changes only.
7923
7924 2003-04-28  André Pönitz  <poenitz@gmx.net>
7925
7926         * undo_funcs.C:
7927         * lyxfunc.C:
7928         * buffer.[Ch]:
7929         * BufferView_pimpl.C:
7930         * BufferView.C: getParFromID related ParagraphList::iterator changes
7931
7932 2003-04-28  André Pönitz  <poenitz@gmx.net>
7933
7934         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7935           Changes
7936
7937 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7938
7939         * messages.C: remove one more localedir class variable.
7940
7941 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7942
7943         * messages.C (getLocaleDir): singleton generation function
7944         (Pimpl): use it.
7945         (Messages): add a default constructor.
7946
7947         * main.C (main): do not setup localedir here, do not call
7948         gettext_init.
7949
7950         * gettext.C (_): use it.
7951         (gettext_init): delete funciton
7952
7953 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7954
7955         * gettext.C (getLyXMessages): new singleton generating function.
7956
7957         * buffer.C (updateDocLang): adjust
7958
7959         * Makefile.am (messages.o): add target
7960         (main.o): remove target
7961
7962 2003-04-27  John Levon  <levon@movementarian.org>
7963
7964         * bufferlist.C:
7965         * lyx_cb.C:
7966         * lyxfunc.C:
7967         * lyxvc.C: specify cancel button in Alert::prompt
7968
7969 2003-04-26  John Levon  <levon@movementarian.org>
7970
7971         * text3.C:
7972         * lyxfunc.C:
7973         * lfuns.h:
7974         * LyXAction.C: add LFUN_INSET_SETTINGS
7975
7976         * lyxfunc.C: don't enable tabular-feature when there's
7977         just any locking inset
7978
7979 2003-04-26  John Levon  <levon@movementarian.org>
7980
7981         * bufferlist.C: re-add Cancel to buffer close question
7982
7983         * lyxfunc.C: fix import UI a bit
7984
7985 2003-04-25  John Levon  <levon@movementarian.org>
7986
7987         * gettext.C: remove the broken asserts for now
7988
7989 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7990
7991         * messages.C: make case where setlocale cannot comply work better.
7992
7993         * buffer.C (updateDocLang): new function
7994         (changeLanguage): use it
7995         (readFile): use it
7996
7997         * text2.C (setCounter): use B_ a bit.
7998
7999         * lyxlayout.C (Read): be sure to trim the label strings.
8000
8001         * messages.C (Messages): fix typo in comment
8002
8003         * buffer.C (readFile): set message_ after file is loaded.
8004         (makeDocBookFile): remove double return
8005         (changeLanguage): reset message_ upon language change.
8006         (B_): new func, use this to get translated buffer strings.
8007
8008         * main.C: add myself and Jean Marc as authors.
8009
8010 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8011
8012         * messages.[hC]: pimplify Messages, and three different pimpls to be
8013         used in different circumstances.
8014
8015         * gettext.[Ch]: change for use with new message code.
8016
8017 2003-04-24 André Pönitz <poenitz@gmx.net>
8018
8019         * factory.C: support for eqref
8020
8021 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * messages.[Ch]: add missing char
8024
8025         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8026
8027         * messages.[Ch]: New files
8028
8029 2003-04-18  John Levon  <levon@movementarian.org>
8030
8031         * BufferView.h:
8032         * BufferView.C:
8033         * BufferView_pimpl.C:
8034         * lfuns.h:
8035         * LyXAction.C:
8036         * lyxtext.h:
8037         * text2.C: remove layout-copy/paste (bug 778)
8038
8039 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8040
8041         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8042
8043 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8044
8045         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8046         if they succeed. Act accordingly.
8047
8048 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8049
8050         * text2.C (setCharFont): adjust
8051         (setCounter): adjust
8052         (insertStringAsLines): adjust
8053
8054         * text.C (leftMargin): adjust
8055         (setHeightOfRow): adjust
8056
8057         * rowpainter.C (paintFirst): adjust
8058         (paintLast): adjust
8059
8060         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8061         (outerHook): ditto
8062         (isFirstInSequence): ditto
8063         (getEndLabel): ditto
8064         (outerFont): adjust
8065
8066         * paragraph.C (getParLanguage): comment out some hard stuff.
8067
8068         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8069         (sgmlError): ditto
8070         (simpleDocBookOnePar): ditto
8071         (makeDocBookFile): use ParagraphList::iterator
8072
8073         * CutAndPaste.C (pasteSelection): adjust
8074
8075 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8076
8077         * text2.C (getFont): adjust
8078         (getLayoutFont): adjust
8079         (getLabelFont): adjust
8080
8081         * paragraph_funcs.C (TeXOnePar): adjust
8082
8083         * buffer.C (simpleLinuxDocOnePar): adjust
8084         (simpleDocBookOnePar): adjust
8085
8086         * CutAndPaste.C (pasteSelection): adjust
8087
8088         * BufferView.C (getEncoding): adjust
8089
8090         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8091
8092 2003-04-16  John Levon  <levon@movementarian.org>
8093
8094         * lyxfind.C: use parlist stuff for search/changes
8095
8096 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8097
8098         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8099
8100         * text2.C (deleteEmptyParagraphMechanism): adjust
8101
8102         * text2.[Ch] (ownerParagraph): delete func (both of them
8103
8104 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8105
8106         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8107
8108 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8109
8110         * ParagraphList.C: prepare for NO_NEXT
8111
8112 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8113
8114         * text2.C (getFont): adjust
8115         (getLayoutFont): adjust
8116         (getLabelFont): adjust
8117
8118         * paragraph.C (getFont): adjust
8119         (getLabelFont): adjust
8120         (getLayoutFont): adjust
8121
8122         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8123
8124 2003-04-15  John Levon  <levon@movementarian.org>
8125
8126         From Angus Leeming
8127
8128         * lyx_main.C: handle Include in .ui files
8129
8130 2003-04-15  John Levon  <levon@movementarian.org>
8131
8132         * MenuBackend.C: make the doc files length shorter
8133
8134         * ToolbarBackend.h:
8135         * ToolbarBackend.C: handle toolbar placement flags,
8136         Minibuffer
8137
8138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8141         adjust
8142
8143         * paragraph_funcs.C (TeXOnePar): adjust
8144
8145         * paragraph.C (getLabelFont): add outerfont arg, adjust
8146         (getLayoutFont): ditto
8147         (simpleTeXOnePar): adjust
8148
8149         * paragraph_pimpl.C (realizeFont): delete func
8150
8151 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8152
8153         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8154         row argument, constify cur argument.
8155
8156 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8157
8158         * text2.C (getFont): adjust
8159         (getLayoutFont): adjust
8160         (getLabelFont): adjust
8161
8162         * paragraph_funcs.C (TeXOnePar): adjust
8163         (outerFont): new func...
8164         (realizeFont): ...moved out from here, changed this to facilitate
8165         transition
8166
8167         * paragraph.C (getFont): take outerfont as arg, adjust
8168         (simpleTeXOnePar): add outerfont arg, adjust
8169
8170         * buffer.C (simpleLinuxDocOnePar): adjust
8171         (simpleDocBookOnePar): adjust
8172
8173         * CutAndPaste.C (pasteSelection): adjust
8174
8175         * BufferView.C (getEncoding): adjust
8176
8177 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * text2.C (setCharFont): adjust
8180         (setCounter): adjust
8181
8182         * text.C (leftMargin): adjust
8183         (setHeightOfRow): adjust
8184
8185         * rowpainter.C (paintFirst): adjust
8186         (paintLast): adjust
8187
8188         * paragraph_pimpl.C (realizeFont): adjust
8189
8190         * paragraph.C (isFirstInSequence): move from here...
8191         * paragraph_funcs.C (isFirstInSequence): ...to here
8192
8193         * paragraph.C (outerHook): move from here...
8194         * paragraph_funcs.C (outerHook): ...to here
8195
8196         * paragraph.C (depthHook): move from here...
8197         * paragraph_funcs.C (depthHook): ...to here
8198
8199         * paragraph.C (getEndLabel): move from here...
8200         * paragraph_funcs.C (getEndLabel): ...to here
8201
8202         * text2.C (realizeFont): move from here...
8203         * paragraph_funcs.C (realizeFont): ...to here
8204
8205 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8206
8207         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8208
8209 2003-04-14  Angus Leeming  <leeming@lyx.org>
8210
8211         * LColor.[Ch]: scrap LColor mathcursor.
8212
8213 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * lyxlex.[Ch] (text): delete function
8216         * trans.C (Load): adjust
8217         * paragraph_funcs.C (readParToken): adjust
8218
8219 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8220
8221         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8222         vector<char> instead of a char[].
8223
8224         * lyxlex_pimpl.C (getString): adjust
8225         (next): adjust
8226         (lex): use getString
8227         (eatLine): adjust
8228         (nextToken): adjust
8229
8230         * lyxlex.C (text): use pimpl_->getString()
8231         (getBool): ditto
8232         (findToken): ditto
8233
8234 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8237         (makeFontEntriesLayoutSpecific): temp var for par.size()
8238         (setLayout): temp var for ownerParagraphs().end()
8239         (fullRebreak): temp var for rows().end()
8240         (selectionAsString): temp var for boost::next(startpit), realize
8241         that the while really is a regular for loop.
8242         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8243         setCursor in one place.
8244         (setParagraph): temp vr for ownerParagraphs().end()
8245         (updateCounters): make the while loop a for loop
8246         (cutSelection): temp var for ownerParagraphs().end()
8247         (updateInset): make the do {} while() a regular for loop
8248         (getCursorX): use temp vars
8249         (setCurrentFont): use temp vars
8250         (getColumnNearX): use temp vars
8251
8252 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8253
8254         * text.C (transformChar): use temp var for getChar
8255         (computeBidiTables): use temp var for row->par()
8256         (fill): move temp vars for row->par() and pit->layout() earlier in
8257         the function.
8258         (labelFill): use temp var for row->par()
8259         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8260         asc and desc, realize that pit never changes and that firstpit is
8261         just a duplicate and not needed. Exchange rit->par() with pit in a
8262         lot of places.
8263         (breakAgain): use a temp var for boost::next(rit)
8264         (breakAgainOneRow): ditto
8265         (breakParagraph): use a temp var for rows().begin()
8266         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8267         (cursorRightOneWord): use temp var for cursor.par() and
8268         cursor.pos(), remove usage of tmpcursor.
8269         (cursorLeftOneWord): use temp var for cursor.par() and
8270         cursor.pos() only set cur at end of function.
8271
8272 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8273
8274         * text.C, text2.C: exchange all usage of Paragraph::next with
8275         boost::next(ParagraphList::iterator)
8276
8277         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8278
8279         * text2.C (cursorTop): simplify implementation
8280         (cursorBottom): ditto
8281         (setParagraph): use ParagraphList::iterator
8282         (setCurrentFont): adjust
8283         (getColumnNearX): adjust
8284         (cursorRight): adjust
8285         (cursorLeft): remove usage of Paragraph::previous
8286         (cursorUpParagraph): ditto
8287         (deleteEmptyParagraphMechanism): slight cleanup
8288
8289         * text.C (isBoundary): take a Paragraph const & instead of a
8290         pointer as arg.
8291         (addressBreakPoint): ditto
8292         (leftMargin): remove usage of Paragraph::previous.
8293         (setHeightOfRow): ditto
8294         (cursorLeftOneWord): ditto
8295         (selectNextWordToSpellcheck): ditto
8296         (Delete): ditto
8297         (backspace): ditto
8298         (breakParagraph): remove one usage of Paragraph::next
8299         (redoParagraph): ditto
8300         (acceptChange): ditto
8301         (insertChar): adjust
8302         (rowBreakPoint): adjust
8303
8304         * bufferview_funcs.C (toggleAndShow): adjust
8305
8306 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8307
8308         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8309         methods to access it.
8310         * lyxtext.h:
8311         * text.C: Added updateRowPositions to compute all row positions.
8312         Make top_y and getRowNearY() to use the cached y position
8313
8314 2003-04-11  John Levon  <levon@movementarian.org>
8315
8316         * text.C (rowBreakPoint): reintroduce the labelEnd
8317         checks, code copied from the row fill stuff. Deep voodoo.
8318
8319         * text.C (fill): add a comment and debugging for the
8320         next poor soul.
8321
8322 2003-04-11  John Levon  <levon@movementarian.org>
8323
8324         * text.C: make sure fullrow insets get wrapped to the next line,
8325         even when they're in a manual label
8326
8327 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8328
8329         * text2.C (insertParagraph): make it take ParagraphList::iterator
8330         as arg.
8331         (setLayout): make it return ParagraphList::iterator
8332         (redoParagraphs): ditto
8333         (setCounter): ditto
8334         (checkParagraph): ditto
8335
8336         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8337
8338         * text2.C: adjust several funcs.
8339         (realizeFont): take a ParagraphList::iterator as arg.
8340         (getLayoutFont): ditto
8341         (getLabelFont): ditto
8342         (setCharFont): ditto
8343
8344         * text.C: adjust several funcs.
8345
8346 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8347
8348         * text.C (selectNextWordToSpellcheck): don't accidentally
8349         skip insets
8350
8351 2003-04-10  John Levon  <levon@movementarian.org>
8352
8353         * ToolbarBackend.C (getIcon): special handling for
8354         LFUN_MATH_DELIM
8355
8356 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8357
8358         * text2.C (cursorRight): a getChar assert fixed
8359
8360 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * text2.C (getFont): change to take a ParagraphList::iterator
8363         instead of Paragraph*
8364         Adjust several functions.
8365
8366         * text.C (transformChar): change to take a ParagraphList::iterator
8367         instead of Paragraph*
8368         (singleWidth): ditto
8369         Adjust several functions.
8370
8371         * rowpainter.C: adjust several functions
8372         * rowpainter.h:store a ParagraphList::iterator and not a
8373         Paragraph&.
8374
8375
8376 2003-04-09  John Levon  <levon@movementarian.org>
8377
8378         * lyxfunc.C:
8379         * lfuns.h:
8380         * LyXAction.h:
8381         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8382         and the "help" bits as well
8383
8384 2003-04-09  John Levon  <levon@movementarian.org>
8385
8386         * ToolbarBackend.h:
8387         * ToolbarBackend.C: allow multiple toolbars
8388
8389 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * undo_funcs.C (setCursorParUndo): adjust
8392
8393         * text_funcs.C (transposeChars): adjust
8394
8395         * text3.C (gotoNextInset): adjust
8396         (dispatch): adjust
8397
8398         * text2.C (setLayout): adjust
8399         (changeDepth): adjust
8400         (setFont): adjust
8401         (redoParagraphs): adjust
8402         (selectionAsString): adjust
8403         (setParagraph): adjust
8404         (insertInset): adjust
8405         (cutSelection): adjust
8406         (copySelection): adjust
8407         (pasteSelection): adjust
8408         (insertStringAsLines): adjust
8409         (updateInset): adjust
8410         (setCursor): change to take a ParagraphList::iterator parameter
8411         (setCursorIntern): change to take a ParagraphList::iterator parameter
8412         (setCurrentFont): adjust
8413         (cursorLeft): adjust
8414         (cursorRight): adjust
8415         (deleteEmptyParagraphMechanism): adjust
8416
8417         * text.C (breakParagraph): adjust
8418         (insertChar): adjust
8419         (acceptChange): adjust
8420         (rejectChange): adjust
8421         (selectNextWordToSpellcheck): adjust
8422         (changeCase): adjust
8423         (Delete): adjust
8424         (backspace): adjust
8425
8426         * lyxfind.C (SearchForward): adjust
8427         (SearchBackward): adjust
8428         (nextChange): adjust
8429
8430         * lyxcursor.C (par): adjust
8431
8432         * lyxcursor.h: store a ParagraphList::iterator instead of a
8433         Paragraph*
8434
8435         * lyx_cb.C (getPossibleLabel): adjust
8436
8437         * bufferview_funcs.C (toggleAndShow): adjust
8438
8439         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8440         (dispatch): adjust
8441
8442         * BufferView.C (removeAutoInsets): adjust
8443         (lockedInsetStoreUndo): adjust
8444
8445 2003-04-09  John Levon  <levon@movementarian.org>
8446
8447         * ToolbarBackend.C: try icon without argument
8448         if with argument fails
8449
8450 2003-04-08  John Levon  <levon@movementarian.org>
8451
8452         * ToolbarBackend.h:
8453         * ToolbarBackend.C: add getIcon(), handle tooltip,
8454         and change from "Icon" to "Item".
8455
8456 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8457
8458         * BufferView.C (lockInset): another bad getchar crunched
8459
8460 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8461
8462         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8463         again)
8464
8465 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8466
8467         * lyxfind.C (searchForward, searchBackwards): bug 782
8468
8469 2003-04-07  John Levon  <levon@movementarian.org>
8470
8471         * paragraph.C: remove dead comment
8472
8473         * text.C: remove troublesome depth-fiddling code
8474         in leftMargin() and rightMargin() (bug 1017)
8475
8476         * text.C: fix breaking of rows in nested lists
8477         (bug 1004)
8478
8479         * text2.C (updateCounters): fix up depth values
8480         (bug 1013)
8481
8482 2003-04-07  John Levon  <levon@movementarian.org>
8483
8484         * BufferView_pimpl.C: clear message when doc finishes resizing,
8485         and after a mouse event
8486
8487         * lyxfunc.C: clear message after exiting inset
8488
8489 2003-04-07  John Levon  <levon@movementarian.org>
8490
8491         * bufferview_funcs.C: show math status not outside
8492         status in the statusbar
8493
8494 2003-04-07  John Levon  <levon@movementarian.org>
8495
8496         * lyxfunc.C: note status changed after a depth change
8497
8498 2003-04-04  Angus Leeming  <leeming@lyx.org>
8499
8500         * LaTeX.h: move AuxInfo operator==, != out of line.
8501         Remove LaTeX virtual destructor; nothing derives from it.
8502         Move operator()() out of public area and rename it startscript().
8503         Change protected for private.
8504
8505 2003-04-04  Angus Leeming  <leeming@lyx.org>
8506
8507         * lyxfunc.C:
8508         * text2.C: remove unneeded #includes.
8509
8510 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8511
8512         * text2.C (dEPM): fix the heigth of the next row
8513
8514 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8515
8516         * text.C: squashed an invalid getChar requester + some ws changes
8517
8518 2003-04-03  John Levon  <levon@movementarian.org>
8519
8520         * bufferview_funcs.h:
8521         * bufferview_funcs.C:
8522         * lyxfunc.C:
8523         * lyxtext.h:
8524         * text2.C: make getStatus work for the env depth lfuns
8525
8526 2003-04-03  John Levon  <levon@movementarian.org>
8527
8528         * bufferview_funcs.h:
8529         * bufferview_funcs.C:
8530         * lyxfunc.C:
8531         * lyxtext.h:
8532         * text2.C: parlistize decDepth(), by merging it with incDepth()
8533
8534 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8535
8536         * lyxrow.h: store a ParagraphList::iterator instead of a
8537         Paragraph* and adjust other class functions to suit.
8538
8539         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8540         above.
8541
8542 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8543
8544         * text2.C (setCursor): do not anchor to cursor row for the time being
8545
8546 2003-04-02  John Levon  <levon@movementarian.org>
8547
8548         * LyXAction.C:
8549         * lfuns.h:
8550         * lyx_main.C:
8551         * lyxtext.h:
8552         * text.C:
8553         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8554
8555 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8556
8557         * paragraph.h: make ParagraphList and ParagraphList::iterator
8558         friends of Paragraph.
8559
8560         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8561
8562         * ParagraphList.C: Use the private next_ and previous_ from
8563         Paragraph.
8564
8565 2003-04-01  John Levon  <levon@movementarian.org>
8566
8567         * ToolbarBackend.h:
8568         * ToolbarBackend.C:
8569         * Makefile.am: rename, remove defaults gunk
8570
8571         * MenuBackend.h:
8572         * MenuBackend.C: remove defaults gunk
8573
8574         * Languages.h:
8575         * Languages.C: remove defaults gunk
8576
8577         * lyx_main.h:
8578         * lyx_main.C: error out if files couldn't be found.
8579
8580 2003-04-02  John Levon  <levon@movementarian.org>
8581
8582         * text2.C: make incDepth() use parlist
8583
8584 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * undo_funcs.C (firstUndoParagraph): adjust
8587
8588         * text3.C (gotoInset): adjust
8589         (dispatch): adjust, and rewrite loop.
8590
8591         * text2.C (init): adjust, and rewrite loop.
8592         (redoParagraphs): adjust
8593         (updateInset): adjust, and rewrite loop.
8594         (deleteEmptyParagraphMechanism): adjust
8595
8596         * tabular.C (LyXTabular): adjust
8597         (SetMultiColumn): adjust
8598         (TeXRow): adjust
8599
8600         * lyxtext.[Ch] (ownerParagraph): delete function
8601         (ownerParagraphs): new function returns a ParagraphList.
8602
8603         * BufferView.C (removeAutoInsets): adjust
8604         (insertErrors): adjust
8605         (setCursorFromRow): adjust
8606
8607 2003-04-01  Angus Leeming  <leeming@lyx.org>
8608
8609         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8610         in the frontends.
8611
8612 2003-04-02  John Levon  <levon@movementarian.org>
8613
8614         * lyxtext.h:
8615         * text.C:
8616         * Makefile.am:
8617         * text_funcs.h:
8618         * text_funcs.C: make transposeChars a free function
8619
8620         * lyxrow_funcs.C: remove wrong comment
8621
8622 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * lyxtext.h: adjust
8625         * rowpainter.C: adjust
8626         * text.C: adjust
8627         * text2.C: adjust
8628         * text3.C: adjust
8629
8630         * lyxrow_funcs. [Ch]: new files
8631
8632         * lyxrow.[Ch]: remove next and previous pointers
8633         (next,previous): remove accessor functions
8634         (isParEnd): move to lyxrow_funcs
8635         (lastPos): move to lyxrow_funcs
8636         (nextRowIsAllInset): move to lyxrow_funcs
8637         (lastPrintablePos): move to lyxrow_funcs
8638         (numberOfSeparators): move to lyxrow_funcs
8639         (numberOfHfills): move to lyxrow_funcs
8640         (numberOfLabelHfills): move to lyxrow_funcs
8641         (hfillExpansion): move to lyxrow_funcs
8642
8643         * lyxfunc.C: adjust
8644
8645         * bufferview_funcs.C (toggleAndShow): adjust
8646
8647         * RowList.h: Remove class RowList from file leave just a
8648         std::list<Row>.
8649
8650         * RowList.C: delete file
8651
8652         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8653         and lyxrow_funcs.h
8654
8655 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8656
8657         * text3.C (cursorPrevious): adjust
8658         (cursorNext): adjust
8659         (dispatch): adjust
8660
8661         * text2.C (redoHeightOfParagraph): adjust
8662         (redoDrawingOfParagraph): adjust
8663         (setCursor): adjust
8664
8665         * text.C (breakParagraph): adjust
8666         (insertChar): adjust
8667         (backspace): adjust
8668
8669         * rowpainter.C (RowPainter): adjust
8670         (leftMargin): simplify and adjust
8671         (most rowpainter functions): adjust.
8672
8673         * rowpainter.h: store the row as RowList::iterator not as Row*
8674
8675         * lyxcursor.C (row): taka RowList::iterator as arg
8676         (irow): ditto
8677
8678         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8679         of Row*.
8680
8681 2003-04-01  Angus Leeming  <leeming@lyx.org>
8682
8683         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8684         stuff like bool Bool.
8685
8686 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8687
8688         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8689         rewrite a loop
8690
8691 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8692
8693         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8694         RowList::iterator.
8695
8696         * lyxtext.h (rows): drop one version and leve a const variant that
8697         returns a RowList::iterator.
8698
8699 2003-03-31  Angus Leeming  <leeming@lyx.org>
8700
8701         * text.C (fill): ensure that the signature is the same as that in the
8702         header file.
8703
8704 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8705
8706         * text2.C (redoParagraphs): adjust
8707         (updateCounters): adjust
8708         (checkParagraph): adjust
8709         (getColumnNearX): adjust and reformat a bit.
8710
8711         * text.C (top_y): adjust
8712         (workWidth): adjust
8713         (leftMargin): adjust
8714         (prepareToPrint): adjust
8715         (getRow): adjust
8716         (getRowNearY): adjust
8717
8718         * lyxtext.h: make rowlist_ mutable.
8719
8720         * RowList.h: add const_iterator
8721         * RowList.C: adjust for RowList::const_iterator.
8722
8723         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8724         adjust.
8725
8726 2003-03-31  John Levon  <levon@movementarian.org>
8727
8728         * lyxrc.h:
8729         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8730
8731         * lyx_main.C: set default fonts from using lyx_gui funcs
8732
8733         * exporter.C: pdf_mode moved from lyxrc
8734
8735         * lyx_cb.C:
8736         * lyxfunc.C: changes from above
8737
8738 2003-03-31  John Levon  <levon@movementarian.org>
8739
8740         * lyx_main.C: fix to the last fix
8741
8742 2003-03-31  John Levon  <levon@movementarian.org>
8743
8744         * bufferlist.C: "Load original" -> "Load Original"
8745
8746         * converter.C:
8747         * exporter.C:
8748         * importer.C:
8749         * lyx_main.C:
8750         * format.C: more Alert cleanups
8751
8752 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8753
8754         * text2.C (removeParagraph): make it take a RowList::iterator as
8755         arg, adjust.
8756         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8757         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8758
8759         * text.C (anchor_row): make it take a RowList::iterator as arg,
8760         adjust.
8761         (computeBidiTables): make it take a const reference to Row instead
8762         of Row pointer, adjust.
8763         (leftMargin): make it take a RowList::iterator as arg, adjust.
8764         (rowBreakPoint): adjust
8765         (breakAgainOneRow): make it take a RowList::iterator as arg,
8766         adjust.
8767         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8768
8769         * bufferview_funcs.C (toggleAndShow): adjust
8770
8771 2003-03-30  John Levon  <levon@movementarian.org>
8772
8773         * Makefile.am:
8774         * BoostFormat.h:
8775         * boost-inst.C: moved to support
8776
8777         * several files: changes as a result
8778
8779 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8780
8781         * text2.C (LyXText): adjust.
8782         (init): adjust
8783         (removeRow): make it take a RowList::iterator as arg, adjust.
8784         (fullRebreak): adjust
8785         (deleteEmptyParagraphMechanism): adjust
8786         (clearPaint): adjust
8787         (postPaint): adjust
8788
8789         * text.C (top_y): adjust
8790         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8791         (breakAgain): make it take a RowList::iterator as arg, adjust.
8792         (breakParagraph): adjust
8793         (insertChar): adjust
8794         (backspace): adjust
8795
8796         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8797         need_break_row, and refresh_row.
8798
8799         * text3.C (dispatch): adjust
8800
8801         * text2.C (checkParagraph): adjust
8802         (setCursor): adjust
8803         (setCursorFromCoordinates): adjust
8804
8805         * text.C (top_y): adjust
8806         (workWidth): adjust
8807         (getRow): make it return a RowList::iterator, adjust
8808         (getRowNearY): make it return a RowList::iterator, adjust
8809
8810         * text2.C (init): adjust
8811         (insertRow): remove function
8812         (insertParagraph): adjust
8813         (redoParagraphs): adjust
8814         (fullRebreak): adjust
8815         (updateCounters): adjust
8816
8817         * text.C (top_y): rewrite to use RowList iterators.
8818         (top_y): adjust
8819         (setHeightOfRow): rewrite to sue RowList iterators.
8820         (appendParagraph): adjust
8821         (breakAgain): adjust
8822         (breakAgainOneRow): adjust
8823         (breakParagraph): adjust
8824         (getRow): adjust
8825         (getRowNearY): adjust, and remove commented code.
8826
8827         * lyxtext.h (firstRow): delete function
8828         (lastRow): delete function
8829         (rows): new function (const and non-const versions.)
8830         (insertRow): delete function
8831
8832         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8833
8834 2003-03-29  John Levon  <levon@movementarian.org>
8835
8836         * BufferView_pimpl.C: always update scrollbar top
8837         because pasting text when we're anchored could mean we
8838         miss an update altogether
8839
8840 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8841
8842         * text2.C (init): use rowlist_.end() and not 0.
8843         (insertRow): change to take a RowList::iterator as arg, adjust
8844         for this.
8845         (insertParagraph): change to take a RowList::iterator as arg,
8846         adjust for this.
8847         (redoParagraphs): remove some debug msgs.
8848
8849         * text.C (appendParagraph): change to take a RowList::iterator
8850         arg, adjust for this.
8851         (breakAgain): add an assert
8852         (breakAgainOneRow): ditto
8853
8854 2003-03-29  John Levon  <levon@movementarian.org>
8855
8856         * text2.C: do not clear selection after inc/decDepth
8857         (bug 550)
8858
8859 2003-03-29  John Levon  <levon@movementarian.org>
8860
8861         * BufferView.C:
8862         * buffer.C: fix broken strerrors according to Lars
8863
8864 2003-03-29  John Levon  <levon@movementarian.org>
8865
8866         * converters.C: more Alert cleanups
8867
8868 2003-03-29  John Levon  <levon@movementarian.org>
8869
8870         * bufferview_funcs.C: remove pointless Alert
8871
8872         * buffer.C: fix confusing error message when
8873         a template is chmoded 000
8874
8875 2003-03-29  John Levon  <levon@movementarian.org>
8876
8877         * BufferView.C:
8878         * BufferView.h:
8879         * BufferView_pimpl.C: Alert fixes
8880
8881         * Makefile.am:
8882         * tabular.C:
8883         * tabular-old.C: remove unused table compat reading
8884
8885 2003-03-29  John Levon  <levon@movementarian.org>
8886
8887         * BufferView.C:
8888         * buffer.C:
8889         * lyx_cb.h:
8890         * lyx_cb.C: more Alert cleanups
8891
8892         * lyxfunc.C: don't allow chktex if not latex document
8893
8894 2003-03-29  John Levon  <levon@movementarian.org>
8895
8896         * lyx_cb.C:
8897         * BufferView.C:
8898         * buffer.C: warnings pushed down from support/,
8899         kill err_alert
8900
8901 2003-03-29  John Levon  <levon@movementarian.org>
8902
8903         * lyxfunc.C: safety check for C-r (revert)
8904
8905 2003-03-29  John Levon  <levon@movementarian.org>
8906
8907         * bufferlist.h:
8908         * bufferlist.C: several UI fixes using Alert::prompt.
8909         Fix the pointless looping quit code. Fix stupid revert
8910         behaviour (bug 938)
8911
8912         * lyxvc.h:
8913         * lyxvc.C:
8914         * lyx_cb.C: use Alert::prompt
8915
8916         * lyx_main.C: remove a silly question
8917
8918         * lyxfunc.C: remove a couple of silly questions,
8919         use Alert::prompt
8920
8921 2003-03-28  John Levon  <levon@movementarian.org>
8922
8923         * text2.C: fix bug 974 (End on empty par)
8924
8925 2003-03-28  John Levon  <levon@movementarian.org>
8926
8927         * BufferView_pimpl.C:
8928         * LyXAction.C:
8929         * lfuns.h: remove do-nothing math greek lfuns
8930
8931 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8932
8933         * lyxgluelength.h (isValidGlueLength): add default arg on
8934         parameter 2. Remove default arg from friend in class.
8935
8936         * lyxlength.h (isValidLength): add default arg on parameter 2.
8937         Remove default arg from friend in class.
8938
8939         * text2.C (LyXText): adjust, initialize refresh_row.
8940         (init): adjust
8941         (removeRow): adjust
8942         (insertRow): adjust
8943         (insertParagraph): adjst
8944         (redoParagraphs): adjust
8945         (fullRebreak): adjust
8946         (updateCounters): adjust
8947         (deleteEmptyParagraphMechanism): first attempt at fixing a
8948         crashing bug.
8949
8950         * text.C (top_y): adjust
8951         (setHeightOfRow): adjust
8952         (getRow): adjust
8953         (getRowNearY): adjust
8954
8955         * lyxtext.h: include RowList.h
8956         (~LyXText): not needed anymore, deleted.
8957         (firstRow): modify for RowList
8958         (lastRow): new function
8959         Delete firstrow and lastrow class variables, add a Rowlist
8960         rowlist_ class variable.
8961
8962         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8963         paragraph is empty.
8964
8965         * RowList.C (insert): fix case where it == begin().
8966
8967 2003-03-26  Angus Leeming  <leeming@lyx.org>
8968
8969         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8970         the thesaurus dialog.
8971
8972 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8973
8974         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8975
8976         * RowList.[Ch]: new files
8977
8978         * ParagraphList.C (erase): handle the case where it == begin
8979         correctly.
8980
8981 2003-03-25  John Levon  <levon@movementarian.org>
8982
8983         * Makefile.am:
8984         * aspell_local.h:
8985         * aspell.C: add new aspell support
8986
8987         * lyxrc.h:
8988         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8989         have it accessible.
8990
8991 2003-03-25  Angus Leeming  <leeming@lyx.org>
8992
8993         * lfuns.h:
8994         * LyXAction.C (init): new LFUN_INSET_INSERT.
8995
8996         * BufferView_pimpl.C (dispatch): split out part of the
8997         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8998
8999         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9000         LFUN_INSET_APPLY.
9001
9002 2003-03-25  Angus Leeming  <leeming@lyx.org>
9003
9004         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9005
9006 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9007
9008         * text2.C:
9009         * text3.C: remove useless row->height(0)
9010
9011 2003-03-25  John Levon  <levon@movementarian.org>
9012
9013         * lyxtext.h:
9014         * text2.C:
9015         * text3.C: rename the refreshing stuff to better names
9016
9017 2003-03-24  John Levon  <levon@movementarian.org>
9018
9019         * BufferView_pimpl.h:
9020         * BufferView_pimpl.C: update layout choice on a mouse
9021         press/release
9022
9023 2003-03-23  John Levon  <levon@movementarian.org>
9024
9025         * Makefile.am: fix commandtags.h reference
9026
9027 2003-03-22  John Levon  <levon@movementarian.org>
9028
9029         * BufferView_pimpl.C:
9030         * lyxtext.h:
9031         * rowpainter.C:
9032         * rowpainter.h:
9033         * text.C:
9034         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9035
9036 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9037
9038         * lyxtext.h:
9039         * text.C: take the rtl methods out of line
9040
9041 2003-03-21 André Pönitz <poenitz@gmx.net>
9042
9043         * metricsinfo.[Ch]: new files containing structures to be passed around
9044         during the two-phase-drawing...
9045
9046 2003-03-21 André Pönitz <poenitz@gmx.net>
9047
9048         * lyxtextclass.C: read 'environment' tag.
9049
9050 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9051
9052         * text2.C (removeRow): fix bug 964
9053
9054 2003-03-20  John Levon  <levon@movementarian.org>
9055
9056         * rowpainter.C:
9057         * text.C:
9058         * text2.C: paint cleanups. Inset::update() dropped font
9059         parameter
9060
9061 2003-03-19  John Levon  <levon@movementarian.org>
9062
9063         * lyxfunc.C: only fitcursor/markDirty if available()
9064
9065 2003-03-19  John Levon  <levon@movementarian.org>
9066
9067         * commandtags.h: rename to ...
9068
9069         * lfuns.h: ... this, and renumber / cleanup
9070
9071 2003-03-19  John Levon  <levon@movementarian.org>
9072
9073         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9074         fit the cursor after an lfun
9075
9076         * BufferView.h:
9077         * BufferView.C:
9078         * BufferView_pimpl.h:
9079         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9080
9081         * LyXAction.C: layout-character should have ReadOnly
9082
9083         * ParagraphParameters.C:
9084         * buffer.C:
9085         * bufferview_funcs.C:
9086         * lyx_cb.C:
9087         * lyxfind.C:
9088         * lyxtext.h:
9089         * text.C:
9090         * text2.C:
9091         * text3.C:
9092         * undo_funcs.C: changes from above
9093
9094 2003-03-18  John Levon  <levon@movementarian.org>
9095
9096         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9097         remove it from update()
9098
9099         * lyxfunc.C: update layout choice after an lfun
9100
9101         * text3.C: remove extra updateLayoutChoice()s
9102
9103 2003-03-18  John Levon  <levon@movementarian.org>
9104
9105         * text.C: top_y change means full repaint, fix
9106         a drawing bug with cursor movement
9107
9108 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9109
9110         * lyxtext.h:
9111         * text.C:
9112         * text2.C: anchor row on setCursor
9113
9114 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9115
9116         * lyxtext.h: remove almost all mutable keywords
9117         * text.C:
9118         * text2.C:
9119         * text3.C: remove const keywords accordingly
9120
9121 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9122
9123         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9124         anon namespace
9125         (TeXEnvironment): ditto
9126         (TeXOnePar): ditto
9127
9128 2003-03-17  John Levon  <levon@movementarian.org>
9129
9130         * text.C (rowBreakPoint): remove attempt to fix displayed
9131         math insets inside a manual label
9132
9133 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9134
9135         * lyxtext.h: remove BufferView* as first arg from almost all class
9136         functions.
9137         * other files: adjust.
9138
9139 2003-03-17  John Levon  <levon@movementarian.org>
9140
9141         * lyxtext.h:
9142         * undo_funcs.C:
9143         * text2.C: more paint cleanups
9144
9145         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9146
9147         * rowpainter.h:
9148         * rowpainter.C: remove "smart" background painting code
9149
9150 2003-03-16  John Levon  <levon@movementarian.org>
9151
9152         * lyxtext.h:
9153         * text.C:
9154         * text2.C:
9155         * text3.C: add helper functions for setting refresh_row/y
9156
9157 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9158
9159         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9160         newline inset which *can* get inserted in the pass_thru layouts.
9161         This is primarily for literate documents.
9162
9163 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9164
9165         * buffer.C: increment LYX_FORMAT to 223
9166
9167 2003-03-14 André Pönitz <poenitz@gmx.net>
9168
9169         * textclass.h: prepare for environment handling, ws changes
9170         * lyxlayout.C: read latexheader and latexfooter tags
9171
9172 2003-03-14  John Levon  <levon@movementarian.org>
9173
9174         * text2.C: rewrite ::status() a bit
9175
9176 2003-03-13  John Levon  <levon@movementarian.org>
9177
9178         * lyxtext.h: add some docs
9179
9180 2003-03-13  John Levon  <levon@movementarian.org>
9181
9182         * lyxtext.h:
9183         * text.C:
9184         * text2.C:
9185         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9186
9187 2003-03-13  John Levon  <levon@movementarian.org>
9188
9189         * text3.C: fix appendix redrawing
9190
9191 2003-03-13  John Levon  <levon@movementarian.org>
9192
9193         * text.C (setHeightOfRow):
9194         * rowpainter.h:
9195         * rowpainter.C: make appendix mark have the text
9196           "Appendix" so the user knows what it is
9197
9198         * LColor.h:
9199         * LColor.C: s/appendixline/appendix/ from above
9200
9201 2003-03-13  John Levon  <levon@movementarian.org>
9202
9203         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9204
9205         * text.C: fix a getChar(pos) bug properly
9206
9207 2003-03-13  Angus Leeming  <leeming@lyx.org>
9208
9209         * commandtags.h:
9210         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9211         Probably only temporary. Let's see how things pan out.
9212
9213         * BufferView.C (unlockInset):
9214         * BufferView_pimpl.C (fitCursor):
9215         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9216
9217         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9218         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9219
9220         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9221         new functions that convert ParagraphParameters to and from a string.
9222
9223         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9224         BufferView::Pimpl's dispatch.
9225         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9226
9227 2003-03-13 André Pönitz <poenitz@gmx.net>
9228
9229         * lyxfunc.C:
9230         * text3.C:
9231         * factory.C: make it aware of InsetEnv
9232
9233 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9234
9235         * text2.C (setCursor): never ask for one past last
9236         (setCursor): add some debugging messages.
9237
9238         * text.C (singleWidth): never ask for one past last
9239         (singleWidth): ditto
9240         (leftMargin): ditto
9241         (rightMargin): ditto
9242         (rowBreakPoint): ditto
9243         (setHeightOfRow): ditto
9244         (prepareToPrint): ditto
9245
9246         * rowpainter.C (paintBackground): never ask for one past last
9247         (paintText): never ask for one past last
9248
9249         * paragraph_pimpl.C (getChar): make the assert stricter, never
9250         allow the one past last pos to be taken
9251
9252         * paragraph.C (getChar): ws changes only
9253
9254         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9255         (numberOfSeparators): ditto
9256         (numberOfHfills): ditto
9257
9258 2003-03-12  John Levon  <levon@movementarian.org>
9259
9260         * author.h:
9261         * author.C:
9262         * bufferparams.h:
9263         * bufferparams.C:
9264         * paragraph_funcs.C: fix per-buffer authorlists
9265
9266 2003-03-12  John Levon  <levon@movementarian.org>
9267
9268         * text.C: fix newline in right address
9269
9270 2003-03-12  Angus Leeming  <leeming@lyx.org>
9271
9272         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9273         duplicate those in LyXFunc::dispatch.
9274
9275         * commandtags.h:
9276         * LyXAction.C:
9277         * ToolbarDefaults.C:
9278         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9279         Add LFUN_FONTFREE_UPDATE.
9280
9281         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9282         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9283
9284         * bufferview_func.[Ch]: several new functions to facilliate
9285         transfer of data to and from the character dialog.
9286
9287 2003-03-12  John Levon  <levon@movementarian.org>
9288
9289         * buffer.C:
9290         * paragraph.h:
9291         * paragraph.C:
9292         * paragraph_funcs.C:
9293         * paragraph_pimpl.C:
9294         * sgml.C:
9295         * tabular.C:
9296         * text.C:
9297         * text3.C: remove META_NEWLINE in favour of an inset
9298
9299         * rowpainter.h:
9300         * rowpainter.C: remove paintNewline (done by inset)
9301
9302 2003-03-12  John Levon  <levon@movementarian.org>
9303
9304         * paragraph_pimpl.C: complain about bad getChar()s
9305         for a while at least
9306
9307 2003-03-12  John Levon  <levon@movementarian.org>
9308
9309         * buffer.h:
9310         * buffer.C: move paragraph read into a separate function,
9311         a little renaming to reflect that.
9312
9313         * bufferparams.h:
9314         * bufferparams.C: remove the author_ids map, not necessary now
9315
9316         * factory.h:
9317         * factory.C: moved Buffer::readInset to here
9318
9319         * paragraph_funcs.h:
9320         * paragraph_funcs.C: readParagraph free function moved from
9321         buffer.C
9322
9323         * tabular.C: name change
9324
9325 2003-03-12  John Levon  <levon@movementarian.org>
9326
9327         * buffer.C:
9328         * ParagraphParameters.C: move par params input to
9329         a read() method
9330
9331         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9332         behave like a normal read from the stream wrt reading
9333         a line vs. a \\token
9334
9335 2003-03-12  John Levon  <levon@movementarian.org>
9336
9337         * paragraph.C:
9338         * ParagraphParameters.h:
9339         * ParagraphParameters.C: move output code to a
9340         ::write() method
9341
9342 2003-03-12  John Levon  <levon@movementarian.org>
9343
9344         * BufferView.C (insertLyXFile):
9345         * buffer.h:
9346         * buffer.C:
9347         * tabular.C: use a parlist iterator for creating the
9348           document.
9349
9350 2003-03-12  John Levon  <levon@movementarian.org>
9351
9352         * buffer.C: make current_change static local not
9353           static file-scope
9354
9355 2003-03-12  John Levon  <levon@movementarian.org>
9356
9357         * buffer.C: fix insertStringAsLines for change tracking
9358
9359 2003-03-12  John Levon  <levon@movementarian.org>
9360
9361         * BufferView.C:
9362         * tabular.C:
9363         * buffer.h:
9364         * buffer.C:
9365         * bufferparams.h:
9366         * bufferparams.C: move author list into params. Rename some
9367           functions. Move the header reading into a separate token
9368           loop. Move the header token reading into BufferParams.
9369
9370 2003-03-12  John Levon  <levon@movementarian.org>
9371
9372         * changes.C: put debug inside lyxerr.debugging() checks
9373
9374 2003-03-11 André Pönitz <poenitz@gmx.net>
9375
9376         * factory.C: make it aware of InsetHFill
9377
9378 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9379
9380         * buffer.C (latexParagraphs): move function from here...
9381         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9382         args.
9383
9384 2003-03-10  Angus Leeming  <leeming@lyx.org>
9385
9386         * LyXAction.C (init): fix bug in poplating array with multiple entries
9387         with the same LFUN (spotted by JMarc).
9388
9389 2003-03-10  John Levon  <levon@movementarian.org>
9390
9391         * text.C:
9392         * text2.C: move getColumnNearX() near its
9393         only call site
9394
9395 2003-03-10  John Levon  <levon@movementarian.org>
9396
9397         * text.C: fix break before a minipage
9398
9399 2003-03-10  John Levon  <levon@movementarian.org>
9400
9401         * text.C: fix the last commit
9402
9403 2003-03-09  John Levon  <levon@movementarian.org>
9404
9405         * lyxtext.h:
9406         * text.C:
9407         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9408         bug 365 (don't break before insets unless needed). Don't
9409         return a value > last under any circumstances.
9410
9411 2003-03-09  Angus Leeming  <leeming@lyx.org>
9412
9413         * BufferView_pimpl.C (trackChanges, dispatch): call
9414         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9415
9416 2003-03-09  Angus Leeming  <leeming@lyx.org>
9417
9418         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9419         than Dialogs::showAboutlyx().
9420
9421 2003-03-09  Angus Leeming  <leeming@lyx.org>
9422
9423         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9424         than Dialogs::showTabularCreate().
9425
9426 2003-03-09  John Levon  <levon@movementarian.org>
9427
9428         * lyxtext.h:
9429         * text.C:
9430         * text2.C: 3rd arg to nextBreakPoint was always the same.
9431           Use references.
9432
9433 2003-03-08  John Levon  <levon@movementarian.org>
9434
9435         * lyxrow.C:
9436         * paragraph.C:
9437         * paragraph.h:
9438         * rowpainter.C:
9439         * text.C:
9440         * text2.C: Remove the "main" bit from the "main body"
9441           notion.
9442
9443 2003-03-08  John Levon  <levon@movementarian.org>
9444
9445         * text.C (leftMargin): The left margin of an empty
9446         manual label paragraph should not include the label width
9447         string length.
9448
9449         * text.C (prepareToPrint): don't attempt to measure hfills
9450         for empty manual label paragraphs - the answer should be 0
9451
9452 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9453
9454         * CutAndPaste.C: remove commented code and reindent.
9455
9456 2003-03-08  John Levon  <levon@movementarian.org>
9457
9458         * lyxfunc.h:
9459         * lyxfunc.C: move reloadBuffer()
9460
9461         * BufferView.h:
9462         * BufferView.C: to here
9463
9464         * lyxvc.C: add comment
9465
9466         * vc-backend.h:
9467         * vc-backend.C: call bv->reload() to avoid
9468           getStatus() check on MENURELOAD
9469
9470 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9471
9472         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9473         to an old format .dep file.
9474
9475 2003-03-07  Angus Leeming  <leeming@lyx.org>
9476
9477         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9478         when the LFUN_MOUSE_RELEASE should have been handled by
9479         inset->localDispatch.
9480
9481 2003-03-07  Angus Leeming  <leeming@lyx.org>
9482
9483         * BufferView_pimpl.C (dispatch):
9484         * LyXAction.C (init):
9485         * ToolbarDefaults.C (init):
9486         * commandtags.h:
9487         * lyxfunc.C (getStatus):
9488         remove LFUN_INSET_GRAPHICS.
9489
9490         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9491
9492 2003-03-07  Angus Leeming  <leeming@lyx.org>
9493
9494         * commandtags.h:
9495         * LyXAction.C (init):
9496         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9497
9498         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9499
9500         * commandtags.h:
9501         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9502
9503         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9504         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9505
9506 2003-03-07  Angus Leeming  <leeming@lyx.org>
9507
9508         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9509         remove "ert".
9510
9511 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9512
9513         * ParagraphList.C (front): new function
9514         (back): implement
9515
9516 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9517
9518         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9519         and top_row_offset_. removed var first_y.
9520         * text.C (top_y):
9521         * text2.C (LyXText, removeRow):
9522         * text3.C:
9523         * BufferView_pimpl.C:
9524         use these methods instead of using first_y
9525
9526 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9527
9528         * text2.C (pasteSelection): adjust for checkPastePossible
9529
9530         * CutAndPaste.C: remove Paragraph * buf and replace with
9531         ParagraphList paragraphs.
9532         (DeleteBuffer): delete
9533         (cutSelection): change the tc type to textclass_type
9534         (copySelection): change the tc type to textclass_type
9535         (copySelection): adjust for ParagraphList
9536         (pasteSelection): change the tc type to textclass_type
9537         (pasteSelection): adjust for Paragraphlist
9538         (nrOfParagraphs): simplify for ParagraphList
9539         (checkPastePossible): simplify for ParagraphList
9540         (checkPastePossible): remove unused arg
9541
9542         * ParagraphList.C (insert): handle the case where there are no
9543         paragraphs yet.
9544
9545         * CutAndPaste.h: make CutAndPaste a namespace.
9546
9547         * text3.C (dispatch): adjust
9548
9549         * text.C (breakParagraph): add a ParagraphList as arg
9550
9551         * paragraph_funcs.C (breakParagraph): change to take a
9552         BufferParams and a ParagraphList as args.
9553         (breakParagraphConservative): ditto
9554         (mergeParagraph): ditto
9555         (TeXDeeper): add a ParagraphList arg
9556         (TeXEnvironment): ditto
9557         (TeXOnePar): ditto
9558
9559         * buffer.C (readLyXformat2): adjust
9560         (insertStringAsLines): adjust
9561         (latexParagraphs): adjust
9562
9563         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9564         (cutSelection): adjust
9565         (pasteSelection): adjust
9566
9567         * BufferView_pimpl.C (insertInset): adjust
9568
9569 2003-03-05  Angus Leeming  <leeming@lyx.org>
9570
9571         * commandtags.h:
9572         * LyXAction.C (init):
9573         * BufferView_pimpl.C (dispatch):
9574         * lyxfunc.C (getStatus):
9575         remove LFUN_CHILD_INSERT.
9576
9577         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9578
9579 2003-03-05  Angus Leeming  <leeming@lyx.org>
9580
9581         * commandtags.h:
9582         * LyXAction.C (init):
9583         * src/factory.C (createInset):
9584         * lyxfunc.C (getStatus):
9585         * text3.C (dispatch):
9586         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9587
9588         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9589
9590 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9591
9592         * ParagraphList.C (insert): handle insert right before end()
9593         (erase): fix cases where it can be first or last paragraph.
9594
9595 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9596
9597         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9598         Paragraph::next and Paragraph::previous
9599         (TeXOnePar): ditto
9600
9601         * text.C (breakParagraph): adjust
9602
9603         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9604         BufferParams& as arg.
9605         (breakParagraph): use ParagraphList::insert
9606         (breakParagraphConservative): take a Buffer* instead of a
9607         BufferParams& as arg.
9608         (breakParagraphConservative): use ParagraphList::insert.
9609
9610         * buffer.C (insertStringAsLines): un-const it
9611         (insertStringAsLines): adjust
9612
9613         * ParagraphList.C (insert): new function
9614
9615         * CutAndPaste.C (pasteSelection): adjust
9616
9617         * text.C (backspace): adjust
9618
9619         * tabular.C (SetMultiColumn): adjust
9620
9621         * CutAndPaste.C (cutSelection): adjust
9622         (pasteSelection): adjust
9623
9624         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9625         Buffer const * as arg
9626
9627         * ParagraphList.C (erase): new function
9628         * paragraph_funcs.C (mergeParagraph): use it
9629         (mergeParagraph): make it take a Buffer* instead of a
9630         BufferParams* as arg
9631
9632         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9633         as arg
9634         (breakParagraphConservative): ditto
9635
9636         * paragraph.h: remove the breakParagraph friend
9637
9638         * paragraph.C (eraseIntern): new function
9639         (setChange): new function
9640
9641         * paragraph_funcs.C (mergeParagraph): make it take a
9642         ParagraphList::iterator instead of a Paragraph *, adjust
9643         accordingly.
9644
9645         * paragraph.h: move an #endif so that the change tracking stuff
9646         also works in the NO_NEXT case.
9647
9648 2003-03-04  Angus Leeming  <leeming@lyx.org>
9649
9650         * commandtags.h:
9651         * LyXAction.C: new LFUN_INSET_MODIFY.
9652
9653         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9654         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9655
9656 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9657
9658         * several files: ws changes only
9659
9660         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9661         (TeXEnvironment): ditto
9662         (TeXDeeper): ditto
9663
9664         * buffer.C (makeLaTeXFile): adjust
9665         (latexParagraphs): make it take ParagraphList::iterator as args
9666
9667 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9668
9669         * buffer.C (latexParagraphs): adjust
9670
9671         * paragraph.C (TeXOnePar): move function...
9672         (optArgInset): move function...
9673         (TeXEnvironment): move function...
9674         * paragraph_pimpl.C (TeXDeeper): move function...
9675         * paragraph_funcs.C: ...here
9676
9677         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9678
9679 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9680
9681         * buffer.C (readInset): remove compability code for old Figure and
9682         InsetInfo insets
9683
9684 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9685
9686         * buffer.C: ws changes
9687         (readInset):
9688
9689         * BufferView_pimpl.C: ditto
9690         * author.C: ditto
9691         * buffer.h: ditto
9692         * bufferlist.h: ditto
9693         * changes.h: ditto
9694         * lyxfunc.C: ditto
9695
9696 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9697
9698         * converter.[Ch]: split into itself +
9699         * graph.[Ch]
9700         * format.[Ch]
9701         * Makefile.am: += graph.[Ch] + format.[Ch]
9702         * MenuBackend.C
9703         * buffer.C
9704         * exporter.C
9705         * importer.C
9706         * lyx_main.C
9707         * lyxfunc.C
9708         * lyxrc.C: added #include "format.h"
9709
9710 2003-02-27  Angus Leeming  <leeming@lyx.org>
9711
9712         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9713           a label.
9714
9715         * factory.C (createInset): add "label" to the factory.
9716
9717         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9718           string and do no more.
9719
9720 2003-02-27  Angus Leeming  <leeming@lyx.org>
9721
9722         * commandtags.h:
9723         * LyXAction.C (init):
9724         * factory.C (createInset):
9725         * BufferView_pimpl.C (dispatch):
9726           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9727
9728         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9729
9730         * lyxfunc.C (dispatch):
9731         * text3.C (dispatch): pass name to params2string.
9732
9733 2003-02-26  Angus Leeming  <leeming@lyx.org>
9734
9735         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9736           blocks together.
9737           Rearrange the ~includes. Strip out the unnecessary ones.
9738
9739         * factory.C (createInset): reformat.
9740           create new insets for the various LFUN_XYZ_APPLY lfuns.
9741
9742 2003-02-26  John Levon  <levon@movementarian.org>
9743
9744         * lyxrow.h:
9745         * lyxrow.C: add isParStart,isParEnd helpers
9746
9747         * paragraph.h: make isInserted/DeletedText take refs
9748
9749         * paragraph_funcs.h:
9750         * paragraph_funcs.C: remove #if 0'd code
9751
9752         * lyxtext.h:
9753         * text3.C:
9754         * text2.C:
9755         * text.C: use lyxrow helpers above.
9756           Move draw and paint routines to RowPainter.
9757           Make several methods use refs not pointers.
9758           Make backgroundColor() const.
9759           Add markChangeInDraw(), isInInset().
9760           Merge changeRegionCase into changeCase.
9761           Make workWidth() shouldn't-happen code into an Assert.
9762
9763         * rowpainter.h:
9764         * rowpainter.C: new class for painting a row.
9765
9766         * vspace.h:
9767         * vspace.C: make inPixels take a ref
9768
9769 2003-02-26  Angus Leeming  <leeming@lyx.org>
9770
9771         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9772         LFUN_REF_APPLY.
9773
9774 2003-02-25  John Levon  <levon@movementarian.org>
9775
9776         * ispell.C: give the forked command a more accurate name
9777
9778 2003-02-22  John Levon  <levon@movementarian.org>
9779
9780         * toc.h:
9781         * toc.C: make TocItem store an id not a Paragraph *
9782           (bug #913)
9783
9784 2003-02-21  Angus Leeming  <leeming@lyx.org>
9785
9786         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9787           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9788           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9789           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9790           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9791           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9792
9793         * BufferView_pimpl.C (dispatch):
9794         * LyXAction.C (init):
9795         * factory.C (createInset):
9796         * lyxfunc.C (getStatus, dispatch):
9797         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9798
9799 2003-02-21  Angus Leeming  <leeming@lyx.org>
9800
9801         * BufferView_pimpl.C (MenuInsertLyXFile):
9802         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9803         * lyxfunc.C (menuNew, open, doImport):
9804           no longer pass a LyXView & to fileDlg.
9805
9806 2003-02-21  Angus Leeming  <leeming@lyx.org>
9807
9808         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9809         * LyXAction.C: change, BIBKEY to BIBITEM.
9810         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9811         Change InsetBibKey to InsetBibitem.
9812         Change BIBKEY_CODE to BIBITEM_CODE.
9813         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9814         * factory.C: replace insetbib.h with insetbibitem.h.
9815         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9816         * paragraph.C: replace insetbib.h with insetbibitem.h.
9817         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9818         Change bibkey() to bibitem().
9819         * text.C: remove insetbib.h.
9820         * text2.C: replace insetbib.h with insetbibitem.h.
9821         change bibkey() to bibitem().
9822         * text3.C: remove insetbib.h.
9823         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9824
9825 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9826
9827         * lyxrc.C (output): enclose user email in quotes (in case there are
9828         several words)
9829
9830 2003-02-18  John Levon  <levon@movementarian.org>
9831
9832         * buffer.h: add std::
9833
9834 2003-02-17  John Levon  <levon@movementarian.org>
9835
9836         * SpellBase.h:
9837         * ispell.h:
9838         * ispell.C:
9839         * pspell.h:
9840         * pspell.C: reworking. Especially in ispell, a large
9841           number of clean ups and bug fixes.
9842
9843         * lyxfunc.C: fix revert to behave sensibly
9844
9845 2003-02-17 André Pönitz <poenitz@gmx.net>
9846
9847         * LyXAction.C:
9848         * commandtags.h: new LFUN_INSERT_BIBKEY
9849
9850         * layout.h:
9851         * lyxlayout.C:
9852         * buffer.C:
9853         * factory.C:
9854         * text.C:
9855         * text2.C:
9856         * text3.C:
9857         * paragraph.[Ch]:
9858         * paragraph_func.C: remove special bibkey handling
9859
9860 2003-02-17  John Levon  <levon@movementarian.org>
9861
9862         * text.C (Delete): fix case where delete at the end of
9863           the very first paragraph would not merge the pars
9864
9865 2003-02-17  John Levon  <levon@movementarian.org>
9866
9867         * lyxrow.C: fix lastPrintablePos()
9868
9869 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9870
9871         * bufferparams.C (writeLaTeX): add a std:here
9872
9873         * buffer.C: and remove a using directive there
9874
9875 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9876
9877         * buffer.C (makeLaTeXFile): move the code that generates the
9878           preamble...
9879
9880         * bufferparams.C (writeLaTeX): ... in this new method
9881
9882         * LaTeXFeatures.C (getEncodingSet): make const
9883           (getLanguages): make const
9884
9885         * MenuBackend.C (binding): returns the binding associated to this
9886           action
9887           (add): sets the status of each item by calling getStatus. Adds
9888           some intelligence.
9889           (read): add support for OptSubMenu
9890           (expand): remove extra separator at the end of expanded menu
9891
9892 2003-02-15  John Levon  <levon@movementarian.org>
9893
9894         * BufferView.C:
9895         * BufferView_pimpl.C:
9896         * bufferlist.h:
9897         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9898           inset code that had no actual effect. Remove unneeded status
9899           code.
9900
9901 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9902
9903         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9904           in preamble
9905
9906 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9907
9908         * text.C (drawLengthMarker): also draw an arrow marker for
9909           symbolic lengths (medskip...)
9910
9911 2003-02-14  John Levon  <levon@movementarian.org>
9912
9913         * tabular.h:
9914         * tabular.C: better method names
9915
9916 2003-02-14  John Levon  <levon@movementarian.org>
9917
9918         * BufferView_pimpl.C:
9919         * bufferlist.C:
9920         * buffer.C:
9921         * converter.C:
9922         * lyx_cb.C:
9923         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9924           it's a more accurate name. Remove some pointless uses.
9925
9926 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9927
9928         * text2.C (LyXText): change order of initilizers to shut off
9929           warnings
9930
9931 2003-02-14  John Levon  <levon@movementarian.org>
9932
9933         * buffer.C: use ParIterator for getParFromID()
9934
9935         * paragraph.h:
9936         * paragraph.C:
9937         * paragraph_pimpl.h:
9938         * paragraph_pimpl.C: remove unused getParFromID()
9939
9940 2003-02-14  John Levon  <levon@movementarian.org>
9941
9942         * buffer.C: remove some very old #if 0'd parse code
9943
9944 2003-02-13  John Levon  <levon@movementarian.org>
9945
9946         * text.h:
9947         * text.C:
9948         * text2.C: move hfillExpansion(), numberOfSeparators(),
9949           rowLast(), rowLastPrintable(), numberofHfills(),
9950           numberOfLabelHfills() ...
9951
9952         * lyxrow.h:
9953         * lyxrow.C: ... to member functions here.
9954
9955         * paragraph.h:
9956         * paragraph.C:
9957         * lyxtext.h:
9958         * text.C: remove LyXText::beginningOfMainBody(), and call
9959           p->beginningOfMainBody() directly. Move the check for
9960           LABEL_MANUAL into the latter.
9961
9962         * text.h:
9963         * text.C:
9964         * text2.C:
9965         * vspace.C:
9966         * BufferView.h:
9967         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9968
9969         * text.h:
9970         * text.C:
9971         * text2.C:
9972         * text3.C:
9973         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9974           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9975
9976 2003-02-13  John Levon  <levon@movementarian.org>
9977
9978         * CutAndPaste.C: remove debug
9979
9980 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9981
9982         * paragraph.C (asString): remove two unused variables
9983
9984         * lyxtextclass.C (readTitleType):
9985           (Read):
9986           (LyXTextClass): handle new members titletype_ and titlename_
9987
9988         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9989
9990 2003-02-09  John Levon  <levon@movementarian.org>
9991
9992         * buffer.h:
9993         * buffer.C: replace hand-coded list with a map for the dep clean
9994
9995 2003-02-08  John Levon  <levon@movementarian.org>
9996
9997         * LaTeX.C: consolidate code into showRunMessage() helper
9998
9999 2003-02-08  John Levon  <levon@movementarian.org>
10000
10001         * lyxfind.C:
10002         * lyxtext.h:
10003         * text2.C:
10004         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10005           and pass the size in explicitly
10006
10007         * BufferView_pimpl.h:
10008         * BufferView_pimpl.C:
10009         * BufferView.h:
10010         * BufferView.C: add getCurrentChange()
10011
10012         * BufferView_pimpl.h:
10013         * BufferView_pimpl.C: handle change lfuns
10014
10015         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10016           for changes. Mark pasted paragraphs as new.
10017
10018         * support/lyxtime.h:
10019         * support/lyxtime.C:
10020         * DepTable.C: abstract time_t as lyx::time_type
10021
10022         * LColor.h:
10023         * LColor.C: add colours for new text, deleted text, changebars
10024
10025         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10026           package use "usenames" option.
10027
10028         * commandtags.h:
10029         * lyxfunc.C:
10030         * LyXAction.C: add change lfuns
10031
10032         * Makefile.am:
10033         * author.h:
10034         * author.C: author handling
10035
10036         * buffer.h:
10037         * buffer.C: add a per-buffer author list, with first entry as
10038           current author. Handle new .lyx tokens for change tracking. Output
10039           author list to .lyx file. Output dvipost stuff to .tex preamble.
10040           Bump lyx format to 222.
10041
10042         * bufferlist.h:
10043         * bufferlist.C: add setCurrentAuthor() to reset current author details
10044           in all buffers.
10045
10046         * bufferparams.h:
10047         * bufferparams.C: add param for tracking
10048
10049         * bufferview_funcs.C: output change info in minibuffer
10050
10051         * Makefile.am:
10052         * changes.h:
10053         * changes.C: add change-tracking structure
10054
10055         * debug.h:
10056         * debug.C: add CHANGES debug flag
10057
10058         * lyxfind.h:
10059         * lyxfind.C: add code for finding the next change piece
10060
10061         * lyxrc.h:
10062         * lyxrc.C: add user_name and user_email
10063
10064         * lyxrow.h:
10065         * lyxrow.C: add a metric for the top of the text line
10066
10067         * lyxtext.h:
10068         * text.C: implement accept/rejectChange()
10069
10070         * lyxtext.h:
10071         * text.C: paint changebars. Paint new/deleted text in the chosen
10072         colours. Strike through deleted text.
10073
10074         * paragraph.h:
10075         * paragraph.C:
10076         * paragraph_pimpl.h:
10077         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10078           in the current change to the insert functions. Rework erase to
10079           mark text as deleted, adding an eraseIntern() and a range-based
10080           erase(). Implement per-paragraph change lookup and
10081           accept/reject.
10082
10083         * paragraph_funcs.C: Fixup paste for change tracking.
10084
10085         * tabular.C: mark added row/columns as new.
10086
10087         * text.C: fix rowLast() to never return -1. Don't allow
10088           spellchecking of deleted text. Track transpose changes. Don't
10089           allow paragraph break or merge where appropriate.
10090
10091         * text2.C: leave cursor at end of selection after a cut.
10092
10093 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10094
10095         * text.C (getLengthMarkerHeight):
10096         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10097         visible on screen too.
10098
10099 2003-02-07  John Levon  <levon@movementarian.org>
10100
10101         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10102
10103 2003-02-05  Angus Leeming  <leeming@lyx.org>
10104
10105         * lyxserver.C (read_ready): revert my patch of 11 September last year
10106         as it sends PC cpu through the roof. Presumably this means that
10107         the lyxserver will no longer run on an Alpha...
10108
10109 2003-01-30  Angus Leeming  <leeming@lyx.org>
10110
10111         * factory.C (createInset): create an InsetCommandParam of type "index"
10112         and use it to 'do the right thing'.
10113
10114         * text2.C (getStringToIndex): ensure that cursor position is always
10115         reset to the reset_cursor position.
10116
10117 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10118
10119         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10120         disabled.
10121
10122 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10123
10124         * bufferview.C:
10125         * lyxcb.C:
10126         * lyxfunc.C: Output messages with identical spelling, punctuation,
10127         and spaces
10128
10129 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10130
10131         * MenuBackend.C (expandFormats): List only viewable export formats
10132         in "View" menu
10133
10134         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10135         message
10136
10137         * lyxfunc.C (getStatus): Make sure that formats other than
10138         "fax" can also be disabled
10139
10140 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10141
10142         * text3.C (dispatch): put the lfuns that insert insets in 3
10143         groups, and call doInsertInset with appropriate arguments.
10144         (doInsertInset): new function, that creates an inset and inserts
10145         it according to some boolean parameters.
10146
10147 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10148
10149         * buffer.C (readFile): remember to pass on 'par' when calling
10150         readFile recursively.
10151
10152 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10153
10154         * MenuBackend.C (expandFormats): add "..." to import formats.
10155
10156 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10157
10158         * paragraph.C (asString): Remove XForms RTL hacks.
10159
10160 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10161         * buffer.C: fix typo
10162
10163 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10164
10165         * Makefile.am (LIBS): delete var
10166         (lyx_LDADD): add @LIBS@ here instead.
10167
10168 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10169
10170         * Clarify the meaning of "wheel mouse jump"
10171
10172 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10173
10174         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10175         tabular in a float
10176
10177 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10178
10179         * importer.C (Loaders): do not preallocate 3 elements in the
10180         vector, since one ends up with 6 elements otherwise
10181
10182 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10183
10184         * DepTable.C (write): write the file name as last element of the
10185         .dep file (because it may contain spaces)
10186         (read): read info in the right order
10187
10188 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10189
10190         * paragraph_pimpl.C (simpleTeXBlanks):
10191         (simpleTeXSpecialChars):
10192         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10193
10194         * tabular.C (latex): add some missing case statements. Reindent.
10195
10196         * MenuBackend.C (expandToc): remove unused variable.
10197
10198 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10199
10200         * LColor.C:
10201         * LaTeX.C:
10202         * LyXAction.C:
10203         * MenuBackend.C:
10204         * buffer.C:
10205         * exporter.C:
10206         * lyxfunc.C:
10207         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10208         and the like.
10209
10210 2003-01-05  John Levon  <levon@movementarian.org>
10211
10212         * BufferView.h:
10213         * BufferView.C: add getEncoding()
10214
10215         * kbsequence.h:
10216         * kbsequence.C: do not store last keypress
10217
10218         * lyxfunc.h:
10219         * lyxfunc.C: store last keypress here instead. Pass encoding
10220           to getISOEncoded()
10221
10222 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10223
10224         * lyx_main.C (init): remove annoying error message when following
10225         symbolic links (bug #780)
10226
10227 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10228
10229         * text.C (insertChar):
10230         * lyxrc.C (getDescription): remove extra spaces
10231
10232 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10233
10234         * lyxrc.C (getDescription): remove extra spaces
10235
10236 2002-12-20  John Levon  <levon@movementarian.org>
10237
10238         * text3.C: hack fix for page up/down across tall rows
10239
10240 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10241
10242         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10243         not been invoked
10244
10245 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10246
10247         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10248         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10249         thesaurus is not compiled in
10250
10251 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10252
10253         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10254
10255 2002-12-16  Angus Leeming  <leeming@lyx.org>
10256
10257         * lyxrc.[Ch]:
10258         * lyx_main.C (init): remove override_x_deadkeys stuff.
10259
10260 2002-12-12  John Levon  <levon@movementarian.org>
10261
10262         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10263           insert. Only remove shift modifier under strict
10264           circumstances.
10265
10266 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10267
10268         * MenuBackend.C (expandToc): fix crash.
10269
10270 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10271
10272         * MenuBackend.C (expandToc): gettext on float names.
10273
10274 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10275
10276         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10277         implement bool empty() [bug 490]
10278
10279 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10280
10281         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10282
10283 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10284
10285         * several files: ws changes
10286
10287 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10288
10289         * text2.C (setCounter): clean up a bit, use boost.format.
10290         (updateCounters): initialize par upon declaration.
10291
10292         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10293         if the layout exists. We do not just store the layout any more.
10294         (SwitchLayoutsBetweenClasses): use boost.format
10295
10296 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10297
10298         * converter.C (convert): if from and to files are the same, use a
10299         temporary files as intermediary
10300
10301 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10302
10303         * commandtags.h:
10304         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10305
10306 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10307
10308         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10309
10310 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10311
10312         * tabular.C (asciiPrintCell): use string(size, char) instead of
10313         explicit loop.
10314
10315         * sgml.C (openTag): fix order of arguments to string constructor
10316         (closeTag): ditto
10317
10318         * lyxfunc.C (dispatch): use boost.format
10319
10320         * lots of files: change "c" -> 'c'
10321
10322 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10323
10324         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10325
10326 2002-11-25  Angus Leeming  <leeming@lyx.org>
10327
10328         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10329
10330         * lyx_main.C (init): compile fix.
10331
10332 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10333
10334         * lyx_cb.C (start): boost.formatify
10335         do not include <iostream>
10336
10337         * lengthcommon.C: ws only
10338
10339         * boost-inst.C,BoostFormat.h: add more explict instantations
10340
10341 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10342
10343         * lots of files: handle USE_BOOST_FORMAT
10344
10345 2002-11-21  John Levon  <levon@movementarian.org>
10346
10347         * pspell.C: fix compile
10348
10349 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10350
10351         * lyxfunc.C (dispatch): use boost::format
10352         (open): ditto
10353         (doImport): ditto
10354
10355         * lyxfont.C (stateText): use boost::format
10356
10357         * lyx_main.C (LyX): use boost::format
10358         (init): ditto
10359         (queryUserLyXDir): ditto
10360         (readRcFile): ditto
10361         (parse_dbg): ditto
10362         (typedef boost::function): use the recommened syntax.
10363
10364         * importer.C (Import): use boost::format
10365
10366         * debug.C (showLevel): use boost::format
10367
10368         * converter.C (view): use boost::format
10369         (convert): ditto
10370         (move): ditto
10371         (scanLog): ditto
10372
10373         * bufferview_funcs.C (currentState): use boost::format
10374
10375         * bufferlist.C (emergencyWrite): use boost::format
10376
10377         * buffer.C (readLyXformat2): use boost::format
10378         (parseSingleLyXformat2Token): ditto
10379
10380         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10381
10382         * LaTeX.C (run): use boost::format
10383
10384         * Chktex.C (scanLogFile): use boost::format
10385
10386         * BufferView_pimpl.C (savePosition): use boost::format
10387         (restorePosition): ditto
10388         (MenuInsertLyXFile): ditto
10389
10390         * BoostFormat.h: help file for explicit instation.
10391
10392 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10393
10394         * tabular.C (latex): Support for block alignment in fixed width
10395         columns.
10396
10397 2002-11-17  John Levon  <levon@movementarian.org>
10398
10399         * BufferView_pimpl.C:
10400         * lyx_cb.C:
10401         * lyxfunc.C: split filedialog into open/save
10402
10403 2002-11-08  Juergen Vigna  <jug@sad.it>
10404
10405         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10406         by my last patch (hopefully).
10407
10408 2002-11-08  John Levon  <levon@movementarian.org>
10409
10410         * iterators.h:
10411         * iterators.C:
10412         * buffer.h:
10413         * buffer.C:
10414         * paragraph.h:
10415         * paragraph.C:
10416         * toc.h:
10417         * toc.C: ParConstIterator, and use it (from Lars)
10418
10419 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10420
10421         * lyxtextclass.[Ch]: revise and add doxygen comments
10422
10423 2002-11-07  John Levon  <levon@movementarian.org>
10424
10425         * text.C: fix progress value for spellchecker
10426
10427         * toc.C: fix navigate menu for insetwrap inside minipage
10428
10429         * paragraph_funcs.C: added FIXME for suspect code
10430
10431 2002-11-07  John Levon  <levon@movementarian.org>
10432
10433         * BufferView_pimpl.C: fix redrawing of insets
10434           on buffer switch
10435
10436 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10437
10438         * text2.C (updateCounters): fix bug 668
10439
10440 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10441
10442         * text3.C (dispatch): Do not make the buffer dirty when moving the
10443         cursor.
10444
10445 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10446
10447         * vc-backend.C: STRCONV
10448         (scanMaster): ditto
10449
10450         * text2.C (setCounter): STRCONV
10451
10452         * paragraph.C (asString): STRCONV
10453
10454         * lyxlength.C (asString): STRCONV
10455         (asLatexString): ditto
10456
10457         * lyxgluelength.C (asString): STRCONV
10458         (asLatexString): ditto
10459
10460         * lyxfunc.C (dispatch): STRCONV
10461         (open): ditto
10462
10463         * lyxfont.C (stateText): STRCONV
10464
10465         * importer.C (Import): STRCONV
10466
10467         * counters.C (labelItem): STRCONV
10468         (numberLabel): ditto
10469         (numberLabel): remove unused ostringstream o
10470
10471         * chset.C: STRCONV
10472         (loadFile): ditto
10473
10474         * bufferview_funcs.C (currentState): STRCONV
10475
10476         * buffer.C (readFile): STRCONV
10477         (asciiParagraph): ditto
10478         (makeLaTeXFile): ditto
10479
10480         * Spacing.C (writeEnvirBegin): STRCONV
10481
10482         * LaTeXFeatures.C (getLanguages): STRCONV
10483         (getPackages): ditto
10484         (getMacros): ditto
10485         (getBabelOptions): ditto
10486         (getTClassPreamble): ditto
10487         (getLyXSGMLEntities): ditto
10488         (getIncludedFiles): ditto
10489
10490         * LaTeX.C: STRCONV
10491         (run): ditto
10492         (scanAuxFile): ditto
10493         (deplog): ditto
10494
10495         * LString.h: add the STRCONV macros
10496
10497         * BufferView_pimpl.C (savePosition): STRCONV
10498         (restorePosition): ditto
10499         (MenuInsertLyXFile): ditto
10500
10501         * vc-backend.C (scanMaster): change from submatch[...] to
10502         submatch.str(...)
10503
10504         * funcrequest.C: include config.h
10505
10506         * factory.C: include config.h
10507
10508         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10509
10510         * box.C: include config.h
10511
10512         * LaTeX.C (scanAuxFile): change from submatch[...] to
10513         submatch.str(...)
10514         (deplog): ditto
10515
10516 2002-10-25  Angus Leeming  <leeming@lyx.org>
10517
10518         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10519
10520         * ispell.[Ch] (setError): new method.
10521         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10522         Use setError() insetead of goto END.
10523
10524         * lyx_cb.C (AutoSave): move out child process into new class
10525         AutoSaveBuffer.
10526
10527 2002-10-30  John Levon  <levon@movementarian.org>
10528
10529         * text3.C: make start appendix undoable
10530
10531 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10532
10533         * lyxlength.C (inPixels): Fix returned value.
10534
10535         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10536         environment.
10537
10538 2002-10-24  Angus Leeming  <leeming@lyx.org>
10539
10540         * lyxgluelength.h: no need to forward declare BufferParams
10541         or BufferView, so don't.
10542
10543 2002-10-21  John Levon  <levon@movementarian.org>
10544
10545         * BufferView.C: menuUndo ->undo, redo
10546
10547         * BufferView.h: document, remove dead, make some methods private
10548
10549         * paragraph_funcs.h:
10550         * paragraph_funcs.C:
10551         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10552
10553         * buffer.h:
10554         * buffer.C:
10555         * sgml.h:
10556         * sgml.C: move sgml open/close tag into sgml.C
10557
10558         * bufferview_funcs.h: unused prototype
10559
10560         * lyxfunc.h:
10561         * lyxfunc.C: remove unused
10562
10563         * lyxtext.h:
10564         * text.C: remove unused
10565
10566 2002-10-21  John Levon  <levon@movementarian.org>
10567
10568         * BufferView.h:
10569         * BufferView.C:
10570         * BufferView_pimpl.h:
10571         * BufferView_pimpl.C: fix mouse wheel handling based on
10572           patch from Darren Freeman
10573
10574 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10575
10576         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10577
10578 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10579
10580         * lyxlength.C (inPixels): Fix hanfling of negative length.
10581         Fix LyXLength::MU case.
10582
10583 2002-10-16  John Levon  <levon@movementarian.org>
10584
10585         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10586
10587 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10588
10589         * converter.C (view): add support for $$i (file name) and $$p
10590         (file path) for the viewer command. If $$i is not specified, then
10591         it is appended to the command (for compatibility with old syntax)
10592
10593 2002-10-14  Juergen Vigna  <jug@sad.it>
10594
10595         * undo_funcs.C (textHandleUndo): alter the order in which the
10596         new undopar is added to the LyXText, as we have to set first
10597         the right prev/next and then add it as otherwise the rebuild of
10598         LyXText is not correct. Also reset the cursor to the right paragraph,
10599         with this IMO we could remove the hack in "redoParagraphs()".
10600
10601 2002-10-09  Angus Leeming  <leeming@lyx.org>
10602
10603         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10604         to turn off an optimisation if a new inset is to be inserted.
10605
10606 2002-10-11 André Pönitz <poenitz@gmx.net>
10607
10608         * lyxtext.h: make some functions public to allow access
10609         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10610
10611 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10612
10613         * text3.C (dispatch): when changing layout, avoid an infinite loop
10614         [bug #652]
10615
10616 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10617
10618         * lyxrc.C (read): treat a viewer or converter command of "none" as
10619         if it were empty.
10620
10621         * MenuBackend.C (expandFormats): for an update, also allow the
10622         formats that are not viewable
10623
10624         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10625         script if it is newer than the lyxrc.defaults in user directory
10626
10627 2002-10-07 André Pönitz <poenitz@gmx.net>
10628
10629         * text.C: Vitaly Lipatov's small i18n fix
10630
10631 2002-09-25  Angus Leeming  <leeming@lyx.org>
10632
10633         * ispell.h: doxygen fix.
10634
10635 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10636
10637         * buffer.h (readFile): Add a new argument to the method, to allow
10638         reading of old-format templates.
10639
10640 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10641
10642         * toc.C (getTocList): Get TOC from InsetWrap.
10643
10644 2002-09-16  John Levon  <levon@movementarian.org>
10645
10646         * lyxfunc.C: check tabular for cut/copy too
10647
10648 2002-09-12  John Levon  <levon@movementarian.org>
10649
10650         * LyXAction.C: tidy
10651
10652         * factory.h:
10653         * factory.C: add header
10654
10655         * paragraph_funcs.h:
10656         * paragraph_funcs.C: cleanup
10657
10658 2002-09-11  John Levon  <levon@movementarian.org>
10659
10660         * PrinterParams.h: odd/even default to true
10661
10662 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10663
10664         * PrinterParams.h: update printer parameters for new xforms dialog
10665
10666 2002-09-11  Angus Leeming  <leeming@lyx.org>
10667
10668         * lyxserver.C (read_ready): re-write to make it more transparent
10669         and to make it work in coherent fashion under Tru64 Unix.
10670
10671 2002-09-11  André Pönitz <poenitz@gmx.net>
10672
10673         * commandtags.h:
10674         * LyXAction.C:
10675         * text3.C: implement LFUN_WORDSEL
10676
10677 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10678
10679         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10680         make floatlist_ a boost::shared_ptr<FloatList>
10681
10682         * lyxtextclass.C: include FloatList.h
10683         (LyXTextClass): initialize floatlist_
10684         (TextClassTags): add TC_NOFLOAT
10685         (Read): match "nofloat" to TC_NOFLOAT and use it.
10686         (readFloat): modify call to floatlist_
10687         (floats): ditto
10688         (floats): ditto
10689
10690         * FloatList.[Ch] (FloatList): remove commented out float
10691         initialization.
10692         (erase): new function
10693
10694 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10695
10696         * MenuBackend.C (expandToc): fix crash when there is no document
10697         open
10698
10699 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10700
10701         * many files: Add insetwrap.
10702
10703 2002-09-09  John Levon  <levon@movementarian.org>
10704
10705         * text2.C: remove confusing and awkward depth wraparound
10706
10707 2002-09-09  John Levon  <levon@movementarian.org>
10708
10709         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10710
10711         * buffer.h:
10712         * buffer.C: remove getIncludeonlyList()
10713
10714         * paragraph.C:
10715         * lyxfunc.C: remove headers
10716
10717 2002-09-09  Juergen Vigna  <jug@sad.it>
10718
10719         * text.C (getColumnNearX): fix form Michael this is most
10720         probably a cut&paste bug.
10721
10722 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10723
10724         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10725
10726         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10727         references, ws changes.
10728
10729         * text2.C (init): update counters after init
10730         (insertParagraph): no need to set counter on idividual paragraphs.
10731         (setCounter): access the counters object in the textclass object
10732         on in the buffer object.
10733         (updateCounters): ditto
10734
10735         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10736         shared_ptr<Counters> to avoid loading counters.h in all
10737         compilation units.
10738         (LyXTextClass): initialize ctrs_
10739         (TextClassTags): add TC_COUNTER, and ...
10740         (Read): use it here.
10741         (CounterTags): new tags
10742         (readCounter): new function
10743         (counters): new funtion
10744         (defaultLayoutName): return a const reference
10745
10746         * counters.C (Counters): remove contructor
10747         (newCounter): remove a couple of unneeded statements.
10748         (newCounter): simplify a bit.
10749         (numberLabel): some small formatting changes.
10750
10751         * buffer.[Ch]: remove all traces of counters, move the Counters
10752         object to the LyXTextClass.
10753
10754 2002-09-06  Alain Castera  <castera@in2p3.fr>
10755
10756         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10757         package to set the horizontal alignment on fixed width columns.
10758
10759         * lyx_sty.C:
10760         * lyx_sty.h: added tabularnewline macro def.
10761
10762         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10763
10764 2002-09-06  John Levon  <levon@movementarian.org>
10765
10766         * LyXAction.C: tooltips for sub/superscript
10767
10768         * MenuBackend.C: a bit more verbose
10769
10770         * lyxfunc.C: tiny clean
10771
10772         * undo_funcs.C: document undo_frozen
10773
10774 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10775
10776         * counters.C (Counters): add missing algorithm counter.
10777
10778         * text2.C (setCounter): lookup the counter with layouts latexname
10779         instead of by section number.
10780         (setCounter): use a hackish way to lookup the correct enum
10781         counter.
10782         a float name->type change
10783         reset enum couners with counter name directly instead of depth value.
10784
10785         * counters.C (Counters): remove the push_backs, change to use the
10786         float type not the float name.
10787         (labelItem): remove unused string, float name->type change
10788
10789         * counters.h: don't include vector, loose the enums and sects vectors
10790
10791 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10792
10793         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10794         (Read): add float->TC_FLOAT to textclassTags
10795         (Read): and handle it in the switch
10796         (readFloat): new function
10797
10798         * FloatList.C (FloatList): comment out the hardcoded float
10799         definitions.
10800
10801         * lyxlayout.h: ws change.
10802
10803 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10804
10805         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10806
10807 2002-09-03  Angus Leeming  <leeming@lyx.org>
10808
10809         * BufferView_pimpl.h: qualified name is not allowed in member
10810         declaration: WorkArea & Pimpl::workarea() const;
10811
10812         * factory.C: added using std::endl directive.
10813
10814         * text3.C: added using std::find and std::vector directives.
10815
10816 2002-08-29  André Pönitz <poenitz@gmx.net>
10817
10818         * lyxtext.h:
10819         * text2.C: remove unused member number_of_rows
10820
10821         * Makefile.am:
10822         * BufferView2.C: remove file, move contents to...
10823         * BufferView.C: ... here
10824
10825         * BufferView_pimpl.C:
10826         * factory.C: move more inset creation to factory
10827
10828         * vspace.C: avoid direct usage of LyXText, ws changes
10829
10830         * BufferView.[Ch]:
10831                 don't provide direct access to WorkArea, use two simple
10832                 acessors haveSelction() and workHeight() instead
10833
10834
10835 2002-08-29  John Levon  <levon@movementarian.org>
10836
10837         * BufferView_pimpl.C (dispatch): do not continue when
10838           no buffer
10839
10840 2002-08-28  André Pönitz <poenitz@gmx.net>
10841
10842         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10843
10844         * BufferView.h:
10845         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10846
10847 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10848
10849         * buffer.C: increment LYX_FORMAT to 221
10850
10851         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10852         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10853
10854         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10855
10856         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10857
10858 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10859
10860         * factory.C (createInset): use LyXTextClass::floats
10861
10862         * MenuBackend.C (expandFloatListInsert):
10863         (expandFloatInsert):
10864         (expandToc):
10865
10866         * text2.C (setCounter):
10867
10868         * LaTeXFeatures.C (useFloat):
10869         (getFloatDefinitions):
10870
10871         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10872
10873         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10874         floatlist_, with accessor floats().
10875
10876         * FloatList.h: remove global FloatList
10877
10878 2002-08-26  André Pönitz <poenitz@gmx.net>
10879
10880         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10881
10882         * BufferView.h:
10883         * BufferView2.C:
10884         * BufferView_pimpl.C:
10885         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10886
10887 2002-08-25  John Levon  <levon@movementarian.org>
10888
10889         * LyXAction.C: fix margin note description
10890
10891 2002-08-24  John Levon  <levon@movementarian.org>
10892
10893         * buffer.C:
10894         * bufferlist.C:
10895         * bufferview_funcs.C:
10896         * lyxfont.C:
10897         * undo_funcs.C: cleanups
10898
10899         * lyxfunc.C: disable CUT/COPY when no selection
10900
10901 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10902
10903         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10904         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10905
10906         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10907         Add backward compatibility to "mono", "gray" and "no".
10908
10909 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10910
10911         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10912         (and file_format >= 200).
10913
10914 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10915
10916         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10917
10918 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10919
10920         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10921
10922 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10923
10924         * BufferView_pimpl.C:
10925         * LyXAction.C:
10926         * buffer.C:
10927         * commandtags.h:
10928         * lyxfunc.C:
10929         * paragraph.[Ch]:
10930         * text2.C:
10931         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10932         inset and code to make it  work with the paragraph code. The inset
10933         can be anywhere in the paragraph, but will only do the expected
10934         thing in LaTeX if the layout file contains the parameter line
10935                         OptionalArgs    1
10936         (or more generally, a nonzero value) for that layout.
10937
10938 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10939
10940         * paragraph.h: remove the declaration of undefined counters class
10941         function.
10942
10943 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10944
10945         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10946         Dr. Richard Hawkins.
10947
10948 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10949
10950         * paragraph_funcs.h: remove some unneeded includes
10951
10952         * text.C (backspace): pasteParagraph now in global scipe
10953
10954         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10955         (pasteSelection): ditto
10956
10957         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10958         * paragraph_funcs.C (pasteParagraph): ... here
10959
10960 2002-08-20  André Pönitz <poenitz@gmx.net>
10961
10962         * commandtags.h: new LFUNs for swapping/copying table row/colums
10963
10964         * LyXAction.C:
10965         * lyxfunc.C: support for new lfuns
10966
10967 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10968
10969         * tabular.C:
10970         * buffer.[Ch]: remove NO_COMPABILITY stuff
10971
10972 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10973
10974         * boost.C (throw_exception): new file, with helper function for
10975         boost compiled without exceptions.
10976
10977         * paragraph.h:
10978         * lyxlength.C:
10979         * buffer.C:
10980         * ParameterStruct.h:
10981         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10982
10983         * bufferlist.C (emergencyWriteAll): use boost bind
10984
10985         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10986
10987         * text.C: include paragraph_funcs.h
10988         (breakParagraph): breakParagraph is now in global scope
10989
10990         * paragraph_funcs.[Ch]: new files
10991
10992         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10993         global scope
10994
10995         * buffer.C: include paragraph_funcs.h
10996         (insertStringAsLines): breakParagraph is now in global scope
10997
10998         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10999         paragraph_funcs.C
11000
11001         * CutAndPaste.C: include paragraph_funcs.h
11002         (cutSelection): breakParagraphConservative is now in global scope
11003         (pasteSelection): ditto
11004
11005         * buffer.h: declare oprator== and operator!= for
11006         Buffer::inset_iterator
11007
11008         * bufferlist.C (emergencyWrite): don't use fmt(...)
11009
11010         * text3.C: add using std::endl
11011
11012         * BufferView.C (moveCursorUpdate): remove default arg
11013
11014 2002-08-20  André Pönitz <poenitz@gmx.net>
11015
11016         * buffer.[Ch]: move inline functions to .C
11017
11018         * BufferView2.C:
11019         * BufferView_pimpl.C:
11020         * text.C:
11021         * buffer.[Ch]: use improved inset_iterator
11022
11023         * buffer.C:
11024         * paragraph.[Ch]: write one paragraph at a time
11025
11026 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11027
11028         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11029         style if style is not specified.
11030
11031 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11032
11033         * text2.C (setCounter): when searching for right label for a
11034         caption, make sure to recurse to parent insets (so that a caption
11035         in a minipage in a figure float works) (bug #568)
11036
11037 2002-08-20  André Pönitz <poenitz@gmx.net>
11038
11039         * text3.C: new file for LyXText::dispatch() and helpers
11040
11041         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11042
11043         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11044
11045 2002-08-19  André Pönitz <poenitz@gmx.net>
11046
11047         * lyxtext.h:
11048         * text.C: new LyXText::dispatch()
11049
11050         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11051
11052 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11053
11054         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11055
11056         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11057         Hebrew text.
11058
11059 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11060
11061         * Makefile.am: use $(variables) instead of @substitutions@
11062
11063 2002-08-15  André Pönitz <poenitz@gmx.net>
11064
11065         * lyxfunc.C:
11066         * BufferView_pimpl.C: streamlining mathed <-> outer world
11067         interaction
11068
11069         * commandtags.h:
11070         * LyXAction.C: remove unused LFUN_MATH
11071
11072 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11073
11074         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11075
11076 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11077
11078         * paragraph.C (Paragraph): reformat a bit
11079         (cutIntoMinibuffer): use builtin InsetList function instad of
11080         doing it manually.
11081         (getInset): ditto
11082
11083         * buffer.C: include boost/bind.hpp, add using std::for_each
11084         (writeFileAscii): use ParagraphList iterators
11085         (validate): use for_each for validate traversal of paragraphs
11086         (getBibkeyList): use ParagraphList iterators
11087         (resizeInsets): use for_each to resizeInsetsLyXText for all
11088         paragraphs.
11089         (getParFromID): use ParagraphList iterators
11090
11091         * BufferView2.C (lockInset): use paragraph list and iterators
11092
11093 2002-08-14  John Levon  <levon@movementarian.org>
11094
11095         * lyxserver.C: remove spurious xforms include
11096
11097 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11098
11099         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11100
11101 2002-08-13  André Pönitz <poenitz@gmx.net>
11102
11103         * LyXAction.[Ch]:
11104         * lyxfunc.C: further cleaning
11105
11106 2002-08-13  André Pönitz <poenitz@gmx.net>
11107
11108         * funcrequest.h: new constructor
11109
11110         * funcrequest.C: move stuff here from .h
11111
11112         * Makefile.am:
11113         * BufferView_pimpl.C:
11114         * LyXAction.C:
11115         * toc.C:
11116         * lyxfunc.C: subsequent changes
11117
11118         * lyxfunc.h: new view() member function
11119
11120         * lyxfunc.C: subsequent changes
11121
11122 2002-08-13  Angus Leeming  <leeming@lyx.org>
11123
11124         * BufferView2.C:
11125         * BufferView_pimpl.C:
11126         * buffer.C:
11127         * converter.C:
11128         * importer.C:
11129         * lyxfunc.C:
11130         * lyxvc.C:
11131         * toc.C:
11132         * vc-backend.C:
11133         changes due to the changed LyXView interface that now returns references
11134         to member variables not pointers.
11135
11136 2002-08-13  Angus Leeming  <leeming@lyx.org>
11137
11138         * WordLangTuple (word, lang_code): return references to strings,
11139         not strings.
11140
11141         * BufferView.h:
11142         * SpellBase.h:
11143         * lyxtext.h: forward-declare WordLangTuple.
11144
11145         * BufferView2.C:
11146         * ispell.C:
11147         * pspell.C:
11148         * text.C: #include "WordLangTuple.h".
11149
11150         * lyxtext.h:
11151         * text.C: (selectNextWordToSpellcheck): constify return type.
11152
11153 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11154
11155         * buffer.C:
11156         * buffer.h:
11157         * lyxtext.h:
11158         * paragraph.C:
11159         * paragraph_pimpl.h:
11160         * text.C:
11161         * text2.C:
11162         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11163         suggested by Angus.
11164         Made updateCounter always count from start of buffer, and removed
11165         second argument (par).
11166         Reverted floats number display to '#'. Perhaps I'll try again when the
11167         code base is sanitized a bit.
11168
11169 2002-08-12  Angus Leeming  <leeming@lyx.org>
11170
11171         * buffer.[Ch] (getLabelList): constify.
11172
11173 2002-08-07  André Pönitz <poenitz@gmx.net>
11174
11175         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11176
11177         * funcrequest.h: extension to keep mouse (x,y) position
11178
11179 2002-08-12  Juergen Vigna  <jug@sad.it>
11180
11181         * BufferView2.C (insertErrors): forbid undo when inserting error
11182         insets.
11183
11184         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11185
11186 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11187
11188         * ParagraphList.[Ch]: new files
11189
11190         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11191
11192         * BufferView2.C (lockInset): ParagraphList changes
11193         * toc.C: ditto
11194         * text2.C: ditto
11195         * bufferlist.C: ditto
11196         * buffer.h: ditto
11197         * buffer.C: ditto
11198
11199 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11200
11201         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11202         unused class variable counter_,
11203
11204         * paragraph.[Ch] (getFirstCounter): delete unused function
11205
11206         * counters.C: include LAssert.h
11207         (reset): add a new function with no arg, change other version to
11208         not have def. arg and to not allow empty arg.
11209
11210         * text2.C (setCounter): remove empty arg from call to Counters::reset
11211
11212 2002-08-11  John Levon  <levon@movementarian.org>
11213
11214         * Makefile.am: add WordLangTuple.h
11215
11216 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11217
11218         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11219         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11220
11221         * insets/insettext.C: InsetList changes
11222
11223         * graphics/GraphicsSupport.C (operator()): InsetList changes
11224
11225         * toc.C (getTocList): InsetList changes
11226
11227         * paragraph_pimpl.[Ch]: InsetList changes
11228
11229         * paragraph.[Ch]: InsetList changes
11230
11231         * buffer.C (inset_iterator): InsetList changes
11232         (setParagraph): ditto
11233         * buffer.h (inset_iterator): ditto
11234         * iterators.C (operator++): ditto
11235         * iterators.h: ditto
11236
11237         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11238
11239         * InsetList.[Ch]: new files, most InsetList handling moved out of
11240         paragraph.C.
11241
11242         * BufferView2.C (removeAutoInsets): InsetList changes
11243         (lockInset): ditto
11244         (ChangeInsets): ditto
11245
11246 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11247
11248         * paragraph_pimpl.h (empty): new function
11249
11250         * paragraph.[Ch] (empty): new function
11251
11252         * other files: use the new Paragraph::empty function
11253
11254 2002-08-09  John Levon  <levon@movementarian.org>
11255
11256         * lyxtext.h: remove unused refresh_height
11257
11258 2002-08-09  John Levon  <levon@movementarian.org>
11259
11260         * Makefile.am:
11261         * sgml.h:
11262         * sgml.C:
11263         * buffer.C:
11264         * paragraph.h:
11265         * paragraph.C: move sgml char escaping out of paragraph
11266
11267         * paragraph.h:
11268         * paragraph.C: remove id setter
11269
11270         * buffer.C:
11271         * paragraph.C:
11272         * paragraph_pimpl.C: remove dead tex_code_break_column
11273
11274         * bufferview_funcs.C: small cleanup
11275
11276         * lyxfunc.C: remove dead proto
11277
11278         * lyxtext.h: make some stuff private. Remove some dead stuff.
11279
11280         * lyxgluelength.C: make as[LyX]String() readable
11281
11282 2002-08-08  John Levon  <levon@movementarian.org>
11283
11284         * LyXAction.h:
11285         * LyXAction.C:
11286         * MenuBackend.C:
11287         * ToolbarDefaults.C:
11288         * lyxfunc.C:
11289         * lyxrc.C:
11290         * toc.C: lyxaction cleanup
11291
11292 2002-08-08  John Levon  <levon@movementarian.org>
11293
11294         * BufferView2.C: small cleanup
11295
11296         * lyxfind.h:
11297         * lyxfind.C: move unnecessary header into the .C
11298
11299 2002-08-08  John Levon  <levon@movementarian.org>
11300
11301         * funcrequest.h: just tedious nonsense
11302
11303         * lyx_main.h:
11304         * lyx_main.C: cleanups
11305
11306         * buffer.C:
11307         * vspace.C: remove dead header lyx_main.h
11308
11309 2002-08-07  Angus Leeming  <leeming@lyx.org>
11310
11311         * Paragraph.[Ch]:
11312         * paragraph_pimpl.h:
11313         Forward declare class Counters in paragraph.h by moving the ctrs member
11314         variable into Paragraph::Pimpl.
11315         (counters): new method, returning a reference to pimpl_->ctrs.
11316
11317         * text2.C: ensuing changes.
11318
11319 2002-08-07  John Levon  <levon@movementarian.org>
11320
11321         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11322
11323         * BufferView_pimpl.C: announce X selection on double/triple
11324           click
11325
11326         * lyx_main.C: use correct bool in batch dispatch
11327
11328         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11329
11330 2002-08-07  André Pönitz <poenitz@gmx.net>
11331
11332         * funcrequest.h: new class to wrap a kb_action and its argument
11333
11334         * BufferView.[Ch]:
11335         * BufferView_pimpl[Ch]:
11336         * LaTeX.C:
11337         * LyXAction.[Ch]:
11338         * lyxfunc.[Ch]:
11339         * lyxrc.C: subsequent changes
11340
11341
11342 2002-08-07  John Levon  <levon@movementarian.org>
11343
11344         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11345           document options change.
11346
11347 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11348
11349         * counters.[Ch]
11350         * text2.C
11351         * paragraph.[Ch]
11352         * makefile.am: move counters functionality over from
11353         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11354
11355 2002-08-06  John Levon  <levon@movementarian.org>
11356
11357         * WordLangTuple.h: new file for word + language code tuple
11358
11359         * SpellBase.h:
11360         * pspell.h:
11361         * pspell.C:
11362         * ispell.h:
11363         * ispell.C:
11364         * lyxtext.h:
11365         * text.C:
11366         * text2.C:
11367         * BufferView.h:
11368         * BufferView2.C: use WordLangTuple
11369
11370         * layout.h:
11371         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11372
11373 2002-08-06  John Levon  <levon@movementarian.org>
11374
11375         * lyx_main.C: fix cmdline batch handling
11376
11377 2002-08-06  André Pönitz <poenitz@gmx.net>
11378
11379         * lyxrc.C: set default for show_banner to true
11380
11381 2002-08-06  John Levon  <levon@movementarian.org>
11382
11383         * pspell.C: fix a crash, and allow new aspell to work
11384
11385 2002-08-06  John Levon  <levon@movementarian.org>
11386
11387         * lyxfunc.C:
11388         * kbmap.C: small cleanup
11389
11390         * vspace.h:
11391         * vspace.C: add const
11392
11393 2002-08-05  John Levon  <levon@movementarian.org>
11394
11395         * LyXAction.C: back to tabular-insert
11396
11397 2002-08-04  John Levon  <levon@movementarian.org>
11398
11399         * BufferView.h:
11400         * BufferView.C: cosmetic change
11401
11402         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11403
11404         * bufferlist.C:
11405         * buffer.h:
11406         * buffer.C:
11407         * lyxcb.h:
11408         * lyxcb.C:
11409         * lyxserver.C:
11410         * lyxvc.C:
11411         * vc-backend.C:
11412         * BufferView2.C: purge all "Lyx" not "LyX" strings
11413
11414         * lyxcursor.h:
11415         * lyxcursor.C: attempt to add some documentation
11416
11417         * lyxfunc.C:
11418         * commandtags.h:
11419         * LyXAction.C:
11420         * ToolbarDefaults.C:
11421         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11422           merge with LFUN_TABULAR_INSERT
11423
11424         * Makefile.am:
11425         * SpellBase.h:
11426         * ispell.h:
11427         * ispell.C:
11428         * pspell.h:
11429         * pspell.C: split up i/pspell implementations into separate
11430           files, many cleanups
11431
11432         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11433
11434         * text2.C: some cleanup
11435
11436         * lyxfunc.C: don't check for isp_command == "none" any more, it
11437           didn't make any sense
11438
11439 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11440
11441         * counters.[Ch]
11442         * text2.C
11443         * paragraph.[Ch]
11444         * makefile.am: move counters functionality over
11445         from text2.C/paragraph.[Ch] to counters.[Ch], and
11446         make proper C++.
11447 2002-08-02  John Levon  <levon@movementarian.org>
11448
11449         * buffer.C: s/lyxconvert/lyx2lyx/
11450
11451 2002-08-02  Angus Leeming  <leeming@lyx.org>
11452
11453         * lyxlex.C: revert John's change as it breaks reading of the user
11454         preamble.
11455
11456 2002-08-02  Angus Leeming  <leeming@lyx.org>
11457
11458         * importer.C (Import):
11459         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11460         changes due to LyXView::view() now returning a boost::shared_ptr.
11461
11462 2002-08-02  John Levon  <levon@movementarian.org>
11463
11464         * lyxlex.C: small cleanup
11465
11466 2002-08-02  John Levon  <levon@movementarian.org>
11467
11468         * text2.C (status): small cleanup, no logic change
11469
11470 2002-08-01  John Levon  <levon@movementarian.org>
11471
11472         * buffer.h:
11473         * buffer.C (writeFile): don't output alerts, caller
11474           handles this
11475
11476         * bufferlist.C:
11477         * lyx_cb.C: from above
11478
11479         * lyxfunc.C: allow to open non-existent files
11480
11481 2002-07-31  John Levon  <levon@movementarian.org>
11482
11483         * lyxserver.C: don't let incidental errors get
11484           in the way (errno)
11485
11486 2002-07-30  John Levon  <levon@movementarian.org>
11487
11488         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11489
11490 2002-07-30  John Levon  <levon@movementarian.org>
11491
11492         * lyxserver.h:
11493         * lyxserver.C: remove I/O callback too
11494
11495 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11496
11497         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11498         log.
11499
11500 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11501
11502         * many files: strip,frontStrip -> trim,ltrim,rtrim
11503
11504 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11505
11506         * PrinterParams.h: remove extern containsOnly, and include
11507         support/lstrings.h instead.
11508
11509         * LaTeX.C (scanAuxFile): modify because of strip changes
11510         (deplog): ditto
11511         * buffer.C (makeLaTeXFile): ditto
11512         * bufferparams.C (writeFile): ditt
11513         * lyxfont.C (stateText): ditto
11514         * lyxserver.C (read_ready): ditto
11515         * vc-backend.C (scanMaster): ditto
11516
11517         * BufferView_pimpl.h: ws changes
11518
11519         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11520
11521 2002-07-26  André Pönitz <poenitz@gmx.net>
11522
11523         * kb_sequence.C: remove unnedred usings
11524
11525 2002-07-26  Juergen Vigna  <jug@sad.it>
11526
11527         * lyxfind.C (LyXReplace): we have to check better if the returned
11528         text is not of theLockingInset()->getLockingInset().
11529
11530 2002-07-25  Juergen Vigna  <jug@sad.it>
11531
11532         * lyxfind.C (LyXReplace): don't replace if we don't get the
11533         right LyXText.
11534
11535         * undo_funcs.C (createUndo): remove debugging code.
11536
11537 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11538
11539         * buffer.C (parseSingleLyXformat2Token): Use default placement
11540         when reading old floats.
11541
11542         * FloatList.C (FloatList): Change the default placement of figure
11543         and tables to "tbp".
11544
11545 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11546
11547         * MenuBackend.C: using std::max
11548
11549 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11550
11551         * MenuBackend.C (expandToc):
11552         (expandToc2): code moved from xforms menu frontend. It is now
11553         generic and TOCs are transparent to menu frontends.
11554
11555 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * toc.C (getTocList): protect against buf=0
11558
11559         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11560         Menu as first parameter. Now, this calls itself recursively to
11561         expand a whole tree (this will be useful for TOC handling)
11562         (expandFloatInsert): remove 'wide' version of floats
11563
11564         * MenuBackend.h (submenuname): returns the name of the submenu.
11565         (submenu): returns the submenu itself, provided it has been
11566         created by MenuBackend::expand
11567
11568 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11569
11570         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11571         insets which have noFontChange == true. (bug #172)
11572
11573 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11574
11575         * BufferView_pimpl.C: add connection objects and use them...
11576         (Pimpl): here.
11577
11578 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11579
11580         * MenuBackend.C (expandLastfiles):
11581         (expandDocuments):
11582         (expandFormats):
11583         (expandFloatListInsert):
11584         (expandFloatInsert):
11585         (expand): split expand in parts
11586
11587 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * lyx_gui.C: use lyx_gui::exit()
11590
11591 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * LyXAction.C: show the failing pseudo action
11594
11595 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11596
11597         * buffer.C (readFile): Run the lyxconvert script in order to read
11598         old files.
11599
11600 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * LyXAction.C:
11603         * commandtags.h:
11604         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11605
11606 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * LyXAction.C:
11609         * commandtags.h:
11610         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11611
11612 2002-07-22  Herbert Voss  <voss@lyx.org>
11613
11614         * lengthcommon.C:
11615         * lyxlength.[Ch]: add support for the vertical lengths
11616
11617 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11618
11619         * toc.[Ch]: std:: fixes
11620
11621 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11622
11623         * lyxrc.C: do not include lyx_main.h
11624
11625         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11626         for layouts
11627
11628         * lyxrc.C:
11629         * encoding.C:
11630         * bufferlist.C:
11631         * BufferView2.C: include "lyxlex.h"
11632
11633         * tabular.h:
11634         * bufferparams.h: do not #include "lyxlex.h"
11635
11636         * lyxtextclasslist.C (Add): remove method
11637         (classlist): renamed to classlist_
11638
11639         * paragraph_pimpl.C:
11640         * paragraph.C:
11641         * text2.C:
11642         * CutAndPaste.C:
11643         * bufferview_funcs.C:
11644         * bufferlist.C:
11645         * text.C:
11646         * LaTeXFeatures.C:
11647         * buffer.C:
11648         * toc.C (getTocList): use BufferParams::getLyXTextClass
11649
11650         * toc.C (getTocList): use InsetFloat::addToToc
11651
11652         * toc.[Ch]: new files, containing helper functions to handle table
11653         of contents
11654
11655         * lyxfunc.C (dispatch): no need to remove spaces around command
11656         given as a string
11657         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11658         first command of the sequence; it is not very clever, but I do not
11659         have a better idea, actually
11660
11661         * LyXAction.C (LookupFunc): make sure to remove space at the
11662         beginning and end of the command
11663
11664 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11665
11666         * MenuBackend.C (getMenubar): new method: return the menubar of
11667         this menu set
11668         (read): treat differently reading of menu and menubar (in
11669         particular, the menubar has no name now)
11670         (Menu::menubar): remove
11671
11672         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11673         saving is finished
11674
11675 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11676
11677         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11678         a bibitem inset in a RTL paragraph.
11679
11680 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11681
11682         * paragraph_pimpl.C: constify
11683
11684         * BufferView_pimpl.C:
11685         * LaTeX.C:
11686         * lyxfunc.C: fix dispatch in a nicer way
11687
11688 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11689
11690         * lyxfunc.C (dispatch):
11691         * BufferView_pimpl.C:
11692         * BufferView_pimpl.h:
11693         * BufferView.C:
11694         * BufferView.h: rename Dispatch() to dispatch()
11695
11696         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11697
11698         * lyxlayout.C (Read): honor DependsOn tag
11699
11700         * lyxlayout.[Ch] (depends_on): new method
11701
11702         * version.C.in: update lyx_docversion
11703
11704         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11705
11706         * paragraph.C (validate): remove from here...
11707         * paragraph_pimpl.C (validate): ... and move here
11708         (isTextAt): make it const
11709
11710         * buffer.C (getLists): ws cleanup
11711
11712 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11713
11714         * language.C (read): Use iso8859-1 encoding in latex_lang
11715         (this prevents LyX from crashing when using iso10646-1 encoding).
11716
11717 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11718
11719         * text2.C (toggleInset): if cursor is inside an inset, close the
11720         inset and leave cursor _after_ it
11721
11722 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * lyxfunc.C: move minibuffer completion handling out of here
11725
11726 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11727
11728         * BufferView_pimpl.C:
11729         * LaTeX.C: fix dispatch calls
11730
11731 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11732
11733         * text.C (drawChars): Fix Arabic text rendering.
11734
11735 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11736
11737         * LyXAction.C:
11738         * commandtags.h:
11739         * lyxfunc.C: remove message-push/pop
11740
11741         * lyxserver.C:
11742         * lyxfunc.h:
11743         * lyxfunc.C: rationalise some code by removing verboseDispatch
11744           in favour of a bool argument to dispatch()
11745
11746 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11747
11748         * lyx_main.C (init): make sure to read symlinks as absolute paths
11749
11750 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11751
11752         * lyxfunc.h:
11753         * lyxfunc.C: no need for commandshortcut to be a member
11754
11755 2002-07-15  André Pönitz <poenitz@gmx.net>
11756
11757         * converter.C: add support for $$s (scripts from lib/scripts dir)
11758         * lyx_main.C: white space
11759
11760 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11761
11762         * bufferlist.C:
11763         * lyxrc.h:
11764         * lyxrc.C: remove second exit confirmation
11765
11766 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11767
11768         * BufferView.h:
11769         * BufferView.C:
11770         * BufferView2.C:
11771         * BufferView_pimpl.h:
11772         * BufferView_pimpl.C:
11773         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11774
11775 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11776
11777         * MenuBackend.C (expand): add numeric shortcuts to document menu
11778
11779         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11780
11781 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11782
11783         * lyxfont.C (setLyXFamily):
11784         (setLyXSeries):
11785         (setLyXShape):
11786         (setLyXSize):
11787         (setLyXMisc):
11788         (lyxRead):
11789         * debug.C (value):
11790         * buffer.C (asciiParagraph): use ascii_lowercase
11791
11792 2002-07-15  Mike Fabian  <mfabian@suse.de>
11793
11794         * lyxlex_pimpl.C (search_kw):
11795         * lyxlex.C (getLongString):
11796         * converter.h (operator<):
11797         * converter.C (operator<):
11798         * buffer.C (parseSingleLyXformat2Token):
11799         (asciiParagraph):
11800         * ToolbarDefaults.C (read):
11801         * MenuBackend.C (checkShortcuts):
11802         (read):
11803         * LColor.C (getFromGUIName):
11804         (getFromLyXName): use the compare_ascii_no_case instead of
11805         compare_no_case, because in turkish, 'i' is not the lowercase
11806         version of 'I', and thus turkish locale breaks parsing of tags.
11807
11808 2002-07-16  Angus Leeming  <leeming@lyx.org>
11809
11810         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11811         now takes a Buffer const & argument.
11812
11813 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * BufferView.C (resize): check there's a buffer to resize
11816
11817 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11818
11819         * lyxfunc.C: remove dead code
11820
11821         * lyxserver.h:
11822         * lyxserver.C: use lyx_guii::set_read_callback
11823
11824 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11825
11826         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11827         an inset in a RTL paragraph.
11828
11829 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * lyxfunc.C: repaint after a font size update
11832
11833 2002-07-15  André Pönitz <poenitz@gmx.net>
11834
11835         * lyxlength.C: inBP should be able to return negative values
11836
11837 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11838
11839         * lyxfunc.C: use lyx_gui::update_fonts()
11840
11841 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11842
11843         * lyxfunc.C: use lyx_gui::update_color()
11844
11845 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * bufferlist.C:
11848         * lyxfunc.h:
11849         * lyxfunc.C:
11850         * lyxrc.h:
11851         * lyxrc.C: remove file->new asks for name option, and let
11852           buffer-new take an argument
11853
11854 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * BufferView_pimpl.C: remove unneeded extra repaint()
11857
11858 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * LyXAction.C: allow command-sequence with NoBuffer
11861
11862         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11863
11864 2002-07-10  Angus Leeming  <leeming@lyx.org>
11865
11866         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11867
11868 2002-07-09  Angus Leeming  <leeming@lyx.org>
11869
11870         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11871
11872 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * lengthcommon.h: whitespace
11875
11876         * lyxfunc.C: update scrollbar after goto paragraph
11877
11878         * lyxtext.h: factor out page break drawing, and fix it so
11879           page break/added space paints as selected nicely
11880
11881 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * BufferView_pimpl.C: add FIXMEs, clean up a little
11884
11885 2002-07-09  André Pönitz <poenitz@gmx.net>
11886
11887         * lyxfont.[Ch]: support for wasy symbols
11888
11889 2002-07-08  André Pönitz <poenitz@gmx.net>
11890
11891         * BufferView_pimpl.C: apply John's patch for #93.
11892
11893 2002-07-05  Angus Leeming  <leeming@lyx.org>
11894
11895         * BufferView_pimpl.C (buffer): generate previews if desired.
11896
11897         * LColor.h: add "preview" to the color enum.
11898
11899         * LColor.C (LColor): add a corresponding entry to the items array.
11900
11901         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11902         with this buffer.
11903
11904 2002-07-05  Angus Leeming  <leeming@lyx.org>
11905
11906         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11907         The body of the code is now in the method that is passed an ostream &
11908         rather than a file name.
11909         Pass an additional only_preamble parameter, useful for the forthcoming
11910         preview stuff.
11911
11912 2002-07-03  André Pönitz <poenitz@gmx.net>
11913
11914         * lyxfunc.C: simplify getStatus() a bit for math stuff
11915
11916 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11917
11918         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11919
11920 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11921
11922         * text.C (changeRegionCase): do not change case of all the
11923         document when region ends at paragraph end (bug #461)
11924
11925 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * paragraph.C (startTeXParParams):
11928         (endTeXParParams): add \protect when necessary
11929
11930 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11931
11932         * BufferView_pimpl.C (workAreaExpose): remove warning
11933
11934 2002-06-27  Angus Leeming  <leeming@lyx.org>
11935
11936         * Makefile.am: add lyxlayout_ptr_fwd.h.
11937
11938 2002-06-26  André Pönitz <poenitz@gmx.net>
11939
11940         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11941
11942 2002-06-25  Angus Leeming  <leeming@lyx.org>
11943
11944         * lyxfunc.C (dispatch): Comment out the call to
11945         grfx::GCache::changeDisplay. The method no longer exists now that the
11946         pixmap generation part of the graphics loader has been moved into
11947         InsetGraphics.
11948
11949 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * text2.C: layout as layout
11952
11953         * text.C: layout as layout
11954
11955         * tabular.C (OldFormatRead): layout as layout
11956
11957         * paragraph_pimpl.C (TeXDeeper): layout as layout
11958         (realizeFont): layout as layout
11959
11960         * paragraph.C (writeFile): layout as layout
11961         (validate): layout as layout
11962         (getFont): layout as layout
11963         (getLabelFont): layout as layout
11964         (getLayoutFont): layout as layout
11965         (breakParagraph): layout as layout
11966         (stripLeadingSpaces): layout as layout
11967         (getEndLabel): layout as layout
11968         (getMaxDepthAfter): layout as layout
11969         (applyLayout): layout as layout
11970         (TeXOnePar): layout as layout
11971         (simpleTeXOnePar): layout as layout
11972         (TeXEnvironment): layout as layout
11973         (layout): layout as layout
11974         (layout): layout as layout
11975
11976         * lyxtextclass.C (compare_name): new functor to work with
11977         shared_ptr, layout as layout
11978         (Read): layout as layout
11979         (hasLayout): layout as layout
11980         (operator): layout as layout
11981         (delete_layout): layout as layout
11982         (defaultLayout): layout as layout
11983
11984         * lyxlayout_ptr_fwd.h: new file
11985
11986         * lyxlayout.C (Read): layout as layout
11987
11988         * lyx_cb.C (MenuInsertLabel): layout as layout
11989
11990         * bufferlist.C (newFile): layout as layout
11991
11992         * buffer.C (readLyXformat2): layout as layout
11993         (parseSingleLyXformat2Token): layout as layout
11994         (insertStringAsLines): layout as layout
11995         (asciiParagraph): layout as layout
11996         (latexParagraphs): layout as layout
11997         (makeLinuxDocFile): layout as layout
11998         (simpleLinuxDocOnePar): layout as layout
11999         (makeDocBookFile): layout as layout
12000         (simpleDocBookOnePar): layout as layout
12001         (getLists): layout as layout
12002
12003         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12004
12005         * CutAndPaste.C (cutSelection): layout as layout
12006         (pasteSelection): layout as layout
12007         (SwitchLayoutsBetweenClasses): layout as layout
12008
12009         * BufferView_pimpl.C (Dispatch): layout as layout
12010         (smartQuote): layout as layout
12011
12012         * BufferView2.C (unlockInset): layout as layout
12013
12014 2002-06-24  André Pönitz <poenitz@gmx.net>
12015
12016         * lyxfunc.C: fix #487
12017
12018 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12019
12020         * lyxrc.h:
12021         * lyxrc.C:
12022         * lyxfunc.C: remove display_shortcuts, show_banner
12023
12024 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * Buffer_pimpl.C: oops, update on resize
12027
12028 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12029
12030         * buffer.C:
12031         * converter.C:
12032         * exporter.C:
12033         * lyxfunc.C:
12034         * BufferView.h:
12035         * BufferView.C: use repaint()
12036
12037         * BufferView_pimpl.h:
12038         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12039           as it's a clearer description. Remove superfluous
12040           redraws.
12041
12042 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * text.C: fix bug 488. Not ideal, but getting
12045           getWord() to work properly for the insets that
12046           matter is more difficult ...
12047
12048 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12049
12050         * BufferView_pimpl.C:
12051         * LyXAction.C:
12052         * commandtags.h:
12053         * lyxfunc.C: remove the six million index lyxfuncs to just
12054           one, and DTRT (bug 458)
12055
12056 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * BufferView.h:
12059         * BufferView.C:
12060         * BufferView_pimpl.h:
12061         * BufferView_pimpl.C: clean up resize() stuff,
12062           and unnecessary updateScreen()s
12063
12064 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * BufferView.h:
12067         * BufferView.C:
12068         * BufferView_pimpl.h:
12069         * BufferView_pimpl.C:
12070         * lyxfind.h:
12071         * lyxfind.C:
12072         * minibuffer.C: remove focus management of workarea,
12073           not needed. Use screen's greyOut()
12074
12075 2002-06-17  Herbert Voss  <voss@lyx.org>
12076
12077         * converter.C: (convert) do not post a message, when converting
12078         fails, let the calling function decide what to do in this case
12079
12080 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * lyxfunc.C: tidy up a little
12083
12084 2002-06-16    <alstrup@diku.dk>
12085
12086         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12087         Got rid of FORMS_H_LOCATION include. Now we are
12088         GUII.
12089
12090 2002-06-15  LyX Development team  <lyx@rilke>
12091
12092         * buffer.[Ch] (sgmlOpenTag):
12093         (sgmlCloseTag): Added support for avoiding pernicious mixed
12094         content. Return number of lines written.
12095
12096         (makeLinuxDocFile):
12097         (makeDocBookFile): Fixed calls to sgml*Tag.
12098         Simple white space clean.
12099
12100         (simpleDocBookOnePar): Simple white space clean.
12101
12102         * tabular.[Ch] (docBook): Renamed to docbook and got another
12103         argument to related with the pernicious mixed content.
12104
12105         (docbookRow): Fixed calls for docbook inset method.
12106
12107 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12108
12109         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12110         so it's X11 independent.
12111
12112         * kb*.[Ch]: ditto.
12113
12114         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12115
12116 2002-06-15  Lyx Development team  <lyx@electronia>
12117
12118         * intl.h: Renamed getTrans to getTransManager.
12119
12120 2002-06-14  Angus Leeming  <leeming@lyx.org>
12121
12122         * Makefile.am: nuke forgotten stl_string_fwd.h.
12123
12124 2002-06-12  Angus Leeming  <leeming@lyx.org>
12125
12126         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12127
12128 2002-06-13  Angus Leeming  <leeming@lyx.org>
12129
12130         * LaTeX.C:
12131         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12132
12133 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12134
12135         * kbmap.C (getiso): add support for cyrillic and greek
12136
12137 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * BufferView.h:
12140         * BufferView.C:
12141         * BufferView_pimpl.h:
12142         * BufferView_pimpl.C: move bogus scrolling logic
12143           to xforms
12144
12145 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * lyxfunc.C:
12148         * BufferView_pimpl.C: view->resize() change
12149
12150 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * BufferView_pimpl.C: topCursorVisible
12153           prototype change
12154
12155 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * Makefile.am:
12158         * lyx_gui.h:
12159         * lyx_gui.C: move to frontends/
12160
12161         * main.C:
12162         * lyx_main.h:
12163         * lyx_main.C: changes from above
12164
12165 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12166
12167         * intl.C:
12168         * intl.h:
12169         * kbmap.C:
12170         * kbsequence.C:
12171         * lyx_cb.C:
12172         * lyx_main.C: minor tidy
12173
12174 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * BufferView_pimpl.h:
12177         * BufferView_pimpl.C:
12178         * BufferView.h:
12179         * BufferView.C: make painter() const,
12180           remove dead code
12181
12182         * BufferView2.C: use screen() accessor
12183
12184         * lyx_main.h:
12185         * lyx_main.C: some minor cleanup
12186
12187 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * BufferView_pimpl.h:
12190         * BufferView_pimpl.C: remove enter/leaveView,
12191           use workHeight()
12192
12193 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12194
12195         * BufferView.h:
12196         * BufferView.C:
12197         * BufferView2.C:
12198         * BufferView_pimpl.h:
12199         * BufferView_pimpl.C: only construct screen once,
12200           rename
12201
12202         * lyxrc.C: remove pointless comment
12203
12204 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * BufferView.h:
12207         * BufferView.C: remove active() and belowMouse()
12208
12209         * BufferView_pimpl.h:
12210         * BufferView_pimpl.C: use workarea() not workarea_,
12211           and make it use a scoped_ptr instead
12212
12213 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * lyx_gui.C: add debug message on BadWindow
12216
12217 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12218
12219         * sp_spell.C: fdopen is not part of the C++ standard.
12220
12221         * paragraph.C (InsetIterator): use >= instead of ==
12222
12223 2002-06-07  Angus Leeming  <leeming@lyx.org>
12224
12225         Fixes needed to compile with Compaq cxx 6.5.
12226         * BufferView_pimpl.C:
12227         * DepTable.C:
12228         * buffer.C:
12229         * converter.C:
12230         * encoding.C:
12231         * lyx_gui.C:
12232         * lyx_main.C:
12233         * lyxtextclasslist.C:
12234         * minibuffer.C:
12235         * sp_spell.C:
12236         * tabular_funcs.C:
12237         * vc-backend.C:
12238         all c-library variables have been moved into namespace std. Wrap
12239         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12240
12241         * lyxlength.C:
12242         * tabular-old.C:
12243         * tabular.C:
12244         Add a using std::abs declaration.
12245
12246         * kbmap.h (modifier_pair):
12247         * paragraph.h (InsetTable, InsetList):
12248         * lyxfont.h (FontBits):
12249         type definition made public.
12250
12251         * bufferlist.C (emergencyWriteAll): the compiler complains that
12252         there is more than one possible lyx::class_fun template to choose from.
12253         I re-named the void specialisation as lyx::void_class_fun.
12254
12255         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12256
12257         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12258         the compiler is is unable to find tostr in write_attribute.
12259
12260 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12261
12262         * buffer.C (sgmlError): hide #warning
12263
12264 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12265
12266         * xtl/*: get rid of xtl, which is not in use anyway
12267
12268         * LyXAction.C (init):
12269         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12270         were unimplemented xtl experimentation
12271
12272 2002-06-04  André Pönitz <poenitz@gmx.net>
12273
12274         * lyxfunc.C: disable array operation on simple formulae
12275
12276 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * converter.C: constify a bit
12279
12280 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12281
12282         * lyx_gui.C: check xforms version correctly
12283
12284 2002-04-30  Herbert Voss  <voss@lyx.org>
12285
12286         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12287         "keep" option
12288
12289 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12292           attempt to register it with a VCS)
12293
12294 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12295
12296         * lyx_main.C (init): honor variables LYX_DIR_13x and
12297         LYX_USERDIR_13x
12298
12299 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12300
12301         * buffer.h:
12302         * buffer.C:
12303         * lyx_main.C: fix a crash on bad command line,
12304           and give a useful exit status on error
12305
12306         * lyxfunc.C (doImport): allow -i lyx to work
12307
12308 2002-03-30  André Pönitz <poenitz@gmx.net>
12309
12310         * lyxfunc.C: mathed font changes
12311
12312 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12313
12314         * LaTeX.C:
12315         * importer.h:
12316         * importer.C:
12317         * lyx_sty.h:
12318         * lyx_sty.C:
12319         * lyxlex.C:
12320         * lyxrow.h:
12321         * lyxtext.h:
12322         * paragraph.h:
12323         * paragraph.C:
12324         * texrow.h:
12325         * texrow.C:
12326         * text.C:
12327         * trans_mgr.h: srcdocs, and some minor cleanups
12328
12329 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12330
12331         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12332         call getFont all the time)
12333
12334 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * switch from SigC signals to boost::signals
12337
12338 2002-05-29  André Pönitz <poenitz@gmx.net>
12339
12340         * paragraph_pimpl.C (getChar): don't call size() too often...
12341
12342 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12343
12344         * paragraph_pimpl.C (insertChar): do not try to update tables when
12345         appending (pos == size())
12346
12347         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12348         in order to reduce drastically the number of comparisons needed to
12349         parse a large document
12350
12351 2002-05-29  André Pönitz <poenitz@gmx.net>
12352
12353         * text.C:
12354         * text2.C:
12355         * lyxtextclass.C:
12356         * sp_pspell.h:
12357         * textclasslist.[Ch]:
12358         * sp_ispell.h: whitespace change
12359
12360 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12361
12362         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12363         lyxaction directly now.
12364
12365 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * trans.C:
12368         * lyxfont.C:
12369         * lyxvc.C: remove unused headers
12370
12371 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12372
12373         * Makefile.am:
12374         * buffer.h:
12375         * undostack.h:
12376         * undostack.C:
12377         * undo_funcs.h:
12378         * undo_funcs.C: some cleanups. Use shared_ptr
12379           and a template for the undo stacks.
12380
12381 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12382
12383         * BufferView_pimpl.h:
12384         * BufferView_pimpl.C:
12385         * kbmap.h:
12386         * kbmap.C:
12387         * kbsequence.h:
12388         * kbsequence.C:
12389         * lyxfunc.h:
12390         * lyxfunc.C:
12391         * text2.C: use key_state/mouse_state
12392
12393 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12394
12395         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12396         and LSubstring
12397
12398         * chset.C: change include order
12399         (loadFile): use boost regex and get rid of LRegex and LSubstring
12400
12401         * Makefile.am (BOOST_LIBS): new variable
12402         (lyx_LDADD): use it
12403
12404         * LaTeX.C: change include order.
12405         (scanAuxFile): use boost regex and get rid of LRegex and
12406         LSubstring
12407         (deplog): ditto
12408
12409 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * ColorHandler.h:
12412         * ColorHandler.C:
12413         * FontInfo.h:
12414         * FontInfo.C: moved to frontends/xforms/
12415
12416         * FontLoader.h:
12417         * FontLoader.C: moved into frontends for GUIIzation
12418
12419         * Makefile.am:
12420         * lyx_gui.C:
12421         * lyxfont.C:
12422         * lyxfunc.C: changes from above
12423
12424 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * LColor.C: remove spurious X include
12427
12428         * BufferView_pimpl.C:
12429         * Makefile.am:
12430         * font.h:
12431         * font.C:
12432         * text.C:
12433         * text2.C: move font metrics to frontends/
12434
12435 2002-05-24  Juergen Vigna  <jug@sad.it>
12436
12437         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12438         setting the undo_cursor.
12439
12440         * ParagraphParameters.h: include local includes first.
12441
12442 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * BufferView_pimpl.C:
12445         * BufferView_pimpl.h:
12446         * Makefile.am:
12447         * WorkArea.h:
12448         * WorkArea.C:
12449         * screen.C: move WorkArea into frontends/
12450
12451         * lyxscreen.h:
12452         * screen.C:
12453         * text.C:
12454         * BufferView.C:
12455         * BufferView2.C: move LyXScreen into frontends/
12456
12457         * lyxlookup.h:
12458         * lyxlookup.C:
12459         * lyx_gui.C: move lyxlookup into frontends/xforms/
12460
12461 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12462
12463         * BufferView2.C:
12464         * BufferView_pimpl.C:
12465         * FontLoader.C:
12466         * LyXView.h:
12467         * LyXView.C:
12468         * Makefile.am:
12469         * WorkArea.C:
12470         * XFormsView.h:
12471         * XFormsView.C:
12472         * buffer.C:
12473         * bufferlist.C:
12474         * bufferview_funcs.C:
12475         * converter.C:
12476         * importer.C:
12477         * lyx_cb.C:
12478         * lyx_gui.C:
12479         * lyx_main.C:
12480         * lyx_find.C:
12481         * lyxfunc.C:
12482         * lyxvc.C:
12483         * minibuffer.C:
12484         * text.C:
12485         * text2.C:
12486         * trans.C:
12487         * vc-backend.C: move LyX/XFormsView into frontends/
12488
12489 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * Makefile.am:
12492         * PainterBase.C:
12493         * PainterBase.h:
12494         * Painter.C:
12495         * Painter.h:
12496         * WorkArea.C:
12497         * WorkArea.h:
12498         * screen.C:
12499         * tabular.C:
12500         * text.C:
12501         * text2.C: move Painter to frontends/
12502
12503 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12504
12505         * buffer.C: comment out some some code that depend upon lyx_format
12506         < 220
12507
12508         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12509         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12510
12511         * buffer.h (NO_COMPABILITY): turn off compability
12512
12513         * ColorHandler.C: include scoped_array.hpp
12514
12515         * font.C: Use more specific smart_ptr header.
12516         * Painter.C: ditto
12517         * gettext.C: ditto
12518         * ShareContainer.h: ditto
12519         * lyx_main.h: ditto
12520         * kbmap.h: ditto
12521         * FontInfo.h: ditto
12522         * BufferView_pimpl.h: ditto
12523         * ColorHandler.h: ditto
12524
12525         * kbmap.C (defkey): change call to shared_ptr::reset
12526
12527 2002-05-21  Juergen Vigna  <jug@sad.it>
12528
12529         * buffer.C (insertErtContents): fix to insert ert asis if it is
12530         non empty. Skip it completely if it contains only whitespaces.
12531
12532 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * BufferView_pimpl.C:
12535         * BufferView2.C: clear selection on paste (bug 393)
12536
12537 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * DepTable.C: include ctime
12540
12541 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12542
12543         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12544
12545 2002-05-14  Juergen Vigna  <jug@sad.it>
12546
12547         * text.C (breakParagraph): fixed function to honor the keepempty
12548         layout in the right maner and also to permit the right breaking
12549         algorithm on empty or non empyt keepempty paragraphs.
12550
12551         * paragraph.C (breakParagraph): we have to check also if the par
12552         is really empty (!size()) for isempty otherwise we do the wrong
12553         paragraph break.
12554
12555 2002-05-10  Juergen Vigna  <jug@sad.it>
12556
12557         * buffer.[Ch] : The following are only changes to the ert
12558         compatibility read reading old LaTeX layout and font stuff and
12559         convert it to ERTInsets.
12560
12561         * buffer.h: added isErtInset().
12562
12563         * buffer.C (struct ErtComp): add a fromlayout bool to check
12564         if we're inside a LaTeX layout.
12565         (isErtInset): new helper function.
12566         (insertErtContents): look for other ert insets before this one
12567         and insert the contents there, so that we don't have subsequent
12568         ERT insets with nothing between them. This way we create only one
12569         inset with multiple paragraphs. Also check if we don't insert only
12570         spaces ' ' as they are ignored anyway afterwards in the .tex file
12571         so if we have only spaces we will ignore this latex part in the
12572         new file.
12573         (parseSingleLyXformat2Token \\layout): better compatibility when
12574         reading layout-latex stuff.
12575         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12576         language tag.
12577         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12578         stuff after reading the inset only get the information back from
12579         the stack.
12580
12581 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12582
12583         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12584
12585         * LaTeXFeatures.C (getBabelOptions): New method.
12586
12587 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12588
12589         * BufferView_pimpl.C (Dispatch): work around missing argument for
12590         'layout'
12591
12592 2002-05-08  Juergen Vigna  <jug@sad.it>
12593
12594         * text.C (leftMargin): handle paragraph leftindent.
12595
12596         * paragraph.C (writeFile): write the new \\leftindent tag.
12597         (validate): handle leftindent code.
12598         (TeXEnvironment): handle paragraphleftindent code again.
12599
12600         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12601
12602         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12603         for paragrap_extra indent code and new token \\leftindent.
12604         (latexParagraphs): handle the leftindent as environment.
12605
12606         * ParameterStruct.h: added leftindent support.
12607
12608         * ParagraphParameters.C (leftIndent): added support functions for
12609         the paragraph left indent.
12610
12611         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12612         more appropriate.
12613
12614 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12615
12616         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12617         inside insetERT.
12618
12619         * text.C (computeBidiTables): No bidi in insetERT.
12620
12621         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12622         in RTL documents.
12623
12624 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12625
12626         * version.C.in: pre 5
12627
12628 2002-05-02  José Matos  <jamatos@fep.up.pt>
12629         * buffer.C (makeDocBookFile): white space changes, add newline to
12630         command styles.
12631         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12632
12633         * tabular.C (docBook): fix typo.
12634
12635 2002-05-03  Juergen Vigna  <jug@sad.it>
12636
12637         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12638         change in LyXText as we can not be sure it was not freed.
12639         (drawOneRow): remove unused code.
12640
12641         * text.C (drawInset): redo the calculation of the need_break_row as
12642         it could have a row which was already freed.
12643         (draw): look at the return value of drawInset and return false if
12644         it also returned false.
12645         (paintRowText): look at the return value of draw and return false if
12646         it also returned false.
12647
12648         * lyxtext.h: added bool return type to drawInset() and draw() so that
12649         if we have a change in the row so that the rowbreak has to be redone
12650         we abort drawing as it will be called again.
12651
12652 2002-05-02  Juergen Vigna  <jug@sad.it>
12653
12654         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12655         a change in the maintext also if we're inside an inset.
12656         (Dispatch): set the cursor again after a break line and after the
12657         screen has been updated as it could be we're in a different row.
12658
12659         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12660         to set the cursor behind the pargraph with > size().
12661         (setCursor): check also for the same paragraph when checking where
12662         to put the cursor if we have a NFR inset.
12663
12664         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12665         parts of layout read further up as it still was in the wrong
12666         position.
12667
12668 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12669
12670         * screen.C (drawFromTo): change sine fullRebreak always return
12671         true.
12672
12673         * buffer.C (parseSingleLyXformat2Token): reindent some
12674
12675         * BufferView_pimpl.C (update): change since fullRebreak always
12676         return true.
12677         (Dispatch): git rid of the last hardcoded "Standard"s.
12678
12679 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * text2.[Ch] (fullRebreak): make it return void now that we always
12682         returned true.
12683
12684 2002-04-30  Juergen Vigna  <jug@sad.it>
12685
12686         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12687         ert compatibility check for "latex" layout.
12688
12689 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12690
12691         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12692         minipages: use col% instead of p%, and also use the current font.
12693         (makeLaTeXFile): Fix use babel condition.
12694         (parseSingleLyXformat2Token): Correct font when reading old floats.
12695
12696 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12697
12698         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12699         inserting list of floats.
12700
12701 2002-04-25  Herbert Voss  <voss@lyx.org>
12702
12703         * MenuBackend.C (expand): don't add the graphics extensions to the
12704         export menu
12705
12706 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12707
12708         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12709         non-existing layout, do not complain if it was the default layout
12710         of the original class (bug #342)
12711
12712 2002-04-24  Juergen Vigna  <jug@sad.it>
12713
12714         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12715         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12716
12717 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12718
12719         * buffer.C (getBibkeyList): If using \bibliography, return the
12720         option field with the reference itself. Enables us to provide natbib
12721         support when using \bibliography.
12722
12723 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12724
12725         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12726
12727         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12728         natbib is provided by the LaTeX class.
12729
12730 2002-04-23  Juergen Vigna  <jug@sad.it>
12731
12732         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12733         Wakeup functions.
12734
12735         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12736
12737 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12738
12739         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12740
12741         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12742         ensuremath around textordmasculine, textordfeminine and
12743         textdegree.
12744
12745 2002-04-19  Juergen Vigna  <jug@sad.it>
12746
12747         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12748         reinitializing the buffer otherwise row-dimensions may be wrong.
12749         (update): reset also the selection cursors if they do exits otherwise
12750         their x/y positions may be wrong.
12751
12752         * text2.C (cursorDown): don't enter the inset if we came from a row
12753         above and are one row over the inset.
12754
12755         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12756         really leaving an inset.
12757
12758 2002-04-18  Juergen Vigna  <jug@sad.it>
12759
12760         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12761         of the selected paragraph does not have the selected layout also if
12762         the last one had!
12763
12764         * text2.C (setLayout): fixed bug which did not change last selected
12765         paragraph.
12766
12767         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12768         changed the read and substituted \\end_float with \\end_inset!
12769
12770         * BufferView_pimpl.C (cursorPrevious):
12771         (cursorNext): fixed to make it work with rows heigher than the work
12772         area without moving the cursor only the draw of the row.
12773         (workAreaMotionNotify): fix jumping over high rows.
12774
12775 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12778         Ressler.
12779
12780 2002-04-16  Juergen Vigna  <jug@sad.it>
12781
12782         * text2.C (setCursor): set also the irow().
12783         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12784         (cursorUp):
12785         (cursorDown): support for locking an inset if the x_fix value goes
12786         inside it. That way I can transverse insets too with cursor up/down.
12787
12788         * lyxrow.h: added irow helper function same as other (i) functions.
12789
12790         * BufferView_pimpl.C (cursorPrevious):
12791         (cursorNext): fixed for insets!
12792
12793 2002-04-15  Juergen Vigna  <jug@sad.it>
12794
12795         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12796         position otherwise it is wrong in some cases.
12797
12798         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12799         inside the inset before the call.
12800
12801 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12802
12803         * buffer.[Ch] (getBibkeyList): make it const.
12804
12805 2002-04-12  Juergen Vigna  <jug@sad.it>
12806
12807         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12808
12809         * text2.C (getCursorX): new helper function
12810         (setCursor): compute also ix_
12811         (setCursorFromCoordinates): set also ix.
12812
12813         * lyxcursor.h: added ix_ and helper functions.
12814
12815         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12816
12817         * buffer.C (insertStringAsLines): dont break paragraph if the this
12818         paragraph is inside an inset which does not permit it!
12819
12820         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12821         also with no chars on this paragraph.
12822         (paintRowText): only paint stuff if it's inside the workarea!
12823
12824         * paragraph.C (breakParagraph): honor keepempty flag and break the
12825         paragraph always below not above.
12826
12827         * BufferView2.C (unlockInset): update the paragraph layout on inset
12828         unlock as we changed paragraph in such a case.
12829
12830         * lyxfind.C (LyXFind): clear the former selection if not found!
12831
12832         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12833         again called in insertChar().
12834
12835         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12836         an inset which uses the whole row!
12837         (rightMargin): ditto.
12838         (insertChar): force a rebreak if we inserted an inset!
12839
12840 2002-03-28  Herbert Voss  <voss@lyx.org>
12841
12842         * lyxlength.[Ch]: add inBP() to get the right PS-point
12843         units (BigPoint). With inPixels we have rounding errors
12844
12845 2002-04-11  Juergen Vigna  <jug@sad.it>
12846
12847         * text2.C (setCursorFromCoordinates): set iy to the right value.
12848         (setCursor): add check if row->previous exists!
12849
12850         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12851         an old float_type as this was the case in the old code!
12852
12853         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12854
12855         * BufferView2.C (showLockedInsetCursor): use iy
12856         (fitLockedInsetCursor): ditto
12857
12858         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12859         locked insets as there we have the right value now.
12860
12861         * lyxcursor.C: added iy_ variable and iy functions to set to the
12862         baseline of cursor-y of the locked inset.
12863
12864         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12865         (setCursor): fixed for insets which need a full row.
12866
12867         * text.C (rowLastPrintable): don't ignore the last space when before
12868         an inset which needs a full row.
12869         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12870         as last character of a row when before a inset which needs a full row.
12871
12872 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12873
12874         * version.C.in: update date
12875
12876         * text2.C (fullRebreak): try to always return true and see what
12877         happens...
12878
12879 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12880
12881         * MenuBackend.C (expand): use Floating::listName
12882
12883         * FloatList.C (FloatList): add listName argument to the built-in
12884         floats
12885
12886         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12887         text associated with the float.
12888
12889 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12890
12891         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12892
12893 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12894
12895         * ShareContainer.h: add a couple of missing typenames.
12896
12897 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12898
12899         * lyxrc.C (getDescription): use _() correctly rather than N_().
12900
12901 2002-03-28  Herbert Voss  <voss@lyx.org>
12902
12903         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12904         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12905
12906 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12907
12908         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12909         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12910
12911 2002-03-29  Juergen Vigna  <jug@sad.it>
12912
12913         * lyxfunc.C (dispatch): add a missing fitCursor call.
12914
12915         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12916         it was scrolled by a cursor move, so return the bool status.
12917
12918         * BufferView.C (fitCursor): return the bool flag also to the outside
12919         world as this is needed.
12920
12921         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12922
12923         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12924         call the edit() as it is not needed (and wrong) IMO.
12925         (workAreaButtonPress): set the screen_first variable before evt.
12926         unlock the inset as this may change screen_first and then we have
12927         a wrong y position for the click!
12928
12929 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12930
12931         * MenuBackend.C (expand): another translation that I missed
12932
12933 2002-03-28  Juergen Vigna  <jug@sad.it>
12934
12935         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12936
12937         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12938
12939 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12940
12941         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12942
12943         * MenuBackend.C (expand): fix export/view/update when there is no
12944         document open.
12945
12946 2002-03-27  Herbert Voss  <voss@lyx.org>
12947
12948         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12949         and text%
12950
12951 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12952
12953         * bufferview_funcs.C (currentState): only show paragraph number
12954         for is DEVEL_VERSION is set.
12955
12956         * lyxfunc.C (dispatch): put warning in INFO channel
12957
12958         * MenuBackend.C (expand): translate the name of floats
12959
12960         * FloatList.C (FloatList): mark the float names for translation
12961
12962         * converter.C (convert): use LibScriptSearch
12963
12964 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12965
12966         * MenuBackend.C (defaults): fix default menu (we might as well get
12967         rid of it...)
12968
12969 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12972         directory.
12973
12974 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12975
12976         * lyxvc.C: reorder includes.
12977
12978 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12979
12980         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12981           properly
12982
12983 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12984
12985         * CutAndPaste.C: change layouts earlier on paste
12986           to avoid crashing when calling getFont()
12987
12988 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12989
12990         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12991         irritating #error.
12992
12993 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12994
12995         * WorkArea.C: remove 'Pending' debug message.
12996
12997         * most files: ws cleanup
12998
12999         * buffer.[Ch]: ws changes
13000
13001         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13002
13003 2002-03-21  Juergen Vigna  <jug@sad.it>
13004
13005         * tabular.C (SetMultiColumn): collapse also the contents of the
13006         cells and set the last border right. Added a Buffer const * param.
13007
13008 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13011         linking or not.
13012
13013 2002-03-19  Juergen Vigna  <jug@sad.it>
13014
13015         * text2.C (clearSelection): reset also xsel_cache.
13016
13017         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13018         where it needs to be called (John tells us to do so too :)
13019         (selectionLost): reset sel_cache.
13020
13021         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13022
13023 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13024
13025         * text2.C (setCursorIntern): put debuging code in INSETS channel
13026
13027 2002-03-19  André Pönitz <poenitz@gmx.net>
13028
13029         * lyxfunc.C: tiny whitespace change
13030
13031 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13032
13033         * ToolbarDefaults.C (init):
13034         * LyXAction.C (init):
13035         * commandtags.h:
13036         * BufferView_pimpl.C (Dispatch):
13037         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13038
13039 2002-03-19  Allan Rae  <rae@lyx.org>
13040
13041         * exporter.C (Export): removeAutoInsets before doing anything else.
13042         While I've just introduced a dependency on BufferView this really is
13043         the best place to clean the buffer otherwise you need to cleanup in
13044         a dozen places before calling export or cleanup in a dozen functions
13045         that export calls.
13046
13047         * converter.C (runLaTeX):
13048         (scanLog): Better handling of removeAutoInsets and screen updates.
13049
13050         * lyxfunc.C (dispatch): small whitespace changes
13051
13052 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13053
13054         * WorkArea.C (C_WorkAreaEvent): return a value.
13055         (event_cb): return 1 if we handled the event, 0 otherwise.
13056
13057         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13058
13059 2002-03-18  Juergen Vigna  <jug@sad.it>
13060
13061         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13062         (GetAdditionalWidth): ditto.
13063         (RightLine): ditto.
13064         (LeftLine): ditto.
13065
13066         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13067         inset if we're there actually (probably not used right now but this
13068         is the direction to go for unifying code).
13069         (paste): disable code to clear the selection.
13070
13071         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13072         inside an InsetText and move the check further up as it is in the
13073         wrong place.
13074
13075         * text2.C (pasteSelection): set a selection over the pasted text.
13076
13077 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13078
13079         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13080         and libgraphics to build on Cygwin.
13081
13082 2002-03-15  Juergen Vigna  <jug@sad.it>
13083
13084         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13085         inserting an Inset into the paragraph. I know this is not the best
13086         fix but we already use current_view in CutAndPaste so we will remove
13087         all of it's using at the same time.
13088
13089         * buffer.C (sgmlError): deactivated function till it is rewritten in
13090         the right mode, now it can create problems.
13091
13092         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13093         before accessing it.
13094
13095 2002-03-14  Juergen Vigna  <jug@sad.it>
13096
13097         * undo_funcs.C (textHandleUndo): do the right thing when updating
13098         the inset after the undo/redo.
13099
13100         * text2.C (setCursor): just some testcode for #44 not ready yet.
13101
13102         * undo_funcs.C (textHandleUndo): set the next() and previous()
13103         pointers of the paragraph to 0 before deleting otherwise we have
13104         problems with the Paragraph::[destructor].
13105
13106         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13107         on a paragraph insertion.
13108
13109 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * buffer.C (asciiParagraph): use += operator for char append to
13112         string.
13113
13114         * paragraph.C (getFontSettings): compare >= not just >
13115         (highestFontInRange): ditto
13116         (setFont): ditto
13117
13118 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13119
13120         * paragraph.C: change several algorithm to be more appripriate for
13121         the problem domain. This is lookip in FontList and in the InsetList.
13122
13123 2002-03-13  André Pönitz <poenitz@gmx.net>
13124
13125         * commandtags.h:
13126         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13127
13128 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13129
13130         * commandtags.h:
13131         * LyXAction.C:
13132         * lyxfunc.C:
13133         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13134
13135 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13136
13137         * Painter.C (display): anon helper function, adjust code for this
13138         change.
13139         (pixmap): remove function.
13140
13141         * Painter.h: remove private display variable.
13142
13143         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13144
13145 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13146
13147         * WorkArea.[Ch]: remove figinset_canvas cruft.
13148
13149 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * lyxtextclass.C (operator): add one item cache optimization.
13152
13153         * bufferlist.h: doxy changes
13154
13155         * bufferlist.C: ws changes
13156
13157         * DepTable.[Ch] (ext_exist): place const in the right spot.
13158
13159         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13160         call resizeInsets.
13161         (workAreaExpose): call resizeInsets when the with BufferView changes.
13162         (Dispatch): adjust for protectedBlank removal
13163         (specialChar): call updateInset if the insert went ok.
13164
13165         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13166         specialChar instead.
13167
13168         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13169
13170         * BufferView.h: doxy change
13171
13172         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13173
13174         * lyxtextclass.C (operator[]): remove non-const version
13175         (defaultLayout): remove non-const version
13176
13177 2002-03-12  Juergen Vigna  <jug@sad.it>
13178
13179         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13180         did resize the LyXText too.
13181
13182         * buffer.C (readLyXformat2): set layout information on newly allocated
13183         paragraphs.
13184
13185         * tabular.C (OldFormatRead): set layout information on the paragraph.
13186
13187 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13188
13189         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13190
13191 2002-03-11  Juergen Vigna  <jug@sad.it>
13192
13193         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13194         plainly wrong.
13195         (resizeCurrentBuffer): force also the insets to resize themselfes.
13196         (moveCursorUpdate): fixed up for InsetText.
13197
13198 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13199
13200         * commandtags.h:
13201         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13202         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13203         value of Dialogs::tooltipsEnabled().
13204         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13205
13206 2002-03-08  Juergen Vigna  <jug@sad.it>
13207
13208         * BufferView_pimpl.C (updateInset): update inset inside inset also
13209         if it isn't inside theLockingInset().
13210
13211 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13212
13213         * buffer.C (asciiParagraph): redo some of the word and line length
13214         handling.
13215         (getLists): look for Caption instead of caption.
13216
13217 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13218
13219         * buffer.C (Buffer): initialize niceFile to true
13220         (makeLaTeXFile):
13221         (makeLinuxDocFile):
13222         (makeDocBookFile): make sure niceFile is true on exit
13223
13224 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13225
13226         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13227
13228 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13229
13230         * LyXSendto.C: remove.
13231         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13232         * lyx_gui.C: remove now-redundant comment.
13233         * ColorHandler.h: remove forward declaration of class WorkArea.
13234         * lyxfunc.C: remove #include "WorkArea.h".
13235
13236 2002-03-07  Juergen Vigna  <jug@sad.it>
13237
13238         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13239         got moved away with the DEPM and also set the inset_owner always
13240         right which before could have been omitted.
13241
13242 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13245         wanted layout is not found.
13246
13247 2002-03-07  Juergen Vigna  <jug@sad.it>
13248
13249         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13250
13251 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13252
13253         * paragraph.C (breakParagraph): use default layout not layout of
13254         prev paragraph.
13255         (Paragraph): clear ParagraphParameters.
13256
13257 2002-03-06  Juergen Vigna  <jug@sad.it>
13258
13259         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13260         otherwise it would not be a valid lenght. Fixed a special case in
13261         the minipage compatibility read where we end the document with a
13262         minipage.
13263
13264         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13265         was set as it could be 0 for InsetTexts first entry.
13266
13267 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13268
13269         * paragraph.C (writeFile): if layout is empty write out
13270         defaultLayoutName().
13271
13272         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13273         file without named layout we set layout to defaultLayoutName().
13274
13275 2002-03-06  Juergen Vigna  <jug@sad.it>
13276
13277         * CutAndPaste.C (copySelection): set layout for new paragraph.
13278
13279         * text.C (prepareToPrint): leave ERT inset left aligned
13280         (leftMargin): don't indent paragraphs inside ERT insets
13281
13282 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13283
13284         * paragraph.C (breakParagraph): dont call clear do the work manually
13285
13286         * paragraph.[Ch] (clear): remove function
13287
13288 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * paragraph.C (Paragraph): dont call clear, the work has already
13291         been done.
13292
13293         * lyxtextclass.C (operator): assert if n is empty
13294
13295         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13296         work manually instead.
13297
13298 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13299
13300         * BufferView_pimpl.C: protect selectionLost against text == 0
13301
13302 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * text.C (breakParagraph): fix a setting layout to '0' problem.
13305
13306 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13307
13308         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13309         final location of file, for the included files, and graphics.
13310
13311 2002-03-05  Juergen Vigna  <jug@sad.it>
13312
13313         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13314
13315 2002-03-04  Juergen Vigna  <jug@sad.it>
13316
13317         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13318
13319         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13320         last column of multicolumn cells.
13321         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13322
13323 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13324
13325         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13326         file if it doesn't go to a temporary file.
13327
13328         * buffer.C (sgmlOpenTag):
13329         (sgmlCloseTag):  remove extra newline insertion.
13330
13331 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13332
13333         * text.C (getRowNearY): comment out debug msg
13334
13335 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * text2.C: first -> first_y
13338
13339         * text.C (getRowNearY): add some attemts at a possible
13340         optimization, not working.
13341
13342         * tabular.[Ch]: add BufferParams to several function so that newly
13343         created paragraph can be initialized to he default layotu for the
13344         buffers textclass.
13345
13346         * tabular-old.C (ReadOld): add buf->params to call of Init
13347
13348         * screen.C: rename text->first to text->first_y
13349
13350         * paragraph.C (breakParagraph): always set layout in the broken
13351         paragraph
13352
13353         * lyxtextclass.C (Read): remove lowercase
13354         (hasLayout): ditto
13355         (operator): ditto
13356         (delete_layout): ditto
13357
13358         * lyxtext.h: rename first -> first_y
13359
13360         * lyxlayout.C (Read): remove lowercase
13361         (name): ditto
13362         (setName): ditto
13363         (obsoleted_by): ditto
13364
13365         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13366
13367         * buffer.C (insertErtContents): add params are to InsetERT
13368         (parseSingleLyXformat2Token): add code to check if a paragraphs
13369         layout really exist.
13370         (parseSingleLyXformat2Token): add params to several inset
13371         constructors
13372         (asciiParagraph): remove lowercase, do the layout comparisons with
13373         no_case
13374
13375         * BufferView_pimpl.C (cursorNext): first -> first_y
13376         (resizeCurrentBuffer): first -> first_y
13377         (updateScrollbar): first -> first_y
13378         (scrollCB): first -> first_y
13379         (workAreaMotionNotify): first -> first_y
13380         (workAreaButtonPress): first -> first_y
13381         (checkInsetHit): first -> first_y
13382         (cursorPrevious): first -> first_y
13383         (cursorNext): first -> first_y
13384         (Dispatch): add buffer_->params to severl inset contructors
13385
13386 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13387
13388         * lyxlayout.C (Read): remove some debug info that I forgot.
13389
13390         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13391         clean up the code slightly.
13392         (makeLinuxDocFile): ditto
13393         (makeDocBookFile): ditto
13394
13395         * text2.C: layout as string
13396
13397         * text.C: layout as string
13398
13399         * paragraph_pimpl.C: layout as string
13400
13401         * paragraph.[Ch]: layout as string
13402
13403         * lyxtextclasslist.[Ch]: layout as string
13404
13405         * lyxtextclass.[Ch]: layout as string
13406
13407         * lyxtext.h: layout as string
13408
13409         * lyxlayout.[Ch]: layout as string
13410
13411         * lyx_cb.C: layout as string
13412
13413         * bufferview_funcs.C: layout as string
13414
13415         * bufferparams.C: layout as string
13416
13417         * buffer.C: layout as string
13418
13419         * LyXView.[Ch]: layout as string
13420
13421         * LaTeXFeatures.[Ch]: layout as string
13422
13423         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13424
13425         * BufferView_pimpl.C: change current_layout to string, remove
13426         lyx::layout_type.
13427         (Dispatch):
13428         (smartQuote):
13429         (insertInset):
13430         (workAreaButtonRelease): layout as string
13431
13432         * BufferView2.C (unlockInset): adjust
13433
13434         * vspace.C (asLatexCommand): use an explict temp variable.
13435
13436 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13437
13438         * Makefile.am: use FRONTEND_*
13439
13440 2002-03-01  Juergen Vigna  <jug@sad.it>
13441
13442         * tabular.C (SetWidthOfMulticolCell): changed to something better
13443         I hope but still work in progress.
13444         (recalculateMulticolumnsOfColumn): renamed function from
13445         recalculateMulticolCells as it is more appropriate now.
13446         (SetWidthOfCell): calculate multicols better.
13447
13448 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13449
13450         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13451
13452         * lyxfunc.C (processKeySym): print sequence also if it is
13453         `deleted' (complete)
13454
13455         * kbsequence.C (print): print sequence even if it is deleted
13456         (complete would be a better word, actually).
13457
13458         * lyxfunc.C (dispatch): print complete options after a prefix key
13459
13460         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13461
13462 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13463
13464         * text2.C (setCharFont): eliminate setCharFont code duplication.
13465
13466 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13467
13468         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13469         LFUN_TABULAR_FEATURE (bug #177)
13470
13471 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * Makefile.am: remove figure.h
13474
13475 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13476
13477         * Bufferview_pimpl.C:
13478         * CutAndPasteC:
13479         * LaTeX.C:
13480         * LyXSendto.C:
13481         * buffer.C:
13482         * bufferlist.C:
13483         * converter.C:
13484         * language.C:
13485         * lyxfunc.C:
13486         * lyxvc.C:
13487         * paragraph.C:
13488         * text.C:
13489         * text2.C: remove #include "lyx_gui_misc.h".
13490
13491         * LaTeX.C: added #include <cstdio>
13492
13493 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13494
13495         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13496         that the paragraph following this one can have.
13497
13498         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13499
13500         * vspace.C (asLatexCommand): fix bogus gcc warning
13501
13502         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13503
13504 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13505
13506         * text2.C (setLayout): get rid of redundant code
13507
13508 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13509
13510         * text2.C (incDepth): make sure depth cannot be increased beyond
13511         reasonable values.
13512
13513 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13514
13515         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13516         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13517
13518         * PainterBase.h (image):
13519         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13520         a LyXImage const *.
13521
13522 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13523
13524         * BufferView.C:
13525         * BufferView.h:
13526         * BufferView_pimpl.C:
13527         * BufferView_pimpl.h:
13528         * LaTeXFeatures.C:
13529         * LyXAction.C:
13530         * LyXView.C:
13531         * Makefile.am:
13532         * UpdateList.h:
13533         * UpdateList.C:
13534         * buffer.C:
13535         * figure.h:
13536         * figureForm.C:
13537         * figureForm.h:
13538         * figure_form.C:
13539         * figure_form.h:
13540         * lyx_cb.C:
13541         * lyx_gui.C:
13542         * lyx_gui_misc.C:
13543         * lyxfunc.C:
13544         * sp_base.h:
13545         * sp_ispell.h:
13546         * sp_pspell.h:
13547         * sp_spell.C: remove fig inset, and the crap house of
13548           cards that follows it
13549
13550 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13551
13552         * Makefile.am:
13553         * lyxserver.C:
13554         * os2_defines.h:
13555         * os2_errortable.h:
13556         * nt_defines.h: move .h into support/
13557
13558         * vms_defines.h: remove
13559
13560         * WorkArea.C: add space in debug output
13561
13562         * text2.C:
13563         * paragraph.C:
13564         * buffer.C: add WITH_WARNINGS
13565
13566         * vc-backend.h:
13567         * vc-backend.C:
13568         * bufferlist.C: s/retrive/retrieve/, add docs
13569
13570         * vspace.h:
13571         * vspace.C:
13572         * kbmap.h:
13573         * lyxlength.h:
13574         * lyxgluelength.h:
13575         * length_common.h:
13576         * chset.h:
13577         * chset.C: add docs
13578
13579         * lyxgui.C: add ID to X error handler
13580
13581         * lyxtestclass.c: fix typo
13582
13583 2002-02-26  Juergen Vigna  <jug@sad.it>
13584
13585         * tabular_funcs.C (write_attribute): changed so that some default
13586         attributes are not written at all.
13587         (getTokenValue): set default values before trying to read the
13588         value so we have the return value always set as default if we don't
13589         find the token we search for.
13590
13591         * tabular.C (Write): write bools as bools not as strings!
13592
13593 2002-02-22  Juergen Vigna  <jug@sad.it>
13594
13595         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13596         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13597
13598         * text.C (leftMargin): don't add an indent for paragraphs inside
13599         tabular cells (fix #208).
13600
13601 2002-02-21  José Matos  <jamatos@fep.up.pt>
13602
13603         * tabular.C (docBook): fixed support for long tables.
13604
13605 2002-02-20  Juergen Vigna  <jug@sad.it>
13606
13607         * text2.C (getFont): get the drawing font of the Inset if this
13608         paragraph is inside an inset (only important for InsetERT for now).
13609
13610         * buffer.C (insertErtContents): use new lanugage params in ERT
13611         constructor.
13612
13613         * CutAndPaste.C: commenting out seemingly uneeded code.
13614
13615 2002-02-19  Allan Rae  <rae@lyx.org>
13616
13617         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13618         Iterators might be simple to use but they also get invalidated.
13619         (removeAutoInsets): renamed saved cursor tracking variables and added
13620         some comments to clarify what everything does.
13621
13622 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13623
13624         * Chktex.C:
13625         * LaTeX.C:
13626         * LyXSendto.C:
13627         * converter.C:
13628         * lyx_cb.C:
13629         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13630         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13631
13632         * lyxfunc.C:
13633         * vc-backend.h: remove #include "support/syscall.h"
13634
13635         * LaTeX.C:
13636         * LyXSendto.C:
13637         * converter.C: rearrange #includes in Lars' approved fashion.
13638
13639         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13640         forward declare class Timeout in the header file.
13641
13642         * XFormsView.C: changes due to the above.
13643
13644         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13645         similar to LyXView.
13646
13647         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13648         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13649
13650 2002-02-18  José Matos  <jamatos@fep.up.pt>
13651
13652         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13653         insets contents.
13654
13655 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13656
13657         * a lot of small ws changes
13658         * add a lot of using std::XXX
13659         * use std construcs some places where approp.
13660         * use some exisint stuff from lyxfunctional where approp.
13661         * Make file changes to use partial linking (lets test this now...)
13662
13663 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * Chktex.C:
13666         * buffer.C:
13667         remove #include "support/syscontr.h" as it's redundant. Always has been.
13668
13669         * Chktex.C:
13670         * LaTeX.C:
13671         * LyXSendto.C:
13672         * converter.C:
13673         * lyx_cb.C:
13674         * vc-backend.C:
13675         change Systemcalls::System to Systemcalls::Wait and
13676         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13677         No change of functionality, just reflects the stripped down Systemcalls
13678         class.
13679
13680 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13681
13682         * debug.[Ch]: add a GRAPHICS type to the enum.
13683
13684 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13685
13686         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13687
13688         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13689         there is an inset.
13690
13691 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13692
13693         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13694         match the changes below.
13695
13696         * text2.C (toggleInset): if there is not editable inset at cursor
13697         position, try to see if cursor is _inside_ a collapsable inset
13698         and close it.
13699
13700 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13701
13702         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13703         document menu has a nice checkbox
13704
13705 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13706
13707         * lyxlength.C (asLatexString): change PW to output as percent of
13708         \textwidth.
13709
13710         * lengthcommon.C: change '%' to 't%'
13711
13712         * lyxfunc.C (dispatch): a few comments from Martin
13713
13714 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13715
13716         * WorkArea.h:
13717         * WorkArea.C:
13718         * BufferView_pimpl.h:
13719         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13720           the X selection.
13721
13722 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13723
13724         * vspace.C (inPixels): fix compiler warning
13725
13726 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13727
13728         * lyxfunc.C (getStatus): fix status message for disabled commands.
13729
13730 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13731
13732         * BufferView_pimpl.C: fix crash on close buffer
13733         during selection (#227)
13734
13735 2002-01-27  Herbert Voss  <voss@lyx.org>
13736
13737         * buffer.C: link old Figure to new graphic inset
13738
13739 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13740
13741         * FontLoader.C (getFontinfo): Change the latex font names in order
13742         to match the names of type1inst.
13743
13744 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13747
13748         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13749         (extchanged): ditto
13750         (ext_exist): ditto
13751         (remove_files_with_extension): ditto
13752         (remove_file): ditto
13753         (write): ditto
13754
13755         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13756         document is smaller than the work area height. Do not initialize
13757         static variables to 0.
13758
13759 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13760
13761         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13762
13763         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13764         LFUN_LAYOUT_PARAGRAPHS.
13765
13766         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13767         tabular. It is possible to provide a possible cell, which will
13768         typically be the actcell from the corresponding insettabular
13769
13770         * lyxfunc.C (getStatus): small cleanup; disable
13771         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13772         true
13773
13774 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13775
13776         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13777
13778         * paragraph.C (startTeXParParams):
13779         (endTeXParParams): new methods. The LaTeX code to
13780         start/end paragraph formatting
13781         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13782         empty (fixes bug #200)
13783
13784         * vspace.C (inPixels): adapt to the change below
13785         (inPixels): [later] more cleanups (remove unused variables)
13786
13787         * lyxlength.C (inPixels): change to use a width and a height as
13788         parameter.
13789
13790 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13791
13792         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13793         Replaced with \paperwidth
13794
13795         * DepTable.C (insert): add std:: qualifier
13796
13797 2002-01-18  Allan Rae  <rae@lyx.org>
13798
13799         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13800         updated also?
13801
13802         * text.C (drawInset): Turned out I didn't know enough about how
13803         rebreaking worked.  This fixes most of the redraw problems.  I see
13804         an occasional cursor trail when a line is broken now and the cursor
13805         placement can seem out by a few pixels also after a rebreak.
13806
13807 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13808
13809         * buffer.C (parseSingleLyXformat2Token): update because minipage
13810         width is now a LyXLength
13811
13812         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13813
13814         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13815         math insets
13816
13817 2002-01-17  Juergen Vigna  <jug@sad.it>
13818
13819         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13820
13821         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13822         is set correctly and the inset is updated correctly.
13823
13824 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13825
13826         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13827         the beginning of the loop.
13828
13829 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13830
13831         * lyxrc.C: improve help for use_scalable_fonts
13832
13833 2002-01-17  Allan Rae  <rae@lyx.org>
13834
13835         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13836
13837 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13838
13839         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13840         make sure to set their inset_owner to the right value (bug #171)
13841
13842 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13843
13844         * DepTable.h
13845         * DepTable.C: Implement mtime checking to reduce time spent doing
13846         CRCs.
13847
13848 2002-01-16  Juergen Vigna  <jug@sad.it>
13849
13850         * tabular.C (GetAdditionalHeight): one of error fixed.
13851
13852         * lyxrc.C (output): small fix in writing use_pspell.
13853
13854 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13855
13856         * sp_base.h: #include LString.h
13857
13858 2002-01-16  Allan Rae  <rae@lyx.org>
13859
13860         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13861         Can someone check this please?
13862
13863         * text.C (drawInset): It was possible that p.row would be removed by
13864         breakAgainOneRow upsetting a few other settings.  There may be another
13865         small tweak possible by setting need_break_row = 0 when p.row has been
13866         removed but I don't know enough about the logic here.
13867
13868 2002-01-15  Allan Rae  <rae@lyx.org>
13869
13870         * text.C (insertChar): removed conditional truism.
13871
13872         * BufferView2.C (removeAutoInsets): More tweaks.
13873         cur_par_prev could be a stray pointer.  Check for trailing empty line
13874         in case last line was cur_par and only had an error inset on it.
13875
13876 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13877
13878         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13879         absolute
13880
13881         * vc-backend.C (most methods):
13882         * exporter.C (Export):
13883         * converter.C (convert):
13884         (runLaTeX):
13885         * LyXSendto.C (SendtoApplyCB):
13886         * lyxfunc.C (dispatch):
13887         (menuNew):
13888         (open):
13889         (doImport):
13890         * lyx_cb.C (AutoSave):
13891         (InsertAsciiFile):
13892         * BufferView_pimpl.C (MenuInsertLyXFile):
13893         * buffer.C (runChktex): use Buffer::filePath().
13894
13895         * buffer.h: rename filename to filename_; rename filepath to
13896         filepath_ and make it private
13897         (filePath): new method
13898
13899         * buffer.C (writeFile): use fileName()
13900         (getLatexName):
13901
13902         * lyx_main.C (init): fix starting  of LyX when the binary is a
13903         link from so,ewhere else.
13904
13905         * minibuffer.C: include <cctype> for isprint
13906
13907 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13908
13909         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13910         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13911         name clash with InsetCollapsable's width function.
13912
13913 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13914
13915         * lastfiles.C: include <iterator>
13916
13917 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13918
13919         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13920         std::count.
13921
13922         * buffer.C (makeLaTeXFile): ditto.
13923         Also make loop operation more transparent.
13924
13925 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13926
13927         * ToolbarDefaults.C: remove trailing comma closing namespace.
13928
13929         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13930
13931         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13932         as in WorkArea.
13933
13934         * trans.C (Load): comment out unused variable, allowed.
13935
13936 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13937
13938         * minibuffer.[Ch] (append_char): new method to recieve input from the
13939         drop-down completion browser. If a key was pressed, then recieve this
13940         char and append it to the existing string.
13941         (peek_event): modify the positioning data passed to the completion
13942         browser so that it can be placed above the minibuffer rather than below.
13943 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * LyXAction.C (init): alloe error-next for readonly documents.
13946
13947         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13948         count.
13949
13950 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13951
13952         * bufferlist.C (readFile): create the buffer _after_ checking that
13953         the file exists.
13954
13955         * lyxfunc.C (verboseDispatch): fix handling of arguments
13956
13957         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13958
13959         * lyxrc.C: use string::erase() instead of initializing to "".
13960
13961
13962 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13963
13964         * BufferView_pimpl.h:
13965         * BufferView_pimpl.C:
13966         * WorkArea.h:
13967         * WorkArea.C:
13968         * text2.C: tell X when we have made a selection for copying
13969
13970 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13971
13972         * BufferView_pimpl.C (MenuInsertLyXFile):
13973         * lyxfunc.C (menuNew):
13974         (open):
13975         (doImport): add shortcuts to directory buttons
13976
13977         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13978         open a float)
13979
13980         * lyxfunc.C (setStatusMessage):
13981         (getStatusMessage): new methods
13982         (getStatus):use setStatusMessage instead of setErrorMessage
13983         (dispatch): when function is disabled, set error message here
13984         [instead of in getStatus previously]
13985
13986         * BufferView_pimpl.C (workAreaButtonRelease): update
13987         toolbar/menubar here too.
13988
13989 2002-01-13  Allan Rae  <rae@lyx.org>
13990
13991         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13992         Now seems indestructible.  Remaining task is to audit all other
13993         code affected by deleteEmptyParagraphMechanism.  One small quirk
13994         left is that an empty document with an error in the preamble can
13995         be made to report an error but no error box appears.  I don't know
13996         where it goes.
13997         (removeAutoInsets): Improved comments.
13998
13999 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14000
14001         * Thesaurus.h:
14002         * Thesaurus.C: update for Aiksaurus 0.14
14003
14004 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * text2.C (firstParagraph): removed member function, all uses
14007         replaces with ownerParagraph
14008         (redoParagraphs): here
14009         (updateInset): here
14010         (toggleAppendix): here
14011         * BufferView2.C (insertErrors): here
14012         (setCursorFromRow): here
14013
14014 2002-01-13  Allan Rae  <rae@lyx.org>
14015
14016         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14017         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14018         There is still a way to segfault this although you may have to do this
14019         multiple times: Have an InsetERT with an unknown command in it.
14020         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14021         <down-arrow>, <Enter> again, View->DVI, BANG!
14022
14023         * text2.C (setCursor):
14024         (deleteEmptyParagraphMechanism):
14025         * lyxtext.h (setCursor):
14026         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14027         Making use of the return value may help fix other bugs.
14028
14029 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14030
14031         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14032
14033         * LyXView.C (updateMenubar): call MenuBar::update here
14034         (updateToolbar): but not here
14035         (showState): do not update toolbar/menubar
14036
14037         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14038         should need to care about that.
14039
14040         * lyxfunc.C (verboseDispatch): simplify a bit
14041         (getStatus): have a version which takes a pseudoaction, and
14042         another which requires a (kb_action,string).
14043
14044         * LyXAction.C (retrieveActionArg): make it work also when action
14045         is not a pseudo-action.
14046         (getActionName): simplify a bit
14047         (helpText):
14048
14049 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14050
14051         * lyxfunc.C (verboseDispatch): new families of methods with
14052         several ways to specify a command and a bool to indicate whether
14053         the command name and shortcut should be displayed in minibuffer
14054         (eventually, we could extend that to a finer bitmask like
14055         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14056         (dispatch): the pristine dispatch command which just, well,
14057         dispatchs! Note it still sets its result to minibuffer; I'm not
14058         sure we want that.
14059
14060         * lyxfunc.h: remove setHintMessage
14061
14062         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14063
14064 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14065
14066         * BufferView_pimpl.C (specialChar): delete new inset if we have
14067         not been able to insert it.
14068
14069         * kbmap.C: revert to using int instead of kb_action, since all we
14070         are dealing with is pseudo-actions.
14071
14072         * LyXAction.C (searchActionArg): change to return int instead of
14073         kb_action, since the result is a pseudoaction.
14074
14075 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14076
14077         * buffer.C (insertErtContents): Fix (partially) the font bug.
14078
14079 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14080
14081         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14082         as the other one is broken on my machine!
14083
14084 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14085
14086         * commandtags.h:
14087         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14088
14089 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14090
14091         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14092         reflect their actual use. Provide compatibility code for older lyxrc
14093         files.
14094
14095         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14096         FL_NORMAL_STYLE.
14097         change names of popup font variables in line with the changes to lyxrc.C
14098
14099 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14100
14101         * buffer.C (asciiParagraph): avoid outputing a word twice after
14102         an inset.
14103
14104         * lyxrc.C (getDescription): document that document_path and
14105         template_path can be empty.
14106
14107 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14108
14109         * LaTeXFeatures.C (getMacros):
14110         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14111
14112         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14113
14114         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14115         getPackages.
14116         (getPackages): rename feature "floats" to "float". Use an array to
14117         iterate over 'simple' features (i.e. just a \usepackage). Add
14118         handling of "amsmath" (renamed from "amsstyle").
14119
14120 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14121
14122         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14123         features list.
14124
14125 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14126
14127         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14128         FuncStaus::FuncStatus & FuncStaus::some_method().
14129
14130 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14131
14132         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14133         of the func_satus stuff. Edited and massaged in various ways by
14134         JMarc.
14135
14136         * lyxfunc.C (getStatus): use FuncStatus
14137
14138 2002-01-08  Juergen Vigna  <jug@sad.it>
14139
14140         * text.C (nextBreakPoint): use function Inset::isChar().
14141
14142         * paragraph.C (TeXOnePar): use function
14143         Inset::forceDefaultParagraphs.
14144
14145         * buffer.C (latexParagraphs): use function
14146         Inset::forceDefaultParagraphs.
14147
14148 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14149
14150         * lyx_gui.C (init): set the style of the menu popups to
14151         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14152
14153 2002-01-07  Juergen Vigna  <jug@sad.it>
14154
14155         * text.C (setHeightOfRow): small fix
14156         (prepareToPrint): don't look at alignment if we don't have the place
14157         for doing it.
14158
14159 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14160
14161         * box.C: New file. Move the Box methods and functions out of box.h,
14162         following Lars' suggestion.
14163
14164 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14165
14166         * box.h: #include "support/LOstream.h", needed for inlined function.
14167
14168         * lyxtextclass.C:
14169         * lyxtextclasslist.C: added some using std declarations.
14170
14171 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14172
14173         * box.h: make signed dimensions to allow insets wider than
14174           the screen (bug #162)
14175
14176         * BufferView_pimpl.C: add some insetHit debug
14177
14178 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14179
14180         * vc-backend.C: add FIXME
14181
14182 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14183
14184         * lyxfunc.C (getStatus): enable code for showing math font status
14185         in toolbar/menu.
14186
14187 2002-01-07  Juergen Vigna  <jug@sad.it>
14188
14189         * text.C (nextBreakPoint): removed debug output not needed anymore.
14190
14191 2002-01-06  Juergen Vigna  <jug@sad.it>
14192
14193         * text.C (nextBreakPoint): fixed up this function we had this bug
14194         since ever but now hopefully we break row better.
14195         (insertChar): we have to check if an inset is the next char as it
14196         could now happen that a large inset is causing a break.
14197
14198 2002-01-05  Juergen Vigna  <jug@sad.it>
14199
14200         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14201         if it doesn't like to be drawed.
14202
14203 2002-01-04  Juergen Vigna  <jug@sad.it>
14204
14205         * BufferView2.C (lockInset): forgot to set a cursor.
14206
14207         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14208
14209 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14210
14211         * FormMathsPanel.C:
14212         * FormMathsPanel.h
14213         * MathsSymbols.C:
14214         * form_maths_panel.C:
14215         * form_maths_panel.h:
14216         * form_maths_panel.fd: implemented sub- and super- buttons in math
14217         panel.
14218
14219         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14220         (or ^ space) to be used as in TeX (req'd by Andr�.
14221
14222         * lyxfunc.C: Allow ^ and _ again to be used both as
14223         super/subscript (mathed) and as themselves (in text).
14224
14225 2002-01-03  Allan Rae  <rae@lyx.org>
14226
14227         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14228         "LyX" or the filename of the current buffer if it has one.  This is a
14229         modified form of John Levon's patch.
14230
14231         * XFormsView.C (setWindowTitle): also set icon title.
14232
14233         * LyXView.h (setWindowTitle): signature changed.
14234         * XFormsView.h (setWindowTitle): ditto.
14235
14236 2002-01-02  Juergen Vigna  <jug@sad.it>
14237
14238         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14239
14240 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14241
14242         * screen.C (topCursorVisible): introduce a temp var for
14243         text->cursor.row(), handle the case where this row is null. (kindo
14244         hachish)
14245
14246         * text2.C (setCursor): add a couple of asserts.
14247
14248         * paragraph.h (inset_iterator): add -> operator
14249
14250         * paragraph.[Ch] (autoDeleteInsets): remove member function
14251
14252         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14253         cursor pos correctly and handle inset deletion by itself.
14254         (insertErrors): move iterator declaration out of for expression
14255
14256         * lyxtextclass.C: add <algorithm>
14257
14258         * Makefile.am: added the new files to sources, removed layout.C
14259
14260         * layout.C: removed file
14261
14262         * layout.h: remove LYX_DUMMY_LAYOUT
14263
14264         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14265         layout.
14266
14267         * lyxlayout.[Ch]:
14268         * lyxtextclass.[Ch]:
14269         * lyxtextclasslist.[Ch]: new files
14270
14271         * include order changes to a lot of files, also changes because of
14272         the six new files.
14273
14274 2001-12-27  Juergen Vigna  <jug@sad.it>
14275
14276         * buffer.C (asciiParagraph): more fixes.
14277
14278         * tabular.C (ascii): make ascii export support export of only the
14279         data separated by a column-delimiter.
14280         (ascii): better support for ascii export.
14281
14282         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14283
14284 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14285
14286         * tabular_funcs.C: use a "using std::getline" instead of the
14287         previous fix from Angus (necessary for cxx + lyxstring)
14288
14289 2001-12-24  Juergen Vigna  <jug@sad.it>
14290
14291         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14292
14293         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14294         problems. First check a minipage also if we have some ert-contents
14295         (not only on par->size(), second set the right depth of the paragraph
14296         on the relink to the root-paragraph-list!
14297
14298         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14299         which then did not anymore update the main paragraphs on undo/redo!
14300
14301 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14302
14303         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14304         code. Support all font-changing funcs (even those which are not in
14305         menu currently). Support for reporting font settings in
14306         mathed (disabled until Andre provides a function on mathed's side).
14307
14308         * func_status.h (toggle): small helper function to set toggle
14309         state on a flag.
14310
14311 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14312
14313         * tabular_funcs.C: getline -> std::getline
14314
14315 2001-12-21  Juergen Vigna  <jug@sad.it>
14316
14317         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14318         accessed and could be 0 (I couldn't generate this but it seems
14319         Michael could!).
14320
14321 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14322
14323         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14324         * tabular_funcs.h: here and include iosfwd
14325
14326 2001-12-20  Juergen Vigna  <jug@sad.it>
14327
14328         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14329         inside inset but undo_par was.
14330
14331 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14332
14333         * Thesaurus.C: always include <config.h> in sources.
14334
14335         * Painter.h:
14336         * lyxlookup.h:
14337         * box.h: do not include <config.h> in header files
14338
14339         * text.C (paintLastRow): remove unused variable
14340
14341         * text.C (transformChar):
14342         (insertChar):
14343         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14344
14345         * Painter.C (text):
14346         * font.C (width): rewrite to use uppercase() instead of
14347         islower/toupper.
14348
14349         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14350
14351 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14352
14353         * lyxfind.C: clean up of find failure position change
14354
14355 2001-12-20  Juergen Vigna  <jug@sad.it>
14356
14357         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14358
14359         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14360         (TeXRow): added to LaTeX a single tabular row.
14361         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14362         (Latex): simplified and finally good LT-h/f support.
14363         (various_functions): just small adaptions for LT-h/f support.
14364
14365         * tabular_funcs.[hC]: added and moved here all not classfunctions
14366         of LyXTabular.
14367
14368 2001-12-19  Juergen Vigna  <jug@sad.it>
14369
14370         * tabular.[Ch]: better support for longtabular options (not finished
14371         yet!)
14372
14373 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14374
14375         * text.C (paintLastRow): use the label font instead of the font of
14376         the last character to compute the size of *_BOX. This makes more
14377         sense and avoids a crash with empty paragraphs.
14378         Use Painter::rectangle to draw EMPTY_BOX.
14379
14380 2001-12-19  Juergen Vigna  <jug@sad.it>
14381
14382         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14383         the paragraphs if the replaced paragraph is not the first one!
14384         Tried to delete not used paragraphs but does not work yet so for
14385         now it's inside #ifdef's and by default off!
14386
14387 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14388
14389         * MenuBackend.C: include "lyx_main.h" instead of declaring
14390         lastfiles (actually was declared as LastFiles* instead of a
14391         scoped_ptr).
14392
14393 2001-12-17  Juergen Vigna  <jug@sad.it>
14394
14395         * tabular.C (AppendColumn): applied John's fix
14396
14397 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14398
14399         * BufferView.h:
14400         * BufferView.C:
14401         * BufferView_pimpl.h:
14402         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14403
14404         * Makefile.am:
14405         * box.h: new start of class for above
14406
14407         * lyxfunc.C: ignore space-only minibuffer dispatches.
14408           Show the command name when it doesn't exist
14409
14410         * minibuffer.C: don't add empty lines to the history
14411
14412         * minibuffer.C: add a space on dropdown completion
14413
14414 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14415
14416         * text.C: fix line above/below drawing in insets
14417
14418 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14419
14420         * lyxlength.C (LyXLength): Initialize private variables.
14421
14422 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14423
14424         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14425         when inserting error insets.
14426
14427 2001-12-13  Juergen Vigna  <jug@sad.it>
14428
14429         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14430         actually sometimes the before-paragraph.
14431         (setUndo): don't clear the redostack if we're not actually undoing!
14432
14433 2001-12-06  Juergen Vigna  <jug@sad.it>
14434
14435         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14436         and fixed redoing of main paragraph, so we can use it now ;)
14437
14438         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14439
14440 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14441
14442         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14443         Juergen's request
14444
14445 2001-12-13  André Pönitz <poenitz@gmx.net>
14446
14447         * undostack.[Ch]:
14448         * undo_func.C: minor cleanup
14449
14450 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14451
14452         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14453         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14454         font in urw-fonts package which is marked as -urw-fontspecific and
14455         does not work (incidentally, changing the encoding in the
14456         fonts.dir of this package to -adobe-fontspecific fixes the
14457         problem).
14458
14459         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14460         is a crash when undoing first paragraph (Juergen, please take a
14461         look). THis does not mean the undo fix is wrong, just that it
14462         uncovers problems.
14463
14464         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14465         the (Paragraph*) version when needed instead of duplicating the
14466         code.
14467
14468         * text.C (workWidth): use Inset::parOwner to find out where the
14469         inset has been inserted. This is a huge performance gain for large
14470         documents with lots of insets. If Inset::parOwner is not set, fall
14471         back on the brute force method
14472
14473         * paragraph_pimpl.C (insertInset):
14474         * paragraph.C (Paragraph):
14475         (cutIntoMinibuffer): set parOwner of insets when
14476         inserting/removing them
14477
14478         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14479
14480 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14481
14482         * commandtags.h:
14483         * LyXAction.C:
14484         * lyx_main.C:
14485         * lyxfunc.C:
14486         * mathed/formulabase.C:
14487         * mathed/math_cursor.[Ch]:
14488         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14489
14490
14491 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14492
14493         * lyxlength.[Ch] (operator!=): new function
14494
14495 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14496
14497         * text.C (workWidth): use Inset::parOwner to find out where the
14498         inset has been inserted. This is a huge performance gain for large
14499         documents with lots of insets. If Inset::parOwner is not set, fall
14500         back on the brute force method
14501
14502         * paragraph_pimpl.C (insertInset):
14503         * paragraph.C (Paragraph):
14504         (cutIntoMinibuffer): set parOwner of insets when
14505         inserting/removing them
14506
14507         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14508
14509 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14510
14511         * tabular-old.C (getTokenValue):
14512         * tabular.C (getTokenValue):
14513         (write_attribute): new versions for LyXLength
14514         (everywhere): adjust the use of widths
14515
14516         * tabular.h: change the type of widths from string to LyXLength
14517
14518 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14519
14520         * paragraph.C: fixed missing line number count when exporting
14521         Environments to LaTeX file
14522
14523         * buffer.C: added informational message for checking line numbers.
14524
14525 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14526
14527         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14528         paragraph, do the 'double space' part, but not the 'empty
14529         paragraph' one.
14530
14531         * text.C (workWidth): small optimization
14532         (getLengthMarkerHeight): use minimal size for negative lengths.
14533
14534 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14535
14536         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14537
14538         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14539
14540 2001-12-11  André Pönitz <poenitz@gmx.net>
14541
14542         * FontLoader.C:
14543         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14544
14545 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14546
14547         * text2.C: keep selection on a setFont()
14548
14549 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14550
14551         * lyx_cb.C: another bv->text misuse, from insert label
14552
14553 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14554
14555         * kbsequence.h:
14556         * kbsequence.C: re-instate nmodifier mask
14557
14558 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14559
14560         * lyx_main.h: make lyxGUI private.
14561
14562 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14563
14564         * lyxfind.C: place the cursor correctly on failed search
14565
14566 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14567
14568         * text.C (getLengthMarkerHeight): for small heights, the arrows
14569         are not always on top/bottom of the text
14570         (drawLengthMarker): smaller arrows; take the left margin in
14571         account; draw also vfills.
14572         (paintFirstRow):
14573         (paintLastRow): remove special code for vfill and standard spaces,
14574         since everything is handled in drawLengthMarker now.
14575
14576 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14577
14578         * buffer.C (insertErtContents): try to handle font and language
14579         interaction a bit better.g
14580
14581         * ColorHandler.C (updateColor): change the hash to cover the whole
14582         LColor enum, ws cleanup
14583         (getGCLinepars): ditto
14584         (getGCLinepars): only lookup in the linecache once.
14585
14586 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14587
14588         * iterators.C (operator++): Make the iterator more robust
14589
14590         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14591         (John's patch)
14592         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14593
14594 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14595
14596         * lyxtext.h:
14597         * text.C: better added space drawing
14598
14599 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14600
14601         * LyXView.C:
14602         * BufferView2.C: fix layout combo update on inset unlock
14603
14604 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14605
14606         * Makefile.am: don't compile unused files
14607
14608 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14609
14610         * lyxfunc.C:
14611         * commandtags.h:
14612         * LyXAction.C: remove old LFUN_LAYOUTNO
14613
14614 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14615
14616         * paragraph_pimpl.h:
14617         * paragraph_pimpl.C: isTextAt() doesn't need font param
14618
14619 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14620
14621         * lyxlex.h:
14622         * lyxlex.C: little cleanup
14623
14624 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14625
14626         * BufferView_pimpl.C: fix insertAscii for insets
14627
14628 2001-12-05  Juergen Vigna  <jug@sad.it>
14629
14630         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14631         set the right font on the "multi" paragraph paste!
14632
14633 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14634
14635         * trans_decl.h:
14636         * trans_mgr.[Ch]:
14637         * trans.[Ch]:
14638         * lyxgluelength.C:
14639         * lyxlength.C: remove out-commented code.
14640
14641         * BufferView_pimpl:
14642         * CutAndPaste.C:
14643         * DepTable.C:
14644         * buffer.C:
14645         * chset.C:
14646         * lastfiles.C:
14647         * lyxlex.C:
14648         * lyxlex_pimpl.C:
14649         * lyxserver.C:
14650         * screen.C:
14651         * tabular-old.C:
14652         * tabular.C:
14653         * text.C:
14654         * trans_mgr.C:
14655         * vc-backend.C: change "while(" to "while ("
14656
14657         * lyxlength.[Ch]: add zero function to check if length is zero or
14658         not
14659         * lyxgluelength.C: use it
14660
14661 2001-12-05  Allan Rae  <rae@lyx.org>
14662
14663         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14664         Works for 2.95.3, from what I understand of Garst's reports this should
14665         work for other g++ versions.  We're screwed if the abs(int) definition
14666         changed between bugfix releases of gcc.
14667
14668 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14669
14670         * text.C: fix chapter label offset !
14671
14672 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14673
14674         * lyxtext.h:
14675         * text.C: fix hfill at end of line, clean up
14676
14677 2001-12-04  Juergen Vigna  <jug@sad.it>
14678
14679         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14680         that we force an update of the inset and it's owners if neccessary.
14681
14682 2001-12-03  Juergen Vigna  <jug@sad.it>
14683
14684         * text.C (rowLast): simplified code
14685
14686 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14687
14688         * lyxfunc.C: fix show options on timeout
14689
14690 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14691
14692         * screen.C (topCursorVisible): scroll half a page when the cursor
14693         reached top of bottom of screen
14694
14695 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14696
14697         * minibuffer.C: deactivate on loss of focus
14698
14699 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14700
14701         * vspace.[Ch] (operator!=): add operator.
14702
14703 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14704
14705         * BufferView_pimpl.C: refuse to open an inset when
14706         there's a selection.
14707
14708 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14709
14710         * BufferView_pimpl.C: allow to click on RHS of full row insets
14711
14712 2001-11-30  Juergen Vigna  <jug@sad.it>
14713
14714         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14715         insets for undo reasons.
14716
14717 2001-11-28  André Pönitz <poenitz@gmx.net>
14718
14719         * vspace.[Ch]: cosmetical changes
14720
14721 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14722
14723         * LyXAction.h:
14724         * LyXAction.C:
14725         * lyxfunc.h:
14726         * lyxfunc.C:
14727         * kbmap.h:
14728         * kbmap.C:
14729         * lyxrc.C:
14730         * kbsequence.h:
14731         * kbsequence.C: part re-write of old kb code
14732
14733         * Painter.C:
14734         * WorkArea.C: remove Lgb_bug_find_hack
14735
14736 2001-11-30  José Matos <jamatos@fep.up.pt>
14737
14738         * buffer.C (makeDocBookFile): add a comment to point a hack.
14739         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14740         Fixed a double write of labels.
14741
14742 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14743
14744         * LaTeX.C:
14745         * LaTeX.h Fixed bug in LaTeX class where it would not
14746         re-run latex if no depfiles were changed, but the .dvi was removed.
14747
14748 2001-11-28  André Pönitz <poenitz@gmx.net>
14749
14750         * all the files from the change on 2001/11/26:
14751         use lyx::layout_type instead of LyXTextClass::size_type
14752         use lyx::textclass_type instead of LyXTextClassList::size_type
14753
14754 2001-11-29  Juergen Vigna  <jug@sad.it>
14755
14756         * text.C: added support for paragraph::isFreeSpacing()
14757
14758         * buffer.C: same as above
14759
14760         * paragraph.h: inserted isFreeSpacing() function to enable
14761         FreeSpacing inside InsetERT.
14762
14763         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14764         of the paragraph's in the cut/copy buffer to 0!
14765
14766         * text2.C (removeRow): remove the assert as it can!
14767
14768         * lyxtext.h: added helper function firstRow returning firstrow and
14769         made firstrow private again.
14770
14771         * BufferView2.C (lockInset): don't relock if we're already locked!
14772
14773         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14774         the only paragraph.
14775         (removeRow): added Assert::(firstrow)
14776
14777         * debug.C: forgot to add INSETTEXT here.
14778
14779 2001-11-28  Juergen Vigna  <jug@sad.it>
14780
14781         * sp_spell.C (initialize): changed error text to more general
14782         spellchecker command use (not only ispell!)
14783
14784         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14785
14786         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14787
14788 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14789
14790         * vspace.C: initialise lyxgluelength on failure
14791
14792 2001-11-28  Allan Rae  <rae@lyx.org>
14793
14794         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14795         declaration & definition that looks like a function declaration.
14796
14797 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14798
14799         * BufferView2.C (copy):
14800         (copyEnvironment): do not clear the selection when doing a copy.
14801
14802         * text.C (paintFirstRow): compilation fix
14803
14804 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14805
14806         * tabular.C (Latex): correct line count when writing latex.
14807
14808 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14809
14810         * paragraph_pimpl.h:
14811         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14812           bug a bit
14813
14814 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14815
14816         * text.C:
14817         * LColor.h:
14818         * LColor.C: change vfillline->added_space
14819
14820         * text.C: add markers and text for added space
14821
14822         * vspace.C: fix comment
14823
14824 2001-11-28  André Pönitz <poenitz@gmx.net>
14825
14826         * paragraph.C: whitespace changes
14827         * all the other files from the change on 2001/11/26:
14828         change *::pos_type into lyx::pos_type
14829
14830 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14831
14832         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14833         language of the document when inserting error insets.
14834
14835 2001-11-26  André Pönitz <poenitz@gmx.net>
14836
14837         * BufferView_pimpl.[Ch]:
14838         *       CutAndPaste.C:
14839         * buffer.[Ch]:
14840         * lyxcursor.[Ch]:
14841         * lyxfind.C:
14842         * lyxfunc.C:
14843         * lyxrow.[Ch]:
14844         * paragraph.[Ch]:
14845         * paragraph_pimpl.[Ch]:
14846         * sp_spell.C:
14847         * text.C:
14848         * text2.C: reduce header dependencies, introduce type for positions
14849
14850 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14851
14852         * <various>: change to use Alert.h
14853
14854 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14855
14856         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14857         when encountering an unknown token.
14858         (readLyXformat2): Show an error message if there were unknown tokens.
14859
14860 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14861
14862         * BufferView2.C:
14863         * BufferView_pimpl.C:
14864         * buffer.C:
14865         * paragraph.h:
14866         * text.C:
14867         * text2.C: use par->isInset()
14868
14869 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14870
14871         * paragraph_pimpl.h:
14872         * paragraph_pimpl.C: cleanup
14873
14874 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14875
14876         * text2.C (removeRow):
14877         * text.C (setHeightOfRow): remove useless (and costly) call to
14878         getRow.
14879
14880 2001-11-20  Allan Rae  <rae@lyx.org>
14881
14882         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14883         Now need Inset*::checkInsertChar() to return true for appropriate
14884         cases so that the characters in the minibuffer will actually be
14885         inserted.
14886
14887 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14888
14889         * text.C: change the order of the includes.
14890         (workWidth): initialize it at once.
14891         (workWidth): make maxw unsigned
14892         (setHeightOfRow): remove unused variable (inset)
14893         (selectSelectedWord): remove unused variable (inset)
14894         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14895
14896 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14897
14898         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14899         server is not running.
14900         (openConnection):
14901         (closeConnection): add debug info when server is disabled.
14902
14903         * ColorHandler.C (getGCForeground): send debug message to GUI
14904         channel.
14905
14906         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14907
14908         * kbmap.C (bind): modify because return conventions of
14909         kb_sequence::parse have changed.
14910
14911         * kbsequence.C (parse): only ignore spaces and not any stupid
14912         control character. This avoids tests like s[i] <= ' ', which are
14913         guaranteed to fail with 8bit characters and signed chars.
14914         Change return code to string::npos when there have been no error
14915         (0 was a bad idea when error is at first character)
14916
14917 2001-11-14  José Matos  <jamatos@fep.up.pt>
14918
14919         * buffer.h:
14920         * buffer.C (simpleDocBookOnePar): removed unused argument.
14921
14922 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14923
14924         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14925         insets which are part of a word. Paragraph::isLetter takes care of
14926         that now. Use Paragraph::isInset to identify insets.
14927         (selectSelectedWord): do not test for hyphenation break.
14928
14929         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14930         that protected spaces are considered as spaces.
14931
14932         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14933         Inset::isLetter.
14934
14935 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14936
14937         * lyxserver.h:
14938         * lyxserver.C: fix it. and small cleanup.
14939
14940 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14941
14942         * BufferView_pimpl.C: use inline helpers
14943
14944         * LaTeXFeatures.h:
14945         * LaTeXFeatures.C: fix typos
14946
14947         * Spacing.h:
14948         * Spacing.C: move spacing_string into class
14949
14950         * ToolbarDefaults.C: move stuff into namespace anon
14951
14952         * layout.h: update enum
14953
14954         * lyxfunc.C: use better debug
14955
14956         * minibuffer.h: fix typo
14957
14958         * debug.h:
14959         * debug.C:
14960         * WorkArea.C: add and use Debug::WORKAREA
14961
14962         * lyxtext.h:
14963         * text.C:
14964         * text2.C: code re-organisation, inline helpers
14965
14966 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14967
14968         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14969         std::vector.empty().
14970
14971 2001-11-09  Allan Rae  <rae@lyx.org>
14972
14973         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14974         '\n's after tables.  Tabular and ERT inset work now makes this no
14975         longer necessary.
14976
14977 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * minibuffer.h:
14980         * minibuffer.C: fix crash, improve drop-down completion
14981
14982 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14983
14984         * lyxserver.h:
14985         * lyxserver.C: invalidate fd's when doing endPipe()
14986
14987 2001-11-08  José Matos  <jamatos@fep.up.pt>
14988
14989         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14990         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14991
14992         * paragraph.h:
14993         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14994
14995 2001-11-07  José Matos  <jamatos@fep.up.pt>
14996
14997         * buffer.h:
14998         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14999         const qualifier.
15000
15001         * buffer.C (sgmlOpenTag):
15002         * buffer.C (sgmlCloseTag): removed debug info.
15003
15004         * buffer.h (sgmlOpenTag):
15005         * buffer.h (sgmlCloseTag): made public.
15006
15007 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15008
15009         * buffer.C (saveParamsAsDefaults):
15010         * lyx_cb.C (MenuLayoutSave): remove
15011
15012         * LyXAction.C (init):
15013         * commandtags.h:
15014         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15015
15016 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15017
15018         * buffer.C (setPaperStuff): removed from here...
15019
15020         * bufferparams.C (setPaperStuff): ... and moved there.
15021
15022 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15023
15024         * minibuffer.h:
15025         * minibuffer.C:
15026         * XFormsView.C: add support for drop-down completion
15027
15028 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15031         commands.
15032
15033 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15034
15035         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15036         disabled.
15037
15038 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15039
15040         * lyx_main.C: change ref to known bugs
15041
15042 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15043
15044         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15045         to work around older babel problems.
15046
15047 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15048
15049         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15050
15051 2001-10-24  Juergen Vigna  <jug@sad.it>
15052
15053         * tabular-old.C (ReadOld): below variable changes reflected.
15054
15055         * tabular.[Ch]: added ltType struct for longtable header/footer
15056         defines and changed all instances where they are used. Added
15057         future support for double top/bottom rows.
15058
15059 2001-10-24  José Matos  <jamatos@fep.up.pt>
15060
15061         * buffer.h (docbookHandleCaption):
15062         * buffer.C (docbookHandleCaption): removed unused function.
15063         (makeDocBookFile): moved docbook supported version to v4.1.
15064
15065 2001-10-24  José Matos  <jamatos@fep.up.pt>
15066
15067         * tabular.h:
15068         * tabular.C (docbookRow): new function to export docbook code of a row.
15069         (DocBook): now honors the longtable flags.
15070
15071 2001-10-23  José Matos  <jamatos@fep.up.pt>
15072
15073         * LaTeXFeatures.h:
15074         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15075         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15076
15077         * buffer.C (makeLinuxDocFile):
15078         (makeDocBookFile): reworked the preamble, more clean, and with
15079         support for lyx defined entities. Changed the document declaration
15080         to be more XML friendly.
15081
15082         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15083         if we need to output XML that should be done with a filter.
15084
15085 2001-10-22  Juergen Vigna  <jug@sad.it>
15086
15087         * sp_pspell.h (class PSpell): add alive function needed in the
15088         controller to see if the spellchecker could be started.
15089
15090 2001-10-22  Juergen Vigna  <jug@sad.it>
15091
15092         * buffer.C (insertStringAsLines): modify the font for inserting
15093         chars in certain conditions by calling checkInsertChar(font).
15094
15095 2001-10-19  Juergen Vigna  <jug@sad.it>
15096
15097         * text.C (workWidth): use getRow instead of wrong algorithm.
15098         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15099
15100 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * lyxserver.h:
15103         * lyxserver.C:
15104         * lyx_main.h:
15105         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15106
15107 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15108
15109         * text.C (workWidth): do not search for the exact row when
15110         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15111         optimization for big documents.
15112
15113 2001-10-18  Juergen Vigna  <jug@sad.it>
15114
15115         * text.C (workWidth): new function with added Inset * parameter.
15116
15117 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15118
15119         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15120
15121         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15122         change return type of getColumnNearX.
15123
15124
15125         * text.C (changeRegionCase): use uppercase/lowercase instead of
15126         toupper/tolower.
15127         (leftMargin):
15128         (rightMargin): simplify code by factoring out the uses of
15129         textclasslist.
15130         (labelFill):
15131         (numberOfHfills):
15132         (setHeightOfRow):
15133         (appendParagraph): use Paragraph::size_type
15134
15135 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15136
15137         * vspace.C (asLatexString): add a missing break
15138
15139 2001-10-15  Herbert Voss  <voss@perce.de>
15140
15141         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15142
15143 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15144
15145         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15146         is not available.
15147
15148 2001-10-10  André Pönitz <poenitz@gmx.net>
15149
15150         * lyxfunc.C: removed greek_kb_flag.
15151
15152 2001-10-10  Herbert Voss  <voss@perce.de>
15153
15154         * lyx_main.C: delete global string help_lyxdir.
15155
15156 2001-10-09  Herbert Voss  <voss@perce.de>
15157
15158         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15159
15160         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15161
15162         * lyx_main.C: added global string help_lyxdir.
15163
15164         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15165
15166 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15167
15168         * lyxrc.C (set_font_norm_type): support iso8859-4
15169
15170 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15171
15172         * LaTeX.C (deplog): add another regex for MikTeX
15173
15174 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15175
15176         * lyxrc.C (set_font_norm_type): support iso8859-3
15177
15178 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15179
15180         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15181
15182         * LaTeXFeatures.C: remove special case of french and index
15183
15184         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15185         before \begin{document}). This solves several incompatibilities.
15186
15187 2001-10-03  Garst Reese  <reese@isn.net>
15188
15189         * lyx_cb.C: change CheckTex error msg.
15190
15191 2001-10-03  José Matos  <jamatos@fep.up.pt>
15192
15193         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15194
15195 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15196
15197         * .cvsignore: update
15198
15199         * lyx_main.C (commandLineVersionInfo): use new style version info.
15200
15201         * buffer.C (writeFile):
15202         (makeLaTeXFile):
15203         (makeLinuxDocFile):
15204         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15205
15206         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15207
15208         * version.h: update to use stuff in version.C
15209
15210         * version.C.in: new file. Contains version information determined
15211         at compile time. This is a merging of version.h and
15212         version_info.h.in.
15213
15214 2001-10-03  Juergen Vigna  <jug@sad.it>
15215
15216         * BufferView_pimpl.C (update): don't change "dirty" status in
15217         updateInset call.
15218
15219 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15220
15221         * WorkArea.C (c-tor): re-position version string slightly.
15222
15223 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15224
15225         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15226         revert to previous code.
15227
15228         WorkArea.[Ch]: (show, destroySplash): methods removed.
15229
15230         WorkArea.C: rework code so that it's an amalgam of the codes before and
15231         after the splash screen was moved to WorkArea.
15232
15233 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15234
15235         * lyxrc.C (read):
15236         * vspace.C (inPixels):
15237         (lyx_advance):
15238         * kbmap.C (bind):
15239         * buffer.C (insertStringAsLines):
15240         (asciiParagraph): fix types to be large enough
15241
15242         * lyxlex_pimpl.h: change member status from short to int
15243
15244         * layout.h: fix type of endlabeltype
15245
15246         * kbmap.C (bind):
15247         * kbsequence.C (parse): change return type to string::size_type
15248
15249         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15250         variable
15251
15252         * Bullet.C (bulletSize):
15253         (bulletEntry): do not use short ints as parameters
15254
15255         * BufferView2.C (insertLyXFile): change a char to an int.
15256
15257         * WorkArea.C (WorkArea): remove unneeded floats in computation
15258
15259 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15260
15261         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15262
15263         * paragraph.C (asString): Do not ignore newline/hfill chars when
15264         copying to the clipboard.
15265
15266 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15267
15268         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15269         after a multi-line inset.
15270
15271 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15272
15273         * paragraph.C (validate): Set NeedLyXFootnoteCode
15274
15275 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15276
15277         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15278         and decrease-error to decrease.
15279
15280 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15283         it more readable (should be equivalent)
15284
15285 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15286
15287         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15288
15289 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15290
15291         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15292         of a cursor (row, etc.) after a character has been deleted
15293         (deleteEmptyParagraphMechanism): call the method above on _all_
15294         cursors held by the LyXText when a double space has been
15295         detected/deleted.
15296
15297 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15298
15299         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15300         pixmap.
15301         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15302
15303         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15304         background. Use greyOut() and the new show() methods to toggle between
15305         the foreground and background. Add code to remove the splash after
15306         its initial showing.
15307
15308         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15309         (create_forms): no longer call Dialogs::showSplash.
15310
15311 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15312
15313         * .cvsignore: add version_info.h
15314
15315 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15316
15317         * version_info.h.in: new file
15318
15319         * Makefile.am: add version_info.h.in
15320
15321         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15322         version_info.h instead of VERSION_INFO
15323
15324 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15325
15326         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15327         The ERT inset now returns string().
15328
15329 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         * lyxtext.h, text.C (selectNextWord): renamed as
15332         selectNextWordToSpellcheck.
15333
15334         * text.C (selectNextWordToSpellcheck): Modified to not select
15335         words inside an ERT inset.
15336
15337 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15338
15339         * lyx_cb.C (MenuLayoutSave): change a bit the question
15340
15341         * sp_base.h: include <sys/types.h>
15342
15343 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15344
15345         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15346
15347 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15348
15349         * several files: fix typos in user-visible strings
15350
15351 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15352
15353         * text2.C (pasteSelection): do not set the selection, since it
15354         will be cleared later. Actually, the intent was to fix the way the
15355         selection was set, but I figured rmoving the code was just as good.
15356
15357 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15358
15359         * FontLoader.C (available): Check if font is available without
15360         loading the font.
15361
15362 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15363
15364         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15365
15366 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15367
15368         * lyxrc.[Ch]: added display_graphics variable and associated code.
15369
15370 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15371
15372         * bufferparams.C (hasClassDefaults): new method. Returns true if
15373         the buffer parameters correspond to known class defaults
15374
15375 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15376
15377         * XFormsView.C (show): set minimum size to the main window.
15378
15379 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * text2.C (copySelection):
15382         (cutSelection):
15383         * lyxfind.C (LyXReplace):
15384         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15385         LyXText::selectionAsString.
15386
15387         * paragraph.C (asString): add "label" argument to the second form
15388
15389         * text2.C (selectionAsString): add "label" argument and pass it to
15390         Paragraph::asString.
15391
15392 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15393
15394         * lyx_main.C (commandLineHelp): remove version information
15395
15396 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15397
15398         * lyx_main.C: add -version commandline option
15399
15400 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15401
15402         * paragraph.h: make the optional constructor arg required instead.
15403         some modifications to other files because of this.
15404
15405         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15406
15407         * lyxserver.C (C_LyXComm_callback): make it static
15408
15409         * lyx_main.C (error_handler): make it static
15410
15411         * lyx_gui.C (LyX_XErrHandler): make it static
15412
15413         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15414
15415         * WorkArea.C: make the extern "C" methods static.
15416
15417         * Makefile.am (lyx_LDADD): simplify
15418
15419 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15420
15421         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15422         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15423
15424         * LyXAction.C (init):
15425         * lyxfunc.C (dispatch): associated code removal.
15426
15427 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15428
15429         * lyxfont.h (isSymbolFont): shut off warning
15430
15431         * text.C (setHeightOfRow):
15432         (getVisibleRow): fix crash with empty paragraphs which have a
15433         bottom line
15434
15435 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15436
15437         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15438         code.
15439
15440 2001-09-04  José Matos  <jamatos@fep.up.pt>
15441         * buffer.C
15442         * buffer.h
15443         * tabular.C (docbook): rename docBook method to docbook.
15444
15445 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15446
15447         * Makefile.am: add dependencies to main.o.
15448
15449 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15450
15451         * FontLoader.C (available): Return false if !lyxrc.use_gui
15452
15453 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15454
15455         * FontInfo.C (query):
15456         * converter.C (view):
15457         * importer.C (Import):
15458         * exporter.C (Export): Can not -> cannot.
15459
15460 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15461
15462         * BufferView_pimpl.C: allow to create index inset even if
15463           string is empty
15464
15465 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15466
15467         * buffer.C (getLists): replace boost::tie code with an explicit pair
15468         as boost::tie can break some compilers.
15469
15470         * iterators.h: Added a std:: declaration to the return type of
15471         ParIterator::size.
15472
15473 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15474
15475         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15476           case.
15477
15478 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15479
15480         * iterators.[Ch]: New files. Provide paragraph iterators.
15481
15482         * buffer.C (changeLanguage): Use paragraph iterators.
15483         (isMultiLingual): ditto
15484
15485         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15486
15487 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15488
15489         * FontLoader.C: Support for cmr font.
15490
15491 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15492
15493         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15494         (available): New method.
15495
15496         * FontInfo.C (getFontname): Use scalable fonts even when
15497         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15498         found.
15499
15500 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15501
15502         * converter.C (Formats::view): reverted! Incorrect fix.
15503
15504 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15505
15506         * converter.C (Formats::view): only output the -paper option
15507         if the dvi viewer is xdvi, thereby fixing bug #233429.
15508
15509 2001-08-23  Herbert Voss  <voss@perce>
15510
15511         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15512
15513 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15514
15515         * Spacing.h (Spacing): Set space to Default on in the default
15516         constructor.
15517
15518 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15519
15520         * vc-backend.h (RCS::versionString): add RCS to version
15521         (CVS::versionString): add CVS to version
15522
15523         * vc-backend.C (scanMaster): do not add CVS to version.
15524         (scanMaster): do not add RCS to version
15525
15526         * lyxvc.C (versionString): new method
15527
15528         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15529
15530 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15531
15532         * Spacing.C (set): initialize fval
15533
15534 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15535
15536         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15537         " or \.
15538
15539 2001-08-16  Juergen Vigna  <jug@sad.it>
15540
15541         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15542
15543 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15544
15545         * BufferView_pimpl.C:
15546         * figureForm.C:
15547         * lyxtext.h:
15548         * text2.C: setParagraph takes linespacing now
15549
15550 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15551
15552         * LyxAction.C: add internal LFUN_CITATION_INSERT
15553
15554         * LyXView.C: actually apply fix
15555
15556         * bufferlist.C: fix open non-existent file
15557
15558         * lyxfind.C: fix indentation
15559
15560         * lyxfunc.C: remove unneeded assert, fix typo
15561
15562 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15563
15564         * MenuBackend.C: use "Floatname List"
15565
15566 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15567
15568         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15569         when converting LaTeX layout to insetERT.
15570         Generate a non-collapsed float when reading old float
15571
15572 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15573
15574         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15575         ERT insets.
15576
15577 2001-08-13  Juergen Vigna  <jug@sad.it>
15578
15579         * text.C (fill): return 0 instead of 20 as this seems to be the more
15580         correct value.
15581
15582 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15583
15584         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15585         lyxrc.font_norm.
15586
15587 2001-08-13  Juergen Vigna  <jug@sad.it>
15588
15589         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15590         casesensitive off.
15591         (SearchBackward): comment out the unlocking of the inset_owner this
15592         should not be needed!
15593
15594 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15595
15596         * Many files: Remove inherit_language, and add latex_language
15597
15598         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15599         collapsible insets.
15600
15601 2001-08-10  Juergen Vigna  <jug@sad.it>
15602
15603         * text.C (prepareToPrint): fixed hfill-width in draw!
15604
15605         * BufferView2.C (selectLastWord): save the selection cursor as this
15606         now is cleared in the function LyXText::clearSelection!
15607
15608 2001-08-08  Juergen Vigna  <jug@sad.it>
15609
15610         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15611         BACKSPACE type functions.
15612
15613         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15614         is only cutted from the document but not put in the cut-buffer, where
15615         still the old stuff should be.
15616
15617         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15618
15619         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15620
15621         * tabular.C (SetWidthOfCell): fixed special case where the width
15622         was not updated!
15623         (LeftLine): handle '|' in align_special.
15624         (RightLine): ditto
15625         (LeftAlreadyDrawed): ditto
15626         (SetWidthOfCell): ditto
15627
15628 2001-08-07  Juergen Vigna  <jug@sad.it>
15629
15630         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15631
15632 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15633
15634         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15635         * lyxlex.[hC]: ditto
15636
15637 2001-08-06  Juergen Vigna  <jug@sad.it>
15638
15639         * text.C (getVisibleRow): fix up row clearing a bit.
15640
15641 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15642
15643         * minibuffer.C: make sure the X server sees the changes in the input.
15644
15645 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15646
15647         * paragraph.C (getFont): split into...
15648         (getLabelFont): this
15649         (getLayoutFont): and this
15650         * paragraph_pimpl.C (realizeFont): calling this
15651
15652         * text2.C (getFont): split into...
15653         (getLayoutFont): this
15654         (getLabelFont): and this
15655         (realizeFont): all three calling this
15656
15657         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15658         files where used.
15659
15660 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15663
15664 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15665
15666         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15667         layouts from the Quote inset insertion.
15668
15669 2001-08-03  Juergen Vigna  <jug@sad.it>
15670
15671         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15672
15673         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15674         only if status not is already CHANGED_IN_DRAW (second level).
15675
15676         * text.C (draw): don't set the need_break_row when inside an
15677         InsetText LyXText.
15678
15679 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15680
15681         * buffer.C (parseSingleLyXformat2Token): handle more latex
15682         conversion cases.
15683
15684         * bufferview_funcs.[hC]: change function names to
15685         begin with small char, adjust other files.
15686
15687 2001-08-02  André Pönitz <poenitz@gmx.net>
15688
15689         * lyxfunc.C:
15690         BufferView_pimpl.C: remove broken special code for math-greek
15691
15692 2001-08-02  Juergen Vigna  <jug@sad.it>
15693
15694         * BufferView_pimpl.C (update): redone this function so that we
15695         update the text again if there was a CHANGE_IN_DRAW.
15696
15697         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15698         (drawFromTo): added a new internal bool which is used by draw() and
15699         redraw() function.
15700         (general): some cursor drawing problems fixed.
15701
15702 2001-08-01  Juergen Vigna  <jug@sad.it>
15703
15704         * lyxfind.C (LyXFind): fixed
15705         (SearchForward): ditto
15706         (SearchBackward): ditto
15707
15708         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15709         spurius drawing of the cursor in the main area.
15710
15711         * text2.C (status): small fix which could lead to a segfault!
15712         (clearSelection): remove unneeded BufferView param.
15713
15714 2001-08-01  André Pönitz <poenitz@gmx.net>
15715
15716         * lyxfunc.C: small change due to changed mathed interface
15717
15718 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15719
15720         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15721
15722 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15723
15724         * lyxfunc.c: fail gracefully if file doesn't exist
15725
15726         * LyXSendto.C:
15727         * buffer.C:
15728         * lyxfunc.C:
15729         * BufferView_pimpl.C: IsDirWriteable() proto changed
15730
15731         * LyXView.C: fix updateWindowTitle() to store the last title
15732
15733 2001-07-31  Juergen Vigna  <jug@sad.it>
15734
15735         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15736         the font (wrong since using of Paragraph::highestFontInRange).
15737
15738         * paragraph.C (highestFontInRange): added a default_size parameter.
15739
15740         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15741         (setHeightOfRow): reformat
15742
15743 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15744
15745         * converter.[hC] + affected files: move to (inital-char)lowercase
15746         function names.
15747
15748         * ParagraphParameters.C (ParagraphParameters): remove commented code
15749
15750         * PainterBase.[Ch]: remove commented code
15751
15752         * LaTeXFeatures.h: add "bool floats" for float.sty
15753
15754         * LaTeXFeatures.C (LaTeXFeatures): init floats
15755         (require): handle float
15756         (getPackages): do it with floats
15757
15758 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15759
15760         * BufferView_pimpl.C (Dispatch): improve handling of
15761         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15762
15763         * commandtags.h: #include lyxfont.h here temporarily to avoid
15764         keybinding bug.
15765
15766         * bufferlist.h: include LString.h here.
15767
15768 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15769
15770         * text2.C (getStringToIndex): new method.
15771
15772 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15773
15774         * *: Reduced header file dependencies all over.
15775
15776 2001-07-30  Baruch Even  <baruch@lyx.org>
15777
15778         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15779
15780 2001-07-29  Baruch Even  <baruch@lyx.org>
15781
15782         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15783
15784 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15785
15786         * ParameterStruct.h (endif): add a default constructor to make
15787         sure that all variables is initialized.
15788
15789         * ParagraphParameters.C (ParagraphParameters): adjust
15790
15791 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15792
15793         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15794         index; also, check that there is something to index, and that it
15795         does not span over several paragraphs.
15796         (doubleClick): use WHOLE_WORD_STRICT for double click.
15797
15798         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15799
15800         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15801         scheme.
15802
15803 2001-07-26  Baruch Even  <baruch@lyx.org>
15804
15805         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15806         an InsetFig figure, backwards compatible reading of old figure code.
15807
15808 2001-07-27  Juergen Vigna  <jug@sad.it>
15809
15810         * text2.C: font.realize function adaption.
15811
15812         * text.C (draw): add a warnings lyxerr text if needed.
15813
15814         * layout.C: font.realize function adaption.
15815
15816         * language.C: add inherit_language and implement it's handlings
15817
15818         * bufferview_funcs.C (StyleReset): remove language parameter from
15819         font creation (should be language_inherit now).
15820
15821         * bufferparams.C (writeFile): handle ignore_language.
15822
15823         * paragraph.C (getFontSettings): the language has to be resolved
15824         otherwise we have problems in LyXFont!
15825
15826         * lyxfont.C (lyxWriteChanges): added document_language parameter
15827         (update): removed unneeded language parameter
15828
15829         * paragraph.C (validate): fixed wrong output of color-package when
15830         using interface colors for certain fonts in certain environments,
15831         which should not seen as that on the final output.
15832
15833 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15834
15835         * BufferView_pimpl.C:
15836         * Thesaurus.h:
15837         * Thesaurus.C:
15838         * Makefile.am:
15839         * commandtags.h:
15840         * LyXAction.C: add thesaurus support
15841
15842         * lyxfind.h:
15843         * lyxfind.C: add "once" parameter, for thesaurus, to not
15844           move to the next match
15845
15846 2001-07-26  Juergen Vigna  <jug@sad.it>
15847
15848         * lyxfont.C (realize): honor ignore_language too!
15849         (resolved): ditto.
15850
15851         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15852
15853         * text.C (draw): one place more for ignore_language to not draw
15854         itself!
15855
15856 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15857
15858         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15859
15860 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15861
15862         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15863         the minipage conversion problem.
15864
15865 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15866
15867         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15868         insert an inset.
15869
15870 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15871
15872         * BufferView.h: don't forward declare WorkArea
15873
15874         * BufferView.C: don't include WorkArea.h
15875
15876 2001-07-25  André Pönitz <poenitz@gmx.net>
15877
15878         * commandtags.h:
15879         * LyXAction.C:
15880         * lyxfunc.C:  new LFUN 'math-space'
15881
15882         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15883
15884 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15885
15886         * text2.C (toggleInset): call open/close
15887
15888 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15889
15890         * lyxfunc.C (dispatch): add debug for the disabled case
15891
15892         * font.C (buttonText): make similar to rectText
15893
15894         * buffer.C (readInset): comment out parsing of insetlist and
15895         insttheorem
15896
15897         * PainterBase.C (rectText): small correction
15898
15899         * BufferView_pimpl.C: comment out insettheorem and insetlist
15900         * LyXAction.C: ditto
15901         * commandtags.h: ditto
15902
15903 2001-07-24  Juergen Vigna  <jug@sad.it>
15904
15905         * text.C (draw): honor the ignore_language.
15906
15907         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15908
15909 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15910
15911         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15912         char inset.
15913
15914 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15915
15916         * lyxtext.h: remove unused (and unimplemented) methods
15917
15918 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15919
15920         * text.C (getVisibleRow): honor background color
15921
15922         * PainterBase.h:
15923         * Painter.h: remove default color argument for fillRectangle
15924
15925         * text.C (backgroundColor): new method
15926
15927 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15928
15929         * text.C (getVisibleRow): adjust
15930
15931         * font.[Ch] (rectText): new method, metrics
15932         (buttonText): new method, metrics
15933
15934         * PainterBase.[hC]: make rectText and buttonText always draw and take
15935         fewer paramteres.
15936
15937 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15938
15939         * ToolbarDefaults.C (read):
15940         * MenuBackend.C (read): allow escaping in all strings
15941
15942         * BufferView_pimpl.C (insertAndEditInset): new method.
15943         (Dispatch): use insertAndEditInset whenever appropriate.
15944
15945         * BufferView_pimpl.C (insertNote): removed
15946
15947         * BufferView_pimpl.C (smartQuote): new method, moved from
15948         BufferView; if an insetquote cannot be inserted, insert a '"'
15949         character instead.
15950
15951         * BufferView2.C: remove insertCorrectQuote();
15952
15953         * lyxfunc.C (getStatus): Add support for all remaingin
15954         inset-insert lfuns.
15955
15956         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15957
15958         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15959         command (necessary to pass " as parameter of self-insert.
15960
15961         * text.C (selectWordWhenUnderCursor):
15962         (selectWord): add word_location parameter
15963         (selectWordWhenUnderCursor): same + remove special code for word
15964         boundary.
15965         (selectNextWord): use kind() to guess type of insetspecialchar,
15966         not latex().
15967
15968         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15969         (insertErtContents): create ert insets as collapsed.
15970         (readInset): better compatibility code for Info inset.
15971
15972 2001-07-20  Juergen Vigna  <jug@sad.it>
15973
15974         * lyxfunc.C (dispatch): use always LyXFind now!
15975
15976         * text2.C (init): add a reinit flag so that the LyXText can be
15977         reinited instead of deleted and reallocated (used in InsetText).
15978
15979         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15980
15981         * text.C: ditto
15982
15983         * text2.C: ditto
15984
15985 2001-07-18  Juergen Vigna  <jug@sad.it>
15986
15987         * text.C (selectNextWord): handle insets inside inset by calling
15988         always the bv->text functions so that we can go up the_locking_inset!
15989
15990         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15991         in strange locations when inside an inset!
15992
15993         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15994         handling to include insets.
15995
15996         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15997
15998 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15999
16000         * LyXAction.C (init):
16001         * commandtags.h:
16002         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16003         LIGATURE_BREAK, since the name is so stupid.
16004
16005 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16006
16007         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16008         InsetInfos.
16009
16010         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16011
16012         * sp_form.[Ch]: remove.
16013
16014         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16015
16016         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16017         InsetInfo.
16018
16019         * src/buffer.C (readInset): ditto.
16020
16021 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16022
16023         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16024         menuSeparator(), endOfSentenceDot(), ldots() and
16025         hyphenationPoint(), which are therefore removed.
16026         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16027
16028         * LyXAction.C (init):
16029         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16030
16031         * paragraph.C (getWord): removed.
16032
16033         * BufferView_pimpl.C (Dispatch): use last word or selection for
16034         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16035
16036         * lyx_main.C (queryUserLyXDir): do not ask before creating
16037         user_dir, except if it has been named explicitely.
16038
16039 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16040
16041         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16042         a document of zero size.
16043
16044 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16045
16046         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16047         approriately in the c-tor and in require().
16048         (getPackages): output the appropriate LaTeX for natbib support.
16049
16050         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16051         variables "use_natbib" and "use_numerical_citations" when reading the
16052         LyX file.
16053         (readInset): read the various natbib cite commands.
16054         (validate): white-space change.
16055
16056         * bufferparams.[Ch]: new variables "bool use_natbib" and
16057         "bool use_numerical_citations".
16058         (writeFile): output them in the LyX file.
16059
16060 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16061
16062         * lyxfunc.C (getStatus): add support for all the inset insertion
16063         commands.
16064
16065         * text2.C (insertInset):
16066         * paragraph.C (insetAllowed):
16067         * BufferView_pimpl.C (insertInset): update to take in account the
16068         renaming of insertInsetAllowed
16069
16070         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16071
16072         * text2.C (getInset): new method. returns inset at cursor position.
16073
16074         * BufferView_pimpl.C (Dispatch): changes because of this.
16075
16076         * LyXAction.C (init): rename open-stuff to inset-toggle.
16077
16078         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16079
16080         * text2.C (toggleInset): renamed from openStuff; use
16081         Inset::open().
16082
16083 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16084
16085         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16086
16087         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16088
16089 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16090
16091         * buffer.C (readLyXformat2): Add filename to the error dialog
16092
16093 2001-07-18  Juergen Vigna  <jug@sad.it>
16094
16095         * tabular.C (GetCellNumber): put an assert here instead of the check!
16096
16097 2001-07-17  Juergen Vigna  <jug@sad.it>
16098
16099         * BufferView_pimpl.C (toggleSelection): adapted too.
16100
16101         * text.C (selectNextWord): adapted for use with insets.
16102         (selectSelectedWord): ditto
16103
16104 2001-07-17  Juergen Vigna  <jug@sad.it>
16105
16106         * sp_spell.C (PSpell): fix initialitation order.
16107
16108 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16109
16110         * paragraph.C: spacing
16111
16112 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16113
16114         * sp_spell.C: repair language selection for pspell
16115
16116 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16117
16118         * lyxfunc.h: change more methods to begin with lower char.
16119
16120 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16121
16122         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16123         for unknown layouts.
16124
16125 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16126
16127         * buffer.C (readLyXformat2): Generate an error dialog if there are
16128         unknown layouts.
16129
16130 2001-07-16  Juergen Vigna  <jug@sad.it>
16131
16132         * sp_spell.C: always compile ISpell part.
16133
16134         * lyxrc.C: added use_pspell entry and it's handling.
16135
16136 2001-07-13  Juergen Vigna  <jug@sad.it>
16137
16138         * sp_spell.C: removed double includes.
16139
16140 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16141
16142         Consistent use of Lsstream.h:
16143         * Lsstream.h: added using std::stringstream for consistencies sake.
16144
16145         * buffer.C: removed using std::stringstream
16146
16147         * lyxfont.C (stateText):
16148         * paragraph.C (asString):
16149         * text.C (selectNextWord, selectSelectedWord):
16150         * text2.C (setCounter):
16151         * vspace.C (asString, asLatexString):
16152         std::ostringstream -> ostringstream.
16153
16154 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16155
16156         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16157         * commandtags.h: add LFUN_HELP_ABOUTLYX
16158         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16159
16160 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16161
16162         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16163         cursorToggle()
16164         * lyx_gui_misc.C: remove spellchecker
16165         * lyxfunc.C: showSpellchecker
16166         * sp_base.h: added
16167         * sp_ispell.h: added
16168         * sp_pspell.h: added
16169         * sp_spell.C: added
16170         * sp_form.[Ch]: removed
16171         * spellchecker.[Ch]: removed
16172
16173 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16174
16175         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16176         is set.
16177         (simpleTeXSpecialChars): Simply print the input character without
16178         any special translation if pass_thru is set.
16179
16180         * layout.h: Added bool pass_thru to layout class for being able to
16181         implement pass through of a paragraph for Literate Programming.
16182
16183         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16184         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16185         * layout.C (Read): add "passthru" to list of layout tags and add
16186         code to set the pass_thru boolean when it is read.
16187
16188 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16189
16190         * trans_decl.h: remove allowed from KmodInfo
16191
16192         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16193         remove allowed code
16194         (Load): adjust
16195
16196         * paragraph_pimpl.C (erase): use boost::prior
16197
16198         * Painter.C (text): use data() instead of c_str() when length is
16199         also provided.
16200         * WorkArea.C (putClipboard): ditto
16201         * font.h (width): ditto
16202
16203         * BufferView2.C: use it-> instead of (*it). for iterators
16204         * texrow.C: ditto
16205         * paragraph_pimpl.C: ditto
16206         * paragraph.C: ditto
16207         * minibuffer.C: ditto
16208         * language.C: ditto
16209         * kbmap.C: ditto
16210         * encoding.C: ditto
16211         * counters.C: ditto
16212         * converter.C: ditto
16213         * chset.C: ditto
16214         * Variables.C: ditto
16215         * TextCache.C: ditto
16216         * MenuBackend.C: ditto
16217         * LyXAction.C: ditto
16218         * LColor.C: ditto
16219         * FloatList.C: ditto
16220         * DepTable.C: ditto
16221         * ColorHandler.C (LyXColorHandler): ditto
16222
16223 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16224
16225         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16226
16227         * text2.C (openStuff): reintroduce this method (which had been
16228         nuked in NEW_INSETS frenzy).
16229
16230         * lyxfunc.C (Dispatch): when an action has not been handled, use
16231         its name in the error message, not its number.
16232
16233         * paragraph.C (inInset): change method name to begin with lowercase.
16234
16235         * undo_funcs.C:
16236         * text2.C: updates because of this.
16237
16238 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16239
16240         * ToolbarDefaults.C (add): add spaces in error message
16241
16242 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16243
16244         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16245         (readLyXformat2): rename return_par to first_par, use lyxlex's
16246         pushToken and remove the manual push handling.
16247         (parseSingleLyXformat2Token): add another ert comp. variable:
16248         in_tabular, rename return_par to first_par. handle newlines better
16249
16250 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16251
16252         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16253
16254 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16255
16256         * text2.C (getParFromID): removed
16257
16258         * buffer.C (getParFromID): new method moved form lyxtext.
16259         * BufferView2.C (insertErrors): adjust
16260         (setCursorFromRow): adjust
16261         * BufferView_pimpl.C (restorePosition): adjust
16262         * lyxfunc.C (Dispatch): adjust
16263         * undo_funcs.C (textUndo): adjust
16264         (textRedo): adjust
16265         (textHandleUndo): adjust
16266         (textHandleUndo): adjust
16267
16268 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16269
16270         * buffer.C: up' the LYX_FORMAT
16271
16272         * lyxfont.h: turn NO_LATEX on as default
16273
16274         * buffer.C (insertErtContents): new methods of tex style compability.
16275         (parseSingleLyXformat2Token): use it several places.
16276         * tabular.C (OldFormatRead): and here
16277
16278 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16279
16280         * text2.C: remove some commented code.
16281         reindent file.
16282
16283         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16284         * trans.C: changes because of the above.
16285
16286 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16287
16288         * text2.C (setCounter): Fix counters bug with bibliography layout.
16289
16290 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16291
16292         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16293         own member functions
16294         (simpleTeXSpecialChars): ditto
16295
16296 2001-07-06  Juergen Vigna  <jug@sad.it>
16297
16298         * a lot of files: changed the access to LyXText::status and the
16299         call of undo-functions.
16300
16301         * undo.[Ch]: added a inset_id to the undo informations.
16302
16303         * undo_funcs.[Ch]: added and moved here all undo functions.
16304
16305         * lyxtext.h: give the status enum a weight, made status_ a private
16306         variable and made accessor functions for it, removed the whole bunch
16307         of undo-functions as they are now in their own file, make some
16308         functions publically available. Added function ownerParagraph with
16309         int parameter.
16310
16311         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16312         made InInset() a const function, added getParFromID() function.
16313
16314         * buffer.[Ch]: added const version for inset_iterator functions,
16315         added getInsetFromID() function.
16316
16317         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16318         changed undo functions for new version.
16319
16320 2001-07-05  Juergen Vigna  <jug@sad.it>
16321
16322         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16323         unknow mechanism does not call the proper constructor but only this
16324         one also if I request the other!?
16325
16326 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16327
16328         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16329
16330         * text2.C (LyXText): use initialization lists.
16331
16332         * lyxtext.h (Selection): initialize set_ and mark_
16333         (init): remove method
16334
16335 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16336
16337         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16338
16339 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16340
16341         * screen.[Ch]: change method names to begin with lowercase
16342
16343         * BufferView_pimpl.C (updateScrollbar): simplify further and
16344         hopefully make it a bit faster.
16345
16346 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16347
16348         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16349         calling directly xforms functions.
16350
16351         * Painter.C (Painter):
16352         * lyx_cb.C (MenuWrite):
16353         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16354         fl_display.
16355
16356         * lyx_gui.C: remove bogus guiruntime extern declaration.
16357
16358 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16359
16360         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16361         in NEW_INSETS
16362         (redoDrawingOfParagraph): ditto
16363         (redoParagraphs): ditto
16364         (cutSelection): don't create a object for CutAndPaste use the
16365         static method directly
16366         (pasteSelection): ditto
16367
16368         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16369         LyXview (+ rename)
16370
16371 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16372
16373         * modifications to some other files because of this.
16374
16375         * Makefile.am (lyx_SOURCES): add XFormsView
16376
16377         * XFormsView.[Ch]: new files
16378
16379         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16380         the main window. Move the gui dependent stuff to XFormsView
16381
16382 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16383
16384         * tabular.C (GetCellInset): update cur_cell also in the row/col
16385         version of this function.
16386
16387         * lyxfunc.C: no need to include figure_form.h here.
16388
16389         * FontLoader.h:
16390         * lyxfunc.h:
16391         * lyxscreen.h:
16392         * text2.C:
16393         * lyxvc.C: no need to include forms.h here.
16394
16395 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16396
16397         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16398
16399         * lyxfunc.C (Dispatch):
16400         * Spacing.C (set):
16401         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16402         constructor argument.
16403
16404 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16405
16406         * paragraph.C (Paragraph): dont't clear, and just set layout.
16407         (makeSameLayout): use params's copy contructor.
16408
16409         * ParagraphParameters.[Ch] (makeSame): delete method
16410
16411 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16412
16413         * Variables.[Ch]: fix indentation, rename set to isSet
16414
16415 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16416
16417         * lyxfunc.C (Dispatch): fix typo
16418
16419 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16420
16421         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16422         upper_bound.
16423
16424         * bufferlist.C: include assert.h for emergencyWrite().
16425
16426 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16427
16428         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16429           give up at last (bug #425202) !
16430
16431 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16432
16433         * lyx_gui_misc.C:
16434         * sp_form.h:
16435         * sp_form.C:
16436         * spellchecker.h:
16437         * spellchecker.C: strip spellchecker options and bring up
16438           preferences tab instead
16439
16440 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16441
16442         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16443         the istringstream constructor
16444
16445 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16446
16447         * paragraph.C (getLayout): fix return value
16448
16449         * paragraph.h: do not declare getLayout as inline.
16450
16451         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16452
16453 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16454
16455         * lyxcursor.h (operator<): new func
16456         (operator>): new func
16457         (operator>=): new func
16458         (operator<=): new func
16459
16460         * text.C (changeCase): use selection.start and selection.end
16461         (changeRegionCase): require from to be <= to. Require par to be a
16462         valid paragraph.
16463
16464         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16465
16466 2001-06-27  Juergen Vigna  <jug@sad.it>
16467
16468         * text.C (cursorLeftOneWord): changed to return the cursor and added
16469         overlay with BufferView * parameter which calls this one.
16470         (getWord): added
16471         (selectWord): use new getWord function.
16472         (changeCase): renamed from changeWordCase as and extended to work
16473         also on selections.
16474
16475         * lyxtext.h: added enum word_location
16476
16477         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16478         changeCase as this operates now also on selections.
16479
16480 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16481
16482         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16483
16484         * many files: send debug output to Debug::INFO instead of
16485         Debug::ANY.
16486
16487         * converter.C (View):
16488         (Convert):
16489         (Move): send debug output to Debug::FILES instead of console.
16490
16491 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16492
16493         * lyxfunc.C (getStatus): use func_status
16494
16495         * func_status.h: new header, describing the results of
16496         LyXFunc::getStatus;
16497
16498         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16499         LFUN_MATH_HALIGN.
16500
16501 2001-06-25  The LyX Project  <jug@sad.it>
16502
16503         * buffer.C (sgmlOpenTag):
16504         (sgmlCloseTag):
16505         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16506
16507 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16508
16509         * text2.C: remove some dead code
16510
16511         * tabular.C (GetCellInset): store the last cell checked (gotten)
16512
16513         * tabular.h: add the helper for the speedup
16514
16515         * lyxtext.h: remove some dead code
16516
16517 2001-06-26  The LyX Project  <Asger>
16518
16519         * paragraph.C: Change export to LaTeX of alignment to
16520         \begin{center} and family for better roundtrip work with reLyX.
16521
16522         * Tune the math drawing a bit.
16523
16524 2001-06-25  The LyX Project  <Asger>
16525
16526         * LColor.C (LColor): New color for math background. New color
16527         for buttons.
16528
16529 2001-06-25  The LyX Project  <jug@sad.it>
16530
16531         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16532
16533         * lyxfunc.C (Open):
16534         * bufferlist.C (newFile): do not restrict to files ending with
16535         .lyx
16536
16537         * BufferView_pimpl.C (MenuInsertLyXFile):
16538
16539 2001-06-24  The LyX Project  <jug@sad.it>
16540
16541         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16542         of compare_no_case
16543
16544 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16545
16546         * lyxtext.h: rename most methods to begin with a small char.
16547         Lots of changes because of this.
16548
16549         * paragraph.C (Paragraph): do not call fitToSize
16550         (erase): call Pimpl::erase
16551         (insertChar): call Pimpl::insertChar
16552         (insertInset): call Pipl::insertInset
16553         (breakParagraph): do not call fitToSize
16554         (breakParagraphConservative): do not call fitToSize
16555         (fitToSize): remove method
16556
16557         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16558
16559 2001-06-24  The LyX Project  <Asger>
16560
16561         * Fix Qt compilation^2
16562
16563 2001-06-24  The LyX Project  <jug@sad.it>
16564
16565         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16566         depthHook(getDepth()-1).
16567
16568         * paragraph.h:
16569         * ParagraphParameters.h:
16570         * ParameterStruct.h: change type of depth to unsigned int ==
16571         depth_type. Many adaptations to other files before of that.
16572
16573 2001-06-24  The LyX Project  <Asger>
16574
16575         * Fix Qt compilation.
16576
16577 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16578
16579         * paragraph.h: renamed several methods to begin with small letter.
16580         several changes to many parts of the code because of this.
16581
16582 2001-06-23  The LyX Project  <jug@sad.it>
16583
16584         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16585         rewritten to discard all double spaces when KeepEmpty is off
16586         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16587         to only handle newlines but not fiddle with spaces and friends.
16588
16589         * lyxfunc.C (MenuNew): when doing 'new from template', use
16590         template_path as default directory
16591
16592 2001-06-23  The LyX Project  <Asger>
16593
16594         * Clean-up of header file includes all over
16595         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16596
16597 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16598
16599         * paragraph.h: renamed from lyxparagraph.h
16600
16601 2001-06-23  Asger  <lyx@violet.home.sad.it>
16602
16603         * Buffer.h: Removed Buffer::resize
16604         * BufferList.h: Removed BufferList::resize
16605         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16606         the document lazily when we change the width, or the font settings.
16607
16608 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16609
16610         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16611
16612 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16613
16614         * buffer.h: remove out of date comment
16615
16616 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16617
16618         * lyxscreen.h:
16619         * screen.C: fix "theoretical" GC leak
16620
16621 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16622
16623         * LaTeX.C (scanAuxFile):
16624         (deplog): remove trailing \r when reading stream (useful under
16625         win32)
16626
16627 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16628
16629         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16630         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16631         and BufferView::theLockingInset(Inset*), so should use them and not
16632         access bv_->text->the_locking_inset directly.
16633
16634         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16635
16636 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16637
16638         * Makefile.am:
16639         * tex-defs.h: remove old unused file
16640
16641 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16642
16643         * BufferView_pimpl.C: fix typo, remove minibuffer message
16644           when buffer has loaded
16645
16646 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16647
16648         * lyxfunc.C (Dispatch): use stringstream
16649         (MenuNew): use stringstream
16650         (Open): use stringstream
16651
16652         * importer.C (Import): use stringstream
16653
16654         * bufferview_funcs.C (CurrentState): use stringstream
16655
16656         * LaTeX.C (run): use stringstream
16657
16658         * BufferView_pimpl.C (savePosition): use stringstream
16659         (restorePosition): use stringstream
16660         (MenuInsertLyXFile): use stringstream
16661
16662 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16663
16664         * BufferView.C:
16665         * Bullet.C:
16666         * ColorHandler.C:
16667         * FontInfo.C:
16668         * FontLoader.C:
16669         * LColor.C:
16670         * LaTeXFeatures.C:
16671         * Painter.C:
16672         * gettext.C:
16673         * lyx_gui_misc.C:
16674         * lyxserver.C:
16675         * vspace.C: removed // -*- C++ -*- as first line.
16676
16677         * lyxfind.h:
16678         * version.h: added // -*- C++ -*- as first line.
16679
16680 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16681
16682         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16683
16684         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16685         of string
16686
16687 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16688
16689         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16690         of floats.
16691
16692 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16693
16694         * gettext.C: include LString.h even when --disable-nls is on.
16695
16696 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16697
16698         * converter.h (Get): changed argument type from int to
16699         FormatList::size_type to avoid unnecessary conversion.
16700
16701         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16702         before using it.
16703
16704 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16705
16706         * gettext.h: include LString.h even when --disable-nls is on.
16707
16708 2001-06-07  Juergen Vigna  <jug@sad.it>
16709
16710         * text.C (BreakAgain): subst spaces with tabs.
16711
16712         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16713         (resizeInsetsLyXText): set force on resizeLyXText.
16714
16715 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16716
16717         * gettext.h (gettext_init):
16718         (locale_init): use a real definition instead of a macro
16719
16720 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16721
16722         * Bufferview_pimpl.C:
16723         * LColor.h:
16724         * LColor.C: further lcolor tidies
16725
16726 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16727
16728         * BufferView_pimpl.C (updateScrollbar): simplify.
16729
16730         * BufferView2.C: don't include insets/insetinfo.h, change
16731         prototype for insertInset and call the Pimpl version. let
16732         updateInset call Pimpl version.
16733
16734         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16735         gotoInset to BufferView::Pimpl
16736
16737 2001-06-01  Juergen Vigna  <jug@sad.it>
16738
16739         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16740         inside a LockingInset (is the update needed at all?).
16741
16742 2001-05-31  Juergen Vigna  <jug@sad.it>
16743
16744         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16745         here not the old one otherwise how should we compare it afterwards
16746         if it's the same!
16747
16748 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16749
16750         * lyxfont.C:
16751         * tabular.C:
16752         * tabular-old.C:
16753         * FontInfo.C: bring C functions into global namespace when
16754         necessary
16755
16756 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16757
16758         * LString.h: make sure config.h has been loaded before LString.h.
16759
16760         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16761         (one for each char read by EatLine!).
16762
16763         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16764         variables.
16765
16766 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16767
16768         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16769         to the same as the par we break from
16770
16771 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16772
16773         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16774
16775         * MenuBackend.C (expand): also create menu entries for wide
16776         versions of the floats.
16777
16778         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16779
16780         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16781
16782         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16783         frontends/Makefile.am
16784
16785         * text2.C: adjust
16786         * text.C: adjust
16787
16788
16789         * tabular.C (getTokenValue): add std::
16790
16791         * tabular-old.C (getTokenValue): add std::
16792         (getTokenValue): ditto
16793         (getTokenValue): ditto
16794
16795         * screen.C (ToggleSelection): adjust
16796
16797         * lyxtext.h: put selection cursors inside a Selection struct.
16798
16799         * lyxfunc.C (moveCursorUpdate): adjust
16800
16801         * lyxfont.C (latexWriteStartChanges): add std::
16802
16803         * lyxfind.C: adjust
16804
16805         * font.h: delete with(char const *, LyXFont const &)
16806
16807         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16808
16809         * FontInfo.C (getFontname): add std::
16810
16811         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16812         (workAreaButtonPress): adjust
16813         (tripleClick): adjust
16814         (update): adjust
16815         (moveCursorUpdate): adjust
16816         (Dispatch): adjust
16817
16818         * BufferView2.C (gotoInset): adjust
16819
16820 2001-05-30  Juergen Vigna  <jug@sad.it>
16821
16822         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16823         to check pspell I add this as default as I now have new pspell
16824         libraries and they seem to use this.
16825
16826 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16827
16828         * text2.C (CutSelection): make the cursor valid before the call to
16829         ClearSelection.
16830
16831 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16832
16833         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16834         relied on 0 terminated strings and other horrors. Bug found due to
16835         the new assert in lyxstring!
16836
16837         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16838         KP_ keys.
16839
16840 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16841
16842         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16843         to latinkeys.bind.
16844
16845         * lyxfunc.C (processKeySym): change method of getting to the
16846         self-insert char.
16847
16848         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16849         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16850         * BufferView_pimpl.[Ch]: here as private methods.
16851
16852 2001-05-28  Juergen Vigna  <jug@sad.it>
16853
16854         * text.C (SetHeightOfRow): added the update() call again as it is
16855         needed to initialize inset dimensions!
16856
16857 2001-05-16  Juergen Vigna  <jug@sad.it>
16858
16859         * text2.C (SetCharFont): Add new function with BufferView * and
16860         bool toggleall parameters for setting insets internal fonts.
16861         (SetFont): Freeze the undo as we may change fonts in Insets and
16862         all this change should be inside only one Undo!
16863
16864         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16865         setting font's in insets as for them we have the SetFont function!
16866
16867 2001-05-15  Juergen Vigna  <jug@sad.it>
16868
16869         * text2.C (ClearSelection): to be sure we REALLY don't have any
16870         selection anymore!
16871
16872         * tabular.C (TeXCellPreamble): fixed the left border problem for
16873         multicolumn cells.
16874
16875 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16876
16877         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16878         dependancy file
16879
16880 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16881
16882         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16883         LFUN_BREAKPARAGRAPH.
16884
16885         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16886         help test to "internal only", similar for LFUN_INSERT_URL
16887
16888         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16889         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16890         auto_region_delete and deadkeys.
16891
16892 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16893
16894         * LColor.h:
16895         * LColor.C: remove some dead entries, tidy a little
16896
16897 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16898
16899         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16900         commented code.
16901         (Dispatch): implement LFUN_ESCAPE
16902
16903         * commandtags.h: add LFUN_ESCAPE
16904
16905         * LyXAction.C (init): add entry for LFUN_ESCAPE
16906
16907         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16908         Remove commented code.
16909         (insertNote): moved here
16910         (open_new_inset): moved here
16911
16912         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16913         BufferView_pimpl
16914
16915 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16916
16917         * kbmap.C (findbinding): clean it up and make it work correctly.
16918
16919         * lyx_main.C (init): do not pass argc and argv as parameters
16920
16921 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16922
16923         * buffer.C: fix path for OS/2 & Win32
16924
16925         * lyx_gui.C:
16926         * lyx_main:
16927         * lyx_main.C: Added os:: class.
16928
16929         * os2_defines.h: update
16930
16931 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16932
16933         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16934         better by trying again with reduced state.
16935
16936 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16937
16938         * lyxrc.C (read): print error about invalid key sequence only when
16939         debugging (because not all latinX keysyms are known to some X
16940         servers)
16941
16942         * kbsequence.C (getiso): add a few std:: qualifiers
16943         (getiso): comment out extra return statement.
16944
16945 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16946
16947         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16948         handling.
16949         (Dispatch): enhance the accent inset a bit. (not perfect)
16950
16951 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16952
16953         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16954
16955 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16956
16957         * bufferlist.C (emergencyWrite): fix assert() call
16958
16959 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16960
16961         * text.C (InsertChar): Added trivial patch to only send the "you
16962         can not do multiple spaces this way" message once during a
16963         session.
16964
16965 2001-05-08  Baruch Even  <baruch@lyx.org>
16966
16967         * Makefile.am: Changed order of libraries to get LyX to link properly
16968         with the gnome frontend.
16969
16970 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16971
16972         * LaTeXFeatures.h: add a std:: qualifier
16973
16974 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16975
16976         * paragraph.C (String): use stringstream
16977
16978 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16979
16980         * paragraph.C (writeFile): remove footflag arg
16981
16982         * buffer.C (makeLaTeXFile): use stringstream
16983         (latexParagraphs): remove footnot gurba
16984
16985         * LaTeXFeatures.C (getPackages): use stringstream
16986         (getMacros): likewise
16987         (getTClassPreamble): likewise
16988         (getFloatDefinitions): new method
16989
16990         * paragraph.C (writeFile): reindent
16991         (Erase): reindent
16992
16993         * WorkArea.h: revert the xpos + etc changes.
16994
16995         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16996
16997         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16998
16999         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17000         (pasteSelection): likewise
17001         * text2.C (CreateUndo): likewise
17002
17003 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17004
17005         * minibuffer.C (peek_event): temporarily reduce the functionality
17006         of the minibuffer (to allow args on lfuns)
17007
17008         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17009         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17010
17011         * buffer.C (readInset): add compability reading of old float
17012         lists, add reading of new style float list.
17013         (readInset): avoid reevaluation of inscmd.getCmdName()
17014         (getLists): reindent
17015
17016         * MenuBackend.C (MenuItem): implement parsing of
17017         md_floatlistinsert and md_floatinsert.
17018         (expand::LastFiles): move initalizaton of iterators out of loop,
17019         avoid reevaluation.
17020         (expand::Documents): introduce typdedef vector<string> Strings,
17021         and use it.
17022         (expand::ExportFormats): introduce typedef vector<Format const *>
17023         Formats, and use it.
17024         (expand): implement FloatListInsert and FloatInsert.
17025
17026         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17027         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17028         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17029
17030         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17031         handling.
17032         (Dispatch::LFUN_FLOAT_LIST): implement
17033
17034 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17035
17036         * LaTeX.C (run): Fix problem with --export code.
17037
17038 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17039
17040         * BufferView.[Ch] (workarea): removed.
17041         (getClipboard) new method; wrapper for workarea()->getClipboard()
17042
17043         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17044         bug.
17045
17046         * WorkArea.h (width, height, xpos, ypos): These methods all
17047         returned the dimensions of the work_area sub-area of WorkArea,
17048         resulting in a position error if the WorkArea were resized. Now
17049         return the dimensions of the entire WorkArea.
17050
17051         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17052
17053 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17054
17055         * LaTeX.C (deplog): correct the syntax of regex reg1
17056
17057 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17058
17059         * undo.C: remove !NEW_INSETS cruft
17060
17061 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17062
17063         * text2.C: remove !NEW_INSETS cruft
17064
17065         * text.C: remove !NEW_INSETS cruft
17066
17067         * tabular.C: remove !NEW_INSETS cruft
17068
17069         * spellchecker.C: remove !NEW_INSETS cruft
17070
17071         * lyxtext.h: remove !NEW_INSETS cruft
17072
17073         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17074
17075         * lyxfunc.C: remove !NEW_INSETS cruft
17076
17077         * lyxfind.C: remove !NEW_INSETS cruft
17078
17079         * lyx_cb.C: remove !NEW_INSETS cruft
17080
17081         * figureForm.C: remove  !NEW_INSETS cruft
17082
17083         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17084
17085         * buffer.[Ch]: remove !NEW_INSETS cruft
17086
17087         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17088
17089         * CutAndPaste.C: remove !NEW_INSETS cruft
17090
17091         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17092
17093         * BufferView2.C: remove !NEW_INSETS cruft
17094
17095         * BufferView.h: remove !NEW_INSETS cruft
17096
17097 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17098
17099         * Lsstream.h: include LString.h before the sstream headers to
17100         fix problem with gcc 2.95.3 and lyxstring
17101
17102 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17103
17104         * lyx_main.C: add using directives when needed for C functions
17105         declared in std:: namespace.
17106
17107 2001-04-27  Juergen Vigna  <jug@sad.it>
17108
17109         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17110         (SetHeightOfRow): comment out the update call should not be needed!
17111
17112 2001-04-13  Juergen Vigna  <jug@sad.it>
17113
17114         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17115         (LyXTabular): tried to minimize operator= operations (and realized
17116         hopfully Lars wish).
17117
17118 2001-04-27  Juergen Vigna  <jug@sad.it>
17119
17120         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17121
17122 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17123
17124         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17125
17126         * buffer.C (readInset): hack to make listof algorithm work
17127
17128         * BufferView_pimpl.C: hack to make listof algorithm work
17129
17130 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17131
17132         * LyXAction.C: removed all !NEW_INSETS cruft
17133         (init): moved lfun_item in method
17134
17135         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17136
17137 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17138
17139         * BufferView2.C (theLockingInset): white space.
17140
17141 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17142
17143         * minibuffer.C: include <iostream>
17144
17145         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17146
17147         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17148
17149         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17150
17151         * text.[Ch] (TransposeChars): new method
17152
17153 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17154
17155         * call message directly through LyXView instead of through LyXFunc
17156         * BufferView2.C: adjust
17157         * BufferView_pimpl.C: adjust
17158         * FontLoader.C: adjust
17159         * buffer.C: adjust
17160         * bufferview_funcs.C: adjust
17161         * converter.C: adjust
17162         * figureForm.C: adjust
17163         * importer.C: adjust
17164         * lyx_cb.C: adjust
17165         * lyx_gui_misc.C: adjust
17166         * lyxfunc.C: adjust
17167         * lyxvc.C: adjust
17168         * text2.C: adjust
17169         + more files in subdirs
17170
17171         * lyxparagraph.h (size): move up int file
17172         (GetLayout): ditto
17173
17174         * adjust all uses of Assert to lyx::Assert.
17175
17176         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17177         lyxfunctional in namespace lyx
17178         * layout.C (hasLayout): ditto
17179         (GetLayout): ditto
17180         (GetLayout): ditto
17181         (delete_layout): ditto
17182         (NumberOfClass): ditto
17183         * converter.C (GetFormat): ditto
17184         (GetNumber): ditto
17185         (Add): ditto
17186         (Delete): ditto
17187         (SetViewer): ditto
17188         * bufferlist.C (getFileNames): ditto
17189         (emergencyWriteAll): ditto
17190         (exists): ditto
17191         (getBuffer): ditto
17192         * MenuBackend.C (hasSubmenu): ditto
17193         (hasMenu): ditto
17194         (getMenu): ditto
17195         * BufferView_pimpl.C (getInsetByCode): ditto
17196
17197 2001-04-18  Juergen Vigna  <jug@sad.it>
17198
17199         * vspace.C (asLatexString): fixed the 100% problem.
17200
17201 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17202
17203         * lyxfunc.C (Dispatch):
17204         * minibuffer.C:
17205         * minibuffer.h: add a few std:: qualifiers
17206
17207 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17208
17209         * minibuffer.[Ch]: reimplement so that commands is initiated and
17210         run from lyxfunc, simplified som handling, and made the completion
17211         and history code for complete. wip.
17212
17213         * lyxfunc.C (processKeySym): call message
17214         (miniDispatch): new temporary method
17215         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17216         (LFUN_MESSAGE): implement
17217         (LFUN_MESSAGE_PUSH): implement
17218         (LFUN_MESSAGE_POP): implement
17219         (initMiniBuffer): the initial/defualt minibuffer message.
17220
17221         * lyxfont.[Ch]: inline some more getters
17222
17223         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17224
17225         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17226
17227         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17228         (AutoSave): use LFUN_MESSAGE
17229         (Reconfigure): ditto
17230
17231         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17232
17233         * figureForm.C: use LFUN_MESSAGE
17234
17235         * converter.C (runLaTeX): use LFUN_MESSAGE
17236
17237         * bufferview_funcs.C: use LFUN_MESSAGE
17238         (Melt): ditto
17239         (changeDepth): ditto
17240
17241         * bufferparams.h: use boost::
17242
17243         * bufferlist.h: inherit privately from noncopyable
17244
17245         * bufferlist.C (loadLyXFile): remove some commented code.
17246
17247         * buffer.C (runChktex): use LFUN_MESSAGE
17248
17249         * ShareContainer.h: inherit privately from noncopyable
17250
17251         * ParagraphParameters.[hC] (depth): inline it.
17252
17253         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17254         methods.
17255         (message): new method
17256         (messagePush): ditto
17257         (messagePop): ditto
17258         (show): init minibuffer
17259         (showState): direct call
17260
17261         * LaTeX.[Ch]: inherit privately from noncopyable
17262         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17263         instead of WriteStatus.
17264
17265         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17266
17267         * BufferView_pimpl.C (buffer): don't init minibuffer
17268         (workAreaButtonPress): use LFUN_MESSAGE
17269         (workAreaButtonRelease): ditto
17270         (savePosition): ditto
17271         (restorePosition): ditto
17272         (MenuInsertLyXFile): ditto
17273         (workAreaExpose): don't init minibuffer
17274         (update): remove commented code, simplify
17275
17276         * BufferView2.C (openStuff): use LFUN_MESSAGE
17277         (toggleFloat): ditto
17278         (menuUndo): ditto
17279         (menuRedo): ditto
17280         (copyEnvironment): ditto
17281         (pasteEnvironment): ditto
17282         (copy): ditto
17283         (cut): ditto
17284         (paste): ditto
17285         (gotoInset): ditto
17286         (updateInset): remove some commented code
17287
17288         * lastfiles.h: inherit privately from noncopyable
17289         * layout.h: ditto
17290         * lyx_gui.h: ditto
17291         * lyx_main.h: ditto
17292         * lyxlex.h: ditto
17293         * lyxlex_pimpl.h: ditto
17294
17295         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17296         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17297         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17298
17299         * LyXAction.h: inherit privately from noncopyable, add methods
17300         func_begin, func_end, returning iterators to the func map.
17301
17302         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17303         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17304         (func_begin): new method
17305         (func_end): new method
17306
17307         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17308         and not)
17309         (copySelection): ditto
17310         (pasteSelection): ditto
17311
17312         * BufferView.C: whitespace change
17313         * BufferView.h: inherit privately from noncopyable
17314
17315 2001-04-16  Allan Rae  <rae@lyx.org>
17316
17317         * tabular-old.C (l_getline):
17318         * spellchecker.C (sc_check_word):
17319         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17320         an unrecognised preprocessor directive.  So ensure they're wrapped.
17321
17322 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17323
17324         * src/exporter.C (Export): Give an error message when path to file
17325         contains spaces.
17326
17327 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17328
17329         * LaTeX.C (deplog): Always check that foundfile exists.
17330
17331 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17332
17333         * lyx_main.h:
17334         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17335
17336 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17337
17338         * tabular.[Ch] (getLabelList): implement new method
17339
17340         * minibuffer.h: comment ouf setTiimer
17341
17342         * minibuffer.C (ExecutingCB): constify res
17343         (peek_event): constify s
17344         (Set): constify ntext
17345         (Init): constify nicename
17346
17347         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17348
17349         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17350         (savePosition): use two params to Minibuffer::Set
17351         (restorePosition): ditto
17352
17353 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17354
17355         * lyx_main.C: include language.h
17356
17357         * Makefile.am (lyx_main.o): add language.h
17358
17359 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17360
17361         * exporter.C:
17362         * paragraph.C:
17363         * screen.C:
17364         * tabular.C:
17365         * CutAndPaste.C: include gettext.h
17366
17367         * lyxfont.h: remove old hack with ON and OFF.
17368
17369         * lyxparagraph.h:
17370         * lyxfont.h: do not include language.h...
17371
17372         * BufferView2.C:
17373         * LaTeXFeatures.C:
17374         * Painter.C:
17375         * bufferview_funcs.C:
17376         * font.C:
17377         * lyxfont.C:
17378         * text.C:
17379         * text2.C:
17380         * trans_mgr.C:
17381         * paragraph.C: ... but do it here instead
17382
17383 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17384
17385         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17386
17387         * tabular.C: small reformat
17388
17389         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17390         NEW_INSETS version
17391         (GetChar): ditto
17392         (BreakParagraph): ditto
17393         (SetOnlyLayout): ditto
17394         (SetLayout): ditto
17395
17396         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17397         with one arg less.
17398
17399         * lastfiles.C: removed most using decl, add std:: where needed
17400
17401         * buffer.C: ws changes
17402
17403         * MenuBackend.C (class compare_format): put into anon namespace
17404         (expand): constify label, names, action, action2
17405         (expand):
17406
17407         * text.C (SingleWidth): constify font
17408         (IsBoundary): constify rtl2
17409         (GetVisibleRow): constify ww
17410
17411         * LaTeX.C (deplog): constify logfile
17412
17413         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17414         start_x, end_x
17415         (workAreaExpose): constify widthChange, heightChange
17416
17417         * lyxrow.C (par): moved
17418         (height): moved
17419         (next): moved
17420         * lyxrow.h: as inlines here
17421
17422         * lyxfont.h (shape): moved from lyxfont.C
17423         (emph): moved from lyxfont.C
17424
17425         * lyxfont.C (LyXFont): use initialization list for all
17426         constructors
17427         (shape): move to lyxfont.h as inline
17428         (emph): move to lyxfont.h as inline
17429
17430
17431 2001-04-04  Juergen Vigna  <jug@sad.it>
17432
17433         * vspace.C: had to include stdio.h for use of sscanf
17434
17435 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17436
17437         * BufferView.h:
17438         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17439         independent of xforms.
17440
17441 2001-04-02  Juergen Vigna  <jug@sad.it>
17442
17443         * spellchecker.C: fixed namespace placing!
17444
17445 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17446
17447         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17448         the LyXParagraph * is 0.
17449
17450 2001-03-29  Juergen Vigna  <jug@sad.it>
17451
17452         * vspace.C: added support for %, c%, p%, l%.
17453         (stringFromUnit): added helper function.
17454         (asLatexString): changed to give right results for the %-values.
17455
17456         * buffer.C: convert the widthp in a width%.
17457
17458 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17459
17460         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17461         figureForm.[Ch].
17462
17463         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17464         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17465
17466         * lyx_cb.[Ch]: see above.
17467
17468         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17469         form1.[Ch].
17470
17471         * form1.[Ch]:
17472         * lyx.[Ch]: replaced by figure_form.[Ch].
17473
17474         * lyx_gui.C:
17475         * lyx_gui_misc.C:
17476         * lyxfunc.C: changed headers associated with above changes.
17477
17478 2001-03-27  Juergen Vigna  <jug@sad.it>
17479
17480         * BufferView_pimpl.C: set the temporary cursor right!
17481
17482 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17483
17484         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17485
17486 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17487
17488         * LString.h: removed "using std::getline"!
17489
17490         * BufferView_pimpl.C (Dispatch): changes due to changes in
17491         InsetInclude::Params.
17492
17493         * buffer.C (tag_name): removed redundant break statements as they were
17494         producing lots of warnings with my compiler.
17495
17496 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17497
17498         * LString.h: add "using std::getline" when using the real <string>.
17499
17500 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17501
17502         * buffer.C: removed bitset usage.
17503         PAR_TAG moved to an anonymous name space.
17504         (tag_name): new funtion, also in the anonymous namespace.
17505         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17506         (makeDocBookFile): clean code. Completed transition from string arrays
17507         to string vectors.
17508         (SimpleDocBookOnePar): code clean.
17509
17510 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17511
17512         * tabular.C: add some comments.
17513
17514 2001-03-22  Juergen Vigna  <jug@sad.it>
17515
17516         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17517         compatibility read a bit and fixed bug with minipage in different
17518         depth.
17519
17520 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17521
17522         * buffer.C (pop_tag): removed.
17523         (push_tag): removed.
17524         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17525         array replaced with vector. Added support for CDATA sections.
17526         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17527         at any nest level.
17528         (makeDocBookFile): XML conformant declaration of CDATA section,
17529         fixed bug related to <emphasis> in the first paragraph char.
17530         (sgmlOpenTag): exclude empty tags.
17531         (sgmlCloseTag): ditto.
17532
17533         * buffer.h (pop_tag): removed.
17534         (push_tag): removed.
17535
17536 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17537
17538         * language.h (Languages): added size_type and size().
17539
17540 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17541
17542         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17543         response on compability reading of minipages. One probliem is that
17544         the old usage of minipages was flertydig
17545
17546         * several files here and in subdirs: don't use static at file
17547         scope use anon namespaces instead.
17548
17549 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17550
17551         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17552         LaTeX output. This is necessary for Literate document
17553         processing.
17554
17555 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17556
17557         * buffer.C: insert hfill when needed.
17558
17559         * tabular.C (l_getline): use string::erase, small whitespace change.
17560
17561         * BufferView_pimpl.C: try the anon namespace.
17562         * WorkArea.C: ditto
17563
17564 2001-03-16  Juergen Vigna  <jug@sad.it>
17565
17566         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17567         otherwise it won't open options-dialogs.
17568
17569         * buffer.C: honor pextraWidth(p) on converting minipages.
17570
17571         * tabular.C (l_getline): changed the functions to strip trailing \r.
17572
17573 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17574
17575         * BufferView_pimpl.C:
17576         * minibuffer..C: added "using SigC::slot" declaration.
17577
17578 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17579
17580         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17581
17582         * text2.C: ditto
17583
17584         * text.C: ditto
17585
17586         * paragraph.C: ditto
17587
17588         * lyxtext.h: NO_PEXTRA
17589
17590         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17591
17592         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17593         * ParameterStruct.h: ditto
17594         * ParagraphParameters.h: ditto
17595         * lyxparagraph.h: ditto
17596
17597 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17598
17599         * buffer.C: add compability for minipage alignment.
17600         (latexParagraphs): remove unwanted pextra check.
17601
17602         * several files: remove CXX_WORKING_NAMESPACES
17603
17604         * buffer.C (pop_tag): tie is in namespace boost
17605
17606         * BufferView.h: noncopyable is in namespace boost
17607         * lyxlex.h: ditto
17608         * lyx_main.h: ditto
17609         * lyx_gui.h: ditto
17610         * layout.h: ditto
17611         * lastfiles.h: ditto
17612         * bufferlist.h: ditto
17613         * ShareContainer.h: ditto
17614         * LyXView.h: ditto
17615         * LyXAction.h: ditto
17616         * LaTeX.h: ditto
17617
17618 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17619
17620         * Merging changes from BRANCH_MVC back into HEAD.
17621
17622         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17623
17624 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17625
17626         * BufferView_pimpl.C: change from intl.C
17627
17628         * combox.h:
17629         * combox.C:
17630         * Makefile.am: move combox.*
17631
17632         * form1.h:
17633         * form1.C:
17634         * lyx_gui.C:
17635         * intl.h:
17636         * intl.C: remove dialog (covered by prefs)
17637
17638 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17639
17640         * lyxfunc.C (Dispatch): removed redundant break statement.
17641
17642 2001-03-14  Juergen Vigna  <jug@sad.it>
17643
17644         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17645
17646 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17647
17648         * buffer.C: add hack to fix compability reading of minipages.
17649
17650 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17651
17652         * buffer.C (getLists): Cleanup.
17653
17654 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17655
17656         * lyxfont.C (update): don't honor toggleall on font size.
17657
17658 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17659
17660         * bmtable.c:
17661         * bmtable.h:
17662         * Makefile.am: moved to frontends/xforms/
17663
17664         * lyx_gui_misc.C:
17665         * lyxfunc.C:
17666         * BufferView_pimpl.C: changes for moved mathpanel
17667
17668 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17669
17670         * gettext.h: fix gettext_init() in --disable-nls
17671
17672 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17673
17674         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17675
17676 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17677
17678         * lyx.C:
17679         * lyx.h: strip external form
17680
17681 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17682
17683         * BufferView_pimpl.C: add comment, destroySplash()
17684
17685 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17686
17687         * BufferView_pimpl.C:
17688         * LyXAction.C:
17689         * buffer.C:
17690         * commandtags.h:
17691         * lyxfunc.C: use re-worked insetinclude
17692
17693 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17694
17695         * buffer.C: add using std::stringstream.
17696
17697         * lyx_cb.C: readd using std::ios.
17698
17699         * buffer.C: add using std::map.
17700
17701         * BufferView_pimpl.C: add using std::vector.
17702
17703         * ShareContainer.h: add std:: to swap.
17704
17705         * buffer.h: add some typedefs
17706         * buffer.C (getLists): use them
17707         (getLists): renamed from getTocList.
17708         add a counter for the different float types and use it in the
17709         generated string.
17710         (getLists): use the same counter for the NEW_INSETS and the "non"
17711         NEW_INSETS
17712
17713         * lyx_cb.h: remove unused items, includes, using etc.
17714
17715         * ShareContainer.h: remove some commented code, add more comments
17716         and "documentation".
17717
17718 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17719
17720         * buffer.C (getTocList): make the list also when NEW_INSETS is
17721         defined.
17722
17723         * buffer.h: remove TocType
17724
17725         * buffer.C (getTocList): change to return a map<string,
17726         vector<TocItem> >, implement for dynamic number of list.
17727
17728         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17729         * text2.C (PasteSelection): adjust
17730         * CutAndPaste.C (pasteSelection): adjust
17731
17732         * FloatList.C (FloatList): update from the new_insets branch.
17733         * Floating.[Ch]: ditto
17734         * LaTeXFeatures.C: ditto
17735         * buffer.C: ditto
17736         * lyxlex_pimpl.C: ditto
17737
17738         * paragraph.C (Last): remove when NEW_INSETS is defined.
17739
17740         * other file: changes because of the above.
17741
17742 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17743
17744         * lyxparagraph.h: rename next to next_, previous to previous_,
17745         make them private for NEW_INSETS. Rename Next() to next(),
17746         Previous() to previous().
17747
17748         * other files: changes because of the above.
17749
17750 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17751
17752         * BufferView.h:
17753         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17754         problem.
17755
17756 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17757
17758         * main.C (main): pass lyx_localedir to gettext_init().
17759
17760         * gettext.h: remove locale_init and gettext_init macros
17761
17762         * gettext.C (locale_init): new function
17763         (gettext_init): new function
17764
17765         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17766         setlocale().
17767
17768 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17769
17770         * Moved credits to frontends:
17771         * credits.[Ch]: removed
17772         * credits_form.[Ch]: removed
17773         * lyx_gui_misc.C: remove credits stuff
17774         * Makefile.am:
17775
17776 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17777
17778         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17779
17780         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17781         unneeded destructor.
17782
17783         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17784         a standalone pointer again.
17785
17786         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17787
17788 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17789
17790         * Makefile.am:
17791         * filedlg.h:
17792         * filedlg.C:
17793         * LyXAction.C:
17794         * ToolbarDefaults.C:
17795         * bufferlist.C:
17796         * commandtags.h:
17797         * form1.C:
17798         * form1.h:
17799         * lyx_cb.C:
17800         * lyx_cb.h:
17801         * lyxfunc.h:
17802         * lyxfunc.C:
17803         * BufferView_pimpl.C: use new file dialog in GUII
17804
17805         * lyx_cb.h:
17806         * lyx_cb.C: remove LayoutsCB to Toolbar
17807
17808 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17809
17810         * ShareContainer.h (get): add std:: qualifier
17811
17812 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17813
17814         * ShareContainer.h: define a proper ShareContainer::value_type
17815         type (and use typename to please compaq cxx)
17816
17817 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17818
17819         * lyxparagraph.h: move serveral local vars to
17820         ParameterStruct/ParagraphParameters., use ShareContainer in
17821         FontTable., make vars in FontTable private and add getter and
17822         setter.
17823
17824         * paragraph.C: changes because of the above.
17825
17826         * lyxfont.h: remove copy constructor and copy assignment. (the
17827         default ones is ok), move number inside FontBits. move inlines to
17828         lyxfont.C
17829
17830         * lyxfont.C: add number to initializaton of statics, move several
17831         inlines here. constify several local vars. some whitespace
17832         cleanup. Dont hide outerscope variables.
17833
17834         * Spacing.h: add two new constructors to match the set methods.
17835
17836         * ShareContainer.h: new file, will perhaps be moved to support
17837
17838         * ParameterStruct.h: new file
17839
17840         * ParagraphParameters.h: new file
17841
17842         * ParagraphParameters.C: new file
17843
17844         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17845         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17846
17847         * BufferView_pimpl.C: ParagraphParameter changes.
17848         * buffer.C: Likewise.
17849         * bufferview_funcs.C: Likewise.
17850         * text.C: Likewise.
17851         * text2.C: Likewise.
17852
17853 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17854
17855         * lyxfind.C (LyXReplace): do not redefine default argument in
17856         implementation.
17857         (IsStringInText): ditto
17858         (SearchForward): ditto
17859         (SearchBackward): ditto
17860
17861 2001-03-06  Juergen Vigna  <jug@sad.it>
17862
17863         * lyxfind.C (IsStringInText): put parentes around expressions.
17864
17865 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17866
17867         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17868
17869 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17870
17871         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17872
17873         * stl_string_fwd.h: add comment
17874
17875         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17876
17877         * tabular.h:
17878         * tabular.C: remove unused DocBook methods
17879
17880         * intl.C:
17881         * language.C:
17882         * paragraph.C:
17883         * buffer.C:
17884         killed DO_USE_DEFAULT_LANGUAGE
17885
17886 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17887
17888         * lyx_gui.C: do not include language.h.
17889
17890         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17891         arguments in function implementation.
17892
17893 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17894
17895         * BufferView_pimpl.C: add <ctime>
17896
17897 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17898
17899         * BufferView_pimpl.C: add using std::find_if
17900
17901 2001-02-27  José Matos  <jamatos@fep.up.pt>
17902
17903         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17904         by OnlyPath.
17905
17906 2001-02-11  José Matos  <jamatos@fep.up.pt>
17907
17908         * buffer.C (makeDocBookFile): command styles now have a parameter as
17909         "title" by default.
17910
17911 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17912
17913         * layout_forms.[Ch]: removed
17914         * lyx_cb.[Ch]: out character
17915         * lyx_gui.C: out character
17916         * lyx_gui_misc.C: out character
17917         * bufferview_funcs.C: : out character,
17918         added toggleall as parameter in ToggleAndShow
17919
17920 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17921
17922         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17923
17924         * text2.C (SetCurrentFont): Disable number property at boundary.
17925
17926 2001-02-26  Juergen Vigna  <jug@sad.it>
17927
17928         * lyxfunc.C (getStatus): added a string argument override function so
17929         that this is correctly called from LyXFunc::Dispatch if it contains a
17930         do_not_use_argument which is used!
17931         (Dispatch): added check for "custom" export and call appropriate func.
17932
17933 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17934
17935         * lyxrc.C: Add language_command_local, language_use_babel and
17936         language_global_options.
17937
17938         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17939
17940         * buffer.C (makeLaTeXFile): Use language_use_babel and
17941         language_global_options.
17942
17943 2001-02-23  Juergen Vigna  <jug@sad.it>
17944
17945         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17946         which works with LyXText and putted it inside BufferView. Here now we
17947         only call for that part the BufferView::Dispatch() function.
17948
17949         * BufferView.C (Dispatch): added.
17950
17951         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17952         functions which needs to use a LyXText over from LyXFunc.
17953         (MenuInsertLyXFile): added
17954         (getInsetByCode): added
17955         (moveCursorUpdate): added
17956         (static TEXT): added
17957
17958 2001-02-22  Juergen Vigna  <jug@sad.it>
17959
17960         * BufferView_pimpl.C (update): call a status update to see if LyXText
17961         needs it.
17962
17963 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17964
17965         * vc-backend.C (revert): implement for CVS
17966         (getLog): implement for CVS
17967
17968 2001-02-20  Juergen Vigna  <jug@sad.it>
17969
17970         * text2.C (ClearSelection): added BufferView param for inset_owner call
17971
17972         * lyxfunc.C (TEXT): added this function and use it instead of
17973         directly owner->view()-text of getLyXText().
17974
17975 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17976
17977         * src/layout_forms.C: out preamble
17978         * src/layout_forms.h: out preamble
17979         * src/lyx_cb.C: out preamble
17980         * src/lyx_cb.h: out preamble
17981         * src/lyx_gui.C: out preamble
17982         * src/lyx_gui_misc.C: out preamble
17983         * src/lyxfunc.C: connect with guii preamble
17984
17985 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17986
17987         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17988
17989 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17990
17991         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17992         whether to run bibtex.
17993
17994 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17995
17996         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17997
17998 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17999
18000         * Makefile.am (lyx_SOURCES): removed bibforms.h
18001
18002         * vspace.h: doxygen
18003
18004         * text.C (GetVisibleRow): make several local vars const
18005
18006         * tabular.C: small cleanup.
18007
18008         * lyxserver.C (callback): use compare instead of strncmp
18009
18010         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18011         inlines to after class or to paragraph.C
18012
18013         * lyxfont.h: remove friend operator!=
18014
18015         * converter.h: move friend bool operator< to non friend and after
18016         class def.
18017
18018         * combox.h: small cleanup
18019
18020         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18021         to inlines after class def.
18022
18023         * buffer.C (pop_tag): use string operations instead of strcmp
18024
18025         * bmtable.c: doxygen, small cleanup
18026
18027         * LaTeX.h: remove friend operator==
18028
18029 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18030
18031         * screen.C:
18032         * lyxrc.[Ch]:
18033         * lyxfunc.C:
18034         * lyxfont.[Ch]:
18035         * lyx_cb.C:
18036         * intl.[Ch]:
18037         * commandtags.h:
18038         * buffer.C:
18039         * WorkArea.[Ch]:
18040         * LyXAction.C:
18041         * BufferView_pimpl.C:
18042         * BufferView.[Ch]: remove cruft
18043
18044 2001-02-14  Juergen Vigna  <jug@sad.it>
18045
18046         * lyxfunc.C: removed #if 0 unused code
18047
18048         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18049
18050         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18051
18052         * text2.C (SetSelection): added a BufferView * parameter
18053
18054 2001-02-13  Juergen Vigna  <jug@sad.it>
18055
18056         * lyxfunc.C (Dispatch): fixed protected blank problem.
18057         * BufferView2.C (protectedBlank): added LyxText * parameter.
18058
18059         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18060         (AppendColumn): same as above for column_info.
18061
18062         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18063         (moveCursorUpdate): use a LyXText param for support of InsetText.
18064
18065         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18066         (tripleClick): ditto
18067
18068         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18069
18070         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18071
18072         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18073
18074         * text2.C (SetSelection): set correct update status if inset_owner
18075         (ToggleFree): ditto
18076
18077 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18078
18079         * tabular.C: remove some commented code.
18080
18081 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18082
18083         * BufferView_pimpl.C: call hideSplash()
18084
18085         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18086
18087         * include_form.h:
18088         * bibforms.h: remove
18089
18090         * lyxfunc.C:
18091         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18092           add LFUN_CHILD_CREATE
18093
18094         * counters.h: fix tiny typo
18095
18096         * lyx_cb.C:
18097         * lyx.h:
18098         * lyx_gui.C:
18099         * lyx.C: move splash to frontends/xforms/
18100
18101         * lyx_gui_misc.C: move Include and Bibform to frontends
18102
18103         * lyxvc.h: clarify comment
18104
18105         * vspace.C: tiny housekeeping
18106
18107 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18108
18109         * text.C (PrepareToPrint): RTL Fix.
18110
18111         * paragraph.C (GetUChar): New method.
18112         (String):  Use GetUChar.
18113
18114         * buffer.C (asciiParagraph): Use GetUChar.
18115
18116 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18117
18118         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18119
18120 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18121
18122         * buffer.h:
18123         * buffer.C: rename to getLogName(), handle
18124           build log / latex log nicely
18125
18126 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18127
18128         * MenuBackend.C:
18129         * MenuBackend.h: remove support for reference menuitem type.
18130
18131 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18132
18133         * BufferView_pimpl.C: housekeeping
18134         * BufferView_pimpl.h:
18135         * LyXView.h:
18136         * Makefile.am:
18137         * Timeout.C:
18138         * Timeout.h:
18139         * minibuffer.h: move Timeout GUI-I
18140
18141 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18142
18143         * lyxrc.C (read): Update converters data-structures.
18144
18145 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18146
18147         * LaTeX.h (operator!=): add operator != for Aux_Info
18148
18149 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18150
18151         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18152
18153         * LaTeXLog.C: deleted, useful code moved to Buffer
18154
18155         * buffer.h:
18156         * buffer.C: new function getLatexLogName()
18157
18158         * lyx_gui_misc.C:
18159         * lyx_gui.C:
18160         * lyxvc.C:
18161         * lyxvc.h:
18162         * lyxfunc.C: use frontends for LaTeX and VC logs
18163
18164 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18165
18166         * LaTeX.h: yet another std:: that Allan forgot.
18167
18168         * Variables.C (set): renamed from isset(), because this clashes
18169         with some HP-UX macros (grr).
18170
18171 2001-02-06  Allan Rae  <rae@lyx.org>
18172
18173         * LaTeX.h: Another bug fix.  Missing std:: this time.
18174
18175 2001-02-04  Allan Rae  <rae@lyx.org>
18176
18177         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18178         floats problem. I've left it commented out because it's not quite
18179         correct.  It should also test that the current object is a table or
18180         figure inset.  But I haven't gotten around to figuring out how to do
18181         that.  I *think* it'll be something like: "table" == inset.type()
18182
18183         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18184         bool.
18185
18186 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18187
18188         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18189         all the citation/databases/styles in the auxilary file.
18190         (run): Rerun latex if there was a babel language error.
18191
18192 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18193
18194         * text.C (Backspace): Preserve the font when changing newline char
18195         with a space.
18196         (BreakParagraph): If the cursor is before a space, delete the space.
18197
18198         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18199
18200 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18201
18202         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18203         new argument (code).
18204         (ChangeCitationsIfUnique): New method.
18205
18206         * paragraph.C (GetPositionOfInset): Handle bibkey.
18207
18208 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18209
18210         * BufferView_pimpl.h: change type of Position::par_pos to
18211         LyXParagraph::size_type.
18212
18213 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18214
18215         * BufferView_pimpl.C (savePosition, restorePosition): Write
18216         messages to minibuffer.
18217
18218 2001-01-28  José Matos  <jamatos@fep.up.pt>
18219
18220         * buffer.C (makeDocBookFile): adds support for document language.
18221         A silly restriction on the name of LatexCommand types where removed.
18222         Added support for CDATA sections, allows to chars unescaped, used
18223         among others in code, to avoid escape < and >.
18224
18225 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18226
18227         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18228         saved positions instrad of a stack. Furthermore, a position is
18229         stored using paragraph id/paragraph position.
18230
18231         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18232         Remove LFUN_REF_BACK.
18233
18234 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18235
18236         * converter.C (dvipdfm_options): New method.
18237
18238 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18239
18240         * vspace.C (isValidLength): Fix for empty input string.
18241
18242 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18243
18244         * LyXAction.C (init): change description of LFUN_FIGURE to
18245         "Insert Graphics"
18246
18247 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18248
18249         * LaTeX.C: add using directive
18250
18251 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18252
18253         * MenuBackend.C (expand): Fix the sorting of the formats.
18254
18255 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18256
18257         * lyx_main.C: tiny error message fix
18258
18259 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18260
18261         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18262         calling fl_initialize(). This fixes the problem with ',' as
18263         decimal separator in text files.
18264
18265 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18266
18267         * trans.C (process): Fix the keymap bug.
18268
18269 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18270
18271         * LaTeX.C (scanAuxFiles): New method. Provides support for
18272         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18273         (scanLogFile) Scan for "run BibTeX" messages.
18274
18275         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18276         OT1 font encoding. Also, load the aecompl package if the ae
18277         package is loaded.
18278
18279         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18280
18281 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18282
18283         * texrow.C (increasePos): turn two error messages into debug
18284         messages.
18285
18286 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18287
18288         * LaTeX.C (scanAux): Handle the \@input macro.
18289         (runBibTeX): Use scanAux().
18290
18291         * language.C (latex_options_): New field.
18292
18293         * LaTeXFeatures.C (getMacros): Add language macros.
18294
18295         * buffer.C (makeLaTeXFile): Small fix.
18296
18297 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18298
18299         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18300
18301         * text2.C: add a using directive.
18302
18303 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18304
18305         * BufferView2.C:
18306         * lyx_gui_misc.h:
18307         * lyxfr1.C:
18308         * lyxfunc.C: kill LyXBell.
18309
18310 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18311
18312         * text.C (IsBoundary): Remove the error message
18313
18314         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18315
18316         * lyxrc.C (setDefaults): Correct initialization value for
18317         font_norm_type.
18318
18319 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18320
18321         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18322         gotoError().
18323
18324         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18325         and GotoNextNote().
18326
18327         * src/LyXAction.C: Added reference-next.
18328
18329         * text.C (InsertChar): Use contains instead of strchr.
18330
18331         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18332
18333 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18334
18335         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18336         alignment commands (when needed).
18337
18338         * text.C (InsertChar): Add ':' to number separator chars.