]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Trivial fixes to some warnings thrown up by MSVS.Net 2003.
[lyx.git] / src / ChangeLog
1 2005-11-02  Angus Leeming  <leeming@lyx.org>
2
3         * Bidi.C:
4         * lyxtextclass.C: trivial fixes to some MSVS warnings.
5
6 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * text3.C (getStatus): re-enable disabled code. (bug 2081)
9
10         * BranchList.h (empty): constify.
11
12 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13
14         * text3.C (getStatus): 
15         * MenuBackend.C (expandBranches): take the branch list from the
16         master document (bug 2092).
17         
18         * MenuBackend.C (expandBranches): 
19         * bufferparams.C (writeFile): use BranchList type.
20
21 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * text3.C (dispatch, getStatus): 
24         * LyXAction.C (init): 
25         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
26
27 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
30
31 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
32
33         * text.C (insertChar): do not reset boundary (bug 2061)
34
35 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * dociterator.C (updateInsets): new method. Updates the inset_
38         cache of all the slices of the iterator.
39
40         * text2.C (deleteEmptyParagraphMechanism): compare also containing
41         insets when comparing pit/pos; pass the right cursor to
42         recordUndo; when a paragraph has been deleted, compare `old.top()' to
43         the right cursor slice of `cur'; use updateInsets on cur to make
44         sure that the inset caches are correct; general cleanup.
45
46 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
47
48         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
49         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
50         containg inset. If this does not work, the same command will be
51         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
52
53         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
54         a dispatch.
55
56 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
57
58         * lyxtextclass.C (Read): convert layout file if the format is wrong
59         * lyxtextclass.C (layout2layout): new, needed for the above
60
61 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
62
63         * messages.C: do not forget to include <cerrno>.
64
65 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
66
67         * dociterator.h (StableDocIterator): add access to pos().
68         * undo.C (samePar): new method to check if two
69         iterators are in the same paragraph
70         * undo.C (recordUndo): check for samePar instead of cell identity
71         (which includes pos() and is too strict) (fixes bug 2097)
72
73 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * text.C (setCursorFromCoordinates): return a bool telling whether
76         dEPM triggered.
77
78         * text3.C (cursorPrevious): update if needed after
79         setCursorFromCoordinates (when dEPM triggered).
80
81         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
82         (otherwise the anchor may be completely wrong and make dEPM assert).
83
84 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
85
86         * buffer.C: version upgrade to 245.
87         * bufferparams.C: remove \quotes_times (bug 2090).
88         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
89         quotation marks as default.
90
91 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
92
93         * CutAndPaste.C (nrOfParagraphs): remove (unused)
94         * CutAndPaste.C (cutSelection): Remove debug message
95         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
96         undo information and only copy if this is a real cut
97         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
98         call
99         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
100         (bug 2059)
101         * CutAndPaste.C (eraseSelection): prevent cursor corruption
102         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
103         superflous cur.selection() setting
104         * CutAndPaste.[Ch] (grabSelection): take a const cursor
105         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
106
107 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
110         change anything.
111
112 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
113
114         * BufferView_pimpl.C: comment layout change
115
116 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
117
118         * LyXAction.C:
119         * lfuns.h:
120         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
121         by bibliography managers (bug 2071).
122
123 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
124
125         * BufferView_pimpl.C (update): choose arguments to update call so
126         that single-par update works most times
127         * text3.C (dispatch): carefully tune updating separately for
128         whole-screen and current-paragraph
129         * rowpainter.C (paintText): 1) replace painting by caching for
130         the two extra paragraphs, because we can;
131         2) suppress greying out of areas below/above drawn area in case of
132         single-par refresh
133         * lyxfunc.C (dispatch): remove superfluous update
134         * LyXAction.[Ch]: introduce SingleParUpdate
135
136 2005-10-05  Angus Leeming  <leeming@lyx.org>
137
138         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
139         always initialised before use.
140
141         * text.C (setHeightOfRow): squash warning about comparison
142         of signed and unsigned types.
143
144 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
145
146         * text.C (cursorX): two fixes involving RtL text drawing
147
148 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
151         items, not only large ones (part of bug 2057)
152
153 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
156         argument, use "newcommand".
157
158 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
159
160         * cursor.C (setSelection): do not open collapsable insets;
161         the insets do by themselves now (autoopen).
162
163 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
164
165         * buffer.C: format is up to 244.
166
167 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
168
169         * text.C (redoParagraph): fix calcultation of inset width wrt 
170         leftMargin (bug 1957).
171
172         * text3.C (dispatch): leave inset to the right when hitting ESC 
173         (bug 2034).
174
175 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * text2.C: 
178         * text.C: 
179         * factory.C:
180         * messages.C: include <boost/current_function.hpp> 
181
182 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
185         when command is internal. (bug 1941)
186
187 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * text2.C (cursorRight): do not honor boundary when at the end of
190         a paragraph. (bug 2010 again)
191
192 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
195
196 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
197
198         * rowpainter.C (paintText): fix RtL space width display bug (2029)
199
200 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * text2.C (setCursor): remove the unused 'boundary' parameter for
203         the CursorSlice version; adapt the LCursor version.
204
205         * lyxrc.C (write): 
206         * paragraph_pimpl.C (markErased): 
207         * cursor.C (bruteFind2, bruteFond3): fix warnings.
208
209 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
212         as is already done for "chapter".
213
214 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
217         textclass; do not record undo if nothing is changed.
218
219 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
220
221         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
222
223 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
224
225         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
226
227 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
230         combox, it is necessary to search for the topmost paragraph in the
231         cursor stack (bug 1926)
232
233 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
236         end of paragraph. (bug 2010)
237
238 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
239
240         * text.C (leftMargin): check for inInset == 0
241
242 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
243
244         * text.C (leftMargin): test for insetbase's new neverIndent()
245         bool instead of listing each and every inset that does not
246         wish par indendation.
247
248 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * buffer_funcs.C (setCounter): put the code to compute enum label
251         here (where it belongs).
252
253         * counters.C (enumLabel): move code to buffer_funcs.C.
254
255 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
256
257         * outputparams.[Ch]: store local_font instead of local_language
258         * paragraph.C (simpleTeXOnePar): adapt to the change above
259
260 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
261
262         * buffer_funcs.C:
263         * counters.[Ch]: clean up special code for Hebrew.
264
265 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
266
267         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
268         than 2.
269
270 2005-09-08  Angus Leeming  <leeming@lyx.org>
271
272         * ispell.C:
273         * lyxrc.C: correct grammar describing invocation of the
274         spellchecker.
275
276 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
277
278         * text.C (read): remove unused variable.
279         (readParToken): remove static Change variable (never good in
280         recursive settings...); add it as a parameter instead.
281
282         * paragraph_pimpl.C (acceptChange): make debug info conditional.
283
284         * metricsinfo.C (PainterInfo): add new member erased_.
285
286         * rowpainter.C (RowPainter): add erased_ member, initialized from
287         PainterInfo. 
288         (paintInset): pass erased_ to Inset::draw.
289
290         * lyxfunc.C (lookupChange): new function. Tells whether change 
291         tracking is disabled at a given postion.
292         (getStatus): disable some actions when in deleted text with change
293         tracking. 
294
295 2005-08-03  John Levon  <levon@movementarian.org>
296         
297         * tabular.C (appendColumn, setMultiColumn): adapt to change to
298         InsetText::clear().
299
300         * paragraph_pimpl.C (markErased): add bool argument and handle it.
301         Also make sure to mark insets recursively.
302         (rejectChange, erase): be recursive
303
304         * paragraph.C (markErased): add bool argument.
305 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * lyxfind.C (findNextChange): tiny cleanup.
308
309         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
310         change tracking with the cursor in an inset; make sure the first
311         change is not skipped.
312
313 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
314
315         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
316         tabularStackDirty to work around bug 1919 (tabular needs
317         to know whether its own cell paste buffer or the one of 
318         texted is newer.
319         * CutAndPaste.C: mark tabular_stack_ clean after copy.
320
321 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
322
323         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
324
325 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
326
327         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
328         use old deleteion algorithm when changetracking is on.
329
330 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
331
332         * messages.C (get): add debug output.
333
334 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * text.C (cursorX): fix bug 1965: cursor movement at
337         line end broken in RtL.
338         (drawSelection): fix bug 1970: drawing of single-line 
339         selection broken for RtL.
340
341 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         bug 465.
344
345         * dociterator.h (clear, push_back, pop_back): change from
346         protected to public.
347
348         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
349         and changed to just return the value of the item depth; take a
350         ParIterator as argument; take the itemdepth at outer nesting level
351         in account if necessary; cleanup and comment the code.
352         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
353         and changed to just return true if reset is needed; take a
354         ParIterator as argument; cleanup and comment the code.
355         (setCounter): adapt to above changes.
356
357 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * text3.C (dispatch): make debug message optional
360
361 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
362
363         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
364         inset. (bug 1963)
365
366 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
367
368         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
369
370 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
371
372         * text.C (insertChar):
373         * text2.C (deleteEmptyParagraphMechanism): take care whether 
374         a blank has been deleted (in change tracking mode) (bug 1254).
375
376 2005-07-20  John Levon  <levon@movementarian.org>
377
378         * text2.C (insertStringAsLines): remove old dubious code,
379         fixing bug 1939.
380
381 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
382
383         * MenuBackend.C (expandToc): use Floating::listName() as title of
384         the floats submenus.
385
386 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
387
388         * toc.[Ch]: Do not use translatable strings (bug 1870).
389
390 2005-07-20  John Levon  <levon@movementarian.org>
391
392         * tabular.C: fix 1748 - setting multicolumn adds
393           left line to the first cell
394
395 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
396
397         bug 1920
398         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
399         pars in one go.
400
401 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
402
403         * messages.C: supress some lyxerr messages
404
405 2005-07-18  Juergen Vigna  <jug@lyx.org>
406
407         * text.C (drawSelection): honor boundary when asking for cursorX.
408
409 2005-07-17  José Matos  <jamatos@fc.up.pt>
410
411         * tabular.C (recalculateMulticolumns): fix handling of one column
412         tables.
413
414 2005-07-17  Juergen Vigna  <jug@lyx.org>
415
416         * text.C (Delete, backspace): fixed so that paragraph with the
417         same layout can be merged by Delete/Backspace.
418
419 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
420
421         * text.C (readParToken): fix spelling.
422
423 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
424
425         * text2.C: fix counter update for DEPM problem reported by
426         Georg Baum
427
428 2005-07-17  Juergen Vigna  <jug@lyx.org>
429
430         * BufferView_pimpl.C (setBuffer): save/restore the
431         cursor/selection when switching buffers
432
433         * buffer.h: 
434         * buffer.C (saveCursor): add saveDocumentIterators to save the
435         cursor when switching buffer.
436
437 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
438
439         * debug.C: fix typo
440         * buffer.C: clarify message
441         
442 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
443
444         * dociterator.C (DocIterator): fix initialization order
445
446 2005-07-17  Juergen Vigna  <jug@lyx.org>
447
448         * text2.C (cursorHome): 
449         * text.C (drawSelection, cursorX): 
450         * dociterator.C (textRow): add boundary to getRow() call
451
452         * paragraph.C (getRow): implementation of below
453
454         * paragraph.h: add parameter boundary for getRow() function
455
456 2005-07-17  José Matos  <jamatos@fc.up.pt>
457
458         * buffer.C:
459         * bufferparams.[Ch]:
460         * tex-strings.[Ch]: new file format, remove support for a4.sty,
461         a4wide.sty and a4widemargins.
462
463 2005-07-17  Juergen Vigna  <jug@lyx.org>
464
465         * text2.C (cursorLeft): fix one of error
466
467 2005-07-17  Juergen Vigna  <jug@lyx.org>
468
469         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
470                    cursorEnd):
471         more fixes for boundary handling
472
473         * text3.C (dispatch): don't reset cursor if boundary has changed
474         on cursor movement.
475
476 2005-07-16  Juergen Vigna  <jug@lyx.org>
477
478         * text2.C (getColumnNearX): hopefully got it right now,
479         check if we are on column 0 for special case.
480
481 2005-07-16  Juergen Vigna  <jug@lyx.org>
482
483         * text2.C (getColumnNearX): handle special case Newline Inset
484
485         * text.C (singleWidth): Just remove bogus check
486
487 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
488
489         * funcrequest.C (split): avoid reading uninitialized char c
490
491 2005-07-16  José Matos  <jamatos@fc.up.pt>
492
493         * buffer.C:
494         * converter.C:
495         * lyxrc.C:
496         * paper.h:
497         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
498         single papersize variable.
499
500 2005-07-16  Juergen Vigna  <jug@lyx.org>
501
502         * text3.C (dispatch): honor boundary when checking if a cursor
503         movement has been done
504
505         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
506         (setCursor, setCursorIntern): fix cursor movement with boundary
507
508 2005-07-16  Juergen Vigna  <jug@lyx.org>
509
510         * text.C (currentState): output the actual Boundary
511
512 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
513
514         * factory.C (createInset): fix bad logic for tabular creation
515
516 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
517
518         * lyx_main.C (init): change some reLyX reference to tex2lyx
519
520 2005-07-16  Juergen Vigna  <jug@lyx.org>
521
522         * dociterator.C (DocIterator): initialize boundary
523
524 2005-07-16  Juergen Vigna  <jug@lyx.org>
525
526         * text2.C (getColumnNearX): Consider rows without trailing blank.  
527
528 2005-07-16  André Pönitz  <poenitz@gmx.net>
529
530         * lyxfont.h: Change order of declarations to give the compiler
531         a better chance to inline things
532
533         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
534         questions on unsaved docs for better scritability
535
536 2005-07-16  André Pönitz  <poenitz@gmx.net>
537
538         * paragraph.h (getChar): remove asserts as the same kind of security
539         can be achieved by using a suitable standard library implementation
540         and the function was in the critical path (25.9% in profiler)
541
542 2005-07-16  Juergen Vigna  <jug@lyx.org>
543
544         * cursor.C (bruteFind2):
545         * bufferview_funcs.C (coordOffset): 
546         * text.C (cursorX,cursorY): Handle cursor position after last char
547         in row before a inset which uses a whole row.
548
549 2005-07-15  José Matos <jamatos@lyx.org>
550
551         * output_plaintext.[Ch] (writeFileAscii): control reference title
552         printing.
553         (asciiParagraph): noparbreak was already deal and was incorrectly
554         used.
555
556 2005-07-15  Juergen Vigna <jug@lyx.org>
557
558         * lyxfunc.C (dispatch): save and restore the cursor after a
559         textclass switch.
560
561 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
562
563         * text.C (backspace): bug 806 for empty keepempty paragraphs we
564         change the layout to default before letting DEPM do its thing.
565
566         * paragraph_funcs.C (breakParagraph): dont reset the layout on
567         keepEmpty paragraphs
568
569         * text.C (setCursorFromCoordinates): add a debug statement
570
571         * text2.C (getColumnNearX): bug 1825 make sure that we don't
572         return a pos that is not on the row
573
574         * output_latex.C (TeXDeeper): get rid of potential dereferencing
575         of past the end iterator
576
577 2005-07-14  André Pönitz  <poenitz@gmx.net>
578
579         * undo.C (recordUndoFullBuffer): implement undo for
580         textclass switches
581
582 2005-07-14  André Pönitz  <poenitz@gmx.net>
583
584         * cursor.C (setSelection): open insets when selection is set there
585         to avoid crashs with cold coord cache
586
587 2005-07-14  André Pönitz  <poenitz@gmx.net>
588
589         * trans_mgr.C (insert): move cursor to the right after inserting
590         a char.
591
592 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
593
594         * BufferView_pimpl.C (update): dampen some of the debug blabbering
595         * factory.C (readInset): ditto
596         * text.C, text2.C: ditto
597
598 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * buffer.C: format incremented to 242. There is no file format per
601         se, but the "frenchb" language has been removed from lib/language
602         and has to be translated to "french" by lyx2lyx.
603
604 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
605
606         * cursor_slice.h, dociterator.h: add some documentation
607         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
608
609 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
610
611         * text.C (leftMargin): do not add identation to display() style
612         insets, because they are always centered (bug 1293).
613
614 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
615
616         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
617         formatted_time methods in support/lyxtime.
618
619 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
620
621         * toc.[Ch]: new method getGuiName, which is used by the frontends 
622         to set the toc combo (fixes bug 1870). Make TOC string translatable.
623
624 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
625
626         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
627         StableDocIterator const &)
628         * undo.C (recordUndo): use the above instead of cell.size() comparison
629         (fixes bug 1808; instructed by Andr�.
630
631 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
632
633         * cursor_slice.h: 
634         * dociterator.h: Fix the assert when copying rows/cols in math
635
636 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
637
638         * BufferView_pimpl.C:
639         * LyXAction.C:
640         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
641
642         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
643         (findInset): new functions, refactored from goto Inset that return 
644         the position of a certain inset without setting the buffer's cursor
645         (by Jean-Marc); 
646         (gotoInset): rewrite to call findInset and then set the cursor
647         (by Jean-Marc).
648
649 2005-06-16  Angus Leeming  <leeming@lyx.org>
650
651         * lyxrc.C (output, read): wrap all input and output of paths with
652         calls to os::internal_path and os::external_path, respectively.
653         (output): wrap bind_file inside quotes.
654
655         * format.C (view): enable the viewer to use the '$$s' placeholder.
656
657 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
658
659         * LColor.[Ch] (getFromLaTeXName): new
660
661 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
662
663         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
664
665 2005-06-14  Angus Leeming  <leeming@lyx.org>
666
667         * lyx_main.C (init): ensure that the LyX binary dir is the first
668         element in the PATH on non-POSIX builds.
669
670 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
671
672         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
673
674 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * rowpainter.C (paintInset, paintHebrewComposeChar)
677         (paintArabicComposeChar, paintChars): add a LyXFont argument.
678         (paintChars): use getFontSpan to reduce calls to getFont to a
679         minimum; use Paragraph::lookupChange instead of isXXXText.
680         (paintForeignMark): rename LyXFont argument.
681         (paintFromPos): pass a LyXFont object to the various paintXXX
682         methods.
683
684         * FontIterator.C (FontIterator, operator++): use
685         Paragraph::getFontSpan
686
687         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
688         version that returns the font span as a pair.
689
690 2005-06-09  Angus Leeming  <leeming@lyx.org>
691
692         * converter.C (convert): Don't forget "outfile = real_outfile" as
693         the final step in a conversion where the input and output file names
694         are the same. Otherwise, future conversion steps won't work...
695
696 2005-06-09  Angus Leeming  <leeming@lyx.org>
697
698         * lyxsocket.C: remove stub code as it isn't needed by
699         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
700
701 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
702
703         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
704         effectively disabled -x
705
706 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
707
708         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
709         when it actually makes sense.
710
711 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
712
713         * BufferView_pimpl.C: revert to showCursor in connection with
714         Lars's front-end stack
715
716 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
717
718         * text.C (redoParagraph): move cursor right after a bibitem
719         has been inserted.
720
721         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
722
723 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
724
725         * buffer_funcs.C (bufferErrors): fix computation of the end of an
726         error range.
727
728 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
729
730         * BufferView.[Ch] (update):
731         * BufferView_pimpl.[Ch] (update, metrics):
732         * dimension.h (operator==):
733         * lyxfunc.C (dispatch):
734         * metricsinfo.h (ViewMetricsInfo):
735         * rowpainter.C (paintText):
736         * lyxtext.h:
737         * text.C (redoParagraph):
738         * text3.C (dispatch): Make LyX only repaint current paragraph in
739         case of character insert --> speedup. Also fix cursor draw
740         artifacts
741
742 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
743
744         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
745         avoid a crash (bug 1891)
746
747 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
748
749         Fix bug 1892:
750
751         * text2.C (getStringToIndex): constify cur argument.
752
753         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
754         argument has been given
755         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
756         try to invoke LFUN_INSET_APPLY).
757
758         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
759         if no inset was created by doInsertInset
760         (doInsertInset): return true if an inset has been inserted.
761
762 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * vspace.C (asGUIName): new method. A version of the space
765         suitable for showing on screen.
766
767 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
768
769         * MenuBackend.C:
770         * lyxrc.C: rename "ASCII" to "Plain Text"
771
772 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
773
774         * buffer_funcs.C (expandLabel): take a Buffer as argument;
775         translate the labelstring.
776         (setCounter): translate labelstring as needed.
777
778         * output_docbook.C (makeCommand): fix expandLabel invokation
779
780 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
781
782         * BufferView.C: fix dialog title
783
784 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
785
786         * lyx_main.C (priv_exec): fix logic error with help from Angus
787         * lyx_main.C (parse_execute): set is_gui = false and remove now
788         obsolete comment about a segfault
789
790 2005-05-18  Angus Leeming  <leeming@lyx.org>
791
792         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
793
794 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
795
796         * tabular.[hC]: added setCellInset to fix tabular paste.
797
798 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
799
800         * buffer.C (save): check if destination is writable before trying
801         to copy a file
802
803 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
804
805         * BufferView_pimpl.C (update): fix processEvents -caused update
806         recursion bug
807
808 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * buffer_funcs.C (setCounter): fix test for numbering of
811         environments.
812
813         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
814         depth correctly; use optional argument when it exists
815
816         * lyxtextclass.C: remove unused MaxCounterTags enum
817         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
818         (max_toclevel, min_toclevel): new methods.
819
820         * MenuBackend.C (expandToc2): fix case where depth is smaller than
821         the smallest depth in toc.
822
823         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
824         layouts that should not appear in a table of contents.
825
826 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
827
828         * cursor.h (undispatched, noUpdate): add comments from Andr�
829 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
830
831         * lfuns.h:
832         * LyXAction.C:
833         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
834
835 2005-05-07  André Pönitz  <poenitz@gmx.net>
836
837         * cursor.[Ch] (leaveInset): new function
838
839 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
840
841         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
842
843 2005-05-04  Angus Leeming  <leeming@lyx.org>
844
845         * lyxfunc.C (getStatus): disable the spell checker dialog if
846         none of USE_[AIP]SPELL are defined.
847
848 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
849
850         * tabular.C (setWidthOfCell): remove obsolete comment
851
852 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
853
854         * paragraph.C (bibitem):
855         * buffer_funcs.C (setCounter):
856         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
857
858 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
859
860         * text3.C (getStatus): immediately return after setOnOff
861
862         * rowpainter.C: fix drawing of appendix start
863
864 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
865
866         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
867         SwitchBetweenClasses and remove the unused return value.
868         Handle character styles, too
869
870 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
871
872         * factory.C (createInset): handle undefined character styles
873
874 2005-05-02  Angus Leeming  <leeming@lyx.org>
875
876         * buffer.C: protect the #include of utime.h with a preprocessor
877         guard.
878
879 2005-05-02  Angus Leeming  <leeming@lyx.org>
880
881         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
882         function so that auto-saving works, albeit in a blocking manner.
883
884         * Makefile.am: make compilation of the client sub directory, of
885         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
886         on conditionals set at configure time.
887
888         * SpellBase.[Ch]: no longer an abstract base class. Instead,
889         it can be compiled in its own right but has no-op functionality.
890
891         * aspell.C, pspell.C: remove preprocessor guards. The files should
892         be compiled only if the necessary functionality exists.
893
894         * lyxserver.C, lyxsocket.C: disable on Windows.
895
896 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
897
898         * text.C (leftMargin): Fix the parindent use bug (1764)
899         by dirty trick
900
901 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
902
903         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
904         argument.
905
906 2005-04-25  Angus Leeming  <leeming@lyx.org>
907
908         * Bidi.[Ch]:
909         * coordcache.[Ch]:
910         * ispell.C:
911         * lyxserver.C:
912         * mover.C:
913         * pch.h:
914         include <config.h> in .C files, not .h ones.
915         add licence blurb.
916         protect headers inside preprocessor guards.
917
918 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
919
920         * FuncStatus.h (StatusCodes): document
921
922 2005-04-21  André Pönitz  <poenitz@gmx.net>
923
924         * FuncStatus.h (enabled, onoff): document
925
926 2005-04-19  Angus Leeming  <leeming@lyx.org>
927
928         * BufferView_pimpl.C (cursorToggle): no longer test whether
929         any child processes have been reaped before calling
930         handleCompletedProcesses().
931
932 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
933
934         * text3.C (dispatch): fix, finally fix, the language problem in
935         new lyxtexts, without disabling on-the-fly font changes (Helge's
936         bug report)
937
938 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
939
940         * text3.C (dispatch): set cursor on double/triple click events
941         (bug 1811)
942
943 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
946         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
947
948         * rowpainter.C (paintFirst): simplify the code a little bit. In
949         particular, remove the test for secnumdepth.
950         * text.C (setHeightOfRow): only allocate space for chapter number
951         when updateCounters provided an actual label, instead of looking
952         at secnumdepth directly.
953
954         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
955
956         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
957         paragraphs when secnumdepth is large enough or, for environments,
958         when they are not the first in a sequence.
959
960 2005-04-17  Angus Leeming  <leeming@lyx.org>
961
962         * buffer.C (makeLaTeXFile): replace code to manipulate a path
963         containing space and '~' characters with a call to latex_path().
964
965 2005-04-17  Angus Leeming  <leeming@lyx.org>
966
967         * converter.C (convert): protect all args of convertDefault.sh
968         script with quotes.
969
970 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
971
972         * text3.C (dispatch): change the layout to "Caption" after inserting
973         a float.
974
975 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
976
977         * text3.C (dispatch): fix language problem in newly created
978         textinsets (and main text) in non-english docs
979
980 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
981
982         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
983         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
984         * text3.C (getStatus): disable LFUN_INSET_MODIFY
985
986 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
987
988         * lyxtext.h:
989         * text.C (metrics):
990         * text2.C (getFont):
991         * rowpainter.C (getFont): Fix metrics bug introduced by inset
992         fonts fix
993
994 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
995
996         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
997         output of \item arguments without trailing text.
998
999 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1000
1001         * FontIterator.C (operator*): avoid a copy of the font.
1002
1003 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1004
1005         * rowpainter.C (getFont): fix language bug from previous fix
1006
1007 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * rowpainter.C (RowPainter, getFont): fix font inside inset
1010         (bugs 1766, 1809)
1011
1012 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1013
1014         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1015         preventing inserted font, deco, delim insets jumping to start of
1016         surrounding inset.
1017
1018 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1019
1020         * lyxfunc.C (dispatch): translate message before sending it to the
1021         minibuffer.
1022
1023 2005-03-29  Angus Leeming  <leeming@lyx.org>
1024
1025         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1026         to LyX on the command line.
1027
1028 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1029
1030         * vc-backend.C: use QuoteName to protect file names wherever
1031         necessary.
1032
1033 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1034
1035         * buffer.[Ch]:
1036         * BranchList.h: fix bugs 1844,1845: document settings don't
1037         stick
1038
1039 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1040
1041         * lyxrc.C (setDefaults, read, output, getDescription): add support
1042         for tex_allows_spaces.
1043
1044         * exporter.C (Export): allows files in directory containing spaces
1045         if tex_allows_spaces is true.
1046
1047         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1048         output it in double quotes.
1049
1050 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1051
1052         * rowpainter.C: use default text height for drawing change tracker
1053         strikeout lines.
1054
1055 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1056
1057         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1058
1059 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1060
1061         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1062         directory is missing.
1063
1064 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1065
1066         * text2.C: fixed the fix, extended to other case.
1067
1068 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1069
1070         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1071
1072 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1073
1074         * text2.C (cursorUp): get rid of a crash
1075         * text.C (x2pos): add an assert
1076
1077 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1078
1079         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1080
1081         * text3.C:
1082         * lyxfunc.C:
1083         * dociterator.C: include <boost/current_function.hpp>, which is
1084         needed when assertions are disabled.
1085
1086 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1087
1088         * text2.C: fix for stuck cursor when traversing two
1089         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1090
1091 2005-02-25  Andreas Vox  <avox@arcor.de>
1092
1093         * output_docbook.C (makeParagraph): suppress trailing newline
1094         after a run of paragraphs
1095
1096 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1097
1098         * paragraph.C: fix for confused change tracker when pasting
1099         text that begins with a lineseparator. [bug 1827]
1100         (setChange(0, Change::INSERTED);)
1101
1102         * paragraph_funcs.C: fix for lost changes on triple-paste
1103         in change tracking mode [bug 1827] (par.setChange()).
1104
1105 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1106
1107         * text2.C (updateCounters, setCounter, expandLabel): move to
1108         buffer_funcs.
1109
1110         * buffer_funcs.C (updateCounters): turn into a free standing
1111         function and add a buffer parameter. Remove dead code for tracking
1112         labelstring change.
1113         (setCounter): change into a free-standing function which gets a
1114         dociterator as argument. Use this iterator to fix captions in a
1115         simple way. When no float is found above the caption, use the
1116         labelstring of the caption layout as default.
1117
1118         * text.C (breakParagraph, backspace):
1119         * text2.C (init, setLayout, changeDepth):
1120         * text3.C (dispatch):
1121         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1122         updateCounters.
1123
1124         * dociterator.C (forwardPar): make it much faster by calling
1125         forwardPos() only when really necessary.
1126
1127         * output_docbook.C (makeCommand): adapt to expandLabel move.
1128
1129         * cursor.C: remove unused variable
1130
1131 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1132
1133         * paragraph_funcs.C: fix crash when pasting insets in change
1134         tracking mode [bug 1277] (honour change type in moveItem).
1135
1136 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1137
1138         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1139
1140 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1141
1142         * BufferView.C (setCursor): change to use a DocIterator.
1143         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1144         (putSelectionAt): adapt to BufferView::setCursor change.
1145
1146         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1147         moved here from LyXText and rewritten to use proper cursor
1148         methods. Fixes bug 1787, 616 and 835.
1149
1150         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1151         when inside an inset (part of bug 781).
1152         (dispatch): adapt to change of BufferView::setCursor.
1153         (getStatus, dispatch): handle LFUN_GOTOERROR,
1154         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1155
1156         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1157         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1158         * text3.C (gotoNextInset, gotoInset): removed.
1159
1160 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1161
1162         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1163
1164 2005-02-15  Angus Leeming  <leeming@lyx.org>
1165
1166         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1167         can be used meaningfully in a comparison.
1168
1169 2005-02-13  André Pönitz  <poenitz@gmx.net>
1170
1171         * bufferview_funcs.C (coordOffset): improve cursor drawing
1172
1173 2005-02-13  André Pönitz  <poenitz@gmx.net>
1174
1175         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1176         * Cursor.C (dispatch): use fixIfBroken
1177         * lyxfunc.C (getStatus): use fixIfBroken
1178
1179 2005-02-15  Angus Leeming  <leeming@lyx.org>
1180
1181         * lyx_main.C (error_handler):
1182         * lyxfunc.C:
1183         * lyxrc.C (setDefaults):
1184         s/GetEnv/getEnv/.
1185         #include "environment.h".
1186
1187         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1188
1189 2005-02-15  Angus Leeming  <leeming@lyx.org>
1190
1191         * lyxserver.C (startPipe): squash MSVC warning "local variable
1192         'fd' used without having been initialized".
1193
1194 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1195
1196         * BufferView_pimpl.C: revert accidental commit.
1197
1198 2005-02-14  André Pönitz  <poenitz@gmx.net>
1199
1200         * dociterator.[Ch]: new member forwardPosNoDescent(),
1201         which doesn't enter nested insets.
1202         * text2.C (setFont): use forwardPosNoDescent() instead
1203         of ForwardPos() (fixes crash on font change).
1204
1205 2005-02-13  Angus Leeming  <leeming@lyx.org>
1206
1207         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1208         only if lyxrc.path_prefix is not empty.
1209
1210 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1211
1212         * bufferparams.C (readGraphicsDriver): prevent crash
1213
1214 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1215
1216         * text2.C (setCounter): check for inInset() == 0
1217
1218 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1219
1220         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1221         but use update() to get correct screen display; use convert
1222         instead of istringstream.
1223         (getStatus): handle LFUN_GOTO_PARAGRAPH
1224
1225         * lyxfunc.C (dispatch, getStatus): do not handle
1226         LFUN_GOTO_PARAGRAPH here.
1227
1228 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1229
1230         * text3.C (dispatch): size() -> depth()
1231
1232         * text2.C: remove some debug output
1233
1234         * paragraph.C: ws changes only
1235
1236         * lyxfunc.C (getStatus): size() -> depth()
1237
1238         * dociterator.h (clear, push_back, pop_back, internalData,
1239         operator[], resize, empty): new functions
1240         Make StableDocIterator and operator== be friends. Don't inherit
1241         from std::vector use a privat class variable slices_ instead.
1242         Modify to fit.
1243
1244         * dociterator.C: update because of not inheriting from std::vector
1245         anymore. Call explictly to slices_ instead. Use depth() instead of
1246         size() and top() instead of back()
1247
1248         * cursor.C: chagne size() -> depth and back() -> top(). Also
1249         remove some direct operator[](i) calls in favour of foo[i]
1250         (getFont): remove some dead code
1251
1252         * bufferview_funcs.C (coordOffset): size() -> depth()
1253
1254         * buffer.C: ws changes only
1255
1256         * CutAndPaste.C (eraseSelection): back() -> top()
1257
1258         * BufferView_pimpl.C (selectionRequested): back() -> top()
1259
1260         * BufferView.C (setCursor): size() -> depth()
1261
1262 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1263
1264         * text3.C (cursorPrevious): return true if depm changed something
1265         (cursorNext): ditto
1266         (dispatch): rename sl to oldTopSlice, remove moving use the new
1267         NoUpdate func attrib instead. Make sure that needsUpdate is set
1268         for function that have NoUpdate, but where depm might have changed
1269         the buffer anyway.
1270
1271         * text2.C (cursorLeft): make us return true if depm changed
1272         something
1273         (cursorRight): ditto
1274         (cursorUpParagraph): ditto
1275         (curosrDownParagraph): ditto
1276         (cursorUp, cursorDown): ditto, make sure to read comments in code
1277         (deleteEmptyParagraphMechanism): remove an assert, also return
1278         true if just a single char was deleted.
1279
1280         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1281         cursor that we modify, to avoid modifying an active cursor before
1282         we call setCursor. This allows depm to run. Also return true if
1283         depm deleted something.
1284
1285         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1286         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1287         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1288         something was changed in the buffer because of them (ie. depm run)
1289
1290         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1291         debug messages. Make update by default be false. Make sure that
1292         the result of update is retained throught several calls down to
1293         dispatch.
1294
1295         * LyXAction.h: add a new func_attrib: NoUpdate
1296
1297         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1298         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1299         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1300         and LFUN_WORDLEFT
1301         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1302
1303 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1304
1305         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1306         bv_->owner(), bv_->buffer() by direct references to the private
1307         members.
1308         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1309         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1310         (fitCursor): center() is in BufferView::Pimpl.
1311         (getStatus, trackChanges, dispatch): no need for a temporary buf
1312         variable
1313         (fitCursor, workAreaDispatch): use workarea().workheight()
1314
1315 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1316
1317         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1318
1319 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1320
1321         * buffer.C: format up to 241.
1322         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1323         break if pasting into ERT
1324         * lyxfunc.C (getStatus): suppress mathpanel and
1325         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1326
1327 2005-02-01  Angus Leeming  <leeming@lyx.org>
1328
1329         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1330
1331 2005-02-01  Angus Leeming  <leeming@lyx.org>
1332
1333         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1334         calling fs::is_directory().
1335
1336 2005-01-31  Angus Leeming  <leeming@lyx.org>
1337
1338         * lyx_main.C (priv_exec): specify explicitly the relative location
1339         of the top level build directory when run in-place.
1340
1341 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342
1343         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1344         LyXText containing the cursor, not the top-level one.
1345
1346         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1347         true.
1348         (insertStringAsLines): rename par to pit; use temporary variable
1349         par to hold a Paragraph; do not store par.layout() in a variable,
1350         since the pointer may die when breaking paragraphs; pass pars to
1351         breakParagraph() instead of Buffer::paragraphs().
1352
1353 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1354
1355         * lyxlex_pimpl.h: #include <fstream>.
1356
1357         * BufferView.[Ch] (getLyXText): add a const version.
1358
1359         * BufferView_pimpl.C: add debug aids.
1360
1361         * RowList_fwd.h:
1362         * buffer.h:
1363         * lyxrow.h:
1364         * paragraph_funcs.h: add commentary explaining what the class does.
1365
1366
1367         * coordcache.[Ch]: add lots of commentary.
1368         (startUpdating, doneUpdating): debug aids.
1369         (arrays, insets, parPos, getParPos): accessors to private data.
1370
1371         * cursor_slice.[Ch] (text): add a const version.
1372         * dociterator.[Ch] (text, innerText): add const versions.
1373
1374         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1375         bool.
1376
1377         * paragraph.C (getRow, pos2ros): add asserts.
1378
1379         * paragraph.h: add commentary. Lots of.
1380
1381         * paragraph.[Ch] (metrucs, draw): removed.
1382
1383         * cursor.C:
1384         * rowpainter.[Ch]: const-correct changes.
1385
1386         * text.C: various obvious clean-ups. Removal of ancient cruft.
1387         Bug fixes, even.
1388
1389 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1390
1391         * vc-backend.C (find_file): rewrite to use boost.filesystem
1392         (scanMaster): ditto
1393
1394         * main.C (main): set default name check for boost.filesystem to
1395         no check
1396
1397         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1398         (open): ditto
1399         (doImport): ditto
1400         (actOnUpdatedPrefs): ditto
1401
1402         * lyx_main.C (init): rewrite to use boost.filesystem
1403         (queryUserLyXDir): ditto
1404
1405         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1406         (getContentsOfAsciiFile): ditto
1407
1408         * lastfiles.C (readFile): rewrite to use boost.filesystem
1409
1410         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1411
1412         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1413         (loadLyXFile): ditto
1414
1415         * buffer.C (Buffer): adjust for destroydir
1416         (getLogName): rewrite to use boost.filesystem
1417         (setFileName): ditto
1418         (save): use fs::copy_file (from fs_extras)
1419
1420         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1421
1422         * LaTeX.C (run): rewrite to use boost.filesystem
1423         (scanAuxFiles): ditto
1424         (handleFoundFile): ditto
1425
1426 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1427
1428         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1429
1430         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1431
1432 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1433
1434         * lyxlayout.[Ch]: change some vars from float to double
1435
1436         * buffer.C (readFile): make a local var const
1437
1438         * Several files: use convert<> instead of atoi,strToXXX and friends
1439
1440 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1441
1442         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1443         holds the contents of packages.lst. New functions getAvailable
1444         and isAvailable to parse and check that list, resp.
1445
1446         * LyXAction.C:
1447         * lfuns.h:
1448         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1449
1450         * bufferparams.[Ch]: new param output_changes.
1451
1452         * Buffer.C: increase file format to 240.
1453         Use output_changes and isVailable.
1454
1455         * changes.[Ch]:
1456         * paragraph.C:
1457         * paragraph_pimpl.C: Use output_changes and isVailable.
1458
1459 2005-01-23  Angus Leeming  <leeming@lyx.org>
1460
1461         * output_latex.C: #include "insetbibitem.h", rather than
1462         forward declare function bibitemWidest.
1463
1464 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1465
1466         * lyx_main.C (init): make it compile on the Mac.
1467
1468 2005-01-20  Angus Leeming  <leeming@lyx.org>
1469
1470         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1471         (setLyXMisc): (char string literal) != (char string literal) is
1472         performing a comparison on the addresses. Convert one operand
1473         explicitly to string to guarantee expected behaviour.
1474         From MSVC warning.
1475
1476 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1477
1478         * buffer.C:
1479         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1480
1481         * output_plaintext.C: remove unneeded #include gzstream.h.
1482
1483 2005-01-20  Angus Leeming  <leeming@lyx.org>
1484
1485         * SpellBase.h: rename some of the elements of the Result enum.
1486
1487         * aspell_local.h:
1488         * ispell.h:
1489         * pspell.h:
1490         * aspell.C (check):
1491         * ispell.C (check):
1492         * pspell.C (check): ditto
1493
1494 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1495
1496         * buffer.C: add #include <fstream>.
1497
1498         * lyx_main.C (init): Compile fix.
1499
1500         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1501
1502 2005-01-20  Angus Leeming  <leeming@lyx.org>
1503
1504         * mover.h: change commentary to reflect the changed meaning of
1505         the $$s placeholder.
1506
1507 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1508
1509         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1510
1511         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1512
1513 2005-01-20  Angus Leeming  <leeming@lyx.org>
1514
1515         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1516         printing diagnostic data by not dereferecing an iterator past the
1517         end.
1518
1519 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1520
1521         * buffer.C (readHeader): use "&&" rather than "and".
1522
1523         * lyxserver.h (inPipeName, outPipeName): make these const.
1524
1525 2005-01-19  Angus Leeming  <leeming@lyx.org>
1526
1527         * lyx_main.C (error_handler, init): protect SIGHUP with
1528         #ifdef SIGHUP guards.
1529
1530 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1531
1532         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1533
1534 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1535
1536         * text.C (setHeightOfRow): add a margin at the top and bottom of
1537         the document (bug 1761)
1538
1539 2005-01-17  Angus Leeming  <leeming@lyx.org>
1540
1541         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1542         with "python ". Workaround for a brain-dead Windows.
1543
1544 2005-01-16  Angus Leeming  <leeming@lyx.org>
1545
1546         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1547         for MacOSX and Windows to use prependEnvPath.
1548         Strip out the hard-coded block to add elements to the PATH for
1549         MacOSX and replace it with a call to prependEnvPath using the
1550         contents of LyXRC::path_prefix.
1551         (queryUserLyXDir): strip out the code to run reconfigure, instead
1552         returning a boolean indicating the necessity to do so.
1553         (reconfigureUserLyXDir): contains the code to reconfigure the
1554         user support directory. Is now called after the various LyXRC data
1555         files have been read.
1556
1557         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1558
1559 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1560
1561         * converter.[Ch] (convert): take a new parameter try_default. Use
1562         a default converter (imagemagick) if try_default is true.
1563
1564 2005-01-13  Angus Leeming  <leeming@lyx.org>
1565
1566         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1567         os::cygwin_path_fix.
1568         (write): output LyXRC::cygwin_path_fix as necessary.
1569
1570 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1571
1572         * lyxrc.h:
1573         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1574
1575 2005-01-12  Angus Leeming  <leeming@lyx.org>
1576
1577         * lyx_main.C (init): set the PATH variable to include the
1578         directory containing the LyX binary when running on Mac or Windows.
1579
1580 2005-01-12  Angus Leeming  <leeming@lyx.org>
1581
1582         * lyx_main.C (init): remove cruft that purports to set the locale
1583         dir. It doesn't and is not needed anyway.
1584
1585 2005-01-10  Angus Leeming  <leeming@lyx.org>
1586
1587         * Makefile.am: remove the lyx_main.C special casing.
1588
1589         * BufferView_pimpl.C:
1590         * bufferlist.C:
1591         * exporter.C:
1592         * lyx_cb.C:
1593         * lyx_main.C:
1594         * lyxfunc.C:
1595         * messages.C: use support/package.h to provide the paths to the
1596         various directories used by LyX.
1597
1598 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1599
1600         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1601         layout if pasting into an empty paragraph)
1602
1603 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1604
1605         * tex-accent.C: add <string>
1606
1607 2005-01-06  José Matos  <jamatos@lyx.org>
1608
1609         * ParagraphParameters.C (write): put every parameter in its own line.
1610         * paragraph.C (write): reduce number of consecutive empty lines exported.
1611         * buffer.C (LYX_FORMAT): increase file format to 239.
1612
1613 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1614
1615         * everywhere: change support/tostr.h -> support/convert.h
1616
1617         * tabular.C: make all write_attributes templates, tostr -> convert
1618
1619         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1620         (emptyTag): and -> &&, and fix type for ret from getChar
1621         (getFirstWord): fix type for ret from getChar
1622         (onlyText): and -> &&
1623         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1624         getChar
1625
1626         * toc.C (goTo, action):
1627         * text3.C (dispatch):
1628         * text.C (currentState):
1629         * tex-accent.C (DoAccent):
1630         * sgml.C:
1631         * lyxrc.C:
1632         * lyxfunc.C (menuNew):
1633         * lyxfinc.C (replace):
1634         * counters.C (laberItem):
1635         * bufferview_funcs.C (font2string):
1636         * bufferparams.C (writeFile):
1637         * buffer.C (readFile):
1638         * Spacing.C (set):
1639         * MenuBackend.C: tostr -> convert
1640
1641         * LaTeX.C (runMessage): fix format
1642         (scanAuxFiles): tostr -> convert
1643
1644         * BufferView_pimpl.C (savePosition): fix format
1645         (restorePosition): ditto
1646         (dispatch): ditto
1647
1648 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1649
1650         * Spacing.[Ch]: New method getValueAsString().
1651
1652         * Spacing.[Ch]:
1653         * bufferparams.C:
1654         * ParagraphParameters.C:
1655         * lyxlayout.C:
1656         * text.C:
1657         * text3.C: store/read spacing value as string.
1658
1659         * rowpainter.C: change float value (spacing_val) to double.
1660
1661         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1662         broken custom document spacing).
1663
1664 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1665
1666         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1667         namespace, also more use of temp references and const
1668
1669         * cursor.[Ch] (getStatus): move to lyxfunc.C
1670
1671         * bufferparams.C: reformat slightly
1672
1673         * bufferview_funcs.C (font2string): constify arg
1674
1675         * changes.C:
1676         * converter.C:
1677         * counters.C:
1678         * bufferlist.C:
1679         * buffer_funcs.C: (many funcs): constify arg on function
1680         definitions, also make more local vars const, also add ASSERTS on
1681         pointer args.
1682
1683         * buffer.C (LYX_FORMAT): put const in correct place
1684         (many funcs): constify arg on function definitions, also make
1685         more local vars const
1686
1687         * aspell_local.h: remove "struct" from typdef setup
1688
1689         * aspell.C (check): make word_ok const
1690         (nextMiss): simplify slightly
1691         (error): ditto
1692
1693 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1694
1695         * lyxrc.[Ch]: store all float values as strings.
1696         use int (not float) for lyxrc.dpi.
1697
1698 2005-01-04  Angus Leeming  <leeming@lyx.org>
1699
1700         * lyx_cb.C (Reconfigure):
1701         * lyx_main.C (queryUserLyXDir):
1702         to run the <system_lyxdir>/configure correctly on Windows, prefix
1703         the path to the script with "sh " when generating the string that
1704         is passed to system().
1705
1706 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1707
1708         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1709
1710 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1711
1712         * lyxlength.C (asLatexString): get rid of setprecision
1713
1714 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1715
1716         * text2.C (setLayout): remove unused variable endpit.
1717         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1718
1719         * paragraph.C (onlyText): remove unused variable style.
1720
1721         * cursor.C (bruteFind): remove unused variables beg and end.
1722
1723         * Makefile.am (dist_noinset_DATA): not needed anymore
1724
1725         * cheaders/*: remove.
1726
1727 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1728
1729         * text3.C: fix LFUN_MATH_MODE.
1730
1731 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1732
1733         * buffer_funcs.C (countWords): new function. Counts words between
1734         two iterators.
1735
1736         * BufferView_pimpl.C (getStatus, dispatch): handle
1737         LFUN_WORDS_COUNT.
1738
1739         * LyXAction.C (init):
1740         * lfuns.h: add LFUN_WORDS_COUNT.
1741
1742 2004-12-19  Angus Leeming  <leeming@lyx.org>
1743
1744         * buffer.C (save): s/slashify_path/internal_path/.
1745
1746 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1747
1748         * lyxfind.C (findChange): do not search for end of pars, because
1749         the change tracker cannot handle this (fixes bug 1719).
1750
1751 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1752
1753         * paragraph.[Ch] (autoBreakRows): remove
1754
1755         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1756
1757         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1758         avoid using the paragraph one
1759
1760         * text2.C (LyXText, insertStringAsLines): adjust
1761
1762 2004-12-16  Angus Leeming  <leeming@lyx.org>
1763
1764         * bufferlist.C:
1765         * lyx_main.C:
1766         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1767
1768 2004-12-14  Angus Leeming  <leeming@lyx.org>
1769
1770         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1771
1772         * bufferlist.C (emergencyWrite):
1773         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1774         GetEnvPath("HOME").
1775
1776 2004-12-14  Angus Leeming  <leeming@lyx.org>
1777
1778         * main.C: (main): no longer pass pointers to os::init.
1779
1780 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1783         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1784
1785 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1786
1787         * lyxfunc.C:
1788         * text3.C: remove selection_possible global flag
1789
1790 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1791
1792         * text2.C (getSelectionSpan): remove
1793         (changeDepth, changeDepthAllowed): adjust
1794
1795 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1796
1797         * Makefile.am (BOOST_LIBS): use boost variables
1798
1799 2004-12-03  José Matos  <jamatos@lyx.org>
1800
1801         * buffer.C: format up to 238.
1802
1803 2004-12-03  José Matos  <jamatos@lyx.org>
1804
1805         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1806
1807 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1808
1809         * cursor.C (goUpDown): remove call to idxUpDown2
1810
1811 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1812
1813         * tabular.[Ch]: use size_t-like types for cell, row and column
1814         indices
1815
1816 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1817
1818         * lyxfunc.C (getStatus): do not lose previous information when
1819         calling BufferView::getStatus; do not set a default "Command
1820         disabled" message at the beginning, but just before returning.
1821
1822 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1823
1824         * cursor.h (getStatus): add better comment from src/cursor.C
1825
1826 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1827
1828         * text3.C (getStatus): return false when the lfun is not handled
1829
1830 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         * broken_headers.h: remove
1833
1834         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1835
1836 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1837
1838         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1839         offset_ref accessors
1840
1841         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1842         top_y_, merge fitcursor with update
1843         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1844         coord scheme
1845         (metrics): introduce
1846         (workAreaDispatch): adapt to new coord scheme
1847         (redoCurrentBuffer): remove
1848
1849         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1850
1851         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1852         CurStatus enum.
1853
1854         * coordcache.[Ch]: add paragraph cache and helpers
1855
1856         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1857         adjust everywhere
1858
1859         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1860         (targetX, setTargetX): introduce
1861
1862         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1863         baseline -> ascent, as the rest of lyx
1864
1865         * lyxtext.h: remove redoParagraphs, updateParPositions,
1866         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1867         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1868         have ascent/descent (ascent is ascent of first par)
1869
1870         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1871         step of BufferView
1872
1873         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1874
1875         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1876
1877         * pariterator.C: fix infinite loop introduced in par->pit renaming
1878
1879         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1880         in insets and LyXText, draw two off-screen paragraphs using
1881         NullPainter, and adapt to new coord scheme
1882
1883         * text.C:
1884         * text2.C:
1885         * text3.C: adapt lfun handlers to the new coord scheme, which
1886         means: there's only guaranteed coord information for onscreen pars
1887         plus one above and one below. This implies that one can do search
1888         from y coordinates in the range [-1,workHeight]
1889
1890 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1891
1892         * rename a lot of InsetOld to InsetBase
1893
1894 2004-11-25  Angus Leeming  <leeming@lyx.org>
1895
1896         * BufferView_pimpl.C:
1897         * lyx_cb.C:
1898         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1899
1900 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1901
1902         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1903         call BufferView::getStatus if LCursor::getStatus did nothing
1904         (setStatusMessage, getStatusMessage): removed.
1905
1906         * FuncStatus.C (message): new methods. Used to provide an error
1907         message indicating why a command is disabled.
1908         (clear, |=, FuncStatus): update for message.
1909
1910 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1911
1912         * lyxfunc.C (dispatch): always call sendDispatchMessage
1913
1914 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1915
1916         * BufferView.C:
1917         * BufferView_pimpl.C:
1918         * CutAndPaste.C:
1919         * FontIterator.C:
1920         * buffer.C:
1921         * cursor.C:
1922         * cursor_slice.[Ch]:
1923         * dociterator.[Ch]:
1924         * lyxfind.C:
1925         * paragraph_funcs.C:
1926         * pariterator.C:
1927         * rowpainter.C:
1928         * text.C:
1929         * text2.C:
1930         * text3.C:
1931         * undo.C: par->pit renaming
1932
1933 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1934
1935         * tabular.C (cellstruct): use initialization, store a shared_ptr
1936         to insettext instead of the insettext directly, adjust to fit.
1937         (operator=):  new function
1938         (swap): new function
1939         (rowstruct): use initialization
1940         (columnstruct): use initialization
1941         (ltType): use initialization
1942
1943
1944         * lyxlength.h (swap): new function
1945
1946         * LColor.[Ch] (operator=): use the common semantics
1947
1948 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1949
1950         * lyxfind.C (findNextChange): update the bufferview after setting
1951         the selection.
1952
1953 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1956         number of InsetOptArgs has already been inserted.
1957
1958         * output_latex.C (latexOptArgInsets): new method. This outputs all
1959         the optarg insets, up to the limit defined in the layout file.
1960         (optArgInset): removed
1961         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1962
1963 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1964
1965         * paragraph.C (isLetter): remove special spellchecker-related
1966         code; return true also for digits
1967         (isWord, isKomma): remove
1968
1969         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1970         * lyxfind.C (MatchString()): use isLetter instead of isWord
1971
1972 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1973
1974         * pariterator.h (operatir=): comment out un-implemented member
1975         function.
1976
1977         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1978         static cast.
1979
1980 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1981
1982         * lyxfont.h: include LColor.h to satisfy concept checks.
1983
1984 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1985
1986         * pariterator.h: add typdefs for value_type, difference_type,
1987         pointer and reference to satisfy concept checks. Also add default
1988         constructor for same reason.
1989
1990         * pariterator.C (operator++): add post-increment operator to
1991         satisfy concept checks.
1992
1993         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1994         checks.
1995
1996         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1997
1998         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1999         checks. Also rename base_type to BaseType to follow naming
2000         standard better.
2001
2002         * FloatList.h: include Floating.h to satisfy concept checks.
2003
2004 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2005
2006         * lyxfunc.C (getStatus): when the origin of the request is menu or
2007         toolbar, and the LyXView does not have focus, do as if there was
2008         no buffer (bug 1720)
2009
2010         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2011         FuncRequest to individual entries of LFUN_SEQUENCE
2012
2013 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2014
2015         * output_latex.C (TeXOnePar): override runparams.moving_arg
2016         according to the needprotect value of the current paragraph (bug
2017         1739)
2018
2019         * paragraph.C (simpleTeXOnePar): no need to override
2020         runparams.moving_args here
2021
2022 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2023
2024         * vspace.C: fix off-by-one-error, related to fix #1682
2025
2026 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2027
2028         * lengthcommon.C: a more general fix for bug 1682
2029
2030 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2031
2032         * text.C (backspace): fix crash
2033
2034 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2035
2036         * format.[Ch] (getFormatFromFile): new method
2037         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2038
2039 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2040
2041         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2042
2043 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2044
2045         * lyxfunc.C (dispatch): remove the verbose argument
2046         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2047         instead
2048
2049         * kbmap.C (defkey): set the origin of func to KEYBOARD
2050
2051         * MenuBackend.C (MenuItem):
2052         * ToolbarBackend.C (add): set the origin of func to UI
2053
2054         * funcrequest.[Ch]: add origin member, which indicates which part
2055         of LyX requests an action
2056
2057 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2058
2059         * converter.C (move): don't lie in the error message
2060         * converter.h (isReachable, move): document
2061
2062 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2063
2064         * buffer.C: remove unused using lyx::support::atoi
2065         * paragraph_funcs.C: ditto
2066
2067 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2068
2069         * bufferlist.C (exists): use bind and equal_to instead of
2070         compare_memfun
2071         (getBuffer): ditto
2072         * lyxtextclasslist.C (NumberOfClass): ditto
2073
2074         * cursor.C (insert): use for_each instead of explicit for loop
2075
2076         * bufferlist.C (getFileNames): use std::transform and
2077         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2078
2079         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2080         for loop
2081
2082         * buffer.C (changeLanguage): use for_each instead of explicit for
2083         loop
2084         (hasParWithID): implement using getParFromID
2085
2086         * LaTeXFeatures.C: ws change only
2087
2088         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2089         to cleanup a bit.
2090
2091         * BufferView_pimpl.C (trackChanges): use for_each instead of
2092         expilicit for loop
2093
2094 2004-11-04  André Pönitz  <poenitz@gmx.net>
2095
2096         * undo.h:
2097         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2098
2099         * dociterator.C (asDocIterator): use hard assert again.
2100
2101 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2102
2103         * lyxlength.C (asLatexString): rewrite so that it does not use
2104         snprintf anymore
2105
2106 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2107
2108         * text3.C (specialChar, dispatch): make sure cursor moves to the
2109         right after inserting an inset
2110
2111 2004-11-02  José Matos  <jamatos@lyx.org>
2112
2113         * output_docbook.C (docbook):
2114         * paragraph.C (getID):
2115         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2116         garantee that the output is always legal.
2117
2118         * tabular.C (docbook):
2119         * outputprams.[Ch]: remove mixed contents.
2120
2121 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2122
2123         * text2.C (setCounter): prevent endless loop
2124
2125 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2126
2127         * exporter.C (copyFile): use the mover instead of support::copy()
2128         * exporter.C (Export): pass format and latex name to copyFile()
2129         * exporter.h (addExternalFile): document
2130         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2131
2132 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2133
2134         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2135
2136 2004-10-30  José Matos  <jamatos@lyx.org>
2137
2138         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2139         text and no inset or font change. This allows to use CDATA
2140         sections just for the whole paragraph.
2141
2142 2004-10-30  José Matos  <jamatos@lyx.org>
2143
2144         * paragraph.C (getFirstWord): remove unused variable.
2145
2146 2004-10-30  José Matos  <jamatos@lyx.org>
2147
2148         * paragraph.C (getFirstWord): the content should always be escaped
2149         there.
2150         (simpleDocBookOnePar):
2151         * output_docbook.C (makeEnvironment): replace reference to CDATA
2152         to style pass_thru.
2153
2154 2004-10-30  José Matos  <jamatos@lyx.org>
2155
2156         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2157
2158 2004-10-30  José Matos  <jamatos@lyx.org>
2159
2160         * output_docbook.C (makeParagraphs):
2161         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2162         standard paragraph has only a given type of content drop the wrapper.
2163
2164 2004-10-29  José Matos  <jamatos@lyx.org>
2165
2166         * output_docbook.C (makeEnvironment):
2167         * sgml.C (openTag):
2168         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2169
2170 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2171
2172         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2173         (cleanID): sanitize any id.
2174
2175 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2176
2177         * buffer.C, lyxlex_pimpl.C:
2178         * lyxlex_pimpl.C (setFile):
2179         s/getExtFromContents/getFormatFromContents/
2180
2181 2004-10-28  José Matos  <jamatos@lyx.org>
2182
2183         * output_docbook.C (makeEnvironment): move id to broadest possible
2184         scope.
2185
2186         * sgml.C (openTag): apply substitution of <> for all attributes.
2187
2188 2004-10-28  José Matos  <jamatos@lyx.org>
2189
2190         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2191         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2192         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2193
2194         * sgml.[Ch]: new version for open and closeTag for paragraph and
2195         for strings. Now they handle the ids of paragraphs.
2196
2197 2004-10-26  Angus Leeming  <leeming@lyx.org>
2198
2199         * Makefile.am: add mover.[Ch].
2200
2201         * converter.C (convert, move): use the new Movers to move external
2202         files to the temp directory.
2203
2204         * lyx_main.C (init): ensure that the global system_movers data
2205         is initialised.
2206
2207         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2208         preferences file.
2209
2210         * mover.[Ch]: new files, defining a Mover as a utility to move an
2211         external file between directories and, if necessary, manipulate this
2212         file using a helper script.
2213
2214 2004-10-25  José Matos  <jamatos@lyx.org>
2215
2216         * output_docbook.C (makeCommand): merge two if's that tested the
2217         same condition.
2218
2219 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2220
2221         * sgml.C (escapeString): fix warning in a better way
2222
2223 2004-10-25  José Matos  <jamatos@lyx.org>
2224
2225         * sgml.C (escapeString): import the require boosts header file for
2226         tie, and avoid a signed unsigned comparison.
2227
2228 2004-10-25  José Matos  <jamatos@lyx.org>
2229
2230         * sgml.h: add #include <string>
2231
2232 2004-10-25  José Matos  <jamatos@lyx.org>
2233
2234         * sgml.[Ch] (escapeString): new function to escape all the string.
2235
2236 2004-10-24  José Matos  <jamatos@lyx.org>
2237
2238         * paragraph.[Ch] (getFirstWord): new function to get the first
2239         word. Useful for description.
2240         (simpleDocBookOnePar): remove depth argument, add another that
2241         says where to start the paragraph.
2242
2243         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2244         use the new functions to fix cleanly the support for descriptions.
2245
2246 2004-10-24  José Matos  <jamatos@lyx.org>
2247
2248         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2249         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2250         * output_linuxdoc.C (linuxdocParagraphs):
2251         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2252         add buffer as argument.
2253
2254 2004-10-24  José Matos  <jamatos@lyx.org>
2255
2256         * output_docbook.C (makeEnvironment, searchEnvironment): place
2257         CDATA inside paragraphs and fix scope for listitems.
2258
2259 2004-10-24  José Matos  <jamatos@lyx.org>
2260
2261         * output_docbook.C: remove using statement for stack.
2262
2263 2004-10-23  José Matos  <jamatos@lyx.org>
2264
2265         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2266         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2267         docbook. The new scheme is recursive and makes use of iterators, the
2268         same as latex export works.
2269         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2270         directly with the paragraph contents. This code was moved up to
2271         output_docbook.C (docbookParagraphs).
2272         * sgml.C (openTag, closeTag): removed unneeded newlines.
2273         (closeEnvTags) removed.
2274
2275 2004-10-23  André Pönitz  <poenitz@gmx.net>
2276
2277         * undo.C (textUndoOrRedo):
2278         * dociterator.C (asDocIterator): work around crash
2279
2280         * cursor.C (getStatus): replace ASSERT by more verbose error message
2281           and manual correction of the problem. Should increase stability
2282           while providing more sensible information.
2283
2284 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2285
2286         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2287
2288         * bufferlist.C (previous, next): new methods
2289
2290         * lfuns.h:
2291         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2292
2293 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2294
2295         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2296         entities to preamble.
2297
2298 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2299
2300         * messages.C (Pimpl): strip off translation context information
2301
2302 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2303
2304         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2305         the cursor is correct (bug 1694)
2306
2307 2004-10-13  José Matos  <jamatos@lyx.org>
2308
2309         * output_docbook.C (docbookParagraphs): fix closing tags in the
2310         end of the document.
2311
2312 2004-10-09  José Matos  <jamatos@lyx.org>
2313
2314         * buffer.C: format up to 237.
2315         * bufferparams.C (write): use tostr to convert booleans to strings.
2316
2317 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2318
2319         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2320
2321 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2322
2323         * LaTeX.C: implement use of babel language in xindy.
2324
2325 2004-10-05  José Matos  <jamatos@lyx.org>
2326
2327         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2328         Add new translators to help reading and writing the lyx file.
2329
2330 2004-10-05  José Matos  <jamatos@lyx.org>
2331
2332         * ParagraphParameters.C (read):
2333         * text.C (readParToken): replace nexToken by more appropriate lex
2334         methods.
2335
2336 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2337
2338         * LaTeX.C (runMakeIndex):
2339         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2340         (usually 'makeindex') configurable.
2341
2342         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2343         with a variable rather than with a number.
2344
2345 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2346
2347         * output_latex.C (TeXOnePar): make sure font setting is the first
2348         thing that gets output (and the last at the end). Should fix bug
2349         1404.
2350
2351 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2352
2353         * pch.h: use proper signal include
2354
2355         * LaTeX.h: Use preferred calling of Boost.Signal
2356         * buffer.h: ditto
2357
2358 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2359
2360         * pch.h: dont include <boost/function/function0.hpp>
2361
2362         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2363
2364         * paragraph_pimpl.h: remove usage of ShareContainer
2365
2366         * paragraph_pimpl.C: remove initialization of ShareContainer.
2367
2368 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2369
2370         Fix bug #1666
2371
2372         * BufferView.C (putSelectionAt): change the semantics when
2373         backwards == true: now, this just swaps cursor and anchor wrt the
2374         forward case
2375
2376         * BufferView.h (putSelectionAt): add some documentation
2377
2378         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2379         make sure backwardChar is done at least once (to avoid getting
2380         stuck)
2381         (findNextChange): use putSelectionAt in the forward direction
2382         (operator()): use Paragraph::isWord
2383
2384 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2385
2386         * Spacing.C (set): c_str fix
2387
2388 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2389
2390         * lyx_cb.C (Reconfigure): quote the name of configure script in
2391         case it contains spaces
2392
2393 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2394
2395         * client: new dir
2396
2397         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2398         (BOOST_LIBS): use top_buildir when looking for the file
2399
2400 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2401
2402         * pch.h: do not use include boost/format.hpp, multiple symbols
2403                 will result (gcc bug)
2404
2405
2406 2004-08-23  José Matos  <jamatos@lyx.org>
2407
2408         * bufferparams.C (readToken): fix reading of the author field.
2409
2410 2004-08-20  José Matos  <jamatos@lyx.org>
2411
2412         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2413
2414 2004-08-20  José Matos  <jamatos@lyx.org>
2415
2416         * lyxlex.[Ch] (findToken): remove function.
2417
2418         * ParagraphParameters.C (findToken):
2419         * bufferparams.C (findToken): replace call for previous function
2420         with local copy. This local function has one more argument, the
2421         read string argument.
2422
2423 2004-08-16  José Matos  <jamatos@lyx.org>
2424
2425         * ParagraphParameters.C (write):
2426         * Spacing.C (writeFile):
2427         * bufferparams.C (writeLaTeX):
2428         * lyx_cb.C (Reconfigure):
2429         * paragraph.C (write):
2430         * tabular.C (write): remove unnecessary space at end of line.
2431
2432
2433 2004-08-16  José Matos  <jamatos@lyx.org>
2434
2435         * text.C (readParagraph): remove debug message.
2436
2437 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2438
2439         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2440         crash
2441
2442         * output_plaintext.C (asciiParagraph): set depth correctly
2443
2444         * outputparams.h: add member depth
2445
2446         * paragraph_funcs.C (ownerPar): remove.
2447
2448         * text2.C (setCounter): remove first_pit; comment out some
2449         non-working code that uses ownerPar
2450
2451         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2452         uses ownerPar
2453
2454 2004-08-16  José Matos  <jamatos@lyx.org>
2455
2456         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2457         For the same level of importance use the same chanel to report problems.
2458         (read): add code to deal with \begin_body and \end_body.
2459
2460
2461 2004-08-15  José Matos  <jamatos@lyx.org>
2462
2463         * lyxlex.C (getString): fix comment, buffer::readBody is now
2464         buffer:readDocument.
2465
2466         * tex-strings.C (string_papersize): Default -> default,
2467         Custom -> custom, for consistency with other options.
2468
2469 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * pch.h: new file
2472
2473         * Makefile.am: support pch
2474
2475 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2476
2477         * text.C (readParToken): remove the static LyXFont variable and
2478         pass it as a parameter instead. This fixes a nasty bug where an
2479         inset will be inserted with a bad font in some situations
2480         (readParagraph): adapt
2481
2482         * text2.C (setCounter): reduce number of calls to pars_[pit]
2483
2484         * text.C (singleWidth): add an assert, fix a test
2485
2486         * rowpainter.C (paintText): reduce number of calls to singleWidth
2487
2488         * paragraph.C (isHfill):
2489         (isNewline): ws only
2490
2491 2004-08-14  André Pönitz  <poenitz@gmx.net>
2492
2493         * text.C:
2494         * text2.C:
2495         * rowpainter.C:
2496         * lyxtext.h (several functions): use a Paragraph & argument
2497         instead of par_type
2498
2499 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2500
2501         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2502
2503         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2504
2505         * text.C (singleWidth): remove useless test
2506
2507 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2508
2509         * tabular.h: remove bogus comments
2510
2511         * tabular.C (getDescentOfRow):
2512         (isPartOfMultiColumn): add assertions
2513
2514         * lyxlength.C (inPixels): remove #warning
2515
2516 2004-08-14  André Pönitz  <poenitz@gmx.net>
2517
2518         * paragraph.h: inline getChar()
2519
2520         * BufferView.h: remove unused declarations
2521
2522 2004-08-14  José Matos  <jamatos@lyx.org>
2523
2524         * Buffer.[Ch] (readDocument): new name for old readBody.
2525         * Buffer.C: new file format, new keywords: \begin_document,
2526         \begin_header, \begin_body, \end_body.
2527
2528         * bufferparams.C (readToken): replace all calls to lex.nextToken
2529         by lex.next(). Do the same to eatLine except where really needed.
2530
2531         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2532         line when writing to the lyx file.
2533
2534         * output_plaintext.C (asciiParagraph): fix Bibliography style
2535         handling.
2536
2537         * text.C (read): fix end of file handling.
2538
2539 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2540
2541         * MenuBackend.C (Menu::operator[]): new method to access
2542         individual menu items
2543         (Menu::hasFunc): new method. search for an item that corresponds
2544         to a given func
2545         (MenuBackend::specialMenu): new method
2546         (MenuBackend::expand): if a special menu has been set, skip
2547         entries whose func() appears in this menu
2548
2549 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2550
2551         * text3.C: use Debug::DEBUG a bit more
2552
2553         * text.C (leftMargin): try to simplify a tiny bit change var x to
2554         l_margin. Dont output the wide margins always.
2555         (rightMargin): no margin in inner texts
2556
2557         * rowpainter.h (nestMargin): new func
2558         (changebarMargin): new func
2559         (rightMargin): new func
2560
2561         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2562         now functions.
2563         (paintLast): ditto
2564
2565         * factory.C (createInset): modify setDrawFrame
2566
2567         * cursor.C: use Debug::DEBUG a bit more
2568
2569 2004-08-14  André Pönitz  <poenitz@gmx.net>
2570
2571         * coordcache.[Ch]:
2572         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2573         cache for all insets in (at least partially) visible (top-level)
2574         paragraphs.
2575
2576         * BufferView_pimpl.C: reset external coord cache before every update.
2577         This means the coord cache only contains valid entries.
2578
2579 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2580
2581         bug 1096
2582         * BufferView_pimpl.C (getInsetByCode): move function out of class
2583         and change in to a template in anon namespace. Also fix to do what
2584         suits us better.
2585
2586 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2587
2588         bug 1305
2589         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2590         of char
2591         (breakParagraph): rename par to par_offset and use a local
2592         reference. Add code to keep the language over a rebreak.
2593         (breakParagraphConservative): rename par to par_offset, use a
2594         local reference
2595         (mergeParagraph): ditto
2596         (outerHook): ditto
2597         (isFirstInSequence): ditto
2598         (outerFont): rename pit to par_offset
2599
2600         * paragraph.C: ws change
2601         * paragraph.h: ditto
2602         * text3.C: ditto
2603         * text.C: ditto
2604
2605 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2606
2607         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2608         treatment for ']'
2609
2610         * paragraph.C (simpleTeXOnePar): when we have a \item with
2611         optional argument, enclose the argument with curly brackets (in
2612         case it contains a closing square bracket)
2613
2614         * text2.C (editXY):
2615         * text2.C (editXY):
2616         * text3.C (checkInsetHit): constify
2617
2618 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2619
2620         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2621         documents (bug 1629)
2622
2623 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2624
2625         Fix toggling of collapsable insets with the mouse (bug 1558)
2626
2627         * lyxfunc.C (dispatch): adapt to LCursor changes
2628
2629         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2630         make sure that dispatch is not invoked twice
2631
2632         * cursor.C (needsUpdate): new method
2633         (dispatch): return void
2634         (result): new method, to access the DispatchResult of the cursor.
2635
2636 2004-08-13  José Matos  <jamatos@lyx.org>
2637
2638         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2639
2640 2004-08-13  André Pönitz  <poenitz@gmx.net>
2641
2642         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2643
2644         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2645           multiple cells
2646
2647 2004-08-12  André Pönitz  <poenitz@gmx.net>
2648
2649         * text3.C: take out the 'cursor right' form insertInset and only
2650         do it in those places when it is really needed. Fixes crash on
2651         C-m...
2652
2653 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2654
2655         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2656
2657         * BufferView_pimpl.C (setBuffer): initialize the current font of
2658         the underlying LyXText
2659
2660 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2661
2662         * kbsequence.C (print): use UI native formatting for menu
2663         shortcuts
2664
2665         * text.C (insertChar): call Paragraph::insertChar with a font
2666         argument (cosmetic)
2667
2668         * paragraph.C (insertInset, insertChar): the version that takes a
2669         LyXFont argument is now a wrapper around the other one (the
2670         opposite used to be true).
2671
2672         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2673         argument. Font setting is done in Paragraph now.
2674
2675 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2676
2677         * outputparams.h: add new members intitle and lang.
2678
2679         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2680         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2681
2682 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2683
2684         * text3.C (dispatch): remove special handling of button 4 and 5,
2685         it is now taken care of in the frontend code.
2686
2687 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2688
2689         * Spacing.h: add <string> (STLPort compile fix)
2690
2691 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2692
2693         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2694
2695 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2696
2697         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2698         to bool.
2699
2700         * converter.C (showMessage): inherit from unary_function, make
2701         operator() const.
2702
2703         * buffer.C (writeFile): initialize retval
2704
2705         * InsetList.h: rename private variable list to list_
2706         * InsetList.[Ch]: adjust accordingly.
2707
2708 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2709
2710         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2711         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2712         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2713         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2714         * ParagraphParameters.C, LaTeXFeatures.C: replace
2715         "support/std_sstream.h" with <sstream>
2716
2717 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2718
2719         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2720         * lyxsocket.C (LyXServerSocket): ditto
2721         (serverCallback): ditto
2722
2723 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2724
2725         * LaTeXFeatures.C: check release date when loading jurabib.
2726
2727 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2728
2729         * lyxserver.C (startPipe): call register_socket_callback
2730         (endPipe): call unregister_socket_callback
2731
2732 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2733
2734         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2735         (LyXServerSocket): register the callback
2736         (LyXServerSocket): unregister the callback
2737         (fd): delete function
2738         (serverCallback): improve error checking and setup the callbacks.
2739         (dataCallback): change arg to fd.
2740         (writeln): new func (copied fro the client socket) used for server
2741         write to client.
2742         (LyXDataSocket): simplify
2743         (~LyXDataSocket): close ann unregiser callback
2744         (server): delete function
2745         (fd): delete function
2746         (readln): small changes, improve some std::string usage
2747         (writeln): constify a bit
2748
2749 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2750
2751         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2752         Qt frontend
2753
2754 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2755
2756         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2757         after it has been populated
2758
2759 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2760
2761         * text2.C (insertInset): move cursor when inserting inset.
2762
2763 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2764
2765         * kbmap.C (findbindings): a couple of new methods. returns a
2766         container of kb_sequence objects. The real work is done by the
2767         private recursive version
2768         (printbindings): uses findbindings to print out a bracketed list
2769         of bindings (renamed from findbinding).
2770
2771         * MenuBackend.C (binding): use kb_keymap::findbindings
2772
2773         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2774
2775 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2776
2777         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2778
2779 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2780
2781         * paragraph.C (isWord): return true on insets that report
2782         isLetter().
2783
2784         * text.C (getWord): use Paragraph::isWord to decide what is in a
2785         word and what is not; fix bug 1609.
2786
2787 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2788
2789         * tex-strings.C: add "none" to string_paperpackages[], fixes
2790         off-by-one-error in the paperpackage selection.
2791
2792         * lyxlex.[Ch]:
2793         * tex-strings.[Ch]: char const * string[n]
2794         -> char const * const string[]
2795
2796 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2797
2798         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2799         command, return early.
2800
2801 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2802
2803         * debug.h: add DEBUG to enum and fix size of ANY.
2804
2805         * debug.C: add support for Debug::DEBUG
2806         (showTags): cast errorTags.level to unsigned int
2807
2808         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2809         (redoCurrentBuffer): ditto
2810         (updateScrollbar): ditto
2811         * cursor.C (dispatch): ditto
2812         * text2.C (setLayout): ditto
2813         (setFont): ditto
2814         (updateCounters): ditto
2815         (editXY): ditto
2816         (deleteEmptyParagraphMechanism): ditto
2817
2818 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2819
2820         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2821         annotations to cleanup the Makefile slightly.
2822
2823 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2824
2825         * lyxrc.C: do not set user_email to a default value but use empty
2826         instead. The entry used to be translated, which does not work
2827         since at the point where lyxrc is constructed there is no
2828         translation service available
2829
2830         * messages.C (getLocaleDir): remove and use directly
2831         lyx_localedir() instead
2832
2833 2004-06-02  Angus Leeming  <leeming@lyx.org>
2834
2835         Fix crash caused by dereferencing null pointer 'exportdata' in
2836         OutputParams by creating a new ExportData variable on the heap,
2837         storing it in a boost::shared_ptr.
2838         The crash was triggered when generating an Instant Preview
2839         of an external inset.
2840
2841         * Makefile.am: add outputparams.C
2842
2843         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2844         (c-tor): allocate memory to it.
2845
2846         * exporter.C (c-tor): associated changes.
2847
2848 2004-06-01  Angus Leeming  <leeming@lyx.org>
2849
2850         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2851         contains data before calling isInset(0). (Bug 1513.)
2852
2853 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2854
2855         * exporter.C (checkOverwrite): new method
2856         * exporter.C (copyFile): new method
2857         * exporter.C (Export): copy referenced files to the document dir
2858         * exporter.[Ch]: new class ExportedFile
2859         * exporter.[Ch]: new class ExportData. Contains currently the
2860         names of referenced external files
2861         * outputparams.h: add exportdata member.
2862
2863 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2864
2865         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2866         version.C-tmp
2867
2868 2004-05-19  Angus Leeming  <leeming@lyx.org>
2869
2870         * LaTeXFeatures.C:
2871         * ToolbarBackend.C:
2872         * bufferparams.C:
2873         * lyxfunc.C: small changes due to the introduction of namespace
2874         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2875
2876 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2877
2878         * text3.C (dispatch): supress update when only moving the cursor
2879         * cursor.C (selHandle): remove commented code
2880
2881 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2882
2883         * paragraph.C (startTeXParParams): correct column count
2884         * CutAndPaste.C (pasteSelection): remove const_cast
2885         * output_docbook.C (docbookParagraphs): remove const_cast
2886         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2887         const_cast and return ParagraphList::const_iterator
2888         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2889         * output_plaintext.C (writeFileAscii): remove const_cast
2890         * paragraph.[Ch] (simpleTeXOnePar): make const
2891         * paragraph_funcs.C (outerPar): use const iterators
2892         * paragraph_pimpl.C (validate): use const iterators
2893         * text.C (setHeightOfRow): use const iterators
2894
2895 2004-05-17  Angus Leeming  <leeming@lyx.org>
2896
2897         * lfuns.h:
2898         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2899
2900         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2901         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2902         if the citation engine has changed.
2903
2904 2004-05-14  José Matos  <jamatos@lyx.org>
2905
2906         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2907         if the textclass does not provide it. Have it different for sgml and
2908         xml.
2909         support the language of document.
2910         * output_docbook.C (docbookParagraphs):
2911         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2912         first anchor as the id of the paragraph, remove special case code.
2913         * sgml.C (escapeChar): escape only < & >.
2914
2915 2004-05-14  Angus Leeming  <leeming@lyx.org>
2916
2917         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2918         dependencies on src/frontends/controllers/biblio.h. Define a
2919         CiteEngine_enum wrapper class to enable the enum to be forward
2920         declared.
2921
2922 2004-05-12  Angus Leeming  <leeming@lyx.org>
2923
2924         * buffer.C: up LYX_FORMAT to 234.
2925         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2926         use_numerical_citations with a single biblio::CiteEngine cite_engine
2927         variable.
2928         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2929
2930 2004-05-13  José Matos  <jamatos@lyx.org>
2931
2932         * converter.h:
2933         * converter.C (Converter, readFlags): add xml member.
2934         * outputparams.h: add XML flavor.
2935         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2936
2937 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2938
2939         * lyxfunc.C (dispatch):
2940         (getStatus): fix handling of LFUN_SEQUENCE
2941
2942 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2943
2944         * debug.C (showLevel): do not forget the end-of-line marker
2945
2946 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2947
2948         * kbmap.C (read): do not stop parsing a bind file when an error
2949         occurs (bug 1575)
2950
2951 2004-04-29  Angus Leeming  <leeming@lyx.org>
2952
2953         * cursor.C:
2954         * factory.C:
2955         * pariterator.C:
2956         * text2.C: wrap a bunch of #warning statements
2957         inside #ifdef WITH_WARNINGS blocks.
2958
2959 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2960
2961         * buffer.C: increment format to 233.
2962
2963 2004-04-28  Angus Leeming  <leeming@lyx.org>
2964
2965         * BufferView_pimpl.C:
2966         * lyxfunc.C:
2967         * text3.C:
2968         s/updateToolbar()/updateToolbars()/
2969         s/Toolbar.h/Toolbars.h/
2970
2971 2004-04-28  Angus Leeming  <leeming@lyx.org>
2972
2973         * BufferView.[Ch] (c-tor):
2974         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2975         No longer passes these data to the WorkArea generator.
2976
2977 2004-04-28  Angus Leeming  <leeming@lyx.org>
2978
2979         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2980
2981 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2982
2983         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2984
2985 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2986
2987         * output_latex.C (TeXEnvironment): make sure that there is a line
2988         break before \end{foo} for the last paragraph of a document
2989         (TeXOnePar): if the paragraph is at the end of the document (or
2990         inset) and the language has to be reset, then make sure that the
2991         line break is _before_ the language command, not after (fixes bug
2992         1225); also make sure that the language reset command is the first
2993         thing after the paragraph (to ensure proper nesting of
2994         environments and thus fix bug 1404)
2995
2996 2004-04-21  John Levon  <levon@movementarian.org>
2997
2998         * ToolbarBackend.h:
2999         * ToolbarBackend.C: make "name" be a programmatic name
3000         and a gui_name field.
3001
3002         * lyxfunc.C: display the minibuffer on M-x
3003
3004 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3005
3006         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3007         (bug 1526)
3008
3009 2004-04-19  Angus Leeming  <leeming@lyx.org>
3010
3011         * BufferView_pimpl.C (setBuffer): changed preview interface.
3012
3013         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3014         possible values.
3015
3016 2004-04-19  John Levon  <levon@movementarian.org>
3017
3018         * BufferView_pimpl.C:
3019         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3020
3021 2004-04-05  Angus Leeming  <leeming@lyx.org>
3022
3023         * text.C (redoParagraphs): add call to updateCounters(), thereby
3024         fixing the missing "Figure #:" label from the caption of a
3025         figure float.
3026
3027 2004-04-13  Angus Leeming  <leeming@lyx.org>
3028
3029         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3030         cursor is clicked out of an inset.
3031
3032 2004-04-13  Angus Leeming  <leeming@lyx.org>
3033
3034         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3035         than an InsetOld one.
3036
3037 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3038
3039         * format.[Ch]: add editor to Format
3040         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3041         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3042
3043 2004-04-08  André Pönitz  <poenitz@gmx.net>
3044
3045         * metricsinfo.h: remove PainterInfo::width member
3046
3047 2004-04-08  Angus Leeming  <leeming@lyx.org>
3048
3049         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3050         "\providecommand" rather than "\newcommand", thereby preventing
3051         clashes with packages that define "\boldsymbol" themselves.
3052         Eg, beamer.
3053
3054 2004-04-08  Angus Leeming  <leeming@lyx.org>
3055
3056         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3057         thereby squashing an unnecessary warning.
3058
3059 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3060
3061         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3062         setBuffer()
3063
3064 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3065
3066         * BufferView.C (setCursor): call redoParagraph (some insets could
3067         have been opened)
3068         (putSelectionAt): remove the 'double update' trick
3069
3070         * BufferView_pimpl.C (fitCursor): call refreshPar
3071         (workAreaDispatch): remove an uneeded update call
3072         (dispatch): remove some manual update calls
3073
3074         * cursor.[Ch]: remove cached_y_, updatePos
3075         (selHandle): set noUpdate when appropriate
3076
3077         * lyxfunc.C (dispatch): track if we need an update
3078
3079         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3080
3081         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3082         (paintSelection): cheap optimization, do not call cursorX when not
3083         needed
3084         (paintPars): change signature
3085         (refreshPar): add
3086         (paintText): adjust
3087         (paintTextInset): adjust
3088
3089         * text.C: adjust
3090
3091 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3092
3093         * lengthcommon.C: compilation fix: remove explicit array size from
3094         unit_name[] and friends
3095
3096 2004-04-05  Angus Leeming  <leeming@lyx.org>
3097
3098         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3099
3100         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3101         present only for the preferences dialog.
3102         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3103
3104 2004-04-05  Angus Leeming  <leeming@lyx.org>
3105
3106         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3107         to enable the frontends to export changes to lyxrc correctly.
3108
3109         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3110
3111 2004-04-07  André Pönitz  <poenitz@gmx.net>
3112
3113         * cursor.[Ch] (selClear, adjust): remove math
3114
3115         * cursor_slice.C: more agressive assert
3116
3117         * lyxfunc.C:
3118         * BufferView_pimpl.C: rework mouse event dispatch
3119
3120         * dociterator.C:
3121         * paragraph.C:
3122         * text2.C:
3123         * text3.C: adjust
3124
3125 2004-04-05  André Pönitz  <poenitz@gmx.net>
3126
3127         * cursor.[Ch] (valign, halign...): remove unneeded functions
3128
3129 2004-04-05  Angus Leeming  <leeming@lyx.org>
3130
3131         * lyxlength.[Ch] (unit_name et al.): const-correct.
3132
3133 2004-04-05  Angus Leeming  <leeming@lyx.org>
3134
3135         * BufferView_pimpl.C:
3136         * buffer.C:
3137         * counters.C:
3138         * cursor.C:
3139         * lyxfunc.C
3140         * paragraph.C:
3141         * pariterator.C:
3142         * text.C:
3143         * text2.C:
3144         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3145
3146 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3147
3148         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3149
3150 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3151
3152         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3153         * BufferView_pimpl.[Ch] (getStatus)
3154         * BufferView.[Ch] (getStatus): add
3155         * lyxfunc.C (getStatus): move lfuns handled in
3156         BufferView::dispatch to te function above
3157         * Cursor.C (setSelection): set selection() = true
3158
3159 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3160
3161         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3162
3163 2004-03-31  Angus Leeming  <leeming@lyx.org>
3164
3165         * lyxfunc.C (dispatch): Fall through to the generic
3166         Dialogs::show("preamble").
3167
3168 2004-03-31  Angus Leeming  <leeming@lyx.org>
3169
3170         * lyxfunc.C (dispatch): Fall through to the generic
3171         Dialogs::show("spellchecker").
3172
3173 2004-03-31  Angus Leeming  <leeming@lyx.org>
3174
3175         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3176         preferences dialog.
3177
3178 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3179
3180         * BufferView.C
3181         * cursor.[Ch]
3182         * dociterator.[Ch]:
3183         * insetiterator.[Ch]:
3184         * lyxfind.C:
3185         * lyxfunc.C:
3186         * pariterator.[Ch]:
3187         * text2.C:
3188         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3189
3190 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3191
3192         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3193         insets where we are putting the cursor.
3194
3195 2004-03-31  Angus Leeming  <leeming@lyx.org>
3196
3197         * lfuns.h:
3198         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3199
3200         * lyxrc.[Ch] (read, write): overloaded member functions taking
3201         a std::[io]stream arguments.
3202
3203         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3204
3205 2004-03-31  Angus Leeming  <leeming@lyx.org>
3206
3207         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3208         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3209
3210         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3211         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3212
3213 2004-03-31  Angus Leeming  <leeming@lyx.org>
3214
3215         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3216         the LFUN_ALL_INSETS_TOGGLE code.
3217
3218 2004-03-30  Angus Leeming  <leeming@lyx.org>
3219
3220         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3221         has died. Fall through to the generic Dialogs::show("document").
3222
3223 2004-03-30  Angus Leeming  <leeming@lyx.org>
3224
3225         * lfuns.h:
3226         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3227         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3228
3229         * lyxfunc.C (getStatus, dispatch): define the actions for these
3230         lfuns. Little more than a cut and pste job from ControlDocument.C
3231
3232         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3233
3234 2004-03-30  Angus Leeming  <leeming@lyx.org>
3235
3236         * lfuns.h:
3237         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3238         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3239
3240         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3241         open/closed state of ollapsable insets. Usage:
3242
3243         all-inset-toggle <state> <name>, where
3244         <state> == "open" || "closed" || "toggle" and
3245         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3246
3247         * lyxtext.h, text2.C (toggleInset): removed.
3248
3249         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3250         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3251         now passes LFUN_INSET_TOGGLE to the found inset.
3252
3253         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3254         is now invoked as "all-insets-toggle toggle branch".
3255
3256 2004-03-30  Angus Leeming  <leeming@lyx.org>
3257
3258         * dociterator.C:
3259         * insetiterator.C:
3260         * pariterator.[Ch]: added/corrected header blurb.
3261
3262 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3263
3264         * dociterator.[Ch]: add an inset_ member
3265         (backwardPos): implemented
3266         (backwardPos, forwardPos): use inset_ when the stack is empty.
3267         (doc_iterator_begin, doc_iterator_end): implemented
3268         * pariterator.[Ch]: adjust, add begin, end
3269         * insetiterator.[Ch]: adjust, add begin, end
3270         * cursor.C:
3271         * document.C:
3272         * BufferView.C:
3273         * BufferView_pimpl.C:
3274         * CutAndPaste.C: adjust
3275
3276 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3277
3278         * buffer.C: increment file format to 232.
3279         * LaTeXFeatures.C: add bibtopic package.
3280         * bufferparams.[Ch]: param \use_bibtopic.
3281
3282         * lyxrc.[Ch]: add lyxrc bibtex_command
3283         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3284
3285         * buffer.C: increment file format to 231.
3286
3287 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3288
3289         * dociterator.C: implement forwardPar
3290         * iterators.[Ch]: remove, replaced by
3291         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3292         * BufferView.C:
3293         * BufferView_pimpl.C:
3294         * CutAndPaste.C:
3295         * buffer.C:
3296         * bufferview_funcs.C:
3297         * cursor.C:
3298         * lyxfind.C
3299         * lyxfunc.C
3300         * paragraph_funcs.C
3301         * toc.C:
3302         * Makefile.am: adjust
3303
3304 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3305
3306         * CutAndPaste.C (pasteSelection): fix 2 crashes
3307         (eraseSelection): fix a crash
3308         * paragraph_funcs.C: remove a warning
3309
3310 2004-03-28  Angus Leeming  <leeming@lyx.org>
3311
3312         * lfuns.h:
3313         * LyXAction.C (init): new LFUN_PRINT.
3314
3315         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3316
3317 2004-03-27  Angus Leeming  <leeming@lyx.org>
3318
3319         * lfuns.h:
3320         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3321
3322         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3323
3324 2004-03-27  Angus Leeming  <leeming@lyx.org>
3325
3326         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3327         insetlist always contains non-null pointers to insets.
3328
3329 2004-03-26  Angus Leeming  <leeming@lyx.org>
3330
3331         * src/BufferView_pimpl.C:
3332         * src/CutAndPaste.C:
3333         * src/buffer.C:
3334         * src/iterators.C:
3335         * src/output_plaintext.C:
3336         * src/outputparams.h:
3337         * src/paragraph_funcs.C:
3338         * src/rowpainter.C:
3339         * src/text.C:
3340         * src/text2.C:
3341         * src/frontends/controllers/ControlErrorList.C:
3342         * src/frontends/gtk/FileDialogPrivate.C:
3343         * src/frontends/gtk/GPainter.C:
3344         * src/frontends/gtk/GToolbar.C:
3345         * src/frontends/qt2/QRef.C:
3346         * src/mathed/math_scriptinset.C: squash compiler warnings.
3347
3348 2004-03-26  Angus Leeming  <leeming@lyx.org>
3349
3350         * ispell.C (LaunchIspell::start):
3351         * lyx_cb.C (AutoSaveBuffer::start):
3352         invoke run(DontWait) rather than runNonBlocking().
3353
3354 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3355
3356         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3357
3358 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3359
3360         * kbsequence.C (print): adjust
3361
3362         * kbmap.C (printKeySym): rename and change signature
3363         (printKey): use LyXKeySym::print()
3364
3365 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3366
3367         * undo.C: add using std::advance to compile for stlport
3368
3369 2004-03-24  Angus Leeming  <leeming@lyx.org>
3370
3371         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3372         it leads to a crash when no buffer is present.
3373
3374 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3375             Martin Vermeer  <martin.vermeer@hut.fi>
3376
3377         * lyxfunc.C (dispatch):
3378         * bufferparams.C (readToken): use the new LColor::setColor
3379
3380         * LColor.[Ch] (setColor): new version that takes two strings as
3381         argument and creates a new color entry if necessary
3382
3383 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3384
3385         * buffer.C (makeLaTeXFile): if the main latex file that is
3386         processed is usually a subdocument of some master, then pretend
3387         for a while that it is actually the master
3388
3389 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3390
3391         * buffer.C (getLabelList):
3392         (getBibkeyList): use getMasterBuffer()
3393         (getMasterBuffer): new method. Returns the main document in the
3394         case where one is using included documents.
3395
3396 2004-03-25  André Pönitz  <poenitz@gmx.net>
3397
3398         * Makefile.am:
3399         * iterators.[Ch]:
3400         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3401
3402         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3403
3404         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3405         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3406
3407         * ParameterStruct.h: merge with ParagraphParameters
3408
3409         * lyxtext.h: remove LyXText::parOffset() and getPar()
3410
3411         * text3.C: Remove all 'manual' update calls. We do now one per user
3412         interaction which is completely sufficient.
3413
3414         * Bidi.C:
3415         * BufferView.[Ch]:
3416         * BufferView_pimpl.C:
3417         * FontIterator.[Ch]:
3418         * MenuBackend.C:
3419         * ParagraphParameters.[Ch]:
3420         * buffer.C:
3421         * buffer.h:
3422         * bufferlist.C:
3423         * cursor.[Ch]:
3424         * cursor_slice.[Ch]:
3425         * dociterator.[Ch]:
3426         * errorlist.[Ch]:
3427         * factory.C:
3428         * lfuns.h:
3429         * lyxfind.C:
3430         * lyxfunc.C:
3431         * output_docbook.[Ch]:
3432         * output_latex.[Ch]:
3433         * output_linuxdoc.[Ch]:
3434         * output_plaintext.[Ch]:
3435         * paragraph.[Ch]:
3436         * paragraph_funcs.[Ch]:
3437         * paragraph_pimpl.[Ch]:
3438         * rowpainter.C:
3439         * tabular.[Ch]:
3440         * text.C:
3441         * text2.C:
3442         * toc.C:
3443         * undo.[Ch]: adjust
3444
3445         * frontends/controllers/ControlDocument.C:
3446         * frontends/controllers/ControlErrorList.C:
3447         * frontends/controllers/ControlSpellchecker.C:
3448         * insets/inset.C:
3449         * insets/inset.h:
3450         * insets/insetbase.h:
3451         * insets/insetbibitem.C:
3452         * insets/insetbox.C:
3453         * insets/insetbranch.C:
3454         * insets/insetcaption.C:
3455         * insets/insetcharstyle.C:
3456         * insets/insetcharstyle.h:
3457         * insets/insetcollapsable.C:
3458         * insets/insetcollapsable.h:
3459         * insets/insetert.C:
3460         * insets/insetfloat.C:
3461         * insets/insetfoot.C:
3462         * insets/insetmarginal.C:
3463         * insets/insetnote.C:
3464         * insets/insetoptarg.C:
3465         * insets/insettabular.C:
3466         * insets/insettext.C:
3467         * insets/insettext.h:
3468         * insets/insetwrap.C:
3469         * mathed/math_mboxinset.C:
3470         * mathed/math_nestinset.C:
3471         * mathed/math_scriptinset.C:
3472         * mathed/math_scriptinset.h:
3473         * support/types.h:
3474
3475 2004-03-24  Angus Leeming  <leeming@lyx.org>
3476
3477         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3478         deal with any child processes that have finished but are waiting to
3479         communicate this fact to the rest of LyX.
3480
3481 2004-03-24  Angus Leeming  <leeming@lyx.org>
3482
3483         64-bit compile fixes.
3484
3485         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3486         (c-tor): pass lyx::pos_types rather than ints.
3487
3488         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3489         lyx::pos_type.
3490
3491         * text.C (Delete): compile fix.
3492         (getPar): ensure that function declaration is the same as that in
3493         the header file.
3494
3495 2004-03-23  Angus Leeming  <leeming@lyx.org>
3496
3497         * ispell.C (LaunchIspell):
3498         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3499         a boost::shred_ptr rather than a std::auto_ptr.
3500
3501 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3502
3503         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3504         handle LFUN_FILE_INSERT_*
3505
3506         * lyxrc.C (setDefaults, getDescription, output, read):
3507         * lyxrc.h: remove ps_command
3508
3509 2004-03-22  Angus Leeming  <leeming@lyx.org>
3510
3511         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3512         Ensure that error_handler is processed once only and that all data
3513         is saved before attempting to output any warning messages.
3514
3515         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3516
3517 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3518
3519         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3520
3521 2004-03-19  André Pönitz  <poenitz@gmx.net>
3522
3523         * cursor.[Ch] (reset): take main text inset as argument
3524
3525         * BufferView: adjust
3526         * BufferView_pimpl.C: adjust
3527
3528         * paragraph.[Ch]: fix completely broken operator=()
3529
3530 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3531
3532         * LColor.C (getFromLyXName): make sure that the color name is used
3533         as lowercase.
3534
3535 2004-03-17  Angus Leeming  <leeming@lyx.org>
3536
3537         * lfuns.h:
3538         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3539
3540         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3541         dialog and to kill a forked process.
3542
3543 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3544
3545         * text2.C (setCursorFromCoordinates): fix font problem
3546
3547 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3548
3549         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3550         bogus "rebuild cursor" code
3551
3552 2004-03-11  André Pönitz  <poenitz@gmx.net>
3553
3554         * buffer.[Ch]: use InsetText instead of LyXText as container for
3555         the main lyx text.
3556
3557         * dociterator.[Ch]: drop the BufferView * member which is not needed
3558         anymore after the change to buffer.C
3559
3560         * paragraph_funcs.C:
3561         * text.C:
3562         * text2.C:
3563         * BufferView.[Ch]:
3564         * BufferView_pimpl.[Ch]:
3565         * cursor.[Ch]:
3566         * cursor_slice.[Ch]: adjust
3567
3568         * text3.C: fix bug in mathDispatch
3569
3570 2004-03-08  André Pönitz  <poenitz@gmx.net>
3571
3572         * undo.[Ch]: use 'StableDocumentIterator' as base for
3573         the Undo struct.
3574
3575 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3576
3577         * LaTeXFeatures.C:
3578         * bufferparams.[Ch]: add jurabib support and param.
3579
3580         * LaTeX.C: add FIXME/comment.
3581
3582 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3583
3584         * buffer.C: increment file format to 230.
3585
3586 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3587
3588         * cursor.C (dispatch): avoid infinite loops
3589
3590 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3591
3592         * rowpainter.C (paintSelection): fix x coordinates
3593
3594 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3595
3596         * text.C (rowBreakPoint): fix breaking before displayed insets
3597
3598 2004-03-01  André Pönitz  <poenitz@gmx.net>
3599
3600         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3601
3602         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3603
3604         * Makefile.am:
3605         * BufferView.C:
3606         * BufferView_pimpl.C:
3607         * buffer.C:
3608         * lyxfind.C:
3609         * lyxfunc.C:
3610         * text.C:
3611         * text2.C:
3612         * text3.C: adjust
3613
3614 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3615
3616         * lyxtext.h:
3617         * text.C:
3618         * text2.C:
3619         * rowpainter.C:
3620         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3621         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3622
3623 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3624
3625         * Bidi.[Ch] (computeTables): const correctness
3626         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3627         fill_hfill, fill_label_hfill and x from Row
3628         * lyxtext.h: prepareToPrint returns a RowMetrics
3629         * rowPainter.C: adjust
3630         * text.C (prepareToPrint): use width, not textWidth. adjust
3631         (redoParagraphInternal, cursorX): adjust
3632         * text2.C (getColumnNearX): adjust
3633         (init): put a default value to the top LyXText::width
3634
3635 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3636
3637         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3638
3639 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3640
3641         * lyxtext.h: add FontIterator class
3642
3643         * text.C (FontIterator, operator*, operator->, operator++): add
3644         (rowBreakPoint, setRowWidth): adjust (fixing a
3645         rebreaking bug)
3646
3647 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3648
3649         * BufferView_pimpl.C (workAreaDispatch): allow also
3650         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3651
3652 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3653
3654         * text.C (rowBreakPoint): fix a bug showing with very large insets
3655
3656 2004-02-25  André Pönitz  <poenitz@gmx.net>
3657
3658         * text3.C:
3659         * cursor.[Ch]: move some mathed specific code to mathed
3660
3661 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3662
3663         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3664         use_tempdir in preferences
3665         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3666         tempfile creation
3667         * lyx_main.C: ensure that tempdir is valid
3668         * lyxlex.h: correct typo
3669         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3670         * paragraph.[Ch] (isMultiLingual): make const
3671         * cursor.[Ch] (openable): make const
3672
3673 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3674
3675         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3676
3677 2004-02-20  André Pönitz  <poenitz@gmx.net>
3678
3679         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3680
3681         * cursor.[Ch]: prepare for localized getStatus()
3682
3683         * lyxtext.h:
3684         * tabular.C:
3685         * text.C:
3686         * text2.C:
3687         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3688
3689 2004-02-20  André Pönitz  <poenitz@gmx.net>
3690
3691         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3692
3693 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3694
3695         * text2.C (setCursorFromCoordinates): switch to absolute coords
3696         (cursorUp): adjust
3697         (cursorDown): adjust
3698         * text3.C (dispatch): adjust
3699
3700 2004-02-16  André Pönitz  <poenitz@gmx.net>
3701
3702         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3703           insets/ChangeLog)
3704
3705         * cursor_slice.[Ch]: remove unneeded acessor function
3706
3707         * lyxtext.h: rename rtl() to isRTL()
3708
3709         * rowpainter.C:
3710         * tabular.C:
3711         * text.C:
3712         * text2.C:
3713         * text3.C: adjust
3714
3715 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3716
3717         * rowpainter.C (paintSelection): coord fix
3718
3719 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3720
3721         * Spacing.C: compile fix
3722
3723 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3724
3725         * cursor.C (dispatch): restore current_ before returning
3726
3727 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3728
3729         * text2.C (cursorUp, cursorDown): fix coords
3730         (moveUp): fix crash
3731
3732 2004-02-12  André Pönitz  <poenitz@gmx.net>
3733
3734         * lyxtext.h:
3735         * text.C:
3736         * text2.C:
3737         * text3.C: add LCursor & parameter to most cursor movement functions
3738           remove usage of LyXText::cursorRow() and cursorPar()
3739
3740         * cursor.[Ch]: add textRow() needed members
3741
3742         * BufferView.C:
3743         * BufferView_pimpl.C:
3744         * paragraph.[Ch]:
3745         * BufferView.C:
3746         * BufferView_pimpl.C: adjust
3747
3748 2004-02-11  André Pönitz  <poenitz@gmx.net>
3749
3750         * lyxfunc.C:
3751         * BufferView.[Ch]:
3752         * BufferView_pimpl.C: shift undo/redo handling
3753
3754         * cursor.[Ch]: fix mathed crash
3755
3756         * lyxfind.C:
3757         * lyxtext.h: move selectionAsText to LCursor
3758
3759         * output_latex.C:
3760         * paragraph.C:
3761         * text.C:
3762         * text2.C:
3763         * text3.C: adjust
3764
3765         * rowpainter.C: fix excessive drawing
3766
3767 2004-02-06  André Pönitz  <poenitz@gmx.net>
3768
3769         * BufferView.[Ch]:
3770         * BufferView_pimpl.[Ch]:
3771         * text3.C: move some text specific LFUN handling
3772
3773 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3774
3775         * text3.C (checkInsetHit): adjust coords
3776         * text2.C (getColumnNearX): adjust coords
3777         (edit): adjust coords
3778         * text.C (getRowNearY): add two asserts
3779
3780 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3781
3782         * converter.C:
3783         * format.C: add using std::distance to compile on gcc 2.95/stlport
3784
3785 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3786
3787         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3788
3789 2004-02-04  André Pönitz  <poenitz@gmx.net>
3790
3791         * BufferView.[Ch] (insertInset):
3792         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3793
3794         * text2.C:
3795         * text3.C: adjust
3796
3797 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3798
3799         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3800         on the default clause of the switch
3801         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3802         wasn't catched by LCursor::dispatch
3803
3804 2004-02-03  André Pönitz  <poenitz@gmx.net>
3805
3806         * BufferView.C:
3807         * cursor.[Ch]: some additional asserts
3808
3809         * undo.[Ch]: remove LyXText dependency in interface
3810
3811         * lyxfunc.C: adjust
3812
3813         * lyxtext.h (firstPar, lastPar): remove dead functions
3814
3815         * text.C:
3816         * text2.C:
3817         * text3.C:
3818         * paragraph.[Ch]: adjust
3819
3820 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3821
3822         * lyxfind.C (find): fix argument order in call to ::find
3823
3824 2004-02-02  André Pönitz  <poenitz@gmx.net>
3825
3826         * cursor.[Ch]: remove direct access to anchor
3827
3828         * text.C: remove findText() hack
3829
3830 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3831
3832         * iterators.[Ch] (lockPath): remove in favour of...
3833         * BufferView.[Ch] (setCursor): this addition
3834         * BufferView.C (putSelectionAt): adjust
3835         * undo.C (performUndoOrRedo): adjust
3836         * lyxfunc.C (dispatch): adjust
3837
3838 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3839
3840         * iterators.C (lockPath): add a missing slice
3841         * undo.C (performUndoOrRedo): remove redundant positioning code
3842
3843 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3844
3845         * vc-backend.C (scanMaster): ";" -> ';'
3846
3847 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3848
3849         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3850         std::binary_function
3851
3852         * lyxtextclass.C (compare_name): rename to...
3853         (LayoutNamesEqual): ...this
3854
3855         * lyxlex_pimpl.C (compare_tags): inherit from
3856         std::binary_function, put back into anon namespace
3857
3858         * lyxfind.C (MatchString): inherig from std::binary_function
3859         (findChange): use empty() istead of !size()
3860
3861         * format.C (FormatNamesEqual): new functor
3862         (getFormat): use it
3863         (getNumber): use it
3864         (add): use it
3865         (erase): use it
3866         (setViewer): use it
3867
3868         * converter.C (compare_Converter): rename to...
3869         (ConverterEqual): ...this, and fixup a bit.
3870         (getConverter): use it, and make function const
3871         (getNumber): use it, and make function const
3872         (add): use it
3873         (erase): use it:
3874
3875         * bufferlist.C: add using boost::bind
3876
3877         * MenuBackend.C (MenuNamesEqual): new functor
3878         (hasMenu): use it, and make function const
3879         (hasSubmenu): use nested bind to get rid of compare_memfun.
3880
3881 2004-01-30  André Pönitz  <poenitz@gmx.net>
3882
3883         * BufferView_pimpl.C:
3884         * cursor.C:
3885         * cursor.h:
3886         * cursor_slice.[Ch]:
3887         * lyxfunc.C:
3888         * lyxtext.h:
3889         * paragraph_funcs.C:
3890         * paragraph_funcs.h:
3891         * rowpainter.C:
3892         * text.C:
3893         * text2.C:
3894         * text3.C: move some of the edit(x,y) handling to the insets
3895         some coordinate changes.
3896
3897 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * text.C: add using statements for std::advance and std::distance
3900
3901         * paragraph.C: add using statement for std::distance
3902
3903         * lyxfind.C: add using statement for std::advance
3904
3905         * cursor.C (region): remove std:: from swap
3906         (openable): use nucleus in stead of operator->
3907
3908         * BufferView.C: add using statements for std::distance and std::swap
3909
3910 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3911
3912         * iterators.C: Remove the pimple, move the needed structures to
3913         the header file. Create accessor for the positions stack.
3914         (asPosIterator): remove function
3915
3916         * PosIterator.C (PosIterator): move constructors to top of file
3917         (PosIterator): reimplement the constructor taking a ParIterator in
3918         terms of setFrom.
3919         (setFrom): new function
3920         (operator!=): inline it
3921
3922 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3923
3924         * lyxfind.C (replaceAll): use std::advance
3925
3926         * iterators.h: inherit from std::iterator.
3927
3928         * PosIterator.C (advance, distance): remove
3929         * PosIterator.h: interit from std::iterator.
3930
3931 2004-01-26  André Pönitz  <poenitz@gmx.net>
3932
3933         * BufferView.[Ch]:
3934         * BufferView_pimpl.[Ch]:
3935         * InsetList.[Ch]:
3936         * PosIterator.[Ch]:
3937         * buffer.h:
3938         * bufferview_funcs.C:
3939         * cursor.[Ch]:
3940         * cursor_slice.h:
3941         * factory.[Ch]:
3942         * iterators.[Ch]:
3943         * lyxfind.C:
3944         * lyxfunc.C:
3945         * lyxtext.h:
3946         * output_docbook.C:
3947         * output_latex.C:
3948         * output_linuxdoc.C:
3949         * output_plaintext.C:
3950         * paragraph.[Ch]:
3951         * paragraph_funcs.[Ch]:
3952         * paragraph_pimpl.[Ch]:
3953         * rowpainter.C:
3954         * tabular.C:
3955         * tabular.h:
3956         * text.C:
3957         * text2.C:
3958         * text3.C: more IU:  dumps most of the rest of the mathcursor
3959     implementation into cursor.[Ch]; "globalize" a bit of it.
3960
3961 2004-01-25  Angus Leeming  <leeming@lyx.org>
3962
3963         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3964
3965 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3966
3967         * LaTeXFeatures.h: add nice_ and nice() const
3968         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3969
3970 2004-01-20  André Pönitz  <poenitz@gmx.net>
3971
3972         * BufferView.[Ch]:
3973         * BufferView_pimpl.C:
3974         * PosIterator.C:
3975         * bufferview_funcs.C:
3976         * cursor.[Ch]:
3977         * cursor_slice.[Ch]:
3978         * factory.C:
3979         * iterators.C:
3980         * lyx_cb.C:
3981         * lyxfind.C:
3982         * lyxfunc.C:
3983         * lyxtext.h:
3984         * rowpainter.C:
3985         * text.C:
3986         * text2.C:
3987         * text3.C:
3988         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3989           LCursor and mathcursor parts to LCursor and InsetBase.
3990
3991 2004-01-15  André Pönitz  <poenitz@gmx.net>
3992
3993         * cursor_slice.[Ch]: add a few covienience functions
3994
3995         * funcrequest.[Ch]: remove BufferView * member
3996
3997         * BufferView_pimpl.C:
3998         * cursor.C:
3999         * factory.[Ch]:
4000         * lyxfind.[Ch]:
4001         * lyxfunc.C:
4002         * lyxtext.h:
4003         * text3.C:
4004         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4005
4006 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4007
4008         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4009         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4010
4011 2004-01-13  André Pönitz  <poenitz@gmx.net>
4012
4013         * textcursor.[Ch]:
4014         * lyxtext.h: hide cursor and selection anchor behind accessor function
4015
4016         * BufferView.C:
4017         * BufferView_pimpl.[Ch]:
4018         * PosIterator.C:
4019         * bufferview_funcs.C:
4020         * cursor.h:
4021         * lyxfind.C:
4022         * lyxfunc.C:
4023         * text.C:
4024         * text2.C:
4025         * text3.C:
4026         * undo.C: adjust
4027
4028         * cursor.h:
4029         * cursor_slice.[Ch]: some integer type changes for inset unification
4030
4031         * lyxcursor.[hC]: remove, it's CursorSlice now.
4032
4033         * Makefile.am:
4034         * BufferView_pimpl.[Ch]:
4035         * bufferview_funcs.C:
4036         * cursor_slice.C:
4037         * lyxtext.h:
4038         * text.C:
4039         * text2.C:
4040         * text3.C:
4041         * textcursor.[Ch]: adjust
4042
4043 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4044
4045         * text2.C (undoSpan): add and use
4046         * text.C (breakParagraph): use undoSpan (fix bug 578)
4047         * lyxtext.h: adjust
4048
4049 2004-01-08  Angus Leeming  <leeming@lyx.org>
4050
4051         * BufferView_pimpl.C (MenuInsertLyXFile):
4052         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4053         * lyxfunc.C (menuNew, open, doImport):
4054         FileFilterList change to the FileDialog open and save functions.
4055
4056 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * ShareContainer.h: make isEqual and isUnique adaptable
4059
4060         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4061
4062 2004-01-07  Angus Leeming  <leeming@lyx.org>
4063
4064         * LyXAction.C:
4065         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4066
4067         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4068
4069         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4070         functions replacing find, replace and replaceAll.
4071
4072         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4073         LFUN_WORDFIND(FORWARD|BACKWARD).
4074
4075 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4076
4077         * text.C (breakParagraph): remove an outdated #warning
4078
4079 2004-01-07  André Pönitz  <poenitz@gmx.net>
4080
4081         * lyxfind.C: somewhat clearer logic
4082
4083         * text.C: prevent crash in cursorX on unitialized row cache
4084
4085 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4086
4087         * lyxcursor.[Ch] (operator>): add
4088         * textcursor.C (selStart, selEnd): use std::min and std::max
4089
4090 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * Chktex.C: include boost/format.hpp
4093
4094 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4095
4096         * InsetList.C: replace functor MathcIt with adaptable functor
4097         InsetTablePosLess
4098         (insetIterator): modify accordingly
4099
4100         * BranchList.h: move the BranchNamesEqual functor here from...
4101         * BranchList.C: ... to here
4102
4103         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4104         SameName and match.
4105         (add): replace a finding loop with std::find_if.
4106
4107 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4108
4109         * output_docbook.C: moving LatexParam functionality into
4110         .layout files
4111
4112 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4113
4114         * buffer.C: increment format to 229.
4115
4116 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4117
4118         * LaTeXFeatures.C:
4119         * lyx_sty.[Ch]: remove minipageindent_def
4120
4121         * LyXAction.C:
4122         * factory.C:
4123         * lfuns.h:
4124         * lyxfunc.C:
4125         * text3.C: remove LFUN_INSET_MINIPAGE
4126
4127 2003-12-28  Angus Leeming  <leeming@lyx.org>
4128
4129         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4130
4131 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4132
4133         * text2.C (setParagraph): fix off-by-one crash
4134
4135 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4136
4137         * output_docbook.C: header stuff for AGU
4138
4139 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4140
4141         * text2.C (redoCursor): remove
4142         * text.C:
4143         * text3.C:
4144         * BufferView_pimpl.C: remove calls to redoCursor and
4145         setCursor(cursor.par(), cursor.pos()) all around
4146
4147 2003-12-15  Angus Leeming  <leeming@lyx.org>
4148
4149         * buffer.C: up the format to 228.
4150
4151 2003-12-15  André Pönitz  <poenitz@gmx.net>
4152
4153         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4154         slices
4155
4156         * Makefile.am:
4157
4158         * BufferView_pimpl.C:
4159         * cursor.[Ch]:
4160         * lyxcursor.[Ch]:
4161         * rowpainter.[Ch]:
4162         * lyxtext.h:
4163         * text.C:
4164         * text2.C:
4165         * text3.C: adjust
4166
4167 2003-12-15  Angus Leeming  <leeming@lyx.org>
4168
4169         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4170         than getFromGUIName to manipulate the color.
4171
4172 2003-12-14  Angus Leeming  <leeming@lyx.org>
4173
4174         * BranchList.[Ch]: minimize the API.
4175         (Branch::getBranch, getColor): now return a 'const &'.
4176         (Branch::setSelected) now returns a bool set to true if the
4177         selection status changes.
4178         (BranchList::clear, size, getColor, setColor, setSelected,
4179         allBranches, allSelected, separator): removed.
4180         (BranchList::find): new functions, returning the Branch with
4181         the given name.
4182         (BranchList::add, remove): return a bool indicating that
4183         the operation was successful.
4184
4185         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4186         new InsetBranch::isBranchSlected member function.
4187
4188         * LColor.[Ch]: mimimize the API.
4189         (fill): renamed as addColor and made private.
4190         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4191         versions of these functions taking a string arg have been removed.
4192
4193         * bufferparams.C (readToken):
4194         * lyxfunc.C (dispatch):
4195         * lyxrc.C (read): changes due to the altered BranchList and
4196         LColor APIs.
4197
4198         * factory.C (createInset, readInset): changes due to altered
4199         InsetBranch c-tor.
4200
4201 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4202
4203         * factory.C:
4204         * lyxfunc.C: remove insetminipage. "minipage-insert"
4205         now produces a frameless minipage box inset.
4206
4207 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4208
4209         * textcursor.[Ch] (selStart,selEnd): add new methods
4210         remove selection::start, end, use LyXCursor::operator<
4211         * lyxcursor.[Ch] (operator<): add
4212         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4213         * BufferView.[Ch] (unsetXSel): add
4214         * text2.C (clearSelection): use unsetXSel,adjust
4215         * text.C: adjust
4216         * text3.C: adjust
4217         * rowpainter.C: adjust
4218         * bufferview_funcs.C (put_selection_at): adjust
4219
4220 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4221
4222         * BufferView_pimpl.C: small coord. correction
4223
4224 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4225
4226         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4227         dragging over the splash screen.
4228
4229 2003-12-11  Angus Leeming  <leeming@lyx.org>
4230
4231         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4232         as it is now handled in LyXText::dispatch.
4233
4234         * text3.C (doInsertInset): remove a level of nesting.
4235
4236 2003-12-11  Angus Leeming  <leeming@lyx.org>
4237
4238         * factory.C (createInset): changes due to the changed interface to
4239         InsetCommandMailer::string2params.
4240
4241 2003-12-10  Angus Leeming  <leeming@lyx.org>
4242
4243         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4244         'dialog-show-new-inset <inset name>'
4245
4246 2003-12-10  Angus Leeming  <leeming@lyx.org>
4247
4248         * buffer.C: up the format to 227.
4249
4250         * factory.C: the box inset is now identified simply by 'Box'.
4251
4252 2003-12-10  Angus Leeming  <leeming@lyx.org>
4253
4254         * buffer.C: up the format to 226.
4255
4256         * factory.C: the note inset is now identified simply by 'Note'.
4257
4258 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4259
4260         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4261         when a pit is enough. Standarize a couple of loops.
4262
4263 2003-12-05  Angus Leeming  <leeming@lyx.org>
4264
4265         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4266         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4267         data to the re-worked "log" dialog.
4268
4269 2003-12-03  André Pönitz  <poenitz@gmx.net>
4270
4271         * PosIterator.C:
4272         * iterators.C:
4273         * lyxtext.h:
4274         * output_latex.C:
4275         * paragraph_funcs.C:
4276         * text.C:
4277         * text2.C: use Inset::getText instead of Inset::getParagraph
4278
4279 2003-12-03  André Pönitz  <poenitz@gmx.net>
4280
4281         * buffer.[Ch]:
4282         * lyxtext.h:
4283         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4284         InsetText::read() as LyXText::read()
4285
4286 2003-12-02  Angus Leeming  <leeming@lyx.org>
4287
4288         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4289         type. Add a comment in the implementation that the function uses
4290         the stream's bad() function rather than fail() as the std::streams
4291         would do.
4292
4293 2003-12-02  André Pönitz  <poenitz@gmx.net>
4294
4295         * lyxlex.[Ch]: make interface more similar to std::stream
4296
4297         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4298
4299 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4300
4301         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4302
4303 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4304
4305         * vspace.[Ch]: remove VSpace::NONE
4306
4307 2003-12-01  André Pönitz  <poenitz@gmx.net>
4308
4309         * buffer.[Ch]:
4310         * lyxtext.h: move ParagraphList member to LyXText
4311         rename LyXText::ownerParagraphs to LyXText::paragraph
4312
4313         * CutAndPaste.C:
4314         * bufferview_funcs.C:
4315         * iterators.[Ch]:
4316         * lyx_cb.C:
4317         * paragraph.C:
4318         * rowpainter.C:
4319         * tabular.C:
4320         * text.C:
4321         * text2.C:
4322         * text3.C: adjust
4323
4324         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4325
4326         * undo.C: fix cursor positioning
4327
4328 2003-12-01  John Levon  <levon@movementarian.org>
4329
4330         * BufferView_pimpl.C: fix a crash on exit with
4331         a buffer open
4332
4333 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4334
4335         * BranchList.C: fix setSelected() method.
4336
4337 2003-11-28  André Pönitz  <poenitz@gmx.net>
4338
4339         * ParagraphParameters.[Ch]:
4340         * ParameterStruct.h: remove space above/below from Paragraph to
4341          InsetVSpace
4342
4343         * BufferView_pimpl.C:
4344         * factory.C:
4345         * lyxfunc.C:
4346         * lyxtext.h:
4347         * output_latex.C:
4348         * paragraph.C:
4349         * paragraph_funcs.C:
4350         * rowpainter.[Ch]:
4351         * text.C:
4352         * text2.C:
4353         * text3.C: adjust
4354
4355 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4356
4357         * factory.C: Syntax change for CharStyles
4358
4359 2003-11-28  André Pönitz  <poenitz@gmx.net>
4360
4361         * BufferView.[Ch]:
4362         * BufferView.[Ch]:
4363         * buffer.[Ch]:
4364         * buffer.[Ch]: move LyXText member
4365
4366 2003-11-28  André Pönitz  <poenitz@gmx.net>
4367
4368         * BufferView.[Ch]: make LyXText * text a private member
4369
4370         * BufferView_pimpl.C:
4371         * cursor.C:
4372         * iterators.C:
4373         * lyx_cb.C:
4374         * lyxfind.C:
4375         * lyxtext.h:
4376         * rowpainter.[Ch]:
4377         * text.C:
4378         * text2.C:
4379         * undo.C: adjust
4380
4381         * output_plaintext.C: cleanup
4382
4383 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4384
4385         * buffer.C:
4386         * lyxtextclass.[Ch]: parametrize SGML document header
4387
4388 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4389
4390         * converter.[Ch]:
4391         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4392         getFlavor().
4393
4394 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4395
4396         * text2.C (setFont): rework using PosIterator (no more recursive)
4397         (setCharFont): no more needed
4398         (setLayout): no more selection cursors fiddling (done by redoCursor)
4399         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4400         destroy remaining ones)
4401
4402 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4403
4404         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4405         * lyxtext.h: ditto
4406         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4407         selection cursors
4408         * lyxfunc.C: adjust
4409         * text3.C: adjust + re-allow multi par depth changes
4410         * textcursor.C: simplify a bit
4411
4412 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4413
4414         * src/buffer.C:
4415         * src/lyxlayout.C:
4416         * src/lyxlayout.h:
4417         * src/lyxtext.h:
4418         * src/output_docbook.C:
4419         * src/output_latex.C:
4420         * src/paragraph.C:
4421         * src/paragraph.h:
4422         * src/sgml.C:
4423         * src/sgml.h:
4424         * src/text2.C: Introducing a number of tags parametrizing various
4425         XML formats that we may want to support
4426
4427 2003-11-25  André Pönitz  <poenitz@gmx.net>
4428
4429         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4430
4431         * lyxtext.h (leftMargin/rightMargin): simplify interface
4432
4433         * rowpainter.C:
4434         * text.C:
4435         * text2.C:
4436         * text3.C: adjust
4437
4438 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4439
4440         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4441         master file to any child files. Fixes bug 546.
4442
4443 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4444
4445         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4446
4447 2003-11-24  André Pönitz  <poenitz@gmx.net>
4448
4449         * rowpainter.C: simplification
4450
4451         * text2.C (updateCounters): remove call to redoParagraph on
4452         changed labels as this is far too expensive.
4453
4454 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4455
4456         * converter.C (convert): fix a crash: this function gets
4457         called with buffer == 0 from importer code.
4458
4459 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * text3.C (cursorPrevious): make sure that we do not compare
4462         iterators form different containers.
4463         (cursorNext): ditto
4464
4465         * rowpainter.C (paintSelection): make sure that we do not compare
4466         iterators from different containers.
4467
4468         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4469         iterators from different ParagraphList containers.
4470         [NEXT] ditto
4471
4472         * text2.C (LyXText): change order of initialization slightly
4473         (operator=): new function. copy all variables except cache_par_
4474         (moveUp): make sure that we do not compare iterators from
4475         different ParagraphList constainers.
4476         (moveDown): ditto
4477
4478         * text.C (firstPar): new function
4479         (lastPar): new function
4480         (endPar): new function
4481
4482         * lyxtext.h: move things around and group public functions, public
4483         variables, private functions, private variables
4484
4485 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4486
4487         * factory.C: change call to InsetERT constructor to avoid
4488         additional invocation of method status
4489         * text2.C (toggleInset): remove redundant update() call
4490         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4491         instead of a Bufferview pointer
4492
4493 2003-11-21  André Pönitz  <poenitz@gmx.net>
4494
4495         * rowpainter.C: simplification
4496
4497 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4498
4499         * text3.C (dispatch): make possible to extend a word/row selection
4500         with the mouse
4501
4502 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4503
4504         * lyxtext.h: x0_,y0_ -> xo_,yo_
4505         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4506         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4507         * rowpainter.C (paintRows): paint full paragraphs
4508
4509 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4510
4511         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4512         screen coordinates)
4513
4514 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4515
4516         * lyxtext.h: add x0_, y0_
4517         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4518         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4519
4520 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4521
4522         * text2.C (setCursorIntern): move the x_target update here *
4523         * text3.C: change some bv() to true/false in calls to
4524         cursorUp/Down/Right/Left
4525         * cursor.C: use helper function.
4526
4527 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4528
4529         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4530         * paragraph_funcs.[Ch]: correct comment
4531         * rowpainter.C: do not paint selections away from bv->cursor()
4532         Fix a long standing selection painting bug.
4533         * text3.C: generalize mouse-selection code to LyXTexts other that
4534         top one
4535         * textcursor.C: do not use y coords if we can use par offsets
4536
4537 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4538
4539         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4540         cursor position after e.g. inset insert)
4541
4542 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4543
4544         * lyxfind.C (replace): adjust to locking removal + some
4545         code simplification
4546
4547 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4548
4549         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4550         of the path
4551
4552 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4553
4554         * lyxlayout.[Ch]:
4555         * output_docbook.C: XML sanitation: new layout
4556         parameters InnerTag and CommandDepth
4557
4558 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4559
4560         * BufferView_pimpl.C:
4561         * factory.C:
4562         * text3.C: Fix the insertion and modification of button-style
4563         insets
4564
4565 2003-11-13  André Pönitz  <poenitz@gmx.net>
4566
4567         * InsetList.[Ch]: remove deleteLyXText
4568
4569         * paragraph.[Ch]: cache beginOfBody position
4570
4571         * Bidi.C:
4572         * text.C:
4573         * text2.C:
4574         * text3.C: remove superfluous update() calls
4575
4576         * vspace.C: cleanup
4577
4578 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4579
4580         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4581         * BufferView.C (fitLockedInsetCursor): remove
4582         * cursor.[Ch] (getDim): add
4583         * text.C (getRowNearY): add faster version
4584         * text3.C: remove some update calls
4585
4586 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4587
4588         * LaTeXFeatures.C:
4589         * LyXAction.C:
4590         * MenuBackend.C:
4591         * MenuBackend.h:
4592         * dispatchresult.h:
4593         * factory.C:
4594         * lfuns.h:
4595         * lyxfunc.C:
4596         * lyxtextclass.C:
4597         * lyxtextclass.h:
4598         * text3.C: The Character Style /XML short element patch.
4599
4600 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4601
4602         * text3.C:
4603         * factory.C: Small step to solving 'unable to insert some insets'
4604         problem
4605
4606 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4607
4608         * cursor.[Ch] (updatePos): new function for updating the y
4609         position of the tip inset
4610         * bufferview_funcs.C (put_selection_at):
4611         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4612
4613 2003-11-11  André Pönitz  <poenitz@gmx.net>
4614
4615         * text.C: remove big comment on invalid Paragraph pointers as it is
4616         not valid anymore
4617
4618 2003-11-11  André Pönitz  <poenitz@gmx.net>
4619
4620         * text_funcs.[Ch]: merge with ...
4621
4622         * text.C: ... this
4623
4624         * lyxtext.h:
4625         * text2.C:
4626         * text3.C: adjust
4627
4628         * Makefile.am: remove text_funcs.[Ch]
4629
4630 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * cursor.C (getPos): return absolute cached y coord
4633
4634         * BufferView_pimpl.C (fitCursor): new simplistic code
4635         (workAreaDispatch): add a fitCursor call
4636
4637 2003-11-10  André Pönitz  <poenitz@gmx.net>
4638
4639         * BufferView.[Ch]:
4640         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4641
4642 2003-11-10  André Pönitz  <poenitz@gmx.net>
4643
4644         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4645         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4646         indicate that the cursor needs to leave an inset
4647
4648         * lyxtext.h: remove inset locking
4649
4650         * cursor.[Ch]: re-implement functionality provided by inset locking
4651
4652         * BufferView.[Ch]:
4653         * BufferView_pimpl.[Ch]:
4654         * LyXAction.C:
4655         * bufferview_funcs.[Ch]:
4656         * factory.C:
4657         * funcrequest.[Ch]:
4658         * iterators.C:
4659         * lyx_cb.C:
4660         * lyxfind.C:
4661         * lyxfunc.C:
4662         * text.C:
4663         * text2.C:
4664         * text3.C:
4665         * undo.C: adjust
4666
4667 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4668
4669         * PosIterator.[Ch]: replace the stack with a vector, add inset
4670         accesor
4671         * iterators.[C]: adjust
4672
4673 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4674
4675         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4676         replaced
4677         * paragraph_funcs.C (readParToken): put the correct id in the
4678         error item, not the id of the top paragraph
4679
4680 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4681
4682         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4683         * bufferview_funcs.C (put_selection_at): use the above
4684
4685 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4686
4687         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4688
4689 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4690
4691         * output_linuxdoc.h:
4692         * output_plaintext.h:
4693         * output.h:
4694         * output_docbook.h: add #include statements
4695
4696 2003-11-05  José Matos  <jamatos@lyx.org>
4697
4698         * output_docbook.[Ch]:
4699         * output_latex.[Ch]:
4700         * output_linuxdoc.[Ch]:
4701         * output_plaintext.[Ch]: New files for output formats.
4702         * output.[Ch]: New file for helper functions.
4703
4704         * buffer.[Ch]:
4705         * paragraph_funcs.[Ch]: output functions moved to new files.
4706
4707         * outputparams.h: rename of latexrunparams.h
4708
4709         * LaTeX.[Ch]:
4710         * buffer.[Ch]:
4711         * bufferlist.[Ch]:
4712         * converter.[Ch]:
4713         * exporter.C:
4714         * paragraph.[Ch]:
4715         * paragraph_funcs.[Ch]:
4716         * paragraph_pimpl.[Ch]:
4717         * tabular.[Ch]: rename ascii to plaintext
4718         and LatexRunParams to OutputParams.
4719
4720 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * iterators.[Ch] (text): require bv argument
4723         * undo.C (recordUndo):
4724         * lyxfunc.C (dispatch):
4725         * bufferview_funcs.C (put_selection_at): adjust
4726
4727 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4728
4729         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4730
4731 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4732
4733         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4734         nestings
4735
4736 2003-11-04  André Pönitz  <poenitz@gmx.net>
4737
4738         * cursor.[Ch]: restructure
4739
4740         * BufferView.[Ch]:
4741         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4742
4743         * iterators.[Ch] (asCursor): remove
4744
4745         * lfuns.h: remove LFUN_INSET_EDIT
4746
4747         * lyxfunc.C:
4748         * tabular.C:
4749         * text.C:
4750         * text2.C:
4751         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4752
4753 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4754
4755         * lyxfind.[Ch]: complete overhaul
4756         * BufferView_pimpl.C:
4757         * lyxfunc.C: adjust
4758         * paragraph.[Ch] (insert): add
4759
4760 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4761
4762         * BufferView.[Ch]:
4763         * lyxtext.h:
4764         * text.C: remove dead spellcheck code
4765
4766 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4767
4768         * dispatchresult.h: add a val setter
4769
4770         * cursor.C (dispatch): use a tempvar for data_[i]
4771
4772 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4773
4774         * PosIterator.[Ch]: compile fix
4775
4776 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4777
4778         * text.C (cursorPar): deactivate the cursor cache
4779
4780 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4781
4782         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4783
4784 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4785
4786         * text3.C (dispatch): adjust for new DisptchResult semantics.
4787
4788         * lyxfunc.C (dispatch): handle update when return from
4789         Cursor::dispatch, adjust for new DispatchResult semantics.
4790
4791         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4792         DispatchResult(true) mean to not update. Add class functions for
4793         setting dispatched and update, as well as reading.
4794
4795         * cursor.C (dispatch): don't handle update here
4796
4797 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4800         * trans_mgr.C: adjust
4801
4802         * paragraph_funcs.C (readParToken): exception safety
4803
4804         * lyxvc.h: store the vcs pointer in a scoped_ptr
4805         * lyxvc.C: adjust
4806
4807         * lyxsocket.C (serverCallback): exception safety
4808
4809         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4810
4811         * ispell.C (clone): make it return a auto_ptr
4812
4813         * factory.C (createInset): exception safety
4814         (readInset): exception safety
4815
4816         * bufferlist.C (newBuffer): exception safety
4817
4818         * Thesaurus.C (Thesaurus): use initialization for aik_
4819
4820         * MenuBackend.C (expandToc): exception safety.
4821
4822 2003-11-03  André Pönitz  <poenitz@gmx.net>
4823
4824         * buffer.C:
4825         * buffer.h:
4826         * bufferview_funcs.C: remove getInsetFromId()
4827
4828         * lyxcursor.[Ch]:
4829         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4830
4831         * lyxfunc.C:
4832         * text2.C:
4833         * text3.C: adjust
4834
4835 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4836
4837         * PosIterator.C (distance, advance): new
4838         * bufferview_funcs.[Ch] (put_selection_at): new
4839         * iterators.[Ch] (lockPath): new
4840
4841 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4842
4843         * iterators.[Ch] (asPosIterator): added
4844         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4845         * PosIterator.[Ch]: added
4846
4847 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4848
4849         * text3.C:
4850         * lyxfunc.C:
4851         * cursor.C (dispatch):
4852         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4853
4854         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4855         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4856         contructor, add a class function dispatched. Remove operator>=
4857
4858 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4859
4860         * debug.C: only use the default constructor for debugstream
4861         (lyxerr) here.
4862
4863         * main.C (main): include debug.h and setup the lyxerr streambuf
4864         here.
4865
4866 2003-10-31  José Matos  <jamatos@lyx.org>
4867
4868         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4869
4870         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4871         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4872         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4873         * paragraph_pimpl.C (simpleTeXSpecialC):
4874         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4875         add LatexRunParams argument.
4876
4877         * exporter.C (Export): change call accordingly.
4878
4879         * latexrunparams.h: add new member to take care of the other backends.
4880 2003-10-30  José Matos  <jamatos@lyx.org>
4881
4882         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4883         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4884         factorise code for paragraph output.
4885         * buffer.[Ch]:
4886         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4887         move functions.
4888
4889 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * text3.C (dispatch):
4892         * lyxfunc.C (dispatch):
4893         * cursor.C (dispatch):
4894         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4895
4896         * dispatchresult.h: make the dispatch_result_t ctor explicit
4897
4898 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4899
4900         * sgml.[Ch]:
4901         * buffer.C: small refactoring of docbook stuff
4902
4903 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4906         meaning.
4907
4908 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4909
4910         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4911         operator dispatch_result_t, and operators for == != and >=
4912
4913         * cursor.C (dispatch): adjust for operator dispatch_result_t
4914         removal. comment out call to update
4915
4916         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4917
4918 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4919
4920         * text3.C:
4921         * text2.C:
4922         * text.C:
4923         * lyxtext.h:
4924         * lyxfunc.C:
4925         * cursor.C:
4926         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4927         (dispatch):
4928
4929         * dispatchresult.h: new file, DispatchResult broken out of
4930         insets/insetbase.h
4931
4932         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4933
4934 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * text.C (rowBreakPoint): put a hack inside #if 0
4937
4938 2003-10-28  André Pönitz  <poenitz@gmx.net>
4939
4940         * lyxtext.h:
4941         * metricsinfo.C:
4942         * paragraph_funcs.C:
4943         * rowpainter.C:
4944         * text.C:
4945         * text2.C: general cleanup (lots of small stuff)
4946
4947 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4948
4949         * text2.C (cursorEnd): simple fix to the "end key goes to one
4950         before the end on last row" bug
4951
4952 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4953
4954         * text.C (backspace): fix the "zombie characters"
4955
4956 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4957
4958         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4959
4960 2003-10-27  André Pönitz  <poenitz@gmx.net>
4961
4962         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4963
4964         * factory.C: handle new InsetPagebreak, InsetLine
4965
4966         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4967         and move handling into new InsetPagebreak, InsetLine
4968
4969         * BufferView_pimpl.C:
4970         * LyXAction.C:
4971         * ParagraphParameters.C:
4972         * ParameterStruct.h:
4973         * lyxfunc.C:
4974         * lyxtext.h:
4975         * paragraph.C:
4976         * paragraph.h:
4977         * paragraph_funcs.C:
4978         * paragraph_pimpl.C:
4979         * rowpainter.C:
4980         * text.C:
4981         * text2.C:
4982         * text3.C: adjust
4983
4984 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4985
4986         * text.C:
4987         * lyxrow_funcs.[Ch]:
4988         * Bidi.C:
4989         * paragraph.C:
4990         * lyxtext.h:
4991         * rowpainter.C:
4992         * text2.C:
4993         * text3.C: remove lastPos uses in favour of Row::endpos
4994
4995 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4996
4997         * undo.C (performUndoOrRedo): fix two crashes by setting a
4998         cursor by hand and reordering some calls. Use bv->lockInset instead
4999         of inset->edit because the latter loses cursor information
5000
5001 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5002
5003         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5004         by Martin
5005         (rowBreakPoint): fix width. change point to point + 1.
5006         Add a missing check.
5007
5008 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5009
5010         * MenuBackend.C:
5011         * lyxfunc.C: fix (at least partly) the problems
5012         with the Nav menu and headers inside branch insets
5013         reported by Kayvan
5014
5015 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5016
5017         * paragraph.C (getChar): add strong asserts
5018
5019         * lyxrow_funcs.C (lastPos): remove hideous hack
5020
5021         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5022         (fill): adjust to that (avoid an infinite loop)
5023
5024 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5025
5026         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5027
5028 2003-10-23  André Pönitz  <poenitz@gmx.net>
5029
5030         * RowList_fwd.h: change list<> to vector<> to gain speed
5031         after suggestion from Alfredo
5032
5033 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5034
5035         * lyxtext.h: move the bidi stuff from here...
5036         * text.C: and here
5037         * text2.C: and here
5038         * Bidi.[Ch]: ... to here
5039
5040 2003-10-23  André Pönitz  <poenitz@gmx.net>
5041
5042         * lyxtext.h:
5043         * text.C (isLastRow, isFirstRow): new functions
5044
5045         * paragraph.h: new width cache member
5046
5047         * rowpainter.C: replace RowList::iterator with Row & where possible
5048
5049         * lyxfunc.C: replace several view()->text with a single call
5050
5051         * toc.C: fix 'unused' warning
5052
5053 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5056         when woring with stream::pos_type
5057         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5058
5059 2003-10-22  André Pönitz  <poenitz@gmx.net>
5060
5061         * lyxtext.h:
5062         * text.C: use Row & instead of RowList::iterator
5063
5064         * lyxrow.h: rename end() to endpos()
5065
5066         * rowpainter.C:
5067         * text.C:
5068         * text2.C: adjust
5069
5070 2003-10-22  Angus Leeming  <leeming@lyx.org>
5071
5072         * buffer.[Ch] (fully_loaded): new member function, returning true
5073         only when the file has been loaded fully.
5074         Used to prevent the premature generation of previews and by the
5075         citation inset to prevent computation of the natbib-style label.
5076
5077         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5078         templates are all set up.
5079
5080         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5081
5082 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5083
5084         * text.C: fixed an "oops" in the "is a bit silly"
5085         bug fix
5086
5087 2003-10-21  André Pönitz  <poenitz@gmx.net>
5088
5089         * FuncStatus.[Ch]: small stuff, whitespace
5090
5091         * lyxfont.[Ch]: operator<<() for debug reasons
5092
5093         * lyxfunc.C:
5094         * lyxrow_funcs.C:
5095         * lyxtext.h: whitespace, spelling
5096
5097         * paragraph.C: naming of variables
5098
5099         * text.C:
5100         * text2.C: small stuff
5101
5102
5103 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5104
5105         * text.C: (1) finish off the inset display() work;
5106         (2) fix the "is a bit silly" bug (accessing char
5107         past end of par).
5108
5109 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5110
5111         * text.C: re-introduce display() for insets, fixing the
5112         various bugs (stretch of line above, math inset
5113         positioning, ...)
5114
5115 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5116
5117         * text.C (rightMargin): remove spurious semicolon
5118
5119         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5120         1415)
5121
5122 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5123
5124         * text3.C: fix one crash due to wrong cursor def
5125
5126 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5127
5128         * vc-backend.C (scanMaster): make the regex static
5129
5130         * LaTeX.C (scanAuxFile): make the regexs static
5131
5132         * text3.C (doInsertInset, dispatch, dispatch):
5133         * text2.C (cursorUp, cursorDown):
5134         * text.C (selectNextWordToSpellcheck):
5135         * BufferView_pimpl.C (dispatch):
5136         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5137
5138 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5139
5140         * lyxsocket.C: include <cerrno>
5141
5142 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * lyxfunc.C (dispatch): remove textcache stuff
5145
5146         * bufferlist.C (release): remove textcache stuff
5147         (closeAll): ditto
5148
5149         * TextCache.C: delete file
5150         * TextCache.h: delete file
5151
5152         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5153
5154         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5155         delete of the bv_->text.
5156         (resizeCurrentBuffer): remove texcache stuff
5157         (workAreaResize): ditto
5158
5159 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5160
5161         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5162         action.
5163
5164 2003-10-16  André Pönitz  <poenitz@gmx.net>
5165
5166         * lyxrow.[Ch]:
5167         * paragraph.h:
5168         * rowpainter.C:
5169         * text.C:
5170         * text2.C:
5171         * text3.C: speed up by storing y positions per paragraph plus per-row
5172         offset instead of having a 'full' y position in the row.
5173
5174 2003-10-15  André Pönitz  <poenitz@gmx.net>
5175
5176         * iterators.[Ch]:
5177         * iterators.[Ch]:
5178         * undo.[Ch]: make undo aware of inner insets
5179
5180 2003-10-14  Angus Leeming  <leeming@lyx.org>
5181
5182         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5183         static member functions LyX::ref() and LyX::cref.
5184         (lastfiles): new accessor functions for the new lastfiles_ member var.
5185         (addLyXView, views_): add a new LyXView to the list of views_.
5186         (updateInset): loop over all LyXViews to call their own updateInset
5187         member function, returning a pointer to the Buffer owning the inset.
5188
5189         * BufferView_pimpl.C (loadLyXFile):
5190         * MenuBackend.C (expandLastfiles):
5191         * bufferlist.C (MenuWrite, QuitLyX):
5192         lastfiles is no longer a global variable.
5193         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5194
5195         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5196         static function. Access through LyX::cref().emergencyCleanup().
5197
5198 2003-10-14  André Pönitz  <poenitz@gmx.net>
5199
5200         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5201
5202         * undo.[Ch]: restoring part of 'undo in insets'
5203
5204         * Makefile.am:
5205         * undo_funcs.[Ch]: merge with undo.[Ch]
5206
5207         * tabular.C: small cleansing stuff
5208
5209 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5210
5211         * paragraph_funcs.C (readParToken): report unknown insets as error
5212         boxes. Use the outer paragraph as location (also for unknown
5213         tokens).
5214
5215         * factory.C (readInset): do not abort on reading an unknown inset.
5216         Eat it and return 0.
5217
5218 2003-10-13  Angus Leeming  <leeming@lyx.org>
5219
5220         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5221
5222         * lyxrc.C: displayTranslator is now a function,
5223         declared in GraphicsTypes.h.
5224
5225 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5226
5227         * format.C: new placeholder $$a to pass the socket address.
5228
5229         * bufferlist.[Ch]: new function getBufferFromTmp.
5230
5231         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5232           files in the temporary dir.
5233
5234 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5235
5236         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5237
5238         * Makefile.am: add lyxsocket.[Ch].
5239
5240         * lyx_main.C (error_handler): handle SIGPIPE.
5241
5242 2003-10-13  André Pönitz  <poenitz@gmx.net>
5243
5244         * BufferView_pimpl.C:
5245         * lyxtext.h:
5246         * text.C:
5247         * text2.C:
5248         * text3.C:
5249         * undo_funcs.[Ch]: use paroffset_type instead of
5250           ParagraphList::iterators to prevent multiple conversion
5251           (and get a more robust interface)
5252
5253 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5256         * lyxtext.h: ditto
5257         * text3.C (dispatch): ditto
5258
5259 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5262         move the onlyfile, use onlyfile instead of foundfile in a couple
5263         of places.
5264
5265         * DepTable.C (update): flush the error stream a bit more
5266
5267 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * lyxserver.C (callback): adjust
5270
5271         * lyxfunc.C (getStatus): add a missing brace in commented code
5272         (ensureBufferClean): reindent
5273         (dispatch): delete version taking a string
5274
5275 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * LaTeX.C (deplog): move found file handlig from here...
5278         (handleFoundFile): .. to new function here.
5279         (deplog): make sure to discover several files mentioned on the
5280         same log line.
5281
5282 2003-10-10  André Pönitz  <poenitz@gmx.net>
5283
5284         * lyxfunc.C:
5285         * lyxtext.h:
5286         * tabular.C:
5287         * text.C:
5288         * text2.C:
5289         * text3.C: fix some of the tabular crashes
5290
5291 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5292
5293         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5294
5295         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5296
5297 2003-10-09  André Pönitz  <poenitz@gmx.net>
5298
5299         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5300
5301         * BufferView.C:
5302         * BufferView_pimpl.C:
5303         * bufferview_funcs.C:
5304         * lyx_cb.C:
5305         * lyxcursor.C:
5306         * lyxfind.C:
5307         * lyxfunc.C:
5308         * lyxtext.h:
5309         * text.C:
5310         * text2.C:
5311         * text3.C:
5312         * text_funcs.[Ch]:
5313         * textcursor.[Ch]:
5314         * undo_funcs.C: adjust
5315
5316 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * text2.C (incrementItemDepth): new function, use a backtracking
5319         algorithm to discover the correct item depth.
5320         (resetEnumCounterIfNeeded): new function, use a backtracking
5321         algorithm to discover if counter reset is needed.
5322         (setCounter): use them. Simplify a bit. Add different labels for
5323         different item depths for itemize.
5324
5325         * paragraph.C (Paragraph): remove initialization of enumdepth
5326         (operator=): ditto
5327
5328         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5329         enumerate and itemize. Change the type of itemdepth to signed char.
5330
5331 2003-10-08  André Pönitz  <poenitz@gmx.net>
5332
5333         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5334           thing assignable.
5335         * text.C:
5336         * text2.C: adjust
5337
5338         * tabular.[Ch]: fix crash after 'row-insert'
5339
5340 2003-10-08  Angus Leeming  <leeming@lyx.org>
5341
5342         Fix doxygen warnings.
5343
5344         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5345         Remove CutAndPaste:: prefix from header file declaration.
5346
5347         * LColor.h (fill): remove LColor:: prefix from declaration.
5348
5349         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5350         use lyx::depth_type rather than Paragraph::depth_type so that
5351         header file and .C file match.
5352
5353         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5354
5355         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5356         * aspell.C: \file aspell_local.C -> \file aspell.C
5357         * gettext.C: \file gettext.C -> \file src/gettext.C
5358         * gettext.h: \file gettext.h -> \file src/gettext.h
5359         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5360         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5361         * text.C: \file text.C -> \file src/text.C
5362
5363         * toc.C: move comment so that doxygen is not confused.
5364
5365 2003-10-07  Angus Leeming  <leeming@lyx.org>
5366
5367         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5368
5369 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5370
5371         * aspell.C:
5372         * aspell_local.h: add forgotten std::string's.
5373
5374 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5375
5376         * LaTeXFeatures.C:
5377         * LyXAction.C:
5378         * factory.C:
5379         * lfuns.h:
5380         * lyxfunc.C:
5381         * text3.C: The Box patch. Fancybox support, minipage, parbox
5382
5383 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5384
5385         * CutAndPaste.h:
5386         * DepTable.h:
5387         * FloatList.h:
5388         * LaTeXFeatures.h:
5389         * ParagraphParameters.h:
5390         * TextCache.h:
5391         * Thesaurus.h:
5392         * bufferlist.h:
5393         * exporter.h:
5394         * importer.h:
5395         * lastfiles.h:
5396         * lyxfind.h:
5397         * lyxfont.h:
5398         * lyxlex.h:
5399         * lyxtextclasslist.h:
5400         * messages.h:
5401         * paragraph.h:
5402         * paragraph_pimpl.C:
5403         * textcursor.h: add <string> and other small fixes to make Lars'
5404         std::string patch compile with STLport.
5405
5406 2003-10-06  Angus Leeming  <leeming@lyx.org>
5407
5408         * LColor.h: Add missing #include <string>.
5409
5410 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5411
5412         * All most all file in all subdirs: Make <string> be the prefered
5413         way of getting to std::string, add using declarations.
5414
5415 2003-10-06  André Pönitz  <poenitz@gmx.net>
5416
5417         * metricsinfo.C: initialize LyXFont before changing attribute.
5418         (fixes the 'math in \emph is upright' bug)
5419
5420 2003-10-06  André Pönitz  <poenitz@gmx.net>
5421
5422         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5423
5424 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5425
5426         * graph.C:
5427         * paragraph_pimpl.C: Small fixes to build using STLport
5428
5429 2003-10-02  André Pönitz  <poenitz@gmx.net>
5430
5431         * lyxfunc.C:
5432         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5433
5434 2003-10-01  André Pönitz  <poenitz@gmx.net>
5435
5436         * factory.C: assert early
5437
5438 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * lyx_main.C: remove the global debug object
5441
5442         * debug.h: adjust for new debugstream
5443
5444         * debug.C: adjust for new debugstream and keep the global debug
5445         object here.
5446
5447 2003-09-22  Angus Leeming  <leeming@lyx.org>
5448
5449         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5450         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5451         an incomplete class LyXFont.
5452
5453 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5454
5455         * factory.C: bug fix in branches
5456
5457 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * lyxfunc.C (processKeySym): adjust
5460         (dispatch): adjust
5461         (dispatch): change arg name from ev to func, adjust
5462         (sendDispatchMessage): ditto
5463
5464         * lyx_main.C (defaultKeyBindings): adjust keybindings
5465         (deadKeyBindings): ditto
5466
5467         * kbsequence.C (addkey): return a FuncRequest
5468
5469         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5470
5471         * kbmap.C (bind): take a FuncRequest as arg, adjust
5472         (read): adjust
5473         (lookup): adjust
5474         (defkey): change to take a FuncRequest as arg, adjust
5475         (findbinding): take a FuncRequest as arg, adjust.
5476
5477         * funcrequest.h (operator=): added
5478
5479         * funcrequest.C (FuncRequest): default kb_action changed from
5480         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5481
5482         * buffer.C (dispatch): simplify
5483         (dispatch): adjust to take a FuncRequest as arg, adjust
5484
5485         * boost.C (assertion_failed): change assertion message slightly
5486
5487         * ToolbarBackend.C (read): simplify
5488
5489         * MenuBackend.C (binding): adjust call to findbinding, add a
5490         message if no binding is found.
5491         (read): simplify
5492         (expandToc): correct by adding a empty FuncRequest
5493
5494         * LyXAction.C: include <boost/assert.hpp>
5495         (isPseudoAction): delete function
5496         (LookupFunc): change name to...
5497         (lookupFunc): this. change return type to FuncRequest.
5498         (getActionName): take kb_action as arg, simplify
5499         (funcHasFlag): add an assert, simplify.
5500
5501 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5502
5503         * toc.C (action): return a FuncRequest, simplify
5504
5505         * lyxfunc.C (processKeySym): adjust
5506         (getStatus): delete version that takes an int.
5507         (getStatus): adjust
5508         (dispatch): delete version that takes action as int
5509         (dispatch): adjust
5510         (sendDispatchMessage): simplify and adjust
5511
5512         * funcrequest.C (getArg): take unsigned int as arg
5513
5514         * ToolbarBackend.C (read): adjust
5515         (add): delete version that takes func as a string.
5516         (getIton): take a FuncRequest as arg
5517
5518         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5519         action.
5520
5521         * MenuBackend.C (MenuItem): add a new construct that only takes a
5522         Kind, simplify the constructor use for submenus.
5523         (add): adjust
5524         (expandLastfiles): adjust
5525         (expandDocuments): adjust
5526         (expandFormats): adjust
5527         (expandFloatListInsert): adjust
5528         (expandFloatInsert): adjust
5529         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5530
5531         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5532         Remove class variables lyx_pseudo_map and lyx_arg_map
5533
5534         * LyXAction.C (searchActionArg): delete function
5535         (getPseudoAction): delete function
5536         (retrieveActionArg): delete function
5537         (LookupFunc): make it return kb_action, simplify.
5538         (getActionName): simplify
5539
5540         * factory.C (createInset): fix new bug
5541
5542 2003-09-19  Angus Leeming  <leeming@lyx.org>
5543
5544         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5545         masterFilename_ parameter in the include inset.
5546
5547         * factory.C (createInset): changes due to the changes to InsetInclude.
5548
5549 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5550
5551         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5552
5553 2003-09-18  Angus Leeming  <leeming@lyx.org>
5554
5555         * buffer.C:
5556         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5557         Inset::fillWithBibKeys.
5558         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5559
5560 2003-09-18  Angus Leeming  <leeming@lyx.org>
5561
5562         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5563         variables.
5564         (ctor): pass and store a 'Buffer const &'
5565         (buffer): new member function.
5566
5567         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5568         '*this' to the LaTeXFeatures ctor.
5569
5570 2003-09-18  Angus Leeming  <leeming@lyx.org>
5571
5572         * LColor.h:
5573         * lyxfont.C:
5574         * lyxfont.h:
5575         * lyxtext.h:
5576         * text.C: rename EnumLColor as LColor_color.
5577
5578 2003-09-18  Angus Leeming  <leeming@lyx.org>
5579
5580         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5581         remove #include "insets/insetbase.h" from cursor.h.
5582
5583 2003-09-18  Angus Leeming  <leeming@lyx.org>
5584
5585         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5586         InsetOld_code to remove #include "inset.h".
5587
5588         * iterators.C: add #include "insets/inset.h"
5589
5590 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5591
5592         * BufferView.C: remove more locking stuff that apparently doesn't
5593         do anything sensible.
5594
5595 2003-09-16  André Pönitz  <poenitz@gmx.net>
5596
5597         * paragraph.[Ch]:
5598         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5599           performance boost.
5600
5601 2003-09-16  Angus Leeming  <leeming@lyx.org>
5602
5603         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5604
5605         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5606         arg/return type.
5607
5608         * paragraph.h: remove #include "lyxfont.h". Forward declare
5609         LyXFont_size.
5610
5611 2003-09-16  Angus Leeming  <leeming@lyx.org>
5612
5613         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5614         of support/textutils.h.
5615         (isWord): move the contents of support/textutils.h's IsWordChar here.
5616
5617         * buffer.C:
5618         * lyxfind.C:
5619         * rowpainter.C:
5620         * text.C:
5621         * text2.C: add #include "paragraph.h".
5622
5623         * rowpainter.C:
5624         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5625
5626 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * main.C:
5629         * lyx_main.C:
5630         * lyx_cb.C:
5631         * buffer.C:
5632         * LaTeX.C: use namespace alias for lyx::support::os
5633
5634 2003-09-16  Angus Leeming  <leeming@lyx.org>
5635
5636         * bufferparams.C:
5637         * bufferview_funcs.C:
5638         * factory.C:
5639         * lyxfunc.C:
5640         * paragraph_pimpl.C:
5641         * rowpainter.C:
5642         * text.C: add #include "LColor.h".
5643
5644 2003-09-16  Angus Leeming  <leeming@lyx.org>
5645
5646         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5647         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5648         return LyXFont &.
5649         Store the FontBits::color variable as an int rather than as an
5650         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5651         file.
5652
5653         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5654         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5655         string calls together.
5656
5657         * lyxrc.C: add #include "LColor.h".
5658
5659 2003-09-15  Angus Leeming  <leeming@lyx.org>
5660
5661         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5662         a cow_ptr.
5663
5664 2003-09-15  Angus Leeming  <leeming@lyx.org>
5665
5666         * LColor.h: add an EnumLColor wrapper for LColor::color.
5667
5668         * lyxfont.[Ch] (color, setColor, realColor):
5669         * lyxtext.h, text.C (backgroundColor):
5670         pass EnumLColor args to/from the functions, rather than LColor::color
5671         ones.
5672
5673         * lyxfont.h:
5674         * lyxtext.h: forward declare EnumLColor.
5675
5676         * lyx_main.C: add #include "LColor.h".
5677
5678 2003-09-15  Angus Leeming  <leeming@lyx.org>
5679
5680         * .cvsignore: add lyx-gtk.
5681
5682 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * Chktex.C
5685         * LaTeX.C
5686         * LaTeXFeatures.C
5687         * ParagraphParameters.C
5688         * Spacing.C
5689         * buffer.C
5690         * bufferparams.C
5691         * bufferview_funcs.C
5692         * chset.C
5693         * counters.C
5694         * funcrequest.C
5695         * lyxfont.C
5696         * lyxgluelength.C
5697         * lyxlength.C
5698         * paragraph.C
5699         * paragraph_funcs.C
5700         * text3.C
5701         * vc-backend.C: remove usage of STRCONV
5702
5703 2003-09-15  Angus Leeming  <leeming@lyx.org>
5704
5705         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5706         explicitly define the color passed to the painter.
5707
5708 2003-09-15  Angus Leeming  <leeming@lyx.org>
5709
5710         * bufferparams.C (BufferParams): reorder member initializers to avoid
5711         compiler warning.
5712
5713 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5714
5715         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5716         * text.C (updateRowPositions): remove an unusual nop
5717
5718 2003-09-12  André Pönitz  <poenitz@gmx.net>
5719
5720         * BufferView_pimpl.C:
5721         * Bullet.C:
5722         * layout.h:
5723         * lyxfunc.C:
5724         * lyxlayout.[Ch]:
5725         * lyxtextclass.C:
5726         * rowpainter.C:
5727         * text.C:
5728         * text2.C:
5729         * Counters.[Ch]: finish the 'automatic counters' job
5730
5731 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5732
5733         * aspell.C: include <boost/assert.cpp> (compile fix)
5734
5735 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5736
5737         * boost.C (assertion_failed): use lyx::support::abort instead of
5738         assert.
5739
5740 2003-09-10  Angus Leeming  <leeming@lyx.org>
5741
5742         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5743         with their _fwd progeny.
5744
5745 2003-09-09  Angus Leeming  <leeming@lyx.org>
5746
5747         134 files throughtout the source tree: replace 'using namespace abc;'
5748         directives with the appropriate 'using abc::xyz;' declarations.
5749
5750 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5751
5752         * boost.C (emergencyCleanup): moved here from LAssert.c
5753         (assertion_failed): new function, called by BOOST_ASSERT
5754
5755         * several files: change Assert to BOOST_ASSERT
5756
5757 2003-09-09  Angus Leeming  <leeming@lyx.org>
5758
5759         * buffer.[Ch]: Add an Impl class and move Buffer's member
5760         variables into it. As a result move several header files out of
5761         buffer.h.
5762
5763         Add header files to lots of .C files all over the tree as a result.
5764
5765 2003-09-09  Angus Leeming  <leeming@lyx.org>
5766
5767         * buffer.[Ch]: make Buffer's member variables private. Add
5768         accessor functions.
5769
5770         Lots of changes all over the tree as a result.
5771
5772 2003-09-08  Angus Leeming  <leeming@lyx.org>
5773
5774         * graph.C: #include <config.h>.
5775
5776 2003-09-08  Angus Leeming  <leeming@lyx.org>
5777
5778         * BranchList.C:
5779         * BufferView.C:
5780         * BufferView_pimpl.C:
5781         * CutAndPaste.C:
5782         * DepTable.C:
5783         * LaTeX.C:
5784         * LaTeXFeatures.C:
5785         * LyXAction.C:
5786         * MenuBackend.C:
5787         * TextCache.C:
5788         * aspell.C:
5789         * buffer.C:
5790         * bufferlist.C:
5791         * changes.C:
5792         * chset.C:
5793         * converter.C:
5794         * counters.C:
5795         * debug.C:
5796         * graph.C:
5797         * ispell.C:
5798         * lyx_cb.C:
5799         * lyxfind.C:
5800         * lyxfunc.C:
5801         * lyxlex_pimpl.C:
5802         * lyxrc.C:
5803         * lyxrow.C:
5804         * paragraph.C:
5805         * rowpainter.C:
5806         * texrow.C:
5807         * text.C:
5808         * text2.C:
5809         * toc.C: remove redundant using directives.
5810
5811 2003-09-07  Angus Leeming  <leeming@lyx.org>
5812
5813         * LaTeXFeatures.h: remove #include "support/types.h".
5814         * ToolbarBackend.h: remove #include <algorithm>.
5815         * changes.h: remove #include <ctime>.
5816         * debug.h: remove #include <iosfwd>.
5817         * graph.h: remove #include "support/std_string.h".
5818         * lyx_main.h: remove #include <csignal>.
5819         * lyxlex_pimpl.h: remove #include <fstream>.
5820         * sgml.h: remove #include <algorithm>, <utility>.
5821         * toc.h: remove #include "support/std_ostream.h".
5822         Add #include <iosfwd>.
5823
5824 2003-09-07  Angus Leeming  <leeming@lyx.org>
5825
5826         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5827
5828         * converter.h: forward declare LatexRunParams.
5829         * encoding.h: remove #include "lyxrc.h".
5830         * lyxtext.h: remove #include "LColor.h".
5831         * lyxtextclass.h: remove #include "support/types.h".
5832         * trans.h: remove #include "tex-accent.h".
5833         * trans_mgr.h: remove #include "tex-accent.h".
5834         * insets/inset.h: remove #include "support/types.h", <vector>.
5835         * insets/insetcollapsable.h: remove #include "LColor.h".
5836         * insets/insetinclude.h: remove #include "dimension.h".
5837         * insets/insetlatexaccent.h: remove #include "dimension.h".
5838         * insets/insetoptarg.h:: remove #include "insettext.h".
5839         * insets/insettext.h: remove #include "dimension.h",
5840         <boost/shared_ptr.hpp>
5841
5842         * insets/renderers.h: add #include "dimension.h".
5843         * insets/updatableinset.h: add #include "support/types.h".
5844
5845         * many .C files: Associated changes.
5846
5847 2003-09-06  Angus Leeming  <leeming@lyx.org>
5848
5849         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5850         one, inside testInvariant.
5851
5852         * PrinterParams.C: new file.
5853         * PrinterParams.[Ch]: move the function bodies out of line.
5854
5855 2003-09-06  Angus Leeming  <leeming@lyx.org>
5856
5857         * ParagraphParameters.h: forward declare ParameterStruct rather than
5858         including its header file.
5859         (depth): moved out-of-line.
5860
5861 2003-09-06  Angus Leeming  <leeming@lyx.org>
5862
5863         * BufferView_pimpl.h:
5864         * kbmap.h:
5865         * kbsequence.h:
5866         * lyxfunc.h: forward declare LyXKeySym rather than
5867         #include "frontends/LyXKeySym.h".
5868
5869         * BufferView_pimpl.C:
5870         * kbmap.C:
5871         * kbsequence.C:
5872         * lyxfunc.C: associated changes.
5873
5874 2003-09-06  Angus Leeming  <leeming@lyx.org>
5875
5876         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5877         As a result, can remove the #include "insets/inset.h" from BufferView.h
5878
5879 2003-09-06  Angus Leeming  <leeming@lyx.org>
5880
5881         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5882         As a result, can remove the #include "insets/inset.h" from BufferView.h
5883
5884 2003-09-06  Angus Leeming  <leeming@lyx.org>
5885
5886         * buffer_funcs.C:
5887         * buffer.h:
5888         * bufferlist.C:
5889         * BufferView.C:
5890         * bufferview_funcs.C:
5891         * BufferView_pimpl.C:
5892         * CutAndPaste.C:
5893         * lyx_cb.C:
5894         * lyxfunc.C:
5895         * paragraph.h:
5896         * ParagraphParameters.C:
5897         * tabular.C:
5898         * text3.C:
5899         * toc.C:
5900         * undo_funcs.C:
5901         * frontends/controllers/ControlDocument.C:
5902         * insets/insetcaption.C: rearrange the #includes into some sort of
5903         coherent order.
5904
5905         * buffer.h: remove #includes ErrorList.h, undo.h
5906
5907 2003-09-06  Angus Leeming  <leeming@lyx.org>
5908
5909         * support/types.h: add a 'depth_type' typedef, used to store the
5910         nesting depth of a paragraph.
5911
5912         * paragraph.h:
5913         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5914         defining explicitly.
5915
5916         * buffer.h:
5917         * paragraph_funcs.h:
5918         * ParagraphParameters.h:
5919         * sgml.h: use lyx::depth_type rather than Paragraph or
5920         ParameterStruct's depth_type.
5921
5922         * buffer.h
5923         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5924
5925         * BufferView.C:
5926         * BufferView_pimpl.C:
5927         * CutAndPaste.C:
5928         * ParagraphParameters.C:
5929         * buffer_funcs.C:
5930         * bufferlist.C:
5931         * bufferview_funcs.C:
5932         * lyx_cb.C:
5933         * lyxfunc.C:
5934         * tabular.C:
5935         * text3.C:
5936         * toc.C:
5937         * undo_funcs.C:
5938         * frontends/LyXView.C:
5939         * frontends/controllers/ControlDocument.C:
5940         * frontends/controllers/ControlErrorList.C:
5941         * insets/insetbibitem.C:
5942         * insets/insetbranch.C:
5943         * insets/insetcaption.C:
5944         * insets/insetcollapsable.C:
5945         * insets/insetenv.C:
5946         * insets/insetert.C:
5947         * insets/insetfloat.C:
5948         * insets/insetfoot.C:
5949         * insets/insetfootlike.C:
5950         * insets/insetnewline.C:
5951         * insets/insetquotes.C:
5952         * insets/insettabular.C:
5953         * insets/insettext.C:
5954         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5955
5956         * frontends/controllers/ControlChanges.C: #include "changes.h".
5957
5958 2003-09-06  Angus Leeming  <leeming@lyx.org>
5959
5960         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5961         than #including paragraph.h.
5962
5963         * ParagraphList.h:
5964         * RowList.h: deleted. Superfluous.
5965
5966         * CutAndPaste.h:
5967         * iterators.h:
5968         * lyxcursor.h:
5969         * lyxtext.h:
5970         * text_funcs.h:
5971         * undo.h:
5972         * undo_funcs.h:
5973         * insets/inset.h:
5974         * insets/insettext.h: use ParagraphList_fwd.h rather than
5975         ParagraphList.h.
5976
5977         * paragraph.h: don't forward declare ParagraphList.
5978
5979         * buffer.h:
5980         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5981         rather than ParagraphList.h. paragraph.h is still needed for the
5982         Paragraph::depth_type parameters.
5983
5984         * textcursor.h: enable it to compile stand-alone in light of the
5985         above changes.
5986
5987         * bufferview_funcs.C:
5988         * iterators.C:
5989         * lyxfunc.C:
5990         * lyxrow_funcs.C:
5991         * paragraph.C:
5992         * rowpainter.C:
5993         * text.C:
5994         * text2.C:
5995         * text3.C:
5996         * text_funcs.C:
5997         * textcursor.C:
5998         * undo.C:
5999         * frontends/controllers/ControlParagraph.C:
6000         * frontends/controllers/ControlTabular.C:
6001         * insets/insetmarginal.C:
6002         * insets/insetminipage.C:
6003         * insets/insetnote.C:
6004         * insets/insetoptarg.C: add header files needed to compile again.
6005
6006 2003-09-06  Angus Leeming  <leeming@lyx.org>
6007
6008         * RowList_fwd.h: new file, forward-declaring Row rather than
6009         #including lyxrow.h.
6010
6011         * lyxrow_funcs.h:
6012         * lyxtext.h:
6013         * paragraph.h:
6014         * insets/insettext.h: use it instead of RowList.h
6015
6016         * bufferview_funcs.C:
6017         * lyxfunc.C:
6018         * lyxrow_funcs.C:
6019         * paragraph.C:
6020         * rowpainter.C:
6021         * text.C:
6022         * text2.C:
6023         * text3.C: #include "RowList.h".
6024
6025 2003-09-05  Angus Leeming  <leeming@lyx.org>
6026
6027         * factory.C (createInset):
6028         * vspace.C (c-tor): replace sscanf call with an istringstream.
6029         * ispell.C: re-add missing HP/UX headers.
6030         * lyxserver.C: re-add missing  os2 headers.
6031
6032 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6033
6034         * BranchList.C:
6035         * graph.C:
6036         * ispell.C:
6037         * lastfiles.C:
6038         * lyx_cb.C:
6039         * lyxserver.C:
6040         * texrow.C:
6041         * text3.C: re-add missing system headers, needed for 2.95.2.
6042
6043 2003-09-05  Angus Leeming  <leeming@lyx.org>
6044
6045         Changes most place everywhere due to the removal of using directives
6046         from support/std_sstream.h.
6047
6048 2003-09-05  Angus Leeming  <leeming@lyx.org>
6049
6050         Replace LString.h with support/std_string.h,
6051         Lsstream.h with support/std_sstream.h,
6052         support/LIstream.h with support/std_istream.h,
6053         support/LOstream.h with support/std_ostream.h.
6054
6055         Changes resulting throughout the tree.
6056
6057 2003-09-05  Angus Leeming  <leeming@lyx.org>
6058
6059         * sgml.h: ensure that the header file can be compiled stand-alone.
6060         * *.C: strip out redundant #includes. (320 in total.)
6061
6062 2003-09-04  Angus Leeming  <leeming@lyx.org>
6063
6064         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6065         here (from getPackages).
6066
6067         * debug.[Ch]: add a new EXTERNAL tag.
6068
6069 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6070
6071         * text2.C (cursorEnd): simplify
6072         (setCursor): adjust
6073         (getColumnNearX): adjust
6074
6075         * text.C (computeBidiTables): adjust
6076         (fill): adjust
6077
6078         * rowpainter.C (paintChars): adjust
6079         (paintSelection): adjust
6080         (paintChangeBar): adjust
6081         (paintText): adjust
6082
6083         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6084         lastPos instead.
6085         (numberOfSeparators): adjust
6086
6087 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6088
6089         * LyXAction.C:
6090         * box.[Ch]:
6091         * lfuns.h:
6092         * lyxfunc.C:
6093         * text3.C: Restricts the mouse click functionality
6094         of insets like bibtex, include, toc and floatlist to the visible
6095         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6096         up the dialogs. Cursor has to be in front of the inset (i.e.
6097         start of row) for this to function.
6098
6099 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6100
6101         * bufferview_funcs.C (currentState): output row information
6102
6103 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6104
6105         * bufferview_funcs.C (currentState): output paragraph position
6106
6107 2003-09-04  Angus Leeming  <leeming@lyx.org>
6108
6109         * FloatList.h: move out #include "Floating.h".
6110         * LaTeX.h: move out #include "DepTable.h".
6111         * LyXAction.h: move out #include "funcrequest.h".
6112         * buffer.h: move out #include "author.h", "iterators.h".
6113         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6114         * lyx_main.h: move out #include "errorlist.h".
6115         * lyxfunc.h: move out #include "FuncStatus.h".
6116         * lyxtext: move out #include "lyxcursor.h".
6117         * paragraph_pimpl.h: move out #include "counters.h".
6118
6119 2003-09-03  Angus Leeming  <leeming@lyx.org>
6120
6121         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6122         preamble_snippets list, enabling us to add snippets to the preamble
6123         only if the snippet was not there already.
6124
6125 2003-09-04  Angus Leeming  <leeming@lyx.org>
6126
6127         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6128
6129 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6132         update
6133
6134 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6135
6136         * BranchList.C: point fix, earlier forgotten
6137
6138 2003-09-02  Angus Leeming  <leeming@lyx.org>
6139
6140         * box.C (contains): renamed from 'contained' after a fantastic
6141         amount of hot air.
6142
6143 2003-09-02  John Levon  <levon@movementarian.org>
6144
6145         * BufferView.C:
6146         * lyxcursor.h:
6147         * lyxcursor.C:
6148         * lyxfunc.C:
6149         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6150
6151 2003-09-02  John Levon  <levon@movementarian.org>
6152
6153         * text2.C: simplification of cursorEnd(), including partial
6154         fix for bug 1376
6155
6156 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * buffer.C (readFile): add a space
6159
6160 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6161
6162         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6163
6164 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * buffer.C (readFile): new function, take a filename and a
6167         ParagraphList::iterator
6168         (readFile): adjust
6169         (readFile): adjust, make it private. don't use setStream, make
6170         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6171         always contain the filename.
6172
6173         * BufferView.C (insertLyXFile): simplify and make it work for
6174         gzipped files.
6175
6176 2003-08-30  John Levon  <levon@movementarian.org>
6177
6178         * Makefile.am: fix dist (from Kayvan)
6179
6180 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * most files: change to use const Buffer refs
6183
6184 2003-08-27  André Pönitz  <poenitz@gmx.net>
6185
6186         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6187         on top of ownerPar().
6188
6189 2003-08-27  John Levon  <levon@movementarian.org>
6190
6191         * funcrequest.C: properly initialise POD members
6192
6193 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6194
6195         * lyxtext.h (top_y): move top_y from here
6196         * text.C:
6197         * text2.C:
6198         * text3.C:
6199         * BufferView.[Ch]:
6200         * BufferView_pimpl.[Ch]: to here
6201         * frontends/screen.C:
6202         * insets/insettabular.C:
6203         * insets/insettext.C: adjust
6204         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6205
6206 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6207
6208         * BufferView.[Ch]:
6209         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6210
6211 2003-08-26  André Pönitz  <poenitz@gmx.net>
6212
6213         * paragraph_func.[Ch] (outerPar): new function
6214
6215         * paragraph.C:
6216         * paragraph_funcs.C:
6217         * paragraph_funcs.h:
6218         * paragraph_pimpl.C:
6219         * text2.C: remove Inset::par_owner
6220
6221 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6222
6223         * lyxrow_funcs.C:
6224         * lyxtext.h:
6225         * text.C:
6226         * text2.C: eliminates the needFullRow/display() stuff
6227         altogether, putting the logic in metrics/draw in the insets.
6228
6229 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6230
6231         * text2.C (redoParagraphInternal, redoParagraphs):
6232         * text.C (redoParagraph): add a call to updateRowPositions at the
6233         end of each 'metrics-like' call. Remove all others.
6234         (getRow): remove the 'y-computing' version.
6235         (getRowNearY): do not compute nor return the real y. Solve the
6236         'y < 0' problem and simplify.
6237
6238 2003-08-22  Angus Leeming  <leeming@lyx.org>
6239
6240         * *.[Ch]: clean-up of licence and author blurbs.
6241         Also move config.h out of a few .h files and into a few .C files.
6242
6243 2003-08-22  André Pönitz  <poenitz@gmx.net>
6244
6245         * lyxrow.[Ch]: add x_ and *fill_ members
6246
6247         * lyxtext.h:
6248         * text.C:
6249         * rowpainter.C:
6250         * text2.C: adjust/remove prepareToPrint() calls
6251
6252 2003-08-22  André Pönitz  <poenitz@gmx.net>
6253
6254         * lyxrow.[Ch]: add  end_ member
6255
6256         * lyxrow_funcs.C: use LyXRow::end_
6257
6258         * lyxtext.h (singleWidth): add LyXFont parameter
6259
6260         * rowpainter.C:
6261         * text2.C: adjust LyXText::singleWidth() calls
6262
6263         * text.C (redoParagraph): simplify row breaking logic
6264
6265
6266 2003-08-19  André Pönitz  <poenitz@gmx.net>
6267
6268         * funcrequest.C: initialize button_ member
6269
6270         * text3.C:
6271         * rowpainter.[Ch]: interface consolidation
6272
6273 2003-08-18  André Pönitz  <poenitz@gmx.net>
6274
6275         * BufferView.C:
6276         * BufferView_pimpl.C:
6277         * lyxfind.C:
6278         * paragraph_funcs.C:
6279         * rowpainter.C:
6280         * text3.C: remove LyXScreen::draw() and fitCursor calls
6281
6282         * BranchList.h: remove spurious semicolons
6283
6284         * MenuBackend.C: fix branchlist related crash
6285
6286 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6287
6288         * BranchList.[Ch]:
6289         * InsetList.[Ch]:
6290         * LColor.[Ch]:
6291         * LyXAction.C:
6292         * Makefile.am:
6293         * MenuBackend.[Ch]:
6294         * bufferparams.[Ch]:
6295         * factory.C:
6296         * lfuns.h:
6297         * lyxfunc.C:
6298         * text3.C: implements the 'branch inset'
6299         idea. This allows the output of various versions of a document
6300         from a single source version, selectively outputing or suppressing
6301         output of parts of the text.
6302         This implementation contains a 'branch list editor' in a separate
6303         tab of the document settings dialog. Branches are user definable
6304         and have a "display colour" to distinguish them on-screen.
6305
6306         ColorHandler was somewhat cleaned up.
6307         (1) make possible a dynamically growing LColor list by allowing
6308         the graphic context cache to grow along (vector);
6309         (2) eliminate an IMHO unnecessary step in colour allocation.
6310
6311 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6312
6313         * BufferView_pimpl.C: compile fix
6314
6315 2003-08-15  André Pönitz  <poenitz@gmx.net>
6316
6317         * rowpainter.C: remove extra metrics calls
6318
6319         * lyxtext.h: merge the two constructors into a single one,
6320           pass reference to owner's par list
6321
6322         * BufferView_pimpl.C:
6323         * text.C:
6324         * text2.C: adjust
6325
6326 2003-08-15  André Pönitz  <poenitz@gmx.net>
6327
6328         * lyxrow_funcs.[Ch]:
6329         * lyxtext.h:
6330         * paragraph.h:
6331         * paragraph_funcs.C:
6332         * rowpainter.C:
6333         * text.C:
6334         * text2.C:
6335         * text3.C:
6336         * text_funcs.C: split LyXText::rowlist_ into individual
6337         Paragraph::rows_ chunks
6338
6339         * BufferView.[Ch]:
6340         * BufferView_pimpl.[Ch]:
6341         * lyxfind.C:
6342         * lyxtext.h:
6343         * text3.C: remove toggleSelection()
6344
6345 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6346
6347         * bufferlist.C: beautify two alerts (shorter text of buttons)
6348         * buffer.C: Remove redundant ' ' from message
6349         * tabular.h:
6350         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6351         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6352         rename VALIGN_CENTER to VALIGN_MIDDLE
6353
6354 2003-08-11  André Pönitz  <poenitz@gmx.net>
6355
6356         * lyxtext.h (getPar):
6357         * text.C: new function
6358
6359 2003-08-11  André Pönitz  <poenitz@gmx.net>
6360
6361         * Makefile.am:
6362         * tracer.[Ch]: remove unneeded files
6363
6364         * InsetList.[Ch]: remove resizeInsetsLyXText()
6365
6366         * lyxtext.h:
6367         * text.C:
6368         * text2.C:
6369         * text3.C: merge insertParagraphs() and appendParagraph()
6370         remove breakAgain(), update()
6371
6372         * BufferView_pimpl.[Ch]:
6373         * bufferview_funcs.[Ch]:
6374         * lyxfunc.C:
6375         * paragraph.[Ch]:
6376         * rowpainter.C:
6377         * tabular.C: adjust after text & InsetList changes.
6378
6379 2003-08-08  André Pönitz  <poenitz@gmx.net>
6380
6381         * text.C (insertChar, backspace): replace rowlist fiddling
6382         with rebreak of full par
6383
6384         * lyxtext.h:
6385         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6386         checkParagraph, updateInset): removed
6387
6388 2003-08-07  André Pönitz  <poenitz@gmx.net>
6389
6390         * paragraph.C:
6391         * text3.C: merge some LFUN handlers, remove dead code
6392
6393 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6394
6395         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6396
6397 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6398
6399         * text2.C (DEPM): fix part of bug 1255 and 1256
6400
6401 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6402
6403         * BufferView_pimpl.C (workAreaDispatch): change to use
6404         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6405         that are no mouse related.
6406
6407 2003-08-05  André Pönitz  <poenitz@gmx.net>
6408
6409         * BufferView.[Ch]:
6410         * BufferView_pimpl.[Ch]:
6411         * bufferview_funcs.C:
6412         * text2.C:
6413         * text3.C: rip out "deep update"
6414
6415         * textcursor.[Ch] (last_sel_cursor): remove unused member
6416
6417 2003-08-04  André Pönitz  <poenitz@gmx.net>
6418
6419         * BufferView.[Ch]:
6420         * BufferView_pimpl.[Ch]:
6421         * ParagraphParameters.C:
6422         * bufferview_funcs.C:
6423         * lyx_cb.C:
6424         * lyxfind.C:
6425         * lyxfunc.C:
6426         * text.C:
6427         * text2.C:
6428         * text3.C: replace "complicated" BufferView::update(...) calls with
6429         simpler ones.
6430
6431         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6432
6433 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6434
6435         * Makefile.am (lyx_SOURCES): add paper.h
6436
6437 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6438
6439         * Makefile.am: move things around so that both lyx-qt and
6440         lyx-xforms can be built (according to --with-frontend). Then lyx
6441         is a symbolic link to lyx-[firstfrontend]
6442
6443 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6444
6445         * Always use std::endl with lyxerr
6446
6447 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6448
6449         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6450
6451 2003-08-01  André Pönitz  <poenitz@gmx.net>
6452
6453         * BufferView.[Ch]:
6454         * BufferView_pimpl.[Ch]:
6455         * lyxfunc.C:
6456         * text3.C: merge BufferView::repaint() and BufferView::update()
6457
6458 2003-08-01  José Matos  <jamatos@lyx.org>
6459
6460         * buffer.[Ch]: file_format is no longer a buffer data element.
6461
6462 2003-08-01  André Pönitz  <poenitz@gmx.net>
6463
6464         * BufferView.C:
6465         * lyxtext.h:
6466         * text.C:
6467         * text2.C: make redoParagraph more independent of current cursor
6468
6469         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6470         * text.C:
6471         * text2.C: remove unneeded members
6472
6473 2003-07-30  André Pönitz  <poenitz@gmx.net>
6474
6475         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6476
6477         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6478           create a single function...
6479
6480         * paragraph_funcs.C (moveItem): ... here.
6481
6482         * text.C:
6483           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6484
6485 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6486
6487         * LColor.[Ch]: Add comment and greyedout logical colors.
6488
6489 2003-07-30  André Pönitz  <poenitz@gmx.net>
6490
6491         * tabular.C: don't use Assert too heavily. This crashes where it
6492           shouldn't
6493
6494 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6495
6496         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6497         is disabled (bug 1232)
6498
6499 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6500
6501         * factory.C: limited 'arg' scope
6502
6503 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6504
6505         * factory.C: fixed Note submenu issues
6506
6507 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6508
6509         * factory.C: submenu for Note/Comment/Greyedout
6510
6511 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6512
6513         * lyx_main.C (LyX):
6514         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6515
6516 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6517
6518         * LaTeXFeatures.C:
6519         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6520         greyedout. Patch provided by Jürgen Spitzmüller.
6521
6522 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6523
6524         * kbmap.C (read): fix error message when reading bind files
6525
6526 2003-07-29  Angus Leeming  <leeming@lyx.org>
6527
6528         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6529         certainly does not do what it purports to do. I am doing it, and
6530         us, a favour by killing it.
6531
6532 2003-07-28  José Matos  <jamatos@lyx.org>
6533
6534         * buffer.C (readBody, do_writeFile):
6535         * paragraph.C(readParagraph): \end_document replaces \the_end.
6536
6537 2003-07-29  André Pönitz  <poenitz@gmx.net>
6538
6539         * BufferView.[Ch]:
6540         * BufferView_pimpl.[Ch]:
6541         * lyxfunc.C:
6542         * text2.C:
6543         * text3.C:
6544         * textcursor.[Ch]: remove toggleToggle & Co
6545
6546 2003-07-28  José Matos  <jamatos@fep.up.pt>
6547
6548         * buffer.C (readParagraph):
6549         * params_func (readParToken, readParagraph):
6550         * paragraph.C (write): \layout -> \begin_layout.
6551
6552 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * lyxlex_pimpl.C (setFile): clean up slightly.
6555
6556         * bufferparams.h: add compressed var
6557
6558         * buffer_funcs.C (readFile): adjust for LyXLex change
6559         (newFile): ditto + simplify
6560
6561         * buffer.C (writeFile): handle writing of compressed files
6562
6563         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6564         Check if the file is compressed and set a bufferparm if so.
6565
6566         * Makefile.am (lyx_LDADD): remove explicit -lz
6567
6568 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6569
6570         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6571         makeDocBookFile): put the real LyX version in the first line of
6572         the file
6573
6574         * version.h:
6575         * version.C.in: remove lyx_docversion
6576
6577         * tabular.C (write_attribute): add a template-based version to
6578         write enums properly
6579
6580 2003-07-28  André Pönitz  <poenitz@gmx.net>
6581
6582         * lyxtext.h:
6583         * text.C:
6584         * text2.C:
6585         * text3.C: use doubles again for x-coordinates. They are needed.
6586
6587 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6588
6589         * messages.C (getLocaleDir): use lyx_localedir()
6590
6591         * lyxlex_pimpl.C (setFile): compress stuff
6592
6593         * buffer.C (writeFile): add some compression stuff
6594         (do_writeFile): new func, dont call expliti close... will this
6595         breake anything?
6596
6597         * Makefile.am (lyx_LDADD): add -lz
6598
6599 2003-07-28  José Matos  <jamatos@fep.up.pt>
6600
6601         * buffer.C: increment file format.
6602         * paragraph_funcs (readParagraph, readParToken):
6603         * paragraph.C (readParagraph): add \end_layout.
6604
6605 2003-07-27  Angus Leeming  <leeming@lyx.org>
6606
6607         * Makefile.am: remove special casing for configure-time setting of
6608         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6609
6610         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6611         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6612
6613 2003-07-26  André Pönitz  <poenitz@gmx.net>
6614
6615         * paragraph_func.[Ch]:
6616         * paragraph.C (realizeFont): inline it whereever it is used
6617
6618         * rowpainter.C:
6619         * text.C:
6620         * text2.C:
6621         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6622
6623
6624 2003-07-26  André Pönitz  <poenitz@gmx.net>
6625
6626         *       lyxtext.h:
6627         * text.C:
6628         * text2.C: get rid of LyXText::need_break_row
6629
6630 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * toc.[Ch]: put namespace toc inside namespace lyx
6633
6634         * MenuBackend.C (expandToc2): adjust for lyx::toc
6635         (expandToc): ditto
6636
6637         * lyxfunc.C (dispatch): adjust for lyx::find
6638
6639         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6640         lyx::find instead. Reorganize a bit.
6641         (LyXReplace): rename to replace
6642         (LyXFind): rename to find
6643
6644         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6645         (dispatch): ditto
6646
6647 2003-07-26  André Pönitz  <poenitz@gmx.net>
6648
6649         * text.C (setHeightOfRow): restrict scope of temporary variable
6650
6651         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6652           code (never has been used?)
6653
6654 2003-07-27  Asger Alstrup  <alstrup@local>
6655
6656         * text.C (fill): Optimise algorithm to exploit that we can reuse
6657         the LyXFont for many characters.
6658         (setHeightOfRow): Same thing.
6659         (rowBreakPoint): Same thing.
6660
6661 2003-07-26  Asger Alstrup  <alstrup@local>
6662
6663         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6664
6665         * text.C (singleWidth): Spurious font copying in hot-spot
6666         singleWidth avoided. Reorder tests for arabic for efficiency.
6667
6668         * text.C (fill): handle empty paragraphs better.
6669
6670 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6671
6672         * ispell.C:
6673         * encoding.h: add includes
6674
6675         * lyxrc.C: remove reading of bind files
6676
6677         * lyx_main.C (init): setup bindings and menus only if we have a
6678         gui.
6679
6680         * kbmap.C (read): new method. Do the actual reading of bind
6681         files.
6682
6683         * converter.C (dvipdfm_options):
6684         * bufferparams.C:
6685         * lyxrc.C (read):
6686         (output): adapt PAPER_* enums.
6687
6688         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6689
6690         * bufferparams.h: remove paper-related enums from there
6691
6692         * paper.h: New file. A trivial header file to hold paper-related
6693         enums. It should later expand to contain many paper-related
6694         horrors access.
6695
6696         * lyxrc.C: declare extern displayTranslator
6697
6698 2003-07-27  José Matos  <jamatos@fep.up.pt>
6699
6700         * tabular.[Ch] (linuxdoc): add support for tables and figures
6701         (linuxdoc).
6702
6703 2003-07-27  José Matos  <jamatos@fep.up.pt>
6704
6705         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6706         consistency in both functions.
6707         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6708
6709 2003-07-26  Asger Alstrup  <alstrup@local>
6710
6711         * rowpainter.C (paintRows): Change algorithm to work directly on
6712         the insets rather than asking every character in the document
6713         whether its an inset.
6714
6715 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6716
6717         * buffer.C (openFileWrite): factorize some code
6718
6719 2003-07-26  Angus Leeming  <leeming@lyx.org>
6720
6721         * lyx_cb.C:
6722         * lyx_main.[Ch]: replace occurances of system_tempdir with
6723         os::getTmpDir().
6724
6725 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * rename Inset to InsetOld
6728
6729 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6730
6731         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6732         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6733         which I think is a bit clearer. EDIT is gone, since it was
6734         premature optimisation, and broken for mathed anyway.
6735         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6736         with cursor positioning in insets as well (math insets still do not
6737         work, but that's a different story anyway.) It mysteriously
6738         crashes sometimes with undo in the first paragraph, but I'm fairly
6739         confident that this is a compiler bug.
6740
6741 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * paragraph.C (Paragraph): adjust for new clone return type
6744         (operator==): ditto
6745         (copyIntoMinibuffer): ditto
6746
6747 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6748
6749         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6750         by not having a special case, and always doing a full rebreak of
6751         the document after undo.
6752
6753 2003-07-23  Angus Leeming  <leeming@lyx.org>
6754
6755         * factory.C (createInset): InsetExternal::setParams now takes a
6756         Buffer const * arg.
6757
6758 2003-07-23  Angus Leeming  <leeming@lyx.org>
6759
6760         * factory.C (createInset): changed interface to the external and
6761         graphics mailers' string2params functions.
6762
6763 2003-07-23  Angus Leeming  <leeming@lyx.org>
6764
6765         * factory.C (createInset): pass a
6766         Buffer const * parameter to InsetExternalMailer's string2params.
6767
6768 2003-07-22  John Levon  <levon@movementarian.org>
6769
6770         * Thesaurus.h: include the right aiksaurus header
6771
6772 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6773
6774         * MenuBackend.C (expand): check menu shortcuts unconditionally
6775
6776 2003-07-21  Angus Leeming  <leeming@lyx.org>
6777
6778         * factory.C (createInset): pass a
6779         buffer_path parameter to InsetGraphicsMailer's string2params.
6780
6781 2003-07-21  Angus Leeming  <leeming@lyx.org>
6782
6783         * BufferView_pimpl.C (buffer):
6784         * buffer.C (d-tor):
6785         * lyx_main.C (LyX):
6786         * lyxfunc.C (dispatch):
6787         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6788         rather than the grfx shortcut.
6789
6790 2003-07-21  André Pönitz  <poenitz@gmx.net>
6791
6792         * rowpainter.C: remove unused variables
6793
6794         * tabular_funcs.C:
6795         * tabular_funcs.h: move to tabular.C
6796         * Makefile.am: adjust
6797
6798         * tabular.[Ch]: basic optical cleaning
6799
6800         * author.h: pass references, not values
6801
6802 2003-07-18  André Pönitz  <poenitz@gmx.net>
6803
6804         * lyxtext.h:
6805         * metricsinfo.C:
6806         * metricsinfo.h:
6807         * rowpainter.C:
6808         * text.C:
6809         * text2.C:
6810         * text3.C: two-phase drawing for InsetText and InsetTabular
6811         some float -> int changes.
6812
6813 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6814
6815         * lyx_main.C: fix the fix
6816
6817 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6818
6819         * lyx_main.C: fix a crash in batch mode if no files specified
6820         * converter.C: ws
6821
6822 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6823
6824         * format.[Ch] (papersize): moved to BufferParams
6825         * converter.[Ch] (dvips_options): moved to BufferParams
6826         (dvipdfm_options): moved to anon namespace
6827         * bufferparams.[Ch]: added above functions.
6828
6829 2003-07-17  André Pönitz  <poenitz@gmx.net>
6830
6831         * lyxtext.h:
6832         * rowpainter.C:
6833         * text2.C: don't call inset->update() anymore
6834
6835         * metricsinfo.[Ch]: add convenience constructor
6836
6837 2003-07-16  André Pönitz  <poenitz@gmx.net>
6838
6839         * lyxcursor.[Ch]:
6840         * lyxfunc.[Ch]:
6841         * text.C:
6842         * text2.C: replace the LyXCursor::irow_ member with
6843          on-demand computation of the value
6844
6845 2003-07-16  John Levon  <levon@movementarian.org>
6846
6847         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6848
6849 2003-07-15  André Pönitz  <poenitz@gmx.net>
6850
6851         * text.C:
6852         * text2.C: remove no more needed refresh_row
6853
6854 2003-07-15  André Pönitz  <poenitz@gmx.net>
6855
6856         * lyxtext.h:
6857         * rowpainter.C:
6858         * text2.C:
6859         * text3.C: refresh_status tristate -> need_update bool
6860
6861 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6862
6863         * lyxtext.h (init): remove reinit argument (act as if always true)
6864         * text2.C: adjust to that
6865
6866 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6867
6868         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6869         * text3.C: use it to delete selections in some cases
6870         (bugs 441, 673, 702, 954).
6871
6872 2003-07-14  André Pönitz  <poenitz@gmx.net>
6873
6874         * rowpainter.[Ch]: reduce interface
6875
6876 2003-07-14  André Pönitz  <poenitz@gmx.net>
6877
6878         * BufferView_pimpl.C:
6879         * text2.C: adjust after removing unused BufferView * argument
6880
6881 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6882
6883         * text2.C (init): fix a crash fired on resize
6884
6885 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6886
6887         * buffer.[Ch]: added new closing signal
6888         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6889         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6890         BufferView::Pimpl via the closing the signal
6891
6892 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6893
6894         * buffer.[Ch]: take out all bv-related from buffer
6895         * BufferView.C:
6896         * BufferView_pimpl.[Ch]: connect to new signals
6897         * CutAndPaste.C: removed useless asserts
6898         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6899         * lyxvc.[Ch]:
6900         * vc-backend.[Ch]:
6901         * lyxfunc.C: moved view-related funciontality from vc here
6902         * paragraph.C: removed outdated comments
6903         * text.C: ws
6904
6905 2003-07-10  André Pönitz  <poenitz@gmx.net>
6906
6907         * BufferView_pimpl.C:
6908         * tabular.h:
6909         * tabular_funcs.C:
6910         * text.C:
6911         * text2.C: remove InsetText::InnerCache, clean up consequences
6912
6913 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6914
6915         * ispell.C: fix two typos in error messages
6916
6917 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6918
6919         * Extend Note inset to other forms of annotation like Comment
6920         and Greyedout. Right button click gives dialog.
6921
6922         Files modified or added (+):
6923
6924         * insetnote.[Ch]
6925         * FormNote.[Ch]      +
6926         * ControlNote.[Ch]   +
6927         * form_note.fd       +
6928         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6929         frontends/controllers
6930         * xforms/Dialogs.C
6931         * factory.C
6932
6933 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6934
6935         * aspell.C: add missing namespace lyx::support
6936
6937 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6938
6939         * BufferView.[Ch] (newFile): Add
6940         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6941         * LaTeX.[Ch] (message): added this signal and use it
6942         * buffer.[Ch] (busy, message): added these signals and use them
6943         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6944         * converter.C:
6945         * exporter.C:
6946         * format.C:
6947         * importer.C: use buffer signals instead of direct bv calling
6948         * lyx_cb.[Ch] (ShowMessage): removed
6949         * lyx_main.C:
6950         * lyxfunc.C:
6951         * paragraph_funcs.C:
6952         * text2.C: use buffer signals
6953
6954 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6955
6956         * introduce namespace lyx::graphics
6957
6958 2003-07-02  André Pönitz  <poenitz@gmx.net>
6959
6960         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6961
6962 2003-07-01  André Pönitz  <poenitz@gmx.net>
6963
6964         * text.C:
6965         * text2.C:
6966         * text3.C:
6967         * text_funcs.[Ch]:
6968         * textcursor.h:
6969         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6970           text*.C to text_func.C
6971
6972 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6973
6974         * introduce namespace lyx::support
6975
6976 2003-06-30  André Pönitz  <poenitz@gmx.net>
6977
6978         * Chktex.C:
6979         * funcrequest.C:
6980         * lyxtext.h:
6981         * text.C: re-enable --with-included-string
6982
6983 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6984
6985         * textcursor.C: add <config.h>
6986
6987         * text.C (getWord): remove const from word_location arg
6988
6989         * lyxvc.C (getLogFile): fix const type order
6990
6991         * lyxtext.h: remove const from word_location arg, add arg name
6992
6993         * lyxlayout.h: currect type on labeltype.
6994
6995         * importer.C: correct \file
6996
6997         * converter.C (intToFormat): use std:: on ret val, ws changes
6998
6999         * bufferlist.h: correct \file
7000
7001         * buffer.C (makeLinuxDocFile): fix const type order
7002         (makeDocBookFile): ditto
7003         (fillWithBibKeys): use std:: on stdlib args.
7004
7005         * CutAndPaste.C: fix authors.
7006         (availableSelections): use std:: on return vector
7007
7008 2003-06-27  André Pönitz  <poenitz@gmx.net>
7009
7010         * BufferView_pimpl.C:
7011         * bufferview_funcs.C:
7012         * lyxcursor.C:
7013         * lyxcursor.h:
7014         * lyxfunc.C:
7015         * lyxtext.h:
7016         * rowpainter.C:
7017         * text.C:
7018         * text2.C:
7019         * text3.C: remove LyXCursor::row_ member
7020
7021         * lyxtext.h:
7022         * text.C: rename fullRebreak() to partialRebreak() and implement
7023           a fullRebreak() that really bereks fully
7024
7025         * textcursor.h: new struct for cursor-related data
7026
7027 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7028
7029         * lyx_main.C (LyX): get full path of document loaded on the
7030         command line
7031
7032 2003-06-26  André Pönitz  <poenitz@gmx.net>
7033
7034         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7035           remove unused/broken operator>,<,>=.
7036
7037         *       text.C: remove only use of broken operator<= in an Assert().
7038
7039 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7040
7041         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7042         moved errorlist_.clear to showErrorList
7043
7044 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7045
7046         * converter.C (scanLog, runLaTeX):
7047         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7048         move the bv->showErrorList call to the callers
7049         * lyxfunc.C: i.e. here...
7050         * text2.C: and here
7051         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7052         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7053         namespace, the second to...
7054         * buffer_funcs (BufferFormat, parseErrors): added
7055         * errorlist.C (ErrorList(TeXErrors const &)): removed
7056
7057 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7058
7059         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7060
7061 2003-06-24  "Garst R. Reese" <reese@isn.net>
7062
7063         * debug.C: fix typo
7064
7065 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7066
7067         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7068
7069         * version.C.in: change docversion to 1.4
7070
7071 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7072
7073         * buffer.C: fix a bug just introduced
7074
7075 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7076
7077         * buffer.[Ch]: added the parseError signal and use it, removed
7078         sgmlError
7079         * BufferView.[Ch] (addError): moved to ...
7080         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7081         to the Buffer::parseError signal to catch (guess what) parse errors
7082         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7083
7084 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7085
7086         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7087         ability to create a buffer and to return an existing one from
7088         the list. Moved these functions to...
7089         * buffer_funcs.[Ch]: added
7090         * BufferView.[Ch] (loadLyXFile): added
7091         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7092         job removed from bufferlist::loadLyXFile.
7093         * buffer.C (setReadOnly): make it work without view
7094         (i.e added an if (users))
7095
7096 2003-06-19  Angus Leeming  <leeming@lyx.org>
7097
7098         * lfuns.h:
7099         * LyXAction.C (init):
7100         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7101         with LFUN_DIALOG_SHOW <name> <data>.
7102
7103 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7104
7105         * CutAndPaste.C (availableSelections): small compilation fix for
7106         ancient (gcc 2.9x) compilers
7107
7108 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * text3.C (cursorNext): add tmp var
7111
7112         * text2.C (updateCounters): for function calling out of for clause
7113         (replaceSelectionWithString): ditto
7114         (insertStringAsParagraphs): ditto
7115         (getColumnNearX): add tmp var
7116         (setCursorFromCoordinates): add tmp var
7117         (cursorDownParagraph): add tmp var
7118         (deleteEmptyParagraphMechanism): add tmp var
7119
7120         * text.C (insertChar): add tmp var
7121
7122         * rowpainter.C (paintDepthBar): add tmp var
7123
7124         * CutAndPaste.C (availableSelections): potentially check all
7125         paragraphs in a cut to fill the shown strings.
7126
7127 2003-06-18  André Pönitz  <poenitz@gmx.net>
7128
7129         * kbmap.[Ch]: use vector<> instead of list<>
7130
7131 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7132
7133         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7134         pasteSelection with index
7135
7136         * text2.C (pasteSelection): modify, call pasteSelection with index
7137
7138         * paragraph.C (asString): reimplement version with no interval to
7139         call the one with interval.
7140
7141         * lyxtext.h: add index arg to pasteSelection
7142
7143         * MenuBackend.C (MenuItem): handle PasteRecent
7144         (Menu::read::Menutags): add md_pasterecent
7145         (read): handle it
7146         (expandPasteRecent): new function
7147         (expand): use it
7148
7149         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7150
7151         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7152         the limited stack
7153         (availableSelections): new function
7154
7155 2003-06-17  Angus Leeming  <leeming@lyx.org>
7156
7157         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7158
7159 2003-06-17  Angus Leeming  <leeming@lyx.org>
7160
7161         * lfuns.h:
7162         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7163
7164         * lyxfunc.C (dispatch): invoke it.
7165
7166 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7167
7168         * iterators.C (operator++, ParPosition): reintroduce some
7169         const_cast for the benefit of older compilers.
7170
7171 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7172
7173         * text3.C (dispatch): do not modify clipboard when doing
7174         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7175         LFUN_DELETE_SKIP on a selection selection
7176
7177 2003-06-16  André Pönitz  <poenitz@gmx.net>
7178
7179         * BufferView.C:
7180         * buffer.C:
7181         * buffer.h:
7182         * paragraph.C:
7183         * tabular.[Ch]: IU of clone() and getLabelList();
7184
7185 2003-06-13  André Pönitz  <poenitz@gmx.net>
7186
7187         * tabular.h: compactification
7188
7189 2003-06-12  André Pönitz  <poenitz@gmx.net>
7190
7191         * tabular.C:
7192         * tabular.h:
7193         * tabular_funcs.h: some renaming plus whitespace
7194
7195 2003-06-12  André Pönitz  <poenitz@gmx.net>
7196
7197         * BufferView.C:
7198         * BufferView_pimpl.C:
7199         * CutAndPaste.C:
7200         * buffer.C:
7201         * iterators.[Ch]:
7202         * lyxfunc.C:
7203         * text.C:
7204         * toc.C: Return a Paragraph & for ParIterator::operator*()
7205
7206 2003-06-11  John Levon  <levon@movementarian.org>
7207
7208         * lyx_main.C:
7209         * ToolbarBackend.h:
7210         * ToolbarBackend.C: add "Toolbars" section and
7211         put the flags there
7212
7213 2003-06-10  Angus Leeming  <leeming@lyx.org>
7214
7215         * lfuns.h:
7216         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7217
7218         * lyxfunc.C (dispatch): invoke it.
7219
7220 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7221
7222         * main.C: protect <ios> with HAVE_IOS
7223         (main): protect sync_with_stdio with HAVE_IOS
7224
7225 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7226
7227         * text2.C (cutSelection): adjust
7228         (pasteSelection): adjust
7229
7230         * messages.C: handle get of empty string
7231
7232         * main.C (main): use sync_with_stdio(false)
7233
7234         * lyxfunc.C (dispatch): adjust
7235
7236         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7237         (WriteAs): remove unneeded BufferView arg.
7238
7239         * bufferparams.h: use correct types on papersize, papersize2 and
7240         paperpackage.
7241
7242         * bufferparams.C (readToken): adjust for type
7243         (writeLaTeX): add missing cases to switch.
7244
7245         * bufferlist.C (quitWriteBuffer): adjust
7246         (close): adjust
7247
7248         * buffer.C (asciiParagraph): remove some commented code.
7249
7250         * CutAndPaste.C: remove current_view extern variable.
7251         (cutSelection): add BufferParams arg.
7252         (eraseSelection): add BufferParams arg.
7253         (pasteSelection): add Buffer const & arg
7254
7255 2003-06-07  John Levon  <levon@movementarian.org>
7256
7257         * buffer.C:
7258         * paragraph_funcs.C:
7259         * paragraph_pimpl.C:
7260         * text.C:
7261         * text2.C:
7262         * paragraph.h:
7263         * paragraph.C: allow InsetERT to freely space lines,
7264         and some consolidation of code
7265
7266 2003-06-06  José Matos  <jamatos@fep.up.pt>
7267
7268         * buffer.C (makeDocBookFile): fix bug #821
7269
7270 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7271
7272         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7273
7274 2003-06-04  Angus Leeming  <leeming@lyx.org>
7275
7276         * buffer.C: bump format to 224.
7277
7278 2003-06-05  André Pönitz  <poenitz@gmx.net>
7279
7280         * text2.C (redoParagraphs): remove two const_cast<>
7281
7282 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7283
7284         * ParagraphList.h: remove last remnants of NO_STD_LIST
7285
7286 2003-06-03  Angus Leeming  <leeming@lyx.org>
7287
7288         * factory.C (createInset): small change to the way InsetExternal's params
7289         are set.
7290
7291 2003-06-04  André Pönitz  <poenitz@gmx.net>
7292
7293         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7294
7295         * paragraph_pimpl.h:
7296         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7297
7298         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7299
7300         * undo_funcs.C: make some simple cases of undo work again
7301
7302 2003-06-03  John Levon  <levon@movementarian.org>
7303
7304         * ispell.C: HPUX doesn't have sys/select.h
7305         (from Albert Chin)
7306
7307 2003-06-03  John Levon  <levon@movementarian.org>
7308
7309         * CutAndPaste.C: update tabular and include inset
7310         buffer references
7311
7312         * buffer.h:
7313         * paragraph.h:
7314         * paragraph.C: remove owningBuffer(), don't pass Buffer
7315         to clone()
7316
7317         * factory.C: insetGraphicsParams changed
7318
7319 2003-06-02  John Levon  <levon@movementarian.org>
7320
7321         * LyXAction.C:
7322         * factory.C:
7323         * lfuns.h:
7324         * lyxfunc.C:
7325         * text3.C: remove insetparent
7326
7327 2003-06-02  John Levon  <levon@movementarian.org>
7328
7329         * buffer.h:
7330         * buffer.C: fix inset_iterator.end(), move out of line
7331         (bug 1149)
7332
7333 2003-06-01  John Levon  <levon@movementarian.org>
7334
7335         * text3.C: use a proper cut/paste when doing inset
7336         insert (from Jürgen Spitzmüller)
7337
7338 2003-06-01  John Levon  <levon@movementarian.org>
7339
7340         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7341
7342 2003-05-30  André Pönitz  <poenitz@gmx.net>
7343
7344         * rowpainter.C: unify second drawing phase
7345
7346 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7347
7348         * trans_mgr.C: remove one case of current_view
7349
7350         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7351
7352         * paragraph_funcs.h: remove paragraph.h include
7353
7354         * paragraph.h: delete NO_STD_LIST stuff
7355
7356         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7357
7358         * buffer.h: remove paragraph.h include
7359
7360         * ParagraphList.C: delete file
7361
7362         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7363
7364         * toc.C (getTocList): adjust
7365
7366         * paragraph_pimpl.C (validate): adjust
7367
7368         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7369
7370         * paragraph.C (Paragraph): adjust
7371         (getPositionOfInset): use const_iterator, adjust
7372         (bibitem): use const_iterator, adjust
7373         (setInsetOwner): adjust
7374
7375         * iterators.C (operator++): adjust
7376
7377         * InsetList.[Ch]: Replace selfmade iterator with standard
7378         vector::iterator also introduce const_iterator. Remove getPos,
7379         getInset and setInset from InsetTable. Adjust accordingly.
7380
7381         * BufferView.C (lockInset): adjust
7382         (ChangeInsets): adjust
7383
7384         * tabular.[Ch]: delete commented same_id functions
7385
7386 2003-05-28  John Levon  <levon@movementarian.org>
7387
7388         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7389
7390 2003-05-28  André Pönitz  <poenitz@gmx.net>
7391
7392         * metricsinfo.[Ch]: remove 'fullredraw' member
7393
7394 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7395
7396         * lyxtextclass.C (operator): remove caching.
7397
7398 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7399
7400         * text3.C: adjust
7401
7402         * text2.C (cursorBottom): adjust
7403         (setCounter): use ParagraphList::find, adjust
7404
7405         * text.C (workWidth): use ParagraphList::find, adjust
7406
7407         * lyxcursor.C (LyXCursor): adjust
7408
7409         * buffer.C (inset_iterator): adjust
7410
7411         * ParagraphList.h: make iterator(value_type) private, make
7412         ParagraphList a friend of iterator.
7413
7414         * ParagraphList.C (find): new function
7415
7416         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7417
7418 2003-05-27  André Pönitz  <poenitz@gmx.net>
7419
7420         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7421
7422 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7423
7424         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7425
7426 2003-05-26  John Levon  <levon@movementarian.org>
7427
7428         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7429
7430 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7431
7432         * remove same_id from function signatures, adjust.
7433
7434 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7435
7436         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7437
7438         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7439
7440         * paragraph.C (Paragraph): get rid of same_ids parameter
7441
7442         * ParagraphList.C (insert): adjust
7443         (push_back): adjust
7444
7445 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7446
7447         * paragraph_funcs.C (breakParagraph): adjust
7448         (breakParagraphConservative): adjust
7449
7450         * buffer.C (readParagraph): adjust
7451
7452         * ParagraphList.C (insert): take a reference instead of a pointer
7453         (insert): adjust
7454
7455         * paragraph.[Ch] (id): new function
7456
7457         * bufferlist.C (newFile): adjust
7458
7459         * ParagraphList.C (ParagraphList): adjust
7460         (assign): adjust
7461         (push_back): take a reference instead of a pointer.
7462
7463         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7464
7465         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7466         instead.
7467
7468         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7469         set else use old code.
7470
7471         * ParagraphList.C: remove all NO_NEXT code and only compile this
7472         code of NO_STD_LIST is set.
7473
7474 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7475
7476         * BufferView_pimpl.C:
7477         * TextCache.C:
7478         * TextCache.h:
7479         * bufferlist.C:
7480         * errorlist.h:
7481         * format.C:
7482         * format.h:
7483         * graph.C:
7484         * lyxfunc.C:
7485         * lyxrc.C:
7486         * graphics/GraphicsConverter.C:
7487         * graphics/PreviewLoader.C: header adjustment
7488
7489 2003-05-23  Angus Leeming  <leeming@lyx.org>
7490
7491         * LaTeXFeatures.[Ch] (useBabel): new method.
7492         * bufferparams.C (writeLaTeX): use it.
7493
7494 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * ParagraphList.h (set): remove unused function.
7497
7498 2003-05-23  André Pönitz  <poenitz@gmx.net>
7499
7500         * BufferView.C:
7501         * BufferView_pimpl.C:
7502         * buffer.C:
7503         * buffer.h:
7504         * lyxfunc.C:
7505         * undo_funcs.C: setUndo reworked
7506
7507         * iterators.[Ch]: add access to topmost ParagraphList
7508
7509         * lyxtext.[Ch] (workWidth): add a const
7510
7511 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7512
7513         * texrow.[Ch] (increasePos): remove function
7514         * exporter.C (export): removed unused var and outdated comment
7515
7516 2003-05-23  Angus Leeming  <leeming@lyx.org>
7517
7518         * latexrunparams.h: rename fragile as moving_arg.
7519         * paragraph.C (simpleTeXOnePar): ditto.
7520         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7521
7522 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7523
7524         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7525         (createUndo): ditto
7526         (textUndoOrRedo): comment out a currently unused var.
7527
7528         * paragraph.h (NO_NEXT): enable NO_NEXT
7529
7530         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7531
7532         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7533
7534         * exporter.C (Export): adjust for removeAutoInsets removal.
7535
7536         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7537
7538         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7539
7540         * BufferView.[Ch] (removeAutoInsets): delete function
7541
7542 2003-05-22  Angus Leeming  <leeming@lyx.org>
7543
7544         * latexrunparams.h: add a free_spacing variable.
7545
7546         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7547         to pass moving_arg, as the data is stored in runparams.fragile.
7548
7549         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7550         to Inset::latexOptional or to simpleTeXOnePar.
7551
7552         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7553         free_spacing arg to Inset::latexOptional.
7554
7555         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7556         free_spacing arg.
7557
7558 2003-05-22  Angus Leeming  <leeming@lyx.org>
7559
7560         * latexrunparams.h: add fragile and use_babel variables.
7561
7562         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7563         * buffer.C (makeLaTeXFile): store this returned value in
7564         runparams.use_babel, thus passing it to the inset::latex methods.
7565
7566         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7567         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7568
7569         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7570         longer has a fragile arg, as it is stored in runparams.fragile.
7571
7572         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7573         moving_arg parameter as the data is stored in runparams.fragile.
7574
7575         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7576         a fragile parameter as the data is stored in runparams.fragile.
7577
7578 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7579
7580         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7581
7582 2003-05-22  Angus Leeming  <leeming@lyx.org>
7583
7584         * latexrunparams.h: add a 'bool nice' which defaults to false.
7585
7586         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7587         now encapsulated within runparams.
7588
7589         * bufferlist.C (updateIncludedTeXfiles):
7590         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7591
7592 2003-05-22  Angus Leeming  <leeming@lyx.org>
7593
7594         * latexrunparams.h: new file containing struct LatexRunParams.
7595         * Makefile.am: add new file.
7596
7597         * LaTeX.[Ch] (c-tor, run):
7598         * buffer.[Ch] (makeLaTeXFile):
7599         * bufferlist.[Ch] (updateIncludedTeXfiles):
7600         * converter.C (convert, scanLog):
7601         * converter.[Ch] (runLaTeX):
7602         * exporter.C (Export):
7603         * paragraph.[Ch] (simpleTeXOnePar):
7604         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7605         * paragraph_funcs.[Ch] (latexParagraphs):
7606         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7607         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7608         pass around a LatexRunParams parameter.
7609
7610 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7611
7612         * paragraph.[Ch]: remove unused constructor
7613
7614         * ParagraphList.C (erase): new function, taking two iterators
7615
7616 2003-05-22  André Pönitz  <poenitz@gmx.net>
7617
7618         * undo_funcs.C: remove duplicated code
7619
7620         * iterator.[Ch]: operator=
7621
7622 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7623
7624         * tabular.C (SetMultiColumn): ws changes
7625
7626         * rowpainter.C (paintFirst): get rid of a ->previous
7627
7628         * lyx_cb.C (getPossibleLabel): parlist simplification
7629
7630         * BufferView.C (ChangeInsets): simplify slightly.
7631
7632 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7633
7634         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7635         * lfuns.h: new LFUN_SPACE
7636         * lyxfunc.C: protected space has a new lfun
7637         * paragraph_funcs.C: read new space insets
7638         * text3.C:
7639         * factory.C: handle new space insets
7640
7641 2003-05-22  André Pönitz  <poenitz@gmx.net>
7642
7643         * BufferView.C:
7644         * BufferView_pimpl.C:
7645         * buffer.[Ch]:
7646         * lyxfunc.C:
7647         * undo_funcs.C: return a ParIterator from getParFromID.
7648
7649         * iterators.[Ch]: add two const's
7650
7651 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7652
7653         * toc.C (getTocList): adjust
7654
7655         * iterators.[Ch]: rework for parlist
7656
7657         * buffer.C (par_iterator_begin): adjust
7658         (par_iterator_end): adjust
7659
7660         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7661
7662         * BufferView.C (removeAutoInsets): adjust
7663         (ChangeInsets): adjust
7664
7665 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7666
7667         * text.C (top_y): fix bug 1110
7668
7669 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7670
7671         * errorlist.[Ch]: added
7672         * buffer.C:
7673         * BufferView.[Ch]:
7674         * BufferView_pimpl.C:
7675         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7676         instead
7677
7678 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7679
7680         * Makefile.am: ensure that lyx is relinked upon changes to the
7681         various "convenience" libs.
7682
7683 2003-05-20  Angus Leeming  <leeming@lyx.org>
7684
7685         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7686         files are compiled in alphabetical order again.
7687
7688         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7689
7690 2003-05-19  Angus Leeming  <leeming@lyx.org>
7691
7692         * gettext.[Ch]: remove "char const * _(char const *)".
7693
7694 2003-05-19  André Pönitz  <poenitz@gmx.net>
7695
7696         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7697
7698         * Makefile.am:
7699         * BufferView.C:
7700         * DepTable.h:
7701         * LaTeXFeatures.C:
7702         * buffer.C:
7703         * lyxfont.C:
7704         * lyxlex.h:
7705         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7706
7707 2003-05-19  André Pönitz  <poenitz@gmx.net>
7708
7709         * buffer.C:
7710         * lyxlayout.[Ch]:
7711         * lyxtextclass.[Ch]:
7712         * paragraph.C:
7713         * paragraph_funcs.[Ch]:
7714         * text2.C:
7715         * text3.C: more insetenv work
7716
7717 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7718
7719         * ParagraphParameters.C (params2string): small bug fixed
7720
7721 2003-05-16  André Pönitz  <poenitz@gmx.net>
7722
7723         * debug.C:
7724         * bufferview_funcs.C: patch from Kornel Benko to prevent
7725           crash when _(...) is called twice in a statement
7726
7727 2003-05-16  André Pönitz  <poenitz@gmx.net>
7728
7729         * BufferView.C:
7730         * lyxfunc.C:
7731         * text.C:
7732         * text2.C:
7733         * text3.C:
7734         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7735
7736 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7737
7738         * lyx_main.C (init): remove spurious static_cast
7739
7740 2003-05-14  André Pönitz  <poenitz@gmx.net>
7741
7742         * BufferView.C: fix format string
7743
7744 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7745
7746         * BufferView.[Ch] (insertErrors): removed
7747         * BufferView.[Ch] (showErrorList): added
7748         * buffer.C (runChkTeX):
7749         * converter.C (scanLog): call showErrorList instead of inserterrors
7750
7751 2003-05-13  André Pönitz  <poenitz@gmx.net>
7752
7753         * BufferView_pimpl.C:
7754         * buffer.C:
7755         * bufferview_func.C:
7756         * MenuBackend.C:
7757         * lyxfunc.C:
7758         * lyxrc.C:
7759         * tex-accent.C:
7760         * text3.C:
7761         * toc.C:
7762         * tabular_funcs.h: tostr() from its own header
7763
7764         * ParagraphParameters.C:
7765         * ToolbarBackend.C:
7766         * bufferparams.C:
7767         * format.C:
7768         * lyxlex_pimpl.C:
7769         * text3.C: STRCONV()
7770
7771 2003-05-12  André Pönitz  <poenitz@gmx.net>
7772
7773         * BufferView.C:
7774         * BufferView_pimpl.C:
7775         * CutAndPaste.C:
7776         * LaTeX.C:
7777         * LaTeXFeatures.C:
7778         * ParagraphParameters.C:
7779         * buffer.C:
7780         * bufferlist.C:
7781         * bufferparams.C:
7782         * bufferview_funcs.C:
7783         * converter.C:
7784         * counters.C:
7785         * debug.C:
7786         * exporter.C:
7787         * format.C:
7788         * importer.C:
7789         * lyx_cb.C:
7790         * lyx_main.C:
7791         * lyxfont.C:
7792         * lyxfunc.C:
7793         * lyxvc.C:
7794         * paragraph.C:
7795         * paragraph_funcs.C:
7796         * tabular.C:
7797         * tabular_funcs.C:
7798         * text2.C:
7799         * text3.C:  boost::format -> bformat  all over the place
7800
7801
7802 2003-05-09  André Pönitz  <poenitz@gmx.net>
7803
7804         * LColor.[Ch]: Pimpl the #include <map> away
7805
7806 2003-05-09  John Levon  <levon@movementarian.org>
7807
7808         * bufferlist.C: never remove emergency saves
7809
7810 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7811
7812         * Makefile.am: better lib building
7813
7814 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7815
7816         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7817         instead.
7818         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7819         (simpleTeXSpecialChars): adjust
7820         (simpleTeXSpecialChars): adjust
7821         * paragraph.C (simpleTeXOnePar): adjust
7822         * buffer.C (makeLaTeXFile): adjust
7823
7824         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7825
7826         * text2.C (changeDepth): parlist cleanup
7827         (getColumnNearX): ditto
7828
7829         * rowpainter.C (getLabelFont): parlist cleanup
7830
7831         * bufferlist.C (newFile): parlist cleanup
7832
7833         * CutAndPaste.C (eraseSelection): parlist cleanup
7834
7835         * BufferView_pimpl.C (trackChanges): parlist cleanup
7836         (dispatch): ditto
7837
7838         * BufferView.C (lockInset): parlist cleanup.
7839         (ChangeInsets): ditto
7840
7841 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7842
7843         * CutAndPaste.h: Update file header.
7844
7845         * CutAndPaste.C: Update file header.
7846         Store the parts cut out of the Document in a limited_stack.
7847         (copySelection): adjust
7848         (pasteSelection): new function, takes the index in the limited stack.
7849         (nrOfParagraphs): adjust
7850         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7851         simplify error inset insertion.
7852         (checkPastePossible): adjust
7853
7854 2003-05-06  John Levon  <levon@movementarian.org>
7855
7856         * text2.C: don't cast wrap inset to float
7857
7858 2003-05-05  André Pönitz  <poenitz@gmx.net>
7859
7860         * iterator.C:
7861         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7862
7863         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7864           few naked Paragraph *.
7865
7866 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7867
7868         * bufferparams.C: Output warning if a document with missing
7869         TeX document class is loaded
7870         * exporter.C: Disable TeX exports if the document class is missing
7871         * lyxtextclass.C:
7872         * lyxtextclass.h:
7873         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7874         isTeXClassAvailable()
7875
7876 2003-05-03  John Levon  <levon@movementarian.org>
7877
7878         * BufferView.h:
7879         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7880         explicit cursor show/hide
7881
7882         * BufferView_pimpl.h:
7883         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7884         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7885
7886         * lyxfunc.C: hide cursor before dispatching.
7887
7888         * lyx_cb.C:
7889         * lyxfind.C:
7890         * text.C:
7891         * text3.C: remove explicit cursor hides
7892
7893 2003-05-02  André Pönitz  <poenitz@gmx.net>
7894
7895         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7896
7897         * undo_funcs.C:
7898         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7899           linked lists
7900
7901         * text2.C: tiny whitespace
7902
7903 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7904
7905         * undo_funcs.C: almost only ws changes.
7906
7907         * ParagraphList.C (splice): just return if pl is empty.
7908
7909 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7910
7911         * ParagraphList.C (splice): new function.
7912
7913         * CutAndPaste.C (pasteSelection): use it
7914
7915 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7916
7917         * CutAndPaste.C (pasteSelection): remove the last next and
7918         previous from this file.
7919
7920 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7921
7922         * CutAndPaste.C (pasteSelection): more clean up, user proper
7923         ParagraphList functions for pasteing.
7924
7925         * ParagraphList.C (insert): new function, three arg insert
7926
7927 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7928
7929         * ParagraphList.C (insert): new function, three arg insert
7930
7931         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7932         not on paragraphs.
7933
7934 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7935
7936         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7937
7938 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7939
7940         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7941
7942 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7943
7944         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7945         (copySelection): clean up a bit.
7946         (pasteSelection): use make_pair
7947
7948         * ParagraphList.C (ParagraphList): implement copy constructor
7949         (operator=): implement, base on copy constructor.
7950         (assign): new func
7951
7952         * paragraph.C (erase): return a bool
7953
7954         * paragraph_pimpl.C (erasePos): remove function, move contents...
7955         (erase): ... here. Return a bool.
7956         (erase): call erase instead of erasePos.
7957
7958 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7959
7960         * ParagraphList.h: define PitPosPair
7961         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7962         ParagraphList, fix a bug on pasting multiple pars
7963         * text2.C: change interface to C&P
7964
7965 2003-04-30  André Pönitz  <poenitz@gmx.net>
7966
7967         * undo_func.C: revert part of yesterday's patch 2
7968
7969 2003-04-30  John Levon  <levon@movementarian.org>
7970
7971         * LColor.C: s/tabular/table/
7972
7973 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * text3.C (dispatch): do not convert iterator -> pointer
7976         * undo_funcs.C (setCursorParUndo): ditto
7977         * text_funcs.C (transposeChars): ditto
7978
7979         * text2.C (setLayout): ws changes only
7980
7981         * text.C (breakParagraph): do not convert iterator -> pointer
7982         (insertChar): ditto
7983         (acceptChange): ditto
7984         (rejectChange): ditto
7985         (changeCase): ditto
7986         (Delete): ditto
7987         (backspace): ditto
7988
7989         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7990         pointer
7991
7992 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7993
7994         * text3.C (gotoInset): YABG (yet another bad getChar)
7995
7996 2003-04-29  André Pönitz  <poenitz@gmx.net>
7997
7998         * paragraph.h: make operator= private unimplemented as long as
7999           it is unusable
8000
8001         * ParagraphList.C: whitespace
8002
8003         * paragraph.[Ch]:
8004         * paragraph_pimpl.[Ch]:
8005         * paragraph_funcs.C:
8006         * CutAndPaste.C:
8007         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8008
8009         * text2.C:
8010           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8011
8012 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8013
8014         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8015         * paragraph.[Ch] (erase):
8016         * paragraph_pimpl.[Ch] (erase): change return type and value
8017         * text2.C (cutSelection): some rework
8018
8019 2003-04-28  John Levon  <levon@movementarian.org>
8020
8021         * bufferlist.C: changes for unsaved changes dialog
8022
8023 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8024
8025         * bufferlist.C (newFile): set language (messages_) for new
8026         documents also.
8027
8028         * buffer.C (readFile): ws changes only.
8029
8030 2003-04-28  André Pönitz  <poenitz@gmx.net>
8031
8032         * undo_funcs.C:
8033         * lyxfunc.C:
8034         * buffer.[Ch]:
8035         * BufferView_pimpl.C:
8036         * BufferView.C: getParFromID related ParagraphList::iterator changes
8037
8038 2003-04-28  André Pönitz  <poenitz@gmx.net>
8039
8040         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8041           Changes
8042
8043 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8044
8045         * messages.C: remove one more localedir class variable.
8046
8047 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * messages.C (getLocaleDir): singleton generation function
8050         (Pimpl): use it.
8051         (Messages): add a default constructor.
8052
8053         * main.C (main): do not setup localedir here, do not call
8054         gettext_init.
8055
8056         * gettext.C (_): use it.
8057         (gettext_init): delete funciton
8058
8059 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8060
8061         * gettext.C (getLyXMessages): new singleton generating function.
8062
8063         * buffer.C (updateDocLang): adjust
8064
8065         * Makefile.am (messages.o): add target
8066         (main.o): remove target
8067
8068 2003-04-27  John Levon  <levon@movementarian.org>
8069
8070         * bufferlist.C:
8071         * lyx_cb.C:
8072         * lyxfunc.C:
8073         * lyxvc.C: specify cancel button in Alert::prompt
8074
8075 2003-04-26  John Levon  <levon@movementarian.org>
8076
8077         * text3.C:
8078         * lyxfunc.C:
8079         * lfuns.h:
8080         * LyXAction.C: add LFUN_INSET_SETTINGS
8081
8082         * lyxfunc.C: don't enable tabular-feature when there's
8083         just any locking inset
8084
8085 2003-04-26  John Levon  <levon@movementarian.org>
8086
8087         * bufferlist.C: re-add Cancel to buffer close question
8088
8089         * lyxfunc.C: fix import UI a bit
8090
8091 2003-04-25  John Levon  <levon@movementarian.org>
8092
8093         * gettext.C: remove the broken asserts for now
8094
8095 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8096
8097         * messages.C: make case where setlocale cannot comply work better.
8098
8099         * buffer.C (updateDocLang): new function
8100         (changeLanguage): use it
8101         (readFile): use it
8102
8103         * text2.C (setCounter): use B_ a bit.
8104
8105         * lyxlayout.C (Read): be sure to trim the label strings.
8106
8107         * messages.C (Messages): fix typo in comment
8108
8109         * buffer.C (readFile): set message_ after file is loaded.
8110         (makeDocBookFile): remove double return
8111         (changeLanguage): reset message_ upon language change.
8112         (B_): new func, use this to get translated buffer strings.
8113
8114         * main.C: add myself and Jean Marc as authors.
8115
8116 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8117
8118         * messages.[hC]: pimplify Messages, and three different pimpls to be
8119         used in different circumstances.
8120
8121         * gettext.[Ch]: change for use with new message code.
8122
8123 2003-04-24 André Pönitz <poenitz@gmx.net>
8124
8125         * factory.C: support for eqref
8126
8127 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * messages.[Ch]: add missing char
8130
8131         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8132
8133         * messages.[Ch]: New files
8134
8135 2003-04-18  John Levon  <levon@movementarian.org>
8136
8137         * BufferView.h:
8138         * BufferView.C:
8139         * BufferView_pimpl.C:
8140         * lfuns.h:
8141         * LyXAction.C:
8142         * lyxtext.h:
8143         * text2.C: remove layout-copy/paste (bug 778)
8144
8145 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8146
8147         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8148
8149 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8150
8151         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8152         if they succeed. Act accordingly.
8153
8154 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * text2.C (setCharFont): adjust
8157         (setCounter): adjust
8158         (insertStringAsLines): adjust
8159
8160         * text.C (leftMargin): adjust
8161         (setHeightOfRow): adjust
8162
8163         * rowpainter.C (paintFirst): adjust
8164         (paintLast): adjust
8165
8166         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8167         (outerHook): ditto
8168         (isFirstInSequence): ditto
8169         (getEndLabel): ditto
8170         (outerFont): adjust
8171
8172         * paragraph.C (getParLanguage): comment out some hard stuff.
8173
8174         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8175         (sgmlError): ditto
8176         (simpleDocBookOnePar): ditto
8177         (makeDocBookFile): use ParagraphList::iterator
8178
8179         * CutAndPaste.C (pasteSelection): adjust
8180
8181 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * text2.C (getFont): adjust
8184         (getLayoutFont): adjust
8185         (getLabelFont): adjust
8186
8187         * paragraph_funcs.C (TeXOnePar): adjust
8188
8189         * buffer.C (simpleLinuxDocOnePar): adjust
8190         (simpleDocBookOnePar): adjust
8191
8192         * CutAndPaste.C (pasteSelection): adjust
8193
8194         * BufferView.C (getEncoding): adjust
8195
8196         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8197
8198 2003-04-16  John Levon  <levon@movementarian.org>
8199
8200         * lyxfind.C: use parlist stuff for search/changes
8201
8202 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8203
8204         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8205
8206         * text2.C (deleteEmptyParagraphMechanism): adjust
8207
8208         * text2.[Ch] (ownerParagraph): delete func (both of them
8209
8210 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8211
8212         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8213
8214 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8215
8216         * ParagraphList.C: prepare for NO_NEXT
8217
8218 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * text2.C (getFont): adjust
8221         (getLayoutFont): adjust
8222         (getLabelFont): adjust
8223
8224         * paragraph.C (getFont): adjust
8225         (getLabelFont): adjust
8226         (getLayoutFont): adjust
8227
8228         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8229
8230 2003-04-15  John Levon  <levon@movementarian.org>
8231
8232         From Angus Leeming
8233
8234         * lyx_main.C: handle Include in .ui files
8235
8236 2003-04-15  John Levon  <levon@movementarian.org>
8237
8238         * MenuBackend.C: make the doc files length shorter
8239
8240         * ToolbarBackend.h:
8241         * ToolbarBackend.C: handle toolbar placement flags,
8242         Minibuffer
8243
8244 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8247         adjust
8248
8249         * paragraph_funcs.C (TeXOnePar): adjust
8250
8251         * paragraph.C (getLabelFont): add outerfont arg, adjust
8252         (getLayoutFont): ditto
8253         (simpleTeXOnePar): adjust
8254
8255         * paragraph_pimpl.C (realizeFont): delete func
8256
8257 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8258
8259         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8260         row argument, constify cur argument.
8261
8262 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8263
8264         * text2.C (getFont): adjust
8265         (getLayoutFont): adjust
8266         (getLabelFont): adjust
8267
8268         * paragraph_funcs.C (TeXOnePar): adjust
8269         (outerFont): new func...
8270         (realizeFont): ...moved out from here, changed this to facilitate
8271         transition
8272
8273         * paragraph.C (getFont): take outerfont as arg, adjust
8274         (simpleTeXOnePar): add outerfont arg, adjust
8275
8276         * buffer.C (simpleLinuxDocOnePar): adjust
8277         (simpleDocBookOnePar): adjust
8278
8279         * CutAndPaste.C (pasteSelection): adjust
8280
8281         * BufferView.C (getEncoding): adjust
8282
8283 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8284
8285         * text2.C (setCharFont): adjust
8286         (setCounter): adjust
8287
8288         * text.C (leftMargin): adjust
8289         (setHeightOfRow): adjust
8290
8291         * rowpainter.C (paintFirst): adjust
8292         (paintLast): adjust
8293
8294         * paragraph_pimpl.C (realizeFont): adjust
8295
8296         * paragraph.C (isFirstInSequence): move from here...
8297         * paragraph_funcs.C (isFirstInSequence): ...to here
8298
8299         * paragraph.C (outerHook): move from here...
8300         * paragraph_funcs.C (outerHook): ...to here
8301
8302         * paragraph.C (depthHook): move from here...
8303         * paragraph_funcs.C (depthHook): ...to here
8304
8305         * paragraph.C (getEndLabel): move from here...
8306         * paragraph_funcs.C (getEndLabel): ...to here
8307
8308         * text2.C (realizeFont): move from here...
8309         * paragraph_funcs.C (realizeFont): ...to here
8310
8311 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8314
8315 2003-04-14  Angus Leeming  <leeming@lyx.org>
8316
8317         * LColor.[Ch]: scrap LColor mathcursor.
8318
8319 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8320
8321         * lyxlex.[Ch] (text): delete function
8322         * trans.C (Load): adjust
8323         * paragraph_funcs.C (readParToken): adjust
8324
8325 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8326
8327         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8328         vector<char> instead of a char[].
8329
8330         * lyxlex_pimpl.C (getString): adjust
8331         (next): adjust
8332         (lex): use getString
8333         (eatLine): adjust
8334         (nextToken): adjust
8335
8336         * lyxlex.C (text): use pimpl_->getString()
8337         (getBool): ditto
8338         (findToken): ditto
8339
8340 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8341
8342         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8343         (makeFontEntriesLayoutSpecific): temp var for par.size()
8344         (setLayout): temp var for ownerParagraphs().end()
8345         (fullRebreak): temp var for rows().end()
8346         (selectionAsString): temp var for boost::next(startpit), realize
8347         that the while really is a regular for loop.
8348         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8349         setCursor in one place.
8350         (setParagraph): temp vr for ownerParagraphs().end()
8351         (updateCounters): make the while loop a for loop
8352         (cutSelection): temp var for ownerParagraphs().end()
8353         (updateInset): make the do {} while() a regular for loop
8354         (getCursorX): use temp vars
8355         (setCurrentFont): use temp vars
8356         (getColumnNearX): use temp vars
8357
8358 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8359
8360         * text.C (transformChar): use temp var for getChar
8361         (computeBidiTables): use temp var for row->par()
8362         (fill): move temp vars for row->par() and pit->layout() earlier in
8363         the function.
8364         (labelFill): use temp var for row->par()
8365         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8366         asc and desc, realize that pit never changes and that firstpit is
8367         just a duplicate and not needed. Exchange rit->par() with pit in a
8368         lot of places.
8369         (breakAgain): use a temp var for boost::next(rit)
8370         (breakAgainOneRow): ditto
8371         (breakParagraph): use a temp var for rows().begin()
8372         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8373         (cursorRightOneWord): use temp var for cursor.par() and
8374         cursor.pos(), remove usage of tmpcursor.
8375         (cursorLeftOneWord): use temp var for cursor.par() and
8376         cursor.pos() only set cur at end of function.
8377
8378 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8379
8380         * text.C, text2.C: exchange all usage of Paragraph::next with
8381         boost::next(ParagraphList::iterator)
8382
8383         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8384
8385         * text2.C (cursorTop): simplify implementation
8386         (cursorBottom): ditto
8387         (setParagraph): use ParagraphList::iterator
8388         (setCurrentFont): adjust
8389         (getColumnNearX): adjust
8390         (cursorRight): adjust
8391         (cursorLeft): remove usage of Paragraph::previous
8392         (cursorUpParagraph): ditto
8393         (deleteEmptyParagraphMechanism): slight cleanup
8394
8395         * text.C (isBoundary): take a Paragraph const & instead of a
8396         pointer as arg.
8397         (addressBreakPoint): ditto
8398         (leftMargin): remove usage of Paragraph::previous.
8399         (setHeightOfRow): ditto
8400         (cursorLeftOneWord): ditto
8401         (selectNextWordToSpellcheck): ditto
8402         (Delete): ditto
8403         (backspace): ditto
8404         (breakParagraph): remove one usage of Paragraph::next
8405         (redoParagraph): ditto
8406         (acceptChange): ditto
8407         (insertChar): adjust
8408         (rowBreakPoint): adjust
8409
8410         * bufferview_funcs.C (toggleAndShow): adjust
8411
8412 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8413
8414         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8415         methods to access it.
8416         * lyxtext.h:
8417         * text.C: Added updateRowPositions to compute all row positions.
8418         Make top_y and getRowNearY() to use the cached y position
8419
8420 2003-04-11  John Levon  <levon@movementarian.org>
8421
8422         * text.C (rowBreakPoint): reintroduce the labelEnd
8423         checks, code copied from the row fill stuff. Deep voodoo.
8424
8425         * text.C (fill): add a comment and debugging for the
8426         next poor soul.
8427
8428 2003-04-11  John Levon  <levon@movementarian.org>
8429
8430         * text.C: make sure fullrow insets get wrapped to the next line,
8431         even when they're in a manual label
8432
8433 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8434
8435         * text2.C (insertParagraph): make it take ParagraphList::iterator
8436         as arg.
8437         (setLayout): make it return ParagraphList::iterator
8438         (redoParagraphs): ditto
8439         (setCounter): ditto
8440         (checkParagraph): ditto
8441
8442         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8443
8444         * text2.C: adjust several funcs.
8445         (realizeFont): take a ParagraphList::iterator as arg.
8446         (getLayoutFont): ditto
8447         (getLabelFont): ditto
8448         (setCharFont): ditto
8449
8450         * text.C: adjust several funcs.
8451
8452 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8453
8454         * text.C (selectNextWordToSpellcheck): don't accidentally
8455         skip insets
8456
8457 2003-04-10  John Levon  <levon@movementarian.org>
8458
8459         * ToolbarBackend.C (getIcon): special handling for
8460         LFUN_MATH_DELIM
8461
8462 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8463
8464         * text2.C (cursorRight): a getChar assert fixed
8465
8466 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8467
8468         * text2.C (getFont): change to take a ParagraphList::iterator
8469         instead of Paragraph*
8470         Adjust several functions.
8471
8472         * text.C (transformChar): change to take a ParagraphList::iterator
8473         instead of Paragraph*
8474         (singleWidth): ditto
8475         Adjust several functions.
8476
8477         * rowpainter.C: adjust several functions
8478         * rowpainter.h:store a ParagraphList::iterator and not a
8479         Paragraph&.
8480
8481
8482 2003-04-09  John Levon  <levon@movementarian.org>
8483
8484         * lyxfunc.C:
8485         * lfuns.h:
8486         * LyXAction.h:
8487         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8488         and the "help" bits as well
8489
8490 2003-04-09  John Levon  <levon@movementarian.org>
8491
8492         * ToolbarBackend.h:
8493         * ToolbarBackend.C: allow multiple toolbars
8494
8495 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8496
8497         * undo_funcs.C (setCursorParUndo): adjust
8498
8499         * text_funcs.C (transposeChars): adjust
8500
8501         * text3.C (gotoNextInset): adjust
8502         (dispatch): adjust
8503
8504         * text2.C (setLayout): adjust
8505         (changeDepth): adjust
8506         (setFont): adjust
8507         (redoParagraphs): adjust
8508         (selectionAsString): adjust
8509         (setParagraph): adjust
8510         (insertInset): adjust
8511         (cutSelection): adjust
8512         (copySelection): adjust
8513         (pasteSelection): adjust
8514         (insertStringAsLines): adjust
8515         (updateInset): adjust
8516         (setCursor): change to take a ParagraphList::iterator parameter
8517         (setCursorIntern): change to take a ParagraphList::iterator parameter
8518         (setCurrentFont): adjust
8519         (cursorLeft): adjust
8520         (cursorRight): adjust
8521         (deleteEmptyParagraphMechanism): adjust
8522
8523         * text.C (breakParagraph): adjust
8524         (insertChar): adjust
8525         (acceptChange): adjust
8526         (rejectChange): adjust
8527         (selectNextWordToSpellcheck): adjust
8528         (changeCase): adjust
8529         (Delete): adjust
8530         (backspace): adjust
8531
8532         * lyxfind.C (SearchForward): adjust
8533         (SearchBackward): adjust
8534         (nextChange): adjust
8535
8536         * lyxcursor.C (par): adjust
8537
8538         * lyxcursor.h: store a ParagraphList::iterator instead of a
8539         Paragraph*
8540
8541         * lyx_cb.C (getPossibleLabel): adjust
8542
8543         * bufferview_funcs.C (toggleAndShow): adjust
8544
8545         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8546         (dispatch): adjust
8547
8548         * BufferView.C (removeAutoInsets): adjust
8549         (lockedInsetStoreUndo): adjust
8550
8551 2003-04-09  John Levon  <levon@movementarian.org>
8552
8553         * ToolbarBackend.C: try icon without argument
8554         if with argument fails
8555
8556 2003-04-08  John Levon  <levon@movementarian.org>
8557
8558         * ToolbarBackend.h:
8559         * ToolbarBackend.C: add getIcon(), handle tooltip,
8560         and change from "Icon" to "Item".
8561
8562 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8563
8564         * BufferView.C (lockInset): another bad getchar crunched
8565
8566 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8567
8568         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8569         again)
8570
8571 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8572
8573         * lyxfind.C (searchForward, searchBackwards): bug 782
8574
8575 2003-04-07  John Levon  <levon@movementarian.org>
8576
8577         * paragraph.C: remove dead comment
8578
8579         * text.C: remove troublesome depth-fiddling code
8580         in leftMargin() and rightMargin() (bug 1017)
8581
8582         * text.C: fix breaking of rows in nested lists
8583         (bug 1004)
8584
8585         * text2.C (updateCounters): fix up depth values
8586         (bug 1013)
8587
8588 2003-04-07  John Levon  <levon@movementarian.org>
8589
8590         * BufferView_pimpl.C: clear message when doc finishes resizing,
8591         and after a mouse event
8592
8593         * lyxfunc.C: clear message after exiting inset
8594
8595 2003-04-07  John Levon  <levon@movementarian.org>
8596
8597         * bufferview_funcs.C: show math status not outside
8598         status in the statusbar
8599
8600 2003-04-07  John Levon  <levon@movementarian.org>
8601
8602         * lyxfunc.C: note status changed after a depth change
8603
8604 2003-04-04  Angus Leeming  <leeming@lyx.org>
8605
8606         * LaTeX.h: move AuxInfo operator==, != out of line.
8607         Remove LaTeX virtual destructor; nothing derives from it.
8608         Move operator()() out of public area and rename it startscript().
8609         Change protected for private.
8610
8611 2003-04-04  Angus Leeming  <leeming@lyx.org>
8612
8613         * lyxfunc.C:
8614         * text2.C: remove unneeded #includes.
8615
8616 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8617
8618         * text2.C (dEPM): fix the heigth of the next row
8619
8620 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8621
8622         * text.C: squashed an invalid getChar requester + some ws changes
8623
8624 2003-04-03  John Levon  <levon@movementarian.org>
8625
8626         * bufferview_funcs.h:
8627         * bufferview_funcs.C:
8628         * lyxfunc.C:
8629         * lyxtext.h:
8630         * text2.C: make getStatus work for the env depth lfuns
8631
8632 2003-04-03  John Levon  <levon@movementarian.org>
8633
8634         * bufferview_funcs.h:
8635         * bufferview_funcs.C:
8636         * lyxfunc.C:
8637         * lyxtext.h:
8638         * text2.C: parlistize decDepth(), by merging it with incDepth()
8639
8640 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8641
8642         * lyxrow.h: store a ParagraphList::iterator instead of a
8643         Paragraph* and adjust other class functions to suit.
8644
8645         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8646         above.
8647
8648 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8649
8650         * text2.C (setCursor): do not anchor to cursor row for the time being
8651
8652 2003-04-02  John Levon  <levon@movementarian.org>
8653
8654         * LyXAction.C:
8655         * lfuns.h:
8656         * lyx_main.C:
8657         * lyxtext.h:
8658         * text.C:
8659         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8660
8661 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8662
8663         * paragraph.h: make ParagraphList and ParagraphList::iterator
8664         friends of Paragraph.
8665
8666         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8667
8668         * ParagraphList.C: Use the private next_ and previous_ from
8669         Paragraph.
8670
8671 2003-04-01  John Levon  <levon@movementarian.org>
8672
8673         * ToolbarBackend.h:
8674         * ToolbarBackend.C:
8675         * Makefile.am: rename, remove defaults gunk
8676
8677         * MenuBackend.h:
8678         * MenuBackend.C: remove defaults gunk
8679
8680         * Languages.h:
8681         * Languages.C: remove defaults gunk
8682
8683         * lyx_main.h:
8684         * lyx_main.C: error out if files couldn't be found.
8685
8686 2003-04-02  John Levon  <levon@movementarian.org>
8687
8688         * text2.C: make incDepth() use parlist
8689
8690 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8691
8692         * undo_funcs.C (firstUndoParagraph): adjust
8693
8694         * text3.C (gotoInset): adjust
8695         (dispatch): adjust, and rewrite loop.
8696
8697         * text2.C (init): adjust, and rewrite loop.
8698         (redoParagraphs): adjust
8699         (updateInset): adjust, and rewrite loop.
8700         (deleteEmptyParagraphMechanism): adjust
8701
8702         * tabular.C (LyXTabular): adjust
8703         (SetMultiColumn): adjust
8704         (TeXRow): adjust
8705
8706         * lyxtext.[Ch] (ownerParagraph): delete function
8707         (ownerParagraphs): new function returns a ParagraphList.
8708
8709         * BufferView.C (removeAutoInsets): adjust
8710         (insertErrors): adjust
8711         (setCursorFromRow): adjust
8712
8713 2003-04-01  Angus Leeming  <leeming@lyx.org>
8714
8715         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8716         in the frontends.
8717
8718 2003-04-02  John Levon  <levon@movementarian.org>
8719
8720         * lyxtext.h:
8721         * text.C:
8722         * Makefile.am:
8723         * text_funcs.h:
8724         * text_funcs.C: make transposeChars a free function
8725
8726         * lyxrow_funcs.C: remove wrong comment
8727
8728 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8729
8730         * lyxtext.h: adjust
8731         * rowpainter.C: adjust
8732         * text.C: adjust
8733         * text2.C: adjust
8734         * text3.C: adjust
8735
8736         * lyxrow_funcs. [Ch]: new files
8737
8738         * lyxrow.[Ch]: remove next and previous pointers
8739         (next,previous): remove accessor functions
8740         (isParEnd): move to lyxrow_funcs
8741         (lastPos): move to lyxrow_funcs
8742         (nextRowIsAllInset): move to lyxrow_funcs
8743         (lastPrintablePos): move to lyxrow_funcs
8744         (numberOfSeparators): move to lyxrow_funcs
8745         (numberOfHfills): move to lyxrow_funcs
8746         (numberOfLabelHfills): move to lyxrow_funcs
8747         (hfillExpansion): move to lyxrow_funcs
8748
8749         * lyxfunc.C: adjust
8750
8751         * bufferview_funcs.C (toggleAndShow): adjust
8752
8753         * RowList.h: Remove class RowList from file leave just a
8754         std::list<Row>.
8755
8756         * RowList.C: delete file
8757
8758         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8759         and lyxrow_funcs.h
8760
8761 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8762
8763         * text3.C (cursorPrevious): adjust
8764         (cursorNext): adjust
8765         (dispatch): adjust
8766
8767         * text2.C (redoHeightOfParagraph): adjust
8768         (redoDrawingOfParagraph): adjust
8769         (setCursor): adjust
8770
8771         * text.C (breakParagraph): adjust
8772         (insertChar): adjust
8773         (backspace): adjust
8774
8775         * rowpainter.C (RowPainter): adjust
8776         (leftMargin): simplify and adjust
8777         (most rowpainter functions): adjust.
8778
8779         * rowpainter.h: store the row as RowList::iterator not as Row*
8780
8781         * lyxcursor.C (row): taka RowList::iterator as arg
8782         (irow): ditto
8783
8784         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8785         of Row*.
8786
8787 2003-04-01  Angus Leeming  <leeming@lyx.org>
8788
8789         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8790         stuff like bool Bool.
8791
8792 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8793
8794         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8795         rewrite a loop
8796
8797 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8798
8799         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8800         RowList::iterator.
8801
8802         * lyxtext.h (rows): drop one version and leve a const variant that
8803         returns a RowList::iterator.
8804
8805 2003-03-31  Angus Leeming  <leeming@lyx.org>
8806
8807         * text.C (fill): ensure that the signature is the same as that in the
8808         header file.
8809
8810 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * text2.C (redoParagraphs): adjust
8813         (updateCounters): adjust
8814         (checkParagraph): adjust
8815         (getColumnNearX): adjust and reformat a bit.
8816
8817         * text.C (top_y): adjust
8818         (workWidth): adjust
8819         (leftMargin): adjust
8820         (prepareToPrint): adjust
8821         (getRow): adjust
8822         (getRowNearY): adjust
8823
8824         * lyxtext.h: make rowlist_ mutable.
8825
8826         * RowList.h: add const_iterator
8827         * RowList.C: adjust for RowList::const_iterator.
8828
8829         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8830         adjust.
8831
8832 2003-03-31  John Levon  <levon@movementarian.org>
8833
8834         * lyxrc.h:
8835         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8836
8837         * lyx_main.C: set default fonts from using lyx_gui funcs
8838
8839         * exporter.C: pdf_mode moved from lyxrc
8840
8841         * lyx_cb.C:
8842         * lyxfunc.C: changes from above
8843
8844 2003-03-31  John Levon  <levon@movementarian.org>
8845
8846         * lyx_main.C: fix to the last fix
8847
8848 2003-03-31  John Levon  <levon@movementarian.org>
8849
8850         * bufferlist.C: "Load original" -> "Load Original"
8851
8852         * converter.C:
8853         * exporter.C:
8854         * importer.C:
8855         * lyx_main.C:
8856         * format.C: more Alert cleanups
8857
8858 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8859
8860         * text2.C (removeParagraph): make it take a RowList::iterator as
8861         arg, adjust.
8862         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8863         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8864
8865         * text.C (anchor_row): make it take a RowList::iterator as arg,
8866         adjust.
8867         (computeBidiTables): make it take a const reference to Row instead
8868         of Row pointer, adjust.
8869         (leftMargin): make it take a RowList::iterator as arg, adjust.
8870         (rowBreakPoint): adjust
8871         (breakAgainOneRow): make it take a RowList::iterator as arg,
8872         adjust.
8873         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8874
8875         * bufferview_funcs.C (toggleAndShow): adjust
8876
8877 2003-03-30  John Levon  <levon@movementarian.org>
8878
8879         * Makefile.am:
8880         * BoostFormat.h:
8881         * boost-inst.C: moved to support
8882
8883         * several files: changes as a result
8884
8885 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8886
8887         * text2.C (LyXText): adjust.
8888         (init): adjust
8889         (removeRow): make it take a RowList::iterator as arg, adjust.
8890         (fullRebreak): adjust
8891         (deleteEmptyParagraphMechanism): adjust
8892         (clearPaint): adjust
8893         (postPaint): adjust
8894
8895         * text.C (top_y): adjust
8896         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8897         (breakAgain): make it take a RowList::iterator as arg, adjust.
8898         (breakParagraph): adjust
8899         (insertChar): adjust
8900         (backspace): adjust
8901
8902         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8903         need_break_row, and refresh_row.
8904
8905         * text3.C (dispatch): adjust
8906
8907         * text2.C (checkParagraph): adjust
8908         (setCursor): adjust
8909         (setCursorFromCoordinates): adjust
8910
8911         * text.C (top_y): adjust
8912         (workWidth): adjust
8913         (getRow): make it return a RowList::iterator, adjust
8914         (getRowNearY): make it return a RowList::iterator, adjust
8915
8916         * text2.C (init): adjust
8917         (insertRow): remove function
8918         (insertParagraph): adjust
8919         (redoParagraphs): adjust
8920         (fullRebreak): adjust
8921         (updateCounters): adjust
8922
8923         * text.C (top_y): rewrite to use RowList iterators.
8924         (top_y): adjust
8925         (setHeightOfRow): rewrite to sue RowList iterators.
8926         (appendParagraph): adjust
8927         (breakAgain): adjust
8928         (breakAgainOneRow): adjust
8929         (breakParagraph): adjust
8930         (getRow): adjust
8931         (getRowNearY): adjust, and remove commented code.
8932
8933         * lyxtext.h (firstRow): delete function
8934         (lastRow): delete function
8935         (rows): new function (const and non-const versions.)
8936         (insertRow): delete function
8937
8938         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8939
8940 2003-03-29  John Levon  <levon@movementarian.org>
8941
8942         * BufferView_pimpl.C: always update scrollbar top
8943         because pasting text when we're anchored could mean we
8944         miss an update altogether
8945
8946 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8947
8948         * text2.C (init): use rowlist_.end() and not 0.
8949         (insertRow): change to take a RowList::iterator as arg, adjust
8950         for this.
8951         (insertParagraph): change to take a RowList::iterator as arg,
8952         adjust for this.
8953         (redoParagraphs): remove some debug msgs.
8954
8955         * text.C (appendParagraph): change to take a RowList::iterator
8956         arg, adjust for this.
8957         (breakAgain): add an assert
8958         (breakAgainOneRow): ditto
8959
8960 2003-03-29  John Levon  <levon@movementarian.org>
8961
8962         * text2.C: do not clear selection after inc/decDepth
8963         (bug 550)
8964
8965 2003-03-29  John Levon  <levon@movementarian.org>
8966
8967         * BufferView.C:
8968         * buffer.C: fix broken strerrors according to Lars
8969
8970 2003-03-29  John Levon  <levon@movementarian.org>
8971
8972         * converters.C: more Alert cleanups
8973
8974 2003-03-29  John Levon  <levon@movementarian.org>
8975
8976         * bufferview_funcs.C: remove pointless Alert
8977
8978         * buffer.C: fix confusing error message when
8979         a template is chmoded 000
8980
8981 2003-03-29  John Levon  <levon@movementarian.org>
8982
8983         * BufferView.C:
8984         * BufferView.h:
8985         * BufferView_pimpl.C: Alert fixes
8986
8987         * Makefile.am:
8988         * tabular.C:
8989         * tabular-old.C: remove unused table compat reading
8990
8991 2003-03-29  John Levon  <levon@movementarian.org>
8992
8993         * BufferView.C:
8994         * buffer.C:
8995         * lyx_cb.h:
8996         * lyx_cb.C: more Alert cleanups
8997
8998         * lyxfunc.C: don't allow chktex if not latex document
8999
9000 2003-03-29  John Levon  <levon@movementarian.org>
9001
9002         * lyx_cb.C:
9003         * BufferView.C:
9004         * buffer.C: warnings pushed down from support/,
9005         kill err_alert
9006
9007 2003-03-29  John Levon  <levon@movementarian.org>
9008
9009         * lyxfunc.C: safety check for C-r (revert)
9010
9011 2003-03-29  John Levon  <levon@movementarian.org>
9012
9013         * bufferlist.h:
9014         * bufferlist.C: several UI fixes using Alert::prompt.
9015         Fix the pointless looping quit code. Fix stupid revert
9016         behaviour (bug 938)
9017
9018         * lyxvc.h:
9019         * lyxvc.C:
9020         * lyx_cb.C: use Alert::prompt
9021
9022         * lyx_main.C: remove a silly question
9023
9024         * lyxfunc.C: remove a couple of silly questions,
9025         use Alert::prompt
9026
9027 2003-03-28  John Levon  <levon@movementarian.org>
9028
9029         * text2.C: fix bug 974 (End on empty par)
9030
9031 2003-03-28  John Levon  <levon@movementarian.org>
9032
9033         * BufferView_pimpl.C:
9034         * LyXAction.C:
9035         * lfuns.h: remove do-nothing math greek lfuns
9036
9037 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9038
9039         * lyxgluelength.h (isValidGlueLength): add default arg on
9040         parameter 2. Remove default arg from friend in class.
9041
9042         * lyxlength.h (isValidLength): add default arg on parameter 2.
9043         Remove default arg from friend in class.
9044
9045         * text2.C (LyXText): adjust, initialize refresh_row.
9046         (init): adjust
9047         (removeRow): adjust
9048         (insertRow): adjust
9049         (insertParagraph): adjst
9050         (redoParagraphs): adjust
9051         (fullRebreak): adjust
9052         (updateCounters): adjust
9053         (deleteEmptyParagraphMechanism): first attempt at fixing a
9054         crashing bug.
9055
9056         * text.C (top_y): adjust
9057         (setHeightOfRow): adjust
9058         (getRow): adjust
9059         (getRowNearY): adjust
9060
9061         * lyxtext.h: include RowList.h
9062         (~LyXText): not needed anymore, deleted.
9063         (firstRow): modify for RowList
9064         (lastRow): new function
9065         Delete firstrow and lastrow class variables, add a Rowlist
9066         rowlist_ class variable.
9067
9068         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9069         paragraph is empty.
9070
9071         * RowList.C (insert): fix case where it == begin().
9072
9073 2003-03-26  Angus Leeming  <leeming@lyx.org>
9074
9075         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9076         the thesaurus dialog.
9077
9078 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9079
9080         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9081
9082         * RowList.[Ch]: new files
9083
9084         * ParagraphList.C (erase): handle the case where it == begin
9085         correctly.
9086
9087 2003-03-25  John Levon  <levon@movementarian.org>
9088
9089         * Makefile.am:
9090         * aspell_local.h:
9091         * aspell.C: add new aspell support
9092
9093         * lyxrc.h:
9094         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9095         have it accessible.
9096
9097 2003-03-25  Angus Leeming  <leeming@lyx.org>
9098
9099         * lfuns.h:
9100         * LyXAction.C (init): new LFUN_INSET_INSERT.
9101
9102         * BufferView_pimpl.C (dispatch): split out part of the
9103         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9104
9105         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9106         LFUN_INSET_APPLY.
9107
9108 2003-03-25  Angus Leeming  <leeming@lyx.org>
9109
9110         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9111
9112 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9113
9114         * text2.C:
9115         * text3.C: remove useless row->height(0)
9116
9117 2003-03-25  John Levon  <levon@movementarian.org>
9118
9119         * lyxtext.h:
9120         * text2.C:
9121         * text3.C: rename the refreshing stuff to better names
9122
9123 2003-03-24  John Levon  <levon@movementarian.org>
9124
9125         * BufferView_pimpl.h:
9126         * BufferView_pimpl.C: update layout choice on a mouse
9127         press/release
9128
9129 2003-03-23  John Levon  <levon@movementarian.org>
9130
9131         * Makefile.am: fix commandtags.h reference
9132
9133 2003-03-22  John Levon  <levon@movementarian.org>
9134
9135         * BufferView_pimpl.C:
9136         * lyxtext.h:
9137         * rowpainter.C:
9138         * rowpainter.h:
9139         * text.C:
9140         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9141
9142 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9143
9144         * lyxtext.h:
9145         * text.C: take the rtl methods out of line
9146
9147 2003-03-21 André Pönitz <poenitz@gmx.net>
9148
9149         * metricsinfo.[Ch]: new files containing structures to be passed around
9150         during the two-phase-drawing...
9151
9152 2003-03-21 André Pönitz <poenitz@gmx.net>
9153
9154         * lyxtextclass.C: read 'environment' tag.
9155
9156 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9157
9158         * text2.C (removeRow): fix bug 964
9159
9160 2003-03-20  John Levon  <levon@movementarian.org>
9161
9162         * rowpainter.C:
9163         * text.C:
9164         * text2.C: paint cleanups. Inset::update() dropped font
9165         parameter
9166
9167 2003-03-19  John Levon  <levon@movementarian.org>
9168
9169         * lyxfunc.C: only fitcursor/markDirty if available()
9170
9171 2003-03-19  John Levon  <levon@movementarian.org>
9172
9173         * commandtags.h: rename to ...
9174
9175         * lfuns.h: ... this, and renumber / cleanup
9176
9177 2003-03-19  John Levon  <levon@movementarian.org>
9178
9179         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9180         fit the cursor after an lfun
9181
9182         * BufferView.h:
9183         * BufferView.C:
9184         * BufferView_pimpl.h:
9185         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9186
9187         * LyXAction.C: layout-character should have ReadOnly
9188
9189         * ParagraphParameters.C:
9190         * buffer.C:
9191         * bufferview_funcs.C:
9192         * lyx_cb.C:
9193         * lyxfind.C:
9194         * lyxtext.h:
9195         * text.C:
9196         * text2.C:
9197         * text3.C:
9198         * undo_funcs.C: changes from above
9199
9200 2003-03-18  John Levon  <levon@movementarian.org>
9201
9202         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9203         remove it from update()
9204
9205         * lyxfunc.C: update layout choice after an lfun
9206
9207         * text3.C: remove extra updateLayoutChoice()s
9208
9209 2003-03-18  John Levon  <levon@movementarian.org>
9210
9211         * text.C: top_y change means full repaint, fix
9212         a drawing bug with cursor movement
9213
9214 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9215
9216         * lyxtext.h:
9217         * text.C:
9218         * text2.C: anchor row on setCursor
9219
9220 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9221
9222         * lyxtext.h: remove almost all mutable keywords
9223         * text.C:
9224         * text2.C:
9225         * text3.C: remove const keywords accordingly
9226
9227 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9228
9229         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9230         anon namespace
9231         (TeXEnvironment): ditto
9232         (TeXOnePar): ditto
9233
9234 2003-03-17  John Levon  <levon@movementarian.org>
9235
9236         * text.C (rowBreakPoint): remove attempt to fix displayed
9237         math insets inside a manual label
9238
9239 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9240
9241         * lyxtext.h: remove BufferView* as first arg from almost all class
9242         functions.
9243         * other files: adjust.
9244
9245 2003-03-17  John Levon  <levon@movementarian.org>
9246
9247         * lyxtext.h:
9248         * undo_funcs.C:
9249         * text2.C: more paint cleanups
9250
9251         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9252
9253         * rowpainter.h:
9254         * rowpainter.C: remove "smart" background painting code
9255
9256 2003-03-16  John Levon  <levon@movementarian.org>
9257
9258         * lyxtext.h:
9259         * text.C:
9260         * text2.C:
9261         * text3.C: add helper functions for setting refresh_row/y
9262
9263 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9264
9265         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9266         newline inset which *can* get inserted in the pass_thru layouts.
9267         This is primarily for literate documents.
9268
9269 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9270
9271         * buffer.C: increment LYX_FORMAT to 223
9272
9273 2003-03-14 André Pönitz <poenitz@gmx.net>
9274
9275         * textclass.h: prepare for environment handling, ws changes
9276         * lyxlayout.C: read latexheader and latexfooter tags
9277
9278 2003-03-14  John Levon  <levon@movementarian.org>
9279
9280         * text2.C: rewrite ::status() a bit
9281
9282 2003-03-13  John Levon  <levon@movementarian.org>
9283
9284         * lyxtext.h: add some docs
9285
9286 2003-03-13  John Levon  <levon@movementarian.org>
9287
9288         * lyxtext.h:
9289         * text.C:
9290         * text2.C:
9291         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9292
9293 2003-03-13  John Levon  <levon@movementarian.org>
9294
9295         * text3.C: fix appendix redrawing
9296
9297 2003-03-13  John Levon  <levon@movementarian.org>
9298
9299         * text.C (setHeightOfRow):
9300         * rowpainter.h:
9301         * rowpainter.C: make appendix mark have the text
9302           "Appendix" so the user knows what it is
9303
9304         * LColor.h:
9305         * LColor.C: s/appendixline/appendix/ from above
9306
9307 2003-03-13  John Levon  <levon@movementarian.org>
9308
9309         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9310
9311         * text.C: fix a getChar(pos) bug properly
9312
9313 2003-03-13  Angus Leeming  <leeming@lyx.org>
9314
9315         * commandtags.h:
9316         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9317         Probably only temporary. Let's see how things pan out.
9318
9319         * BufferView.C (unlockInset):
9320         * BufferView_pimpl.C (fitCursor):
9321         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9322
9323         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9324         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9325
9326         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9327         new functions that convert ParagraphParameters to and from a string.
9328
9329         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9330         BufferView::Pimpl's dispatch.
9331         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9332
9333 2003-03-13 André Pönitz <poenitz@gmx.net>
9334
9335         * lyxfunc.C:
9336         * text3.C:
9337         * factory.C: make it aware of InsetEnv
9338
9339 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9340
9341         * text2.C (setCursor): never ask for one past last
9342         (setCursor): add some debugging messages.
9343
9344         * text.C (singleWidth): never ask for one past last
9345         (singleWidth): ditto
9346         (leftMargin): ditto
9347         (rightMargin): ditto
9348         (rowBreakPoint): ditto
9349         (setHeightOfRow): ditto
9350         (prepareToPrint): ditto
9351
9352         * rowpainter.C (paintBackground): never ask for one past last
9353         (paintText): never ask for one past last
9354
9355         * paragraph_pimpl.C (getChar): make the assert stricter, never
9356         allow the one past last pos to be taken
9357
9358         * paragraph.C (getChar): ws changes only
9359
9360         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9361         (numberOfSeparators): ditto
9362         (numberOfHfills): ditto
9363
9364 2003-03-12  John Levon  <levon@movementarian.org>
9365
9366         * author.h:
9367         * author.C:
9368         * bufferparams.h:
9369         * bufferparams.C:
9370         * paragraph_funcs.C: fix per-buffer authorlists
9371
9372 2003-03-12  John Levon  <levon@movementarian.org>
9373
9374         * text.C: fix newline in right address
9375
9376 2003-03-12  Angus Leeming  <leeming@lyx.org>
9377
9378         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9379         duplicate those in LyXFunc::dispatch.
9380
9381         * commandtags.h:
9382         * LyXAction.C:
9383         * ToolbarDefaults.C:
9384         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9385         Add LFUN_FONTFREE_UPDATE.
9386
9387         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9388         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9389
9390         * bufferview_func.[Ch]: several new functions to facilliate
9391         transfer of data to and from the character dialog.
9392
9393 2003-03-12  John Levon  <levon@movementarian.org>
9394
9395         * buffer.C:
9396         * paragraph.h:
9397         * paragraph.C:
9398         * paragraph_funcs.C:
9399         * paragraph_pimpl.C:
9400         * sgml.C:
9401         * tabular.C:
9402         * text.C:
9403         * text3.C: remove META_NEWLINE in favour of an inset
9404
9405         * rowpainter.h:
9406         * rowpainter.C: remove paintNewline (done by inset)
9407
9408 2003-03-12  John Levon  <levon@movementarian.org>
9409
9410         * paragraph_pimpl.C: complain about bad getChar()s
9411         for a while at least
9412
9413 2003-03-12  John Levon  <levon@movementarian.org>
9414
9415         * buffer.h:
9416         * buffer.C: move paragraph read into a separate function,
9417         a little renaming to reflect that.
9418
9419         * bufferparams.h:
9420         * bufferparams.C: remove the author_ids map, not necessary now
9421
9422         * factory.h:
9423         * factory.C: moved Buffer::readInset to here
9424
9425         * paragraph_funcs.h:
9426         * paragraph_funcs.C: readParagraph free function moved from
9427         buffer.C
9428
9429         * tabular.C: name change
9430
9431 2003-03-12  John Levon  <levon@movementarian.org>
9432
9433         * buffer.C:
9434         * ParagraphParameters.C: move par params input to
9435         a read() method
9436
9437         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9438         behave like a normal read from the stream wrt reading
9439         a line vs. a \\token
9440
9441 2003-03-12  John Levon  <levon@movementarian.org>
9442
9443         * paragraph.C:
9444         * ParagraphParameters.h:
9445         * ParagraphParameters.C: move output code to a
9446         ::write() method
9447
9448 2003-03-12  John Levon  <levon@movementarian.org>
9449
9450         * BufferView.C (insertLyXFile):
9451         * buffer.h:
9452         * buffer.C:
9453         * tabular.C: use a parlist iterator for creating the
9454           document.
9455
9456 2003-03-12  John Levon  <levon@movementarian.org>
9457
9458         * buffer.C: make current_change static local not
9459           static file-scope
9460
9461 2003-03-12  John Levon  <levon@movementarian.org>
9462
9463         * buffer.C: fix insertStringAsLines for change tracking
9464
9465 2003-03-12  John Levon  <levon@movementarian.org>
9466
9467         * BufferView.C:
9468         * tabular.C:
9469         * buffer.h:
9470         * buffer.C:
9471         * bufferparams.h:
9472         * bufferparams.C: move author list into params. Rename some
9473           functions. Move the header reading into a separate token
9474           loop. Move the header token reading into BufferParams.
9475
9476 2003-03-12  John Levon  <levon@movementarian.org>
9477
9478         * changes.C: put debug inside lyxerr.debugging() checks
9479
9480 2003-03-11 André Pönitz <poenitz@gmx.net>
9481
9482         * factory.C: make it aware of InsetHFill
9483
9484 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9485
9486         * buffer.C (latexParagraphs): move function from here...
9487         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9488         args.
9489
9490 2003-03-10  Angus Leeming  <leeming@lyx.org>
9491
9492         * LyXAction.C (init): fix bug in poplating array with multiple entries
9493         with the same LFUN (spotted by JMarc).
9494
9495 2003-03-10  John Levon  <levon@movementarian.org>
9496
9497         * text.C:
9498         * text2.C: move getColumnNearX() near its
9499         only call site
9500
9501 2003-03-10  John Levon  <levon@movementarian.org>
9502
9503         * text.C: fix break before a minipage
9504
9505 2003-03-10  John Levon  <levon@movementarian.org>
9506
9507         * text.C: fix the last commit
9508
9509 2003-03-09  John Levon  <levon@movementarian.org>
9510
9511         * lyxtext.h:
9512         * text.C:
9513         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9514         bug 365 (don't break before insets unless needed). Don't
9515         return a value > last under any circumstances.
9516
9517 2003-03-09  Angus Leeming  <leeming@lyx.org>
9518
9519         * BufferView_pimpl.C (trackChanges, dispatch): call
9520         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9521
9522 2003-03-09  Angus Leeming  <leeming@lyx.org>
9523
9524         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9525         than Dialogs::showAboutlyx().
9526
9527 2003-03-09  Angus Leeming  <leeming@lyx.org>
9528
9529         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9530         than Dialogs::showTabularCreate().
9531
9532 2003-03-09  John Levon  <levon@movementarian.org>
9533
9534         * lyxtext.h:
9535         * text.C:
9536         * text2.C: 3rd arg to nextBreakPoint was always the same.
9537           Use references.
9538
9539 2003-03-08  John Levon  <levon@movementarian.org>
9540
9541         * lyxrow.C:
9542         * paragraph.C:
9543         * paragraph.h:
9544         * rowpainter.C:
9545         * text.C:
9546         * text2.C: Remove the "main" bit from the "main body"
9547           notion.
9548
9549 2003-03-08  John Levon  <levon@movementarian.org>
9550
9551         * text.C (leftMargin): The left margin of an empty
9552         manual label paragraph should not include the label width
9553         string length.
9554
9555         * text.C (prepareToPrint): don't attempt to measure hfills
9556         for empty manual label paragraphs - the answer should be 0
9557
9558 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9559
9560         * CutAndPaste.C: remove commented code and reindent.
9561
9562 2003-03-08  John Levon  <levon@movementarian.org>
9563
9564         * lyxfunc.h:
9565         * lyxfunc.C: move reloadBuffer()
9566
9567         * BufferView.h:
9568         * BufferView.C: to here
9569
9570         * lyxvc.C: add comment
9571
9572         * vc-backend.h:
9573         * vc-backend.C: call bv->reload() to avoid
9574           getStatus() check on MENURELOAD
9575
9576 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9577
9578         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9579         to an old format .dep file.
9580
9581 2003-03-07  Angus Leeming  <leeming@lyx.org>
9582
9583         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9584         when the LFUN_MOUSE_RELEASE should have been handled by
9585         inset->localDispatch.
9586
9587 2003-03-07  Angus Leeming  <leeming@lyx.org>
9588
9589         * BufferView_pimpl.C (dispatch):
9590         * LyXAction.C (init):
9591         * ToolbarDefaults.C (init):
9592         * commandtags.h:
9593         * lyxfunc.C (getStatus):
9594         remove LFUN_INSET_GRAPHICS.
9595
9596         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9597
9598 2003-03-07  Angus Leeming  <leeming@lyx.org>
9599
9600         * commandtags.h:
9601         * LyXAction.C (init):
9602         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9603
9604         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9605
9606         * commandtags.h:
9607         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9608
9609         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9610         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9611
9612 2003-03-07  Angus Leeming  <leeming@lyx.org>
9613
9614         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9615         remove "ert".
9616
9617 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9618
9619         * ParagraphList.C (front): new function
9620         (back): implement
9621
9622 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9623
9624         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9625         and top_row_offset_. removed var first_y.
9626         * text.C (top_y):
9627         * text2.C (LyXText, removeRow):
9628         * text3.C:
9629         * BufferView_pimpl.C:
9630         use these methods instead of using first_y
9631
9632 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9633
9634         * text2.C (pasteSelection): adjust for checkPastePossible
9635
9636         * CutAndPaste.C: remove Paragraph * buf and replace with
9637         ParagraphList paragraphs.
9638         (DeleteBuffer): delete
9639         (cutSelection): change the tc type to textclass_type
9640         (copySelection): change the tc type to textclass_type
9641         (copySelection): adjust for ParagraphList
9642         (pasteSelection): change the tc type to textclass_type
9643         (pasteSelection): adjust for Paragraphlist
9644         (nrOfParagraphs): simplify for ParagraphList
9645         (checkPastePossible): simplify for ParagraphList
9646         (checkPastePossible): remove unused arg
9647
9648         * ParagraphList.C (insert): handle the case where there are no
9649         paragraphs yet.
9650
9651         * CutAndPaste.h: make CutAndPaste a namespace.
9652
9653         * text3.C (dispatch): adjust
9654
9655         * text.C (breakParagraph): add a ParagraphList as arg
9656
9657         * paragraph_funcs.C (breakParagraph): change to take a
9658         BufferParams and a ParagraphList as args.
9659         (breakParagraphConservative): ditto
9660         (mergeParagraph): ditto
9661         (TeXDeeper): add a ParagraphList arg
9662         (TeXEnvironment): ditto
9663         (TeXOnePar): ditto
9664
9665         * buffer.C (readLyXformat2): adjust
9666         (insertStringAsLines): adjust
9667         (latexParagraphs): adjust
9668
9669         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9670         (cutSelection): adjust
9671         (pasteSelection): adjust
9672
9673         * BufferView_pimpl.C (insertInset): adjust
9674
9675 2003-03-05  Angus Leeming  <leeming@lyx.org>
9676
9677         * commandtags.h:
9678         * LyXAction.C (init):
9679         * BufferView_pimpl.C (dispatch):
9680         * lyxfunc.C (getStatus):
9681         remove LFUN_CHILD_INSERT.
9682
9683         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9684
9685 2003-03-05  Angus Leeming  <leeming@lyx.org>
9686
9687         * commandtags.h:
9688         * LyXAction.C (init):
9689         * src/factory.C (createInset):
9690         * lyxfunc.C (getStatus):
9691         * text3.C (dispatch):
9692         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9693
9694         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9695
9696 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9697
9698         * ParagraphList.C (insert): handle insert right before end()
9699         (erase): fix cases where it can be first or last paragraph.
9700
9701 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9702
9703         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9704         Paragraph::next and Paragraph::previous
9705         (TeXOnePar): ditto
9706
9707         * text.C (breakParagraph): adjust
9708
9709         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9710         BufferParams& as arg.
9711         (breakParagraph): use ParagraphList::insert
9712         (breakParagraphConservative): take a Buffer* instead of a
9713         BufferParams& as arg.
9714         (breakParagraphConservative): use ParagraphList::insert.
9715
9716         * buffer.C (insertStringAsLines): un-const it
9717         (insertStringAsLines): adjust
9718
9719         * ParagraphList.C (insert): new function
9720
9721         * CutAndPaste.C (pasteSelection): adjust
9722
9723         * text.C (backspace): adjust
9724
9725         * tabular.C (SetMultiColumn): adjust
9726
9727         * CutAndPaste.C (cutSelection): adjust
9728         (pasteSelection): adjust
9729
9730         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9731         Buffer const * as arg
9732
9733         * ParagraphList.C (erase): new function
9734         * paragraph_funcs.C (mergeParagraph): use it
9735         (mergeParagraph): make it take a Buffer* instead of a
9736         BufferParams* as arg
9737
9738         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9739         as arg
9740         (breakParagraphConservative): ditto
9741
9742         * paragraph.h: remove the breakParagraph friend
9743
9744         * paragraph.C (eraseIntern): new function
9745         (setChange): new function
9746
9747         * paragraph_funcs.C (mergeParagraph): make it take a
9748         ParagraphList::iterator instead of a Paragraph *, adjust
9749         accordingly.
9750
9751         * paragraph.h: move an #endif so that the change tracking stuff
9752         also works in the NO_NEXT case.
9753
9754 2003-03-04  Angus Leeming  <leeming@lyx.org>
9755
9756         * commandtags.h:
9757         * LyXAction.C: new LFUN_INSET_MODIFY.
9758
9759         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9760         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9761
9762 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9763
9764         * several files: ws changes only
9765
9766         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9767         (TeXEnvironment): ditto
9768         (TeXDeeper): ditto
9769
9770         * buffer.C (makeLaTeXFile): adjust
9771         (latexParagraphs): make it take ParagraphList::iterator as args
9772
9773 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9774
9775         * buffer.C (latexParagraphs): adjust
9776
9777         * paragraph.C (TeXOnePar): move function...
9778         (optArgInset): move function...
9779         (TeXEnvironment): move function...
9780         * paragraph_pimpl.C (TeXDeeper): move function...
9781         * paragraph_funcs.C: ...here
9782
9783         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9784
9785 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9786
9787         * buffer.C (readInset): remove compability code for old Figure and
9788         InsetInfo insets
9789
9790 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9791
9792         * buffer.C: ws changes
9793         (readInset):
9794
9795         * BufferView_pimpl.C: ditto
9796         * author.C: ditto
9797         * buffer.h: ditto
9798         * bufferlist.h: ditto
9799         * changes.h: ditto
9800         * lyxfunc.C: ditto
9801
9802 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9803
9804         * converter.[Ch]: split into itself +
9805         * graph.[Ch]
9806         * format.[Ch]
9807         * Makefile.am: += graph.[Ch] + format.[Ch]
9808         * MenuBackend.C
9809         * buffer.C
9810         * exporter.C
9811         * importer.C
9812         * lyx_main.C
9813         * lyxfunc.C
9814         * lyxrc.C: added #include "format.h"
9815
9816 2003-02-27  Angus Leeming  <leeming@lyx.org>
9817
9818         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9819           a label.
9820
9821         * factory.C (createInset): add "label" to the factory.
9822
9823         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9824           string and do no more.
9825
9826 2003-02-27  Angus Leeming  <leeming@lyx.org>
9827
9828         * commandtags.h:
9829         * LyXAction.C (init):
9830         * factory.C (createInset):
9831         * BufferView_pimpl.C (dispatch):
9832           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9833
9834         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9835
9836         * lyxfunc.C (dispatch):
9837         * text3.C (dispatch): pass name to params2string.
9838
9839 2003-02-26  Angus Leeming  <leeming@lyx.org>
9840
9841         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9842           blocks together.
9843           Rearrange the ~includes. Strip out the unnecessary ones.
9844
9845         * factory.C (createInset): reformat.
9846           create new insets for the various LFUN_XYZ_APPLY lfuns.
9847
9848 2003-02-26  John Levon  <levon@movementarian.org>
9849
9850         * lyxrow.h:
9851         * lyxrow.C: add isParStart,isParEnd helpers
9852
9853         * paragraph.h: make isInserted/DeletedText take refs
9854
9855         * paragraph_funcs.h:
9856         * paragraph_funcs.C: remove #if 0'd code
9857
9858         * lyxtext.h:
9859         * text3.C:
9860         * text2.C:
9861         * text.C: use lyxrow helpers above.
9862           Move draw and paint routines to RowPainter.
9863           Make several methods use refs not pointers.
9864           Make backgroundColor() const.
9865           Add markChangeInDraw(), isInInset().
9866           Merge changeRegionCase into changeCase.
9867           Make workWidth() shouldn't-happen code into an Assert.
9868
9869         * rowpainter.h:
9870         * rowpainter.C: new class for painting a row.
9871
9872         * vspace.h:
9873         * vspace.C: make inPixels take a ref
9874
9875 2003-02-26  Angus Leeming  <leeming@lyx.org>
9876
9877         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9878         LFUN_REF_APPLY.
9879
9880 2003-02-25  John Levon  <levon@movementarian.org>
9881
9882         * ispell.C: give the forked command a more accurate name
9883
9884 2003-02-22  John Levon  <levon@movementarian.org>
9885
9886         * toc.h:
9887         * toc.C: make TocItem store an id not a Paragraph *
9888           (bug #913)
9889
9890 2003-02-21  Angus Leeming  <leeming@lyx.org>
9891
9892         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9893           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9894           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9895           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9896           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9897           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9898
9899         * BufferView_pimpl.C (dispatch):
9900         * LyXAction.C (init):
9901         * factory.C (createInset):
9902         * lyxfunc.C (getStatus, dispatch):
9903         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9904
9905 2003-02-21  Angus Leeming  <leeming@lyx.org>
9906
9907         * BufferView_pimpl.C (MenuInsertLyXFile):
9908         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9909         * lyxfunc.C (menuNew, open, doImport):
9910           no longer pass a LyXView & to fileDlg.
9911
9912 2003-02-21  Angus Leeming  <leeming@lyx.org>
9913
9914         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9915         * LyXAction.C: change, BIBKEY to BIBITEM.
9916         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9917         Change InsetBibKey to InsetBibitem.
9918         Change BIBKEY_CODE to BIBITEM_CODE.
9919         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9920         * factory.C: replace insetbib.h with insetbibitem.h.
9921         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9922         * paragraph.C: replace insetbib.h with insetbibitem.h.
9923         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9924         Change bibkey() to bibitem().
9925         * text.C: remove insetbib.h.
9926         * text2.C: replace insetbib.h with insetbibitem.h.
9927         change bibkey() to bibitem().
9928         * text3.C: remove insetbib.h.
9929         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9930
9931 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9932
9933         * lyxrc.C (output): enclose user email in quotes (in case there are
9934         several words)
9935
9936 2003-02-18  John Levon  <levon@movementarian.org>
9937
9938         * buffer.h: add std::
9939
9940 2003-02-17  John Levon  <levon@movementarian.org>
9941
9942         * SpellBase.h:
9943         * ispell.h:
9944         * ispell.C:
9945         * pspell.h:
9946         * pspell.C: reworking. Especially in ispell, a large
9947           number of clean ups and bug fixes.
9948
9949         * lyxfunc.C: fix revert to behave sensibly
9950
9951 2003-02-17 André Pönitz <poenitz@gmx.net>
9952
9953         * LyXAction.C:
9954         * commandtags.h: new LFUN_INSERT_BIBKEY
9955
9956         * layout.h:
9957         * lyxlayout.C:
9958         * buffer.C:
9959         * factory.C:
9960         * text.C:
9961         * text2.C:
9962         * text3.C:
9963         * paragraph.[Ch]:
9964         * paragraph_func.C: remove special bibkey handling
9965
9966 2003-02-17  John Levon  <levon@movementarian.org>
9967
9968         * text.C (Delete): fix case where delete at the end of
9969           the very first paragraph would not merge the pars
9970
9971 2003-02-17  John Levon  <levon@movementarian.org>
9972
9973         * lyxrow.C: fix lastPrintablePos()
9974
9975 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9976
9977         * bufferparams.C (writeLaTeX): add a std:here
9978
9979         * buffer.C: and remove a using directive there
9980
9981 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9982
9983         * buffer.C (makeLaTeXFile): move the code that generates the
9984           preamble...
9985
9986         * bufferparams.C (writeLaTeX): ... in this new method
9987
9988         * LaTeXFeatures.C (getEncodingSet): make const
9989           (getLanguages): make const
9990
9991         * MenuBackend.C (binding): returns the binding associated to this
9992           action
9993           (add): sets the status of each item by calling getStatus. Adds
9994           some intelligence.
9995           (read): add support for OptSubMenu
9996           (expand): remove extra separator at the end of expanded menu
9997
9998 2003-02-15  John Levon  <levon@movementarian.org>
9999
10000         * BufferView.C:
10001         * BufferView_pimpl.C:
10002         * bufferlist.h:
10003         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10004           inset code that had no actual effect. Remove unneeded status
10005           code.
10006
10007 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10008
10009         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10010           in preamble
10011
10012 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10013
10014         * text.C (drawLengthMarker): also draw an arrow marker for
10015           symbolic lengths (medskip...)
10016
10017 2003-02-14  John Levon  <levon@movementarian.org>
10018
10019         * tabular.h:
10020         * tabular.C: better method names
10021
10022 2003-02-14  John Levon  <levon@movementarian.org>
10023
10024         * BufferView_pimpl.C:
10025         * bufferlist.C:
10026         * buffer.C:
10027         * converter.C:
10028         * lyx_cb.C:
10029         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10030           it's a more accurate name. Remove some pointless uses.
10031
10032 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10033
10034         * text2.C (LyXText): change order of initilizers to shut off
10035           warnings
10036
10037 2003-02-14  John Levon  <levon@movementarian.org>
10038
10039         * buffer.C: use ParIterator for getParFromID()
10040
10041         * paragraph.h:
10042         * paragraph.C:
10043         * paragraph_pimpl.h:
10044         * paragraph_pimpl.C: remove unused getParFromID()
10045
10046 2003-02-14  John Levon  <levon@movementarian.org>
10047
10048         * buffer.C: remove some very old #if 0'd parse code
10049
10050 2003-02-13  John Levon  <levon@movementarian.org>
10051
10052         * text.h:
10053         * text.C:
10054         * text2.C: move hfillExpansion(), numberOfSeparators(),
10055           rowLast(), rowLastPrintable(), numberofHfills(),
10056           numberOfLabelHfills() ...
10057
10058         * lyxrow.h:
10059         * lyxrow.C: ... to member functions here.
10060
10061         * paragraph.h:
10062         * paragraph.C:
10063         * lyxtext.h:
10064         * text.C: remove LyXText::beginningOfMainBody(), and call
10065           p->beginningOfMainBody() directly. Move the check for
10066           LABEL_MANUAL into the latter.
10067
10068         * text.h:
10069         * text.C:
10070         * text2.C:
10071         * vspace.C:
10072         * BufferView.h:
10073         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10074
10075         * text.h:
10076         * text.C:
10077         * text2.C:
10078         * text3.C:
10079         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10080           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10081
10082 2003-02-13  John Levon  <levon@movementarian.org>
10083
10084         * CutAndPaste.C: remove debug
10085
10086 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10087
10088         * paragraph.C (asString): remove two unused variables
10089
10090         * lyxtextclass.C (readTitleType):
10091           (Read):
10092           (LyXTextClass): handle new members titletype_ and titlename_
10093
10094         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10095
10096 2003-02-09  John Levon  <levon@movementarian.org>
10097
10098         * buffer.h:
10099         * buffer.C: replace hand-coded list with a map for the dep clean
10100
10101 2003-02-08  John Levon  <levon@movementarian.org>
10102
10103         * LaTeX.C: consolidate code into showRunMessage() helper
10104
10105 2003-02-08  John Levon  <levon@movementarian.org>
10106
10107         * lyxfind.C:
10108         * lyxtext.h:
10109         * text2.C:
10110         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10111           and pass the size in explicitly
10112
10113         * BufferView_pimpl.h:
10114         * BufferView_pimpl.C:
10115         * BufferView.h:
10116         * BufferView.C: add getCurrentChange()
10117
10118         * BufferView_pimpl.h:
10119         * BufferView_pimpl.C: handle change lfuns
10120
10121         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10122           for changes. Mark pasted paragraphs as new.
10123
10124         * support/lyxtime.h:
10125         * support/lyxtime.C:
10126         * DepTable.C: abstract time_t as lyx::time_type
10127
10128         * LColor.h:
10129         * LColor.C: add colours for new text, deleted text, changebars
10130
10131         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10132           package use "usenames" option.
10133
10134         * commandtags.h:
10135         * lyxfunc.C:
10136         * LyXAction.C: add change lfuns
10137
10138         * Makefile.am:
10139         * author.h:
10140         * author.C: author handling
10141
10142         * buffer.h:
10143         * buffer.C: add a per-buffer author list, with first entry as
10144           current author. Handle new .lyx tokens for change tracking. Output
10145           author list to .lyx file. Output dvipost stuff to .tex preamble.
10146           Bump lyx format to 222.
10147
10148         * bufferlist.h:
10149         * bufferlist.C: add setCurrentAuthor() to reset current author details
10150           in all buffers.
10151
10152         * bufferparams.h:
10153         * bufferparams.C: add param for tracking
10154
10155         * bufferview_funcs.C: output change info in minibuffer
10156
10157         * Makefile.am:
10158         * changes.h:
10159         * changes.C: add change-tracking structure
10160
10161         * debug.h:
10162         * debug.C: add CHANGES debug flag
10163
10164         * lyxfind.h:
10165         * lyxfind.C: add code for finding the next change piece
10166
10167         * lyxrc.h:
10168         * lyxrc.C: add user_name and user_email
10169
10170         * lyxrow.h:
10171         * lyxrow.C: add a metric for the top of the text line
10172
10173         * lyxtext.h:
10174         * text.C: implement accept/rejectChange()
10175
10176         * lyxtext.h:
10177         * text.C: paint changebars. Paint new/deleted text in the chosen
10178         colours. Strike through deleted text.
10179
10180         * paragraph.h:
10181         * paragraph.C:
10182         * paragraph_pimpl.h:
10183         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10184           in the current change to the insert functions. Rework erase to
10185           mark text as deleted, adding an eraseIntern() and a range-based
10186           erase(). Implement per-paragraph change lookup and
10187           accept/reject.
10188
10189         * paragraph_funcs.C: Fixup paste for change tracking.
10190
10191         * tabular.C: mark added row/columns as new.
10192
10193         * text.C: fix rowLast() to never return -1. Don't allow
10194           spellchecking of deleted text. Track transpose changes. Don't
10195           allow paragraph break or merge where appropriate.
10196
10197         * text2.C: leave cursor at end of selection after a cut.
10198
10199 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10200
10201         * text.C (getLengthMarkerHeight):
10202         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10203         visible on screen too.
10204
10205 2003-02-07  John Levon  <levon@movementarian.org>
10206
10207         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10208
10209 2003-02-05  Angus Leeming  <leeming@lyx.org>
10210
10211         * lyxserver.C (read_ready): revert my patch of 11 September last year
10212         as it sends PC cpu through the roof. Presumably this means that
10213         the lyxserver will no longer run on an Alpha...
10214
10215 2003-01-30  Angus Leeming  <leeming@lyx.org>
10216
10217         * factory.C (createInset): create an InsetCommandParam of type "index"
10218         and use it to 'do the right thing'.
10219
10220         * text2.C (getStringToIndex): ensure that cursor position is always
10221         reset to the reset_cursor position.
10222
10223 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10224
10225         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10226         disabled.
10227
10228 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10229
10230         * bufferview.C:
10231         * lyxcb.C:
10232         * lyxfunc.C: Output messages with identical spelling, punctuation,
10233         and spaces
10234
10235 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10236
10237         * MenuBackend.C (expandFormats): List only viewable export formats
10238         in "View" menu
10239
10240         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10241         message
10242
10243         * lyxfunc.C (getStatus): Make sure that formats other than
10244         "fax" can also be disabled
10245
10246 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10247
10248         * text3.C (dispatch): put the lfuns that insert insets in 3
10249         groups, and call doInsertInset with appropriate arguments.
10250         (doInsertInset): new function, that creates an inset and inserts
10251         it according to some boolean parameters.
10252
10253 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10254
10255         * buffer.C (readFile): remember to pass on 'par' when calling
10256         readFile recursively.
10257
10258 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10259
10260         * MenuBackend.C (expandFormats): add "..." to import formats.
10261
10262 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10263
10264         * paragraph.C (asString): Remove XForms RTL hacks.
10265
10266 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10267         * buffer.C: fix typo
10268
10269 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10270
10271         * Makefile.am (LIBS): delete var
10272         (lyx_LDADD): add @LIBS@ here instead.
10273
10274 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10275
10276         * Clarify the meaning of "wheel mouse jump"
10277
10278 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10279
10280         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10281         tabular in a float
10282
10283 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10284
10285         * importer.C (Loaders): do not preallocate 3 elements in the
10286         vector, since one ends up with 6 elements otherwise
10287
10288 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10289
10290         * DepTable.C (write): write the file name as last element of the
10291         .dep file (because it may contain spaces)
10292         (read): read info in the right order
10293
10294 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10295
10296         * paragraph_pimpl.C (simpleTeXBlanks):
10297         (simpleTeXSpecialChars):
10298         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10299
10300         * tabular.C (latex): add some missing case statements. Reindent.
10301
10302         * MenuBackend.C (expandToc): remove unused variable.
10303
10304 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10305
10306         * LColor.C:
10307         * LaTeX.C:
10308         * LyXAction.C:
10309         * MenuBackend.C:
10310         * buffer.C:
10311         * exporter.C:
10312         * lyxfunc.C:
10313         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10314         and the like.
10315
10316 2003-01-05  John Levon  <levon@movementarian.org>
10317
10318         * BufferView.h:
10319         * BufferView.C: add getEncoding()
10320
10321         * kbsequence.h:
10322         * kbsequence.C: do not store last keypress
10323
10324         * lyxfunc.h:
10325         * lyxfunc.C: store last keypress here instead. Pass encoding
10326           to getISOEncoded()
10327
10328 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10329
10330         * lyx_main.C (init): remove annoying error message when following
10331         symbolic links (bug #780)
10332
10333 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10334
10335         * text.C (insertChar):
10336         * lyxrc.C (getDescription): remove extra spaces
10337
10338 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10339
10340         * lyxrc.C (getDescription): remove extra spaces
10341
10342 2002-12-20  John Levon  <levon@movementarian.org>
10343
10344         * text3.C: hack fix for page up/down across tall rows
10345
10346 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10347
10348         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10349         not been invoked
10350
10351 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10352
10353         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10354         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10355         thesaurus is not compiled in
10356
10357 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10358
10359         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10360
10361 2002-12-16  Angus Leeming  <leeming@lyx.org>
10362
10363         * lyxrc.[Ch]:
10364         * lyx_main.C (init): remove override_x_deadkeys stuff.
10365
10366 2002-12-12  John Levon  <levon@movementarian.org>
10367
10368         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10369           insert. Only remove shift modifier under strict
10370           circumstances.
10371
10372 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10373
10374         * MenuBackend.C (expandToc): fix crash.
10375
10376 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10377
10378         * MenuBackend.C (expandToc): gettext on float names.
10379
10380 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10381
10382         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10383         implement bool empty() [bug 490]
10384
10385 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10386
10387         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10388
10389 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10390
10391         * several files: ws changes
10392
10393 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10394
10395         * text2.C (setCounter): clean up a bit, use boost.format.
10396         (updateCounters): initialize par upon declaration.
10397
10398         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10399         if the layout exists. We do not just store the layout any more.
10400         (SwitchLayoutsBetweenClasses): use boost.format
10401
10402 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10403
10404         * converter.C (convert): if from and to files are the same, use a
10405         temporary files as intermediary
10406
10407 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10408
10409         * commandtags.h:
10410         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10411
10412 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10413
10414         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10415
10416 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10417
10418         * tabular.C (asciiPrintCell): use string(size, char) instead of
10419         explicit loop.
10420
10421         * sgml.C (openTag): fix order of arguments to string constructor
10422         (closeTag): ditto
10423
10424         * lyxfunc.C (dispatch): use boost.format
10425
10426         * lots of files: change "c" -> 'c'
10427
10428 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10429
10430         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10431
10432 2002-11-25  Angus Leeming  <leeming@lyx.org>
10433
10434         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10435
10436         * lyx_main.C (init): compile fix.
10437
10438 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10439
10440         * lyx_cb.C (start): boost.formatify
10441         do not include <iostream>
10442
10443         * lengthcommon.C: ws only
10444
10445         * boost-inst.C,BoostFormat.h: add more explict instantations
10446
10447 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10448
10449         * lots of files: handle USE_BOOST_FORMAT
10450
10451 2002-11-21  John Levon  <levon@movementarian.org>
10452
10453         * pspell.C: fix compile
10454
10455 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10456
10457         * lyxfunc.C (dispatch): use boost::format
10458         (open): ditto
10459         (doImport): ditto
10460
10461         * lyxfont.C (stateText): use boost::format
10462
10463         * lyx_main.C (LyX): use boost::format
10464         (init): ditto
10465         (queryUserLyXDir): ditto
10466         (readRcFile): ditto
10467         (parse_dbg): ditto
10468         (typedef boost::function): use the recommened syntax.
10469
10470         * importer.C (Import): use boost::format
10471
10472         * debug.C (showLevel): use boost::format
10473
10474         * converter.C (view): use boost::format
10475         (convert): ditto
10476         (move): ditto
10477         (scanLog): ditto
10478
10479         * bufferview_funcs.C (currentState): use boost::format
10480
10481         * bufferlist.C (emergencyWrite): use boost::format
10482
10483         * buffer.C (readLyXformat2): use boost::format
10484         (parseSingleLyXformat2Token): ditto
10485
10486         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10487
10488         * LaTeX.C (run): use boost::format
10489
10490         * Chktex.C (scanLogFile): use boost::format
10491
10492         * BufferView_pimpl.C (savePosition): use boost::format
10493         (restorePosition): ditto
10494         (MenuInsertLyXFile): ditto
10495
10496         * BoostFormat.h: help file for explicit instation.
10497
10498 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10499
10500         * tabular.C (latex): Support for block alignment in fixed width
10501         columns.
10502
10503 2002-11-17  John Levon  <levon@movementarian.org>
10504
10505         * BufferView_pimpl.C:
10506         * lyx_cb.C:
10507         * lyxfunc.C: split filedialog into open/save
10508
10509 2002-11-08  Juergen Vigna  <jug@sad.it>
10510
10511         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10512         by my last patch (hopefully).
10513
10514 2002-11-08  John Levon  <levon@movementarian.org>
10515
10516         * iterators.h:
10517         * iterators.C:
10518         * buffer.h:
10519         * buffer.C:
10520         * paragraph.h:
10521         * paragraph.C:
10522         * toc.h:
10523         * toc.C: ParConstIterator, and use it (from Lars)
10524
10525 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10526
10527         * lyxtextclass.[Ch]: revise and add doxygen comments
10528
10529 2002-11-07  John Levon  <levon@movementarian.org>
10530
10531         * text.C: fix progress value for spellchecker
10532
10533         * toc.C: fix navigate menu for insetwrap inside minipage
10534
10535         * paragraph_funcs.C: added FIXME for suspect code
10536
10537 2002-11-07  John Levon  <levon@movementarian.org>
10538
10539         * BufferView_pimpl.C: fix redrawing of insets
10540           on buffer switch
10541
10542 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10543
10544         * text2.C (updateCounters): fix bug 668
10545
10546 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10547
10548         * text3.C (dispatch): Do not make the buffer dirty when moving the
10549         cursor.
10550
10551 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10552
10553         * vc-backend.C: STRCONV
10554         (scanMaster): ditto
10555
10556         * text2.C (setCounter): STRCONV
10557
10558         * paragraph.C (asString): STRCONV
10559
10560         * lyxlength.C (asString): STRCONV
10561         (asLatexString): ditto
10562
10563         * lyxgluelength.C (asString): STRCONV
10564         (asLatexString): ditto
10565
10566         * lyxfunc.C (dispatch): STRCONV
10567         (open): ditto
10568
10569         * lyxfont.C (stateText): STRCONV
10570
10571         * importer.C (Import): STRCONV
10572
10573         * counters.C (labelItem): STRCONV
10574         (numberLabel): ditto
10575         (numberLabel): remove unused ostringstream o
10576
10577         * chset.C: STRCONV
10578         (loadFile): ditto
10579
10580         * bufferview_funcs.C (currentState): STRCONV
10581
10582         * buffer.C (readFile): STRCONV
10583         (asciiParagraph): ditto
10584         (makeLaTeXFile): ditto
10585
10586         * Spacing.C (writeEnvirBegin): STRCONV
10587
10588         * LaTeXFeatures.C (getLanguages): STRCONV
10589         (getPackages): ditto
10590         (getMacros): ditto
10591         (getBabelOptions): ditto
10592         (getTClassPreamble): ditto
10593         (getLyXSGMLEntities): ditto
10594         (getIncludedFiles): ditto
10595
10596         * LaTeX.C: STRCONV
10597         (run): ditto
10598         (scanAuxFile): ditto
10599         (deplog): ditto
10600
10601         * LString.h: add the STRCONV macros
10602
10603         * BufferView_pimpl.C (savePosition): STRCONV
10604         (restorePosition): ditto
10605         (MenuInsertLyXFile): ditto
10606
10607         * vc-backend.C (scanMaster): change from submatch[...] to
10608         submatch.str(...)
10609
10610         * funcrequest.C: include config.h
10611
10612         * factory.C: include config.h
10613
10614         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10615
10616         * box.C: include config.h
10617
10618         * LaTeX.C (scanAuxFile): change from submatch[...] to
10619         submatch.str(...)
10620         (deplog): ditto
10621
10622 2002-10-25  Angus Leeming  <leeming@lyx.org>
10623
10624         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10625
10626         * ispell.[Ch] (setError): new method.
10627         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10628         Use setError() insetead of goto END.
10629
10630         * lyx_cb.C (AutoSave): move out child process into new class
10631         AutoSaveBuffer.
10632
10633 2002-10-30  John Levon  <levon@movementarian.org>
10634
10635         * text3.C: make start appendix undoable
10636
10637 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10638
10639         * lyxlength.C (inPixels): Fix returned value.
10640
10641         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10642         environment.
10643
10644 2002-10-24  Angus Leeming  <leeming@lyx.org>
10645
10646         * lyxgluelength.h: no need to forward declare BufferParams
10647         or BufferView, so don't.
10648
10649 2002-10-21  John Levon  <levon@movementarian.org>
10650
10651         * BufferView.C: menuUndo ->undo, redo
10652
10653         * BufferView.h: document, remove dead, make some methods private
10654
10655         * paragraph_funcs.h:
10656         * paragraph_funcs.C:
10657         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10658
10659         * buffer.h:
10660         * buffer.C:
10661         * sgml.h:
10662         * sgml.C: move sgml open/close tag into sgml.C
10663
10664         * bufferview_funcs.h: unused prototype
10665
10666         * lyxfunc.h:
10667         * lyxfunc.C: remove unused
10668
10669         * lyxtext.h:
10670         * text.C: remove unused
10671
10672 2002-10-21  John Levon  <levon@movementarian.org>
10673
10674         * BufferView.h:
10675         * BufferView.C:
10676         * BufferView_pimpl.h:
10677         * BufferView_pimpl.C: fix mouse wheel handling based on
10678           patch from Darren Freeman
10679
10680 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10681
10682         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10683
10684 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10685
10686         * lyxlength.C (inPixels): Fix hanfling of negative length.
10687         Fix LyXLength::MU case.
10688
10689 2002-10-16  John Levon  <levon@movementarian.org>
10690
10691         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10692
10693 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10694
10695         * converter.C (view): add support for $$i (file name) and $$p
10696         (file path) for the viewer command. If $$i is not specified, then
10697         it is appended to the command (for compatibility with old syntax)
10698
10699 2002-10-14  Juergen Vigna  <jug@sad.it>
10700
10701         * undo_funcs.C (textHandleUndo): alter the order in which the
10702         new undopar is added to the LyXText, as we have to set first
10703         the right prev/next and then add it as otherwise the rebuild of
10704         LyXText is not correct. Also reset the cursor to the right paragraph,
10705         with this IMO we could remove the hack in "redoParagraphs()".
10706
10707 2002-10-09  Angus Leeming  <leeming@lyx.org>
10708
10709         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10710         to turn off an optimisation if a new inset is to be inserted.
10711
10712 2002-10-11 André Pönitz <poenitz@gmx.net>
10713
10714         * lyxtext.h: make some functions public to allow access
10715         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10716
10717 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10718
10719         * text3.C (dispatch): when changing layout, avoid an infinite loop
10720         [bug #652]
10721
10722 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10723
10724         * lyxrc.C (read): treat a viewer or converter command of "none" as
10725         if it were empty.
10726
10727         * MenuBackend.C (expandFormats): for an update, also allow the
10728         formats that are not viewable
10729
10730         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10731         script if it is newer than the lyxrc.defaults in user directory
10732
10733 2002-10-07 André Pönitz <poenitz@gmx.net>
10734
10735         * text.C: Vitaly Lipatov's small i18n fix
10736
10737 2002-09-25  Angus Leeming  <leeming@lyx.org>
10738
10739         * ispell.h: doxygen fix.
10740
10741 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10742
10743         * buffer.h (readFile): Add a new argument to the method, to allow
10744         reading of old-format templates.
10745
10746 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10747
10748         * toc.C (getTocList): Get TOC from InsetWrap.
10749
10750 2002-09-16  John Levon  <levon@movementarian.org>
10751
10752         * lyxfunc.C: check tabular for cut/copy too
10753
10754 2002-09-12  John Levon  <levon@movementarian.org>
10755
10756         * LyXAction.C: tidy
10757
10758         * factory.h:
10759         * factory.C: add header
10760
10761         * paragraph_funcs.h:
10762         * paragraph_funcs.C: cleanup
10763
10764 2002-09-11  John Levon  <levon@movementarian.org>
10765
10766         * PrinterParams.h: odd/even default to true
10767
10768 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10769
10770         * PrinterParams.h: update printer parameters for new xforms dialog
10771
10772 2002-09-11  Angus Leeming  <leeming@lyx.org>
10773
10774         * lyxserver.C (read_ready): re-write to make it more transparent
10775         and to make it work in coherent fashion under Tru64 Unix.
10776
10777 2002-09-11  André Pönitz <poenitz@gmx.net>
10778
10779         * commandtags.h:
10780         * LyXAction.C:
10781         * text3.C: implement LFUN_WORDSEL
10782
10783 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10784
10785         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10786         make floatlist_ a boost::shared_ptr<FloatList>
10787
10788         * lyxtextclass.C: include FloatList.h
10789         (LyXTextClass): initialize floatlist_
10790         (TextClassTags): add TC_NOFLOAT
10791         (Read): match "nofloat" to TC_NOFLOAT and use it.
10792         (readFloat): modify call to floatlist_
10793         (floats): ditto
10794         (floats): ditto
10795
10796         * FloatList.[Ch] (FloatList): remove commented out float
10797         initialization.
10798         (erase): new function
10799
10800 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10801
10802         * MenuBackend.C (expandToc): fix crash when there is no document
10803         open
10804
10805 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10806
10807         * many files: Add insetwrap.
10808
10809 2002-09-09  John Levon  <levon@movementarian.org>
10810
10811         * text2.C: remove confusing and awkward depth wraparound
10812
10813 2002-09-09  John Levon  <levon@movementarian.org>
10814
10815         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10816
10817         * buffer.h:
10818         * buffer.C: remove getIncludeonlyList()
10819
10820         * paragraph.C:
10821         * lyxfunc.C: remove headers
10822
10823 2002-09-09  Juergen Vigna  <jug@sad.it>
10824
10825         * text.C (getColumnNearX): fix form Michael this is most
10826         probably a cut&paste bug.
10827
10828 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10829
10830         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10831
10832         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10833         references, ws changes.
10834
10835         * text2.C (init): update counters after init
10836         (insertParagraph): no need to set counter on idividual paragraphs.
10837         (setCounter): access the counters object in the textclass object
10838         on in the buffer object.
10839         (updateCounters): ditto
10840
10841         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10842         shared_ptr<Counters> to avoid loading counters.h in all
10843         compilation units.
10844         (LyXTextClass): initialize ctrs_
10845         (TextClassTags): add TC_COUNTER, and ...
10846         (Read): use it here.
10847         (CounterTags): new tags
10848         (readCounter): new function
10849         (counters): new funtion
10850         (defaultLayoutName): return a const reference
10851
10852         * counters.C (Counters): remove contructor
10853         (newCounter): remove a couple of unneeded statements.
10854         (newCounter): simplify a bit.
10855         (numberLabel): some small formatting changes.
10856
10857         * buffer.[Ch]: remove all traces of counters, move the Counters
10858         object to the LyXTextClass.
10859
10860 2002-09-06  Alain Castera  <castera@in2p3.fr>
10861
10862         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10863         package to set the horizontal alignment on fixed width columns.
10864
10865         * lyx_sty.C:
10866         * lyx_sty.h: added tabularnewline macro def.
10867
10868         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10869
10870 2002-09-06  John Levon  <levon@movementarian.org>
10871
10872         * LyXAction.C: tooltips for sub/superscript
10873
10874         * MenuBackend.C: a bit more verbose
10875
10876         * lyxfunc.C: tiny clean
10877
10878         * undo_funcs.C: document undo_frozen
10879
10880 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10881
10882         * counters.C (Counters): add missing algorithm counter.
10883
10884         * text2.C (setCounter): lookup the counter with layouts latexname
10885         instead of by section number.
10886         (setCounter): use a hackish way to lookup the correct enum
10887         counter.
10888         a float name->type change
10889         reset enum couners with counter name directly instead of depth value.
10890
10891         * counters.C (Counters): remove the push_backs, change to use the
10892         float type not the float name.
10893         (labelItem): remove unused string, float name->type change
10894
10895         * counters.h: don't include vector, loose the enums and sects vectors
10896
10897 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10898
10899         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10900         (Read): add float->TC_FLOAT to textclassTags
10901         (Read): and handle it in the switch
10902         (readFloat): new function
10903
10904         * FloatList.C (FloatList): comment out the hardcoded float
10905         definitions.
10906
10907         * lyxlayout.h: ws change.
10908
10909 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10910
10911         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10912
10913 2002-09-03  Angus Leeming  <leeming@lyx.org>
10914
10915         * BufferView_pimpl.h: qualified name is not allowed in member
10916         declaration: WorkArea & Pimpl::workarea() const;
10917
10918         * factory.C: added using std::endl directive.
10919
10920         * text3.C: added using std::find and std::vector directives.
10921
10922 2002-08-29  André Pönitz <poenitz@gmx.net>
10923
10924         * lyxtext.h:
10925         * text2.C: remove unused member number_of_rows
10926
10927         * Makefile.am:
10928         * BufferView2.C: remove file, move contents to...
10929         * BufferView.C: ... here
10930
10931         * BufferView_pimpl.C:
10932         * factory.C: move more inset creation to factory
10933
10934         * vspace.C: avoid direct usage of LyXText, ws changes
10935
10936         * BufferView.[Ch]:
10937                 don't provide direct access to WorkArea, use two simple
10938                 acessors haveSelction() and workHeight() instead
10939
10940
10941 2002-08-29  John Levon  <levon@movementarian.org>
10942
10943         * BufferView_pimpl.C (dispatch): do not continue when
10944           no buffer
10945
10946 2002-08-28  André Pönitz <poenitz@gmx.net>
10947
10948         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10949
10950         * BufferView.h:
10951         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10952
10953 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10954
10955         * buffer.C: increment LYX_FORMAT to 221
10956
10957         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10958         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10959
10960         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10961
10962         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10963
10964 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10965
10966         * factory.C (createInset): use LyXTextClass::floats
10967
10968         * MenuBackend.C (expandFloatListInsert):
10969         (expandFloatInsert):
10970         (expandToc):
10971
10972         * text2.C (setCounter):
10973
10974         * LaTeXFeatures.C (useFloat):
10975         (getFloatDefinitions):
10976
10977         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10978
10979         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10980         floatlist_, with accessor floats().
10981
10982         * FloatList.h: remove global FloatList
10983
10984 2002-08-26  André Pönitz <poenitz@gmx.net>
10985
10986         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10987
10988         * BufferView.h:
10989         * BufferView2.C:
10990         * BufferView_pimpl.C:
10991         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10992
10993 2002-08-25  John Levon  <levon@movementarian.org>
10994
10995         * LyXAction.C: fix margin note description
10996
10997 2002-08-24  John Levon  <levon@movementarian.org>
10998
10999         * buffer.C:
11000         * bufferlist.C:
11001         * bufferview_funcs.C:
11002         * lyxfont.C:
11003         * undo_funcs.C: cleanups
11004
11005         * lyxfunc.C: disable CUT/COPY when no selection
11006
11007 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11008
11009         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11010         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11011
11012         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11013         Add backward compatibility to "mono", "gray" and "no".
11014
11015 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11016
11017         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11018         (and file_format >= 200).
11019
11020 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11021
11022         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11023
11024 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11027
11028 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11029
11030         * BufferView_pimpl.C:
11031         * LyXAction.C:
11032         * buffer.C:
11033         * commandtags.h:
11034         * lyxfunc.C:
11035         * paragraph.[Ch]:
11036         * text2.C:
11037         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11038         inset and code to make it  work with the paragraph code. The inset
11039         can be anywhere in the paragraph, but will only do the expected
11040         thing in LaTeX if the layout file contains the parameter line
11041                         OptionalArgs    1
11042         (or more generally, a nonzero value) for that layout.
11043
11044 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11045
11046         * paragraph.h: remove the declaration of undefined counters class
11047         function.
11048
11049 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11050
11051         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11052         Dr. Richard Hawkins.
11053
11054 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11055
11056         * paragraph_funcs.h: remove some unneeded includes
11057
11058         * text.C (backspace): pasteParagraph now in global scipe
11059
11060         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11061         (pasteSelection): ditto
11062
11063         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11064         * paragraph_funcs.C (pasteParagraph): ... here
11065
11066 2002-08-20  André Pönitz <poenitz@gmx.net>
11067
11068         * commandtags.h: new LFUNs for swapping/copying table row/colums
11069
11070         * LyXAction.C:
11071         * lyxfunc.C: support for new lfuns
11072
11073 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11074
11075         * tabular.C:
11076         * buffer.[Ch]: remove NO_COMPABILITY stuff
11077
11078 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11079
11080         * boost.C (throw_exception): new file, with helper function for
11081         boost compiled without exceptions.
11082
11083         * paragraph.h:
11084         * lyxlength.C:
11085         * buffer.C:
11086         * ParameterStruct.h:
11087         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11088
11089         * bufferlist.C (emergencyWriteAll): use boost bind
11090
11091         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11092
11093         * text.C: include paragraph_funcs.h
11094         (breakParagraph): breakParagraph is now in global scope
11095
11096         * paragraph_funcs.[Ch]: new files
11097
11098         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11099         global scope
11100
11101         * buffer.C: include paragraph_funcs.h
11102         (insertStringAsLines): breakParagraph is now in global scope
11103
11104         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11105         paragraph_funcs.C
11106
11107         * CutAndPaste.C: include paragraph_funcs.h
11108         (cutSelection): breakParagraphConservative is now in global scope
11109         (pasteSelection): ditto
11110
11111         * buffer.h: declare oprator== and operator!= for
11112         Buffer::inset_iterator
11113
11114         * bufferlist.C (emergencyWrite): don't use fmt(...)
11115
11116         * text3.C: add using std::endl
11117
11118         * BufferView.C (moveCursorUpdate): remove default arg
11119
11120 2002-08-20  André Pönitz <poenitz@gmx.net>
11121
11122         * buffer.[Ch]: move inline functions to .C
11123
11124         * BufferView2.C:
11125         * BufferView_pimpl.C:
11126         * text.C:
11127         * buffer.[Ch]: use improved inset_iterator
11128
11129         * buffer.C:
11130         * paragraph.[Ch]: write one paragraph at a time
11131
11132 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11133
11134         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11135         style if style is not specified.
11136
11137 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11138
11139         * text2.C (setCounter): when searching for right label for a
11140         caption, make sure to recurse to parent insets (so that a caption
11141         in a minipage in a figure float works) (bug #568)
11142
11143 2002-08-20  André Pönitz <poenitz@gmx.net>
11144
11145         * text3.C: new file for LyXText::dispatch() and helpers
11146
11147         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11148
11149         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11150
11151 2002-08-19  André Pönitz <poenitz@gmx.net>
11152
11153         * lyxtext.h:
11154         * text.C: new LyXText::dispatch()
11155
11156         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11157
11158 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11159
11160         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11161
11162         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11163         Hebrew text.
11164
11165 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11166
11167         * Makefile.am: use $(variables) instead of @substitutions@
11168
11169 2002-08-15  André Pönitz <poenitz@gmx.net>
11170
11171         * lyxfunc.C:
11172         * BufferView_pimpl.C: streamlining mathed <-> outer world
11173         interaction
11174
11175         * commandtags.h:
11176         * LyXAction.C: remove unused LFUN_MATH
11177
11178 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11179
11180         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11181
11182 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11183
11184         * paragraph.C (Paragraph): reformat a bit
11185         (cutIntoMinibuffer): use builtin InsetList function instad of
11186         doing it manually.
11187         (getInset): ditto
11188
11189         * buffer.C: include boost/bind.hpp, add using std::for_each
11190         (writeFileAscii): use ParagraphList iterators
11191         (validate): use for_each for validate traversal of paragraphs
11192         (getBibkeyList): use ParagraphList iterators
11193         (resizeInsets): use for_each to resizeInsetsLyXText for all
11194         paragraphs.
11195         (getParFromID): use ParagraphList iterators
11196
11197         * BufferView2.C (lockInset): use paragraph list and iterators
11198
11199 2002-08-14  John Levon  <levon@movementarian.org>
11200
11201         * lyxserver.C: remove spurious xforms include
11202
11203 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11204
11205         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11206
11207 2002-08-13  André Pönitz <poenitz@gmx.net>
11208
11209         * LyXAction.[Ch]:
11210         * lyxfunc.C: further cleaning
11211
11212 2002-08-13  André Pönitz <poenitz@gmx.net>
11213
11214         * funcrequest.h: new constructor
11215
11216         * funcrequest.C: move stuff here from .h
11217
11218         * Makefile.am:
11219         * BufferView_pimpl.C:
11220         * LyXAction.C:
11221         * toc.C:
11222         * lyxfunc.C: subsequent changes
11223
11224         * lyxfunc.h: new view() member function
11225
11226         * lyxfunc.C: subsequent changes
11227
11228 2002-08-13  Angus Leeming  <leeming@lyx.org>
11229
11230         * BufferView2.C:
11231         * BufferView_pimpl.C:
11232         * buffer.C:
11233         * converter.C:
11234         * importer.C:
11235         * lyxfunc.C:
11236         * lyxvc.C:
11237         * toc.C:
11238         * vc-backend.C:
11239         changes due to the changed LyXView interface that now returns references
11240         to member variables not pointers.
11241
11242 2002-08-13  Angus Leeming  <leeming@lyx.org>
11243
11244         * WordLangTuple (word, lang_code): return references to strings,
11245         not strings.
11246
11247         * BufferView.h:
11248         * SpellBase.h:
11249         * lyxtext.h: forward-declare WordLangTuple.
11250
11251         * BufferView2.C:
11252         * ispell.C:
11253         * pspell.C:
11254         * text.C: #include "WordLangTuple.h".
11255
11256         * lyxtext.h:
11257         * text.C: (selectNextWordToSpellcheck): constify return type.
11258
11259 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11260
11261         * buffer.C:
11262         * buffer.h:
11263         * lyxtext.h:
11264         * paragraph.C:
11265         * paragraph_pimpl.h:
11266         * text.C:
11267         * text2.C:
11268         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11269         suggested by Angus.
11270         Made updateCounter always count from start of buffer, and removed
11271         second argument (par).
11272         Reverted floats number display to '#'. Perhaps I'll try again when the
11273         code base is sanitized a bit.
11274
11275 2002-08-12  Angus Leeming  <leeming@lyx.org>
11276
11277         * buffer.[Ch] (getLabelList): constify.
11278
11279 2002-08-07  André Pönitz <poenitz@gmx.net>
11280
11281         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11282
11283         * funcrequest.h: extension to keep mouse (x,y) position
11284
11285 2002-08-12  Juergen Vigna  <jug@sad.it>
11286
11287         * BufferView2.C (insertErrors): forbid undo when inserting error
11288         insets.
11289
11290         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11291
11292 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11293
11294         * ParagraphList.[Ch]: new files
11295
11296         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11297
11298         * BufferView2.C (lockInset): ParagraphList changes
11299         * toc.C: ditto
11300         * text2.C: ditto
11301         * bufferlist.C: ditto
11302         * buffer.h: ditto
11303         * buffer.C: ditto
11304
11305 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11306
11307         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11308         unused class variable counter_,
11309
11310         * paragraph.[Ch] (getFirstCounter): delete unused function
11311
11312         * counters.C: include LAssert.h
11313         (reset): add a new function with no arg, change other version to
11314         not have def. arg and to not allow empty arg.
11315
11316         * text2.C (setCounter): remove empty arg from call to Counters::reset
11317
11318 2002-08-11  John Levon  <levon@movementarian.org>
11319
11320         * Makefile.am: add WordLangTuple.h
11321
11322 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11323
11324         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11325         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11326
11327         * insets/insettext.C: InsetList changes
11328
11329         * graphics/GraphicsSupport.C (operator()): InsetList changes
11330
11331         * toc.C (getTocList): InsetList changes
11332
11333         * paragraph_pimpl.[Ch]: InsetList changes
11334
11335         * paragraph.[Ch]: InsetList changes
11336
11337         * buffer.C (inset_iterator): InsetList changes
11338         (setParagraph): ditto
11339         * buffer.h (inset_iterator): ditto
11340         * iterators.C (operator++): ditto
11341         * iterators.h: ditto
11342
11343         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11344
11345         * InsetList.[Ch]: new files, most InsetList handling moved out of
11346         paragraph.C.
11347
11348         * BufferView2.C (removeAutoInsets): InsetList changes
11349         (lockInset): ditto
11350         (ChangeInsets): ditto
11351
11352 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11353
11354         * paragraph_pimpl.h (empty): new function
11355
11356         * paragraph.[Ch] (empty): new function
11357
11358         * other files: use the new Paragraph::empty function
11359
11360 2002-08-09  John Levon  <levon@movementarian.org>
11361
11362         * lyxtext.h: remove unused refresh_height
11363
11364 2002-08-09  John Levon  <levon@movementarian.org>
11365
11366         * Makefile.am:
11367         * sgml.h:
11368         * sgml.C:
11369         * buffer.C:
11370         * paragraph.h:
11371         * paragraph.C: move sgml char escaping out of paragraph
11372
11373         * paragraph.h:
11374         * paragraph.C: remove id setter
11375
11376         * buffer.C:
11377         * paragraph.C:
11378         * paragraph_pimpl.C: remove dead tex_code_break_column
11379
11380         * bufferview_funcs.C: small cleanup
11381
11382         * lyxfunc.C: remove dead proto
11383
11384         * lyxtext.h: make some stuff private. Remove some dead stuff.
11385
11386         * lyxgluelength.C: make as[LyX]String() readable
11387
11388 2002-08-08  John Levon  <levon@movementarian.org>
11389
11390         * LyXAction.h:
11391         * LyXAction.C:
11392         * MenuBackend.C:
11393         * ToolbarDefaults.C:
11394         * lyxfunc.C:
11395         * lyxrc.C:
11396         * toc.C: lyxaction cleanup
11397
11398 2002-08-08  John Levon  <levon@movementarian.org>
11399
11400         * BufferView2.C: small cleanup
11401
11402         * lyxfind.h:
11403         * lyxfind.C: move unnecessary header into the .C
11404
11405 2002-08-08  John Levon  <levon@movementarian.org>
11406
11407         * funcrequest.h: just tedious nonsense
11408
11409         * lyx_main.h:
11410         * lyx_main.C: cleanups
11411
11412         * buffer.C:
11413         * vspace.C: remove dead header lyx_main.h
11414
11415 2002-08-07  Angus Leeming  <leeming@lyx.org>
11416
11417         * Paragraph.[Ch]:
11418         * paragraph_pimpl.h:
11419         Forward declare class Counters in paragraph.h by moving the ctrs member
11420         variable into Paragraph::Pimpl.
11421         (counters): new method, returning a reference to pimpl_->ctrs.
11422
11423         * text2.C: ensuing changes.
11424
11425 2002-08-07  John Levon  <levon@movementarian.org>
11426
11427         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11428
11429         * BufferView_pimpl.C: announce X selection on double/triple
11430           click
11431
11432         * lyx_main.C: use correct bool in batch dispatch
11433
11434         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11435
11436 2002-08-07  André Pönitz <poenitz@gmx.net>
11437
11438         * funcrequest.h: new class to wrap a kb_action and its argument
11439
11440         * BufferView.[Ch]:
11441         * BufferView_pimpl[Ch]:
11442         * LaTeX.C:
11443         * LyXAction.[Ch]:
11444         * lyxfunc.[Ch]:
11445         * lyxrc.C: subsequent changes
11446
11447
11448 2002-08-07  John Levon  <levon@movementarian.org>
11449
11450         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11451           document options change.
11452
11453 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11454
11455         * counters.[Ch]
11456         * text2.C
11457         * paragraph.[Ch]
11458         * makefile.am: move counters functionality over from
11459         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11460
11461 2002-08-06  John Levon  <levon@movementarian.org>
11462
11463         * WordLangTuple.h: new file for word + language code tuple
11464
11465         * SpellBase.h:
11466         * pspell.h:
11467         * pspell.C:
11468         * ispell.h:
11469         * ispell.C:
11470         * lyxtext.h:
11471         * text.C:
11472         * text2.C:
11473         * BufferView.h:
11474         * BufferView2.C: use WordLangTuple
11475
11476         * layout.h:
11477         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11478
11479 2002-08-06  John Levon  <levon@movementarian.org>
11480
11481         * lyx_main.C: fix cmdline batch handling
11482
11483 2002-08-06  André Pönitz <poenitz@gmx.net>
11484
11485         * lyxrc.C: set default for show_banner to true
11486
11487 2002-08-06  John Levon  <levon@movementarian.org>
11488
11489         * pspell.C: fix a crash, and allow new aspell to work
11490
11491 2002-08-06  John Levon  <levon@movementarian.org>
11492
11493         * lyxfunc.C:
11494         * kbmap.C: small cleanup
11495
11496         * vspace.h:
11497         * vspace.C: add const
11498
11499 2002-08-05  John Levon  <levon@movementarian.org>
11500
11501         * LyXAction.C: back to tabular-insert
11502
11503 2002-08-04  John Levon  <levon@movementarian.org>
11504
11505         * BufferView.h:
11506         * BufferView.C: cosmetic change
11507
11508         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11509
11510         * bufferlist.C:
11511         * buffer.h:
11512         * buffer.C:
11513         * lyxcb.h:
11514         * lyxcb.C:
11515         * lyxserver.C:
11516         * lyxvc.C:
11517         * vc-backend.C:
11518         * BufferView2.C: purge all "Lyx" not "LyX" strings
11519
11520         * lyxcursor.h:
11521         * lyxcursor.C: attempt to add some documentation
11522
11523         * lyxfunc.C:
11524         * commandtags.h:
11525         * LyXAction.C:
11526         * ToolbarDefaults.C:
11527         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11528           merge with LFUN_TABULAR_INSERT
11529
11530         * Makefile.am:
11531         * SpellBase.h:
11532         * ispell.h:
11533         * ispell.C:
11534         * pspell.h:
11535         * pspell.C: split up i/pspell implementations into separate
11536           files, many cleanups
11537
11538         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11539
11540         * text2.C: some cleanup
11541
11542         * lyxfunc.C: don't check for isp_command == "none" any more, it
11543           didn't make any sense
11544
11545 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11546
11547         * counters.[Ch]
11548         * text2.C
11549         * paragraph.[Ch]
11550         * makefile.am: move counters functionality over
11551         from text2.C/paragraph.[Ch] to counters.[Ch], and
11552         make proper C++.
11553 2002-08-02  John Levon  <levon@movementarian.org>
11554
11555         * buffer.C: s/lyxconvert/lyx2lyx/
11556
11557 2002-08-02  Angus Leeming  <leeming@lyx.org>
11558
11559         * lyxlex.C: revert John's change as it breaks reading of the user
11560         preamble.
11561
11562 2002-08-02  Angus Leeming  <leeming@lyx.org>
11563
11564         * importer.C (Import):
11565         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11566         changes due to LyXView::view() now returning a boost::shared_ptr.
11567
11568 2002-08-02  John Levon  <levon@movementarian.org>
11569
11570         * lyxlex.C: small cleanup
11571
11572 2002-08-02  John Levon  <levon@movementarian.org>
11573
11574         * text2.C (status): small cleanup, no logic change
11575
11576 2002-08-01  John Levon  <levon@movementarian.org>
11577
11578         * buffer.h:
11579         * buffer.C (writeFile): don't output alerts, caller
11580           handles this
11581
11582         * bufferlist.C:
11583         * lyx_cb.C: from above
11584
11585         * lyxfunc.C: allow to open non-existent files
11586
11587 2002-07-31  John Levon  <levon@movementarian.org>
11588
11589         * lyxserver.C: don't let incidental errors get
11590           in the way (errno)
11591
11592 2002-07-30  John Levon  <levon@movementarian.org>
11593
11594         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11595
11596 2002-07-30  John Levon  <levon@movementarian.org>
11597
11598         * lyxserver.h:
11599         * lyxserver.C: remove I/O callback too
11600
11601 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11604         log.
11605
11606 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11607
11608         * many files: strip,frontStrip -> trim,ltrim,rtrim
11609
11610 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11611
11612         * PrinterParams.h: remove extern containsOnly, and include
11613         support/lstrings.h instead.
11614
11615         * LaTeX.C (scanAuxFile): modify because of strip changes
11616         (deplog): ditto
11617         * buffer.C (makeLaTeXFile): ditto
11618         * bufferparams.C (writeFile): ditt
11619         * lyxfont.C (stateText): ditto
11620         * lyxserver.C (read_ready): ditto
11621         * vc-backend.C (scanMaster): ditto
11622
11623         * BufferView_pimpl.h: ws changes
11624
11625         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11626
11627 2002-07-26  André Pönitz <poenitz@gmx.net>
11628
11629         * kb_sequence.C: remove unnedred usings
11630
11631 2002-07-26  Juergen Vigna  <jug@sad.it>
11632
11633         * lyxfind.C (LyXReplace): we have to check better if the returned
11634         text is not of theLockingInset()->getLockingInset().
11635
11636 2002-07-25  Juergen Vigna  <jug@sad.it>
11637
11638         * lyxfind.C (LyXReplace): don't replace if we don't get the
11639         right LyXText.
11640
11641         * undo_funcs.C (createUndo): remove debugging code.
11642
11643 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11644
11645         * buffer.C (parseSingleLyXformat2Token): Use default placement
11646         when reading old floats.
11647
11648         * FloatList.C (FloatList): Change the default placement of figure
11649         and tables to "tbp".
11650
11651 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11652
11653         * MenuBackend.C: using std::max
11654
11655 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * MenuBackend.C (expandToc):
11658         (expandToc2): code moved from xforms menu frontend. It is now
11659         generic and TOCs are transparent to menu frontends.
11660
11661 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11662
11663         * toc.C (getTocList): protect against buf=0
11664
11665         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11666         Menu as first parameter. Now, this calls itself recursively to
11667         expand a whole tree (this will be useful for TOC handling)
11668         (expandFloatInsert): remove 'wide' version of floats
11669
11670         * MenuBackend.h (submenuname): returns the name of the submenu.
11671         (submenu): returns the submenu itself, provided it has been
11672         created by MenuBackend::expand
11673
11674 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11675
11676         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11677         insets which have noFontChange == true. (bug #172)
11678
11679 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11680
11681         * BufferView_pimpl.C: add connection objects and use them...
11682         (Pimpl): here.
11683
11684 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11685
11686         * MenuBackend.C (expandLastfiles):
11687         (expandDocuments):
11688         (expandFormats):
11689         (expandFloatListInsert):
11690         (expandFloatInsert):
11691         (expand): split expand in parts
11692
11693 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11694
11695         * lyx_gui.C: use lyx_gui::exit()
11696
11697 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * LyXAction.C: show the failing pseudo action
11700
11701 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11702
11703         * buffer.C (readFile): Run the lyxconvert script in order to read
11704         old files.
11705
11706 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * LyXAction.C:
11709         * commandtags.h:
11710         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11711
11712 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11713
11714         * LyXAction.C:
11715         * commandtags.h:
11716         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11717
11718 2002-07-22  Herbert Voss  <voss@lyx.org>
11719
11720         * lengthcommon.C:
11721         * lyxlength.[Ch]: add support for the vertical lengths
11722
11723 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * toc.[Ch]: std:: fixes
11726
11727 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11728
11729         * lyxrc.C: do not include lyx_main.h
11730
11731         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11732         for layouts
11733
11734         * lyxrc.C:
11735         * encoding.C:
11736         * bufferlist.C:
11737         * BufferView2.C: include "lyxlex.h"
11738
11739         * tabular.h:
11740         * bufferparams.h: do not #include "lyxlex.h"
11741
11742         * lyxtextclasslist.C (Add): remove method
11743         (classlist): renamed to classlist_
11744
11745         * paragraph_pimpl.C:
11746         * paragraph.C:
11747         * text2.C:
11748         * CutAndPaste.C:
11749         * bufferview_funcs.C:
11750         * bufferlist.C:
11751         * text.C:
11752         * LaTeXFeatures.C:
11753         * buffer.C:
11754         * toc.C (getTocList): use BufferParams::getLyXTextClass
11755
11756         * toc.C (getTocList): use InsetFloat::addToToc
11757
11758         * toc.[Ch]: new files, containing helper functions to handle table
11759         of contents
11760
11761         * lyxfunc.C (dispatch): no need to remove spaces around command
11762         given as a string
11763         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11764         first command of the sequence; it is not very clever, but I do not
11765         have a better idea, actually
11766
11767         * LyXAction.C (LookupFunc): make sure to remove space at the
11768         beginning and end of the command
11769
11770 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11771
11772         * MenuBackend.C (getMenubar): new method: return the menubar of
11773         this menu set
11774         (read): treat differently reading of menu and menubar (in
11775         particular, the menubar has no name now)
11776         (Menu::menubar): remove
11777
11778         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11779         saving is finished
11780
11781 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11782
11783         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11784         a bibitem inset in a RTL paragraph.
11785
11786 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * paragraph_pimpl.C: constify
11789
11790         * BufferView_pimpl.C:
11791         * LaTeX.C:
11792         * lyxfunc.C: fix dispatch in a nicer way
11793
11794 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * lyxfunc.C (dispatch):
11797         * BufferView_pimpl.C:
11798         * BufferView_pimpl.h:
11799         * BufferView.C:
11800         * BufferView.h: rename Dispatch() to dispatch()
11801
11802         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11803
11804         * lyxlayout.C (Read): honor DependsOn tag
11805
11806         * lyxlayout.[Ch] (depends_on): new method
11807
11808         * version.C.in: update lyx_docversion
11809
11810         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11811
11812         * paragraph.C (validate): remove from here...
11813         * paragraph_pimpl.C (validate): ... and move here
11814         (isTextAt): make it const
11815
11816         * buffer.C (getLists): ws cleanup
11817
11818 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11819
11820         * language.C (read): Use iso8859-1 encoding in latex_lang
11821         (this prevents LyX from crashing when using iso10646-1 encoding).
11822
11823 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11824
11825         * text2.C (toggleInset): if cursor is inside an inset, close the
11826         inset and leave cursor _after_ it
11827
11828 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * lyxfunc.C: move minibuffer completion handling out of here
11831
11832 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11833
11834         * BufferView_pimpl.C:
11835         * LaTeX.C: fix dispatch calls
11836
11837 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11838
11839         * text.C (drawChars): Fix Arabic text rendering.
11840
11841 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11842
11843         * LyXAction.C:
11844         * commandtags.h:
11845         * lyxfunc.C: remove message-push/pop
11846
11847         * lyxserver.C:
11848         * lyxfunc.h:
11849         * lyxfunc.C: rationalise some code by removing verboseDispatch
11850           in favour of a bool argument to dispatch()
11851
11852 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * lyx_main.C (init): make sure to read symlinks as absolute paths
11855
11856 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * lyxfunc.h:
11859         * lyxfunc.C: no need for commandshortcut to be a member
11860
11861 2002-07-15  André Pönitz <poenitz@gmx.net>
11862
11863         * converter.C: add support for $$s (scripts from lib/scripts dir)
11864         * lyx_main.C: white space
11865
11866 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * bufferlist.C:
11869         * lyxrc.h:
11870         * lyxrc.C: remove second exit confirmation
11871
11872 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * BufferView.h:
11875         * BufferView.C:
11876         * BufferView2.C:
11877         * BufferView_pimpl.h:
11878         * BufferView_pimpl.C:
11879         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11880
11881 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11882
11883         * MenuBackend.C (expand): add numeric shortcuts to document menu
11884
11885         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11886
11887 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11888
11889         * lyxfont.C (setLyXFamily):
11890         (setLyXSeries):
11891         (setLyXShape):
11892         (setLyXSize):
11893         (setLyXMisc):
11894         (lyxRead):
11895         * debug.C (value):
11896         * buffer.C (asciiParagraph): use ascii_lowercase
11897
11898 2002-07-15  Mike Fabian  <mfabian@suse.de>
11899
11900         * lyxlex_pimpl.C (search_kw):
11901         * lyxlex.C (getLongString):
11902         * converter.h (operator<):
11903         * converter.C (operator<):
11904         * buffer.C (parseSingleLyXformat2Token):
11905         (asciiParagraph):
11906         * ToolbarDefaults.C (read):
11907         * MenuBackend.C (checkShortcuts):
11908         (read):
11909         * LColor.C (getFromGUIName):
11910         (getFromLyXName): use the compare_ascii_no_case instead of
11911         compare_no_case, because in turkish, 'i' is not the lowercase
11912         version of 'I', and thus turkish locale breaks parsing of tags.
11913
11914 2002-07-16  Angus Leeming  <leeming@lyx.org>
11915
11916         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11917         now takes a Buffer const & argument.
11918
11919 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * BufferView.C (resize): check there's a buffer to resize
11922
11923 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * lyxfunc.C: remove dead code
11926
11927         * lyxserver.h:
11928         * lyxserver.C: use lyx_guii::set_read_callback
11929
11930 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11931
11932         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11933         an inset in a RTL paragraph.
11934
11935 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11936
11937         * lyxfunc.C: repaint after a font size update
11938
11939 2002-07-15  André Pönitz <poenitz@gmx.net>
11940
11941         * lyxlength.C: inBP should be able to return negative values
11942
11943 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11944
11945         * lyxfunc.C: use lyx_gui::update_fonts()
11946
11947 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * lyxfunc.C: use lyx_gui::update_color()
11950
11951 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * bufferlist.C:
11954         * lyxfunc.h:
11955         * lyxfunc.C:
11956         * lyxrc.h:
11957         * lyxrc.C: remove file->new asks for name option, and let
11958           buffer-new take an argument
11959
11960 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * BufferView_pimpl.C: remove unneeded extra repaint()
11963
11964 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11965
11966         * LyXAction.C: allow command-sequence with NoBuffer
11967
11968         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11969
11970 2002-07-10  Angus Leeming  <leeming@lyx.org>
11971
11972         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11973
11974 2002-07-09  Angus Leeming  <leeming@lyx.org>
11975
11976         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11977
11978 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11979
11980         * lengthcommon.h: whitespace
11981
11982         * lyxfunc.C: update scrollbar after goto paragraph
11983
11984         * lyxtext.h: factor out page break drawing, and fix it so
11985           page break/added space paints as selected nicely
11986
11987 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11988
11989         * BufferView_pimpl.C: add FIXMEs, clean up a little
11990
11991 2002-07-09  André Pönitz <poenitz@gmx.net>
11992
11993         * lyxfont.[Ch]: support for wasy symbols
11994
11995 2002-07-08  André Pönitz <poenitz@gmx.net>
11996
11997         * BufferView_pimpl.C: apply John's patch for #93.
11998
11999 2002-07-05  Angus Leeming  <leeming@lyx.org>
12000
12001         * BufferView_pimpl.C (buffer): generate previews if desired.
12002
12003         * LColor.h: add "preview" to the color enum.
12004
12005         * LColor.C (LColor): add a corresponding entry to the items array.
12006
12007         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12008         with this buffer.
12009
12010 2002-07-05  Angus Leeming  <leeming@lyx.org>
12011
12012         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12013         The body of the code is now in the method that is passed an ostream &
12014         rather than a file name.
12015         Pass an additional only_preamble parameter, useful for the forthcoming
12016         preview stuff.
12017
12018 2002-07-03  André Pönitz <poenitz@gmx.net>
12019
12020         * lyxfunc.C: simplify getStatus() a bit for math stuff
12021
12022 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12023
12024         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12025
12026 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * text.C (changeRegionCase): do not change case of all the
12029         document when region ends at paragraph end (bug #461)
12030
12031 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * paragraph.C (startTeXParParams):
12034         (endTeXParParams): add \protect when necessary
12035
12036 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12037
12038         * BufferView_pimpl.C (workAreaExpose): remove warning
12039
12040 2002-06-27  Angus Leeming  <leeming@lyx.org>
12041
12042         * Makefile.am: add lyxlayout_ptr_fwd.h.
12043
12044 2002-06-26  André Pönitz <poenitz@gmx.net>
12045
12046         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12047
12048 2002-06-25  Angus Leeming  <leeming@lyx.org>
12049
12050         * lyxfunc.C (dispatch): Comment out the call to
12051         grfx::GCache::changeDisplay. The method no longer exists now that the
12052         pixmap generation part of the graphics loader has been moved into
12053         InsetGraphics.
12054
12055 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12056
12057         * text2.C: layout as layout
12058
12059         * text.C: layout as layout
12060
12061         * tabular.C (OldFormatRead): layout as layout
12062
12063         * paragraph_pimpl.C (TeXDeeper): layout as layout
12064         (realizeFont): layout as layout
12065
12066         * paragraph.C (writeFile): layout as layout
12067         (validate): layout as layout
12068         (getFont): layout as layout
12069         (getLabelFont): layout as layout
12070         (getLayoutFont): layout as layout
12071         (breakParagraph): layout as layout
12072         (stripLeadingSpaces): layout as layout
12073         (getEndLabel): layout as layout
12074         (getMaxDepthAfter): layout as layout
12075         (applyLayout): layout as layout
12076         (TeXOnePar): layout as layout
12077         (simpleTeXOnePar): layout as layout
12078         (TeXEnvironment): layout as layout
12079         (layout): layout as layout
12080         (layout): layout as layout
12081
12082         * lyxtextclass.C (compare_name): new functor to work with
12083         shared_ptr, layout as layout
12084         (Read): layout as layout
12085         (hasLayout): layout as layout
12086         (operator): layout as layout
12087         (delete_layout): layout as layout
12088         (defaultLayout): layout as layout
12089
12090         * lyxlayout_ptr_fwd.h: new file
12091
12092         * lyxlayout.C (Read): layout as layout
12093
12094         * lyx_cb.C (MenuInsertLabel): layout as layout
12095
12096         * bufferlist.C (newFile): layout as layout
12097
12098         * buffer.C (readLyXformat2): layout as layout
12099         (parseSingleLyXformat2Token): layout as layout
12100         (insertStringAsLines): layout as layout
12101         (asciiParagraph): layout as layout
12102         (latexParagraphs): layout as layout
12103         (makeLinuxDocFile): layout as layout
12104         (simpleLinuxDocOnePar): layout as layout
12105         (makeDocBookFile): layout as layout
12106         (simpleDocBookOnePar): layout as layout
12107         (getLists): layout as layout
12108
12109         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12110
12111         * CutAndPaste.C (cutSelection): layout as layout
12112         (pasteSelection): layout as layout
12113         (SwitchLayoutsBetweenClasses): layout as layout
12114
12115         * BufferView_pimpl.C (Dispatch): layout as layout
12116         (smartQuote): layout as layout
12117
12118         * BufferView2.C (unlockInset): layout as layout
12119
12120 2002-06-24  André Pönitz <poenitz@gmx.net>
12121
12122         * lyxfunc.C: fix #487
12123
12124 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12125
12126         * lyxrc.h:
12127         * lyxrc.C:
12128         * lyxfunc.C: remove display_shortcuts, show_banner
12129
12130 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12131
12132         * Buffer_pimpl.C: oops, update on resize
12133
12134 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * buffer.C:
12137         * converter.C:
12138         * exporter.C:
12139         * lyxfunc.C:
12140         * BufferView.h:
12141         * BufferView.C: use repaint()
12142
12143         * BufferView_pimpl.h:
12144         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12145           as it's a clearer description. Remove superfluous
12146           redraws.
12147
12148 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12149
12150         * text.C: fix bug 488. Not ideal, but getting
12151           getWord() to work properly for the insets that
12152           matter is more difficult ...
12153
12154 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * BufferView_pimpl.C:
12157         * LyXAction.C:
12158         * commandtags.h:
12159         * lyxfunc.C: remove the six million index lyxfuncs to just
12160           one, and DTRT (bug 458)
12161
12162 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * BufferView.h:
12165         * BufferView.C:
12166         * BufferView_pimpl.h:
12167         * BufferView_pimpl.C: clean up resize() stuff,
12168           and unnecessary updateScreen()s
12169
12170 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * BufferView.h:
12173         * BufferView.C:
12174         * BufferView_pimpl.h:
12175         * BufferView_pimpl.C:
12176         * lyxfind.h:
12177         * lyxfind.C:
12178         * minibuffer.C: remove focus management of workarea,
12179           not needed. Use screen's greyOut()
12180
12181 2002-06-17  Herbert Voss  <voss@lyx.org>
12182
12183         * converter.C: (convert) do not post a message, when converting
12184         fails, let the calling function decide what to do in this case
12185
12186 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12187
12188         * lyxfunc.C: tidy up a little
12189
12190 2002-06-16    <alstrup@diku.dk>
12191
12192         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12193         Got rid of FORMS_H_LOCATION include. Now we are
12194         GUII.
12195
12196 2002-06-15  LyX Development team  <lyx@rilke>
12197
12198         * buffer.[Ch] (sgmlOpenTag):
12199         (sgmlCloseTag): Added support for avoiding pernicious mixed
12200         content. Return number of lines written.
12201
12202         (makeLinuxDocFile):
12203         (makeDocBookFile): Fixed calls to sgml*Tag.
12204         Simple white space clean.
12205
12206         (simpleDocBookOnePar): Simple white space clean.
12207
12208         * tabular.[Ch] (docBook): Renamed to docbook and got another
12209         argument to related with the pernicious mixed content.
12210
12211         (docbookRow): Fixed calls for docbook inset method.
12212
12213 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12214
12215         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12216         so it's X11 independent.
12217
12218         * kb*.[Ch]: ditto.
12219
12220         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12221
12222 2002-06-15  Lyx Development team  <lyx@electronia>
12223
12224         * intl.h: Renamed getTrans to getTransManager.
12225
12226 2002-06-14  Angus Leeming  <leeming@lyx.org>
12227
12228         * Makefile.am: nuke forgotten stl_string_fwd.h.
12229
12230 2002-06-12  Angus Leeming  <leeming@lyx.org>
12231
12232         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12233
12234 2002-06-13  Angus Leeming  <leeming@lyx.org>
12235
12236         * LaTeX.C:
12237         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12238
12239 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12240
12241         * kbmap.C (getiso): add support for cyrillic and greek
12242
12243 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * BufferView.h:
12246         * BufferView.C:
12247         * BufferView_pimpl.h:
12248         * BufferView_pimpl.C: move bogus scrolling logic
12249           to xforms
12250
12251 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * lyxfunc.C:
12254         * BufferView_pimpl.C: view->resize() change
12255
12256 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * BufferView_pimpl.C: topCursorVisible
12259           prototype change
12260
12261 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * Makefile.am:
12264         * lyx_gui.h:
12265         * lyx_gui.C: move to frontends/
12266
12267         * main.C:
12268         * lyx_main.h:
12269         * lyx_main.C: changes from above
12270
12271 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12272
12273         * intl.C:
12274         * intl.h:
12275         * kbmap.C:
12276         * kbsequence.C:
12277         * lyx_cb.C:
12278         * lyx_main.C: minor tidy
12279
12280 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12281
12282         * BufferView_pimpl.h:
12283         * BufferView_pimpl.C:
12284         * BufferView.h:
12285         * BufferView.C: make painter() const,
12286           remove dead code
12287
12288         * BufferView2.C: use screen() accessor
12289
12290         * lyx_main.h:
12291         * lyx_main.C: some minor cleanup
12292
12293 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * BufferView_pimpl.h:
12296         * BufferView_pimpl.C: remove enter/leaveView,
12297           use workHeight()
12298
12299 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12300
12301         * BufferView.h:
12302         * BufferView.C:
12303         * BufferView2.C:
12304         * BufferView_pimpl.h:
12305         * BufferView_pimpl.C: only construct screen once,
12306           rename
12307
12308         * lyxrc.C: remove pointless comment
12309
12310 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12311
12312         * BufferView.h:
12313         * BufferView.C: remove active() and belowMouse()
12314
12315         * BufferView_pimpl.h:
12316         * BufferView_pimpl.C: use workarea() not workarea_,
12317           and make it use a scoped_ptr instead
12318
12319 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12320
12321         * lyx_gui.C: add debug message on BadWindow
12322
12323 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12324
12325         * sp_spell.C: fdopen is not part of the C++ standard.
12326
12327         * paragraph.C (InsetIterator): use >= instead of ==
12328
12329 2002-06-07  Angus Leeming  <leeming@lyx.org>
12330
12331         Fixes needed to compile with Compaq cxx 6.5.
12332         * BufferView_pimpl.C:
12333         * DepTable.C:
12334         * buffer.C:
12335         * converter.C:
12336         * encoding.C:
12337         * lyx_gui.C:
12338         * lyx_main.C:
12339         * lyxtextclasslist.C:
12340         * minibuffer.C:
12341         * sp_spell.C:
12342         * tabular_funcs.C:
12343         * vc-backend.C:
12344         all c-library variables have been moved into namespace std. Wrap
12345         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12346
12347         * lyxlength.C:
12348         * tabular-old.C:
12349         * tabular.C:
12350         Add a using std::abs declaration.
12351
12352         * kbmap.h (modifier_pair):
12353         * paragraph.h (InsetTable, InsetList):
12354         * lyxfont.h (FontBits):
12355         type definition made public.
12356
12357         * bufferlist.C (emergencyWriteAll): the compiler complains that
12358         there is more than one possible lyx::class_fun template to choose from.
12359         I re-named the void specialisation as lyx::void_class_fun.
12360
12361         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12362
12363         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12364         the compiler is is unable to find tostr in write_attribute.
12365
12366 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12367
12368         * buffer.C (sgmlError): hide #warning
12369
12370 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12371
12372         * xtl/*: get rid of xtl, which is not in use anyway
12373
12374         * LyXAction.C (init):
12375         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12376         were unimplemented xtl experimentation
12377
12378 2002-06-04  André Pönitz <poenitz@gmx.net>
12379
12380         * lyxfunc.C: disable array operation on simple formulae
12381
12382 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * converter.C: constify a bit
12385
12386 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * lyx_gui.C: check xforms version correctly
12389
12390 2002-04-30  Herbert Voss  <voss@lyx.org>
12391
12392         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12393         "keep" option
12394
12395 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12398           attempt to register it with a VCS)
12399
12400 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12401
12402         * lyx_main.C (init): honor variables LYX_DIR_13x and
12403         LYX_USERDIR_13x
12404
12405 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * buffer.h:
12408         * buffer.C:
12409         * lyx_main.C: fix a crash on bad command line,
12410           and give a useful exit status on error
12411
12412         * lyxfunc.C (doImport): allow -i lyx to work
12413
12414 2002-03-30  André Pönitz <poenitz@gmx.net>
12415
12416         * lyxfunc.C: mathed font changes
12417
12418 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12419
12420         * LaTeX.C:
12421         * importer.h:
12422         * importer.C:
12423         * lyx_sty.h:
12424         * lyx_sty.C:
12425         * lyxlex.C:
12426         * lyxrow.h:
12427         * lyxtext.h:
12428         * paragraph.h:
12429         * paragraph.C:
12430         * texrow.h:
12431         * texrow.C:
12432         * text.C:
12433         * trans_mgr.h: srcdocs, and some minor cleanups
12434
12435 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12436
12437         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12438         call getFont all the time)
12439
12440 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * switch from SigC signals to boost::signals
12443
12444 2002-05-29  André Pönitz <poenitz@gmx.net>
12445
12446         * paragraph_pimpl.C (getChar): don't call size() too often...
12447
12448 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12449
12450         * paragraph_pimpl.C (insertChar): do not try to update tables when
12451         appending (pos == size())
12452
12453         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12454         in order to reduce drastically the number of comparisons needed to
12455         parse a large document
12456
12457 2002-05-29  André Pönitz <poenitz@gmx.net>
12458
12459         * text.C:
12460         * text2.C:
12461         * lyxtextclass.C:
12462         * sp_pspell.h:
12463         * textclasslist.[Ch]:
12464         * sp_ispell.h: whitespace change
12465
12466 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12469         lyxaction directly now.
12470
12471 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12472
12473         * trans.C:
12474         * lyxfont.C:
12475         * lyxvc.C: remove unused headers
12476
12477 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * Makefile.am:
12480         * buffer.h:
12481         * undostack.h:
12482         * undostack.C:
12483         * undo_funcs.h:
12484         * undo_funcs.C: some cleanups. Use shared_ptr
12485           and a template for the undo stacks.
12486
12487 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12488
12489         * BufferView_pimpl.h:
12490         * BufferView_pimpl.C:
12491         * kbmap.h:
12492         * kbmap.C:
12493         * kbsequence.h:
12494         * kbsequence.C:
12495         * lyxfunc.h:
12496         * lyxfunc.C:
12497         * text2.C: use key_state/mouse_state
12498
12499 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12500
12501         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12502         and LSubstring
12503
12504         * chset.C: change include order
12505         (loadFile): use boost regex and get rid of LRegex and LSubstring
12506
12507         * Makefile.am (BOOST_LIBS): new variable
12508         (lyx_LDADD): use it
12509
12510         * LaTeX.C: change include order.
12511         (scanAuxFile): use boost regex and get rid of LRegex and
12512         LSubstring
12513         (deplog): ditto
12514
12515 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12516
12517         * ColorHandler.h:
12518         * ColorHandler.C:
12519         * FontInfo.h:
12520         * FontInfo.C: moved to frontends/xforms/
12521
12522         * FontLoader.h:
12523         * FontLoader.C: moved into frontends for GUIIzation
12524
12525         * Makefile.am:
12526         * lyx_gui.C:
12527         * lyxfont.C:
12528         * lyxfunc.C: changes from above
12529
12530 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12531
12532         * LColor.C: remove spurious X include
12533
12534         * BufferView_pimpl.C:
12535         * Makefile.am:
12536         * font.h:
12537         * font.C:
12538         * text.C:
12539         * text2.C: move font metrics to frontends/
12540
12541 2002-05-24  Juergen Vigna  <jug@sad.it>
12542
12543         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12544         setting the undo_cursor.
12545
12546         * ParagraphParameters.h: include local includes first.
12547
12548 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12549
12550         * BufferView_pimpl.C:
12551         * BufferView_pimpl.h:
12552         * Makefile.am:
12553         * WorkArea.h:
12554         * WorkArea.C:
12555         * screen.C: move WorkArea into frontends/
12556
12557         * lyxscreen.h:
12558         * screen.C:
12559         * text.C:
12560         * BufferView.C:
12561         * BufferView2.C: move LyXScreen into frontends/
12562
12563         * lyxlookup.h:
12564         * lyxlookup.C:
12565         * lyx_gui.C: move lyxlookup into frontends/xforms/
12566
12567 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12568
12569         * BufferView2.C:
12570         * BufferView_pimpl.C:
12571         * FontLoader.C:
12572         * LyXView.h:
12573         * LyXView.C:
12574         * Makefile.am:
12575         * WorkArea.C:
12576         * XFormsView.h:
12577         * XFormsView.C:
12578         * buffer.C:
12579         * bufferlist.C:
12580         * bufferview_funcs.C:
12581         * converter.C:
12582         * importer.C:
12583         * lyx_cb.C:
12584         * lyx_gui.C:
12585         * lyx_main.C:
12586         * lyx_find.C:
12587         * lyxfunc.C:
12588         * lyxvc.C:
12589         * minibuffer.C:
12590         * text.C:
12591         * text2.C:
12592         * trans.C:
12593         * vc-backend.C: move LyX/XFormsView into frontends/
12594
12595 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * Makefile.am:
12598         * PainterBase.C:
12599         * PainterBase.h:
12600         * Painter.C:
12601         * Painter.h:
12602         * WorkArea.C:
12603         * WorkArea.h:
12604         * screen.C:
12605         * tabular.C:
12606         * text.C:
12607         * text2.C: move Painter to frontends/
12608
12609 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12610
12611         * buffer.C: comment out some some code that depend upon lyx_format
12612         < 220
12613
12614         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12615         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12616
12617         * buffer.h (NO_COMPABILITY): turn off compability
12618
12619         * ColorHandler.C: include scoped_array.hpp
12620
12621         * font.C: Use more specific smart_ptr header.
12622         * Painter.C: ditto
12623         * gettext.C: ditto
12624         * ShareContainer.h: ditto
12625         * lyx_main.h: ditto
12626         * kbmap.h: ditto
12627         * FontInfo.h: ditto
12628         * BufferView_pimpl.h: ditto
12629         * ColorHandler.h: ditto
12630
12631         * kbmap.C (defkey): change call to shared_ptr::reset
12632
12633 2002-05-21  Juergen Vigna  <jug@sad.it>
12634
12635         * buffer.C (insertErtContents): fix to insert ert asis if it is
12636         non empty. Skip it completely if it contains only whitespaces.
12637
12638 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * BufferView_pimpl.C:
12641         * BufferView2.C: clear selection on paste (bug 393)
12642
12643 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * DepTable.C: include ctime
12646
12647 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12648
12649         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12650
12651 2002-05-14  Juergen Vigna  <jug@sad.it>
12652
12653         * text.C (breakParagraph): fixed function to honor the keepempty
12654         layout in the right maner and also to permit the right breaking
12655         algorithm on empty or non empyt keepempty paragraphs.
12656
12657         * paragraph.C (breakParagraph): we have to check also if the par
12658         is really empty (!size()) for isempty otherwise we do the wrong
12659         paragraph break.
12660
12661 2002-05-10  Juergen Vigna  <jug@sad.it>
12662
12663         * buffer.[Ch] : The following are only changes to the ert
12664         compatibility read reading old LaTeX layout and font stuff and
12665         convert it to ERTInsets.
12666
12667         * buffer.h: added isErtInset().
12668
12669         * buffer.C (struct ErtComp): add a fromlayout bool to check
12670         if we're inside a LaTeX layout.
12671         (isErtInset): new helper function.
12672         (insertErtContents): look for other ert insets before this one
12673         and insert the contents there, so that we don't have subsequent
12674         ERT insets with nothing between them. This way we create only one
12675         inset with multiple paragraphs. Also check if we don't insert only
12676         spaces ' ' as they are ignored anyway afterwards in the .tex file
12677         so if we have only spaces we will ignore this latex part in the
12678         new file.
12679         (parseSingleLyXformat2Token \\layout): better compatibility when
12680         reading layout-latex stuff.
12681         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12682         language tag.
12683         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12684         stuff after reading the inset only get the information back from
12685         the stack.
12686
12687 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12688
12689         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12690
12691         * LaTeXFeatures.C (getBabelOptions): New method.
12692
12693 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12694
12695         * BufferView_pimpl.C (Dispatch): work around missing argument for
12696         'layout'
12697
12698 2002-05-08  Juergen Vigna  <jug@sad.it>
12699
12700         * text.C (leftMargin): handle paragraph leftindent.
12701
12702         * paragraph.C (writeFile): write the new \\leftindent tag.
12703         (validate): handle leftindent code.
12704         (TeXEnvironment): handle paragraphleftindent code again.
12705
12706         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12707
12708         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12709         for paragrap_extra indent code and new token \\leftindent.
12710         (latexParagraphs): handle the leftindent as environment.
12711
12712         * ParameterStruct.h: added leftindent support.
12713
12714         * ParagraphParameters.C (leftIndent): added support functions for
12715         the paragraph left indent.
12716
12717         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12718         more appropriate.
12719
12720 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12721
12722         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12723         inside insetERT.
12724
12725         * text.C (computeBidiTables): No bidi in insetERT.
12726
12727         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12728         in RTL documents.
12729
12730 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12731
12732         * version.C.in: pre 5
12733
12734 2002-05-02  José Matos  <jamatos@fep.up.pt>
12735         * buffer.C (makeDocBookFile): white space changes, add newline to
12736         command styles.
12737         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12738
12739         * tabular.C (docBook): fix typo.
12740
12741 2002-05-03  Juergen Vigna  <jug@sad.it>
12742
12743         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12744         change in LyXText as we can not be sure it was not freed.
12745         (drawOneRow): remove unused code.
12746
12747         * text.C (drawInset): redo the calculation of the need_break_row as
12748         it could have a row which was already freed.
12749         (draw): look at the return value of drawInset and return false if
12750         it also returned false.
12751         (paintRowText): look at the return value of draw and return false if
12752         it also returned false.
12753
12754         * lyxtext.h: added bool return type to drawInset() and draw() so that
12755         if we have a change in the row so that the rowbreak has to be redone
12756         we abort drawing as it will be called again.
12757
12758 2002-05-02  Juergen Vigna  <jug@sad.it>
12759
12760         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12761         a change in the maintext also if we're inside an inset.
12762         (Dispatch): set the cursor again after a break line and after the
12763         screen has been updated as it could be we're in a different row.
12764
12765         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12766         to set the cursor behind the pargraph with > size().
12767         (setCursor): check also for the same paragraph when checking where
12768         to put the cursor if we have a NFR inset.
12769
12770         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12771         parts of layout read further up as it still was in the wrong
12772         position.
12773
12774 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12775
12776         * screen.C (drawFromTo): change sine fullRebreak always return
12777         true.
12778
12779         * buffer.C (parseSingleLyXformat2Token): reindent some
12780
12781         * BufferView_pimpl.C (update): change since fullRebreak always
12782         return true.
12783         (Dispatch): git rid of the last hardcoded "Standard"s.
12784
12785 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12786
12787         * text2.[Ch] (fullRebreak): make it return void now that we always
12788         returned true.
12789
12790 2002-04-30  Juergen Vigna  <jug@sad.it>
12791
12792         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12793         ert compatibility check for "latex" layout.
12794
12795 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12796
12797         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12798         minipages: use col% instead of p%, and also use the current font.
12799         (makeLaTeXFile): Fix use babel condition.
12800         (parseSingleLyXformat2Token): Correct font when reading old floats.
12801
12802 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12803
12804         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12805         inserting list of floats.
12806
12807 2002-04-25  Herbert Voss  <voss@lyx.org>
12808
12809         * MenuBackend.C (expand): don't add the graphics extensions to the
12810         export menu
12811
12812 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12813
12814         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12815         non-existing layout, do not complain if it was the default layout
12816         of the original class (bug #342)
12817
12818 2002-04-24  Juergen Vigna  <jug@sad.it>
12819
12820         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12821         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12822
12823 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12824
12825         * buffer.C (getBibkeyList): If using \bibliography, return the
12826         option field with the reference itself. Enables us to provide natbib
12827         support when using \bibliography.
12828
12829 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12830
12831         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12832
12833         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12834         natbib is provided by the LaTeX class.
12835
12836 2002-04-23  Juergen Vigna  <jug@sad.it>
12837
12838         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12839         Wakeup functions.
12840
12841         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12842
12843 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12844
12845         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12846
12847         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12848         ensuremath around textordmasculine, textordfeminine and
12849         textdegree.
12850
12851 2002-04-19  Juergen Vigna  <jug@sad.it>
12852
12853         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12854         reinitializing the buffer otherwise row-dimensions may be wrong.
12855         (update): reset also the selection cursors if they do exits otherwise
12856         their x/y positions may be wrong.
12857
12858         * text2.C (cursorDown): don't enter the inset if we came from a row
12859         above and are one row over the inset.
12860
12861         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12862         really leaving an inset.
12863
12864 2002-04-18  Juergen Vigna  <jug@sad.it>
12865
12866         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12867         of the selected paragraph does not have the selected layout also if
12868         the last one had!
12869
12870         * text2.C (setLayout): fixed bug which did not change last selected
12871         paragraph.
12872
12873         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12874         changed the read and substituted \\end_float with \\end_inset!
12875
12876         * BufferView_pimpl.C (cursorPrevious):
12877         (cursorNext): fixed to make it work with rows heigher than the work
12878         area without moving the cursor only the draw of the row.
12879         (workAreaMotionNotify): fix jumping over high rows.
12880
12881 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12882
12883         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12884         Ressler.
12885
12886 2002-04-16  Juergen Vigna  <jug@sad.it>
12887
12888         * text2.C (setCursor): set also the irow().
12889         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12890         (cursorUp):
12891         (cursorDown): support for locking an inset if the x_fix value goes
12892         inside it. That way I can transverse insets too with cursor up/down.
12893
12894         * lyxrow.h: added irow helper function same as other (i) functions.
12895
12896         * BufferView_pimpl.C (cursorPrevious):
12897         (cursorNext): fixed for insets!
12898
12899 2002-04-15  Juergen Vigna  <jug@sad.it>
12900
12901         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12902         position otherwise it is wrong in some cases.
12903
12904         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12905         inside the inset before the call.
12906
12907 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12908
12909         * buffer.[Ch] (getBibkeyList): make it const.
12910
12911 2002-04-12  Juergen Vigna  <jug@sad.it>
12912
12913         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12914
12915         * text2.C (getCursorX): new helper function
12916         (setCursor): compute also ix_
12917         (setCursorFromCoordinates): set also ix.
12918
12919         * lyxcursor.h: added ix_ and helper functions.
12920
12921         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12922
12923         * buffer.C (insertStringAsLines): dont break paragraph if the this
12924         paragraph is inside an inset which does not permit it!
12925
12926         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12927         also with no chars on this paragraph.
12928         (paintRowText): only paint stuff if it's inside the workarea!
12929
12930         * paragraph.C (breakParagraph): honor keepempty flag and break the
12931         paragraph always below not above.
12932
12933         * BufferView2.C (unlockInset): update the paragraph layout on inset
12934         unlock as we changed paragraph in such a case.
12935
12936         * lyxfind.C (LyXFind): clear the former selection if not found!
12937
12938         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12939         again called in insertChar().
12940
12941         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12942         an inset which uses the whole row!
12943         (rightMargin): ditto.
12944         (insertChar): force a rebreak if we inserted an inset!
12945
12946 2002-03-28  Herbert Voss  <voss@lyx.org>
12947
12948         * lyxlength.[Ch]: add inBP() to get the right PS-point
12949         units (BigPoint). With inPixels we have rounding errors
12950
12951 2002-04-11  Juergen Vigna  <jug@sad.it>
12952
12953         * text2.C (setCursorFromCoordinates): set iy to the right value.
12954         (setCursor): add check if row->previous exists!
12955
12956         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12957         an old float_type as this was the case in the old code!
12958
12959         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12960
12961         * BufferView2.C (showLockedInsetCursor): use iy
12962         (fitLockedInsetCursor): ditto
12963
12964         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12965         locked insets as there we have the right value now.
12966
12967         * lyxcursor.C: added iy_ variable and iy functions to set to the
12968         baseline of cursor-y of the locked inset.
12969
12970         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12971         (setCursor): fixed for insets which need a full row.
12972
12973         * text.C (rowLastPrintable): don't ignore the last space when before
12974         an inset which needs a full row.
12975         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12976         as last character of a row when before a inset which needs a full row.
12977
12978 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12979
12980         * version.C.in: update date
12981
12982         * text2.C (fullRebreak): try to always return true and see what
12983         happens...
12984
12985 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12986
12987         * MenuBackend.C (expand): use Floating::listName
12988
12989         * FloatList.C (FloatList): add listName argument to the built-in
12990         floats
12991
12992         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12993         text associated with the float.
12994
12995 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12996
12997         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12998
12999 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13000
13001         * ShareContainer.h: add a couple of missing typenames.
13002
13003 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13004
13005         * lyxrc.C (getDescription): use _() correctly rather than N_().
13006
13007 2002-03-28  Herbert Voss  <voss@lyx.org>
13008
13009         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13010         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13011
13012 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13013
13014         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13015         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13016
13017 2002-03-29  Juergen Vigna  <jug@sad.it>
13018
13019         * lyxfunc.C (dispatch): add a missing fitCursor call.
13020
13021         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13022         it was scrolled by a cursor move, so return the bool status.
13023
13024         * BufferView.C (fitCursor): return the bool flag also to the outside
13025         world as this is needed.
13026
13027         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13028
13029         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13030         call the edit() as it is not needed (and wrong) IMO.
13031         (workAreaButtonPress): set the screen_first variable before evt.
13032         unlock the inset as this may change screen_first and then we have
13033         a wrong y position for the click!
13034
13035 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13036
13037         * MenuBackend.C (expand): another translation that I missed
13038
13039 2002-03-28  Juergen Vigna  <jug@sad.it>
13040
13041         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13042
13043         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13044
13045 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13046
13047         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13048
13049         * MenuBackend.C (expand): fix export/view/update when there is no
13050         document open.
13051
13052 2002-03-27  Herbert Voss  <voss@lyx.org>
13053
13054         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13055         and text%
13056
13057 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13058
13059         * bufferview_funcs.C (currentState): only show paragraph number
13060         for is DEVEL_VERSION is set.
13061
13062         * lyxfunc.C (dispatch): put warning in INFO channel
13063
13064         * MenuBackend.C (expand): translate the name of floats
13065
13066         * FloatList.C (FloatList): mark the float names for translation
13067
13068         * converter.C (convert): use LibScriptSearch
13069
13070 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13071
13072         * MenuBackend.C (defaults): fix default menu (we might as well get
13073         rid of it...)
13074
13075 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13078         directory.
13079
13080 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13081
13082         * lyxvc.C: reorder includes.
13083
13084 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13085
13086         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13087           properly
13088
13089 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13090
13091         * CutAndPaste.C: change layouts earlier on paste
13092           to avoid crashing when calling getFont()
13093
13094 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13095
13096         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13097         irritating #error.
13098
13099 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13100
13101         * WorkArea.C: remove 'Pending' debug message.
13102
13103         * most files: ws cleanup
13104
13105         * buffer.[Ch]: ws changes
13106
13107         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13108
13109 2002-03-21  Juergen Vigna  <jug@sad.it>
13110
13111         * tabular.C (SetMultiColumn): collapse also the contents of the
13112         cells and set the last border right. Added a Buffer const * param.
13113
13114 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13115
13116         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13117         linking or not.
13118
13119 2002-03-19  Juergen Vigna  <jug@sad.it>
13120
13121         * text2.C (clearSelection): reset also xsel_cache.
13122
13123         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13124         where it needs to be called (John tells us to do so too :)
13125         (selectionLost): reset sel_cache.
13126
13127         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13128
13129 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13130
13131         * text2.C (setCursorIntern): put debuging code in INSETS channel
13132
13133 2002-03-19  André Pönitz <poenitz@gmx.net>
13134
13135         * lyxfunc.C: tiny whitespace change
13136
13137 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13138
13139         * ToolbarDefaults.C (init):
13140         * LyXAction.C (init):
13141         * commandtags.h:
13142         * BufferView_pimpl.C (Dispatch):
13143         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13144
13145 2002-03-19  Allan Rae  <rae@lyx.org>
13146
13147         * exporter.C (Export): removeAutoInsets before doing anything else.
13148         While I've just introduced a dependency on BufferView this really is
13149         the best place to clean the buffer otherwise you need to cleanup in
13150         a dozen places before calling export or cleanup in a dozen functions
13151         that export calls.
13152
13153         * converter.C (runLaTeX):
13154         (scanLog): Better handling of removeAutoInsets and screen updates.
13155
13156         * lyxfunc.C (dispatch): small whitespace changes
13157
13158 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * WorkArea.C (C_WorkAreaEvent): return a value.
13161         (event_cb): return 1 if we handled the event, 0 otherwise.
13162
13163         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13164
13165 2002-03-18  Juergen Vigna  <jug@sad.it>
13166
13167         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13168         (GetAdditionalWidth): ditto.
13169         (RightLine): ditto.
13170         (LeftLine): ditto.
13171
13172         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13173         inset if we're there actually (probably not used right now but this
13174         is the direction to go for unifying code).
13175         (paste): disable code to clear the selection.
13176
13177         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13178         inside an InsetText and move the check further up as it is in the
13179         wrong place.
13180
13181         * text2.C (pasteSelection): set a selection over the pasted text.
13182
13183 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13184
13185         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13186         and libgraphics to build on Cygwin.
13187
13188 2002-03-15  Juergen Vigna  <jug@sad.it>
13189
13190         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13191         inserting an Inset into the paragraph. I know this is not the best
13192         fix but we already use current_view in CutAndPaste so we will remove
13193         all of it's using at the same time.
13194
13195         * buffer.C (sgmlError): deactivated function till it is rewritten in
13196         the right mode, now it can create problems.
13197
13198         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13199         before accessing it.
13200
13201 2002-03-14  Juergen Vigna  <jug@sad.it>
13202
13203         * undo_funcs.C (textHandleUndo): do the right thing when updating
13204         the inset after the undo/redo.
13205
13206         * text2.C (setCursor): just some testcode for #44 not ready yet.
13207
13208         * undo_funcs.C (textHandleUndo): set the next() and previous()
13209         pointers of the paragraph to 0 before deleting otherwise we have
13210         problems with the Paragraph::[destructor].
13211
13212         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13213         on a paragraph insertion.
13214
13215 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * buffer.C (asciiParagraph): use += operator for char append to
13218         string.
13219
13220         * paragraph.C (getFontSettings): compare >= not just >
13221         (highestFontInRange): ditto
13222         (setFont): ditto
13223
13224 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13225
13226         * paragraph.C: change several algorithm to be more appripriate for
13227         the problem domain. This is lookip in FontList and in the InsetList.
13228
13229 2002-03-13  André Pönitz <poenitz@gmx.net>
13230
13231         * commandtags.h:
13232         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13233
13234 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13235
13236         * commandtags.h:
13237         * LyXAction.C:
13238         * lyxfunc.C:
13239         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13240
13241 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13242
13243         * Painter.C (display): anon helper function, adjust code for this
13244         change.
13245         (pixmap): remove function.
13246
13247         * Painter.h: remove private display variable.
13248
13249         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13250
13251 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13252
13253         * WorkArea.[Ch]: remove figinset_canvas cruft.
13254
13255 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13256
13257         * lyxtextclass.C (operator): add one item cache optimization.
13258
13259         * bufferlist.h: doxy changes
13260
13261         * bufferlist.C: ws changes
13262
13263         * DepTable.[Ch] (ext_exist): place const in the right spot.
13264
13265         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13266         call resizeInsets.
13267         (workAreaExpose): call resizeInsets when the with BufferView changes.
13268         (Dispatch): adjust for protectedBlank removal
13269         (specialChar): call updateInset if the insert went ok.
13270
13271         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13272         specialChar instead.
13273
13274         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13275
13276         * BufferView.h: doxy change
13277
13278         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13279
13280         * lyxtextclass.C (operator[]): remove non-const version
13281         (defaultLayout): remove non-const version
13282
13283 2002-03-12  Juergen Vigna  <jug@sad.it>
13284
13285         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13286         did resize the LyXText too.
13287
13288         * buffer.C (readLyXformat2): set layout information on newly allocated
13289         paragraphs.
13290
13291         * tabular.C (OldFormatRead): set layout information on the paragraph.
13292
13293 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13294
13295         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13296
13297 2002-03-11  Juergen Vigna  <jug@sad.it>
13298
13299         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13300         plainly wrong.
13301         (resizeCurrentBuffer): force also the insets to resize themselfes.
13302         (moveCursorUpdate): fixed up for InsetText.
13303
13304 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13305
13306         * commandtags.h:
13307         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13308         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13309         value of Dialogs::tooltipsEnabled().
13310         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13311
13312 2002-03-08  Juergen Vigna  <jug@sad.it>
13313
13314         * BufferView_pimpl.C (updateInset): update inset inside inset also
13315         if it isn't inside theLockingInset().
13316
13317 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * buffer.C (asciiParagraph): redo some of the word and line length
13320         handling.
13321         (getLists): look for Caption instead of caption.
13322
13323 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13324
13325         * buffer.C (Buffer): initialize niceFile to true
13326         (makeLaTeXFile):
13327         (makeLinuxDocFile):
13328         (makeDocBookFile): make sure niceFile is true on exit
13329
13330 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13331
13332         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13333
13334 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13335
13336         * LyXSendto.C: remove.
13337         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13338         * lyx_gui.C: remove now-redundant comment.
13339         * ColorHandler.h: remove forward declaration of class WorkArea.
13340         * lyxfunc.C: remove #include "WorkArea.h".
13341
13342 2002-03-07  Juergen Vigna  <jug@sad.it>
13343
13344         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13345         got moved away with the DEPM and also set the inset_owner always
13346         right which before could have been omitted.
13347
13348 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13351         wanted layout is not found.
13352
13353 2002-03-07  Juergen Vigna  <jug@sad.it>
13354
13355         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13356
13357 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13358
13359         * paragraph.C (breakParagraph): use default layout not layout of
13360         prev paragraph.
13361         (Paragraph): clear ParagraphParameters.
13362
13363 2002-03-06  Juergen Vigna  <jug@sad.it>
13364
13365         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13366         otherwise it would not be a valid lenght. Fixed a special case in
13367         the minipage compatibility read where we end the document with a
13368         minipage.
13369
13370         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13371         was set as it could be 0 for InsetTexts first entry.
13372
13373 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13374
13375         * paragraph.C (writeFile): if layout is empty write out
13376         defaultLayoutName().
13377
13378         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13379         file without named layout we set layout to defaultLayoutName().
13380
13381 2002-03-06  Juergen Vigna  <jug@sad.it>
13382
13383         * CutAndPaste.C (copySelection): set layout for new paragraph.
13384
13385         * text.C (prepareToPrint): leave ERT inset left aligned
13386         (leftMargin): don't indent paragraphs inside ERT insets
13387
13388 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13389
13390         * paragraph.C (breakParagraph): dont call clear do the work manually
13391
13392         * paragraph.[Ch] (clear): remove function
13393
13394 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13395
13396         * paragraph.C (Paragraph): dont call clear, the work has already
13397         been done.
13398
13399         * lyxtextclass.C (operator): assert if n is empty
13400
13401         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13402         work manually instead.
13403
13404 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13405
13406         * BufferView_pimpl.C: protect selectionLost against text == 0
13407
13408 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13409
13410         * text.C (breakParagraph): fix a setting layout to '0' problem.
13411
13412 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13413
13414         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13415         final location of file, for the included files, and graphics.
13416
13417 2002-03-05  Juergen Vigna  <jug@sad.it>
13418
13419         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13420
13421 2002-03-04  Juergen Vigna  <jug@sad.it>
13422
13423         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13424
13425         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13426         last column of multicolumn cells.
13427         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13428
13429 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13430
13431         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13432         file if it doesn't go to a temporary file.
13433
13434         * buffer.C (sgmlOpenTag):
13435         (sgmlCloseTag):  remove extra newline insertion.
13436
13437 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13438
13439         * text.C (getRowNearY): comment out debug msg
13440
13441 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13442
13443         * text2.C: first -> first_y
13444
13445         * text.C (getRowNearY): add some attemts at a possible
13446         optimization, not working.
13447
13448         * tabular.[Ch]: add BufferParams to several function so that newly
13449         created paragraph can be initialized to he default layotu for the
13450         buffers textclass.
13451
13452         * tabular-old.C (ReadOld): add buf->params to call of Init
13453
13454         * screen.C: rename text->first to text->first_y
13455
13456         * paragraph.C (breakParagraph): always set layout in the broken
13457         paragraph
13458
13459         * lyxtextclass.C (Read): remove lowercase
13460         (hasLayout): ditto
13461         (operator): ditto
13462         (delete_layout): ditto
13463
13464         * lyxtext.h: rename first -> first_y
13465
13466         * lyxlayout.C (Read): remove lowercase
13467         (name): ditto
13468         (setName): ditto
13469         (obsoleted_by): ditto
13470
13471         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13472
13473         * buffer.C (insertErtContents): add params are to InsetERT
13474         (parseSingleLyXformat2Token): add code to check if a paragraphs
13475         layout really exist.
13476         (parseSingleLyXformat2Token): add params to several inset
13477         constructors
13478         (asciiParagraph): remove lowercase, do the layout comparisons with
13479         no_case
13480
13481         * BufferView_pimpl.C (cursorNext): first -> first_y
13482         (resizeCurrentBuffer): first -> first_y
13483         (updateScrollbar): first -> first_y
13484         (scrollCB): first -> first_y
13485         (workAreaMotionNotify): first -> first_y
13486         (workAreaButtonPress): first -> first_y
13487         (checkInsetHit): first -> first_y
13488         (cursorPrevious): first -> first_y
13489         (cursorNext): first -> first_y
13490         (Dispatch): add buffer_->params to severl inset contructors
13491
13492 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13493
13494         * lyxlayout.C (Read): remove some debug info that I forgot.
13495
13496         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13497         clean up the code slightly.
13498         (makeLinuxDocFile): ditto
13499         (makeDocBookFile): ditto
13500
13501         * text2.C: layout as string
13502
13503         * text.C: layout as string
13504
13505         * paragraph_pimpl.C: layout as string
13506
13507         * paragraph.[Ch]: layout as string
13508
13509         * lyxtextclasslist.[Ch]: layout as string
13510
13511         * lyxtextclass.[Ch]: layout as string
13512
13513         * lyxtext.h: layout as string
13514
13515         * lyxlayout.[Ch]: layout as string
13516
13517         * lyx_cb.C: layout as string
13518
13519         * bufferview_funcs.C: layout as string
13520
13521         * bufferparams.C: layout as string
13522
13523         * buffer.C: layout as string
13524
13525         * LyXView.[Ch]: layout as string
13526
13527         * LaTeXFeatures.[Ch]: layout as string
13528
13529         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13530
13531         * BufferView_pimpl.C: change current_layout to string, remove
13532         lyx::layout_type.
13533         (Dispatch):
13534         (smartQuote):
13535         (insertInset):
13536         (workAreaButtonRelease): layout as string
13537
13538         * BufferView2.C (unlockInset): adjust
13539
13540         * vspace.C (asLatexCommand): use an explict temp variable.
13541
13542 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * Makefile.am: use FRONTEND_*
13545
13546 2002-03-01  Juergen Vigna  <jug@sad.it>
13547
13548         * tabular.C (SetWidthOfMulticolCell): changed to something better
13549         I hope but still work in progress.
13550         (recalculateMulticolumnsOfColumn): renamed function from
13551         recalculateMulticolCells as it is more appropriate now.
13552         (SetWidthOfCell): calculate multicols better.
13553
13554 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13555
13556         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13557
13558         * lyxfunc.C (processKeySym): print sequence also if it is
13559         `deleted' (complete)
13560
13561         * kbsequence.C (print): print sequence even if it is deleted
13562         (complete would be a better word, actually).
13563
13564         * lyxfunc.C (dispatch): print complete options after a prefix key
13565
13566         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13567
13568 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13569
13570         * text2.C (setCharFont): eliminate setCharFont code duplication.
13571
13572 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13573
13574         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13575         LFUN_TABULAR_FEATURE (bug #177)
13576
13577 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13578
13579         * Makefile.am: remove figure.h
13580
13581 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13582
13583         * Bufferview_pimpl.C:
13584         * CutAndPasteC:
13585         * LaTeX.C:
13586         * LyXSendto.C:
13587         * buffer.C:
13588         * bufferlist.C:
13589         * converter.C:
13590         * language.C:
13591         * lyxfunc.C:
13592         * lyxvc.C:
13593         * paragraph.C:
13594         * text.C:
13595         * text2.C: remove #include "lyx_gui_misc.h".
13596
13597         * LaTeX.C: added #include <cstdio>
13598
13599 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13600
13601         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13602         that the paragraph following this one can have.
13603
13604         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13605
13606         * vspace.C (asLatexCommand): fix bogus gcc warning
13607
13608         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13609
13610 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13611
13612         * text2.C (setLayout): get rid of redundant code
13613
13614 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13615
13616         * text2.C (incDepth): make sure depth cannot be increased beyond
13617         reasonable values.
13618
13619 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13620
13621         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13622         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13623
13624         * PainterBase.h (image):
13625         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13626         a LyXImage const *.
13627
13628 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13629
13630         * BufferView.C:
13631         * BufferView.h:
13632         * BufferView_pimpl.C:
13633         * BufferView_pimpl.h:
13634         * LaTeXFeatures.C:
13635         * LyXAction.C:
13636         * LyXView.C:
13637         * Makefile.am:
13638         * UpdateList.h:
13639         * UpdateList.C:
13640         * buffer.C:
13641         * figure.h:
13642         * figureForm.C:
13643         * figureForm.h:
13644         * figure_form.C:
13645         * figure_form.h:
13646         * lyx_cb.C:
13647         * lyx_gui.C:
13648         * lyx_gui_misc.C:
13649         * lyxfunc.C:
13650         * sp_base.h:
13651         * sp_ispell.h:
13652         * sp_pspell.h:
13653         * sp_spell.C: remove fig inset, and the crap house of
13654           cards that follows it
13655
13656 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13657
13658         * Makefile.am:
13659         * lyxserver.C:
13660         * os2_defines.h:
13661         * os2_errortable.h:
13662         * nt_defines.h: move .h into support/
13663
13664         * vms_defines.h: remove
13665
13666         * WorkArea.C: add space in debug output
13667
13668         * text2.C:
13669         * paragraph.C:
13670         * buffer.C: add WITH_WARNINGS
13671
13672         * vc-backend.h:
13673         * vc-backend.C:
13674         * bufferlist.C: s/retrive/retrieve/, add docs
13675
13676         * vspace.h:
13677         * vspace.C:
13678         * kbmap.h:
13679         * lyxlength.h:
13680         * lyxgluelength.h:
13681         * length_common.h:
13682         * chset.h:
13683         * chset.C: add docs
13684
13685         * lyxgui.C: add ID to X error handler
13686
13687         * lyxtestclass.c: fix typo
13688
13689 2002-02-26  Juergen Vigna  <jug@sad.it>
13690
13691         * tabular_funcs.C (write_attribute): changed so that some default
13692         attributes are not written at all.
13693         (getTokenValue): set default values before trying to read the
13694         value so we have the return value always set as default if we don't
13695         find the token we search for.
13696
13697         * tabular.C (Write): write bools as bools not as strings!
13698
13699 2002-02-22  Juergen Vigna  <jug@sad.it>
13700
13701         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13702         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13703
13704         * text.C (leftMargin): don't add an indent for paragraphs inside
13705         tabular cells (fix #208).
13706
13707 2002-02-21  José Matos  <jamatos@fep.up.pt>
13708
13709         * tabular.C (docBook): fixed support for long tables.
13710
13711 2002-02-20  Juergen Vigna  <jug@sad.it>
13712
13713         * text2.C (getFont): get the drawing font of the Inset if this
13714         paragraph is inside an inset (only important for InsetERT for now).
13715
13716         * buffer.C (insertErtContents): use new lanugage params in ERT
13717         constructor.
13718
13719         * CutAndPaste.C: commenting out seemingly uneeded code.
13720
13721 2002-02-19  Allan Rae  <rae@lyx.org>
13722
13723         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13724         Iterators might be simple to use but they also get invalidated.
13725         (removeAutoInsets): renamed saved cursor tracking variables and added
13726         some comments to clarify what everything does.
13727
13728 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13729
13730         * Chktex.C:
13731         * LaTeX.C:
13732         * LyXSendto.C:
13733         * converter.C:
13734         * lyx_cb.C:
13735         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13736         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13737
13738         * lyxfunc.C:
13739         * vc-backend.h: remove #include "support/syscall.h"
13740
13741         * LaTeX.C:
13742         * LyXSendto.C:
13743         * converter.C: rearrange #includes in Lars' approved fashion.
13744
13745         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13746         forward declare class Timeout in the header file.
13747
13748         * XFormsView.C: changes due to the above.
13749
13750         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13751         similar to LyXView.
13752
13753         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13754         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13755
13756 2002-02-18  José Matos  <jamatos@fep.up.pt>
13757
13758         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13759         insets contents.
13760
13761 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13762
13763         * a lot of small ws changes
13764         * add a lot of using std::XXX
13765         * use std construcs some places where approp.
13766         * use some exisint stuff from lyxfunctional where approp.
13767         * Make file changes to use partial linking (lets test this now...)
13768
13769 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13770
13771         * Chktex.C:
13772         * buffer.C:
13773         remove #include "support/syscontr.h" as it's redundant. Always has been.
13774
13775         * Chktex.C:
13776         * LaTeX.C:
13777         * LyXSendto.C:
13778         * converter.C:
13779         * lyx_cb.C:
13780         * vc-backend.C:
13781         change Systemcalls::System to Systemcalls::Wait and
13782         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13783         No change of functionality, just reflects the stripped down Systemcalls
13784         class.
13785
13786 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13787
13788         * debug.[Ch]: add a GRAPHICS type to the enum.
13789
13790 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13791
13792         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13793
13794         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13795         there is an inset.
13796
13797 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13798
13799         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13800         match the changes below.
13801
13802         * text2.C (toggleInset): if there is not editable inset at cursor
13803         position, try to see if cursor is _inside_ a collapsable inset
13804         and close it.
13805
13806 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13807
13808         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13809         document menu has a nice checkbox
13810
13811 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13812
13813         * lyxlength.C (asLatexString): change PW to output as percent of
13814         \textwidth.
13815
13816         * lengthcommon.C: change '%' to 't%'
13817
13818         * lyxfunc.C (dispatch): a few comments from Martin
13819
13820 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13821
13822         * WorkArea.h:
13823         * WorkArea.C:
13824         * BufferView_pimpl.h:
13825         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13826           the X selection.
13827
13828 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13829
13830         * vspace.C (inPixels): fix compiler warning
13831
13832 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13833
13834         * lyxfunc.C (getStatus): fix status message for disabled commands.
13835
13836 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13837
13838         * BufferView_pimpl.C: fix crash on close buffer
13839         during selection (#227)
13840
13841 2002-01-27  Herbert Voss  <voss@lyx.org>
13842
13843         * buffer.C: link old Figure to new graphic inset
13844
13845 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13846
13847         * FontLoader.C (getFontinfo): Change the latex font names in order
13848         to match the names of type1inst.
13849
13850 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13851
13852         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13853
13854         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13855         (extchanged): ditto
13856         (ext_exist): ditto
13857         (remove_files_with_extension): ditto
13858         (remove_file): ditto
13859         (write): ditto
13860
13861         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13862         document is smaller than the work area height. Do not initialize
13863         static variables to 0.
13864
13865 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13866
13867         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13868
13869         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13870         LFUN_LAYOUT_PARAGRAPHS.
13871
13872         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13873         tabular. It is possible to provide a possible cell, which will
13874         typically be the actcell from the corresponding insettabular
13875
13876         * lyxfunc.C (getStatus): small cleanup; disable
13877         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13878         true
13879
13880 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13881
13882         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13883
13884         * paragraph.C (startTeXParParams):
13885         (endTeXParParams): new methods. The LaTeX code to
13886         start/end paragraph formatting
13887         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13888         empty (fixes bug #200)
13889
13890         * vspace.C (inPixels): adapt to the change below
13891         (inPixels): [later] more cleanups (remove unused variables)
13892
13893         * lyxlength.C (inPixels): change to use a width and a height as
13894         parameter.
13895
13896 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13897
13898         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13899         Replaced with \paperwidth
13900
13901         * DepTable.C (insert): add std:: qualifier
13902
13903 2002-01-18  Allan Rae  <rae@lyx.org>
13904
13905         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13906         updated also?
13907
13908         * text.C (drawInset): Turned out I didn't know enough about how
13909         rebreaking worked.  This fixes most of the redraw problems.  I see
13910         an occasional cursor trail when a line is broken now and the cursor
13911         placement can seem out by a few pixels also after a rebreak.
13912
13913 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13914
13915         * buffer.C (parseSingleLyXformat2Token): update because minipage
13916         width is now a LyXLength
13917
13918         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13919
13920         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13921         math insets
13922
13923 2002-01-17  Juergen Vigna  <jug@sad.it>
13924
13925         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13926
13927         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13928         is set correctly and the inset is updated correctly.
13929
13930 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13931
13932         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13933         the beginning of the loop.
13934
13935 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13936
13937         * lyxrc.C: improve help for use_scalable_fonts
13938
13939 2002-01-17  Allan Rae  <rae@lyx.org>
13940
13941         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13942
13943 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13944
13945         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13946         make sure to set their inset_owner to the right value (bug #171)
13947
13948 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13949
13950         * DepTable.h
13951         * DepTable.C: Implement mtime checking to reduce time spent doing
13952         CRCs.
13953
13954 2002-01-16  Juergen Vigna  <jug@sad.it>
13955
13956         * tabular.C (GetAdditionalHeight): one of error fixed.
13957
13958         * lyxrc.C (output): small fix in writing use_pspell.
13959
13960 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13961
13962         * sp_base.h: #include LString.h
13963
13964 2002-01-16  Allan Rae  <rae@lyx.org>
13965
13966         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13967         Can someone check this please?
13968
13969         * text.C (drawInset): It was possible that p.row would be removed by
13970         breakAgainOneRow upsetting a few other settings.  There may be another
13971         small tweak possible by setting need_break_row = 0 when p.row has been
13972         removed but I don't know enough about the logic here.
13973
13974 2002-01-15  Allan Rae  <rae@lyx.org>
13975
13976         * text.C (insertChar): removed conditional truism.
13977
13978         * BufferView2.C (removeAutoInsets): More tweaks.
13979         cur_par_prev could be a stray pointer.  Check for trailing empty line
13980         in case last line was cur_par and only had an error inset on it.
13981
13982 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13983
13984         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13985         absolute
13986
13987         * vc-backend.C (most methods):
13988         * exporter.C (Export):
13989         * converter.C (convert):
13990         (runLaTeX):
13991         * LyXSendto.C (SendtoApplyCB):
13992         * lyxfunc.C (dispatch):
13993         (menuNew):
13994         (open):
13995         (doImport):
13996         * lyx_cb.C (AutoSave):
13997         (InsertAsciiFile):
13998         * BufferView_pimpl.C (MenuInsertLyXFile):
13999         * buffer.C (runChktex): use Buffer::filePath().
14000
14001         * buffer.h: rename filename to filename_; rename filepath to
14002         filepath_ and make it private
14003         (filePath): new method
14004
14005         * buffer.C (writeFile): use fileName()
14006         (getLatexName):
14007
14008         * lyx_main.C (init): fix starting  of LyX when the binary is a
14009         link from so,ewhere else.
14010
14011         * minibuffer.C: include <cctype> for isprint
14012
14013 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14014
14015         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14016         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14017         name clash with InsetCollapsable's width function.
14018
14019 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * lastfiles.C: include <iterator>
14022
14023 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14024
14025         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14026         std::count.
14027
14028         * buffer.C (makeLaTeXFile): ditto.
14029         Also make loop operation more transparent.
14030
14031 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14032
14033         * ToolbarDefaults.C: remove trailing comma closing namespace.
14034
14035         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14036
14037         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14038         as in WorkArea.
14039
14040         * trans.C (Load): comment out unused variable, allowed.
14041
14042 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14043
14044         * minibuffer.[Ch] (append_char): new method to recieve input from the
14045         drop-down completion browser. If a key was pressed, then recieve this
14046         char and append it to the existing string.
14047         (peek_event): modify the positioning data passed to the completion
14048         browser so that it can be placed above the minibuffer rather than below.
14049 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14050
14051         * LyXAction.C (init): alloe error-next for readonly documents.
14052
14053         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14054         count.
14055
14056 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14057
14058         * bufferlist.C (readFile): create the buffer _after_ checking that
14059         the file exists.
14060
14061         * lyxfunc.C (verboseDispatch): fix handling of arguments
14062
14063         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14064
14065         * lyxrc.C: use string::erase() instead of initializing to "".
14066
14067
14068 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14069
14070         * BufferView_pimpl.h:
14071         * BufferView_pimpl.C:
14072         * WorkArea.h:
14073         * WorkArea.C:
14074         * text2.C: tell X when we have made a selection for copying
14075
14076 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14077
14078         * BufferView_pimpl.C (MenuInsertLyXFile):
14079         * lyxfunc.C (menuNew):
14080         (open):
14081         (doImport): add shortcuts to directory buttons
14082
14083         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14084         open a float)
14085
14086         * lyxfunc.C (setStatusMessage):
14087         (getStatusMessage): new methods
14088         (getStatus):use setStatusMessage instead of setErrorMessage
14089         (dispatch): when function is disabled, set error message here
14090         [instead of in getStatus previously]
14091
14092         * BufferView_pimpl.C (workAreaButtonRelease): update
14093         toolbar/menubar here too.
14094
14095 2002-01-13  Allan Rae  <rae@lyx.org>
14096
14097         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14098         Now seems indestructible.  Remaining task is to audit all other
14099         code affected by deleteEmptyParagraphMechanism.  One small quirk
14100         left is that an empty document with an error in the preamble can
14101         be made to report an error but no error box appears.  I don't know
14102         where it goes.
14103         (removeAutoInsets): Improved comments.
14104
14105 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14106
14107         * Thesaurus.h:
14108         * Thesaurus.C: update for Aiksaurus 0.14
14109
14110 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14111
14112         * text2.C (firstParagraph): removed member function, all uses
14113         replaces with ownerParagraph
14114         (redoParagraphs): here
14115         (updateInset): here
14116         (toggleAppendix): here
14117         * BufferView2.C (insertErrors): here
14118         (setCursorFromRow): here
14119
14120 2002-01-13  Allan Rae  <rae@lyx.org>
14121
14122         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14123         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14124         There is still a way to segfault this although you may have to do this
14125         multiple times: Have an InsetERT with an unknown command in it.
14126         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14127         <down-arrow>, <Enter> again, View->DVI, BANG!
14128
14129         * text2.C (setCursor):
14130         (deleteEmptyParagraphMechanism):
14131         * lyxtext.h (setCursor):
14132         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14133         Making use of the return value may help fix other bugs.
14134
14135 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14136
14137         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14138
14139         * LyXView.C (updateMenubar): call MenuBar::update here
14140         (updateToolbar): but not here
14141         (showState): do not update toolbar/menubar
14142
14143         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14144         should need to care about that.
14145
14146         * lyxfunc.C (verboseDispatch): simplify a bit
14147         (getStatus): have a version which takes a pseudoaction, and
14148         another which requires a (kb_action,string).
14149
14150         * LyXAction.C (retrieveActionArg): make it work also when action
14151         is not a pseudo-action.
14152         (getActionName): simplify a bit
14153         (helpText):
14154
14155 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14156
14157         * lyxfunc.C (verboseDispatch): new families of methods with
14158         several ways to specify a command and a bool to indicate whether
14159         the command name and shortcut should be displayed in minibuffer
14160         (eventually, we could extend that to a finer bitmask like
14161         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14162         (dispatch): the pristine dispatch command which just, well,
14163         dispatchs! Note it still sets its result to minibuffer; I'm not
14164         sure we want that.
14165
14166         * lyxfunc.h: remove setHintMessage
14167
14168         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14169
14170 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14171
14172         * BufferView_pimpl.C (specialChar): delete new inset if we have
14173         not been able to insert it.
14174
14175         * kbmap.C: revert to using int instead of kb_action, since all we
14176         are dealing with is pseudo-actions.
14177
14178         * LyXAction.C (searchActionArg): change to return int instead of
14179         kb_action, since the result is a pseudoaction.
14180
14181 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14182
14183         * buffer.C (insertErtContents): Fix (partially) the font bug.
14184
14185 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14188         as the other one is broken on my machine!
14189
14190 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14191
14192         * commandtags.h:
14193         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14194
14195 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14196
14197         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14198         reflect their actual use. Provide compatibility code for older lyxrc
14199         files.
14200
14201         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14202         FL_NORMAL_STYLE.
14203         change names of popup font variables in line with the changes to lyxrc.C
14204
14205 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14206
14207         * buffer.C (asciiParagraph): avoid outputing a word twice after
14208         an inset.
14209
14210         * lyxrc.C (getDescription): document that document_path and
14211         template_path can be empty.
14212
14213 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14214
14215         * LaTeXFeatures.C (getMacros):
14216         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14217
14218         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14219
14220         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14221         getPackages.
14222         (getPackages): rename feature "floats" to "float". Use an array to
14223         iterate over 'simple' features (i.e. just a \usepackage). Add
14224         handling of "amsmath" (renamed from "amsstyle").
14225
14226 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14227
14228         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14229         features list.
14230
14231 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14232
14233         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14234         FuncStaus::FuncStatus & FuncStaus::some_method().
14235
14236 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14237
14238         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14239         of the func_satus stuff. Edited and massaged in various ways by
14240         JMarc.
14241
14242         * lyxfunc.C (getStatus): use FuncStatus
14243
14244 2002-01-08  Juergen Vigna  <jug@sad.it>
14245
14246         * text.C (nextBreakPoint): use function Inset::isChar().
14247
14248         * paragraph.C (TeXOnePar): use function
14249         Inset::forceDefaultParagraphs.
14250
14251         * buffer.C (latexParagraphs): use function
14252         Inset::forceDefaultParagraphs.
14253
14254 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14255
14256         * lyx_gui.C (init): set the style of the menu popups to
14257         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14258
14259 2002-01-07  Juergen Vigna  <jug@sad.it>
14260
14261         * text.C (setHeightOfRow): small fix
14262         (prepareToPrint): don't look at alignment if we don't have the place
14263         for doing it.
14264
14265 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14266
14267         * box.C: New file. Move the Box methods and functions out of box.h,
14268         following Lars' suggestion.
14269
14270 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14271
14272         * box.h: #include "support/LOstream.h", needed for inlined function.
14273
14274         * lyxtextclass.C:
14275         * lyxtextclasslist.C: added some using std declarations.
14276
14277 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14278
14279         * box.h: make signed dimensions to allow insets wider than
14280           the screen (bug #162)
14281
14282         * BufferView_pimpl.C: add some insetHit debug
14283
14284 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14285
14286         * vc-backend.C: add FIXME
14287
14288 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14289
14290         * lyxfunc.C (getStatus): enable code for showing math font status
14291         in toolbar/menu.
14292
14293 2002-01-07  Juergen Vigna  <jug@sad.it>
14294
14295         * text.C (nextBreakPoint): removed debug output not needed anymore.
14296
14297 2002-01-06  Juergen Vigna  <jug@sad.it>
14298
14299         * text.C (nextBreakPoint): fixed up this function we had this bug
14300         since ever but now hopefully we break row better.
14301         (insertChar): we have to check if an inset is the next char as it
14302         could now happen that a large inset is causing a break.
14303
14304 2002-01-05  Juergen Vigna  <jug@sad.it>
14305
14306         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14307         if it doesn't like to be drawed.
14308
14309 2002-01-04  Juergen Vigna  <jug@sad.it>
14310
14311         * BufferView2.C (lockInset): forgot to set a cursor.
14312
14313         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14314
14315 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14316
14317         * FormMathsPanel.C:
14318         * FormMathsPanel.h
14319         * MathsSymbols.C:
14320         * form_maths_panel.C:
14321         * form_maths_panel.h:
14322         * form_maths_panel.fd: implemented sub- and super- buttons in math
14323         panel.
14324
14325         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14326         (or ^ space) to be used as in TeX (req'd by Andr�.
14327
14328         * lyxfunc.C: Allow ^ and _ again to be used both as
14329         super/subscript (mathed) and as themselves (in text).
14330
14331 2002-01-03  Allan Rae  <rae@lyx.org>
14332
14333         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14334         "LyX" or the filename of the current buffer if it has one.  This is a
14335         modified form of John Levon's patch.
14336
14337         * XFormsView.C (setWindowTitle): also set icon title.
14338
14339         * LyXView.h (setWindowTitle): signature changed.
14340         * XFormsView.h (setWindowTitle): ditto.
14341
14342 2002-01-02  Juergen Vigna  <jug@sad.it>
14343
14344         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14345
14346 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14347
14348         * screen.C (topCursorVisible): introduce a temp var for
14349         text->cursor.row(), handle the case where this row is null. (kindo
14350         hachish)
14351
14352         * text2.C (setCursor): add a couple of asserts.
14353
14354         * paragraph.h (inset_iterator): add -> operator
14355
14356         * paragraph.[Ch] (autoDeleteInsets): remove member function
14357
14358         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14359         cursor pos correctly and handle inset deletion by itself.
14360         (insertErrors): move iterator declaration out of for expression
14361
14362         * lyxtextclass.C: add <algorithm>
14363
14364         * Makefile.am: added the new files to sources, removed layout.C
14365
14366         * layout.C: removed file
14367
14368         * layout.h: remove LYX_DUMMY_LAYOUT
14369
14370         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14371         layout.
14372
14373         * lyxlayout.[Ch]:
14374         * lyxtextclass.[Ch]:
14375         * lyxtextclasslist.[Ch]: new files
14376
14377         * include order changes to a lot of files, also changes because of
14378         the six new files.
14379
14380 2001-12-27  Juergen Vigna  <jug@sad.it>
14381
14382         * buffer.C (asciiParagraph): more fixes.
14383
14384         * tabular.C (ascii): make ascii export support export of only the
14385         data separated by a column-delimiter.
14386         (ascii): better support for ascii export.
14387
14388         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14389
14390 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14391
14392         * tabular_funcs.C: use a "using std::getline" instead of the
14393         previous fix from Angus (necessary for cxx + lyxstring)
14394
14395 2001-12-24  Juergen Vigna  <jug@sad.it>
14396
14397         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14398
14399         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14400         problems. First check a minipage also if we have some ert-contents
14401         (not only on par->size(), second set the right depth of the paragraph
14402         on the relink to the root-paragraph-list!
14403
14404         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14405         which then did not anymore update the main paragraphs on undo/redo!
14406
14407 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14408
14409         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14410         code. Support all font-changing funcs (even those which are not in
14411         menu currently). Support for reporting font settings in
14412         mathed (disabled until Andre provides a function on mathed's side).
14413
14414         * func_status.h (toggle): small helper function to set toggle
14415         state on a flag.
14416
14417 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14418
14419         * tabular_funcs.C: getline -> std::getline
14420
14421 2001-12-21  Juergen Vigna  <jug@sad.it>
14422
14423         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14424         accessed and could be 0 (I couldn't generate this but it seems
14425         Michael could!).
14426
14427 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14428
14429         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14430         * tabular_funcs.h: here and include iosfwd
14431
14432 2001-12-20  Juergen Vigna  <jug@sad.it>
14433
14434         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14435         inside inset but undo_par was.
14436
14437 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14438
14439         * Thesaurus.C: always include <config.h> in sources.
14440
14441         * Painter.h:
14442         * lyxlookup.h:
14443         * box.h: do not include <config.h> in header files
14444
14445         * text.C (paintLastRow): remove unused variable
14446
14447         * text.C (transformChar):
14448         (insertChar):
14449         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14450
14451         * Painter.C (text):
14452         * font.C (width): rewrite to use uppercase() instead of
14453         islower/toupper.
14454
14455         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14456
14457 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14458
14459         * lyxfind.C: clean up of find failure position change
14460
14461 2001-12-20  Juergen Vigna  <jug@sad.it>
14462
14463         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14464
14465         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14466         (TeXRow): added to LaTeX a single tabular row.
14467         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14468         (Latex): simplified and finally good LT-h/f support.
14469         (various_functions): just small adaptions for LT-h/f support.
14470
14471         * tabular_funcs.[hC]: added and moved here all not classfunctions
14472         of LyXTabular.
14473
14474 2001-12-19  Juergen Vigna  <jug@sad.it>
14475
14476         * tabular.[Ch]: better support for longtabular options (not finished
14477         yet!)
14478
14479 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14480
14481         * text.C (paintLastRow): use the label font instead of the font of
14482         the last character to compute the size of *_BOX. This makes more
14483         sense and avoids a crash with empty paragraphs.
14484         Use Painter::rectangle to draw EMPTY_BOX.
14485
14486 2001-12-19  Juergen Vigna  <jug@sad.it>
14487
14488         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14489         the paragraphs if the replaced paragraph is not the first one!
14490         Tried to delete not used paragraphs but does not work yet so for
14491         now it's inside #ifdef's and by default off!
14492
14493 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14494
14495         * MenuBackend.C: include "lyx_main.h" instead of declaring
14496         lastfiles (actually was declared as LastFiles* instead of a
14497         scoped_ptr).
14498
14499 2001-12-17  Juergen Vigna  <jug@sad.it>
14500
14501         * tabular.C (AppendColumn): applied John's fix
14502
14503 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * BufferView.h:
14506         * BufferView.C:
14507         * BufferView_pimpl.h:
14508         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14509
14510         * Makefile.am:
14511         * box.h: new start of class for above
14512
14513         * lyxfunc.C: ignore space-only minibuffer dispatches.
14514           Show the command name when it doesn't exist
14515
14516         * minibuffer.C: don't add empty lines to the history
14517
14518         * minibuffer.C: add a space on dropdown completion
14519
14520 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14521
14522         * text.C: fix line above/below drawing in insets
14523
14524 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14525
14526         * lyxlength.C (LyXLength): Initialize private variables.
14527
14528 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14529
14530         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14531         when inserting error insets.
14532
14533 2001-12-13  Juergen Vigna  <jug@sad.it>
14534
14535         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14536         actually sometimes the before-paragraph.
14537         (setUndo): don't clear the redostack if we're not actually undoing!
14538
14539 2001-12-06  Juergen Vigna  <jug@sad.it>
14540
14541         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14542         and fixed redoing of main paragraph, so we can use it now ;)
14543
14544         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14545
14546 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14547
14548         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14549         Juergen's request
14550
14551 2001-12-13  André Pönitz <poenitz@gmx.net>
14552
14553         * undostack.[Ch]:
14554         * undo_func.C: minor cleanup
14555
14556 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14557
14558         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14559         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14560         font in urw-fonts package which is marked as -urw-fontspecific and
14561         does not work (incidentally, changing the encoding in the
14562         fonts.dir of this package to -adobe-fontspecific fixes the
14563         problem).
14564
14565         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14566         is a crash when undoing first paragraph (Juergen, please take a
14567         look). THis does not mean the undo fix is wrong, just that it
14568         uncovers problems.
14569
14570         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14571         the (Paragraph*) version when needed instead of duplicating the
14572         code.
14573
14574         * text.C (workWidth): use Inset::parOwner to find out where the
14575         inset has been inserted. This is a huge performance gain for large
14576         documents with lots of insets. If Inset::parOwner is not set, fall
14577         back on the brute force method
14578
14579         * paragraph_pimpl.C (insertInset):
14580         * paragraph.C (Paragraph):
14581         (cutIntoMinibuffer): set parOwner of insets when
14582         inserting/removing them
14583
14584         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14585
14586 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14587
14588         * commandtags.h:
14589         * LyXAction.C:
14590         * lyx_main.C:
14591         * lyxfunc.C:
14592         * mathed/formulabase.C:
14593         * mathed/math_cursor.[Ch]:
14594         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14595
14596
14597 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14598
14599         * lyxlength.[Ch] (operator!=): new function
14600
14601 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14602
14603         * text.C (workWidth): use Inset::parOwner to find out where the
14604         inset has been inserted. This is a huge performance gain for large
14605         documents with lots of insets. If Inset::parOwner is not set, fall
14606         back on the brute force method
14607
14608         * paragraph_pimpl.C (insertInset):
14609         * paragraph.C (Paragraph):
14610         (cutIntoMinibuffer): set parOwner of insets when
14611         inserting/removing them
14612
14613         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14614
14615 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14616
14617         * tabular-old.C (getTokenValue):
14618         * tabular.C (getTokenValue):
14619         (write_attribute): new versions for LyXLength
14620         (everywhere): adjust the use of widths
14621
14622         * tabular.h: change the type of widths from string to LyXLength
14623
14624 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14625
14626         * paragraph.C: fixed missing line number count when exporting
14627         Environments to LaTeX file
14628
14629         * buffer.C: added informational message for checking line numbers.
14630
14631 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14632
14633         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14634         paragraph, do the 'double space' part, but not the 'empty
14635         paragraph' one.
14636
14637         * text.C (workWidth): small optimization
14638         (getLengthMarkerHeight): use minimal size for negative lengths.
14639
14640 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14641
14642         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14643
14644         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14645
14646 2001-12-11  André Pönitz <poenitz@gmx.net>
14647
14648         * FontLoader.C:
14649         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14650
14651 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14652
14653         * text2.C: keep selection on a setFont()
14654
14655 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14656
14657         * lyx_cb.C: another bv->text misuse, from insert label
14658
14659 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14660
14661         * kbsequence.h:
14662         * kbsequence.C: re-instate nmodifier mask
14663
14664 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14665
14666         * lyx_main.h: make lyxGUI private.
14667
14668 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14669
14670         * lyxfind.C: place the cursor correctly on failed search
14671
14672 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14673
14674         * text.C (getLengthMarkerHeight): for small heights, the arrows
14675         are not always on top/bottom of the text
14676         (drawLengthMarker): smaller arrows; take the left margin in
14677         account; draw also vfills.
14678         (paintFirstRow):
14679         (paintLastRow): remove special code for vfill and standard spaces,
14680         since everything is handled in drawLengthMarker now.
14681
14682 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14683
14684         * buffer.C (insertErtContents): try to handle font and language
14685         interaction a bit better.g
14686
14687         * ColorHandler.C (updateColor): change the hash to cover the whole
14688         LColor enum, ws cleanup
14689         (getGCLinepars): ditto
14690         (getGCLinepars): only lookup in the linecache once.
14691
14692 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14693
14694         * iterators.C (operator++): Make the iterator more robust
14695
14696         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14697         (John's patch)
14698         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14699
14700 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14701
14702         * lyxtext.h:
14703         * text.C: better added space drawing
14704
14705 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14706
14707         * LyXView.C:
14708         * BufferView2.C: fix layout combo update on inset unlock
14709
14710 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14711
14712         * Makefile.am: don't compile unused files
14713
14714 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * lyxfunc.C:
14717         * commandtags.h:
14718         * LyXAction.C: remove old LFUN_LAYOUTNO
14719
14720 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14721
14722         * paragraph_pimpl.h:
14723         * paragraph_pimpl.C: isTextAt() doesn't need font param
14724
14725 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14726
14727         * lyxlex.h:
14728         * lyxlex.C: little cleanup
14729
14730 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14731
14732         * BufferView_pimpl.C: fix insertAscii for insets
14733
14734 2001-12-05  Juergen Vigna  <jug@sad.it>
14735
14736         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14737         set the right font on the "multi" paragraph paste!
14738
14739 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14740
14741         * trans_decl.h:
14742         * trans_mgr.[Ch]:
14743         * trans.[Ch]:
14744         * lyxgluelength.C:
14745         * lyxlength.C: remove out-commented code.
14746
14747         * BufferView_pimpl:
14748         * CutAndPaste.C:
14749         * DepTable.C:
14750         * buffer.C:
14751         * chset.C:
14752         * lastfiles.C:
14753         * lyxlex.C:
14754         * lyxlex_pimpl.C:
14755         * lyxserver.C:
14756         * screen.C:
14757         * tabular-old.C:
14758         * tabular.C:
14759         * text.C:
14760         * trans_mgr.C:
14761         * vc-backend.C: change "while(" to "while ("
14762
14763         * lyxlength.[Ch]: add zero function to check if length is zero or
14764         not
14765         * lyxgluelength.C: use it
14766
14767 2001-12-05  Allan Rae  <rae@lyx.org>
14768
14769         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14770         Works for 2.95.3, from what I understand of Garst's reports this should
14771         work for other g++ versions.  We're screwed if the abs(int) definition
14772         changed between bugfix releases of gcc.
14773
14774 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14775
14776         * text.C: fix chapter label offset !
14777
14778 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14779
14780         * lyxtext.h:
14781         * text.C: fix hfill at end of line, clean up
14782
14783 2001-12-04  Juergen Vigna  <jug@sad.it>
14784
14785         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14786         that we force an update of the inset and it's owners if neccessary.
14787
14788 2001-12-03  Juergen Vigna  <jug@sad.it>
14789
14790         * text.C (rowLast): simplified code
14791
14792 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14793
14794         * lyxfunc.C: fix show options on timeout
14795
14796 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14797
14798         * screen.C (topCursorVisible): scroll half a page when the cursor
14799         reached top of bottom of screen
14800
14801 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14802
14803         * minibuffer.C: deactivate on loss of focus
14804
14805 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14806
14807         * vspace.[Ch] (operator!=): add operator.
14808
14809 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14810
14811         * BufferView_pimpl.C: refuse to open an inset when
14812         there's a selection.
14813
14814 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14815
14816         * BufferView_pimpl.C: allow to click on RHS of full row insets
14817
14818 2001-11-30  Juergen Vigna  <jug@sad.it>
14819
14820         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14821         insets for undo reasons.
14822
14823 2001-11-28  André Pönitz <poenitz@gmx.net>
14824
14825         * vspace.[Ch]: cosmetical changes
14826
14827 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14828
14829         * LyXAction.h:
14830         * LyXAction.C:
14831         * lyxfunc.h:
14832         * lyxfunc.C:
14833         * kbmap.h:
14834         * kbmap.C:
14835         * lyxrc.C:
14836         * kbsequence.h:
14837         * kbsequence.C: part re-write of old kb code
14838
14839         * Painter.C:
14840         * WorkArea.C: remove Lgb_bug_find_hack
14841
14842 2001-11-30  José Matos <jamatos@fep.up.pt>
14843
14844         * buffer.C (makeDocBookFile): add a comment to point a hack.
14845         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14846         Fixed a double write of labels.
14847
14848 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14849
14850         * LaTeX.C:
14851         * LaTeX.h Fixed bug in LaTeX class where it would not
14852         re-run latex if no depfiles were changed, but the .dvi was removed.
14853
14854 2001-11-28  André Pönitz <poenitz@gmx.net>
14855
14856         * all the files from the change on 2001/11/26:
14857         use lyx::layout_type instead of LyXTextClass::size_type
14858         use lyx::textclass_type instead of LyXTextClassList::size_type
14859
14860 2001-11-29  Juergen Vigna  <jug@sad.it>
14861
14862         * text.C: added support for paragraph::isFreeSpacing()
14863
14864         * buffer.C: same as above
14865
14866         * paragraph.h: inserted isFreeSpacing() function to enable
14867         FreeSpacing inside InsetERT.
14868
14869         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14870         of the paragraph's in the cut/copy buffer to 0!
14871
14872         * text2.C (removeRow): remove the assert as it can!
14873
14874         * lyxtext.h: added helper function firstRow returning firstrow and
14875         made firstrow private again.
14876
14877         * BufferView2.C (lockInset): don't relock if we're already locked!
14878
14879         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14880         the only paragraph.
14881         (removeRow): added Assert::(firstrow)
14882
14883         * debug.C: forgot to add INSETTEXT here.
14884
14885 2001-11-28  Juergen Vigna  <jug@sad.it>
14886
14887         * sp_spell.C (initialize): changed error text to more general
14888         spellchecker command use (not only ispell!)
14889
14890         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14891
14892         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14893
14894 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * vspace.C: initialise lyxgluelength on failure
14897
14898 2001-11-28  Allan Rae  <rae@lyx.org>
14899
14900         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14901         declaration & definition that looks like a function declaration.
14902
14903 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14904
14905         * BufferView2.C (copy):
14906         (copyEnvironment): do not clear the selection when doing a copy.
14907
14908         * text.C (paintFirstRow): compilation fix
14909
14910 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14911
14912         * tabular.C (Latex): correct line count when writing latex.
14913
14914 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14915
14916         * paragraph_pimpl.h:
14917         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14918           bug a bit
14919
14920 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * text.C:
14923         * LColor.h:
14924         * LColor.C: change vfillline->added_space
14925
14926         * text.C: add markers and text for added space
14927
14928         * vspace.C: fix comment
14929
14930 2001-11-28  André Pönitz <poenitz@gmx.net>
14931
14932         * paragraph.C: whitespace changes
14933         * all the other files from the change on 2001/11/26:
14934         change *::pos_type into lyx::pos_type
14935
14936 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14937
14938         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14939         language of the document when inserting error insets.
14940
14941 2001-11-26  André Pönitz <poenitz@gmx.net>
14942
14943         * BufferView_pimpl.[Ch]:
14944         *       CutAndPaste.C:
14945         * buffer.[Ch]:
14946         * lyxcursor.[Ch]:
14947         * lyxfind.C:
14948         * lyxfunc.C:
14949         * lyxrow.[Ch]:
14950         * paragraph.[Ch]:
14951         * paragraph_pimpl.[Ch]:
14952         * sp_spell.C:
14953         * text.C:
14954         * text2.C: reduce header dependencies, introduce type for positions
14955
14956 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14957
14958         * <various>: change to use Alert.h
14959
14960 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14961
14962         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14963         when encountering an unknown token.
14964         (readLyXformat2): Show an error message if there were unknown tokens.
14965
14966 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14967
14968         * BufferView2.C:
14969         * BufferView_pimpl.C:
14970         * buffer.C:
14971         * paragraph.h:
14972         * text.C:
14973         * text2.C: use par->isInset()
14974
14975 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14976
14977         * paragraph_pimpl.h:
14978         * paragraph_pimpl.C: cleanup
14979
14980 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14981
14982         * text2.C (removeRow):
14983         * text.C (setHeightOfRow): remove useless (and costly) call to
14984         getRow.
14985
14986 2001-11-20  Allan Rae  <rae@lyx.org>
14987
14988         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14989         Now need Inset*::checkInsertChar() to return true for appropriate
14990         cases so that the characters in the minibuffer will actually be
14991         inserted.
14992
14993 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14994
14995         * text.C: change the order of the includes.
14996         (workWidth): initialize it at once.
14997         (workWidth): make maxw unsigned
14998         (setHeightOfRow): remove unused variable (inset)
14999         (selectSelectedWord): remove unused variable (inset)
15000         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15001
15002 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15003
15004         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15005         server is not running.
15006         (openConnection):
15007         (closeConnection): add debug info when server is disabled.
15008
15009         * ColorHandler.C (getGCForeground): send debug message to GUI
15010         channel.
15011
15012         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15013
15014         * kbmap.C (bind): modify because return conventions of
15015         kb_sequence::parse have changed.
15016
15017         * kbsequence.C (parse): only ignore spaces and not any stupid
15018         control character. This avoids tests like s[i] <= ' ', which are
15019         guaranteed to fail with 8bit characters and signed chars.
15020         Change return code to string::npos when there have been no error
15021         (0 was a bad idea when error is at first character)
15022
15023 2001-11-14  José Matos  <jamatos@fep.up.pt>
15024
15025         * buffer.h:
15026         * buffer.C (simpleDocBookOnePar): removed unused argument.
15027
15028 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15029
15030         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15031         insets which are part of a word. Paragraph::isLetter takes care of
15032         that now. Use Paragraph::isInset to identify insets.
15033         (selectSelectedWord): do not test for hyphenation break.
15034
15035         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15036         that protected spaces are considered as spaces.
15037
15038         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15039         Inset::isLetter.
15040
15041 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15042
15043         * lyxserver.h:
15044         * lyxserver.C: fix it. and small cleanup.
15045
15046 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15047
15048         * BufferView_pimpl.C: use inline helpers
15049
15050         * LaTeXFeatures.h:
15051         * LaTeXFeatures.C: fix typos
15052
15053         * Spacing.h:
15054         * Spacing.C: move spacing_string into class
15055
15056         * ToolbarDefaults.C: move stuff into namespace anon
15057
15058         * layout.h: update enum
15059
15060         * lyxfunc.C: use better debug
15061
15062         * minibuffer.h: fix typo
15063
15064         * debug.h:
15065         * debug.C:
15066         * WorkArea.C: add and use Debug::WORKAREA
15067
15068         * lyxtext.h:
15069         * text.C:
15070         * text2.C: code re-organisation, inline helpers
15071
15072 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15073
15074         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15075         std::vector.empty().
15076
15077 2001-11-09  Allan Rae  <rae@lyx.org>
15078
15079         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15080         '\n's after tables.  Tabular and ERT inset work now makes this no
15081         longer necessary.
15082
15083 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15084
15085         * minibuffer.h:
15086         * minibuffer.C: fix crash, improve drop-down completion
15087
15088 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * lyxserver.h:
15091         * lyxserver.C: invalidate fd's when doing endPipe()
15092
15093 2001-11-08  José Matos  <jamatos@fep.up.pt>
15094
15095         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15096         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15097
15098         * paragraph.h:
15099         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15100
15101 2001-11-07  José Matos  <jamatos@fep.up.pt>
15102
15103         * buffer.h:
15104         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15105         const qualifier.
15106
15107         * buffer.C (sgmlOpenTag):
15108         * buffer.C (sgmlCloseTag): removed debug info.
15109
15110         * buffer.h (sgmlOpenTag):
15111         * buffer.h (sgmlCloseTag): made public.
15112
15113 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15114
15115         * buffer.C (saveParamsAsDefaults):
15116         * lyx_cb.C (MenuLayoutSave): remove
15117
15118         * LyXAction.C (init):
15119         * commandtags.h:
15120         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15121
15122 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15123
15124         * buffer.C (setPaperStuff): removed from here...
15125
15126         * bufferparams.C (setPaperStuff): ... and moved there.
15127
15128 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15129
15130         * minibuffer.h:
15131         * minibuffer.C:
15132         * XFormsView.C: add support for drop-down completion
15133
15134 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15135
15136         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15137         commands.
15138
15139 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15140
15141         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15142         disabled.
15143
15144 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15145
15146         * lyx_main.C: change ref to known bugs
15147
15148 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15149
15150         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15151         to work around older babel problems.
15152
15153 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15154
15155         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15156
15157 2001-10-24  Juergen Vigna  <jug@sad.it>
15158
15159         * tabular-old.C (ReadOld): below variable changes reflected.
15160
15161         * tabular.[Ch]: added ltType struct for longtable header/footer
15162         defines and changed all instances where they are used. Added
15163         future support for double top/bottom rows.
15164
15165 2001-10-24  José Matos  <jamatos@fep.up.pt>
15166
15167         * buffer.h (docbookHandleCaption):
15168         * buffer.C (docbookHandleCaption): removed unused function.
15169         (makeDocBookFile): moved docbook supported version to v4.1.
15170
15171 2001-10-24  José Matos  <jamatos@fep.up.pt>
15172
15173         * tabular.h:
15174         * tabular.C (docbookRow): new function to export docbook code of a row.
15175         (DocBook): now honors the longtable flags.
15176
15177 2001-10-23  José Matos  <jamatos@fep.up.pt>
15178
15179         * LaTeXFeatures.h:
15180         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15181         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15182
15183         * buffer.C (makeLinuxDocFile):
15184         (makeDocBookFile): reworked the preamble, more clean, and with
15185         support for lyx defined entities. Changed the document declaration
15186         to be more XML friendly.
15187
15188         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15189         if we need to output XML that should be done with a filter.
15190
15191 2001-10-22  Juergen Vigna  <jug@sad.it>
15192
15193         * sp_pspell.h (class PSpell): add alive function needed in the
15194         controller to see if the spellchecker could be started.
15195
15196 2001-10-22  Juergen Vigna  <jug@sad.it>
15197
15198         * buffer.C (insertStringAsLines): modify the font for inserting
15199         chars in certain conditions by calling checkInsertChar(font).
15200
15201 2001-10-19  Juergen Vigna  <jug@sad.it>
15202
15203         * text.C (workWidth): use getRow instead of wrong algorithm.
15204         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15205
15206 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15207
15208         * lyxserver.h:
15209         * lyxserver.C:
15210         * lyx_main.h:
15211         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15212
15213 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15214
15215         * text.C (workWidth): do not search for the exact row when
15216         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15217         optimization for big documents.
15218
15219 2001-10-18  Juergen Vigna  <jug@sad.it>
15220
15221         * text.C (workWidth): new function with added Inset * parameter.
15222
15223 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15224
15225         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15226
15227         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15228         change return type of getColumnNearX.
15229
15230
15231         * text.C (changeRegionCase): use uppercase/lowercase instead of
15232         toupper/tolower.
15233         (leftMargin):
15234         (rightMargin): simplify code by factoring out the uses of
15235         textclasslist.
15236         (labelFill):
15237         (numberOfHfills):
15238         (setHeightOfRow):
15239         (appendParagraph): use Paragraph::size_type
15240
15241 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15242
15243         * vspace.C (asLatexString): add a missing break
15244
15245 2001-10-15  Herbert Voss  <voss@perce.de>
15246
15247         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15248
15249 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15250
15251         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15252         is not available.
15253
15254 2001-10-10  André Pönitz <poenitz@gmx.net>
15255
15256         * lyxfunc.C: removed greek_kb_flag.
15257
15258 2001-10-10  Herbert Voss  <voss@perce.de>
15259
15260         * lyx_main.C: delete global string help_lyxdir.
15261
15262 2001-10-09  Herbert Voss  <voss@perce.de>
15263
15264         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15265
15266         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15267
15268         * lyx_main.C: added global string help_lyxdir.
15269
15270         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15271
15272 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15273
15274         * lyxrc.C (set_font_norm_type): support iso8859-4
15275
15276 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15277
15278         * LaTeX.C (deplog): add another regex for MikTeX
15279
15280 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15281
15282         * lyxrc.C (set_font_norm_type): support iso8859-3
15283
15284 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15285
15286         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15287
15288         * LaTeXFeatures.C: remove special case of french and index
15289
15290         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15291         before \begin{document}). This solves several incompatibilities.
15292
15293 2001-10-03  Garst Reese  <reese@isn.net>
15294
15295         * lyx_cb.C: change CheckTex error msg.
15296
15297 2001-10-03  José Matos  <jamatos@fep.up.pt>
15298
15299         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15300
15301 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15302
15303         * .cvsignore: update
15304
15305         * lyx_main.C (commandLineVersionInfo): use new style version info.
15306
15307         * buffer.C (writeFile):
15308         (makeLaTeXFile):
15309         (makeLinuxDocFile):
15310         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15311
15312         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15313
15314         * version.h: update to use stuff in version.C
15315
15316         * version.C.in: new file. Contains version information determined
15317         at compile time. This is a merging of version.h and
15318         version_info.h.in.
15319
15320 2001-10-03  Juergen Vigna  <jug@sad.it>
15321
15322         * BufferView_pimpl.C (update): don't change "dirty" status in
15323         updateInset call.
15324
15325 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15326
15327         * WorkArea.C (c-tor): re-position version string slightly.
15328
15329 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15332         revert to previous code.
15333
15334         WorkArea.[Ch]: (show, destroySplash): methods removed.
15335
15336         WorkArea.C: rework code so that it's an amalgam of the codes before and
15337         after the splash screen was moved to WorkArea.
15338
15339 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15340
15341         * lyxrc.C (read):
15342         * vspace.C (inPixels):
15343         (lyx_advance):
15344         * kbmap.C (bind):
15345         * buffer.C (insertStringAsLines):
15346         (asciiParagraph): fix types to be large enough
15347
15348         * lyxlex_pimpl.h: change member status from short to int
15349
15350         * layout.h: fix type of endlabeltype
15351
15352         * kbmap.C (bind):
15353         * kbsequence.C (parse): change return type to string::size_type
15354
15355         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15356         variable
15357
15358         * Bullet.C (bulletSize):
15359         (bulletEntry): do not use short ints as parameters
15360
15361         * BufferView2.C (insertLyXFile): change a char to an int.
15362
15363         * WorkArea.C (WorkArea): remove unneeded floats in computation
15364
15365 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15366
15367         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15368
15369         * paragraph.C (asString): Do not ignore newline/hfill chars when
15370         copying to the clipboard.
15371
15372 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15373
15374         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15375         after a multi-line inset.
15376
15377 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15378
15379         * paragraph.C (validate): Set NeedLyXFootnoteCode
15380
15381 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15382
15383         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15384         and decrease-error to decrease.
15385
15386 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15387
15388         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15389         it more readable (should be equivalent)
15390
15391 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15392
15393         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15394
15395 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15398         of a cursor (row, etc.) after a character has been deleted
15399         (deleteEmptyParagraphMechanism): call the method above on _all_
15400         cursors held by the LyXText when a double space has been
15401         detected/deleted.
15402
15403 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15404
15405         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15406         pixmap.
15407         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15408
15409         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15410         background. Use greyOut() and the new show() methods to toggle between
15411         the foreground and background. Add code to remove the splash after
15412         its initial showing.
15413
15414         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15415         (create_forms): no longer call Dialogs::showSplash.
15416
15417 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15418
15419         * .cvsignore: add version_info.h
15420
15421 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15422
15423         * version_info.h.in: new file
15424
15425         * Makefile.am: add version_info.h.in
15426
15427         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15428         version_info.h instead of VERSION_INFO
15429
15430 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15431
15432         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15433         The ERT inset now returns string().
15434
15435 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15436
15437         * lyxtext.h, text.C (selectNextWord): renamed as
15438         selectNextWordToSpellcheck.
15439
15440         * text.C (selectNextWordToSpellcheck): Modified to not select
15441         words inside an ERT inset.
15442
15443 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15444
15445         * lyx_cb.C (MenuLayoutSave): change a bit the question
15446
15447         * sp_base.h: include <sys/types.h>
15448
15449 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15450
15451         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15452
15453 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15454
15455         * several files: fix typos in user-visible strings
15456
15457 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15458
15459         * text2.C (pasteSelection): do not set the selection, since it
15460         will be cleared later. Actually, the intent was to fix the way the
15461         selection was set, but I figured rmoving the code was just as good.
15462
15463 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15464
15465         * FontLoader.C (available): Check if font is available without
15466         loading the font.
15467
15468 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15469
15470         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15471
15472 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15473
15474         * lyxrc.[Ch]: added display_graphics variable and associated code.
15475
15476 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15477
15478         * bufferparams.C (hasClassDefaults): new method. Returns true if
15479         the buffer parameters correspond to known class defaults
15480
15481 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15482
15483         * XFormsView.C (show): set minimum size to the main window.
15484
15485 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15486
15487         * text2.C (copySelection):
15488         (cutSelection):
15489         * lyxfind.C (LyXReplace):
15490         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15491         LyXText::selectionAsString.
15492
15493         * paragraph.C (asString): add "label" argument to the second form
15494
15495         * text2.C (selectionAsString): add "label" argument and pass it to
15496         Paragraph::asString.
15497
15498 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15499
15500         * lyx_main.C (commandLineHelp): remove version information
15501
15502 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15503
15504         * lyx_main.C: add -version commandline option
15505
15506 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15507
15508         * paragraph.h: make the optional constructor arg required instead.
15509         some modifications to other files because of this.
15510
15511         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15512
15513         * lyxserver.C (C_LyXComm_callback): make it static
15514
15515         * lyx_main.C (error_handler): make it static
15516
15517         * lyx_gui.C (LyX_XErrHandler): make it static
15518
15519         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15520
15521         * WorkArea.C: make the extern "C" methods static.
15522
15523         * Makefile.am (lyx_LDADD): simplify
15524
15525 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15526
15527         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15528         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15529
15530         * LyXAction.C (init):
15531         * lyxfunc.C (dispatch): associated code removal.
15532
15533 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15534
15535         * lyxfont.h (isSymbolFont): shut off warning
15536
15537         * text.C (setHeightOfRow):
15538         (getVisibleRow): fix crash with empty paragraphs which have a
15539         bottom line
15540
15541 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15542
15543         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15544         code.
15545
15546 2001-09-04  José Matos  <jamatos@fep.up.pt>
15547         * buffer.C
15548         * buffer.h
15549         * tabular.C (docbook): rename docBook method to docbook.
15550
15551 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15552
15553         * Makefile.am: add dependencies to main.o.
15554
15555 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15556
15557         * FontLoader.C (available): Return false if !lyxrc.use_gui
15558
15559 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15560
15561         * FontInfo.C (query):
15562         * converter.C (view):
15563         * importer.C (Import):
15564         * exporter.C (Export): Can not -> cannot.
15565
15566 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15567
15568         * BufferView_pimpl.C: allow to create index inset even if
15569           string is empty
15570
15571 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15572
15573         * buffer.C (getLists): replace boost::tie code with an explicit pair
15574         as boost::tie can break some compilers.
15575
15576         * iterators.h: Added a std:: declaration to the return type of
15577         ParIterator::size.
15578
15579 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15580
15581         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15582           case.
15583
15584 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15585
15586         * iterators.[Ch]: New files. Provide paragraph iterators.
15587
15588         * buffer.C (changeLanguage): Use paragraph iterators.
15589         (isMultiLingual): ditto
15590
15591         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15592
15593 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15594
15595         * FontLoader.C: Support for cmr font.
15596
15597 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15598
15599         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15600         (available): New method.
15601
15602         * FontInfo.C (getFontname): Use scalable fonts even when
15603         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15604         found.
15605
15606 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15607
15608         * converter.C (Formats::view): reverted! Incorrect fix.
15609
15610 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15611
15612         * converter.C (Formats::view): only output the -paper option
15613         if the dvi viewer is xdvi, thereby fixing bug #233429.
15614
15615 2001-08-23  Herbert Voss  <voss@perce>
15616
15617         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15618
15619 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15620
15621         * Spacing.h (Spacing): Set space to Default on in the default
15622         constructor.
15623
15624 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15625
15626         * vc-backend.h (RCS::versionString): add RCS to version
15627         (CVS::versionString): add CVS to version
15628
15629         * vc-backend.C (scanMaster): do not add CVS to version.
15630         (scanMaster): do not add RCS to version
15631
15632         * lyxvc.C (versionString): new method
15633
15634         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15635
15636 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15637
15638         * Spacing.C (set): initialize fval
15639
15640 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15641
15642         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15643         " or \.
15644
15645 2001-08-16  Juergen Vigna  <jug@sad.it>
15646
15647         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15648
15649 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15650
15651         * BufferView_pimpl.C:
15652         * figureForm.C:
15653         * lyxtext.h:
15654         * text2.C: setParagraph takes linespacing now
15655
15656 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15657
15658         * LyxAction.C: add internal LFUN_CITATION_INSERT
15659
15660         * LyXView.C: actually apply fix
15661
15662         * bufferlist.C: fix open non-existent file
15663
15664         * lyxfind.C: fix indentation
15665
15666         * lyxfunc.C: remove unneeded assert, fix typo
15667
15668 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15669
15670         * MenuBackend.C: use "Floatname List"
15671
15672 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15673
15674         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15675         when converting LaTeX layout to insetERT.
15676         Generate a non-collapsed float when reading old float
15677
15678 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15679
15680         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15681         ERT insets.
15682
15683 2001-08-13  Juergen Vigna  <jug@sad.it>
15684
15685         * text.C (fill): return 0 instead of 20 as this seems to be the more
15686         correct value.
15687
15688 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15689
15690         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15691         lyxrc.font_norm.
15692
15693 2001-08-13  Juergen Vigna  <jug@sad.it>
15694
15695         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15696         casesensitive off.
15697         (SearchBackward): comment out the unlocking of the inset_owner this
15698         should not be needed!
15699
15700 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15701
15702         * Many files: Remove inherit_language, and add latex_language
15703
15704         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15705         collapsible insets.
15706
15707 2001-08-10  Juergen Vigna  <jug@sad.it>
15708
15709         * text.C (prepareToPrint): fixed hfill-width in draw!
15710
15711         * BufferView2.C (selectLastWord): save the selection cursor as this
15712         now is cleared in the function LyXText::clearSelection!
15713
15714 2001-08-08  Juergen Vigna  <jug@sad.it>
15715
15716         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15717         BACKSPACE type functions.
15718
15719         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15720         is only cutted from the document but not put in the cut-buffer, where
15721         still the old stuff should be.
15722
15723         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15724
15725         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15726
15727         * tabular.C (SetWidthOfCell): fixed special case where the width
15728         was not updated!
15729         (LeftLine): handle '|' in align_special.
15730         (RightLine): ditto
15731         (LeftAlreadyDrawed): ditto
15732         (SetWidthOfCell): ditto
15733
15734 2001-08-07  Juergen Vigna  <jug@sad.it>
15735
15736         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15737
15738 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15739
15740         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15741         * lyxlex.[hC]: ditto
15742
15743 2001-08-06  Juergen Vigna  <jug@sad.it>
15744
15745         * text.C (getVisibleRow): fix up row clearing a bit.
15746
15747 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15748
15749         * minibuffer.C: make sure the X server sees the changes in the input.
15750
15751 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15752
15753         * paragraph.C (getFont): split into...
15754         (getLabelFont): this
15755         (getLayoutFont): and this
15756         * paragraph_pimpl.C (realizeFont): calling this
15757
15758         * text2.C (getFont): split into...
15759         (getLayoutFont): this
15760         (getLabelFont): and this
15761         (realizeFont): all three calling this
15762
15763         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15764         files where used.
15765
15766 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15767
15768         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15769
15770 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15771
15772         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15773         layouts from the Quote inset insertion.
15774
15775 2001-08-03  Juergen Vigna  <jug@sad.it>
15776
15777         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15778
15779         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15780         only if status not is already CHANGED_IN_DRAW (second level).
15781
15782         * text.C (draw): don't set the need_break_row when inside an
15783         InsetText LyXText.
15784
15785 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15786
15787         * buffer.C (parseSingleLyXformat2Token): handle more latex
15788         conversion cases.
15789
15790         * bufferview_funcs.[hC]: change function names to
15791         begin with small char, adjust other files.
15792
15793 2001-08-02  André Pönitz <poenitz@gmx.net>
15794
15795         * lyxfunc.C:
15796         BufferView_pimpl.C: remove broken special code for math-greek
15797
15798 2001-08-02  Juergen Vigna  <jug@sad.it>
15799
15800         * BufferView_pimpl.C (update): redone this function so that we
15801         update the text again if there was a CHANGE_IN_DRAW.
15802
15803         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15804         (drawFromTo): added a new internal bool which is used by draw() and
15805         redraw() function.
15806         (general): some cursor drawing problems fixed.
15807
15808 2001-08-01  Juergen Vigna  <jug@sad.it>
15809
15810         * lyxfind.C (LyXFind): fixed
15811         (SearchForward): ditto
15812         (SearchBackward): ditto
15813
15814         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15815         spurius drawing of the cursor in the main area.
15816
15817         * text2.C (status): small fix which could lead to a segfault!
15818         (clearSelection): remove unneeded BufferView param.
15819
15820 2001-08-01  André Pönitz <poenitz@gmx.net>
15821
15822         * lyxfunc.C: small change due to changed mathed interface
15823
15824 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15825
15826         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15827
15828 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15829
15830         * lyxfunc.c: fail gracefully if file doesn't exist
15831
15832         * LyXSendto.C:
15833         * buffer.C:
15834         * lyxfunc.C:
15835         * BufferView_pimpl.C: IsDirWriteable() proto changed
15836
15837         * LyXView.C: fix updateWindowTitle() to store the last title
15838
15839 2001-07-31  Juergen Vigna  <jug@sad.it>
15840
15841         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15842         the font (wrong since using of Paragraph::highestFontInRange).
15843
15844         * paragraph.C (highestFontInRange): added a default_size parameter.
15845
15846         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15847         (setHeightOfRow): reformat
15848
15849 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * converter.[hC] + affected files: move to (inital-char)lowercase
15852         function names.
15853
15854         * ParagraphParameters.C (ParagraphParameters): remove commented code
15855
15856         * PainterBase.[Ch]: remove commented code
15857
15858         * LaTeXFeatures.h: add "bool floats" for float.sty
15859
15860         * LaTeXFeatures.C (LaTeXFeatures): init floats
15861         (require): handle float
15862         (getPackages): do it with floats
15863
15864 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15865
15866         * BufferView_pimpl.C (Dispatch): improve handling of
15867         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15868
15869         * commandtags.h: #include lyxfont.h here temporarily to avoid
15870         keybinding bug.
15871
15872         * bufferlist.h: include LString.h here.
15873
15874 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15875
15876         * text2.C (getStringToIndex): new method.
15877
15878 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15879
15880         * *: Reduced header file dependencies all over.
15881
15882 2001-07-30  Baruch Even  <baruch@lyx.org>
15883
15884         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15885
15886 2001-07-29  Baruch Even  <baruch@lyx.org>
15887
15888         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15889
15890 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15891
15892         * ParameterStruct.h (endif): add a default constructor to make
15893         sure that all variables is initialized.
15894
15895         * ParagraphParameters.C (ParagraphParameters): adjust
15896
15897 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15898
15899         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15900         index; also, check that there is something to index, and that it
15901         does not span over several paragraphs.
15902         (doubleClick): use WHOLE_WORD_STRICT for double click.
15903
15904         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15905
15906         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15907         scheme.
15908
15909 2001-07-26  Baruch Even  <baruch@lyx.org>
15910
15911         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15912         an InsetFig figure, backwards compatible reading of old figure code.
15913
15914 2001-07-27  Juergen Vigna  <jug@sad.it>
15915
15916         * text2.C: font.realize function adaption.
15917
15918         * text.C (draw): add a warnings lyxerr text if needed.
15919
15920         * layout.C: font.realize function adaption.
15921
15922         * language.C: add inherit_language and implement it's handlings
15923
15924         * bufferview_funcs.C (StyleReset): remove language parameter from
15925         font creation (should be language_inherit now).
15926
15927         * bufferparams.C (writeFile): handle ignore_language.
15928
15929         * paragraph.C (getFontSettings): the language has to be resolved
15930         otherwise we have problems in LyXFont!
15931
15932         * lyxfont.C (lyxWriteChanges): added document_language parameter
15933         (update): removed unneeded language parameter
15934
15935         * paragraph.C (validate): fixed wrong output of color-package when
15936         using interface colors for certain fonts in certain environments,
15937         which should not seen as that on the final output.
15938
15939 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15940
15941         * BufferView_pimpl.C:
15942         * Thesaurus.h:
15943         * Thesaurus.C:
15944         * Makefile.am:
15945         * commandtags.h:
15946         * LyXAction.C: add thesaurus support
15947
15948         * lyxfind.h:
15949         * lyxfind.C: add "once" parameter, for thesaurus, to not
15950           move to the next match
15951
15952 2001-07-26  Juergen Vigna  <jug@sad.it>
15953
15954         * lyxfont.C (realize): honor ignore_language too!
15955         (resolved): ditto.
15956
15957         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15958
15959         * text.C (draw): one place more for ignore_language to not draw
15960         itself!
15961
15962 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15963
15964         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15965
15966 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15967
15968         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15969         the minipage conversion problem.
15970
15971 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15974         insert an inset.
15975
15976 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15977
15978         * BufferView.h: don't forward declare WorkArea
15979
15980         * BufferView.C: don't include WorkArea.h
15981
15982 2001-07-25  André Pönitz <poenitz@gmx.net>
15983
15984         * commandtags.h:
15985         * LyXAction.C:
15986         * lyxfunc.C:  new LFUN 'math-space'
15987
15988         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15989
15990 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15991
15992         * text2.C (toggleInset): call open/close
15993
15994 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15995
15996         * lyxfunc.C (dispatch): add debug for the disabled case
15997
15998         * font.C (buttonText): make similar to rectText
15999
16000         * buffer.C (readInset): comment out parsing of insetlist and
16001         insttheorem
16002
16003         * PainterBase.C (rectText): small correction
16004
16005         * BufferView_pimpl.C: comment out insettheorem and insetlist
16006         * LyXAction.C: ditto
16007         * commandtags.h: ditto
16008
16009 2001-07-24  Juergen Vigna  <jug@sad.it>
16010
16011         * text.C (draw): honor the ignore_language.
16012
16013         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16014
16015 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16016
16017         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16018         char inset.
16019
16020 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16021
16022         * lyxtext.h: remove unused (and unimplemented) methods
16023
16024 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16025
16026         * text.C (getVisibleRow): honor background color
16027
16028         * PainterBase.h:
16029         * Painter.h: remove default color argument for fillRectangle
16030
16031         * text.C (backgroundColor): new method
16032
16033 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16034
16035         * text.C (getVisibleRow): adjust
16036
16037         * font.[Ch] (rectText): new method, metrics
16038         (buttonText): new method, metrics
16039
16040         * PainterBase.[hC]: make rectText and buttonText always draw and take
16041         fewer paramteres.
16042
16043 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16044
16045         * ToolbarDefaults.C (read):
16046         * MenuBackend.C (read): allow escaping in all strings
16047
16048         * BufferView_pimpl.C (insertAndEditInset): new method.
16049         (Dispatch): use insertAndEditInset whenever appropriate.
16050
16051         * BufferView_pimpl.C (insertNote): removed
16052
16053         * BufferView_pimpl.C (smartQuote): new method, moved from
16054         BufferView; if an insetquote cannot be inserted, insert a '"'
16055         character instead.
16056
16057         * BufferView2.C: remove insertCorrectQuote();
16058
16059         * lyxfunc.C (getStatus): Add support for all remaingin
16060         inset-insert lfuns.
16061
16062         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16063
16064         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16065         command (necessary to pass " as parameter of self-insert.
16066
16067         * text.C (selectWordWhenUnderCursor):
16068         (selectWord): add word_location parameter
16069         (selectWordWhenUnderCursor): same + remove special code for word
16070         boundary.
16071         (selectNextWord): use kind() to guess type of insetspecialchar,
16072         not latex().
16073
16074         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16075         (insertErtContents): create ert insets as collapsed.
16076         (readInset): better compatibility code for Info inset.
16077
16078 2001-07-20  Juergen Vigna  <jug@sad.it>
16079
16080         * lyxfunc.C (dispatch): use always LyXFind now!
16081
16082         * text2.C (init): add a reinit flag so that the LyXText can be
16083         reinited instead of deleted and reallocated (used in InsetText).
16084
16085         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16086
16087         * text.C: ditto
16088
16089         * text2.C: ditto
16090
16091 2001-07-18  Juergen Vigna  <jug@sad.it>
16092
16093         * text.C (selectNextWord): handle insets inside inset by calling
16094         always the bv->text functions so that we can go up the_locking_inset!
16095
16096         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16097         in strange locations when inside an inset!
16098
16099         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16100         handling to include insets.
16101
16102         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16103
16104 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16105
16106         * LyXAction.C (init):
16107         * commandtags.h:
16108         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16109         LIGATURE_BREAK, since the name is so stupid.
16110
16111 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16112
16113         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16114         InsetInfos.
16115
16116         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16117
16118         * sp_form.[Ch]: remove.
16119
16120         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16121
16122         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16123         InsetInfo.
16124
16125         * src/buffer.C (readInset): ditto.
16126
16127 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16128
16129         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16130         menuSeparator(), endOfSentenceDot(), ldots() and
16131         hyphenationPoint(), which are therefore removed.
16132         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16133
16134         * LyXAction.C (init):
16135         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16136
16137         * paragraph.C (getWord): removed.
16138
16139         * BufferView_pimpl.C (Dispatch): use last word or selection for
16140         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16141
16142         * lyx_main.C (queryUserLyXDir): do not ask before creating
16143         user_dir, except if it has been named explicitely.
16144
16145 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16146
16147         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16148         a document of zero size.
16149
16150 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16151
16152         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16153         approriately in the c-tor and in require().
16154         (getPackages): output the appropriate LaTeX for natbib support.
16155
16156         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16157         variables "use_natbib" and "use_numerical_citations" when reading the
16158         LyX file.
16159         (readInset): read the various natbib cite commands.
16160         (validate): white-space change.
16161
16162         * bufferparams.[Ch]: new variables "bool use_natbib" and
16163         "bool use_numerical_citations".
16164         (writeFile): output them in the LyX file.
16165
16166 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16167
16168         * lyxfunc.C (getStatus): add support for all the inset insertion
16169         commands.
16170
16171         * text2.C (insertInset):
16172         * paragraph.C (insetAllowed):
16173         * BufferView_pimpl.C (insertInset): update to take in account the
16174         renaming of insertInsetAllowed
16175
16176         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16177
16178         * text2.C (getInset): new method. returns inset at cursor position.
16179
16180         * BufferView_pimpl.C (Dispatch): changes because of this.
16181
16182         * LyXAction.C (init): rename open-stuff to inset-toggle.
16183
16184         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16185
16186         * text2.C (toggleInset): renamed from openStuff; use
16187         Inset::open().
16188
16189 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16190
16191         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16192
16193         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16194
16195 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16196
16197         * buffer.C (readLyXformat2): Add filename to the error dialog
16198
16199 2001-07-18  Juergen Vigna  <jug@sad.it>
16200
16201         * tabular.C (GetCellNumber): put an assert here instead of the check!
16202
16203 2001-07-17  Juergen Vigna  <jug@sad.it>
16204
16205         * BufferView_pimpl.C (toggleSelection): adapted too.
16206
16207         * text.C (selectNextWord): adapted for use with insets.
16208         (selectSelectedWord): ditto
16209
16210 2001-07-17  Juergen Vigna  <jug@sad.it>
16211
16212         * sp_spell.C (PSpell): fix initialitation order.
16213
16214 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16215
16216         * paragraph.C: spacing
16217
16218 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16219
16220         * sp_spell.C: repair language selection for pspell
16221
16222 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16223
16224         * lyxfunc.h: change more methods to begin with lower char.
16225
16226 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16227
16228         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16229         for unknown layouts.
16230
16231 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16232
16233         * buffer.C (readLyXformat2): Generate an error dialog if there are
16234         unknown layouts.
16235
16236 2001-07-16  Juergen Vigna  <jug@sad.it>
16237
16238         * sp_spell.C: always compile ISpell part.
16239
16240         * lyxrc.C: added use_pspell entry and it's handling.
16241
16242 2001-07-13  Juergen Vigna  <jug@sad.it>
16243
16244         * sp_spell.C: removed double includes.
16245
16246 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16247
16248         Consistent use of Lsstream.h:
16249         * Lsstream.h: added using std::stringstream for consistencies sake.
16250
16251         * buffer.C: removed using std::stringstream
16252
16253         * lyxfont.C (stateText):
16254         * paragraph.C (asString):
16255         * text.C (selectNextWord, selectSelectedWord):
16256         * text2.C (setCounter):
16257         * vspace.C (asString, asLatexString):
16258         std::ostringstream -> ostringstream.
16259
16260 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16261
16262         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16263         * commandtags.h: add LFUN_HELP_ABOUTLYX
16264         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16265
16266 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16267
16268         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16269         cursorToggle()
16270         * lyx_gui_misc.C: remove spellchecker
16271         * lyxfunc.C: showSpellchecker
16272         * sp_base.h: added
16273         * sp_ispell.h: added
16274         * sp_pspell.h: added
16275         * sp_spell.C: added
16276         * sp_form.[Ch]: removed
16277         * spellchecker.[Ch]: removed
16278
16279 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16280
16281         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16282         is set.
16283         (simpleTeXSpecialChars): Simply print the input character without
16284         any special translation if pass_thru is set.
16285
16286         * layout.h: Added bool pass_thru to layout class for being able to
16287         implement pass through of a paragraph for Literate Programming.
16288
16289         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16290         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16291         * layout.C (Read): add "passthru" to list of layout tags and add
16292         code to set the pass_thru boolean when it is read.
16293
16294 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16295
16296         * trans_decl.h: remove allowed from KmodInfo
16297
16298         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16299         remove allowed code
16300         (Load): adjust
16301
16302         * paragraph_pimpl.C (erase): use boost::prior
16303
16304         * Painter.C (text): use data() instead of c_str() when length is
16305         also provided.
16306         * WorkArea.C (putClipboard): ditto
16307         * font.h (width): ditto
16308
16309         * BufferView2.C: use it-> instead of (*it). for iterators
16310         * texrow.C: ditto
16311         * paragraph_pimpl.C: ditto
16312         * paragraph.C: ditto
16313         * minibuffer.C: ditto
16314         * language.C: ditto
16315         * kbmap.C: ditto
16316         * encoding.C: ditto
16317         * counters.C: ditto
16318         * converter.C: ditto
16319         * chset.C: ditto
16320         * Variables.C: ditto
16321         * TextCache.C: ditto
16322         * MenuBackend.C: ditto
16323         * LyXAction.C: ditto
16324         * LColor.C: ditto
16325         * FloatList.C: ditto
16326         * DepTable.C: ditto
16327         * ColorHandler.C (LyXColorHandler): ditto
16328
16329 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16330
16331         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16332
16333         * text2.C (openStuff): reintroduce this method (which had been
16334         nuked in NEW_INSETS frenzy).
16335
16336         * lyxfunc.C (Dispatch): when an action has not been handled, use
16337         its name in the error message, not its number.
16338
16339         * paragraph.C (inInset): change method name to begin with lowercase.
16340
16341         * undo_funcs.C:
16342         * text2.C: updates because of this.
16343
16344 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16345
16346         * ToolbarDefaults.C (add): add spaces in error message
16347
16348 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16349
16350         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16351         (readLyXformat2): rename return_par to first_par, use lyxlex's
16352         pushToken and remove the manual push handling.
16353         (parseSingleLyXformat2Token): add another ert comp. variable:
16354         in_tabular, rename return_par to first_par. handle newlines better
16355
16356 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16357
16358         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16359
16360 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16361
16362         * text2.C (getParFromID): removed
16363
16364         * buffer.C (getParFromID): new method moved form lyxtext.
16365         * BufferView2.C (insertErrors): adjust
16366         (setCursorFromRow): adjust
16367         * BufferView_pimpl.C (restorePosition): adjust
16368         * lyxfunc.C (Dispatch): adjust
16369         * undo_funcs.C (textUndo): adjust
16370         (textRedo): adjust
16371         (textHandleUndo): adjust
16372         (textHandleUndo): adjust
16373
16374 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16375
16376         * buffer.C: up' the LYX_FORMAT
16377
16378         * lyxfont.h: turn NO_LATEX on as default
16379
16380         * buffer.C (insertErtContents): new methods of tex style compability.
16381         (parseSingleLyXformat2Token): use it several places.
16382         * tabular.C (OldFormatRead): and here
16383
16384 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16385
16386         * text2.C: remove some commented code.
16387         reindent file.
16388
16389         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16390         * trans.C: changes because of the above.
16391
16392 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16393
16394         * text2.C (setCounter): Fix counters bug with bibliography layout.
16395
16396 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16397
16398         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16399         own member functions
16400         (simpleTeXSpecialChars): ditto
16401
16402 2001-07-06  Juergen Vigna  <jug@sad.it>
16403
16404         * a lot of files: changed the access to LyXText::status and the
16405         call of undo-functions.
16406
16407         * undo.[Ch]: added a inset_id to the undo informations.
16408
16409         * undo_funcs.[Ch]: added and moved here all undo functions.
16410
16411         * lyxtext.h: give the status enum a weight, made status_ a private
16412         variable and made accessor functions for it, removed the whole bunch
16413         of undo-functions as they are now in their own file, make some
16414         functions publically available. Added function ownerParagraph with
16415         int parameter.
16416
16417         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16418         made InInset() a const function, added getParFromID() function.
16419
16420         * buffer.[Ch]: added const version for inset_iterator functions,
16421         added getInsetFromID() function.
16422
16423         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16424         changed undo functions for new version.
16425
16426 2001-07-05  Juergen Vigna  <jug@sad.it>
16427
16428         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16429         unknow mechanism does not call the proper constructor but only this
16430         one also if I request the other!?
16431
16432 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16433
16434         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16435
16436         * text2.C (LyXText): use initialization lists.
16437
16438         * lyxtext.h (Selection): initialize set_ and mark_
16439         (init): remove method
16440
16441 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16442
16443         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16444
16445 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16446
16447         * screen.[Ch]: change method names to begin with lowercase
16448
16449         * BufferView_pimpl.C (updateScrollbar): simplify further and
16450         hopefully make it a bit faster.
16451
16452 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16453
16454         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16455         calling directly xforms functions.
16456
16457         * Painter.C (Painter):
16458         * lyx_cb.C (MenuWrite):
16459         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16460         fl_display.
16461
16462         * lyx_gui.C: remove bogus guiruntime extern declaration.
16463
16464 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16465
16466         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16467         in NEW_INSETS
16468         (redoDrawingOfParagraph): ditto
16469         (redoParagraphs): ditto
16470         (cutSelection): don't create a object for CutAndPaste use the
16471         static method directly
16472         (pasteSelection): ditto
16473
16474         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16475         LyXview (+ rename)
16476
16477 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16478
16479         * modifications to some other files because of this.
16480
16481         * Makefile.am (lyx_SOURCES): add XFormsView
16482
16483         * XFormsView.[Ch]: new files
16484
16485         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16486         the main window. Move the gui dependent stuff to XFormsView
16487
16488 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16489
16490         * tabular.C (GetCellInset): update cur_cell also in the row/col
16491         version of this function.
16492
16493         * lyxfunc.C: no need to include figure_form.h here.
16494
16495         * FontLoader.h:
16496         * lyxfunc.h:
16497         * lyxscreen.h:
16498         * text2.C:
16499         * lyxvc.C: no need to include forms.h here.
16500
16501 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16502
16503         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16504
16505         * lyxfunc.C (Dispatch):
16506         * Spacing.C (set):
16507         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16508         constructor argument.
16509
16510 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16511
16512         * paragraph.C (Paragraph): dont't clear, and just set layout.
16513         (makeSameLayout): use params's copy contructor.
16514
16515         * ParagraphParameters.[Ch] (makeSame): delete method
16516
16517 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16518
16519         * Variables.[Ch]: fix indentation, rename set to isSet
16520
16521 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16522
16523         * lyxfunc.C (Dispatch): fix typo
16524
16525 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16526
16527         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16528         upper_bound.
16529
16530         * bufferlist.C: include assert.h for emergencyWrite().
16531
16532 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16533
16534         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16535           give up at last (bug #425202) !
16536
16537 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16538
16539         * lyx_gui_misc.C:
16540         * sp_form.h:
16541         * sp_form.C:
16542         * spellchecker.h:
16543         * spellchecker.C: strip spellchecker options and bring up
16544           preferences tab instead
16545
16546 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16547
16548         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16549         the istringstream constructor
16550
16551 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16552
16553         * paragraph.C (getLayout): fix return value
16554
16555         * paragraph.h: do not declare getLayout as inline.
16556
16557         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16558
16559 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16560
16561         * lyxcursor.h (operator<): new func
16562         (operator>): new func
16563         (operator>=): new func
16564         (operator<=): new func
16565
16566         * text.C (changeCase): use selection.start and selection.end
16567         (changeRegionCase): require from to be <= to. Require par to be a
16568         valid paragraph.
16569
16570         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16571
16572 2001-06-27  Juergen Vigna  <jug@sad.it>
16573
16574         * text.C (cursorLeftOneWord): changed to return the cursor and added
16575         overlay with BufferView * parameter which calls this one.
16576         (getWord): added
16577         (selectWord): use new getWord function.
16578         (changeCase): renamed from changeWordCase as and extended to work
16579         also on selections.
16580
16581         * lyxtext.h: added enum word_location
16582
16583         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16584         changeCase as this operates now also on selections.
16585
16586 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16587
16588         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16589
16590         * many files: send debug output to Debug::INFO instead of
16591         Debug::ANY.
16592
16593         * converter.C (View):
16594         (Convert):
16595         (Move): send debug output to Debug::FILES instead of console.
16596
16597 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16598
16599         * lyxfunc.C (getStatus): use func_status
16600
16601         * func_status.h: new header, describing the results of
16602         LyXFunc::getStatus;
16603
16604         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16605         LFUN_MATH_HALIGN.
16606
16607 2001-06-25  The LyX Project  <jug@sad.it>
16608
16609         * buffer.C (sgmlOpenTag):
16610         (sgmlCloseTag):
16611         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16612
16613 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16614
16615         * text2.C: remove some dead code
16616
16617         * tabular.C (GetCellInset): store the last cell checked (gotten)
16618
16619         * tabular.h: add the helper for the speedup
16620
16621         * lyxtext.h: remove some dead code
16622
16623 2001-06-26  The LyX Project  <Asger>
16624
16625         * paragraph.C: Change export to LaTeX of alignment to
16626         \begin{center} and family for better roundtrip work with reLyX.
16627
16628         * Tune the math drawing a bit.
16629
16630 2001-06-25  The LyX Project  <Asger>
16631
16632         * LColor.C (LColor): New color for math background. New color
16633         for buttons.
16634
16635 2001-06-25  The LyX Project  <jug@sad.it>
16636
16637         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16638
16639         * lyxfunc.C (Open):
16640         * bufferlist.C (newFile): do not restrict to files ending with
16641         .lyx
16642
16643         * BufferView_pimpl.C (MenuInsertLyXFile):
16644
16645 2001-06-24  The LyX Project  <jug@sad.it>
16646
16647         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16648         of compare_no_case
16649
16650 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16651
16652         * lyxtext.h: rename most methods to begin with a small char.
16653         Lots of changes because of this.
16654
16655         * paragraph.C (Paragraph): do not call fitToSize
16656         (erase): call Pimpl::erase
16657         (insertChar): call Pimpl::insertChar
16658         (insertInset): call Pipl::insertInset
16659         (breakParagraph): do not call fitToSize
16660         (breakParagraphConservative): do not call fitToSize
16661         (fitToSize): remove method
16662
16663         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16664
16665 2001-06-24  The LyX Project  <Asger>
16666
16667         * Fix Qt compilation^2
16668
16669 2001-06-24  The LyX Project  <jug@sad.it>
16670
16671         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16672         depthHook(getDepth()-1).
16673
16674         * paragraph.h:
16675         * ParagraphParameters.h:
16676         * ParameterStruct.h: change type of depth to unsigned int ==
16677         depth_type. Many adaptations to other files before of that.
16678
16679 2001-06-24  The LyX Project  <Asger>
16680
16681         * Fix Qt compilation.
16682
16683 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16684
16685         * paragraph.h: renamed several methods to begin with small letter.
16686         several changes to many parts of the code because of this.
16687
16688 2001-06-23  The LyX Project  <jug@sad.it>
16689
16690         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16691         rewritten to discard all double spaces when KeepEmpty is off
16692         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16693         to only handle newlines but not fiddle with spaces and friends.
16694
16695         * lyxfunc.C (MenuNew): when doing 'new from template', use
16696         template_path as default directory
16697
16698 2001-06-23  The LyX Project  <Asger>
16699
16700         * Clean-up of header file includes all over
16701         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16702
16703 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16704
16705         * paragraph.h: renamed from lyxparagraph.h
16706
16707 2001-06-23  Asger  <lyx@violet.home.sad.it>
16708
16709         * Buffer.h: Removed Buffer::resize
16710         * BufferList.h: Removed BufferList::resize
16711         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16712         the document lazily when we change the width, or the font settings.
16713
16714 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16715
16716         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16717
16718 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16719
16720         * buffer.h: remove out of date comment
16721
16722 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16723
16724         * lyxscreen.h:
16725         * screen.C: fix "theoretical" GC leak
16726
16727 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16728
16729         * LaTeX.C (scanAuxFile):
16730         (deplog): remove trailing \r when reading stream (useful under
16731         win32)
16732
16733 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16734
16735         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16736         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16737         and BufferView::theLockingInset(Inset*), so should use them and not
16738         access bv_->text->the_locking_inset directly.
16739
16740         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16741
16742 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16743
16744         * Makefile.am:
16745         * tex-defs.h: remove old unused file
16746
16747 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16748
16749         * BufferView_pimpl.C: fix typo, remove minibuffer message
16750           when buffer has loaded
16751
16752 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16753
16754         * lyxfunc.C (Dispatch): use stringstream
16755         (MenuNew): use stringstream
16756         (Open): use stringstream
16757
16758         * importer.C (Import): use stringstream
16759
16760         * bufferview_funcs.C (CurrentState): use stringstream
16761
16762         * LaTeX.C (run): use stringstream
16763
16764         * BufferView_pimpl.C (savePosition): use stringstream
16765         (restorePosition): use stringstream
16766         (MenuInsertLyXFile): use stringstream
16767
16768 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16769
16770         * BufferView.C:
16771         * Bullet.C:
16772         * ColorHandler.C:
16773         * FontInfo.C:
16774         * FontLoader.C:
16775         * LColor.C:
16776         * LaTeXFeatures.C:
16777         * Painter.C:
16778         * gettext.C:
16779         * lyx_gui_misc.C:
16780         * lyxserver.C:
16781         * vspace.C: removed // -*- C++ -*- as first line.
16782
16783         * lyxfind.h:
16784         * version.h: added // -*- C++ -*- as first line.
16785
16786 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16787
16788         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16789
16790         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16791         of string
16792
16793 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16794
16795         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16796         of floats.
16797
16798 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16799
16800         * gettext.C: include LString.h even when --disable-nls is on.
16801
16802 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16803
16804         * converter.h (Get): changed argument type from int to
16805         FormatList::size_type to avoid unnecessary conversion.
16806
16807         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16808         before using it.
16809
16810 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16811
16812         * gettext.h: include LString.h even when --disable-nls is on.
16813
16814 2001-06-07  Juergen Vigna  <jug@sad.it>
16815
16816         * text.C (BreakAgain): subst spaces with tabs.
16817
16818         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16819         (resizeInsetsLyXText): set force on resizeLyXText.
16820
16821 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16822
16823         * gettext.h (gettext_init):
16824         (locale_init): use a real definition instead of a macro
16825
16826 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16827
16828         * Bufferview_pimpl.C:
16829         * LColor.h:
16830         * LColor.C: further lcolor tidies
16831
16832 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16833
16834         * BufferView_pimpl.C (updateScrollbar): simplify.
16835
16836         * BufferView2.C: don't include insets/insetinfo.h, change
16837         prototype for insertInset and call the Pimpl version. let
16838         updateInset call Pimpl version.
16839
16840         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16841         gotoInset to BufferView::Pimpl
16842
16843 2001-06-01  Juergen Vigna  <jug@sad.it>
16844
16845         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16846         inside a LockingInset (is the update needed at all?).
16847
16848 2001-05-31  Juergen Vigna  <jug@sad.it>
16849
16850         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16851         here not the old one otherwise how should we compare it afterwards
16852         if it's the same!
16853
16854 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16855
16856         * lyxfont.C:
16857         * tabular.C:
16858         * tabular-old.C:
16859         * FontInfo.C: bring C functions into global namespace when
16860         necessary
16861
16862 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16863
16864         * LString.h: make sure config.h has been loaded before LString.h.
16865
16866         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16867         (one for each char read by EatLine!).
16868
16869         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16870         variables.
16871
16872 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16873
16874         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16875         to the same as the par we break from
16876
16877 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16878
16879         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16880
16881         * MenuBackend.C (expand): also create menu entries for wide
16882         versions of the floats.
16883
16884         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16885
16886         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16887
16888         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16889         frontends/Makefile.am
16890
16891         * text2.C: adjust
16892         * text.C: adjust
16893
16894
16895         * tabular.C (getTokenValue): add std::
16896
16897         * tabular-old.C (getTokenValue): add std::
16898         (getTokenValue): ditto
16899         (getTokenValue): ditto
16900
16901         * screen.C (ToggleSelection): adjust
16902
16903         * lyxtext.h: put selection cursors inside a Selection struct.
16904
16905         * lyxfunc.C (moveCursorUpdate): adjust
16906
16907         * lyxfont.C (latexWriteStartChanges): add std::
16908
16909         * lyxfind.C: adjust
16910
16911         * font.h: delete with(char const *, LyXFont const &)
16912
16913         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16914
16915         * FontInfo.C (getFontname): add std::
16916
16917         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16918         (workAreaButtonPress): adjust
16919         (tripleClick): adjust
16920         (update): adjust
16921         (moveCursorUpdate): adjust
16922         (Dispatch): adjust
16923
16924         * BufferView2.C (gotoInset): adjust
16925
16926 2001-05-30  Juergen Vigna  <jug@sad.it>
16927
16928         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16929         to check pspell I add this as default as I now have new pspell
16930         libraries and they seem to use this.
16931
16932 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16933
16934         * text2.C (CutSelection): make the cursor valid before the call to
16935         ClearSelection.
16936
16937 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16938
16939         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16940         relied on 0 terminated strings and other horrors. Bug found due to
16941         the new assert in lyxstring!
16942
16943         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16944         KP_ keys.
16945
16946 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16947
16948         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16949         to latinkeys.bind.
16950
16951         * lyxfunc.C (processKeySym): change method of getting to the
16952         self-insert char.
16953
16954         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16955         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16956         * BufferView_pimpl.[Ch]: here as private methods.
16957
16958 2001-05-28  Juergen Vigna  <jug@sad.it>
16959
16960         * text.C (SetHeightOfRow): added the update() call again as it is
16961         needed to initialize inset dimensions!
16962
16963 2001-05-16  Juergen Vigna  <jug@sad.it>
16964
16965         * text2.C (SetCharFont): Add new function with BufferView * and
16966         bool toggleall parameters for setting insets internal fonts.
16967         (SetFont): Freeze the undo as we may change fonts in Insets and
16968         all this change should be inside only one Undo!
16969
16970         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16971         setting font's in insets as for them we have the SetFont function!
16972
16973 2001-05-15  Juergen Vigna  <jug@sad.it>
16974
16975         * text2.C (ClearSelection): to be sure we REALLY don't have any
16976         selection anymore!
16977
16978         * tabular.C (TeXCellPreamble): fixed the left border problem for
16979         multicolumn cells.
16980
16981 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16982
16983         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16984         dependancy file
16985
16986 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16987
16988         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16989         LFUN_BREAKPARAGRAPH.
16990
16991         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16992         help test to "internal only", similar for LFUN_INSERT_URL
16993
16994         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16995         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16996         auto_region_delete and deadkeys.
16997
16998 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16999
17000         * LColor.h:
17001         * LColor.C: remove some dead entries, tidy a little
17002
17003 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17004
17005         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17006         commented code.
17007         (Dispatch): implement LFUN_ESCAPE
17008
17009         * commandtags.h: add LFUN_ESCAPE
17010
17011         * LyXAction.C (init): add entry for LFUN_ESCAPE
17012
17013         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17014         Remove commented code.
17015         (insertNote): moved here
17016         (open_new_inset): moved here
17017
17018         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17019         BufferView_pimpl
17020
17021 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17022
17023         * kbmap.C (findbinding): clean it up and make it work correctly.
17024
17025         * lyx_main.C (init): do not pass argc and argv as parameters
17026
17027 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17028
17029         * buffer.C: fix path for OS/2 & Win32
17030
17031         * lyx_gui.C:
17032         * lyx_main:
17033         * lyx_main.C: Added os:: class.
17034
17035         * os2_defines.h: update
17036
17037 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17038
17039         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17040         better by trying again with reduced state.
17041
17042 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17043
17044         * lyxrc.C (read): print error about invalid key sequence only when
17045         debugging (because not all latinX keysyms are known to some X
17046         servers)
17047
17048         * kbsequence.C (getiso): add a few std:: qualifiers
17049         (getiso): comment out extra return statement.
17050
17051 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17052
17053         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17054         handling.
17055         (Dispatch): enhance the accent inset a bit. (not perfect)
17056
17057 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17058
17059         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17060
17061 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17062
17063         * bufferlist.C (emergencyWrite): fix assert() call
17064
17065 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17066
17067         * text.C (InsertChar): Added trivial patch to only send the "you
17068         can not do multiple spaces this way" message once during a
17069         session.
17070
17071 2001-05-08  Baruch Even  <baruch@lyx.org>
17072
17073         * Makefile.am: Changed order of libraries to get LyX to link properly
17074         with the gnome frontend.
17075
17076 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17077
17078         * LaTeXFeatures.h: add a std:: qualifier
17079
17080 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17081
17082         * paragraph.C (String): use stringstream
17083
17084 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17085
17086         * paragraph.C (writeFile): remove footflag arg
17087
17088         * buffer.C (makeLaTeXFile): use stringstream
17089         (latexParagraphs): remove footnot gurba
17090
17091         * LaTeXFeatures.C (getPackages): use stringstream
17092         (getMacros): likewise
17093         (getTClassPreamble): likewise
17094         (getFloatDefinitions): new method
17095
17096         * paragraph.C (writeFile): reindent
17097         (Erase): reindent
17098
17099         * WorkArea.h: revert the xpos + etc changes.
17100
17101         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17102
17103         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17104
17105         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17106         (pasteSelection): likewise
17107         * text2.C (CreateUndo): likewise
17108
17109 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17110
17111         * minibuffer.C (peek_event): temporarily reduce the functionality
17112         of the minibuffer (to allow args on lfuns)
17113
17114         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17115         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17116
17117         * buffer.C (readInset): add compability reading of old float
17118         lists, add reading of new style float list.
17119         (readInset): avoid reevaluation of inscmd.getCmdName()
17120         (getLists): reindent
17121
17122         * MenuBackend.C (MenuItem): implement parsing of
17123         md_floatlistinsert and md_floatinsert.
17124         (expand::LastFiles): move initalizaton of iterators out of loop,
17125         avoid reevaluation.
17126         (expand::Documents): introduce typdedef vector<string> Strings,
17127         and use it.
17128         (expand::ExportFormats): introduce typedef vector<Format const *>
17129         Formats, and use it.
17130         (expand): implement FloatListInsert and FloatInsert.
17131
17132         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17133         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17134         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17135
17136         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17137         handling.
17138         (Dispatch::LFUN_FLOAT_LIST): implement
17139
17140 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17141
17142         * LaTeX.C (run): Fix problem with --export code.
17143
17144 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17145
17146         * BufferView.[Ch] (workarea): removed.
17147         (getClipboard) new method; wrapper for workarea()->getClipboard()
17148
17149         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17150         bug.
17151
17152         * WorkArea.h (width, height, xpos, ypos): These methods all
17153         returned the dimensions of the work_area sub-area of WorkArea,
17154         resulting in a position error if the WorkArea were resized. Now
17155         return the dimensions of the entire WorkArea.
17156
17157         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17158
17159 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17160
17161         * LaTeX.C (deplog): correct the syntax of regex reg1
17162
17163 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17164
17165         * undo.C: remove !NEW_INSETS cruft
17166
17167 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17168
17169         * text2.C: remove !NEW_INSETS cruft
17170
17171         * text.C: remove !NEW_INSETS cruft
17172
17173         * tabular.C: remove !NEW_INSETS cruft
17174
17175         * spellchecker.C: remove !NEW_INSETS cruft
17176
17177         * lyxtext.h: remove !NEW_INSETS cruft
17178
17179         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17180
17181         * lyxfunc.C: remove !NEW_INSETS cruft
17182
17183         * lyxfind.C: remove !NEW_INSETS cruft
17184
17185         * lyx_cb.C: remove !NEW_INSETS cruft
17186
17187         * figureForm.C: remove  !NEW_INSETS cruft
17188
17189         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17190
17191         * buffer.[Ch]: remove !NEW_INSETS cruft
17192
17193         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17194
17195         * CutAndPaste.C: remove !NEW_INSETS cruft
17196
17197         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17198
17199         * BufferView2.C: remove !NEW_INSETS cruft
17200
17201         * BufferView.h: remove !NEW_INSETS cruft
17202
17203 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17204
17205         * Lsstream.h: include LString.h before the sstream headers to
17206         fix problem with gcc 2.95.3 and lyxstring
17207
17208 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17209
17210         * lyx_main.C: add using directives when needed for C functions
17211         declared in std:: namespace.
17212
17213 2001-04-27  Juergen Vigna  <jug@sad.it>
17214
17215         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17216         (SetHeightOfRow): comment out the update call should not be needed!
17217
17218 2001-04-13  Juergen Vigna  <jug@sad.it>
17219
17220         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17221         (LyXTabular): tried to minimize operator= operations (and realized
17222         hopfully Lars wish).
17223
17224 2001-04-27  Juergen Vigna  <jug@sad.it>
17225
17226         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17227
17228 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17229
17230         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17231
17232         * buffer.C (readInset): hack to make listof algorithm work
17233
17234         * BufferView_pimpl.C: hack to make listof algorithm work
17235
17236 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17237
17238         * LyXAction.C: removed all !NEW_INSETS cruft
17239         (init): moved lfun_item in method
17240
17241         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17242
17243 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17244
17245         * BufferView2.C (theLockingInset): white space.
17246
17247 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17248
17249         * minibuffer.C: include <iostream>
17250
17251         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17252
17253         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17254
17255         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17256
17257         * text.[Ch] (TransposeChars): new method
17258
17259 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17260
17261         * call message directly through LyXView instead of through LyXFunc
17262         * BufferView2.C: adjust
17263         * BufferView_pimpl.C: adjust
17264         * FontLoader.C: adjust
17265         * buffer.C: adjust
17266         * bufferview_funcs.C: adjust
17267         * converter.C: adjust
17268         * figureForm.C: adjust
17269         * importer.C: adjust
17270         * lyx_cb.C: adjust
17271         * lyx_gui_misc.C: adjust
17272         * lyxfunc.C: adjust
17273         * lyxvc.C: adjust
17274         * text2.C: adjust
17275         + more files in subdirs
17276
17277         * lyxparagraph.h (size): move up int file
17278         (GetLayout): ditto
17279
17280         * adjust all uses of Assert to lyx::Assert.
17281
17282         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17283         lyxfunctional in namespace lyx
17284         * layout.C (hasLayout): ditto
17285         (GetLayout): ditto
17286         (GetLayout): ditto
17287         (delete_layout): ditto
17288         (NumberOfClass): ditto
17289         * converter.C (GetFormat): ditto
17290         (GetNumber): ditto
17291         (Add): ditto
17292         (Delete): ditto
17293         (SetViewer): ditto
17294         * bufferlist.C (getFileNames): ditto
17295         (emergencyWriteAll): ditto
17296         (exists): ditto
17297         (getBuffer): ditto
17298         * MenuBackend.C (hasSubmenu): ditto
17299         (hasMenu): ditto
17300         (getMenu): ditto
17301         * BufferView_pimpl.C (getInsetByCode): ditto
17302
17303 2001-04-18  Juergen Vigna  <jug@sad.it>
17304
17305         * vspace.C (asLatexString): fixed the 100% problem.
17306
17307 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17308
17309         * lyxfunc.C (Dispatch):
17310         * minibuffer.C:
17311         * minibuffer.h: add a few std:: qualifiers
17312
17313 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17314
17315         * minibuffer.[Ch]: reimplement so that commands is initiated and
17316         run from lyxfunc, simplified som handling, and made the completion
17317         and history code for complete. wip.
17318
17319         * lyxfunc.C (processKeySym): call message
17320         (miniDispatch): new temporary method
17321         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17322         (LFUN_MESSAGE): implement
17323         (LFUN_MESSAGE_PUSH): implement
17324         (LFUN_MESSAGE_POP): implement
17325         (initMiniBuffer): the initial/defualt minibuffer message.
17326
17327         * lyxfont.[Ch]: inline some more getters
17328
17329         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17330
17331         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17332
17333         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17334         (AutoSave): use LFUN_MESSAGE
17335         (Reconfigure): ditto
17336
17337         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17338
17339         * figureForm.C: use LFUN_MESSAGE
17340
17341         * converter.C (runLaTeX): use LFUN_MESSAGE
17342
17343         * bufferview_funcs.C: use LFUN_MESSAGE
17344         (Melt): ditto
17345         (changeDepth): ditto
17346
17347         * bufferparams.h: use boost::
17348
17349         * bufferlist.h: inherit privately from noncopyable
17350
17351         * bufferlist.C (loadLyXFile): remove some commented code.
17352
17353         * buffer.C (runChktex): use LFUN_MESSAGE
17354
17355         * ShareContainer.h: inherit privately from noncopyable
17356
17357         * ParagraphParameters.[hC] (depth): inline it.
17358
17359         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17360         methods.
17361         (message): new method
17362         (messagePush): ditto
17363         (messagePop): ditto
17364         (show): init minibuffer
17365         (showState): direct call
17366
17367         * LaTeX.[Ch]: inherit privately from noncopyable
17368         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17369         instead of WriteStatus.
17370
17371         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17372
17373         * BufferView_pimpl.C (buffer): don't init minibuffer
17374         (workAreaButtonPress): use LFUN_MESSAGE
17375         (workAreaButtonRelease): ditto
17376         (savePosition): ditto
17377         (restorePosition): ditto
17378         (MenuInsertLyXFile): ditto
17379         (workAreaExpose): don't init minibuffer
17380         (update): remove commented code, simplify
17381
17382         * BufferView2.C (openStuff): use LFUN_MESSAGE
17383         (toggleFloat): ditto
17384         (menuUndo): ditto
17385         (menuRedo): ditto
17386         (copyEnvironment): ditto
17387         (pasteEnvironment): ditto
17388         (copy): ditto
17389         (cut): ditto
17390         (paste): ditto
17391         (gotoInset): ditto
17392         (updateInset): remove some commented code
17393
17394         * lastfiles.h: inherit privately from noncopyable
17395         * layout.h: ditto
17396         * lyx_gui.h: ditto
17397         * lyx_main.h: ditto
17398         * lyxlex.h: ditto
17399         * lyxlex_pimpl.h: ditto
17400
17401         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17402         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17403         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17404
17405         * LyXAction.h: inherit privately from noncopyable, add methods
17406         func_begin, func_end, returning iterators to the func map.
17407
17408         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17409         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17410         (func_begin): new method
17411         (func_end): new method
17412
17413         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17414         and not)
17415         (copySelection): ditto
17416         (pasteSelection): ditto
17417
17418         * BufferView.C: whitespace change
17419         * BufferView.h: inherit privately from noncopyable
17420
17421 2001-04-16  Allan Rae  <rae@lyx.org>
17422
17423         * tabular-old.C (l_getline):
17424         * spellchecker.C (sc_check_word):
17425         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17426         an unrecognised preprocessor directive.  So ensure they're wrapped.
17427
17428 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17429
17430         * src/exporter.C (Export): Give an error message when path to file
17431         contains spaces.
17432
17433 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17434
17435         * LaTeX.C (deplog): Always check that foundfile exists.
17436
17437 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17438
17439         * lyx_main.h:
17440         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17441
17442 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17443
17444         * tabular.[Ch] (getLabelList): implement new method
17445
17446         * minibuffer.h: comment ouf setTiimer
17447
17448         * minibuffer.C (ExecutingCB): constify res
17449         (peek_event): constify s
17450         (Set): constify ntext
17451         (Init): constify nicename
17452
17453         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17454
17455         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17456         (savePosition): use two params to Minibuffer::Set
17457         (restorePosition): ditto
17458
17459 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17460
17461         * lyx_main.C: include language.h
17462
17463         * Makefile.am (lyx_main.o): add language.h
17464
17465 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17466
17467         * exporter.C:
17468         * paragraph.C:
17469         * screen.C:
17470         * tabular.C:
17471         * CutAndPaste.C: include gettext.h
17472
17473         * lyxfont.h: remove old hack with ON and OFF.
17474
17475         * lyxparagraph.h:
17476         * lyxfont.h: do not include language.h...
17477
17478         * BufferView2.C:
17479         * LaTeXFeatures.C:
17480         * Painter.C:
17481         * bufferview_funcs.C:
17482         * font.C:
17483         * lyxfont.C:
17484         * text.C:
17485         * text2.C:
17486         * trans_mgr.C:
17487         * paragraph.C: ... but do it here instead
17488
17489 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17490
17491         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17492
17493         * tabular.C: small reformat
17494
17495         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17496         NEW_INSETS version
17497         (GetChar): ditto
17498         (BreakParagraph): ditto
17499         (SetOnlyLayout): ditto
17500         (SetLayout): ditto
17501
17502         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17503         with one arg less.
17504
17505         * lastfiles.C: removed most using decl, add std:: where needed
17506
17507         * buffer.C: ws changes
17508
17509         * MenuBackend.C (class compare_format): put into anon namespace
17510         (expand): constify label, names, action, action2
17511         (expand):
17512
17513         * text.C (SingleWidth): constify font
17514         (IsBoundary): constify rtl2
17515         (GetVisibleRow): constify ww
17516
17517         * LaTeX.C (deplog): constify logfile
17518
17519         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17520         start_x, end_x
17521         (workAreaExpose): constify widthChange, heightChange
17522
17523         * lyxrow.C (par): moved
17524         (height): moved
17525         (next): moved
17526         * lyxrow.h: as inlines here
17527
17528         * lyxfont.h (shape): moved from lyxfont.C
17529         (emph): moved from lyxfont.C
17530
17531         * lyxfont.C (LyXFont): use initialization list for all
17532         constructors
17533         (shape): move to lyxfont.h as inline
17534         (emph): move to lyxfont.h as inline
17535
17536
17537 2001-04-04  Juergen Vigna  <jug@sad.it>
17538
17539         * vspace.C: had to include stdio.h for use of sscanf
17540
17541 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17542
17543         * BufferView.h:
17544         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17545         independent of xforms.
17546
17547 2001-04-02  Juergen Vigna  <jug@sad.it>
17548
17549         * spellchecker.C: fixed namespace placing!
17550
17551 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17552
17553         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17554         the LyXParagraph * is 0.
17555
17556 2001-03-29  Juergen Vigna  <jug@sad.it>
17557
17558         * vspace.C: added support for %, c%, p%, l%.
17559         (stringFromUnit): added helper function.
17560         (asLatexString): changed to give right results for the %-values.
17561
17562         * buffer.C: convert the widthp in a width%.
17563
17564 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17565
17566         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17567         figureForm.[Ch].
17568
17569         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17570         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17571
17572         * lyx_cb.[Ch]: see above.
17573
17574         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17575         form1.[Ch].
17576
17577         * form1.[Ch]:
17578         * lyx.[Ch]: replaced by figure_form.[Ch].
17579
17580         * lyx_gui.C:
17581         * lyx_gui_misc.C:
17582         * lyxfunc.C: changed headers associated with above changes.
17583
17584 2001-03-27  Juergen Vigna  <jug@sad.it>
17585
17586         * BufferView_pimpl.C: set the temporary cursor right!
17587
17588 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17589
17590         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17591
17592 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17593
17594         * LString.h: removed "using std::getline"!
17595
17596         * BufferView_pimpl.C (Dispatch): changes due to changes in
17597         InsetInclude::Params.
17598
17599         * buffer.C (tag_name): removed redundant break statements as they were
17600         producing lots of warnings with my compiler.
17601
17602 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17603
17604         * LString.h: add "using std::getline" when using the real <string>.
17605
17606 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17607
17608         * buffer.C: removed bitset usage.
17609         PAR_TAG moved to an anonymous name space.
17610         (tag_name): new funtion, also in the anonymous namespace.
17611         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17612         (makeDocBookFile): clean code. Completed transition from string arrays
17613         to string vectors.
17614         (SimpleDocBookOnePar): code clean.
17615
17616 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17617
17618         * tabular.C: add some comments.
17619
17620 2001-03-22  Juergen Vigna  <jug@sad.it>
17621
17622         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17623         compatibility read a bit and fixed bug with minipage in different
17624         depth.
17625
17626 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17627
17628         * buffer.C (pop_tag): removed.
17629         (push_tag): removed.
17630         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17631         array replaced with vector. Added support for CDATA sections.
17632         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17633         at any nest level.
17634         (makeDocBookFile): XML conformant declaration of CDATA section,
17635         fixed bug related to <emphasis> in the first paragraph char.
17636         (sgmlOpenTag): exclude empty tags.
17637         (sgmlCloseTag): ditto.
17638
17639         * buffer.h (pop_tag): removed.
17640         (push_tag): removed.
17641
17642 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17643
17644         * language.h (Languages): added size_type and size().
17645
17646 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17647
17648         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17649         response on compability reading of minipages. One probliem is that
17650         the old usage of minipages was flertydig
17651
17652         * several files here and in subdirs: don't use static at file
17653         scope use anon namespaces instead.
17654
17655 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17656
17657         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17658         LaTeX output. This is necessary for Literate document
17659         processing.
17660
17661 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17662
17663         * buffer.C: insert hfill when needed.
17664
17665         * tabular.C (l_getline): use string::erase, small whitespace change.
17666
17667         * BufferView_pimpl.C: try the anon namespace.
17668         * WorkArea.C: ditto
17669
17670 2001-03-16  Juergen Vigna  <jug@sad.it>
17671
17672         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17673         otherwise it won't open options-dialogs.
17674
17675         * buffer.C: honor pextraWidth(p) on converting minipages.
17676
17677         * tabular.C (l_getline): changed the functions to strip trailing \r.
17678
17679 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17680
17681         * BufferView_pimpl.C:
17682         * minibuffer..C: added "using SigC::slot" declaration.
17683
17684 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17685
17686         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17687
17688         * text2.C: ditto
17689
17690         * text.C: ditto
17691
17692         * paragraph.C: ditto
17693
17694         * lyxtext.h: NO_PEXTRA
17695
17696         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17697
17698         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17699         * ParameterStruct.h: ditto
17700         * ParagraphParameters.h: ditto
17701         * lyxparagraph.h: ditto
17702
17703 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17704
17705         * buffer.C: add compability for minipage alignment.
17706         (latexParagraphs): remove unwanted pextra check.
17707
17708         * several files: remove CXX_WORKING_NAMESPACES
17709
17710         * buffer.C (pop_tag): tie is in namespace boost
17711
17712         * BufferView.h: noncopyable is in namespace boost
17713         * lyxlex.h: ditto
17714         * lyx_main.h: ditto
17715         * lyx_gui.h: ditto
17716         * layout.h: ditto
17717         * lastfiles.h: ditto
17718         * bufferlist.h: ditto
17719         * ShareContainer.h: ditto
17720         * LyXView.h: ditto
17721         * LyXAction.h: ditto
17722         * LaTeX.h: ditto
17723
17724 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17725
17726         * Merging changes from BRANCH_MVC back into HEAD.
17727
17728         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17729
17730 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17731
17732         * BufferView_pimpl.C: change from intl.C
17733
17734         * combox.h:
17735         * combox.C:
17736         * Makefile.am: move combox.*
17737
17738         * form1.h:
17739         * form1.C:
17740         * lyx_gui.C:
17741         * intl.h:
17742         * intl.C: remove dialog (covered by prefs)
17743
17744 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17745
17746         * lyxfunc.C (Dispatch): removed redundant break statement.
17747
17748 2001-03-14  Juergen Vigna  <jug@sad.it>
17749
17750         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17751
17752 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17753
17754         * buffer.C: add hack to fix compability reading of minipages.
17755
17756 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17757
17758         * buffer.C (getLists): Cleanup.
17759
17760 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17761
17762         * lyxfont.C (update): don't honor toggleall on font size.
17763
17764 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17765
17766         * bmtable.c:
17767         * bmtable.h:
17768         * Makefile.am: moved to frontends/xforms/
17769
17770         * lyx_gui_misc.C:
17771         * lyxfunc.C:
17772         * BufferView_pimpl.C: changes for moved mathpanel
17773
17774 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17775
17776         * gettext.h: fix gettext_init() in --disable-nls
17777
17778 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17779
17780         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17781
17782 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17783
17784         * lyx.C:
17785         * lyx.h: strip external form
17786
17787 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17788
17789         * BufferView_pimpl.C: add comment, destroySplash()
17790
17791 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17792
17793         * BufferView_pimpl.C:
17794         * LyXAction.C:
17795         * buffer.C:
17796         * commandtags.h:
17797         * lyxfunc.C: use re-worked insetinclude
17798
17799 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17800
17801         * buffer.C: add using std::stringstream.
17802
17803         * lyx_cb.C: readd using std::ios.
17804
17805         * buffer.C: add using std::map.
17806
17807         * BufferView_pimpl.C: add using std::vector.
17808
17809         * ShareContainer.h: add std:: to swap.
17810
17811         * buffer.h: add some typedefs
17812         * buffer.C (getLists): use them
17813         (getLists): renamed from getTocList.
17814         add a counter for the different float types and use it in the
17815         generated string.
17816         (getLists): use the same counter for the NEW_INSETS and the "non"
17817         NEW_INSETS
17818
17819         * lyx_cb.h: remove unused items, includes, using etc.
17820
17821         * ShareContainer.h: remove some commented code, add more comments
17822         and "documentation".
17823
17824 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17825
17826         * buffer.C (getTocList): make the list also when NEW_INSETS is
17827         defined.
17828
17829         * buffer.h: remove TocType
17830
17831         * buffer.C (getTocList): change to return a map<string,
17832         vector<TocItem> >, implement for dynamic number of list.
17833
17834         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17835         * text2.C (PasteSelection): adjust
17836         * CutAndPaste.C (pasteSelection): adjust
17837
17838         * FloatList.C (FloatList): update from the new_insets branch.
17839         * Floating.[Ch]: ditto
17840         * LaTeXFeatures.C: ditto
17841         * buffer.C: ditto
17842         * lyxlex_pimpl.C: ditto
17843
17844         * paragraph.C (Last): remove when NEW_INSETS is defined.
17845
17846         * other file: changes because of the above.
17847
17848 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17849
17850         * lyxparagraph.h: rename next to next_, previous to previous_,
17851         make them private for NEW_INSETS. Rename Next() to next(),
17852         Previous() to previous().
17853
17854         * other files: changes because of the above.
17855
17856 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17857
17858         * BufferView.h:
17859         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17860         problem.
17861
17862 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17863
17864         * main.C (main): pass lyx_localedir to gettext_init().
17865
17866         * gettext.h: remove locale_init and gettext_init macros
17867
17868         * gettext.C (locale_init): new function
17869         (gettext_init): new function
17870
17871         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17872         setlocale().
17873
17874 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17875
17876         * Moved credits to frontends:
17877         * credits.[Ch]: removed
17878         * credits_form.[Ch]: removed
17879         * lyx_gui_misc.C: remove credits stuff
17880         * Makefile.am:
17881
17882 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17883
17884         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17885
17886         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17887         unneeded destructor.
17888
17889         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17890         a standalone pointer again.
17891
17892         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17893
17894 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17895
17896         * Makefile.am:
17897         * filedlg.h:
17898         * filedlg.C:
17899         * LyXAction.C:
17900         * ToolbarDefaults.C:
17901         * bufferlist.C:
17902         * commandtags.h:
17903         * form1.C:
17904         * form1.h:
17905         * lyx_cb.C:
17906         * lyx_cb.h:
17907         * lyxfunc.h:
17908         * lyxfunc.C:
17909         * BufferView_pimpl.C: use new file dialog in GUII
17910
17911         * lyx_cb.h:
17912         * lyx_cb.C: remove LayoutsCB to Toolbar
17913
17914 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17915
17916         * ShareContainer.h (get): add std:: qualifier
17917
17918 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17919
17920         * ShareContainer.h: define a proper ShareContainer::value_type
17921         type (and use typename to please compaq cxx)
17922
17923 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17924
17925         * lyxparagraph.h: move serveral local vars to
17926         ParameterStruct/ParagraphParameters., use ShareContainer in
17927         FontTable., make vars in FontTable private and add getter and
17928         setter.
17929
17930         * paragraph.C: changes because of the above.
17931
17932         * lyxfont.h: remove copy constructor and copy assignment. (the
17933         default ones is ok), move number inside FontBits. move inlines to
17934         lyxfont.C
17935
17936         * lyxfont.C: add number to initializaton of statics, move several
17937         inlines here. constify several local vars. some whitespace
17938         cleanup. Dont hide outerscope variables.
17939
17940         * Spacing.h: add two new constructors to match the set methods.
17941
17942         * ShareContainer.h: new file, will perhaps be moved to support
17943
17944         * ParameterStruct.h: new file
17945
17946         * ParagraphParameters.h: new file
17947
17948         * ParagraphParameters.C: new file
17949
17950         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17951         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17952
17953         * BufferView_pimpl.C: ParagraphParameter changes.
17954         * buffer.C: Likewise.
17955         * bufferview_funcs.C: Likewise.
17956         * text.C: Likewise.
17957         * text2.C: Likewise.
17958
17959 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17960
17961         * lyxfind.C (LyXReplace): do not redefine default argument in
17962         implementation.
17963         (IsStringInText): ditto
17964         (SearchForward): ditto
17965         (SearchBackward): ditto
17966
17967 2001-03-06  Juergen Vigna  <jug@sad.it>
17968
17969         * lyxfind.C (IsStringInText): put parentes around expressions.
17970
17971 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17972
17973         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17974
17975 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17976
17977         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17978
17979         * stl_string_fwd.h: add comment
17980
17981         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17982
17983         * tabular.h:
17984         * tabular.C: remove unused DocBook methods
17985
17986         * intl.C:
17987         * language.C:
17988         * paragraph.C:
17989         * buffer.C:
17990         killed DO_USE_DEFAULT_LANGUAGE
17991
17992 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17993
17994         * lyx_gui.C: do not include language.h.
17995
17996         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17997         arguments in function implementation.
17998
17999 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18000
18001         * BufferView_pimpl.C: add <ctime>
18002
18003 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18004
18005         * BufferView_pimpl.C: add using std::find_if
18006
18007 2001-02-27  José Matos  <jamatos@fep.up.pt>
18008
18009         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18010         by OnlyPath.
18011
18012 2001-02-11  José Matos  <jamatos@fep.up.pt>
18013
18014         * buffer.C (makeDocBookFile): command styles now have a parameter as
18015         "title" by default.
18016
18017 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18018
18019         * layout_forms.[Ch]: removed
18020         * lyx_cb.[Ch]: out character
18021         * lyx_gui.C: out character
18022         * lyx_gui_misc.C: out character
18023         * bufferview_funcs.C: : out character,
18024         added toggleall as parameter in ToggleAndShow
18025
18026 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18027
18028         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18029
18030         * text2.C (SetCurrentFont): Disable number property at boundary.
18031
18032 2001-02-26  Juergen Vigna  <jug@sad.it>
18033
18034         * lyxfunc.C (getStatus): added a string argument override function so
18035         that this is correctly called from LyXFunc::Dispatch if it contains a
18036         do_not_use_argument which is used!
18037         (Dispatch): added check for "custom" export and call appropriate func.
18038
18039 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18040
18041         * lyxrc.C: Add language_command_local, language_use_babel and
18042         language_global_options.
18043
18044         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18045
18046         * buffer.C (makeLaTeXFile): Use language_use_babel and
18047         language_global_options.
18048
18049 2001-02-23  Juergen Vigna  <jug@sad.it>
18050
18051         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18052         which works with LyXText and putted it inside BufferView. Here now we
18053         only call for that part the BufferView::Dispatch() function.
18054
18055         * BufferView.C (Dispatch): added.
18056
18057         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18058         functions which needs to use a LyXText over from LyXFunc.
18059         (MenuInsertLyXFile): added
18060         (getInsetByCode): added
18061         (moveCursorUpdate): added
18062         (static TEXT): added
18063
18064 2001-02-22  Juergen Vigna  <jug@sad.it>
18065
18066         * BufferView_pimpl.C (update): call a status update to see if LyXText
18067         needs it.
18068
18069 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18070
18071         * vc-backend.C (revert): implement for CVS
18072         (getLog): implement for CVS
18073
18074 2001-02-20  Juergen Vigna  <jug@sad.it>
18075
18076         * text2.C (ClearSelection): added BufferView param for inset_owner call
18077
18078         * lyxfunc.C (TEXT): added this function and use it instead of
18079         directly owner->view()-text of getLyXText().
18080
18081 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18082
18083         * src/layout_forms.C: out preamble
18084         * src/layout_forms.h: out preamble
18085         * src/lyx_cb.C: out preamble
18086         * src/lyx_cb.h: out preamble
18087         * src/lyx_gui.C: out preamble
18088         * src/lyx_gui_misc.C: out preamble
18089         * src/lyxfunc.C: connect with guii preamble
18090
18091 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18092
18093         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18094
18095 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18096
18097         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18098         whether to run bibtex.
18099
18100 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18101
18102         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18103
18104 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18105
18106         * Makefile.am (lyx_SOURCES): removed bibforms.h
18107
18108         * vspace.h: doxygen
18109
18110         * text.C (GetVisibleRow): make several local vars const
18111
18112         * tabular.C: small cleanup.
18113
18114         * lyxserver.C (callback): use compare instead of strncmp
18115
18116         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18117         inlines to after class or to paragraph.C
18118
18119         * lyxfont.h: remove friend operator!=
18120
18121         * converter.h: move friend bool operator< to non friend and after
18122         class def.
18123
18124         * combox.h: small cleanup
18125
18126         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18127         to inlines after class def.
18128
18129         * buffer.C (pop_tag): use string operations instead of strcmp
18130
18131         * bmtable.c: doxygen, small cleanup
18132
18133         * LaTeX.h: remove friend operator==
18134
18135 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18136
18137         * screen.C:
18138         * lyxrc.[Ch]:
18139         * lyxfunc.C:
18140         * lyxfont.[Ch]:
18141         * lyx_cb.C:
18142         * intl.[Ch]:
18143         * commandtags.h:
18144         * buffer.C:
18145         * WorkArea.[Ch]:
18146         * LyXAction.C:
18147         * BufferView_pimpl.C:
18148         * BufferView.[Ch]: remove cruft
18149
18150 2001-02-14  Juergen Vigna  <jug@sad.it>
18151
18152         * lyxfunc.C: removed #if 0 unused code
18153
18154         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18155
18156         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18157
18158         * text2.C (SetSelection): added a BufferView * parameter
18159
18160 2001-02-13  Juergen Vigna  <jug@sad.it>
18161
18162         * lyxfunc.C (Dispatch): fixed protected blank problem.
18163         * BufferView2.C (protectedBlank): added LyxText * parameter.
18164
18165         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18166         (AppendColumn): same as above for column_info.
18167
18168         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18169         (moveCursorUpdate): use a LyXText param for support of InsetText.
18170
18171         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18172         (tripleClick): ditto
18173
18174         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18175
18176         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18177
18178         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18179
18180         * text2.C (SetSelection): set correct update status if inset_owner
18181         (ToggleFree): ditto
18182
18183 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18184
18185         * tabular.C: remove some commented code.
18186
18187 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18188
18189         * BufferView_pimpl.C: call hideSplash()
18190
18191         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18192
18193         * include_form.h:
18194         * bibforms.h: remove
18195
18196         * lyxfunc.C:
18197         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18198           add LFUN_CHILD_CREATE
18199
18200         * counters.h: fix tiny typo
18201
18202         * lyx_cb.C:
18203         * lyx.h:
18204         * lyx_gui.C:
18205         * lyx.C: move splash to frontends/xforms/
18206
18207         * lyx_gui_misc.C: move Include and Bibform to frontends
18208
18209         * lyxvc.h: clarify comment
18210
18211         * vspace.C: tiny housekeeping
18212
18213 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18214
18215         * text.C (PrepareToPrint): RTL Fix.
18216
18217         * paragraph.C (GetUChar): New method.
18218         (String):  Use GetUChar.
18219
18220         * buffer.C (asciiParagraph): Use GetUChar.
18221
18222 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18223
18224         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18225
18226 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18227
18228         * buffer.h:
18229         * buffer.C: rename to getLogName(), handle
18230           build log / latex log nicely
18231
18232 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18233
18234         * MenuBackend.C:
18235         * MenuBackend.h: remove support for reference menuitem type.
18236
18237 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18238
18239         * BufferView_pimpl.C: housekeeping
18240         * BufferView_pimpl.h:
18241         * LyXView.h:
18242         * Makefile.am:
18243         * Timeout.C:
18244         * Timeout.h:
18245         * minibuffer.h: move Timeout GUI-I
18246
18247 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18248
18249         * lyxrc.C (read): Update converters data-structures.
18250
18251 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18252
18253         * LaTeX.h (operator!=): add operator != for Aux_Info
18254
18255 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18256
18257         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18258
18259         * LaTeXLog.C: deleted, useful code moved to Buffer
18260
18261         * buffer.h:
18262         * buffer.C: new function getLatexLogName()
18263
18264         * lyx_gui_misc.C:
18265         * lyx_gui.C:
18266         * lyxvc.C:
18267         * lyxvc.h:
18268         * lyxfunc.C: use frontends for LaTeX and VC logs
18269
18270 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18271
18272         * LaTeX.h: yet another std:: that Allan forgot.
18273
18274         * Variables.C (set): renamed from isset(), because this clashes
18275         with some HP-UX macros (grr).
18276
18277 2001-02-06  Allan Rae  <rae@lyx.org>
18278
18279         * LaTeX.h: Another bug fix.  Missing std:: this time.
18280
18281 2001-02-04  Allan Rae  <rae@lyx.org>
18282
18283         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18284         floats problem. I've left it commented out because it's not quite
18285         correct.  It should also test that the current object is a table or
18286         figure inset.  But I haven't gotten around to figuring out how to do
18287         that.  I *think* it'll be something like: "table" == inset.type()
18288
18289         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18290         bool.
18291
18292 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18293
18294         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18295         all the citation/databases/styles in the auxilary file.
18296         (run): Rerun latex if there was a babel language error.
18297
18298 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18299
18300         * text.C (Backspace): Preserve the font when changing newline char
18301         with a space.
18302         (BreakParagraph): If the cursor is before a space, delete the space.
18303
18304         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18305
18306 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18307
18308         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18309         new argument (code).
18310         (ChangeCitationsIfUnique): New method.
18311
18312         * paragraph.C (GetPositionOfInset): Handle bibkey.
18313
18314 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18315
18316         * BufferView_pimpl.h: change type of Position::par_pos to
18317         LyXParagraph::size_type.
18318
18319 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18320
18321         * BufferView_pimpl.C (savePosition, restorePosition): Write
18322         messages to minibuffer.
18323
18324 2001-01-28  José Matos  <jamatos@fep.up.pt>
18325
18326         * buffer.C (makeDocBookFile): adds support for document language.
18327         A silly restriction on the name of LatexCommand types where removed.
18328         Added support for CDATA sections, allows to chars unescaped, used
18329         among others in code, to avoid escape < and >.
18330
18331 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18332
18333         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18334         saved positions instrad of a stack. Furthermore, a position is
18335         stored using paragraph id/paragraph position.
18336
18337         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18338         Remove LFUN_REF_BACK.
18339
18340 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18341
18342         * converter.C (dvipdfm_options): New method.
18343
18344 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18345
18346         * vspace.C (isValidLength): Fix for empty input string.
18347
18348 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18349
18350         * LyXAction.C (init): change description of LFUN_FIGURE to
18351         "Insert Graphics"
18352
18353 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18354
18355         * LaTeX.C: add using directive
18356
18357 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18358
18359         * MenuBackend.C (expand): Fix the sorting of the formats.
18360
18361 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18362
18363         * lyx_main.C: tiny error message fix
18364
18365 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18366
18367         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18368         calling fl_initialize(). This fixes the problem with ',' as
18369         decimal separator in text files.
18370
18371 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18372
18373         * trans.C (process): Fix the keymap bug.
18374
18375 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18376
18377         * LaTeX.C (scanAuxFiles): New method. Provides support for
18378         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18379         (scanLogFile) Scan for "run BibTeX" messages.
18380
18381         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18382         OT1 font encoding. Also, load the aecompl package if the ae
18383         package is loaded.
18384
18385         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18386
18387 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18388
18389         * texrow.C (increasePos): turn two error messages into debug
18390         messages.
18391
18392 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18393
18394         * LaTeX.C (scanAux): Handle the \@input macro.
18395         (runBibTeX): Use scanAux().
18396
18397         * language.C (latex_options_): New field.
18398
18399         * LaTeXFeatures.C (getMacros): Add language macros.
18400
18401         * buffer.C (makeLaTeXFile): Small fix.
18402
18403 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18404
18405         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18406
18407         * text2.C: add a using directive.
18408
18409 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18410
18411         * BufferView2.C:
18412         * lyx_gui_misc.h:
18413         * lyxfr1.C:
18414         * lyxfunc.C: kill LyXBell.
18415
18416 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18417
18418         * text.C (IsBoundary): Remove the error message
18419
18420         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18421
18422         * lyxrc.C (setDefaults): Correct initialization value for
18423         font_norm_type.
18424
18425 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18426
18427         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18428         gotoError().
18429
18430         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18431         and GotoNextNote().
18432
18433         * src/LyXAction.C: Added reference-next.
18434
18435         * text.C (InsertChar): Use contains instead of strchr.
18436
18437         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18438
18439 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18440
18441         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18442         alignment commands (when needed).
18443
18444         * text.C (InsertChar): Add ':' to number separator chars.