]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix crash and localization on MinGW/Windows platform
[lyx.git] / src / ChangeLog
1 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
2
3         * messages.C: fix crash and localization on MinGW/Windows platform
4
5 2005-11-02  Angus Leeming  <leeming@lyx.org>
6
7         * Bidi.C:
8         * lyxtextclass.C: trivial fixes to some MSVS warnings.
9
10 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * text3.C (getStatus): re-enable disabled code. (bug 2081)
13
14         * BranchList.h (empty): constify.
15
16 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * text3.C (getStatus): 
19         * MenuBackend.C (expandBranches): take the branch list from the
20         master document (bug 2092).
21         
22         * MenuBackend.C (expandBranches): 
23         * bufferparams.C (writeFile): use BranchList type.
24
25 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * text3.C (dispatch, getStatus): 
28         * LyXAction.C (init): 
29         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
30
31 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
32
33         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
34
35 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * text.C (insertChar): do not reset boundary (bug 2061)
38
39 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * dociterator.C (updateInsets): new method. Updates the inset_
42         cache of all the slices of the iterator.
43
44         * text2.C (deleteEmptyParagraphMechanism): compare also containing
45         insets when comparing pit/pos; pass the right cursor to
46         recordUndo; when a paragraph has been deleted, compare `old.top()' to
47         the right cursor slice of `cur'; use updateInsets on cur to make
48         sure that the inset caches are correct; general cleanup.
49
50 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
53         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
54         containg inset. If this does not work, the same command will be
55         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
56
57         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
58         a dispatch.
59
60 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
61
62         * lyxtextclass.C (Read): convert layout file if the format is wrong
63         * lyxtextclass.C (layout2layout): new, needed for the above
64
65 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * messages.C: do not forget to include <cerrno>.
68
69 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
70
71         * dociterator.h (StableDocIterator): add access to pos().
72         * undo.C (samePar): new method to check if two
73         iterators are in the same paragraph
74         * undo.C (recordUndo): check for samePar instead of cell identity
75         (which includes pos() and is too strict) (fixes bug 2097)
76
77 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * text.C (setCursorFromCoordinates): return a bool telling whether
80         dEPM triggered.
81
82         * text3.C (cursorPrevious): update if needed after
83         setCursorFromCoordinates (when dEPM triggered).
84
85         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
86         (otherwise the anchor may be completely wrong and make dEPM assert).
87
88 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
89
90         * buffer.C: version upgrade to 245.
91         * bufferparams.C: remove \quotes_times (bug 2090).
92         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
93         quotation marks as default.
94
95 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * CutAndPaste.C (nrOfParagraphs): remove (unused)
98         * CutAndPaste.C (cutSelection): Remove debug message
99         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
100         undo information and only copy if this is a real cut
101         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
102         call
103         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
104         (bug 2059)
105         * CutAndPaste.C (eraseSelection): prevent cursor corruption
106         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
107         superflous cur.selection() setting
108         * CutAndPaste.[Ch] (grabSelection): take a const cursor
109         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
110
111 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
112
113         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
114         change anything.
115
116 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
117
118         * BufferView_pimpl.C: comment layout change
119
120 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
121
122         * LyXAction.C:
123         * lfuns.h:
124         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
125         by bibliography managers (bug 2071).
126
127 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
128
129         * BufferView_pimpl.C (update): choose arguments to update call so
130         that single-par update works most times
131         * text3.C (dispatch): carefully tune updating separately for
132         whole-screen and current-paragraph
133         * rowpainter.C (paintText): 1) replace painting by caching for
134         the two extra paragraphs, because we can;
135         2) suppress greying out of areas below/above drawn area in case of
136         single-par refresh
137         * lyxfunc.C (dispatch): remove superfluous update
138         * LyXAction.[Ch]: introduce SingleParUpdate
139
140 2005-10-05  Angus Leeming  <leeming@lyx.org>
141
142         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
143         always initialised before use.
144
145         * text.C (setHeightOfRow): squash warning about comparison
146         of signed and unsigned types.
147
148 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
149
150         * text.C (cursorX): two fixes involving RtL text drawing
151
152 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
155         items, not only large ones (part of bug 2057)
156
157 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
160         argument, use "newcommand".
161
162 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
163
164         * cursor.C (setSelection): do not open collapsable insets;
165         the insets do by themselves now (autoopen).
166
167 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
168
169         * buffer.C: format is up to 244.
170
171 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
172
173         * text.C (redoParagraph): fix calcultation of inset width wrt 
174         leftMargin (bug 1957).
175
176         * text3.C (dispatch): leave inset to the right when hitting ESC 
177         (bug 2034).
178
179 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * text2.C: 
182         * text.C: 
183         * factory.C:
184         * messages.C: include <boost/current_function.hpp> 
185
186 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
189         when command is internal. (bug 1941)
190
191 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * text2.C (cursorRight): do not honor boundary when at the end of
194         a paragraph. (bug 2010 again)
195
196 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
199
200 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
201
202         * rowpainter.C (paintText): fix RtL space width display bug (2029)
203
204 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * text2.C (setCursor): remove the unused 'boundary' parameter for
207         the CursorSlice version; adapt the LCursor version.
208
209         * lyxrc.C (write): 
210         * paragraph_pimpl.C (markErased): 
211         * cursor.C (bruteFind2, bruteFond3): fix warnings.
212
213 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
216         as is already done for "chapter".
217
218 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
221         textclass; do not record undo if nothing is changed.
222
223 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
224
225         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
226
227 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
228
229         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
230
231 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
234         combox, it is necessary to search for the topmost paragraph in the
235         cursor stack (bug 1926)
236
237 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
240         end of paragraph. (bug 2010)
241
242 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
243
244         * text.C (leftMargin): check for inInset == 0
245
246 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
247
248         * text.C (leftMargin): test for insetbase's new neverIndent()
249         bool instead of listing each and every inset that does not
250         wish par indendation.
251
252 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * buffer_funcs.C (setCounter): put the code to compute enum label
255         here (where it belongs).
256
257         * counters.C (enumLabel): move code to buffer_funcs.C.
258
259 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
260
261         * outputparams.[Ch]: store local_font instead of local_language
262         * paragraph.C (simpleTeXOnePar): adapt to the change above
263
264 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
265
266         * buffer_funcs.C:
267         * counters.[Ch]: clean up special code for Hebrew.
268
269 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
272         than 2.
273
274 2005-09-08  Angus Leeming  <leeming@lyx.org>
275
276         * ispell.C:
277         * lyxrc.C: correct grammar describing invocation of the
278         spellchecker.
279
280 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
281
282         * text.C (read): remove unused variable.
283         (readParToken): remove static Change variable (never good in
284         recursive settings...); add it as a parameter instead.
285
286         * paragraph_pimpl.C (acceptChange): make debug info conditional.
287
288         * metricsinfo.C (PainterInfo): add new member erased_.
289
290         * rowpainter.C (RowPainter): add erased_ member, initialized from
291         PainterInfo. 
292         (paintInset): pass erased_ to Inset::draw.
293
294         * lyxfunc.C (lookupChange): new function. Tells whether change 
295         tracking is disabled at a given postion.
296         (getStatus): disable some actions when in deleted text with change
297         tracking. 
298
299 2005-08-03  John Levon  <levon@movementarian.org>
300         
301         * tabular.C (appendColumn, setMultiColumn): adapt to change to
302         InsetText::clear().
303
304         * paragraph_pimpl.C (markErased): add bool argument and handle it.
305         Also make sure to mark insets recursively.
306         (rejectChange, erase): be recursive
307
308         * paragraph.C (markErased): add bool argument.
309 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * lyxfind.C (findNextChange): tiny cleanup.
312
313         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
314         change tracking with the cursor in an inset; make sure the first
315         change is not skipped.
316
317 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
318
319         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
320         tabularStackDirty to work around bug 1919 (tabular needs
321         to know whether its own cell paste buffer or the one of 
322         texted is newer.
323         * CutAndPaste.C: mark tabular_stack_ clean after copy.
324
325 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
326
327         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
328
329 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
330
331         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
332         use old deleteion algorithm when changetracking is on.
333
334 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * messages.C (get): add debug output.
337
338 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * text.C (cursorX): fix bug 1965: cursor movement at
341         line end broken in RtL.
342         (drawSelection): fix bug 1970: drawing of single-line 
343         selection broken for RtL.
344
345 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
346
347         bug 465.
348
349         * dociterator.h (clear, push_back, pop_back): change from
350         protected to public.
351
352         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
353         and changed to just return the value of the item depth; take a
354         ParIterator as argument; take the itemdepth at outer nesting level
355         in account if necessary; cleanup and comment the code.
356         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
357         and changed to just return true if reset is needed; take a
358         ParIterator as argument; cleanup and comment the code.
359         (setCounter): adapt to above changes.
360
361 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
362
363         * text3.C (dispatch): make debug message optional
364
365 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
368         inset. (bug 1963)
369
370 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
371
372         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
373
374 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
375
376         * text.C (insertChar):
377         * text2.C (deleteEmptyParagraphMechanism): take care whether 
378         a blank has been deleted (in change tracking mode) (bug 1254).
379
380 2005-07-20  John Levon  <levon@movementarian.org>
381
382         * text2.C (insertStringAsLines): remove old dubious code,
383         fixing bug 1939.
384
385 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
386
387         * MenuBackend.C (expandToc): use Floating::listName() as title of
388         the floats submenus.
389
390 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
391
392         * toc.[Ch]: Do not use translatable strings (bug 1870).
393
394 2005-07-20  John Levon  <levon@movementarian.org>
395
396         * tabular.C: fix 1748 - setting multicolumn adds
397           left line to the first cell
398
399 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
400
401         bug 1920
402         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
403         pars in one go.
404
405 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
406
407         * messages.C: supress some lyxerr messages
408
409 2005-07-18  Juergen Vigna  <jug@lyx.org>
410
411         * text.C (drawSelection): honor boundary when asking for cursorX.
412
413 2005-07-17  José Matos  <jamatos@fc.up.pt>
414
415         * tabular.C (recalculateMulticolumns): fix handling of one column
416         tables.
417
418 2005-07-17  Juergen Vigna  <jug@lyx.org>
419
420         * text.C (Delete, backspace): fixed so that paragraph with the
421         same layout can be merged by Delete/Backspace.
422
423 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
424
425         * text.C (readParToken): fix spelling.
426
427 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
428
429         * text2.C: fix counter update for DEPM problem reported by
430         Georg Baum
431
432 2005-07-17  Juergen Vigna  <jug@lyx.org>
433
434         * BufferView_pimpl.C (setBuffer): save/restore the
435         cursor/selection when switching buffers
436
437         * buffer.h: 
438         * buffer.C (saveCursor): add saveDocumentIterators to save the
439         cursor when switching buffer.
440
441 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
442
443         * debug.C: fix typo
444         * buffer.C: clarify message
445         
446 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
447
448         * dociterator.C (DocIterator): fix initialization order
449
450 2005-07-17  Juergen Vigna  <jug@lyx.org>
451
452         * text2.C (cursorHome): 
453         * text.C (drawSelection, cursorX): 
454         * dociterator.C (textRow): add boundary to getRow() call
455
456         * paragraph.C (getRow): implementation of below
457
458         * paragraph.h: add parameter boundary for getRow() function
459
460 2005-07-17  José Matos  <jamatos@fc.up.pt>
461
462         * buffer.C:
463         * bufferparams.[Ch]:
464         * tex-strings.[Ch]: new file format, remove support for a4.sty,
465         a4wide.sty and a4widemargins.
466
467 2005-07-17  Juergen Vigna  <jug@lyx.org>
468
469         * text2.C (cursorLeft): fix one of error
470
471 2005-07-17  Juergen Vigna  <jug@lyx.org>
472
473         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
474                    cursorEnd):
475         more fixes for boundary handling
476
477         * text3.C (dispatch): don't reset cursor if boundary has changed
478         on cursor movement.
479
480 2005-07-16  Juergen Vigna  <jug@lyx.org>
481
482         * text2.C (getColumnNearX): hopefully got it right now,
483         check if we are on column 0 for special case.
484
485 2005-07-16  Juergen Vigna  <jug@lyx.org>
486
487         * text2.C (getColumnNearX): handle special case Newline Inset
488
489         * text.C (singleWidth): Just remove bogus check
490
491 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
492
493         * funcrequest.C (split): avoid reading uninitialized char c
494
495 2005-07-16  José Matos  <jamatos@fc.up.pt>
496
497         * buffer.C:
498         * converter.C:
499         * lyxrc.C:
500         * paper.h:
501         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
502         single papersize variable.
503
504 2005-07-16  Juergen Vigna  <jug@lyx.org>
505
506         * text3.C (dispatch): honor boundary when checking if a cursor
507         movement has been done
508
509         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
510         (setCursor, setCursorIntern): fix cursor movement with boundary
511
512 2005-07-16  Juergen Vigna  <jug@lyx.org>
513
514         * text.C (currentState): output the actual Boundary
515
516 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         * factory.C (createInset): fix bad logic for tabular creation
519
520 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
521
522         * lyx_main.C (init): change some reLyX reference to tex2lyx
523
524 2005-07-16  Juergen Vigna  <jug@lyx.org>
525
526         * dociterator.C (DocIterator): initialize boundary
527
528 2005-07-16  Juergen Vigna  <jug@lyx.org>
529
530         * text2.C (getColumnNearX): Consider rows without trailing blank.  
531
532 2005-07-16  André Pönitz  <poenitz@gmx.net>
533
534         * lyxfont.h: Change order of declarations to give the compiler
535         a better chance to inline things
536
537         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
538         questions on unsaved docs for better scritability
539
540 2005-07-16  André Pönitz  <poenitz@gmx.net>
541
542         * paragraph.h (getChar): remove asserts as the same kind of security
543         can be achieved by using a suitable standard library implementation
544         and the function was in the critical path (25.9% in profiler)
545
546 2005-07-16  Juergen Vigna  <jug@lyx.org>
547
548         * cursor.C (bruteFind2):
549         * bufferview_funcs.C (coordOffset): 
550         * text.C (cursorX,cursorY): Handle cursor position after last char
551         in row before a inset which uses a whole row.
552
553 2005-07-15  José Matos <jamatos@lyx.org>
554
555         * output_plaintext.[Ch] (writeFileAscii): control reference title
556         printing.
557         (asciiParagraph): noparbreak was already deal and was incorrectly
558         used.
559
560 2005-07-15  Juergen Vigna <jug@lyx.org>
561
562         * lyxfunc.C (dispatch): save and restore the cursor after a
563         textclass switch.
564
565 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
566
567         * text.C (backspace): bug 806 for empty keepempty paragraphs we
568         change the layout to default before letting DEPM do its thing.
569
570         * paragraph_funcs.C (breakParagraph): dont reset the layout on
571         keepEmpty paragraphs
572
573         * text.C (setCursorFromCoordinates): add a debug statement
574
575         * text2.C (getColumnNearX): bug 1825 make sure that we don't
576         return a pos that is not on the row
577
578         * output_latex.C (TeXDeeper): get rid of potential dereferencing
579         of past the end iterator
580
581 2005-07-14  André Pönitz  <poenitz@gmx.net>
582
583         * undo.C (recordUndoFullBuffer): implement undo for
584         textclass switches
585
586 2005-07-14  André Pönitz  <poenitz@gmx.net>
587
588         * cursor.C (setSelection): open insets when selection is set there
589         to avoid crashs with cold coord cache
590
591 2005-07-14  André Pönitz  <poenitz@gmx.net>
592
593         * trans_mgr.C (insert): move cursor to the right after inserting
594         a char.
595
596 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
597
598         * BufferView_pimpl.C (update): dampen some of the debug blabbering
599         * factory.C (readInset): ditto
600         * text.C, text2.C: ditto
601
602 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
603
604         * buffer.C: format incremented to 242. There is no file format per
605         se, but the "frenchb" language has been removed from lib/language
606         and has to be translated to "french" by lyx2lyx.
607
608 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
609
610         * cursor_slice.h, dociterator.h: add some documentation
611         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
612
613 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
614
615         * text.C (leftMargin): do not add identation to display() style
616         insets, because they are always centered (bug 1293).
617
618 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
619
620         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
621         formatted_time methods in support/lyxtime.
622
623 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
624
625         * toc.[Ch]: new method getGuiName, which is used by the frontends 
626         to set the toc combo (fixes bug 1870). Make TOC string translatable.
627
628 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
629
630         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
631         StableDocIterator const &)
632         * undo.C (recordUndo): use the above instead of cell.size() comparison
633         (fixes bug 1808; instructed by Andr�.
634
635 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
636
637         * cursor_slice.h: 
638         * dociterator.h: Fix the assert when copying rows/cols in math
639
640 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
641
642         * BufferView_pimpl.C:
643         * LyXAction.C:
644         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
645
646         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
647         (findInset): new functions, refactored from goto Inset that return 
648         the position of a certain inset without setting the buffer's cursor
649         (by Jean-Marc); 
650         (gotoInset): rewrite to call findInset and then set the cursor
651         (by Jean-Marc).
652
653 2005-06-16  Angus Leeming  <leeming@lyx.org>
654
655         * lyxrc.C (output, read): wrap all input and output of paths with
656         calls to os::internal_path and os::external_path, respectively.
657         (output): wrap bind_file inside quotes.
658
659         * format.C (view): enable the viewer to use the '$$s' placeholder.
660
661 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
662
663         * LColor.[Ch] (getFromLaTeXName): new
664
665 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
666
667         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
668
669 2005-06-14  Angus Leeming  <leeming@lyx.org>
670
671         * lyx_main.C (init): ensure that the LyX binary dir is the first
672         element in the PATH on non-POSIX builds.
673
674 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
675
676         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
677
678 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * rowpainter.C (paintInset, paintHebrewComposeChar)
681         (paintArabicComposeChar, paintChars): add a LyXFont argument.
682         (paintChars): use getFontSpan to reduce calls to getFont to a
683         minimum; use Paragraph::lookupChange instead of isXXXText.
684         (paintForeignMark): rename LyXFont argument.
685         (paintFromPos): pass a LyXFont object to the various paintXXX
686         methods.
687
688         * FontIterator.C (FontIterator, operator++): use
689         Paragraph::getFontSpan
690
691         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
692         version that returns the font span as a pair.
693
694 2005-06-09  Angus Leeming  <leeming@lyx.org>
695
696         * converter.C (convert): Don't forget "outfile = real_outfile" as
697         the final step in a conversion where the input and output file names
698         are the same. Otherwise, future conversion steps won't work...
699
700 2005-06-09  Angus Leeming  <leeming@lyx.org>
701
702         * lyxsocket.C: remove stub code as it isn't needed by
703         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
704
705 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
706
707         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
708         effectively disabled -x
709
710 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
711
712         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
713         when it actually makes sense.
714
715 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
716
717         * BufferView_pimpl.C: revert to showCursor in connection with
718         Lars's front-end stack
719
720 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
721
722         * text.C (redoParagraph): move cursor right after a bibitem
723         has been inserted.
724
725         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
726
727 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
728
729         * buffer_funcs.C (bufferErrors): fix computation of the end of an
730         error range.
731
732 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
733
734         * BufferView.[Ch] (update):
735         * BufferView_pimpl.[Ch] (update, metrics):
736         * dimension.h (operator==):
737         * lyxfunc.C (dispatch):
738         * metricsinfo.h (ViewMetricsInfo):
739         * rowpainter.C (paintText):
740         * lyxtext.h:
741         * text.C (redoParagraph):
742         * text3.C (dispatch): Make LyX only repaint current paragraph in
743         case of character insert --> speedup. Also fix cursor draw
744         artifacts
745
746 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
749         avoid a crash (bug 1891)
750
751 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         Fix bug 1892:
754
755         * text2.C (getStringToIndex): constify cur argument.
756
757         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
758         argument has been given
759         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
760         try to invoke LFUN_INSET_APPLY).
761
762         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
763         if no inset was created by doInsertInset
764         (doInsertInset): return true if an inset has been inserted.
765
766 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         * vspace.C (asGUIName): new method. A version of the space
769         suitable for showing on screen.
770
771 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
772
773         * MenuBackend.C:
774         * lyxrc.C: rename "ASCII" to "Plain Text"
775
776 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
777
778         * buffer_funcs.C (expandLabel): take a Buffer as argument;
779         translate the labelstring.
780         (setCounter): translate labelstring as needed.
781
782         * output_docbook.C (makeCommand): fix expandLabel invokation
783
784 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
785
786         * BufferView.C: fix dialog title
787
788 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
789
790         * lyx_main.C (priv_exec): fix logic error with help from Angus
791         * lyx_main.C (parse_execute): set is_gui = false and remove now
792         obsolete comment about a segfault
793
794 2005-05-18  Angus Leeming  <leeming@lyx.org>
795
796         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
797
798 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
799
800         * tabular.[hC]: added setCellInset to fix tabular paste.
801
802 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
803
804         * buffer.C (save): check if destination is writable before trying
805         to copy a file
806
807 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
808
809         * BufferView_pimpl.C (update): fix processEvents -caused update
810         recursion bug
811
812 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * buffer_funcs.C (setCounter): fix test for numbering of
815         environments.
816
817         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
818         depth correctly; use optional argument when it exists
819
820         * lyxtextclass.C: remove unused MaxCounterTags enum
821         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
822         (max_toclevel, min_toclevel): new methods.
823
824         * MenuBackend.C (expandToc2): fix case where depth is smaller than
825         the smallest depth in toc.
826
827         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
828         layouts that should not appear in a table of contents.
829
830 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
831
832         * cursor.h (undispatched, noUpdate): add comments from Andr�
833 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
834
835         * lfuns.h:
836         * LyXAction.C:
837         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
838
839 2005-05-07  André Pönitz  <poenitz@gmx.net>
840
841         * cursor.[Ch] (leaveInset): new function
842
843 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
844
845         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
846
847 2005-05-04  Angus Leeming  <leeming@lyx.org>
848
849         * lyxfunc.C (getStatus): disable the spell checker dialog if
850         none of USE_[AIP]SPELL are defined.
851
852 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
853
854         * tabular.C (setWidthOfCell): remove obsolete comment
855
856 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
857
858         * paragraph.C (bibitem):
859         * buffer_funcs.C (setCounter):
860         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
861
862 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
863
864         * text3.C (getStatus): immediately return after setOnOff
865
866         * rowpainter.C: fix drawing of appendix start
867
868 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
869
870         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
871         SwitchBetweenClasses and remove the unused return value.
872         Handle character styles, too
873
874 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
875
876         * factory.C (createInset): handle undefined character styles
877
878 2005-05-02  Angus Leeming  <leeming@lyx.org>
879
880         * buffer.C: protect the #include of utime.h with a preprocessor
881         guard.
882
883 2005-05-02  Angus Leeming  <leeming@lyx.org>
884
885         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
886         function so that auto-saving works, albeit in a blocking manner.
887
888         * Makefile.am: make compilation of the client sub directory, of
889         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
890         on conditionals set at configure time.
891
892         * SpellBase.[Ch]: no longer an abstract base class. Instead,
893         it can be compiled in its own right but has no-op functionality.
894
895         * aspell.C, pspell.C: remove preprocessor guards. The files should
896         be compiled only if the necessary functionality exists.
897
898         * lyxserver.C, lyxsocket.C: disable on Windows.
899
900 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
901
902         * text.C (leftMargin): Fix the parindent use bug (1764)
903         by dirty trick
904
905 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
906
907         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
908         argument.
909
910 2005-04-25  Angus Leeming  <leeming@lyx.org>
911
912         * Bidi.[Ch]:
913         * coordcache.[Ch]:
914         * ispell.C:
915         * lyxserver.C:
916         * mover.C:
917         * pch.h:
918         include <config.h> in .C files, not .h ones.
919         add licence blurb.
920         protect headers inside preprocessor guards.
921
922 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
923
924         * FuncStatus.h (StatusCodes): document
925
926 2005-04-21  André Pönitz  <poenitz@gmx.net>
927
928         * FuncStatus.h (enabled, onoff): document
929
930 2005-04-19  Angus Leeming  <leeming@lyx.org>
931
932         * BufferView_pimpl.C (cursorToggle): no longer test whether
933         any child processes have been reaped before calling
934         handleCompletedProcesses().
935
936 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
937
938         * text3.C (dispatch): fix, finally fix, the language problem in
939         new lyxtexts, without disabling on-the-fly font changes (Helge's
940         bug report)
941
942 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
943
944         * text3.C (dispatch): set cursor on double/triple click events
945         (bug 1811)
946
947 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
948
949         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
950         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
951
952         * rowpainter.C (paintFirst): simplify the code a little bit. In
953         particular, remove the test for secnumdepth.
954         * text.C (setHeightOfRow): only allocate space for chapter number
955         when updateCounters provided an actual label, instead of looking
956         at secnumdepth directly.
957
958         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
959
960         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
961         paragraphs when secnumdepth is large enough or, for environments,
962         when they are not the first in a sequence.
963
964 2005-04-17  Angus Leeming  <leeming@lyx.org>
965
966         * buffer.C (makeLaTeXFile): replace code to manipulate a path
967         containing space and '~' characters with a call to latex_path().
968
969 2005-04-17  Angus Leeming  <leeming@lyx.org>
970
971         * converter.C (convert): protect all args of convertDefault.sh
972         script with quotes.
973
974 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
975
976         * text3.C (dispatch): change the layout to "Caption" after inserting
977         a float.
978
979 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
980
981         * text3.C (dispatch): fix language problem in newly created
982         textinsets (and main text) in non-english docs
983
984 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
985
986         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
987         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
988         * text3.C (getStatus): disable LFUN_INSET_MODIFY
989
990 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
991
992         * lyxtext.h:
993         * text.C (metrics):
994         * text2.C (getFont):
995         * rowpainter.C (getFont): Fix metrics bug introduced by inset
996         fonts fix
997
998 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
999
1000         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1001         output of \item arguments without trailing text.
1002
1003 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1004
1005         * FontIterator.C (operator*): avoid a copy of the font.
1006
1007 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * rowpainter.C (getFont): fix language bug from previous fix
1010
1011 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1012
1013         * rowpainter.C (RowPainter, getFont): fix font inside inset
1014         (bugs 1766, 1809)
1015
1016 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1017
1018         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1019         preventing inserted font, deco, delim insets jumping to start of
1020         surrounding inset.
1021
1022 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1023
1024         * lyxfunc.C (dispatch): translate message before sending it to the
1025         minibuffer.
1026
1027 2005-03-29  Angus Leeming  <leeming@lyx.org>
1028
1029         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1030         to LyX on the command line.
1031
1032 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1033
1034         * vc-backend.C: use QuoteName to protect file names wherever
1035         necessary.
1036
1037 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1038
1039         * buffer.[Ch]:
1040         * BranchList.h: fix bugs 1844,1845: document settings don't
1041         stick
1042
1043 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1044
1045         * lyxrc.C (setDefaults, read, output, getDescription): add support
1046         for tex_allows_spaces.
1047
1048         * exporter.C (Export): allows files in directory containing spaces
1049         if tex_allows_spaces is true.
1050
1051         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1052         output it in double quotes.
1053
1054 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1055
1056         * rowpainter.C: use default text height for drawing change tracker
1057         strikeout lines.
1058
1059 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1060
1061         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1062
1063 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1064
1065         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1066         directory is missing.
1067
1068 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1069
1070         * text2.C: fixed the fix, extended to other case.
1071
1072 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1073
1074         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1075
1076 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1077
1078         * text2.C (cursorUp): get rid of a crash
1079         * text.C (x2pos): add an assert
1080
1081 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1082
1083         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1084
1085         * text3.C:
1086         * lyxfunc.C:
1087         * dociterator.C: include <boost/current_function.hpp>, which is
1088         needed when assertions are disabled.
1089
1090 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1091
1092         * text2.C: fix for stuck cursor when traversing two
1093         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1094
1095 2005-02-25  Andreas Vox  <avox@arcor.de>
1096
1097         * output_docbook.C (makeParagraph): suppress trailing newline
1098         after a run of paragraphs
1099
1100 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1101
1102         * paragraph.C: fix for confused change tracker when pasting
1103         text that begins with a lineseparator. [bug 1827]
1104         (setChange(0, Change::INSERTED);)
1105
1106         * paragraph_funcs.C: fix for lost changes on triple-paste
1107         in change tracking mode [bug 1827] (par.setChange()).
1108
1109 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1110
1111         * text2.C (updateCounters, setCounter, expandLabel): move to
1112         buffer_funcs.
1113
1114         * buffer_funcs.C (updateCounters): turn into a free standing
1115         function and add a buffer parameter. Remove dead code for tracking
1116         labelstring change.
1117         (setCounter): change into a free-standing function which gets a
1118         dociterator as argument. Use this iterator to fix captions in a
1119         simple way. When no float is found above the caption, use the
1120         labelstring of the caption layout as default.
1121
1122         * text.C (breakParagraph, backspace):
1123         * text2.C (init, setLayout, changeDepth):
1124         * text3.C (dispatch):
1125         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1126         updateCounters.
1127
1128         * dociterator.C (forwardPar): make it much faster by calling
1129         forwardPos() only when really necessary.
1130
1131         * output_docbook.C (makeCommand): adapt to expandLabel move.
1132
1133         * cursor.C: remove unused variable
1134
1135 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1136
1137         * paragraph_funcs.C: fix crash when pasting insets in change
1138         tracking mode [bug 1277] (honour change type in moveItem).
1139
1140 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1141
1142         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1143
1144 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * BufferView.C (setCursor): change to use a DocIterator.
1147         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1148         (putSelectionAt): adapt to BufferView::setCursor change.
1149
1150         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1151         moved here from LyXText and rewritten to use proper cursor
1152         methods. Fixes bug 1787, 616 and 835.
1153
1154         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1155         when inside an inset (part of bug 781).
1156         (dispatch): adapt to change of BufferView::setCursor.
1157         (getStatus, dispatch): handle LFUN_GOTOERROR,
1158         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1159
1160         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1161         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1162         * text3.C (gotoNextInset, gotoInset): removed.
1163
1164 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1165
1166         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1167
1168 2005-02-15  Angus Leeming  <leeming@lyx.org>
1169
1170         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1171         can be used meaningfully in a comparison.
1172
1173 2005-02-13  André Pönitz  <poenitz@gmx.net>
1174
1175         * bufferview_funcs.C (coordOffset): improve cursor drawing
1176
1177 2005-02-13  André Pönitz  <poenitz@gmx.net>
1178
1179         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1180         * Cursor.C (dispatch): use fixIfBroken
1181         * lyxfunc.C (getStatus): use fixIfBroken
1182
1183 2005-02-15  Angus Leeming  <leeming@lyx.org>
1184
1185         * lyx_main.C (error_handler):
1186         * lyxfunc.C:
1187         * lyxrc.C (setDefaults):
1188         s/GetEnv/getEnv/.
1189         #include "environment.h".
1190
1191         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1192
1193 2005-02-15  Angus Leeming  <leeming@lyx.org>
1194
1195         * lyxserver.C (startPipe): squash MSVC warning "local variable
1196         'fd' used without having been initialized".
1197
1198 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1199
1200         * BufferView_pimpl.C: revert accidental commit.
1201
1202 2005-02-14  André Pönitz  <poenitz@gmx.net>
1203
1204         * dociterator.[Ch]: new member forwardPosNoDescent(),
1205         which doesn't enter nested insets.
1206         * text2.C (setFont): use forwardPosNoDescent() instead
1207         of ForwardPos() (fixes crash on font change).
1208
1209 2005-02-13  Angus Leeming  <leeming@lyx.org>
1210
1211         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1212         only if lyxrc.path_prefix is not empty.
1213
1214 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1215
1216         * bufferparams.C (readGraphicsDriver): prevent crash
1217
1218 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1219
1220         * text2.C (setCounter): check for inInset() == 0
1221
1222 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1223
1224         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1225         but use update() to get correct screen display; use convert
1226         instead of istringstream.
1227         (getStatus): handle LFUN_GOTO_PARAGRAPH
1228
1229         * lyxfunc.C (dispatch, getStatus): do not handle
1230         LFUN_GOTO_PARAGRAPH here.
1231
1232 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1233
1234         * text3.C (dispatch): size() -> depth()
1235
1236         * text2.C: remove some debug output
1237
1238         * paragraph.C: ws changes only
1239
1240         * lyxfunc.C (getStatus): size() -> depth()
1241
1242         * dociterator.h (clear, push_back, pop_back, internalData,
1243         operator[], resize, empty): new functions
1244         Make StableDocIterator and operator== be friends. Don't inherit
1245         from std::vector use a privat class variable slices_ instead.
1246         Modify to fit.
1247
1248         * dociterator.C: update because of not inheriting from std::vector
1249         anymore. Call explictly to slices_ instead. Use depth() instead of
1250         size() and top() instead of back()
1251
1252         * cursor.C: chagne size() -> depth and back() -> top(). Also
1253         remove some direct operator[](i) calls in favour of foo[i]
1254         (getFont): remove some dead code
1255
1256         * bufferview_funcs.C (coordOffset): size() -> depth()
1257
1258         * buffer.C: ws changes only
1259
1260         * CutAndPaste.C (eraseSelection): back() -> top()
1261
1262         * BufferView_pimpl.C (selectionRequested): back() -> top()
1263
1264         * BufferView.C (setCursor): size() -> depth()
1265
1266 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1267
1268         * text3.C (cursorPrevious): return true if depm changed something
1269         (cursorNext): ditto
1270         (dispatch): rename sl to oldTopSlice, remove moving use the new
1271         NoUpdate func attrib instead. Make sure that needsUpdate is set
1272         for function that have NoUpdate, but where depm might have changed
1273         the buffer anyway.
1274
1275         * text2.C (cursorLeft): make us return true if depm changed
1276         something
1277         (cursorRight): ditto
1278         (cursorUpParagraph): ditto
1279         (curosrDownParagraph): ditto
1280         (cursorUp, cursorDown): ditto, make sure to read comments in code
1281         (deleteEmptyParagraphMechanism): remove an assert, also return
1282         true if just a single char was deleted.
1283
1284         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1285         cursor that we modify, to avoid modifying an active cursor before
1286         we call setCursor. This allows depm to run. Also return true if
1287         depm deleted something.
1288
1289         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1290         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1291         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1292         something was changed in the buffer because of them (ie. depm run)
1293
1294         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1295         debug messages. Make update by default be false. Make sure that
1296         the result of update is retained throught several calls down to
1297         dispatch.
1298
1299         * LyXAction.h: add a new func_attrib: NoUpdate
1300
1301         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1302         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1303         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1304         and LFUN_WORDLEFT
1305         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1306
1307 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1308
1309         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1310         bv_->owner(), bv_->buffer() by direct references to the private
1311         members.
1312         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1313         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1314         (fitCursor): center() is in BufferView::Pimpl.
1315         (getStatus, trackChanges, dispatch): no need for a temporary buf
1316         variable
1317         (fitCursor, workAreaDispatch): use workarea().workheight()
1318
1319 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1320
1321         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1322
1323 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1324
1325         * buffer.C: format up to 241.
1326         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1327         break if pasting into ERT
1328         * lyxfunc.C (getStatus): suppress mathpanel and
1329         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1330
1331 2005-02-01  Angus Leeming  <leeming@lyx.org>
1332
1333         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1334
1335 2005-02-01  Angus Leeming  <leeming@lyx.org>
1336
1337         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1338         calling fs::is_directory().
1339
1340 2005-01-31  Angus Leeming  <leeming@lyx.org>
1341
1342         * lyx_main.C (priv_exec): specify explicitly the relative location
1343         of the top level build directory when run in-place.
1344
1345 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1346
1347         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1348         LyXText containing the cursor, not the top-level one.
1349
1350         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1351         true.
1352         (insertStringAsLines): rename par to pit; use temporary variable
1353         par to hold a Paragraph; do not store par.layout() in a variable,
1354         since the pointer may die when breaking paragraphs; pass pars to
1355         breakParagraph() instead of Buffer::paragraphs().
1356
1357 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1358
1359         * lyxlex_pimpl.h: #include <fstream>.
1360
1361         * BufferView.[Ch] (getLyXText): add a const version.
1362
1363         * BufferView_pimpl.C: add debug aids.
1364
1365         * RowList_fwd.h:
1366         * buffer.h:
1367         * lyxrow.h:
1368         * paragraph_funcs.h: add commentary explaining what the class does.
1369
1370
1371         * coordcache.[Ch]: add lots of commentary.
1372         (startUpdating, doneUpdating): debug aids.
1373         (arrays, insets, parPos, getParPos): accessors to private data.
1374
1375         * cursor_slice.[Ch] (text): add a const version.
1376         * dociterator.[Ch] (text, innerText): add const versions.
1377
1378         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1379         bool.
1380
1381         * paragraph.C (getRow, pos2ros): add asserts.
1382
1383         * paragraph.h: add commentary. Lots of.
1384
1385         * paragraph.[Ch] (metrucs, draw): removed.
1386
1387         * cursor.C:
1388         * rowpainter.[Ch]: const-correct changes.
1389
1390         * text.C: various obvious clean-ups. Removal of ancient cruft.
1391         Bug fixes, even.
1392
1393 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1394
1395         * vc-backend.C (find_file): rewrite to use boost.filesystem
1396         (scanMaster): ditto
1397
1398         * main.C (main): set default name check for boost.filesystem to
1399         no check
1400
1401         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1402         (open): ditto
1403         (doImport): ditto
1404         (actOnUpdatedPrefs): ditto
1405
1406         * lyx_main.C (init): rewrite to use boost.filesystem
1407         (queryUserLyXDir): ditto
1408
1409         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1410         (getContentsOfAsciiFile): ditto
1411
1412         * lastfiles.C (readFile): rewrite to use boost.filesystem
1413
1414         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1415
1416         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1417         (loadLyXFile): ditto
1418
1419         * buffer.C (Buffer): adjust for destroydir
1420         (getLogName): rewrite to use boost.filesystem
1421         (setFileName): ditto
1422         (save): use fs::copy_file (from fs_extras)
1423
1424         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1425
1426         * LaTeX.C (run): rewrite to use boost.filesystem
1427         (scanAuxFiles): ditto
1428         (handleFoundFile): ditto
1429
1430 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1431
1432         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1433
1434         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1435
1436 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1437
1438         * lyxlayout.[Ch]: change some vars from float to double
1439
1440         * buffer.C (readFile): make a local var const
1441
1442         * Several files: use convert<> instead of atoi,strToXXX and friends
1443
1444 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1445
1446         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1447         holds the contents of packages.lst. New functions getAvailable
1448         and isAvailable to parse and check that list, resp.
1449
1450         * LyXAction.C:
1451         * lfuns.h:
1452         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1453
1454         * bufferparams.[Ch]: new param output_changes.
1455
1456         * Buffer.C: increase file format to 240.
1457         Use output_changes and isVailable.
1458
1459         * changes.[Ch]:
1460         * paragraph.C:
1461         * paragraph_pimpl.C: Use output_changes and isVailable.
1462
1463 2005-01-23  Angus Leeming  <leeming@lyx.org>
1464
1465         * output_latex.C: #include "insetbibitem.h", rather than
1466         forward declare function bibitemWidest.
1467
1468 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1469
1470         * lyx_main.C (init): make it compile on the Mac.
1471
1472 2005-01-20  Angus Leeming  <leeming@lyx.org>
1473
1474         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1475         (setLyXMisc): (char string literal) != (char string literal) is
1476         performing a comparison on the addresses. Convert one operand
1477         explicitly to string to guarantee expected behaviour.
1478         From MSVC warning.
1479
1480 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1481
1482         * buffer.C:
1483         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1484
1485         * output_plaintext.C: remove unneeded #include gzstream.h.
1486
1487 2005-01-20  Angus Leeming  <leeming@lyx.org>
1488
1489         * SpellBase.h: rename some of the elements of the Result enum.
1490
1491         * aspell_local.h:
1492         * ispell.h:
1493         * pspell.h:
1494         * aspell.C (check):
1495         * ispell.C (check):
1496         * pspell.C (check): ditto
1497
1498 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1499
1500         * buffer.C: add #include <fstream>.
1501
1502         * lyx_main.C (init): Compile fix.
1503
1504         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1505
1506 2005-01-20  Angus Leeming  <leeming@lyx.org>
1507
1508         * mover.h: change commentary to reflect the changed meaning of
1509         the $$s placeholder.
1510
1511 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1512
1513         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1514
1515         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1516
1517 2005-01-20  Angus Leeming  <leeming@lyx.org>
1518
1519         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1520         printing diagnostic data by not dereferecing an iterator past the
1521         end.
1522
1523 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1524
1525         * buffer.C (readHeader): use "&&" rather than "and".
1526
1527         * lyxserver.h (inPipeName, outPipeName): make these const.
1528
1529 2005-01-19  Angus Leeming  <leeming@lyx.org>
1530
1531         * lyx_main.C (error_handler, init): protect SIGHUP with
1532         #ifdef SIGHUP guards.
1533
1534 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1535
1536         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1537
1538 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1539
1540         * text.C (setHeightOfRow): add a margin at the top and bottom of
1541         the document (bug 1761)
1542
1543 2005-01-17  Angus Leeming  <leeming@lyx.org>
1544
1545         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1546         with "python ". Workaround for a brain-dead Windows.
1547
1548 2005-01-16  Angus Leeming  <leeming@lyx.org>
1549
1550         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1551         for MacOSX and Windows to use prependEnvPath.
1552         Strip out the hard-coded block to add elements to the PATH for
1553         MacOSX and replace it with a call to prependEnvPath using the
1554         contents of LyXRC::path_prefix.
1555         (queryUserLyXDir): strip out the code to run reconfigure, instead
1556         returning a boolean indicating the necessity to do so.
1557         (reconfigureUserLyXDir): contains the code to reconfigure the
1558         user support directory. Is now called after the various LyXRC data
1559         files have been read.
1560
1561         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1562
1563 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1564
1565         * converter.[Ch] (convert): take a new parameter try_default. Use
1566         a default converter (imagemagick) if try_default is true.
1567
1568 2005-01-13  Angus Leeming  <leeming@lyx.org>
1569
1570         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1571         os::cygwin_path_fix.
1572         (write): output LyXRC::cygwin_path_fix as necessary.
1573
1574 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1575
1576         * lyxrc.h:
1577         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1578
1579 2005-01-12  Angus Leeming  <leeming@lyx.org>
1580
1581         * lyx_main.C (init): set the PATH variable to include the
1582         directory containing the LyX binary when running on Mac or Windows.
1583
1584 2005-01-12  Angus Leeming  <leeming@lyx.org>
1585
1586         * lyx_main.C (init): remove cruft that purports to set the locale
1587         dir. It doesn't and is not needed anyway.
1588
1589 2005-01-10  Angus Leeming  <leeming@lyx.org>
1590
1591         * Makefile.am: remove the lyx_main.C special casing.
1592
1593         * BufferView_pimpl.C:
1594         * bufferlist.C:
1595         * exporter.C:
1596         * lyx_cb.C:
1597         * lyx_main.C:
1598         * lyxfunc.C:
1599         * messages.C: use support/package.h to provide the paths to the
1600         various directories used by LyX.
1601
1602 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1603
1604         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1605         layout if pasting into an empty paragraph)
1606
1607 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1608
1609         * tex-accent.C: add <string>
1610
1611 2005-01-06  José Matos  <jamatos@lyx.org>
1612
1613         * ParagraphParameters.C (write): put every parameter in its own line.
1614         * paragraph.C (write): reduce number of consecutive empty lines exported.
1615         * buffer.C (LYX_FORMAT): increase file format to 239.
1616
1617 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1618
1619         * everywhere: change support/tostr.h -> support/convert.h
1620
1621         * tabular.C: make all write_attributes templates, tostr -> convert
1622
1623         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1624         (emptyTag): and -> &&, and fix type for ret from getChar
1625         (getFirstWord): fix type for ret from getChar
1626         (onlyText): and -> &&
1627         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1628         getChar
1629
1630         * toc.C (goTo, action):
1631         * text3.C (dispatch):
1632         * text.C (currentState):
1633         * tex-accent.C (DoAccent):
1634         * sgml.C:
1635         * lyxrc.C:
1636         * lyxfunc.C (menuNew):
1637         * lyxfinc.C (replace):
1638         * counters.C (laberItem):
1639         * bufferview_funcs.C (font2string):
1640         * bufferparams.C (writeFile):
1641         * buffer.C (readFile):
1642         * Spacing.C (set):
1643         * MenuBackend.C: tostr -> convert
1644
1645         * LaTeX.C (runMessage): fix format
1646         (scanAuxFiles): tostr -> convert
1647
1648         * BufferView_pimpl.C (savePosition): fix format
1649         (restorePosition): ditto
1650         (dispatch): ditto
1651
1652 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1653
1654         * Spacing.[Ch]: New method getValueAsString().
1655
1656         * Spacing.[Ch]:
1657         * bufferparams.C:
1658         * ParagraphParameters.C:
1659         * lyxlayout.C:
1660         * text.C:
1661         * text3.C: store/read spacing value as string.
1662
1663         * rowpainter.C: change float value (spacing_val) to double.
1664
1665         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1666         broken custom document spacing).
1667
1668 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1669
1670         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1671         namespace, also more use of temp references and const
1672
1673         * cursor.[Ch] (getStatus): move to lyxfunc.C
1674
1675         * bufferparams.C: reformat slightly
1676
1677         * bufferview_funcs.C (font2string): constify arg
1678
1679         * changes.C:
1680         * converter.C:
1681         * counters.C:
1682         * bufferlist.C:
1683         * buffer_funcs.C: (many funcs): constify arg on function
1684         definitions, also make more local vars const, also add ASSERTS on
1685         pointer args.
1686
1687         * buffer.C (LYX_FORMAT): put const in correct place
1688         (many funcs): constify arg on function definitions, also make
1689         more local vars const
1690
1691         * aspell_local.h: remove "struct" from typdef setup
1692
1693         * aspell.C (check): make word_ok const
1694         (nextMiss): simplify slightly
1695         (error): ditto
1696
1697 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1698
1699         * lyxrc.[Ch]: store all float values as strings.
1700         use int (not float) for lyxrc.dpi.
1701
1702 2005-01-04  Angus Leeming  <leeming@lyx.org>
1703
1704         * lyx_cb.C (Reconfigure):
1705         * lyx_main.C (queryUserLyXDir):
1706         to run the <system_lyxdir>/configure correctly on Windows, prefix
1707         the path to the script with "sh " when generating the string that
1708         is passed to system().
1709
1710 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1711
1712         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1713
1714 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1715
1716         * lyxlength.C (asLatexString): get rid of setprecision
1717
1718 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1719
1720         * text2.C (setLayout): remove unused variable endpit.
1721         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1722
1723         * paragraph.C (onlyText): remove unused variable style.
1724
1725         * cursor.C (bruteFind): remove unused variables beg and end.
1726
1727         * Makefile.am (dist_noinset_DATA): not needed anymore
1728
1729         * cheaders/*: remove.
1730
1731 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1732
1733         * text3.C: fix LFUN_MATH_MODE.
1734
1735 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1736
1737         * buffer_funcs.C (countWords): new function. Counts words between
1738         two iterators.
1739
1740         * BufferView_pimpl.C (getStatus, dispatch): handle
1741         LFUN_WORDS_COUNT.
1742
1743         * LyXAction.C (init):
1744         * lfuns.h: add LFUN_WORDS_COUNT.
1745
1746 2004-12-19  Angus Leeming  <leeming@lyx.org>
1747
1748         * buffer.C (save): s/slashify_path/internal_path/.
1749
1750 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1751
1752         * lyxfind.C (findChange): do not search for end of pars, because
1753         the change tracker cannot handle this (fixes bug 1719).
1754
1755 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1756
1757         * paragraph.[Ch] (autoBreakRows): remove
1758
1759         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1760
1761         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1762         avoid using the paragraph one
1763
1764         * text2.C (LyXText, insertStringAsLines): adjust
1765
1766 2004-12-16  Angus Leeming  <leeming@lyx.org>
1767
1768         * bufferlist.C:
1769         * lyx_main.C:
1770         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1771
1772 2004-12-14  Angus Leeming  <leeming@lyx.org>
1773
1774         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1775
1776         * bufferlist.C (emergencyWrite):
1777         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1778         GetEnvPath("HOME").
1779
1780 2004-12-14  Angus Leeming  <leeming@lyx.org>
1781
1782         * main.C: (main): no longer pass pointers to os::init.
1783
1784 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1787         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1788
1789 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1790
1791         * lyxfunc.C:
1792         * text3.C: remove selection_possible global flag
1793
1794 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1795
1796         * text2.C (getSelectionSpan): remove
1797         (changeDepth, changeDepthAllowed): adjust
1798
1799 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1800
1801         * Makefile.am (BOOST_LIBS): use boost variables
1802
1803 2004-12-03  José Matos  <jamatos@lyx.org>
1804
1805         * buffer.C: format up to 238.
1806
1807 2004-12-03  José Matos  <jamatos@lyx.org>
1808
1809         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1810
1811 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1812
1813         * cursor.C (goUpDown): remove call to idxUpDown2
1814
1815 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1816
1817         * tabular.[Ch]: use size_t-like types for cell, row and column
1818         indices
1819
1820 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1821
1822         * lyxfunc.C (getStatus): do not lose previous information when
1823         calling BufferView::getStatus; do not set a default "Command
1824         disabled" message at the beginning, but just before returning.
1825
1826 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1827
1828         * cursor.h (getStatus): add better comment from src/cursor.C
1829
1830 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         * text3.C (getStatus): return false when the lfun is not handled
1833
1834 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1835
1836         * broken_headers.h: remove
1837
1838         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1839
1840 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1841
1842         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1843         offset_ref accessors
1844
1845         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1846         top_y_, merge fitcursor with update
1847         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1848         coord scheme
1849         (metrics): introduce
1850         (workAreaDispatch): adapt to new coord scheme
1851         (redoCurrentBuffer): remove
1852
1853         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1854
1855         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1856         CurStatus enum.
1857
1858         * coordcache.[Ch]: add paragraph cache and helpers
1859
1860         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1861         adjust everywhere
1862
1863         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1864         (targetX, setTargetX): introduce
1865
1866         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1867         baseline -> ascent, as the rest of lyx
1868
1869         * lyxtext.h: remove redoParagraphs, updateParPositions,
1870         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1871         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1872         have ascent/descent (ascent is ascent of first par)
1873
1874         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1875         step of BufferView
1876
1877         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1878
1879         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1880
1881         * pariterator.C: fix infinite loop introduced in par->pit renaming
1882
1883         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1884         in insets and LyXText, draw two off-screen paragraphs using
1885         NullPainter, and adapt to new coord scheme
1886
1887         * text.C:
1888         * text2.C:
1889         * text3.C: adapt lfun handlers to the new coord scheme, which
1890         means: there's only guaranteed coord information for onscreen pars
1891         plus one above and one below. This implies that one can do search
1892         from y coordinates in the range [-1,workHeight]
1893
1894 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1895
1896         * rename a lot of InsetOld to InsetBase
1897
1898 2004-11-25  Angus Leeming  <leeming@lyx.org>
1899
1900         * BufferView_pimpl.C:
1901         * lyx_cb.C:
1902         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1903
1904 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1905
1906         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1907         call BufferView::getStatus if LCursor::getStatus did nothing
1908         (setStatusMessage, getStatusMessage): removed.
1909
1910         * FuncStatus.C (message): new methods. Used to provide an error
1911         message indicating why a command is disabled.
1912         (clear, |=, FuncStatus): update for message.
1913
1914 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1915
1916         * lyxfunc.C (dispatch): always call sendDispatchMessage
1917
1918 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1919
1920         * BufferView.C:
1921         * BufferView_pimpl.C:
1922         * CutAndPaste.C:
1923         * FontIterator.C:
1924         * buffer.C:
1925         * cursor.C:
1926         * cursor_slice.[Ch]:
1927         * dociterator.[Ch]:
1928         * lyxfind.C:
1929         * paragraph_funcs.C:
1930         * pariterator.C:
1931         * rowpainter.C:
1932         * text.C:
1933         * text2.C:
1934         * text3.C:
1935         * undo.C: par->pit renaming
1936
1937 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1938
1939         * tabular.C (cellstruct): use initialization, store a shared_ptr
1940         to insettext instead of the insettext directly, adjust to fit.
1941         (operator=):  new function
1942         (swap): new function
1943         (rowstruct): use initialization
1944         (columnstruct): use initialization
1945         (ltType): use initialization
1946
1947
1948         * lyxlength.h (swap): new function
1949
1950         * LColor.[Ch] (operator=): use the common semantics
1951
1952 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1953
1954         * lyxfind.C (findNextChange): update the bufferview after setting
1955         the selection.
1956
1957 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1958
1959         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1960         number of InsetOptArgs has already been inserted.
1961
1962         * output_latex.C (latexOptArgInsets): new method. This outputs all
1963         the optarg insets, up to the limit defined in the layout file.
1964         (optArgInset): removed
1965         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1966
1967 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1968
1969         * paragraph.C (isLetter): remove special spellchecker-related
1970         code; return true also for digits
1971         (isWord, isKomma): remove
1972
1973         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1974         * lyxfind.C (MatchString()): use isLetter instead of isWord
1975
1976 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1977
1978         * pariterator.h (operatir=): comment out un-implemented member
1979         function.
1980
1981         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1982         static cast.
1983
1984 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1985
1986         * lyxfont.h: include LColor.h to satisfy concept checks.
1987
1988 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1989
1990         * pariterator.h: add typdefs for value_type, difference_type,
1991         pointer and reference to satisfy concept checks. Also add default
1992         constructor for same reason.
1993
1994         * pariterator.C (operator++): add post-increment operator to
1995         satisfy concept checks.
1996
1997         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1998         checks.
1999
2000         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2001
2002         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2003         checks. Also rename base_type to BaseType to follow naming
2004         standard better.
2005
2006         * FloatList.h: include Floating.h to satisfy concept checks.
2007
2008 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2009
2010         * lyxfunc.C (getStatus): when the origin of the request is menu or
2011         toolbar, and the LyXView does not have focus, do as if there was
2012         no buffer (bug 1720)
2013
2014         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2015         FuncRequest to individual entries of LFUN_SEQUENCE
2016
2017 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2018
2019         * output_latex.C (TeXOnePar): override runparams.moving_arg
2020         according to the needprotect value of the current paragraph (bug
2021         1739)
2022
2023         * paragraph.C (simpleTeXOnePar): no need to override
2024         runparams.moving_args here
2025
2026 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2027
2028         * vspace.C: fix off-by-one-error, related to fix #1682
2029
2030 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2031
2032         * lengthcommon.C: a more general fix for bug 1682
2033
2034 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2035
2036         * text.C (backspace): fix crash
2037
2038 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2039
2040         * format.[Ch] (getFormatFromFile): new method
2041         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2042
2043 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2044
2045         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2046
2047 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2048
2049         * lyxfunc.C (dispatch): remove the verbose argument
2050         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2051         instead
2052
2053         * kbmap.C (defkey): set the origin of func to KEYBOARD
2054
2055         * MenuBackend.C (MenuItem):
2056         * ToolbarBackend.C (add): set the origin of func to UI
2057
2058         * funcrequest.[Ch]: add origin member, which indicates which part
2059         of LyX requests an action
2060
2061 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2062
2063         * converter.C (move): don't lie in the error message
2064         * converter.h (isReachable, move): document
2065
2066 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * buffer.C: remove unused using lyx::support::atoi
2069         * paragraph_funcs.C: ditto
2070
2071 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2072
2073         * bufferlist.C (exists): use bind and equal_to instead of
2074         compare_memfun
2075         (getBuffer): ditto
2076         * lyxtextclasslist.C (NumberOfClass): ditto
2077
2078         * cursor.C (insert): use for_each instead of explicit for loop
2079
2080         * bufferlist.C (getFileNames): use std::transform and
2081         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2082
2083         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2084         for loop
2085
2086         * buffer.C (changeLanguage): use for_each instead of explicit for
2087         loop
2088         (hasParWithID): implement using getParFromID
2089
2090         * LaTeXFeatures.C: ws change only
2091
2092         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2093         to cleanup a bit.
2094
2095         * BufferView_pimpl.C (trackChanges): use for_each instead of
2096         expilicit for loop
2097
2098 2004-11-04  André Pönitz  <poenitz@gmx.net>
2099
2100         * undo.h:
2101         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2102
2103         * dociterator.C (asDocIterator): use hard assert again.
2104
2105 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2106
2107         * lyxlength.C (asLatexString): rewrite so that it does not use
2108         snprintf anymore
2109
2110 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2111
2112         * text3.C (specialChar, dispatch): make sure cursor moves to the
2113         right after inserting an inset
2114
2115 2004-11-02  José Matos  <jamatos@lyx.org>
2116
2117         * output_docbook.C (docbook):
2118         * paragraph.C (getID):
2119         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2120         garantee that the output is always legal.
2121
2122         * tabular.C (docbook):
2123         * outputprams.[Ch]: remove mixed contents.
2124
2125 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2126
2127         * text2.C (setCounter): prevent endless loop
2128
2129 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2130
2131         * exporter.C (copyFile): use the mover instead of support::copy()
2132         * exporter.C (Export): pass format and latex name to copyFile()
2133         * exporter.h (addExternalFile): document
2134         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2135
2136 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2137
2138         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2139
2140 2004-10-30  José Matos  <jamatos@lyx.org>
2141
2142         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2143         text and no inset or font change. This allows to use CDATA
2144         sections just for the whole paragraph.
2145
2146 2004-10-30  José Matos  <jamatos@lyx.org>
2147
2148         * paragraph.C (getFirstWord): remove unused variable.
2149
2150 2004-10-30  José Matos  <jamatos@lyx.org>
2151
2152         * paragraph.C (getFirstWord): the content should always be escaped
2153         there.
2154         (simpleDocBookOnePar):
2155         * output_docbook.C (makeEnvironment): replace reference to CDATA
2156         to style pass_thru.
2157
2158 2004-10-30  José Matos  <jamatos@lyx.org>
2159
2160         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2161
2162 2004-10-30  José Matos  <jamatos@lyx.org>
2163
2164         * output_docbook.C (makeParagraphs):
2165         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2166         standard paragraph has only a given type of content drop the wrapper.
2167
2168 2004-10-29  José Matos  <jamatos@lyx.org>
2169
2170         * output_docbook.C (makeEnvironment):
2171         * sgml.C (openTag):
2172         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2173
2174 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2175
2176         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2177         (cleanID): sanitize any id.
2178
2179 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2180
2181         * buffer.C, lyxlex_pimpl.C:
2182         * lyxlex_pimpl.C (setFile):
2183         s/getExtFromContents/getFormatFromContents/
2184
2185 2004-10-28  José Matos  <jamatos@lyx.org>
2186
2187         * output_docbook.C (makeEnvironment): move id to broadest possible
2188         scope.
2189
2190         * sgml.C (openTag): apply substitution of <> for all attributes.
2191
2192 2004-10-28  José Matos  <jamatos@lyx.org>
2193
2194         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2195         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2196         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2197
2198         * sgml.[Ch]: new version for open and closeTag for paragraph and
2199         for strings. Now they handle the ids of paragraphs.
2200
2201 2004-10-26  Angus Leeming  <leeming@lyx.org>
2202
2203         * Makefile.am: add mover.[Ch].
2204
2205         * converter.C (convert, move): use the new Movers to move external
2206         files to the temp directory.
2207
2208         * lyx_main.C (init): ensure that the global system_movers data
2209         is initialised.
2210
2211         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2212         preferences file.
2213
2214         * mover.[Ch]: new files, defining a Mover as a utility to move an
2215         external file between directories and, if necessary, manipulate this
2216         file using a helper script.
2217
2218 2004-10-25  José Matos  <jamatos@lyx.org>
2219
2220         * output_docbook.C (makeCommand): merge two if's that tested the
2221         same condition.
2222
2223 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2224
2225         * sgml.C (escapeString): fix warning in a better way
2226
2227 2004-10-25  José Matos  <jamatos@lyx.org>
2228
2229         * sgml.C (escapeString): import the require boosts header file for
2230         tie, and avoid a signed unsigned comparison.
2231
2232 2004-10-25  José Matos  <jamatos@lyx.org>
2233
2234         * sgml.h: add #include <string>
2235
2236 2004-10-25  José Matos  <jamatos@lyx.org>
2237
2238         * sgml.[Ch] (escapeString): new function to escape all the string.
2239
2240 2004-10-24  José Matos  <jamatos@lyx.org>
2241
2242         * paragraph.[Ch] (getFirstWord): new function to get the first
2243         word. Useful for description.
2244         (simpleDocBookOnePar): remove depth argument, add another that
2245         says where to start the paragraph.
2246
2247         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2248         use the new functions to fix cleanly the support for descriptions.
2249
2250 2004-10-24  José Matos  <jamatos@lyx.org>
2251
2252         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2253         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2254         * output_linuxdoc.C (linuxdocParagraphs):
2255         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2256         add buffer as argument.
2257
2258 2004-10-24  José Matos  <jamatos@lyx.org>
2259
2260         * output_docbook.C (makeEnvironment, searchEnvironment): place
2261         CDATA inside paragraphs and fix scope for listitems.
2262
2263 2004-10-24  José Matos  <jamatos@lyx.org>
2264
2265         * output_docbook.C: remove using statement for stack.
2266
2267 2004-10-23  José Matos  <jamatos@lyx.org>
2268
2269         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2270         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2271         docbook. The new scheme is recursive and makes use of iterators, the
2272         same as latex export works.
2273         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2274         directly with the paragraph contents. This code was moved up to
2275         output_docbook.C (docbookParagraphs).
2276         * sgml.C (openTag, closeTag): removed unneeded newlines.
2277         (closeEnvTags) removed.
2278
2279 2004-10-23  André Pönitz  <poenitz@gmx.net>
2280
2281         * undo.C (textUndoOrRedo):
2282         * dociterator.C (asDocIterator): work around crash
2283
2284         * cursor.C (getStatus): replace ASSERT by more verbose error message
2285           and manual correction of the problem. Should increase stability
2286           while providing more sensible information.
2287
2288 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2289
2290         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2291
2292         * bufferlist.C (previous, next): new methods
2293
2294         * lfuns.h:
2295         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2296
2297 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2298
2299         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2300         entities to preamble.
2301
2302 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2303
2304         * messages.C (Pimpl): strip off translation context information
2305
2306 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2307
2308         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2309         the cursor is correct (bug 1694)
2310
2311 2004-10-13  José Matos  <jamatos@lyx.org>
2312
2313         * output_docbook.C (docbookParagraphs): fix closing tags in the
2314         end of the document.
2315
2316 2004-10-09  José Matos  <jamatos@lyx.org>
2317
2318         * buffer.C: format up to 237.
2319         * bufferparams.C (write): use tostr to convert booleans to strings.
2320
2321 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2322
2323         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2324
2325 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2326
2327         * LaTeX.C: implement use of babel language in xindy.
2328
2329 2004-10-05  José Matos  <jamatos@lyx.org>
2330
2331         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2332         Add new translators to help reading and writing the lyx file.
2333
2334 2004-10-05  José Matos  <jamatos@lyx.org>
2335
2336         * ParagraphParameters.C (read):
2337         * text.C (readParToken): replace nexToken by more appropriate lex
2338         methods.
2339
2340 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2341
2342         * LaTeX.C (runMakeIndex):
2343         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2344         (usually 'makeindex') configurable.
2345
2346         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2347         with a variable rather than with a number.
2348
2349 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2350
2351         * output_latex.C (TeXOnePar): make sure font setting is the first
2352         thing that gets output (and the last at the end). Should fix bug
2353         1404.
2354
2355 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2356
2357         * pch.h: use proper signal include
2358
2359         * LaTeX.h: Use preferred calling of Boost.Signal
2360         * buffer.h: ditto
2361
2362 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * pch.h: dont include <boost/function/function0.hpp>
2365
2366         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2367
2368         * paragraph_pimpl.h: remove usage of ShareContainer
2369
2370         * paragraph_pimpl.C: remove initialization of ShareContainer.
2371
2372 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2373
2374         Fix bug #1666
2375
2376         * BufferView.C (putSelectionAt): change the semantics when
2377         backwards == true: now, this just swaps cursor and anchor wrt the
2378         forward case
2379
2380         * BufferView.h (putSelectionAt): add some documentation
2381
2382         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2383         make sure backwardChar is done at least once (to avoid getting
2384         stuck)
2385         (findNextChange): use putSelectionAt in the forward direction
2386         (operator()): use Paragraph::isWord
2387
2388 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2389
2390         * Spacing.C (set): c_str fix
2391
2392 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2393
2394         * lyx_cb.C (Reconfigure): quote the name of configure script in
2395         case it contains spaces
2396
2397 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * client: new dir
2400
2401         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2402         (BOOST_LIBS): use top_buildir when looking for the file
2403
2404 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2405
2406         * pch.h: do not use include boost/format.hpp, multiple symbols
2407                 will result (gcc bug)
2408
2409
2410 2004-08-23  José Matos  <jamatos@lyx.org>
2411
2412         * bufferparams.C (readToken): fix reading of the author field.
2413
2414 2004-08-20  José Matos  <jamatos@lyx.org>
2415
2416         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2417
2418 2004-08-20  José Matos  <jamatos@lyx.org>
2419
2420         * lyxlex.[Ch] (findToken): remove function.
2421
2422         * ParagraphParameters.C (findToken):
2423         * bufferparams.C (findToken): replace call for previous function
2424         with local copy. This local function has one more argument, the
2425         read string argument.
2426
2427 2004-08-16  José Matos  <jamatos@lyx.org>
2428
2429         * ParagraphParameters.C (write):
2430         * Spacing.C (writeFile):
2431         * bufferparams.C (writeLaTeX):
2432         * lyx_cb.C (Reconfigure):
2433         * paragraph.C (write):
2434         * tabular.C (write): remove unnecessary space at end of line.
2435
2436
2437 2004-08-16  José Matos  <jamatos@lyx.org>
2438
2439         * text.C (readParagraph): remove debug message.
2440
2441 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2442
2443         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2444         crash
2445
2446         * output_plaintext.C (asciiParagraph): set depth correctly
2447
2448         * outputparams.h: add member depth
2449
2450         * paragraph_funcs.C (ownerPar): remove.
2451
2452         * text2.C (setCounter): remove first_pit; comment out some
2453         non-working code that uses ownerPar
2454
2455         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2456         uses ownerPar
2457
2458 2004-08-16  José Matos  <jamatos@lyx.org>
2459
2460         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2461         For the same level of importance use the same chanel to report problems.
2462         (read): add code to deal with \begin_body and \end_body.
2463
2464
2465 2004-08-15  José Matos  <jamatos@lyx.org>
2466
2467         * lyxlex.C (getString): fix comment, buffer::readBody is now
2468         buffer:readDocument.
2469
2470         * tex-strings.C (string_papersize): Default -> default,
2471         Custom -> custom, for consistency with other options.
2472
2473 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2474
2475         * pch.h: new file
2476
2477         * Makefile.am: support pch
2478
2479 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         * text.C (readParToken): remove the static LyXFont variable and
2482         pass it as a parameter instead. This fixes a nasty bug where an
2483         inset will be inserted with a bad font in some situations
2484         (readParagraph): adapt
2485
2486         * text2.C (setCounter): reduce number of calls to pars_[pit]
2487
2488         * text.C (singleWidth): add an assert, fix a test
2489
2490         * rowpainter.C (paintText): reduce number of calls to singleWidth
2491
2492         * paragraph.C (isHfill):
2493         (isNewline): ws only
2494
2495 2004-08-14  André Pönitz  <poenitz@gmx.net>
2496
2497         * text.C:
2498         * text2.C:
2499         * rowpainter.C:
2500         * lyxtext.h (several functions): use a Paragraph & argument
2501         instead of par_type
2502
2503 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2504
2505         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2506
2507         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2508
2509         * text.C (singleWidth): remove useless test
2510
2511 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2512
2513         * tabular.h: remove bogus comments
2514
2515         * tabular.C (getDescentOfRow):
2516         (isPartOfMultiColumn): add assertions
2517
2518         * lyxlength.C (inPixels): remove #warning
2519
2520 2004-08-14  André Pönitz  <poenitz@gmx.net>
2521
2522         * paragraph.h: inline getChar()
2523
2524         * BufferView.h: remove unused declarations
2525
2526 2004-08-14  José Matos  <jamatos@lyx.org>
2527
2528         * Buffer.[Ch] (readDocument): new name for old readBody.
2529         * Buffer.C: new file format, new keywords: \begin_document,
2530         \begin_header, \begin_body, \end_body.
2531
2532         * bufferparams.C (readToken): replace all calls to lex.nextToken
2533         by lex.next(). Do the same to eatLine except where really needed.
2534
2535         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2536         line when writing to the lyx file.
2537
2538         * output_plaintext.C (asciiParagraph): fix Bibliography style
2539         handling.
2540
2541         * text.C (read): fix end of file handling.
2542
2543 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2544
2545         * MenuBackend.C (Menu::operator[]): new method to access
2546         individual menu items
2547         (Menu::hasFunc): new method. search for an item that corresponds
2548         to a given func
2549         (MenuBackend::specialMenu): new method
2550         (MenuBackend::expand): if a special menu has been set, skip
2551         entries whose func() appears in this menu
2552
2553 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2554
2555         * text3.C: use Debug::DEBUG a bit more
2556
2557         * text.C (leftMargin): try to simplify a tiny bit change var x to
2558         l_margin. Dont output the wide margins always.
2559         (rightMargin): no margin in inner texts
2560
2561         * rowpainter.h (nestMargin): new func
2562         (changebarMargin): new func
2563         (rightMargin): new func
2564
2565         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2566         now functions.
2567         (paintLast): ditto
2568
2569         * factory.C (createInset): modify setDrawFrame
2570
2571         * cursor.C: use Debug::DEBUG a bit more
2572
2573 2004-08-14  André Pönitz  <poenitz@gmx.net>
2574
2575         * coordcache.[Ch]:
2576         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2577         cache for all insets in (at least partially) visible (top-level)
2578         paragraphs.
2579
2580         * BufferView_pimpl.C: reset external coord cache before every update.
2581         This means the coord cache only contains valid entries.
2582
2583 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2584
2585         bug 1096
2586         * BufferView_pimpl.C (getInsetByCode): move function out of class
2587         and change in to a template in anon namespace. Also fix to do what
2588         suits us better.
2589
2590 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2591
2592         bug 1305
2593         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2594         of char
2595         (breakParagraph): rename par to par_offset and use a local
2596         reference. Add code to keep the language over a rebreak.
2597         (breakParagraphConservative): rename par to par_offset, use a
2598         local reference
2599         (mergeParagraph): ditto
2600         (outerHook): ditto
2601         (isFirstInSequence): ditto
2602         (outerFont): rename pit to par_offset
2603
2604         * paragraph.C: ws change
2605         * paragraph.h: ditto
2606         * text3.C: ditto
2607         * text.C: ditto
2608
2609 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2610
2611         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2612         treatment for ']'
2613
2614         * paragraph.C (simpleTeXOnePar): when we have a \item with
2615         optional argument, enclose the argument with curly brackets (in
2616         case it contains a closing square bracket)
2617
2618         * text2.C (editXY):
2619         * text2.C (editXY):
2620         * text3.C (checkInsetHit): constify
2621
2622 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2623
2624         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2625         documents (bug 1629)
2626
2627 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2628
2629         Fix toggling of collapsable insets with the mouse (bug 1558)
2630
2631         * lyxfunc.C (dispatch): adapt to LCursor changes
2632
2633         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2634         make sure that dispatch is not invoked twice
2635
2636         * cursor.C (needsUpdate): new method
2637         (dispatch): return void
2638         (result): new method, to access the DispatchResult of the cursor.
2639
2640 2004-08-13  José Matos  <jamatos@lyx.org>
2641
2642         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2643
2644 2004-08-13  André Pönitz  <poenitz@gmx.net>
2645
2646         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2647
2648         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2649           multiple cells
2650
2651 2004-08-12  André Pönitz  <poenitz@gmx.net>
2652
2653         * text3.C: take out the 'cursor right' form insertInset and only
2654         do it in those places when it is really needed. Fixes crash on
2655         C-m...
2656
2657 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2658
2659         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2660
2661         * BufferView_pimpl.C (setBuffer): initialize the current font of
2662         the underlying LyXText
2663
2664 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2665
2666         * kbsequence.C (print): use UI native formatting for menu
2667         shortcuts
2668
2669         * text.C (insertChar): call Paragraph::insertChar with a font
2670         argument (cosmetic)
2671
2672         * paragraph.C (insertInset, insertChar): the version that takes a
2673         LyXFont argument is now a wrapper around the other one (the
2674         opposite used to be true).
2675
2676         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2677         argument. Font setting is done in Paragraph now.
2678
2679 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2680
2681         * outputparams.h: add new members intitle and lang.
2682
2683         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2684         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2685
2686 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2687
2688         * text3.C (dispatch): remove special handling of button 4 and 5,
2689         it is now taken care of in the frontend code.
2690
2691 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2692
2693         * Spacing.h: add <string> (STLPort compile fix)
2694
2695 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2696
2697         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2698
2699 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2700
2701         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2702         to bool.
2703
2704         * converter.C (showMessage): inherit from unary_function, make
2705         operator() const.
2706
2707         * buffer.C (writeFile): initialize retval
2708
2709         * InsetList.h: rename private variable list to list_
2710         * InsetList.[Ch]: adjust accordingly.
2711
2712 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2713
2714         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2715         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2716         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2717         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2718         * ParagraphParameters.C, LaTeXFeatures.C: replace
2719         "support/std_sstream.h" with <sstream>
2720
2721 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2724         * lyxsocket.C (LyXServerSocket): ditto
2725         (serverCallback): ditto
2726
2727 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2728
2729         * LaTeXFeatures.C: check release date when loading jurabib.
2730
2731 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2732
2733         * lyxserver.C (startPipe): call register_socket_callback
2734         (endPipe): call unregister_socket_callback
2735
2736 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2737
2738         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2739         (LyXServerSocket): register the callback
2740         (LyXServerSocket): unregister the callback
2741         (fd): delete function
2742         (serverCallback): improve error checking and setup the callbacks.
2743         (dataCallback): change arg to fd.
2744         (writeln): new func (copied fro the client socket) used for server
2745         write to client.
2746         (LyXDataSocket): simplify
2747         (~LyXDataSocket): close ann unregiser callback
2748         (server): delete function
2749         (fd): delete function
2750         (readln): small changes, improve some std::string usage
2751         (writeln): constify a bit
2752
2753 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2754
2755         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2756         Qt frontend
2757
2758 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2759
2760         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2761         after it has been populated
2762
2763 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2764
2765         * text2.C (insertInset): move cursor when inserting inset.
2766
2767 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2768
2769         * kbmap.C (findbindings): a couple of new methods. returns a
2770         container of kb_sequence objects. The real work is done by the
2771         private recursive version
2772         (printbindings): uses findbindings to print out a bracketed list
2773         of bindings (renamed from findbinding).
2774
2775         * MenuBackend.C (binding): use kb_keymap::findbindings
2776
2777         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2778
2779 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2780
2781         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2782
2783 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2784
2785         * paragraph.C (isWord): return true on insets that report
2786         isLetter().
2787
2788         * text.C (getWord): use Paragraph::isWord to decide what is in a
2789         word and what is not; fix bug 1609.
2790
2791 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2792
2793         * tex-strings.C: add "none" to string_paperpackages[], fixes
2794         off-by-one-error in the paperpackage selection.
2795
2796         * lyxlex.[Ch]:
2797         * tex-strings.[Ch]: char const * string[n]
2798         -> char const * const string[]
2799
2800 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2801
2802         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2803         command, return early.
2804
2805 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2806
2807         * debug.h: add DEBUG to enum and fix size of ANY.
2808
2809         * debug.C: add support for Debug::DEBUG
2810         (showTags): cast errorTags.level to unsigned int
2811
2812         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2813         (redoCurrentBuffer): ditto
2814         (updateScrollbar): ditto
2815         * cursor.C (dispatch): ditto
2816         * text2.C (setLayout): ditto
2817         (setFont): ditto
2818         (updateCounters): ditto
2819         (editXY): ditto
2820         (deleteEmptyParagraphMechanism): ditto
2821
2822 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2823
2824         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2825         annotations to cleanup the Makefile slightly.
2826
2827 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2828
2829         * lyxrc.C: do not set user_email to a default value but use empty
2830         instead. The entry used to be translated, which does not work
2831         since at the point where lyxrc is constructed there is no
2832         translation service available
2833
2834         * messages.C (getLocaleDir): remove and use directly
2835         lyx_localedir() instead
2836
2837 2004-06-02  Angus Leeming  <leeming@lyx.org>
2838
2839         Fix crash caused by dereferencing null pointer 'exportdata' in
2840         OutputParams by creating a new ExportData variable on the heap,
2841         storing it in a boost::shared_ptr.
2842         The crash was triggered when generating an Instant Preview
2843         of an external inset.
2844
2845         * Makefile.am: add outputparams.C
2846
2847         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2848         (c-tor): allocate memory to it.
2849
2850         * exporter.C (c-tor): associated changes.
2851
2852 2004-06-01  Angus Leeming  <leeming@lyx.org>
2853
2854         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2855         contains data before calling isInset(0). (Bug 1513.)
2856
2857 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2858
2859         * exporter.C (checkOverwrite): new method
2860         * exporter.C (copyFile): new method
2861         * exporter.C (Export): copy referenced files to the document dir
2862         * exporter.[Ch]: new class ExportedFile
2863         * exporter.[Ch]: new class ExportData. Contains currently the
2864         names of referenced external files
2865         * outputparams.h: add exportdata member.
2866
2867 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2868
2869         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2870         version.C-tmp
2871
2872 2004-05-19  Angus Leeming  <leeming@lyx.org>
2873
2874         * LaTeXFeatures.C:
2875         * ToolbarBackend.C:
2876         * bufferparams.C:
2877         * lyxfunc.C: small changes due to the introduction of namespace
2878         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2879
2880 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * text3.C (dispatch): supress update when only moving the cursor
2883         * cursor.C (selHandle): remove commented code
2884
2885 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2886
2887         * paragraph.C (startTeXParParams): correct column count
2888         * CutAndPaste.C (pasteSelection): remove const_cast
2889         * output_docbook.C (docbookParagraphs): remove const_cast
2890         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2891         const_cast and return ParagraphList::const_iterator
2892         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2893         * output_plaintext.C (writeFileAscii): remove const_cast
2894         * paragraph.[Ch] (simpleTeXOnePar): make const
2895         * paragraph_funcs.C (outerPar): use const iterators
2896         * paragraph_pimpl.C (validate): use const iterators
2897         * text.C (setHeightOfRow): use const iterators
2898
2899 2004-05-17  Angus Leeming  <leeming@lyx.org>
2900
2901         * lfuns.h:
2902         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2903
2904         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2905         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2906         if the citation engine has changed.
2907
2908 2004-05-14  José Matos  <jamatos@lyx.org>
2909
2910         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2911         if the textclass does not provide it. Have it different for sgml and
2912         xml.
2913         support the language of document.
2914         * output_docbook.C (docbookParagraphs):
2915         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2916         first anchor as the id of the paragraph, remove special case code.
2917         * sgml.C (escapeChar): escape only < & >.
2918
2919 2004-05-14  Angus Leeming  <leeming@lyx.org>
2920
2921         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2922         dependencies on src/frontends/controllers/biblio.h. Define a
2923         CiteEngine_enum wrapper class to enable the enum to be forward
2924         declared.
2925
2926 2004-05-12  Angus Leeming  <leeming@lyx.org>
2927
2928         * buffer.C: up LYX_FORMAT to 234.
2929         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2930         use_numerical_citations with a single biblio::CiteEngine cite_engine
2931         variable.
2932         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2933
2934 2004-05-13  José Matos  <jamatos@lyx.org>
2935
2936         * converter.h:
2937         * converter.C (Converter, readFlags): add xml member.
2938         * outputparams.h: add XML flavor.
2939         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2940
2941 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2942
2943         * lyxfunc.C (dispatch):
2944         (getStatus): fix handling of LFUN_SEQUENCE
2945
2946 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2947
2948         * debug.C (showLevel): do not forget the end-of-line marker
2949
2950 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2951
2952         * kbmap.C (read): do not stop parsing a bind file when an error
2953         occurs (bug 1575)
2954
2955 2004-04-29  Angus Leeming  <leeming@lyx.org>
2956
2957         * cursor.C:
2958         * factory.C:
2959         * pariterator.C:
2960         * text2.C: wrap a bunch of #warning statements
2961         inside #ifdef WITH_WARNINGS blocks.
2962
2963 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2964
2965         * buffer.C: increment format to 233.
2966
2967 2004-04-28  Angus Leeming  <leeming@lyx.org>
2968
2969         * BufferView_pimpl.C:
2970         * lyxfunc.C:
2971         * text3.C:
2972         s/updateToolbar()/updateToolbars()/
2973         s/Toolbar.h/Toolbars.h/
2974
2975 2004-04-28  Angus Leeming  <leeming@lyx.org>
2976
2977         * BufferView.[Ch] (c-tor):
2978         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2979         No longer passes these data to the WorkArea generator.
2980
2981 2004-04-28  Angus Leeming  <leeming@lyx.org>
2982
2983         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2984
2985 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2986
2987         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2988
2989 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2990
2991         * output_latex.C (TeXEnvironment): make sure that there is a line
2992         break before \end{foo} for the last paragraph of a document
2993         (TeXOnePar): if the paragraph is at the end of the document (or
2994         inset) and the language has to be reset, then make sure that the
2995         line break is _before_ the language command, not after (fixes bug
2996         1225); also make sure that the language reset command is the first
2997         thing after the paragraph (to ensure proper nesting of
2998         environments and thus fix bug 1404)
2999
3000 2004-04-21  John Levon  <levon@movementarian.org>
3001
3002         * ToolbarBackend.h:
3003         * ToolbarBackend.C: make "name" be a programmatic name
3004         and a gui_name field.
3005
3006         * lyxfunc.C: display the minibuffer on M-x
3007
3008 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3009
3010         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3011         (bug 1526)
3012
3013 2004-04-19  Angus Leeming  <leeming@lyx.org>
3014
3015         * BufferView_pimpl.C (setBuffer): changed preview interface.
3016
3017         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3018         possible values.
3019
3020 2004-04-19  John Levon  <levon@movementarian.org>
3021
3022         * BufferView_pimpl.C:
3023         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3024
3025 2004-04-05  Angus Leeming  <leeming@lyx.org>
3026
3027         * text.C (redoParagraphs): add call to updateCounters(), thereby
3028         fixing the missing "Figure #:" label from the caption of a
3029         figure float.
3030
3031 2004-04-13  Angus Leeming  <leeming@lyx.org>
3032
3033         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3034         cursor is clicked out of an inset.
3035
3036 2004-04-13  Angus Leeming  <leeming@lyx.org>
3037
3038         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3039         than an InsetOld one.
3040
3041 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3042
3043         * format.[Ch]: add editor to Format
3044         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3045         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3046
3047 2004-04-08  André Pönitz  <poenitz@gmx.net>
3048
3049         * metricsinfo.h: remove PainterInfo::width member
3050
3051 2004-04-08  Angus Leeming  <leeming@lyx.org>
3052
3053         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3054         "\providecommand" rather than "\newcommand", thereby preventing
3055         clashes with packages that define "\boldsymbol" themselves.
3056         Eg, beamer.
3057
3058 2004-04-08  Angus Leeming  <leeming@lyx.org>
3059
3060         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3061         thereby squashing an unnecessary warning.
3062
3063 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3064
3065         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3066         setBuffer()
3067
3068 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3069
3070         * BufferView.C (setCursor): call redoParagraph (some insets could
3071         have been opened)
3072         (putSelectionAt): remove the 'double update' trick
3073
3074         * BufferView_pimpl.C (fitCursor): call refreshPar
3075         (workAreaDispatch): remove an uneeded update call
3076         (dispatch): remove some manual update calls
3077
3078         * cursor.[Ch]: remove cached_y_, updatePos
3079         (selHandle): set noUpdate when appropriate
3080
3081         * lyxfunc.C (dispatch): track if we need an update
3082
3083         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3084
3085         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3086         (paintSelection): cheap optimization, do not call cursorX when not
3087         needed
3088         (paintPars): change signature
3089         (refreshPar): add
3090         (paintText): adjust
3091         (paintTextInset): adjust
3092
3093         * text.C: adjust
3094
3095 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3096
3097         * lengthcommon.C: compilation fix: remove explicit array size from
3098         unit_name[] and friends
3099
3100 2004-04-05  Angus Leeming  <leeming@lyx.org>
3101
3102         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3103
3104         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3105         present only for the preferences dialog.
3106         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3107
3108 2004-04-05  Angus Leeming  <leeming@lyx.org>
3109
3110         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3111         to enable the frontends to export changes to lyxrc correctly.
3112
3113         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3114
3115 2004-04-07  André Pönitz  <poenitz@gmx.net>
3116
3117         * cursor.[Ch] (selClear, adjust): remove math
3118
3119         * cursor_slice.C: more agressive assert
3120
3121         * lyxfunc.C:
3122         * BufferView_pimpl.C: rework mouse event dispatch
3123
3124         * dociterator.C:
3125         * paragraph.C:
3126         * text2.C:
3127         * text3.C: adjust
3128
3129 2004-04-05  André Pönitz  <poenitz@gmx.net>
3130
3131         * cursor.[Ch] (valign, halign...): remove unneeded functions
3132
3133 2004-04-05  Angus Leeming  <leeming@lyx.org>
3134
3135         * lyxlength.[Ch] (unit_name et al.): const-correct.
3136
3137 2004-04-05  Angus Leeming  <leeming@lyx.org>
3138
3139         * BufferView_pimpl.C:
3140         * buffer.C:
3141         * counters.C:
3142         * cursor.C:
3143         * lyxfunc.C
3144         * paragraph.C:
3145         * pariterator.C:
3146         * text.C:
3147         * text2.C:
3148         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3149
3150 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3151
3152         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3153
3154 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3155
3156         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3157         * BufferView_pimpl.[Ch] (getStatus)
3158         * BufferView.[Ch] (getStatus): add
3159         * lyxfunc.C (getStatus): move lfuns handled in
3160         BufferView::dispatch to te function above
3161         * Cursor.C (setSelection): set selection() = true
3162
3163 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3164
3165         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3166
3167 2004-03-31  Angus Leeming  <leeming@lyx.org>
3168
3169         * lyxfunc.C (dispatch): Fall through to the generic
3170         Dialogs::show("preamble").
3171
3172 2004-03-31  Angus Leeming  <leeming@lyx.org>
3173
3174         * lyxfunc.C (dispatch): Fall through to the generic
3175         Dialogs::show("spellchecker").
3176
3177 2004-03-31  Angus Leeming  <leeming@lyx.org>
3178
3179         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3180         preferences dialog.
3181
3182 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3183
3184         * BufferView.C
3185         * cursor.[Ch]
3186         * dociterator.[Ch]:
3187         * insetiterator.[Ch]:
3188         * lyxfind.C:
3189         * lyxfunc.C:
3190         * pariterator.[Ch]:
3191         * text2.C:
3192         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3193
3194 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3195
3196         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3197         insets where we are putting the cursor.
3198
3199 2004-03-31  Angus Leeming  <leeming@lyx.org>
3200
3201         * lfuns.h:
3202         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3203
3204         * lyxrc.[Ch] (read, write): overloaded member functions taking
3205         a std::[io]stream arguments.
3206
3207         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3208
3209 2004-03-31  Angus Leeming  <leeming@lyx.org>
3210
3211         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3212         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3213
3214         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3215         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3216
3217 2004-03-31  Angus Leeming  <leeming@lyx.org>
3218
3219         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3220         the LFUN_ALL_INSETS_TOGGLE code.
3221
3222 2004-03-30  Angus Leeming  <leeming@lyx.org>
3223
3224         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3225         has died. Fall through to the generic Dialogs::show("document").
3226
3227 2004-03-30  Angus Leeming  <leeming@lyx.org>
3228
3229         * lfuns.h:
3230         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3231         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3232
3233         * lyxfunc.C (getStatus, dispatch): define the actions for these
3234         lfuns. Little more than a cut and pste job from ControlDocument.C
3235
3236         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3237
3238 2004-03-30  Angus Leeming  <leeming@lyx.org>
3239
3240         * lfuns.h:
3241         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3242         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3243
3244         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3245         open/closed state of ollapsable insets. Usage:
3246
3247         all-inset-toggle <state> <name>, where
3248         <state> == "open" || "closed" || "toggle" and
3249         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3250
3251         * lyxtext.h, text2.C (toggleInset): removed.
3252
3253         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3254         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3255         now passes LFUN_INSET_TOGGLE to the found inset.
3256
3257         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3258         is now invoked as "all-insets-toggle toggle branch".
3259
3260 2004-03-30  Angus Leeming  <leeming@lyx.org>
3261
3262         * dociterator.C:
3263         * insetiterator.C:
3264         * pariterator.[Ch]: added/corrected header blurb.
3265
3266 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * dociterator.[Ch]: add an inset_ member
3269         (backwardPos): implemented
3270         (backwardPos, forwardPos): use inset_ when the stack is empty.
3271         (doc_iterator_begin, doc_iterator_end): implemented
3272         * pariterator.[Ch]: adjust, add begin, end
3273         * insetiterator.[Ch]: adjust, add begin, end
3274         * cursor.C:
3275         * document.C:
3276         * BufferView.C:
3277         * BufferView_pimpl.C:
3278         * CutAndPaste.C: adjust
3279
3280 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3281
3282         * buffer.C: increment file format to 232.
3283         * LaTeXFeatures.C: add bibtopic package.
3284         * bufferparams.[Ch]: param \use_bibtopic.
3285
3286         * lyxrc.[Ch]: add lyxrc bibtex_command
3287         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3288
3289         * buffer.C: increment file format to 231.
3290
3291 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3292
3293         * dociterator.C: implement forwardPar
3294         * iterators.[Ch]: remove, replaced by
3295         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3296         * BufferView.C:
3297         * BufferView_pimpl.C:
3298         * CutAndPaste.C:
3299         * buffer.C:
3300         * bufferview_funcs.C:
3301         * cursor.C:
3302         * lyxfind.C
3303         * lyxfunc.C
3304         * paragraph_funcs.C
3305         * toc.C:
3306         * Makefile.am: adjust
3307
3308 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3309
3310         * CutAndPaste.C (pasteSelection): fix 2 crashes
3311         (eraseSelection): fix a crash
3312         * paragraph_funcs.C: remove a warning
3313
3314 2004-03-28  Angus Leeming  <leeming@lyx.org>
3315
3316         * lfuns.h:
3317         * LyXAction.C (init): new LFUN_PRINT.
3318
3319         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3320
3321 2004-03-27  Angus Leeming  <leeming@lyx.org>
3322
3323         * lfuns.h:
3324         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3325
3326         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3327
3328 2004-03-27  Angus Leeming  <leeming@lyx.org>
3329
3330         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3331         insetlist always contains non-null pointers to insets.
3332
3333 2004-03-26  Angus Leeming  <leeming@lyx.org>
3334
3335         * src/BufferView_pimpl.C:
3336         * src/CutAndPaste.C:
3337         * src/buffer.C:
3338         * src/iterators.C:
3339         * src/output_plaintext.C:
3340         * src/outputparams.h:
3341         * src/paragraph_funcs.C:
3342         * src/rowpainter.C:
3343         * src/text.C:
3344         * src/text2.C:
3345         * src/frontends/controllers/ControlErrorList.C:
3346         * src/frontends/gtk/FileDialogPrivate.C:
3347         * src/frontends/gtk/GPainter.C:
3348         * src/frontends/gtk/GToolbar.C:
3349         * src/frontends/qt2/QRef.C:
3350         * src/mathed/math_scriptinset.C: squash compiler warnings.
3351
3352 2004-03-26  Angus Leeming  <leeming@lyx.org>
3353
3354         * ispell.C (LaunchIspell::start):
3355         * lyx_cb.C (AutoSaveBuffer::start):
3356         invoke run(DontWait) rather than runNonBlocking().
3357
3358 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3359
3360         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3361
3362 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3363
3364         * kbsequence.C (print): adjust
3365
3366         * kbmap.C (printKeySym): rename and change signature
3367         (printKey): use LyXKeySym::print()
3368
3369 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3370
3371         * undo.C: add using std::advance to compile for stlport
3372
3373 2004-03-24  Angus Leeming  <leeming@lyx.org>
3374
3375         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3376         it leads to a crash when no buffer is present.
3377
3378 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3379             Martin Vermeer  <martin.vermeer@hut.fi>
3380
3381         * lyxfunc.C (dispatch):
3382         * bufferparams.C (readToken): use the new LColor::setColor
3383
3384         * LColor.[Ch] (setColor): new version that takes two strings as
3385         argument and creates a new color entry if necessary
3386
3387 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3388
3389         * buffer.C (makeLaTeXFile): if the main latex file that is
3390         processed is usually a subdocument of some master, then pretend
3391         for a while that it is actually the master
3392
3393 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3394
3395         * buffer.C (getLabelList):
3396         (getBibkeyList): use getMasterBuffer()
3397         (getMasterBuffer): new method. Returns the main document in the
3398         case where one is using included documents.
3399
3400 2004-03-25  André Pönitz  <poenitz@gmx.net>
3401
3402         * Makefile.am:
3403         * iterators.[Ch]:
3404         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3405
3406         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3407
3408         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3409         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3410
3411         * ParameterStruct.h: merge with ParagraphParameters
3412
3413         * lyxtext.h: remove LyXText::parOffset() and getPar()
3414
3415         * text3.C: Remove all 'manual' update calls. We do now one per user
3416         interaction which is completely sufficient.
3417
3418         * Bidi.C:
3419         * BufferView.[Ch]:
3420         * BufferView_pimpl.C:
3421         * FontIterator.[Ch]:
3422         * MenuBackend.C:
3423         * ParagraphParameters.[Ch]:
3424         * buffer.C:
3425         * buffer.h:
3426         * bufferlist.C:
3427         * cursor.[Ch]:
3428         * cursor_slice.[Ch]:
3429         * dociterator.[Ch]:
3430         * errorlist.[Ch]:
3431         * factory.C:
3432         * lfuns.h:
3433         * lyxfind.C:
3434         * lyxfunc.C:
3435         * output_docbook.[Ch]:
3436         * output_latex.[Ch]:
3437         * output_linuxdoc.[Ch]:
3438         * output_plaintext.[Ch]:
3439         * paragraph.[Ch]:
3440         * paragraph_funcs.[Ch]:
3441         * paragraph_pimpl.[Ch]:
3442         * rowpainter.C:
3443         * tabular.[Ch]:
3444         * text.C:
3445         * text2.C:
3446         * toc.C:
3447         * undo.[Ch]: adjust
3448
3449         * frontends/controllers/ControlDocument.C:
3450         * frontends/controllers/ControlErrorList.C:
3451         * frontends/controllers/ControlSpellchecker.C:
3452         * insets/inset.C:
3453         * insets/inset.h:
3454         * insets/insetbase.h:
3455         * insets/insetbibitem.C:
3456         * insets/insetbox.C:
3457         * insets/insetbranch.C:
3458         * insets/insetcaption.C:
3459         * insets/insetcharstyle.C:
3460         * insets/insetcharstyle.h:
3461         * insets/insetcollapsable.C:
3462         * insets/insetcollapsable.h:
3463         * insets/insetert.C:
3464         * insets/insetfloat.C:
3465         * insets/insetfoot.C:
3466         * insets/insetmarginal.C:
3467         * insets/insetnote.C:
3468         * insets/insetoptarg.C:
3469         * insets/insettabular.C:
3470         * insets/insettext.C:
3471         * insets/insettext.h:
3472         * insets/insetwrap.C:
3473         * mathed/math_mboxinset.C:
3474         * mathed/math_nestinset.C:
3475         * mathed/math_scriptinset.C:
3476         * mathed/math_scriptinset.h:
3477         * support/types.h:
3478
3479 2004-03-24  Angus Leeming  <leeming@lyx.org>
3480
3481         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3482         deal with any child processes that have finished but are waiting to
3483         communicate this fact to the rest of LyX.
3484
3485 2004-03-24  Angus Leeming  <leeming@lyx.org>
3486
3487         64-bit compile fixes.
3488
3489         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3490         (c-tor): pass lyx::pos_types rather than ints.
3491
3492         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3493         lyx::pos_type.
3494
3495         * text.C (Delete): compile fix.
3496         (getPar): ensure that function declaration is the same as that in
3497         the header file.
3498
3499 2004-03-23  Angus Leeming  <leeming@lyx.org>
3500
3501         * ispell.C (LaunchIspell):
3502         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3503         a boost::shred_ptr rather than a std::auto_ptr.
3504
3505 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3506
3507         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3508         handle LFUN_FILE_INSERT_*
3509
3510         * lyxrc.C (setDefaults, getDescription, output, read):
3511         * lyxrc.h: remove ps_command
3512
3513 2004-03-22  Angus Leeming  <leeming@lyx.org>
3514
3515         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3516         Ensure that error_handler is processed once only and that all data
3517         is saved before attempting to output any warning messages.
3518
3519         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3520
3521 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3522
3523         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3524
3525 2004-03-19  André Pönitz  <poenitz@gmx.net>
3526
3527         * cursor.[Ch] (reset): take main text inset as argument
3528
3529         * BufferView: adjust
3530         * BufferView_pimpl.C: adjust
3531
3532         * paragraph.[Ch]: fix completely broken operator=()
3533
3534 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3535
3536         * LColor.C (getFromLyXName): make sure that the color name is used
3537         as lowercase.
3538
3539 2004-03-17  Angus Leeming  <leeming@lyx.org>
3540
3541         * lfuns.h:
3542         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3543
3544         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3545         dialog and to kill a forked process.
3546
3547 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3548
3549         * text2.C (setCursorFromCoordinates): fix font problem
3550
3551 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3552
3553         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3554         bogus "rebuild cursor" code
3555
3556 2004-03-11  André Pönitz  <poenitz@gmx.net>
3557
3558         * buffer.[Ch]: use InsetText instead of LyXText as container for
3559         the main lyx text.
3560
3561         * dociterator.[Ch]: drop the BufferView * member which is not needed
3562         anymore after the change to buffer.C
3563
3564         * paragraph_funcs.C:
3565         * text.C:
3566         * text2.C:
3567         * BufferView.[Ch]:
3568         * BufferView_pimpl.[Ch]:
3569         * cursor.[Ch]:
3570         * cursor_slice.[Ch]: adjust
3571
3572         * text3.C: fix bug in mathDispatch
3573
3574 2004-03-08  André Pönitz  <poenitz@gmx.net>
3575
3576         * undo.[Ch]: use 'StableDocumentIterator' as base for
3577         the Undo struct.
3578
3579 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3580
3581         * LaTeXFeatures.C:
3582         * bufferparams.[Ch]: add jurabib support and param.
3583
3584         * LaTeX.C: add FIXME/comment.
3585
3586 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3587
3588         * buffer.C: increment file format to 230.
3589
3590 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3591
3592         * cursor.C (dispatch): avoid infinite loops
3593
3594 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3595
3596         * rowpainter.C (paintSelection): fix x coordinates
3597
3598 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3599
3600         * text.C (rowBreakPoint): fix breaking before displayed insets
3601
3602 2004-03-01  André Pönitz  <poenitz@gmx.net>
3603
3604         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3605
3606         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3607
3608         * Makefile.am:
3609         * BufferView.C:
3610         * BufferView_pimpl.C:
3611         * buffer.C:
3612         * lyxfind.C:
3613         * lyxfunc.C:
3614         * text.C:
3615         * text2.C:
3616         * text3.C: adjust
3617
3618 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3619
3620         * lyxtext.h:
3621         * text.C:
3622         * text2.C:
3623         * rowpainter.C:
3624         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3625         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3626
3627 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3628
3629         * Bidi.[Ch] (computeTables): const correctness
3630         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3631         fill_hfill, fill_label_hfill and x from Row
3632         * lyxtext.h: prepareToPrint returns a RowMetrics
3633         * rowPainter.C: adjust
3634         * text.C (prepareToPrint): use width, not textWidth. adjust
3635         (redoParagraphInternal, cursorX): adjust
3636         * text2.C (getColumnNearX): adjust
3637         (init): put a default value to the top LyXText::width
3638
3639 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3640
3641         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3642
3643 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3644
3645         * lyxtext.h: add FontIterator class
3646
3647         * text.C (FontIterator, operator*, operator->, operator++): add
3648         (rowBreakPoint, setRowWidth): adjust (fixing a
3649         rebreaking bug)
3650
3651 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3652
3653         * BufferView_pimpl.C (workAreaDispatch): allow also
3654         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3655
3656 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3657
3658         * text.C (rowBreakPoint): fix a bug showing with very large insets
3659
3660 2004-02-25  André Pönitz  <poenitz@gmx.net>
3661
3662         * text3.C:
3663         * cursor.[Ch]: move some mathed specific code to mathed
3664
3665 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3666
3667         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3668         use_tempdir in preferences
3669         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3670         tempfile creation
3671         * lyx_main.C: ensure that tempdir is valid
3672         * lyxlex.h: correct typo
3673         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3674         * paragraph.[Ch] (isMultiLingual): make const
3675         * cursor.[Ch] (openable): make const
3676
3677 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3678
3679         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3680
3681 2004-02-20  André Pönitz  <poenitz@gmx.net>
3682
3683         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3684
3685         * cursor.[Ch]: prepare for localized getStatus()
3686
3687         * lyxtext.h:
3688         * tabular.C:
3689         * text.C:
3690         * text2.C:
3691         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3692
3693 2004-02-20  André Pönitz  <poenitz@gmx.net>
3694
3695         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3696
3697 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3698
3699         * text2.C (setCursorFromCoordinates): switch to absolute coords
3700         (cursorUp): adjust
3701         (cursorDown): adjust
3702         * text3.C (dispatch): adjust
3703
3704 2004-02-16  André Pönitz  <poenitz@gmx.net>
3705
3706         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3707           insets/ChangeLog)
3708
3709         * cursor_slice.[Ch]: remove unneeded acessor function
3710
3711         * lyxtext.h: rename rtl() to isRTL()
3712
3713         * rowpainter.C:
3714         * tabular.C:
3715         * text.C:
3716         * text2.C:
3717         * text3.C: adjust
3718
3719 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3720
3721         * rowpainter.C (paintSelection): coord fix
3722
3723 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3724
3725         * Spacing.C: compile fix
3726
3727 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3728
3729         * cursor.C (dispatch): restore current_ before returning
3730
3731 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3732
3733         * text2.C (cursorUp, cursorDown): fix coords
3734         (moveUp): fix crash
3735
3736 2004-02-12  André Pönitz  <poenitz@gmx.net>
3737
3738         * lyxtext.h:
3739         * text.C:
3740         * text2.C:
3741         * text3.C: add LCursor & parameter to most cursor movement functions
3742           remove usage of LyXText::cursorRow() and cursorPar()
3743
3744         * cursor.[Ch]: add textRow() needed members
3745
3746         * BufferView.C:
3747         * BufferView_pimpl.C:
3748         * paragraph.[Ch]:
3749         * BufferView.C:
3750         * BufferView_pimpl.C: adjust
3751
3752 2004-02-11  André Pönitz  <poenitz@gmx.net>
3753
3754         * lyxfunc.C:
3755         * BufferView.[Ch]:
3756         * BufferView_pimpl.C: shift undo/redo handling
3757
3758         * cursor.[Ch]: fix mathed crash
3759
3760         * lyxfind.C:
3761         * lyxtext.h: move selectionAsText to LCursor
3762
3763         * output_latex.C:
3764         * paragraph.C:
3765         * text.C:
3766         * text2.C:
3767         * text3.C: adjust
3768
3769         * rowpainter.C: fix excessive drawing
3770
3771 2004-02-06  André Pönitz  <poenitz@gmx.net>
3772
3773         * BufferView.[Ch]:
3774         * BufferView_pimpl.[Ch]:
3775         * text3.C: move some text specific LFUN handling
3776
3777 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3778
3779         * text3.C (checkInsetHit): adjust coords
3780         * text2.C (getColumnNearX): adjust coords
3781         (edit): adjust coords
3782         * text.C (getRowNearY): add two asserts
3783
3784 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3785
3786         * converter.C:
3787         * format.C: add using std::distance to compile on gcc 2.95/stlport
3788
3789 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3790
3791         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3792
3793 2004-02-04  André Pönitz  <poenitz@gmx.net>
3794
3795         * BufferView.[Ch] (insertInset):
3796         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3797
3798         * text2.C:
3799         * text3.C: adjust
3800
3801 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3802
3803         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3804         on the default clause of the switch
3805         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3806         wasn't catched by LCursor::dispatch
3807
3808 2004-02-03  André Pönitz  <poenitz@gmx.net>
3809
3810         * BufferView.C:
3811         * cursor.[Ch]: some additional asserts
3812
3813         * undo.[Ch]: remove LyXText dependency in interface
3814
3815         * lyxfunc.C: adjust
3816
3817         * lyxtext.h (firstPar, lastPar): remove dead functions
3818
3819         * text.C:
3820         * text2.C:
3821         * text3.C:
3822         * paragraph.[Ch]: adjust
3823
3824 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3825
3826         * lyxfind.C (find): fix argument order in call to ::find
3827
3828 2004-02-02  André Pönitz  <poenitz@gmx.net>
3829
3830         * cursor.[Ch]: remove direct access to anchor
3831
3832         * text.C: remove findText() hack
3833
3834 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3835
3836         * iterators.[Ch] (lockPath): remove in favour of...
3837         * BufferView.[Ch] (setCursor): this addition
3838         * BufferView.C (putSelectionAt): adjust
3839         * undo.C (performUndoOrRedo): adjust
3840         * lyxfunc.C (dispatch): adjust
3841
3842 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3843
3844         * iterators.C (lockPath): add a missing slice
3845         * undo.C (performUndoOrRedo): remove redundant positioning code
3846
3847 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3848
3849         * vc-backend.C (scanMaster): ";" -> ';'
3850
3851 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3854         std::binary_function
3855
3856         * lyxtextclass.C (compare_name): rename to...
3857         (LayoutNamesEqual): ...this
3858
3859         * lyxlex_pimpl.C (compare_tags): inherit from
3860         std::binary_function, put back into anon namespace
3861
3862         * lyxfind.C (MatchString): inherig from std::binary_function
3863         (findChange): use empty() istead of !size()
3864
3865         * format.C (FormatNamesEqual): new functor
3866         (getFormat): use it
3867         (getNumber): use it
3868         (add): use it
3869         (erase): use it
3870         (setViewer): use it
3871
3872         * converter.C (compare_Converter): rename to...
3873         (ConverterEqual): ...this, and fixup a bit.
3874         (getConverter): use it, and make function const
3875         (getNumber): use it, and make function const
3876         (add): use it
3877         (erase): use it:
3878
3879         * bufferlist.C: add using boost::bind
3880
3881         * MenuBackend.C (MenuNamesEqual): new functor
3882         (hasMenu): use it, and make function const
3883         (hasSubmenu): use nested bind to get rid of compare_memfun.
3884
3885 2004-01-30  André Pönitz  <poenitz@gmx.net>
3886
3887         * BufferView_pimpl.C:
3888         * cursor.C:
3889         * cursor.h:
3890         * cursor_slice.[Ch]:
3891         * lyxfunc.C:
3892         * lyxtext.h:
3893         * paragraph_funcs.C:
3894         * paragraph_funcs.h:
3895         * rowpainter.C:
3896         * text.C:
3897         * text2.C:
3898         * text3.C: move some of the edit(x,y) handling to the insets
3899         some coordinate changes.
3900
3901 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3902
3903         * text.C: add using statements for std::advance and std::distance
3904
3905         * paragraph.C: add using statement for std::distance
3906
3907         * lyxfind.C: add using statement for std::advance
3908
3909         * cursor.C (region): remove std:: from swap
3910         (openable): use nucleus in stead of operator->
3911
3912         * BufferView.C: add using statements for std::distance and std::swap
3913
3914 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * iterators.C: Remove the pimple, move the needed structures to
3917         the header file. Create accessor for the positions stack.
3918         (asPosIterator): remove function
3919
3920         * PosIterator.C (PosIterator): move constructors to top of file
3921         (PosIterator): reimplement the constructor taking a ParIterator in
3922         terms of setFrom.
3923         (setFrom): new function
3924         (operator!=): inline it
3925
3926 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * lyxfind.C (replaceAll): use std::advance
3929
3930         * iterators.h: inherit from std::iterator.
3931
3932         * PosIterator.C (advance, distance): remove
3933         * PosIterator.h: interit from std::iterator.
3934
3935 2004-01-26  André Pönitz  <poenitz@gmx.net>
3936
3937         * BufferView.[Ch]:
3938         * BufferView_pimpl.[Ch]:
3939         * InsetList.[Ch]:
3940         * PosIterator.[Ch]:
3941         * buffer.h:
3942         * bufferview_funcs.C:
3943         * cursor.[Ch]:
3944         * cursor_slice.h:
3945         * factory.[Ch]:
3946         * iterators.[Ch]:
3947         * lyxfind.C:
3948         * lyxfunc.C:
3949         * lyxtext.h:
3950         * output_docbook.C:
3951         * output_latex.C:
3952         * output_linuxdoc.C:
3953         * output_plaintext.C:
3954         * paragraph.[Ch]:
3955         * paragraph_funcs.[Ch]:
3956         * paragraph_pimpl.[Ch]:
3957         * rowpainter.C:
3958         * tabular.C:
3959         * tabular.h:
3960         * text.C:
3961         * text2.C:
3962         * text3.C: more IU:  dumps most of the rest of the mathcursor
3963     implementation into cursor.[Ch]; "globalize" a bit of it.
3964
3965 2004-01-25  Angus Leeming  <leeming@lyx.org>
3966
3967         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3968
3969 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3970
3971         * LaTeXFeatures.h: add nice_ and nice() const
3972         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3973
3974 2004-01-20  André Pönitz  <poenitz@gmx.net>
3975
3976         * BufferView.[Ch]:
3977         * BufferView_pimpl.C:
3978         * PosIterator.C:
3979         * bufferview_funcs.C:
3980         * cursor.[Ch]:
3981         * cursor_slice.[Ch]:
3982         * factory.C:
3983         * iterators.C:
3984         * lyx_cb.C:
3985         * lyxfind.C:
3986         * lyxfunc.C:
3987         * lyxtext.h:
3988         * rowpainter.C:
3989         * text.C:
3990         * text2.C:
3991         * text3.C:
3992         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3993           LCursor and mathcursor parts to LCursor and InsetBase.
3994
3995 2004-01-15  André Pönitz  <poenitz@gmx.net>
3996
3997         * cursor_slice.[Ch]: add a few covienience functions
3998
3999         * funcrequest.[Ch]: remove BufferView * member
4000
4001         * BufferView_pimpl.C:
4002         * cursor.C:
4003         * factory.[Ch]:
4004         * lyxfind.[Ch]:
4005         * lyxfunc.C:
4006         * lyxtext.h:
4007         * text3.C:
4008         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4009
4010 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4011
4012         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4013         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4014
4015 2004-01-13  André Pönitz  <poenitz@gmx.net>
4016
4017         * textcursor.[Ch]:
4018         * lyxtext.h: hide cursor and selection anchor behind accessor function
4019
4020         * BufferView.C:
4021         * BufferView_pimpl.[Ch]:
4022         * PosIterator.C:
4023         * bufferview_funcs.C:
4024         * cursor.h:
4025         * lyxfind.C:
4026         * lyxfunc.C:
4027         * text.C:
4028         * text2.C:
4029         * text3.C:
4030         * undo.C: adjust
4031
4032         * cursor.h:
4033         * cursor_slice.[Ch]: some integer type changes for inset unification
4034
4035         * lyxcursor.[hC]: remove, it's CursorSlice now.
4036
4037         * Makefile.am:
4038         * BufferView_pimpl.[Ch]:
4039         * bufferview_funcs.C:
4040         * cursor_slice.C:
4041         * lyxtext.h:
4042         * text.C:
4043         * text2.C:
4044         * text3.C:
4045         * textcursor.[Ch]: adjust
4046
4047 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4048
4049         * text2.C (undoSpan): add and use
4050         * text.C (breakParagraph): use undoSpan (fix bug 578)
4051         * lyxtext.h: adjust
4052
4053 2004-01-08  Angus Leeming  <leeming@lyx.org>
4054
4055         * BufferView_pimpl.C (MenuInsertLyXFile):
4056         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4057         * lyxfunc.C (menuNew, open, doImport):
4058         FileFilterList change to the FileDialog open and save functions.
4059
4060 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * ShareContainer.h: make isEqual and isUnique adaptable
4063
4064         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4065
4066 2004-01-07  Angus Leeming  <leeming@lyx.org>
4067
4068         * LyXAction.C:
4069         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4070
4071         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4072
4073         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4074         functions replacing find, replace and replaceAll.
4075
4076         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4077         LFUN_WORDFIND(FORWARD|BACKWARD).
4078
4079 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4080
4081         * text.C (breakParagraph): remove an outdated #warning
4082
4083 2004-01-07  André Pönitz  <poenitz@gmx.net>
4084
4085         * lyxfind.C: somewhat clearer logic
4086
4087         * text.C: prevent crash in cursorX on unitialized row cache
4088
4089 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4090
4091         * lyxcursor.[Ch] (operator>): add
4092         * textcursor.C (selStart, selEnd): use std::min and std::max
4093
4094 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4095
4096         * Chktex.C: include boost/format.hpp
4097
4098 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * InsetList.C: replace functor MathcIt with adaptable functor
4101         InsetTablePosLess
4102         (insetIterator): modify accordingly
4103
4104         * BranchList.h: move the BranchNamesEqual functor here from...
4105         * BranchList.C: ... to here
4106
4107         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4108         SameName and match.
4109         (add): replace a finding loop with std::find_if.
4110
4111 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4112
4113         * output_docbook.C: moving LatexParam functionality into
4114         .layout files
4115
4116 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4117
4118         * buffer.C: increment format to 229.
4119
4120 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4121
4122         * LaTeXFeatures.C:
4123         * lyx_sty.[Ch]: remove minipageindent_def
4124
4125         * LyXAction.C:
4126         * factory.C:
4127         * lfuns.h:
4128         * lyxfunc.C:
4129         * text3.C: remove LFUN_INSET_MINIPAGE
4130
4131 2003-12-28  Angus Leeming  <leeming@lyx.org>
4132
4133         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4134
4135 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4136
4137         * text2.C (setParagraph): fix off-by-one crash
4138
4139 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4140
4141         * output_docbook.C: header stuff for AGU
4142
4143 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4144
4145         * text2.C (redoCursor): remove
4146         * text.C:
4147         * text3.C:
4148         * BufferView_pimpl.C: remove calls to redoCursor and
4149         setCursor(cursor.par(), cursor.pos()) all around
4150
4151 2003-12-15  Angus Leeming  <leeming@lyx.org>
4152
4153         * buffer.C: up the format to 228.
4154
4155 2003-12-15  André Pönitz  <poenitz@gmx.net>
4156
4157         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4158         slices
4159
4160         * Makefile.am:
4161
4162         * BufferView_pimpl.C:
4163         * cursor.[Ch]:
4164         * lyxcursor.[Ch]:
4165         * rowpainter.[Ch]:
4166         * lyxtext.h:
4167         * text.C:
4168         * text2.C:
4169         * text3.C: adjust
4170
4171 2003-12-15  Angus Leeming  <leeming@lyx.org>
4172
4173         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4174         than getFromGUIName to manipulate the color.
4175
4176 2003-12-14  Angus Leeming  <leeming@lyx.org>
4177
4178         * BranchList.[Ch]: minimize the API.
4179         (Branch::getBranch, getColor): now return a 'const &'.
4180         (Branch::setSelected) now returns a bool set to true if the
4181         selection status changes.
4182         (BranchList::clear, size, getColor, setColor, setSelected,
4183         allBranches, allSelected, separator): removed.
4184         (BranchList::find): new functions, returning the Branch with
4185         the given name.
4186         (BranchList::add, remove): return a bool indicating that
4187         the operation was successful.
4188
4189         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4190         new InsetBranch::isBranchSlected member function.
4191
4192         * LColor.[Ch]: mimimize the API.
4193         (fill): renamed as addColor and made private.
4194         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4195         versions of these functions taking a string arg have been removed.
4196
4197         * bufferparams.C (readToken):
4198         * lyxfunc.C (dispatch):
4199         * lyxrc.C (read): changes due to the altered BranchList and
4200         LColor APIs.
4201
4202         * factory.C (createInset, readInset): changes due to altered
4203         InsetBranch c-tor.
4204
4205 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4206
4207         * factory.C:
4208         * lyxfunc.C: remove insetminipage. "minipage-insert"
4209         now produces a frameless minipage box inset.
4210
4211 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4212
4213         * textcursor.[Ch] (selStart,selEnd): add new methods
4214         remove selection::start, end, use LyXCursor::operator<
4215         * lyxcursor.[Ch] (operator<): add
4216         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4217         * BufferView.[Ch] (unsetXSel): add
4218         * text2.C (clearSelection): use unsetXSel,adjust
4219         * text.C: adjust
4220         * text3.C: adjust
4221         * rowpainter.C: adjust
4222         * bufferview_funcs.C (put_selection_at): adjust
4223
4224 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4225
4226         * BufferView_pimpl.C: small coord. correction
4227
4228 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4229
4230         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4231         dragging over the splash screen.
4232
4233 2003-12-11  Angus Leeming  <leeming@lyx.org>
4234
4235         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4236         as it is now handled in LyXText::dispatch.
4237
4238         * text3.C (doInsertInset): remove a level of nesting.
4239
4240 2003-12-11  Angus Leeming  <leeming@lyx.org>
4241
4242         * factory.C (createInset): changes due to the changed interface to
4243         InsetCommandMailer::string2params.
4244
4245 2003-12-10  Angus Leeming  <leeming@lyx.org>
4246
4247         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4248         'dialog-show-new-inset <inset name>'
4249
4250 2003-12-10  Angus Leeming  <leeming@lyx.org>
4251
4252         * buffer.C: up the format to 227.
4253
4254         * factory.C: the box inset is now identified simply by 'Box'.
4255
4256 2003-12-10  Angus Leeming  <leeming@lyx.org>
4257
4258         * buffer.C: up the format to 226.
4259
4260         * factory.C: the note inset is now identified simply by 'Note'.
4261
4262 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4265         when a pit is enough. Standarize a couple of loops.
4266
4267 2003-12-05  Angus Leeming  <leeming@lyx.org>
4268
4269         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4270         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4271         data to the re-worked "log" dialog.
4272
4273 2003-12-03  André Pönitz  <poenitz@gmx.net>
4274
4275         * PosIterator.C:
4276         * iterators.C:
4277         * lyxtext.h:
4278         * output_latex.C:
4279         * paragraph_funcs.C:
4280         * text.C:
4281         * text2.C: use Inset::getText instead of Inset::getParagraph
4282
4283 2003-12-03  André Pönitz  <poenitz@gmx.net>
4284
4285         * buffer.[Ch]:
4286         * lyxtext.h:
4287         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4288         InsetText::read() as LyXText::read()
4289
4290 2003-12-02  Angus Leeming  <leeming@lyx.org>
4291
4292         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4293         type. Add a comment in the implementation that the function uses
4294         the stream's bad() function rather than fail() as the std::streams
4295         would do.
4296
4297 2003-12-02  André Pönitz  <poenitz@gmx.net>
4298
4299         * lyxlex.[Ch]: make interface more similar to std::stream
4300
4301         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4302
4303 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4304
4305         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4306
4307 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4308
4309         * vspace.[Ch]: remove VSpace::NONE
4310
4311 2003-12-01  André Pönitz  <poenitz@gmx.net>
4312
4313         * buffer.[Ch]:
4314         * lyxtext.h: move ParagraphList member to LyXText
4315         rename LyXText::ownerParagraphs to LyXText::paragraph
4316
4317         * CutAndPaste.C:
4318         * bufferview_funcs.C:
4319         * iterators.[Ch]:
4320         * lyx_cb.C:
4321         * paragraph.C:
4322         * rowpainter.C:
4323         * tabular.C:
4324         * text.C:
4325         * text2.C:
4326         * text3.C: adjust
4327
4328         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4329
4330         * undo.C: fix cursor positioning
4331
4332 2003-12-01  John Levon  <levon@movementarian.org>
4333
4334         * BufferView_pimpl.C: fix a crash on exit with
4335         a buffer open
4336
4337 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4338
4339         * BranchList.C: fix setSelected() method.
4340
4341 2003-11-28  André Pönitz  <poenitz@gmx.net>
4342
4343         * ParagraphParameters.[Ch]:
4344         * ParameterStruct.h: remove space above/below from Paragraph to
4345          InsetVSpace
4346
4347         * BufferView_pimpl.C:
4348         * factory.C:
4349         * lyxfunc.C:
4350         * lyxtext.h:
4351         * output_latex.C:
4352         * paragraph.C:
4353         * paragraph_funcs.C:
4354         * rowpainter.[Ch]:
4355         * text.C:
4356         * text2.C:
4357         * text3.C: adjust
4358
4359 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4360
4361         * factory.C: Syntax change for CharStyles
4362
4363 2003-11-28  André Pönitz  <poenitz@gmx.net>
4364
4365         * BufferView.[Ch]:
4366         * BufferView.[Ch]:
4367         * buffer.[Ch]:
4368         * buffer.[Ch]: move LyXText member
4369
4370 2003-11-28  André Pönitz  <poenitz@gmx.net>
4371
4372         * BufferView.[Ch]: make LyXText * text a private member
4373
4374         * BufferView_pimpl.C:
4375         * cursor.C:
4376         * iterators.C:
4377         * lyx_cb.C:
4378         * lyxfind.C:
4379         * lyxtext.h:
4380         * rowpainter.[Ch]:
4381         * text.C:
4382         * text2.C:
4383         * undo.C: adjust
4384
4385         * output_plaintext.C: cleanup
4386
4387 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4388
4389         * buffer.C:
4390         * lyxtextclass.[Ch]: parametrize SGML document header
4391
4392 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4393
4394         * converter.[Ch]:
4395         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4396         getFlavor().
4397
4398 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4399
4400         * text2.C (setFont): rework using PosIterator (no more recursive)
4401         (setCharFont): no more needed
4402         (setLayout): no more selection cursors fiddling (done by redoCursor)
4403         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4404         destroy remaining ones)
4405
4406 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4407
4408         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4409         * lyxtext.h: ditto
4410         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4411         selection cursors
4412         * lyxfunc.C: adjust
4413         * text3.C: adjust + re-allow multi par depth changes
4414         * textcursor.C: simplify a bit
4415
4416 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4417
4418         * src/buffer.C:
4419         * src/lyxlayout.C:
4420         * src/lyxlayout.h:
4421         * src/lyxtext.h:
4422         * src/output_docbook.C:
4423         * src/output_latex.C:
4424         * src/paragraph.C:
4425         * src/paragraph.h:
4426         * src/sgml.C:
4427         * src/sgml.h:
4428         * src/text2.C: Introducing a number of tags parametrizing various
4429         XML formats that we may want to support
4430
4431 2003-11-25  André Pönitz  <poenitz@gmx.net>
4432
4433         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4434
4435         * lyxtext.h (leftMargin/rightMargin): simplify interface
4436
4437         * rowpainter.C:
4438         * text.C:
4439         * text2.C:
4440         * text3.C: adjust
4441
4442 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4443
4444         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4445         master file to any child files. Fixes bug 546.
4446
4447 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4448
4449         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4450
4451 2003-11-24  André Pönitz  <poenitz@gmx.net>
4452
4453         * rowpainter.C: simplification
4454
4455         * text2.C (updateCounters): remove call to redoParagraph on
4456         changed labels as this is far too expensive.
4457
4458 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4459
4460         * converter.C (convert): fix a crash: this function gets
4461         called with buffer == 0 from importer code.
4462
4463 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * text3.C (cursorPrevious): make sure that we do not compare
4466         iterators form different containers.
4467         (cursorNext): ditto
4468
4469         * rowpainter.C (paintSelection): make sure that we do not compare
4470         iterators from different containers.
4471
4472         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4473         iterators from different ParagraphList containers.
4474         [NEXT] ditto
4475
4476         * text2.C (LyXText): change order of initialization slightly
4477         (operator=): new function. copy all variables except cache_par_
4478         (moveUp): make sure that we do not compare iterators from
4479         different ParagraphList constainers.
4480         (moveDown): ditto
4481
4482         * text.C (firstPar): new function
4483         (lastPar): new function
4484         (endPar): new function
4485
4486         * lyxtext.h: move things around and group public functions, public
4487         variables, private functions, private variables
4488
4489 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4490
4491         * factory.C: change call to InsetERT constructor to avoid
4492         additional invocation of method status
4493         * text2.C (toggleInset): remove redundant update() call
4494         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4495         instead of a Bufferview pointer
4496
4497 2003-11-21  André Pönitz  <poenitz@gmx.net>
4498
4499         * rowpainter.C: simplification
4500
4501 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4502
4503         * text3.C (dispatch): make possible to extend a word/row selection
4504         with the mouse
4505
4506 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4507
4508         * lyxtext.h: x0_,y0_ -> xo_,yo_
4509         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4510         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4511         * rowpainter.C (paintRows): paint full paragraphs
4512
4513 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4514
4515         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4516         screen coordinates)
4517
4518 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4519
4520         * lyxtext.h: add x0_, y0_
4521         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4522         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4523
4524 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4525
4526         * text2.C (setCursorIntern): move the x_target update here *
4527         * text3.C: change some bv() to true/false in calls to
4528         cursorUp/Down/Right/Left
4529         * cursor.C: use helper function.
4530
4531 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4532
4533         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4534         * paragraph_funcs.[Ch]: correct comment
4535         * rowpainter.C: do not paint selections away from bv->cursor()
4536         Fix a long standing selection painting bug.
4537         * text3.C: generalize mouse-selection code to LyXTexts other that
4538         top one
4539         * textcursor.C: do not use y coords if we can use par offsets
4540
4541 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4542
4543         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4544         cursor position after e.g. inset insert)
4545
4546 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4547
4548         * lyxfind.C (replace): adjust to locking removal + some
4549         code simplification
4550
4551 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4552
4553         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4554         of the path
4555
4556 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4557
4558         * lyxlayout.[Ch]:
4559         * output_docbook.C: XML sanitation: new layout
4560         parameters InnerTag and CommandDepth
4561
4562 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4563
4564         * BufferView_pimpl.C:
4565         * factory.C:
4566         * text3.C: Fix the insertion and modification of button-style
4567         insets
4568
4569 2003-11-13  André Pönitz  <poenitz@gmx.net>
4570
4571         * InsetList.[Ch]: remove deleteLyXText
4572
4573         * paragraph.[Ch]: cache beginOfBody position
4574
4575         * Bidi.C:
4576         * text.C:
4577         * text2.C:
4578         * text3.C: remove superfluous update() calls
4579
4580         * vspace.C: cleanup
4581
4582 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4583
4584         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4585         * BufferView.C (fitLockedInsetCursor): remove
4586         * cursor.[Ch] (getDim): add
4587         * text.C (getRowNearY): add faster version
4588         * text3.C: remove some update calls
4589
4590 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4591
4592         * LaTeXFeatures.C:
4593         * LyXAction.C:
4594         * MenuBackend.C:
4595         * MenuBackend.h:
4596         * dispatchresult.h:
4597         * factory.C:
4598         * lfuns.h:
4599         * lyxfunc.C:
4600         * lyxtextclass.C:
4601         * lyxtextclass.h:
4602         * text3.C: The Character Style /XML short element patch.
4603
4604 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4605
4606         * text3.C:
4607         * factory.C: Small step to solving 'unable to insert some insets'
4608         problem
4609
4610 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4611
4612         * cursor.[Ch] (updatePos): new function for updating the y
4613         position of the tip inset
4614         * bufferview_funcs.C (put_selection_at):
4615         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4616
4617 2003-11-11  André Pönitz  <poenitz@gmx.net>
4618
4619         * text.C: remove big comment on invalid Paragraph pointers as it is
4620         not valid anymore
4621
4622 2003-11-11  André Pönitz  <poenitz@gmx.net>
4623
4624         * text_funcs.[Ch]: merge with ...
4625
4626         * text.C: ... this
4627
4628         * lyxtext.h:
4629         * text2.C:
4630         * text3.C: adjust
4631
4632         * Makefile.am: remove text_funcs.[Ch]
4633
4634 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4635
4636         * cursor.C (getPos): return absolute cached y coord
4637
4638         * BufferView_pimpl.C (fitCursor): new simplistic code
4639         (workAreaDispatch): add a fitCursor call
4640
4641 2003-11-10  André Pönitz  <poenitz@gmx.net>
4642
4643         * BufferView.[Ch]:
4644         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4645
4646 2003-11-10  André Pönitz  <poenitz@gmx.net>
4647
4648         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4649         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4650         indicate that the cursor needs to leave an inset
4651
4652         * lyxtext.h: remove inset locking
4653
4654         * cursor.[Ch]: re-implement functionality provided by inset locking
4655
4656         * BufferView.[Ch]:
4657         * BufferView_pimpl.[Ch]:
4658         * LyXAction.C:
4659         * bufferview_funcs.[Ch]:
4660         * factory.C:
4661         * funcrequest.[Ch]:
4662         * iterators.C:
4663         * lyx_cb.C:
4664         * lyxfind.C:
4665         * lyxfunc.C:
4666         * text.C:
4667         * text2.C:
4668         * text3.C:
4669         * undo.C: adjust
4670
4671 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4672
4673         * PosIterator.[Ch]: replace the stack with a vector, add inset
4674         accesor
4675         * iterators.[C]: adjust
4676
4677 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4678
4679         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4680         replaced
4681         * paragraph_funcs.C (readParToken): put the correct id in the
4682         error item, not the id of the top paragraph
4683
4684 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4685
4686         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4687         * bufferview_funcs.C (put_selection_at): use the above
4688
4689 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4690
4691         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4692
4693 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4694
4695         * output_linuxdoc.h:
4696         * output_plaintext.h:
4697         * output.h:
4698         * output_docbook.h: add #include statements
4699
4700 2003-11-05  José Matos  <jamatos@lyx.org>
4701
4702         * output_docbook.[Ch]:
4703         * output_latex.[Ch]:
4704         * output_linuxdoc.[Ch]:
4705         * output_plaintext.[Ch]: New files for output formats.
4706         * output.[Ch]: New file for helper functions.
4707
4708         * buffer.[Ch]:
4709         * paragraph_funcs.[Ch]: output functions moved to new files.
4710
4711         * outputparams.h: rename of latexrunparams.h
4712
4713         * LaTeX.[Ch]:
4714         * buffer.[Ch]:
4715         * bufferlist.[Ch]:
4716         * converter.[Ch]:
4717         * exporter.C:
4718         * paragraph.[Ch]:
4719         * paragraph_funcs.[Ch]:
4720         * paragraph_pimpl.[Ch]:
4721         * tabular.[Ch]: rename ascii to plaintext
4722         and LatexRunParams to OutputParams.
4723
4724 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4725
4726         * iterators.[Ch] (text): require bv argument
4727         * undo.C (recordUndo):
4728         * lyxfunc.C (dispatch):
4729         * bufferview_funcs.C (put_selection_at): adjust
4730
4731 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4732
4733         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4734
4735 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4736
4737         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4738         nestings
4739
4740 2003-11-04  André Pönitz  <poenitz@gmx.net>
4741
4742         * cursor.[Ch]: restructure
4743
4744         * BufferView.[Ch]:
4745         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4746
4747         * iterators.[Ch] (asCursor): remove
4748
4749         * lfuns.h: remove LFUN_INSET_EDIT
4750
4751         * lyxfunc.C:
4752         * tabular.C:
4753         * text.C:
4754         * text2.C:
4755         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4756
4757 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4758
4759         * lyxfind.[Ch]: complete overhaul
4760         * BufferView_pimpl.C:
4761         * lyxfunc.C: adjust
4762         * paragraph.[Ch] (insert): add
4763
4764 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4765
4766         * BufferView.[Ch]:
4767         * lyxtext.h:
4768         * text.C: remove dead spellcheck code
4769
4770 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4771
4772         * dispatchresult.h: add a val setter
4773
4774         * cursor.C (dispatch): use a tempvar for data_[i]
4775
4776 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4777
4778         * PosIterator.[Ch]: compile fix
4779
4780 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4781
4782         * text.C (cursorPar): deactivate the cursor cache
4783
4784 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4785
4786         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4787
4788 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * text3.C (dispatch): adjust for new DisptchResult semantics.
4791
4792         * lyxfunc.C (dispatch): handle update when return from
4793         Cursor::dispatch, adjust for new DispatchResult semantics.
4794
4795         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4796         DispatchResult(true) mean to not update. Add class functions for
4797         setting dispatched and update, as well as reading.
4798
4799         * cursor.C (dispatch): don't handle update here
4800
4801 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4802
4803         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4804         * trans_mgr.C: adjust
4805
4806         * paragraph_funcs.C (readParToken): exception safety
4807
4808         * lyxvc.h: store the vcs pointer in a scoped_ptr
4809         * lyxvc.C: adjust
4810
4811         * lyxsocket.C (serverCallback): exception safety
4812
4813         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4814
4815         * ispell.C (clone): make it return a auto_ptr
4816
4817         * factory.C (createInset): exception safety
4818         (readInset): exception safety
4819
4820         * bufferlist.C (newBuffer): exception safety
4821
4822         * Thesaurus.C (Thesaurus): use initialization for aik_
4823
4824         * MenuBackend.C (expandToc): exception safety.
4825
4826 2003-11-03  André Pönitz  <poenitz@gmx.net>
4827
4828         * buffer.C:
4829         * buffer.h:
4830         * bufferview_funcs.C: remove getInsetFromId()
4831
4832         * lyxcursor.[Ch]:
4833         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4834
4835         * lyxfunc.C:
4836         * text2.C:
4837         * text3.C: adjust
4838
4839 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4840
4841         * PosIterator.C (distance, advance): new
4842         * bufferview_funcs.[Ch] (put_selection_at): new
4843         * iterators.[Ch] (lockPath): new
4844
4845 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4846
4847         * iterators.[Ch] (asPosIterator): added
4848         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4849         * PosIterator.[Ch]: added
4850
4851 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4852
4853         * text3.C:
4854         * lyxfunc.C:
4855         * cursor.C (dispatch):
4856         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4857
4858         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4859         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4860         contructor, add a class function dispatched. Remove operator>=
4861
4862 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * debug.C: only use the default constructor for debugstream
4865         (lyxerr) here.
4866
4867         * main.C (main): include debug.h and setup the lyxerr streambuf
4868         here.
4869
4870 2003-10-31  José Matos  <jamatos@lyx.org>
4871
4872         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4873
4874         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4875         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4876         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4877         * paragraph_pimpl.C (simpleTeXSpecialC):
4878         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4879         add LatexRunParams argument.
4880
4881         * exporter.C (Export): change call accordingly.
4882
4883         * latexrunparams.h: add new member to take care of the other backends.
4884 2003-10-30  José Matos  <jamatos@lyx.org>
4885
4886         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4887         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4888         factorise code for paragraph output.
4889         * buffer.[Ch]:
4890         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4891         move functions.
4892
4893 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * text3.C (dispatch):
4896         * lyxfunc.C (dispatch):
4897         * cursor.C (dispatch):
4898         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4899
4900         * dispatchresult.h: make the dispatch_result_t ctor explicit
4901
4902 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4903
4904         * sgml.[Ch]:
4905         * buffer.C: small refactoring of docbook stuff
4906
4907 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4908
4909         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4910         meaning.
4911
4912 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4915         operator dispatch_result_t, and operators for == != and >=
4916
4917         * cursor.C (dispatch): adjust for operator dispatch_result_t
4918         removal. comment out call to update
4919
4920         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4921
4922 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * text3.C:
4925         * text2.C:
4926         * text.C:
4927         * lyxtext.h:
4928         * lyxfunc.C:
4929         * cursor.C:
4930         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4931         (dispatch):
4932
4933         * dispatchresult.h: new file, DispatchResult broken out of
4934         insets/insetbase.h
4935
4936         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4937
4938 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4939
4940         * text.C (rowBreakPoint): put a hack inside #if 0
4941
4942 2003-10-28  André Pönitz  <poenitz@gmx.net>
4943
4944         * lyxtext.h:
4945         * metricsinfo.C:
4946         * paragraph_funcs.C:
4947         * rowpainter.C:
4948         * text.C:
4949         * text2.C: general cleanup (lots of small stuff)
4950
4951 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4952
4953         * text2.C (cursorEnd): simple fix to the "end key goes to one
4954         before the end on last row" bug
4955
4956 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4957
4958         * text.C (backspace): fix the "zombie characters"
4959
4960 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4961
4962         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4963
4964 2003-10-27  André Pönitz  <poenitz@gmx.net>
4965
4966         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4967
4968         * factory.C: handle new InsetPagebreak, InsetLine
4969
4970         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4971         and move handling into new InsetPagebreak, InsetLine
4972
4973         * BufferView_pimpl.C:
4974         * LyXAction.C:
4975         * ParagraphParameters.C:
4976         * ParameterStruct.h:
4977         * lyxfunc.C:
4978         * lyxtext.h:
4979         * paragraph.C:
4980         * paragraph.h:
4981         * paragraph_funcs.C:
4982         * paragraph_pimpl.C:
4983         * rowpainter.C:
4984         * text.C:
4985         * text2.C:
4986         * text3.C: adjust
4987
4988 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4989
4990         * text.C:
4991         * lyxrow_funcs.[Ch]:
4992         * Bidi.C:
4993         * paragraph.C:
4994         * lyxtext.h:
4995         * rowpainter.C:
4996         * text2.C:
4997         * text3.C: remove lastPos uses in favour of Row::endpos
4998
4999 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5000
5001         * undo.C (performUndoOrRedo): fix two crashes by setting a
5002         cursor by hand and reordering some calls. Use bv->lockInset instead
5003         of inset->edit because the latter loses cursor information
5004
5005 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5006
5007         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5008         by Martin
5009         (rowBreakPoint): fix width. change point to point + 1.
5010         Add a missing check.
5011
5012 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5013
5014         * MenuBackend.C:
5015         * lyxfunc.C: fix (at least partly) the problems
5016         with the Nav menu and headers inside branch insets
5017         reported by Kayvan
5018
5019 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * paragraph.C (getChar): add strong asserts
5022
5023         * lyxrow_funcs.C (lastPos): remove hideous hack
5024
5025         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5026         (fill): adjust to that (avoid an infinite loop)
5027
5028 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5029
5030         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5031
5032 2003-10-23  André Pönitz  <poenitz@gmx.net>
5033
5034         * RowList_fwd.h: change list<> to vector<> to gain speed
5035         after suggestion from Alfredo
5036
5037 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5038
5039         * lyxtext.h: move the bidi stuff from here...
5040         * text.C: and here
5041         * text2.C: and here
5042         * Bidi.[Ch]: ... to here
5043
5044 2003-10-23  André Pönitz  <poenitz@gmx.net>
5045
5046         * lyxtext.h:
5047         * text.C (isLastRow, isFirstRow): new functions
5048
5049         * paragraph.h: new width cache member
5050
5051         * rowpainter.C: replace RowList::iterator with Row & where possible
5052
5053         * lyxfunc.C: replace several view()->text with a single call
5054
5055         * toc.C: fix 'unused' warning
5056
5057 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5058
5059         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5060         when woring with stream::pos_type
5061         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5062
5063 2003-10-22  André Pönitz  <poenitz@gmx.net>
5064
5065         * lyxtext.h:
5066         * text.C: use Row & instead of RowList::iterator
5067
5068         * lyxrow.h: rename end() to endpos()
5069
5070         * rowpainter.C:
5071         * text.C:
5072         * text2.C: adjust
5073
5074 2003-10-22  Angus Leeming  <leeming@lyx.org>
5075
5076         * buffer.[Ch] (fully_loaded): new member function, returning true
5077         only when the file has been loaded fully.
5078         Used to prevent the premature generation of previews and by the
5079         citation inset to prevent computation of the natbib-style label.
5080
5081         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5082         templates are all set up.
5083
5084         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5085
5086 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5087
5088         * text.C: fixed an "oops" in the "is a bit silly"
5089         bug fix
5090
5091 2003-10-21  André Pönitz  <poenitz@gmx.net>
5092
5093         * FuncStatus.[Ch]: small stuff, whitespace
5094
5095         * lyxfont.[Ch]: operator<<() for debug reasons
5096
5097         * lyxfunc.C:
5098         * lyxrow_funcs.C:
5099         * lyxtext.h: whitespace, spelling
5100
5101         * paragraph.C: naming of variables
5102
5103         * text.C:
5104         * text2.C: small stuff
5105
5106
5107 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5108
5109         * text.C: (1) finish off the inset display() work;
5110         (2) fix the "is a bit silly" bug (accessing char
5111         past end of par).
5112
5113 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5114
5115         * text.C: re-introduce display() for insets, fixing the
5116         various bugs (stretch of line above, math inset
5117         positioning, ...)
5118
5119 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5120
5121         * text.C (rightMargin): remove spurious semicolon
5122
5123         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5124         1415)
5125
5126 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5127
5128         * text3.C: fix one crash due to wrong cursor def
5129
5130 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5131
5132         * vc-backend.C (scanMaster): make the regex static
5133
5134         * LaTeX.C (scanAuxFile): make the regexs static
5135
5136         * text3.C (doInsertInset, dispatch, dispatch):
5137         * text2.C (cursorUp, cursorDown):
5138         * text.C (selectNextWordToSpellcheck):
5139         * BufferView_pimpl.C (dispatch):
5140         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5141
5142 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5143
5144         * lyxsocket.C: include <cerrno>
5145
5146 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * lyxfunc.C (dispatch): remove textcache stuff
5149
5150         * bufferlist.C (release): remove textcache stuff
5151         (closeAll): ditto
5152
5153         * TextCache.C: delete file
5154         * TextCache.h: delete file
5155
5156         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5157
5158         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5159         delete of the bv_->text.
5160         (resizeCurrentBuffer): remove texcache stuff
5161         (workAreaResize): ditto
5162
5163 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5166         action.
5167
5168 2003-10-16  André Pönitz  <poenitz@gmx.net>
5169
5170         * lyxrow.[Ch]:
5171         * paragraph.h:
5172         * rowpainter.C:
5173         * text.C:
5174         * text2.C:
5175         * text3.C: speed up by storing y positions per paragraph plus per-row
5176         offset instead of having a 'full' y position in the row.
5177
5178 2003-10-15  André Pönitz  <poenitz@gmx.net>
5179
5180         * iterators.[Ch]:
5181         * iterators.[Ch]:
5182         * undo.[Ch]: make undo aware of inner insets
5183
5184 2003-10-14  Angus Leeming  <leeming@lyx.org>
5185
5186         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5187         static member functions LyX::ref() and LyX::cref.
5188         (lastfiles): new accessor functions for the new lastfiles_ member var.
5189         (addLyXView, views_): add a new LyXView to the list of views_.
5190         (updateInset): loop over all LyXViews to call their own updateInset
5191         member function, returning a pointer to the Buffer owning the inset.
5192
5193         * BufferView_pimpl.C (loadLyXFile):
5194         * MenuBackend.C (expandLastfiles):
5195         * bufferlist.C (MenuWrite, QuitLyX):
5196         lastfiles is no longer a global variable.
5197         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5198
5199         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5200         static function. Access through LyX::cref().emergencyCleanup().
5201
5202 2003-10-14  André Pönitz  <poenitz@gmx.net>
5203
5204         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5205
5206         * undo.[Ch]: restoring part of 'undo in insets'
5207
5208         * Makefile.am:
5209         * undo_funcs.[Ch]: merge with undo.[Ch]
5210
5211         * tabular.C: small cleansing stuff
5212
5213 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5214
5215         * paragraph_funcs.C (readParToken): report unknown insets as error
5216         boxes. Use the outer paragraph as location (also for unknown
5217         tokens).
5218
5219         * factory.C (readInset): do not abort on reading an unknown inset.
5220         Eat it and return 0.
5221
5222 2003-10-13  Angus Leeming  <leeming@lyx.org>
5223
5224         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5225
5226         * lyxrc.C: displayTranslator is now a function,
5227         declared in GraphicsTypes.h.
5228
5229 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5230
5231         * format.C: new placeholder $$a to pass the socket address.
5232
5233         * bufferlist.[Ch]: new function getBufferFromTmp.
5234
5235         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5236           files in the temporary dir.
5237
5238 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5239
5240         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5241
5242         * Makefile.am: add lyxsocket.[Ch].
5243
5244         * lyx_main.C (error_handler): handle SIGPIPE.
5245
5246 2003-10-13  André Pönitz  <poenitz@gmx.net>
5247
5248         * BufferView_pimpl.C:
5249         * lyxtext.h:
5250         * text.C:
5251         * text2.C:
5252         * text3.C:
5253         * undo_funcs.[Ch]: use paroffset_type instead of
5254           ParagraphList::iterators to prevent multiple conversion
5255           (and get a more robust interface)
5256
5257 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5260         * lyxtext.h: ditto
5261         * text3.C (dispatch): ditto
5262
5263 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5266         move the onlyfile, use onlyfile instead of foundfile in a couple
5267         of places.
5268
5269         * DepTable.C (update): flush the error stream a bit more
5270
5271 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5272
5273         * lyxserver.C (callback): adjust
5274
5275         * lyxfunc.C (getStatus): add a missing brace in commented code
5276         (ensureBufferClean): reindent
5277         (dispatch): delete version taking a string
5278
5279 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * LaTeX.C (deplog): move found file handlig from here...
5282         (handleFoundFile): .. to new function here.
5283         (deplog): make sure to discover several files mentioned on the
5284         same log line.
5285
5286 2003-10-10  André Pönitz  <poenitz@gmx.net>
5287
5288         * lyxfunc.C:
5289         * lyxtext.h:
5290         * tabular.C:
5291         * text.C:
5292         * text2.C:
5293         * text3.C: fix some of the tabular crashes
5294
5295 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5296
5297         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5298
5299         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5300
5301 2003-10-09  André Pönitz  <poenitz@gmx.net>
5302
5303         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5304
5305         * BufferView.C:
5306         * BufferView_pimpl.C:
5307         * bufferview_funcs.C:
5308         * lyx_cb.C:
5309         * lyxcursor.C:
5310         * lyxfind.C:
5311         * lyxfunc.C:
5312         * lyxtext.h:
5313         * text.C:
5314         * text2.C:
5315         * text3.C:
5316         * text_funcs.[Ch]:
5317         * textcursor.[Ch]:
5318         * undo_funcs.C: adjust
5319
5320 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * text2.C (incrementItemDepth): new function, use a backtracking
5323         algorithm to discover the correct item depth.
5324         (resetEnumCounterIfNeeded): new function, use a backtracking
5325         algorithm to discover if counter reset is needed.
5326         (setCounter): use them. Simplify a bit. Add different labels for
5327         different item depths for itemize.
5328
5329         * paragraph.C (Paragraph): remove initialization of enumdepth
5330         (operator=): ditto
5331
5332         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5333         enumerate and itemize. Change the type of itemdepth to signed char.
5334
5335 2003-10-08  André Pönitz  <poenitz@gmx.net>
5336
5337         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5338           thing assignable.
5339         * text.C:
5340         * text2.C: adjust
5341
5342         * tabular.[Ch]: fix crash after 'row-insert'
5343
5344 2003-10-08  Angus Leeming  <leeming@lyx.org>
5345
5346         Fix doxygen warnings.
5347
5348         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5349         Remove CutAndPaste:: prefix from header file declaration.
5350
5351         * LColor.h (fill): remove LColor:: prefix from declaration.
5352
5353         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5354         use lyx::depth_type rather than Paragraph::depth_type so that
5355         header file and .C file match.
5356
5357         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5358
5359         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5360         * aspell.C: \file aspell_local.C -> \file aspell.C
5361         * gettext.C: \file gettext.C -> \file src/gettext.C
5362         * gettext.h: \file gettext.h -> \file src/gettext.h
5363         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5364         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5365         * text.C: \file text.C -> \file src/text.C
5366
5367         * toc.C: move comment so that doxygen is not confused.
5368
5369 2003-10-07  Angus Leeming  <leeming@lyx.org>
5370
5371         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5372
5373 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5374
5375         * aspell.C:
5376         * aspell_local.h: add forgotten std::string's.
5377
5378 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5379
5380         * LaTeXFeatures.C:
5381         * LyXAction.C:
5382         * factory.C:
5383         * lfuns.h:
5384         * lyxfunc.C:
5385         * text3.C: The Box patch. Fancybox support, minipage, parbox
5386
5387 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5388
5389         * CutAndPaste.h:
5390         * DepTable.h:
5391         * FloatList.h:
5392         * LaTeXFeatures.h:
5393         * ParagraphParameters.h:
5394         * TextCache.h:
5395         * Thesaurus.h:
5396         * bufferlist.h:
5397         * exporter.h:
5398         * importer.h:
5399         * lastfiles.h:
5400         * lyxfind.h:
5401         * lyxfont.h:
5402         * lyxlex.h:
5403         * lyxtextclasslist.h:
5404         * messages.h:
5405         * paragraph.h:
5406         * paragraph_pimpl.C:
5407         * textcursor.h: add <string> and other small fixes to make Lars'
5408         std::string patch compile with STLport.
5409
5410 2003-10-06  Angus Leeming  <leeming@lyx.org>
5411
5412         * LColor.h: Add missing #include <string>.
5413
5414 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5415
5416         * All most all file in all subdirs: Make <string> be the prefered
5417         way of getting to std::string, add using declarations.
5418
5419 2003-10-06  André Pönitz  <poenitz@gmx.net>
5420
5421         * metricsinfo.C: initialize LyXFont before changing attribute.
5422         (fixes the 'math in \emph is upright' bug)
5423
5424 2003-10-06  André Pönitz  <poenitz@gmx.net>
5425
5426         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5427
5428 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5429
5430         * graph.C:
5431         * paragraph_pimpl.C: Small fixes to build using STLport
5432
5433 2003-10-02  André Pönitz  <poenitz@gmx.net>
5434
5435         * lyxfunc.C:
5436         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5437
5438 2003-10-01  André Pönitz  <poenitz@gmx.net>
5439
5440         * factory.C: assert early
5441
5442 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * lyx_main.C: remove the global debug object
5445
5446         * debug.h: adjust for new debugstream
5447
5448         * debug.C: adjust for new debugstream and keep the global debug
5449         object here.
5450
5451 2003-09-22  Angus Leeming  <leeming@lyx.org>
5452
5453         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5454         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5455         an incomplete class LyXFont.
5456
5457 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5458
5459         * factory.C: bug fix in branches
5460
5461 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * lyxfunc.C (processKeySym): adjust
5464         (dispatch): adjust
5465         (dispatch): change arg name from ev to func, adjust
5466         (sendDispatchMessage): ditto
5467
5468         * lyx_main.C (defaultKeyBindings): adjust keybindings
5469         (deadKeyBindings): ditto
5470
5471         * kbsequence.C (addkey): return a FuncRequest
5472
5473         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5474
5475         * kbmap.C (bind): take a FuncRequest as arg, adjust
5476         (read): adjust
5477         (lookup): adjust
5478         (defkey): change to take a FuncRequest as arg, adjust
5479         (findbinding): take a FuncRequest as arg, adjust.
5480
5481         * funcrequest.h (operator=): added
5482
5483         * funcrequest.C (FuncRequest): default kb_action changed from
5484         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5485
5486         * buffer.C (dispatch): simplify
5487         (dispatch): adjust to take a FuncRequest as arg, adjust
5488
5489         * boost.C (assertion_failed): change assertion message slightly
5490
5491         * ToolbarBackend.C (read): simplify
5492
5493         * MenuBackend.C (binding): adjust call to findbinding, add a
5494         message if no binding is found.
5495         (read): simplify
5496         (expandToc): correct by adding a empty FuncRequest
5497
5498         * LyXAction.C: include <boost/assert.hpp>
5499         (isPseudoAction): delete function
5500         (LookupFunc): change name to...
5501         (lookupFunc): this. change return type to FuncRequest.
5502         (getActionName): take kb_action as arg, simplify
5503         (funcHasFlag): add an assert, simplify.
5504
5505 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * toc.C (action): return a FuncRequest, simplify
5508
5509         * lyxfunc.C (processKeySym): adjust
5510         (getStatus): delete version that takes an int.
5511         (getStatus): adjust
5512         (dispatch): delete version that takes action as int
5513         (dispatch): adjust
5514         (sendDispatchMessage): simplify and adjust
5515
5516         * funcrequest.C (getArg): take unsigned int as arg
5517
5518         * ToolbarBackend.C (read): adjust
5519         (add): delete version that takes func as a string.
5520         (getIton): take a FuncRequest as arg
5521
5522         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5523         action.
5524
5525         * MenuBackend.C (MenuItem): add a new construct that only takes a
5526         Kind, simplify the constructor use for submenus.
5527         (add): adjust
5528         (expandLastfiles): adjust
5529         (expandDocuments): adjust
5530         (expandFormats): adjust
5531         (expandFloatListInsert): adjust
5532         (expandFloatInsert): adjust
5533         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5534
5535         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5536         Remove class variables lyx_pseudo_map and lyx_arg_map
5537
5538         * LyXAction.C (searchActionArg): delete function
5539         (getPseudoAction): delete function
5540         (retrieveActionArg): delete function
5541         (LookupFunc): make it return kb_action, simplify.
5542         (getActionName): simplify
5543
5544         * factory.C (createInset): fix new bug
5545
5546 2003-09-19  Angus Leeming  <leeming@lyx.org>
5547
5548         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5549         masterFilename_ parameter in the include inset.
5550
5551         * factory.C (createInset): changes due to the changes to InsetInclude.
5552
5553 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5554
5555         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5556
5557 2003-09-18  Angus Leeming  <leeming@lyx.org>
5558
5559         * buffer.C:
5560         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5561         Inset::fillWithBibKeys.
5562         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5563
5564 2003-09-18  Angus Leeming  <leeming@lyx.org>
5565
5566         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5567         variables.
5568         (ctor): pass and store a 'Buffer const &'
5569         (buffer): new member function.
5570
5571         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5572         '*this' to the LaTeXFeatures ctor.
5573
5574 2003-09-18  Angus Leeming  <leeming@lyx.org>
5575
5576         * LColor.h:
5577         * lyxfont.C:
5578         * lyxfont.h:
5579         * lyxtext.h:
5580         * text.C: rename EnumLColor as LColor_color.
5581
5582 2003-09-18  Angus Leeming  <leeming@lyx.org>
5583
5584         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5585         remove #include "insets/insetbase.h" from cursor.h.
5586
5587 2003-09-18  Angus Leeming  <leeming@lyx.org>
5588
5589         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5590         InsetOld_code to remove #include "inset.h".
5591
5592         * iterators.C: add #include "insets/inset.h"
5593
5594 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5595
5596         * BufferView.C: remove more locking stuff that apparently doesn't
5597         do anything sensible.
5598
5599 2003-09-16  André Pönitz  <poenitz@gmx.net>
5600
5601         * paragraph.[Ch]:
5602         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5603           performance boost.
5604
5605 2003-09-16  Angus Leeming  <leeming@lyx.org>
5606
5607         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5608
5609         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5610         arg/return type.
5611
5612         * paragraph.h: remove #include "lyxfont.h". Forward declare
5613         LyXFont_size.
5614
5615 2003-09-16  Angus Leeming  <leeming@lyx.org>
5616
5617         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5618         of support/textutils.h.
5619         (isWord): move the contents of support/textutils.h's IsWordChar here.
5620
5621         * buffer.C:
5622         * lyxfind.C:
5623         * rowpainter.C:
5624         * text.C:
5625         * text2.C: add #include "paragraph.h".
5626
5627         * rowpainter.C:
5628         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5629
5630 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * main.C:
5633         * lyx_main.C:
5634         * lyx_cb.C:
5635         * buffer.C:
5636         * LaTeX.C: use namespace alias for lyx::support::os
5637
5638 2003-09-16  Angus Leeming  <leeming@lyx.org>
5639
5640         * bufferparams.C:
5641         * bufferview_funcs.C:
5642         * factory.C:
5643         * lyxfunc.C:
5644         * paragraph_pimpl.C:
5645         * rowpainter.C:
5646         * text.C: add #include "LColor.h".
5647
5648 2003-09-16  Angus Leeming  <leeming@lyx.org>
5649
5650         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5651         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5652         return LyXFont &.
5653         Store the FontBits::color variable as an int rather than as an
5654         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5655         file.
5656
5657         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5658         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5659         string calls together.
5660
5661         * lyxrc.C: add #include "LColor.h".
5662
5663 2003-09-15  Angus Leeming  <leeming@lyx.org>
5664
5665         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5666         a cow_ptr.
5667
5668 2003-09-15  Angus Leeming  <leeming@lyx.org>
5669
5670         * LColor.h: add an EnumLColor wrapper for LColor::color.
5671
5672         * lyxfont.[Ch] (color, setColor, realColor):
5673         * lyxtext.h, text.C (backgroundColor):
5674         pass EnumLColor args to/from the functions, rather than LColor::color
5675         ones.
5676
5677         * lyxfont.h:
5678         * lyxtext.h: forward declare EnumLColor.
5679
5680         * lyx_main.C: add #include "LColor.h".
5681
5682 2003-09-15  Angus Leeming  <leeming@lyx.org>
5683
5684         * .cvsignore: add lyx-gtk.
5685
5686 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5687
5688         * Chktex.C
5689         * LaTeX.C
5690         * LaTeXFeatures.C
5691         * ParagraphParameters.C
5692         * Spacing.C
5693         * buffer.C
5694         * bufferparams.C
5695         * bufferview_funcs.C
5696         * chset.C
5697         * counters.C
5698         * funcrequest.C
5699         * lyxfont.C
5700         * lyxgluelength.C
5701         * lyxlength.C
5702         * paragraph.C
5703         * paragraph_funcs.C
5704         * text3.C
5705         * vc-backend.C: remove usage of STRCONV
5706
5707 2003-09-15  Angus Leeming  <leeming@lyx.org>
5708
5709         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5710         explicitly define the color passed to the painter.
5711
5712 2003-09-15  Angus Leeming  <leeming@lyx.org>
5713
5714         * bufferparams.C (BufferParams): reorder member initializers to avoid
5715         compiler warning.
5716
5717 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5718
5719         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5720         * text.C (updateRowPositions): remove an unusual nop
5721
5722 2003-09-12  André Pönitz  <poenitz@gmx.net>
5723
5724         * BufferView_pimpl.C:
5725         * Bullet.C:
5726         * layout.h:
5727         * lyxfunc.C:
5728         * lyxlayout.[Ch]:
5729         * lyxtextclass.C:
5730         * rowpainter.C:
5731         * text.C:
5732         * text2.C:
5733         * Counters.[Ch]: finish the 'automatic counters' job
5734
5735 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5736
5737         * aspell.C: include <boost/assert.cpp> (compile fix)
5738
5739 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5740
5741         * boost.C (assertion_failed): use lyx::support::abort instead of
5742         assert.
5743
5744 2003-09-10  Angus Leeming  <leeming@lyx.org>
5745
5746         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5747         with their _fwd progeny.
5748
5749 2003-09-09  Angus Leeming  <leeming@lyx.org>
5750
5751         134 files throughtout the source tree: replace 'using namespace abc;'
5752         directives with the appropriate 'using abc::xyz;' declarations.
5753
5754 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5755
5756         * boost.C (emergencyCleanup): moved here from LAssert.c
5757         (assertion_failed): new function, called by BOOST_ASSERT
5758
5759         * several files: change Assert to BOOST_ASSERT
5760
5761 2003-09-09  Angus Leeming  <leeming@lyx.org>
5762
5763         * buffer.[Ch]: Add an Impl class and move Buffer's member
5764         variables into it. As a result move several header files out of
5765         buffer.h.
5766
5767         Add header files to lots of .C files all over the tree as a result.
5768
5769 2003-09-09  Angus Leeming  <leeming@lyx.org>
5770
5771         * buffer.[Ch]: make Buffer's member variables private. Add
5772         accessor functions.
5773
5774         Lots of changes all over the tree as a result.
5775
5776 2003-09-08  Angus Leeming  <leeming@lyx.org>
5777
5778         * graph.C: #include <config.h>.
5779
5780 2003-09-08  Angus Leeming  <leeming@lyx.org>
5781
5782         * BranchList.C:
5783         * BufferView.C:
5784         * BufferView_pimpl.C:
5785         * CutAndPaste.C:
5786         * DepTable.C:
5787         * LaTeX.C:
5788         * LaTeXFeatures.C:
5789         * LyXAction.C:
5790         * MenuBackend.C:
5791         * TextCache.C:
5792         * aspell.C:
5793         * buffer.C:
5794         * bufferlist.C:
5795         * changes.C:
5796         * chset.C:
5797         * converter.C:
5798         * counters.C:
5799         * debug.C:
5800         * graph.C:
5801         * ispell.C:
5802         * lyx_cb.C:
5803         * lyxfind.C:
5804         * lyxfunc.C:
5805         * lyxlex_pimpl.C:
5806         * lyxrc.C:
5807         * lyxrow.C:
5808         * paragraph.C:
5809         * rowpainter.C:
5810         * texrow.C:
5811         * text.C:
5812         * text2.C:
5813         * toc.C: remove redundant using directives.
5814
5815 2003-09-07  Angus Leeming  <leeming@lyx.org>
5816
5817         * LaTeXFeatures.h: remove #include "support/types.h".
5818         * ToolbarBackend.h: remove #include <algorithm>.
5819         * changes.h: remove #include <ctime>.
5820         * debug.h: remove #include <iosfwd>.
5821         * graph.h: remove #include "support/std_string.h".
5822         * lyx_main.h: remove #include <csignal>.
5823         * lyxlex_pimpl.h: remove #include <fstream>.
5824         * sgml.h: remove #include <algorithm>, <utility>.
5825         * toc.h: remove #include "support/std_ostream.h".
5826         Add #include <iosfwd>.
5827
5828 2003-09-07  Angus Leeming  <leeming@lyx.org>
5829
5830         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5831
5832         * converter.h: forward declare LatexRunParams.
5833         * encoding.h: remove #include "lyxrc.h".
5834         * lyxtext.h: remove #include "LColor.h".
5835         * lyxtextclass.h: remove #include "support/types.h".
5836         * trans.h: remove #include "tex-accent.h".
5837         * trans_mgr.h: remove #include "tex-accent.h".
5838         * insets/inset.h: remove #include "support/types.h", <vector>.
5839         * insets/insetcollapsable.h: remove #include "LColor.h".
5840         * insets/insetinclude.h: remove #include "dimension.h".
5841         * insets/insetlatexaccent.h: remove #include "dimension.h".
5842         * insets/insetoptarg.h:: remove #include "insettext.h".
5843         * insets/insettext.h: remove #include "dimension.h",
5844         <boost/shared_ptr.hpp>
5845
5846         * insets/renderers.h: add #include "dimension.h".
5847         * insets/updatableinset.h: add #include "support/types.h".
5848
5849         * many .C files: Associated changes.
5850
5851 2003-09-06  Angus Leeming  <leeming@lyx.org>
5852
5853         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5854         one, inside testInvariant.
5855
5856         * PrinterParams.C: new file.
5857         * PrinterParams.[Ch]: move the function bodies out of line.
5858
5859 2003-09-06  Angus Leeming  <leeming@lyx.org>
5860
5861         * ParagraphParameters.h: forward declare ParameterStruct rather than
5862         including its header file.
5863         (depth): moved out-of-line.
5864
5865 2003-09-06  Angus Leeming  <leeming@lyx.org>
5866
5867         * BufferView_pimpl.h:
5868         * kbmap.h:
5869         * kbsequence.h:
5870         * lyxfunc.h: forward declare LyXKeySym rather than
5871         #include "frontends/LyXKeySym.h".
5872
5873         * BufferView_pimpl.C:
5874         * kbmap.C:
5875         * kbsequence.C:
5876         * lyxfunc.C: associated changes.
5877
5878 2003-09-06  Angus Leeming  <leeming@lyx.org>
5879
5880         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5881         As a result, can remove the #include "insets/inset.h" from BufferView.h
5882
5883 2003-09-06  Angus Leeming  <leeming@lyx.org>
5884
5885         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5886         As a result, can remove the #include "insets/inset.h" from BufferView.h
5887
5888 2003-09-06  Angus Leeming  <leeming@lyx.org>
5889
5890         * buffer_funcs.C:
5891         * buffer.h:
5892         * bufferlist.C:
5893         * BufferView.C:
5894         * bufferview_funcs.C:
5895         * BufferView_pimpl.C:
5896         * CutAndPaste.C:
5897         * lyx_cb.C:
5898         * lyxfunc.C:
5899         * paragraph.h:
5900         * ParagraphParameters.C:
5901         * tabular.C:
5902         * text3.C:
5903         * toc.C:
5904         * undo_funcs.C:
5905         * frontends/controllers/ControlDocument.C:
5906         * insets/insetcaption.C: rearrange the #includes into some sort of
5907         coherent order.
5908
5909         * buffer.h: remove #includes ErrorList.h, undo.h
5910
5911 2003-09-06  Angus Leeming  <leeming@lyx.org>
5912
5913         * support/types.h: add a 'depth_type' typedef, used to store the
5914         nesting depth of a paragraph.
5915
5916         * paragraph.h:
5917         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5918         defining explicitly.
5919
5920         * buffer.h:
5921         * paragraph_funcs.h:
5922         * ParagraphParameters.h:
5923         * sgml.h: use lyx::depth_type rather than Paragraph or
5924         ParameterStruct's depth_type.
5925
5926         * buffer.h
5927         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5928
5929         * BufferView.C:
5930         * BufferView_pimpl.C:
5931         * CutAndPaste.C:
5932         * ParagraphParameters.C:
5933         * buffer_funcs.C:
5934         * bufferlist.C:
5935         * bufferview_funcs.C:
5936         * lyx_cb.C:
5937         * lyxfunc.C:
5938         * tabular.C:
5939         * text3.C:
5940         * toc.C:
5941         * undo_funcs.C:
5942         * frontends/LyXView.C:
5943         * frontends/controllers/ControlDocument.C:
5944         * frontends/controllers/ControlErrorList.C:
5945         * insets/insetbibitem.C:
5946         * insets/insetbranch.C:
5947         * insets/insetcaption.C:
5948         * insets/insetcollapsable.C:
5949         * insets/insetenv.C:
5950         * insets/insetert.C:
5951         * insets/insetfloat.C:
5952         * insets/insetfoot.C:
5953         * insets/insetfootlike.C:
5954         * insets/insetnewline.C:
5955         * insets/insetquotes.C:
5956         * insets/insettabular.C:
5957         * insets/insettext.C:
5958         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5959
5960         * frontends/controllers/ControlChanges.C: #include "changes.h".
5961
5962 2003-09-06  Angus Leeming  <leeming@lyx.org>
5963
5964         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5965         than #including paragraph.h.
5966
5967         * ParagraphList.h:
5968         * RowList.h: deleted. Superfluous.
5969
5970         * CutAndPaste.h:
5971         * iterators.h:
5972         * lyxcursor.h:
5973         * lyxtext.h:
5974         * text_funcs.h:
5975         * undo.h:
5976         * undo_funcs.h:
5977         * insets/inset.h:
5978         * insets/insettext.h: use ParagraphList_fwd.h rather than
5979         ParagraphList.h.
5980
5981         * paragraph.h: don't forward declare ParagraphList.
5982
5983         * buffer.h:
5984         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5985         rather than ParagraphList.h. paragraph.h is still needed for the
5986         Paragraph::depth_type parameters.
5987
5988         * textcursor.h: enable it to compile stand-alone in light of the
5989         above changes.
5990
5991         * bufferview_funcs.C:
5992         * iterators.C:
5993         * lyxfunc.C:
5994         * lyxrow_funcs.C:
5995         * paragraph.C:
5996         * rowpainter.C:
5997         * text.C:
5998         * text2.C:
5999         * text3.C:
6000         * text_funcs.C:
6001         * textcursor.C:
6002         * undo.C:
6003         * frontends/controllers/ControlParagraph.C:
6004         * frontends/controllers/ControlTabular.C:
6005         * insets/insetmarginal.C:
6006         * insets/insetminipage.C:
6007         * insets/insetnote.C:
6008         * insets/insetoptarg.C: add header files needed to compile again.
6009
6010 2003-09-06  Angus Leeming  <leeming@lyx.org>
6011
6012         * RowList_fwd.h: new file, forward-declaring Row rather than
6013         #including lyxrow.h.
6014
6015         * lyxrow_funcs.h:
6016         * lyxtext.h:
6017         * paragraph.h:
6018         * insets/insettext.h: use it instead of RowList.h
6019
6020         * bufferview_funcs.C:
6021         * lyxfunc.C:
6022         * lyxrow_funcs.C:
6023         * paragraph.C:
6024         * rowpainter.C:
6025         * text.C:
6026         * text2.C:
6027         * text3.C: #include "RowList.h".
6028
6029 2003-09-05  Angus Leeming  <leeming@lyx.org>
6030
6031         * factory.C (createInset):
6032         * vspace.C (c-tor): replace sscanf call with an istringstream.
6033         * ispell.C: re-add missing HP/UX headers.
6034         * lyxserver.C: re-add missing  os2 headers.
6035
6036 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6037
6038         * BranchList.C:
6039         * graph.C:
6040         * ispell.C:
6041         * lastfiles.C:
6042         * lyx_cb.C:
6043         * lyxserver.C:
6044         * texrow.C:
6045         * text3.C: re-add missing system headers, needed for 2.95.2.
6046
6047 2003-09-05  Angus Leeming  <leeming@lyx.org>
6048
6049         Changes most place everywhere due to the removal of using directives
6050         from support/std_sstream.h.
6051
6052 2003-09-05  Angus Leeming  <leeming@lyx.org>
6053
6054         Replace LString.h with support/std_string.h,
6055         Lsstream.h with support/std_sstream.h,
6056         support/LIstream.h with support/std_istream.h,
6057         support/LOstream.h with support/std_ostream.h.
6058
6059         Changes resulting throughout the tree.
6060
6061 2003-09-05  Angus Leeming  <leeming@lyx.org>
6062
6063         * sgml.h: ensure that the header file can be compiled stand-alone.
6064         * *.C: strip out redundant #includes. (320 in total.)
6065
6066 2003-09-04  Angus Leeming  <leeming@lyx.org>
6067
6068         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6069         here (from getPackages).
6070
6071         * debug.[Ch]: add a new EXTERNAL tag.
6072
6073 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6074
6075         * text2.C (cursorEnd): simplify
6076         (setCursor): adjust
6077         (getColumnNearX): adjust
6078
6079         * text.C (computeBidiTables): adjust
6080         (fill): adjust
6081
6082         * rowpainter.C (paintChars): adjust
6083         (paintSelection): adjust
6084         (paintChangeBar): adjust
6085         (paintText): adjust
6086
6087         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6088         lastPos instead.
6089         (numberOfSeparators): adjust
6090
6091 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6092
6093         * LyXAction.C:
6094         * box.[Ch]:
6095         * lfuns.h:
6096         * lyxfunc.C:
6097         * text3.C: Restricts the mouse click functionality
6098         of insets like bibtex, include, toc and floatlist to the visible
6099         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6100         up the dialogs. Cursor has to be in front of the inset (i.e.
6101         start of row) for this to function.
6102
6103 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6104
6105         * bufferview_funcs.C (currentState): output row information
6106
6107 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6108
6109         * bufferview_funcs.C (currentState): output paragraph position
6110
6111 2003-09-04  Angus Leeming  <leeming@lyx.org>
6112
6113         * FloatList.h: move out #include "Floating.h".
6114         * LaTeX.h: move out #include "DepTable.h".
6115         * LyXAction.h: move out #include "funcrequest.h".
6116         * buffer.h: move out #include "author.h", "iterators.h".
6117         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6118         * lyx_main.h: move out #include "errorlist.h".
6119         * lyxfunc.h: move out #include "FuncStatus.h".
6120         * lyxtext: move out #include "lyxcursor.h".
6121         * paragraph_pimpl.h: move out #include "counters.h".
6122
6123 2003-09-03  Angus Leeming  <leeming@lyx.org>
6124
6125         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6126         preamble_snippets list, enabling us to add snippets to the preamble
6127         only if the snippet was not there already.
6128
6129 2003-09-04  Angus Leeming  <leeming@lyx.org>
6130
6131         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6132
6133 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6136         update
6137
6138 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6139
6140         * BranchList.C: point fix, earlier forgotten
6141
6142 2003-09-02  Angus Leeming  <leeming@lyx.org>
6143
6144         * box.C (contains): renamed from 'contained' after a fantastic
6145         amount of hot air.
6146
6147 2003-09-02  John Levon  <levon@movementarian.org>
6148
6149         * BufferView.C:
6150         * lyxcursor.h:
6151         * lyxcursor.C:
6152         * lyxfunc.C:
6153         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6154
6155 2003-09-02  John Levon  <levon@movementarian.org>
6156
6157         * text2.C: simplification of cursorEnd(), including partial
6158         fix for bug 1376
6159
6160 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * buffer.C (readFile): add a space
6163
6164 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6165
6166         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6167
6168 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * buffer.C (readFile): new function, take a filename and a
6171         ParagraphList::iterator
6172         (readFile): adjust
6173         (readFile): adjust, make it private. don't use setStream, make
6174         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6175         always contain the filename.
6176
6177         * BufferView.C (insertLyXFile): simplify and make it work for
6178         gzipped files.
6179
6180 2003-08-30  John Levon  <levon@movementarian.org>
6181
6182         * Makefile.am: fix dist (from Kayvan)
6183
6184 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * most files: change to use const Buffer refs
6187
6188 2003-08-27  André Pönitz  <poenitz@gmx.net>
6189
6190         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6191         on top of ownerPar().
6192
6193 2003-08-27  John Levon  <levon@movementarian.org>
6194
6195         * funcrequest.C: properly initialise POD members
6196
6197 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6198
6199         * lyxtext.h (top_y): move top_y from here
6200         * text.C:
6201         * text2.C:
6202         * text3.C:
6203         * BufferView.[Ch]:
6204         * BufferView_pimpl.[Ch]: to here
6205         * frontends/screen.C:
6206         * insets/insettabular.C:
6207         * insets/insettext.C: adjust
6208         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6209
6210 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6211
6212         * BufferView.[Ch]:
6213         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6214
6215 2003-08-26  André Pönitz  <poenitz@gmx.net>
6216
6217         * paragraph_func.[Ch] (outerPar): new function
6218
6219         * paragraph.C:
6220         * paragraph_funcs.C:
6221         * paragraph_funcs.h:
6222         * paragraph_pimpl.C:
6223         * text2.C: remove Inset::par_owner
6224
6225 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6226
6227         * lyxrow_funcs.C:
6228         * lyxtext.h:
6229         * text.C:
6230         * text2.C: eliminates the needFullRow/display() stuff
6231         altogether, putting the logic in metrics/draw in the insets.
6232
6233 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6234
6235         * text2.C (redoParagraphInternal, redoParagraphs):
6236         * text.C (redoParagraph): add a call to updateRowPositions at the
6237         end of each 'metrics-like' call. Remove all others.
6238         (getRow): remove the 'y-computing' version.
6239         (getRowNearY): do not compute nor return the real y. Solve the
6240         'y < 0' problem and simplify.
6241
6242 2003-08-22  Angus Leeming  <leeming@lyx.org>
6243
6244         * *.[Ch]: clean-up of licence and author blurbs.
6245         Also move config.h out of a few .h files and into a few .C files.
6246
6247 2003-08-22  André Pönitz  <poenitz@gmx.net>
6248
6249         * lyxrow.[Ch]: add x_ and *fill_ members
6250
6251         * lyxtext.h:
6252         * text.C:
6253         * rowpainter.C:
6254         * text2.C: adjust/remove prepareToPrint() calls
6255
6256 2003-08-22  André Pönitz  <poenitz@gmx.net>
6257
6258         * lyxrow.[Ch]: add  end_ member
6259
6260         * lyxrow_funcs.C: use LyXRow::end_
6261
6262         * lyxtext.h (singleWidth): add LyXFont parameter
6263
6264         * rowpainter.C:
6265         * text2.C: adjust LyXText::singleWidth() calls
6266
6267         * text.C (redoParagraph): simplify row breaking logic
6268
6269
6270 2003-08-19  André Pönitz  <poenitz@gmx.net>
6271
6272         * funcrequest.C: initialize button_ member
6273
6274         * text3.C:
6275         * rowpainter.[Ch]: interface consolidation
6276
6277 2003-08-18  André Pönitz  <poenitz@gmx.net>
6278
6279         * BufferView.C:
6280         * BufferView_pimpl.C:
6281         * lyxfind.C:
6282         * paragraph_funcs.C:
6283         * rowpainter.C:
6284         * text3.C: remove LyXScreen::draw() and fitCursor calls
6285
6286         * BranchList.h: remove spurious semicolons
6287
6288         * MenuBackend.C: fix branchlist related crash
6289
6290 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6291
6292         * BranchList.[Ch]:
6293         * InsetList.[Ch]:
6294         * LColor.[Ch]:
6295         * LyXAction.C:
6296         * Makefile.am:
6297         * MenuBackend.[Ch]:
6298         * bufferparams.[Ch]:
6299         * factory.C:
6300         * lfuns.h:
6301         * lyxfunc.C:
6302         * text3.C: implements the 'branch inset'
6303         idea. This allows the output of various versions of a document
6304         from a single source version, selectively outputing or suppressing
6305         output of parts of the text.
6306         This implementation contains a 'branch list editor' in a separate
6307         tab of the document settings dialog. Branches are user definable
6308         and have a "display colour" to distinguish them on-screen.
6309
6310         ColorHandler was somewhat cleaned up.
6311         (1) make possible a dynamically growing LColor list by allowing
6312         the graphic context cache to grow along (vector);
6313         (2) eliminate an IMHO unnecessary step in colour allocation.
6314
6315 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6316
6317         * BufferView_pimpl.C: compile fix
6318
6319 2003-08-15  André Pönitz  <poenitz@gmx.net>
6320
6321         * rowpainter.C: remove extra metrics calls
6322
6323         * lyxtext.h: merge the two constructors into a single one,
6324           pass reference to owner's par list
6325
6326         * BufferView_pimpl.C:
6327         * text.C:
6328         * text2.C: adjust
6329
6330 2003-08-15  André Pönitz  <poenitz@gmx.net>
6331
6332         * lyxrow_funcs.[Ch]:
6333         * lyxtext.h:
6334         * paragraph.h:
6335         * paragraph_funcs.C:
6336         * rowpainter.C:
6337         * text.C:
6338         * text2.C:
6339         * text3.C:
6340         * text_funcs.C: split LyXText::rowlist_ into individual
6341         Paragraph::rows_ chunks
6342
6343         * BufferView.[Ch]:
6344         * BufferView_pimpl.[Ch]:
6345         * lyxfind.C:
6346         * lyxtext.h:
6347         * text3.C: remove toggleSelection()
6348
6349 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6350
6351         * bufferlist.C: beautify two alerts (shorter text of buttons)
6352         * buffer.C: Remove redundant ' ' from message
6353         * tabular.h:
6354         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6355         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6356         rename VALIGN_CENTER to VALIGN_MIDDLE
6357
6358 2003-08-11  André Pönitz  <poenitz@gmx.net>
6359
6360         * lyxtext.h (getPar):
6361         * text.C: new function
6362
6363 2003-08-11  André Pönitz  <poenitz@gmx.net>
6364
6365         * Makefile.am:
6366         * tracer.[Ch]: remove unneeded files
6367
6368         * InsetList.[Ch]: remove resizeInsetsLyXText()
6369
6370         * lyxtext.h:
6371         * text.C:
6372         * text2.C:
6373         * text3.C: merge insertParagraphs() and appendParagraph()
6374         remove breakAgain(), update()
6375
6376         * BufferView_pimpl.[Ch]:
6377         * bufferview_funcs.[Ch]:
6378         * lyxfunc.C:
6379         * paragraph.[Ch]:
6380         * rowpainter.C:
6381         * tabular.C: adjust after text & InsetList changes.
6382
6383 2003-08-08  André Pönitz  <poenitz@gmx.net>
6384
6385         * text.C (insertChar, backspace): replace rowlist fiddling
6386         with rebreak of full par
6387
6388         * lyxtext.h:
6389         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6390         checkParagraph, updateInset): removed
6391
6392 2003-08-07  André Pönitz  <poenitz@gmx.net>
6393
6394         * paragraph.C:
6395         * text3.C: merge some LFUN handlers, remove dead code
6396
6397 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6398
6399         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6400
6401 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6402
6403         * text2.C (DEPM): fix part of bug 1255 and 1256
6404
6405 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6406
6407         * BufferView_pimpl.C (workAreaDispatch): change to use
6408         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6409         that are no mouse related.
6410
6411 2003-08-05  André Pönitz  <poenitz@gmx.net>
6412
6413         * BufferView.[Ch]:
6414         * BufferView_pimpl.[Ch]:
6415         * bufferview_funcs.C:
6416         * text2.C:
6417         * text3.C: rip out "deep update"
6418
6419         * textcursor.[Ch] (last_sel_cursor): remove unused member
6420
6421 2003-08-04  André Pönitz  <poenitz@gmx.net>
6422
6423         * BufferView.[Ch]:
6424         * BufferView_pimpl.[Ch]:
6425         * ParagraphParameters.C:
6426         * bufferview_funcs.C:
6427         * lyx_cb.C:
6428         * lyxfind.C:
6429         * lyxfunc.C:
6430         * text.C:
6431         * text2.C:
6432         * text3.C: replace "complicated" BufferView::update(...) calls with
6433         simpler ones.
6434
6435         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6436
6437 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6438
6439         * Makefile.am (lyx_SOURCES): add paper.h
6440
6441 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6442
6443         * Makefile.am: move things around so that both lyx-qt and
6444         lyx-xforms can be built (according to --with-frontend). Then lyx
6445         is a symbolic link to lyx-[firstfrontend]
6446
6447 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6448
6449         * Always use std::endl with lyxerr
6450
6451 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6452
6453         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6454
6455 2003-08-01  André Pönitz  <poenitz@gmx.net>
6456
6457         * BufferView.[Ch]:
6458         * BufferView_pimpl.[Ch]:
6459         * lyxfunc.C:
6460         * text3.C: merge BufferView::repaint() and BufferView::update()
6461
6462 2003-08-01  José Matos  <jamatos@lyx.org>
6463
6464         * buffer.[Ch]: file_format is no longer a buffer data element.
6465
6466 2003-08-01  André Pönitz  <poenitz@gmx.net>
6467
6468         * BufferView.C:
6469         * lyxtext.h:
6470         * text.C:
6471         * text2.C: make redoParagraph more independent of current cursor
6472
6473         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6474         * text.C:
6475         * text2.C: remove unneeded members
6476
6477 2003-07-30  André Pönitz  <poenitz@gmx.net>
6478
6479         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6480
6481         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6482           create a single function...
6483
6484         * paragraph_funcs.C (moveItem): ... here.
6485
6486         * text.C:
6487           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6488
6489 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6490
6491         * LColor.[Ch]: Add comment and greyedout logical colors.
6492
6493 2003-07-30  André Pönitz  <poenitz@gmx.net>
6494
6495         * tabular.C: don't use Assert too heavily. This crashes where it
6496           shouldn't
6497
6498 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6499
6500         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6501         is disabled (bug 1232)
6502
6503 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6504
6505         * factory.C: limited 'arg' scope
6506
6507 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6508
6509         * factory.C: fixed Note submenu issues
6510
6511 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6512
6513         * factory.C: submenu for Note/Comment/Greyedout
6514
6515 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6516
6517         * lyx_main.C (LyX):
6518         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6519
6520 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6521
6522         * LaTeXFeatures.C:
6523         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6524         greyedout. Patch provided by Jürgen Spitzmüller.
6525
6526 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6527
6528         * kbmap.C (read): fix error message when reading bind files
6529
6530 2003-07-29  Angus Leeming  <leeming@lyx.org>
6531
6532         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6533         certainly does not do what it purports to do. I am doing it, and
6534         us, a favour by killing it.
6535
6536 2003-07-28  José Matos  <jamatos@lyx.org>
6537
6538         * buffer.C (readBody, do_writeFile):
6539         * paragraph.C(readParagraph): \end_document replaces \the_end.
6540
6541 2003-07-29  André Pönitz  <poenitz@gmx.net>
6542
6543         * BufferView.[Ch]:
6544         * BufferView_pimpl.[Ch]:
6545         * lyxfunc.C:
6546         * text2.C:
6547         * text3.C:
6548         * textcursor.[Ch]: remove toggleToggle & Co
6549
6550 2003-07-28  José Matos  <jamatos@fep.up.pt>
6551
6552         * buffer.C (readParagraph):
6553         * params_func (readParToken, readParagraph):
6554         * paragraph.C (write): \layout -> \begin_layout.
6555
6556 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * lyxlex_pimpl.C (setFile): clean up slightly.
6559
6560         * bufferparams.h: add compressed var
6561
6562         * buffer_funcs.C (readFile): adjust for LyXLex change
6563         (newFile): ditto + simplify
6564
6565         * buffer.C (writeFile): handle writing of compressed files
6566
6567         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6568         Check if the file is compressed and set a bufferparm if so.
6569
6570         * Makefile.am (lyx_LDADD): remove explicit -lz
6571
6572 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6573
6574         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6575         makeDocBookFile): put the real LyX version in the first line of
6576         the file
6577
6578         * version.h:
6579         * version.C.in: remove lyx_docversion
6580
6581         * tabular.C (write_attribute): add a template-based version to
6582         write enums properly
6583
6584 2003-07-28  André Pönitz  <poenitz@gmx.net>
6585
6586         * lyxtext.h:
6587         * text.C:
6588         * text2.C:
6589         * text3.C: use doubles again for x-coordinates. They are needed.
6590
6591 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * messages.C (getLocaleDir): use lyx_localedir()
6594
6595         * lyxlex_pimpl.C (setFile): compress stuff
6596
6597         * buffer.C (writeFile): add some compression stuff
6598         (do_writeFile): new func, dont call expliti close... will this
6599         breake anything?
6600
6601         * Makefile.am (lyx_LDADD): add -lz
6602
6603 2003-07-28  José Matos  <jamatos@fep.up.pt>
6604
6605         * buffer.C: increment file format.
6606         * paragraph_funcs (readParagraph, readParToken):
6607         * paragraph.C (readParagraph): add \end_layout.
6608
6609 2003-07-27  Angus Leeming  <leeming@lyx.org>
6610
6611         * Makefile.am: remove special casing for configure-time setting of
6612         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6613
6614         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6615         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6616
6617 2003-07-26  André Pönitz  <poenitz@gmx.net>
6618
6619         * paragraph_func.[Ch]:
6620         * paragraph.C (realizeFont): inline it whereever it is used
6621
6622         * rowpainter.C:
6623         * text.C:
6624         * text2.C:
6625         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6626
6627
6628 2003-07-26  André Pönitz  <poenitz@gmx.net>
6629
6630         *       lyxtext.h:
6631         * text.C:
6632         * text2.C: get rid of LyXText::need_break_row
6633
6634 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * toc.[Ch]: put namespace toc inside namespace lyx
6637
6638         * MenuBackend.C (expandToc2): adjust for lyx::toc
6639         (expandToc): ditto
6640
6641         * lyxfunc.C (dispatch): adjust for lyx::find
6642
6643         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6644         lyx::find instead. Reorganize a bit.
6645         (LyXReplace): rename to replace
6646         (LyXFind): rename to find
6647
6648         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6649         (dispatch): ditto
6650
6651 2003-07-26  André Pönitz  <poenitz@gmx.net>
6652
6653         * text.C (setHeightOfRow): restrict scope of temporary variable
6654
6655         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6656           code (never has been used?)
6657
6658 2003-07-27  Asger Alstrup  <alstrup@local>
6659
6660         * text.C (fill): Optimise algorithm to exploit that we can reuse
6661         the LyXFont for many characters.
6662         (setHeightOfRow): Same thing.
6663         (rowBreakPoint): Same thing.
6664
6665 2003-07-26  Asger Alstrup  <alstrup@local>
6666
6667         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6668
6669         * text.C (singleWidth): Spurious font copying in hot-spot
6670         singleWidth avoided. Reorder tests for arabic for efficiency.
6671
6672         * text.C (fill): handle empty paragraphs better.
6673
6674 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6675
6676         * ispell.C:
6677         * encoding.h: add includes
6678
6679         * lyxrc.C: remove reading of bind files
6680
6681         * lyx_main.C (init): setup bindings and menus only if we have a
6682         gui.
6683
6684         * kbmap.C (read): new method. Do the actual reading of bind
6685         files.
6686
6687         * converter.C (dvipdfm_options):
6688         * bufferparams.C:
6689         * lyxrc.C (read):
6690         (output): adapt PAPER_* enums.
6691
6692         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6693
6694         * bufferparams.h: remove paper-related enums from there
6695
6696         * paper.h: New file. A trivial header file to hold paper-related
6697         enums. It should later expand to contain many paper-related
6698         horrors access.
6699
6700         * lyxrc.C: declare extern displayTranslator
6701
6702 2003-07-27  José Matos  <jamatos@fep.up.pt>
6703
6704         * tabular.[Ch] (linuxdoc): add support for tables and figures
6705         (linuxdoc).
6706
6707 2003-07-27  José Matos  <jamatos@fep.up.pt>
6708
6709         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6710         consistency in both functions.
6711         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6712
6713 2003-07-26  Asger Alstrup  <alstrup@local>
6714
6715         * rowpainter.C (paintRows): Change algorithm to work directly on
6716         the insets rather than asking every character in the document
6717         whether its an inset.
6718
6719 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6720
6721         * buffer.C (openFileWrite): factorize some code
6722
6723 2003-07-26  Angus Leeming  <leeming@lyx.org>
6724
6725         * lyx_cb.C:
6726         * lyx_main.[Ch]: replace occurances of system_tempdir with
6727         os::getTmpDir().
6728
6729 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * rename Inset to InsetOld
6732
6733 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6734
6735         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6736         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6737         which I think is a bit clearer. EDIT is gone, since it was
6738         premature optimisation, and broken for mathed anyway.
6739         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6740         with cursor positioning in insets as well (math insets still do not
6741         work, but that's a different story anyway.) It mysteriously
6742         crashes sometimes with undo in the first paragraph, but I'm fairly
6743         confident that this is a compiler bug.
6744
6745 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * paragraph.C (Paragraph): adjust for new clone return type
6748         (operator==): ditto
6749         (copyIntoMinibuffer): ditto
6750
6751 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6752
6753         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6754         by not having a special case, and always doing a full rebreak of
6755         the document after undo.
6756
6757 2003-07-23  Angus Leeming  <leeming@lyx.org>
6758
6759         * factory.C (createInset): InsetExternal::setParams now takes a
6760         Buffer const * arg.
6761
6762 2003-07-23  Angus Leeming  <leeming@lyx.org>
6763
6764         * factory.C (createInset): changed interface to the external and
6765         graphics mailers' string2params functions.
6766
6767 2003-07-23  Angus Leeming  <leeming@lyx.org>
6768
6769         * factory.C (createInset): pass a
6770         Buffer const * parameter to InsetExternalMailer's string2params.
6771
6772 2003-07-22  John Levon  <levon@movementarian.org>
6773
6774         * Thesaurus.h: include the right aiksaurus header
6775
6776 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6777
6778         * MenuBackend.C (expand): check menu shortcuts unconditionally
6779
6780 2003-07-21  Angus Leeming  <leeming@lyx.org>
6781
6782         * factory.C (createInset): pass a
6783         buffer_path parameter to InsetGraphicsMailer's string2params.
6784
6785 2003-07-21  Angus Leeming  <leeming@lyx.org>
6786
6787         * BufferView_pimpl.C (buffer):
6788         * buffer.C (d-tor):
6789         * lyx_main.C (LyX):
6790         * lyxfunc.C (dispatch):
6791         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6792         rather than the grfx shortcut.
6793
6794 2003-07-21  André Pönitz  <poenitz@gmx.net>
6795
6796         * rowpainter.C: remove unused variables
6797
6798         * tabular_funcs.C:
6799         * tabular_funcs.h: move to tabular.C
6800         * Makefile.am: adjust
6801
6802         * tabular.[Ch]: basic optical cleaning
6803
6804         * author.h: pass references, not values
6805
6806 2003-07-18  André Pönitz  <poenitz@gmx.net>
6807
6808         * lyxtext.h:
6809         * metricsinfo.C:
6810         * metricsinfo.h:
6811         * rowpainter.C:
6812         * text.C:
6813         * text2.C:
6814         * text3.C: two-phase drawing for InsetText and InsetTabular
6815         some float -> int changes.
6816
6817 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6818
6819         * lyx_main.C: fix the fix
6820
6821 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * lyx_main.C: fix a crash in batch mode if no files specified
6824         * converter.C: ws
6825
6826 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * format.[Ch] (papersize): moved to BufferParams
6829         * converter.[Ch] (dvips_options): moved to BufferParams
6830         (dvipdfm_options): moved to anon namespace
6831         * bufferparams.[Ch]: added above functions.
6832
6833 2003-07-17  André Pönitz  <poenitz@gmx.net>
6834
6835         * lyxtext.h:
6836         * rowpainter.C:
6837         * text2.C: don't call inset->update() anymore
6838
6839         * metricsinfo.[Ch]: add convenience constructor
6840
6841 2003-07-16  André Pönitz  <poenitz@gmx.net>
6842
6843         * lyxcursor.[Ch]:
6844         * lyxfunc.[Ch]:
6845         * text.C:
6846         * text2.C: replace the LyXCursor::irow_ member with
6847          on-demand computation of the value
6848
6849 2003-07-16  John Levon  <levon@movementarian.org>
6850
6851         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6852
6853 2003-07-15  André Pönitz  <poenitz@gmx.net>
6854
6855         * text.C:
6856         * text2.C: remove no more needed refresh_row
6857
6858 2003-07-15  André Pönitz  <poenitz@gmx.net>
6859
6860         * lyxtext.h:
6861         * rowpainter.C:
6862         * text2.C:
6863         * text3.C: refresh_status tristate -> need_update bool
6864
6865 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6866
6867         * lyxtext.h (init): remove reinit argument (act as if always true)
6868         * text2.C: adjust to that
6869
6870 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6871
6872         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6873         * text3.C: use it to delete selections in some cases
6874         (bugs 441, 673, 702, 954).
6875
6876 2003-07-14  André Pönitz  <poenitz@gmx.net>
6877
6878         * rowpainter.[Ch]: reduce interface
6879
6880 2003-07-14  André Pönitz  <poenitz@gmx.net>
6881
6882         * BufferView_pimpl.C:
6883         * text2.C: adjust after removing unused BufferView * argument
6884
6885 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6886
6887         * text2.C (init): fix a crash fired on resize
6888
6889 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6890
6891         * buffer.[Ch]: added new closing signal
6892         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6893         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6894         BufferView::Pimpl via the closing the signal
6895
6896 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6897
6898         * buffer.[Ch]: take out all bv-related from buffer
6899         * BufferView.C:
6900         * BufferView_pimpl.[Ch]: connect to new signals
6901         * CutAndPaste.C: removed useless asserts
6902         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6903         * lyxvc.[Ch]:
6904         * vc-backend.[Ch]:
6905         * lyxfunc.C: moved view-related funciontality from vc here
6906         * paragraph.C: removed outdated comments
6907         * text.C: ws
6908
6909 2003-07-10  André Pönitz  <poenitz@gmx.net>
6910
6911         * BufferView_pimpl.C:
6912         * tabular.h:
6913         * tabular_funcs.C:
6914         * text.C:
6915         * text2.C: remove InsetText::InnerCache, clean up consequences
6916
6917 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6918
6919         * ispell.C: fix two typos in error messages
6920
6921 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6922
6923         * Extend Note inset to other forms of annotation like Comment
6924         and Greyedout. Right button click gives dialog.
6925
6926         Files modified or added (+):
6927
6928         * insetnote.[Ch]
6929         * FormNote.[Ch]      +
6930         * ControlNote.[Ch]   +
6931         * form_note.fd       +
6932         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6933         frontends/controllers
6934         * xforms/Dialogs.C
6935         * factory.C
6936
6937 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6938
6939         * aspell.C: add missing namespace lyx::support
6940
6941 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6942
6943         * BufferView.[Ch] (newFile): Add
6944         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6945         * LaTeX.[Ch] (message): added this signal and use it
6946         * buffer.[Ch] (busy, message): added these signals and use them
6947         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6948         * converter.C:
6949         * exporter.C:
6950         * format.C:
6951         * importer.C: use buffer signals instead of direct bv calling
6952         * lyx_cb.[Ch] (ShowMessage): removed
6953         * lyx_main.C:
6954         * lyxfunc.C:
6955         * paragraph_funcs.C:
6956         * text2.C: use buffer signals
6957
6958 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6959
6960         * introduce namespace lyx::graphics
6961
6962 2003-07-02  André Pönitz  <poenitz@gmx.net>
6963
6964         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6965
6966 2003-07-01  André Pönitz  <poenitz@gmx.net>
6967
6968         * text.C:
6969         * text2.C:
6970         * text3.C:
6971         * text_funcs.[Ch]:
6972         * textcursor.h:
6973         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6974           text*.C to text_func.C
6975
6976 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * introduce namespace lyx::support
6979
6980 2003-06-30  André Pönitz  <poenitz@gmx.net>
6981
6982         * Chktex.C:
6983         * funcrequest.C:
6984         * lyxtext.h:
6985         * text.C: re-enable --with-included-string
6986
6987 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * textcursor.C: add <config.h>
6990
6991         * text.C (getWord): remove const from word_location arg
6992
6993         * lyxvc.C (getLogFile): fix const type order
6994
6995         * lyxtext.h: remove const from word_location arg, add arg name
6996
6997         * lyxlayout.h: currect type on labeltype.
6998
6999         * importer.C: correct \file
7000
7001         * converter.C (intToFormat): use std:: on ret val, ws changes
7002
7003         * bufferlist.h: correct \file
7004
7005         * buffer.C (makeLinuxDocFile): fix const type order
7006         (makeDocBookFile): ditto
7007         (fillWithBibKeys): use std:: on stdlib args.
7008
7009         * CutAndPaste.C: fix authors.
7010         (availableSelections): use std:: on return vector
7011
7012 2003-06-27  André Pönitz  <poenitz@gmx.net>
7013
7014         * BufferView_pimpl.C:
7015         * bufferview_funcs.C:
7016         * lyxcursor.C:
7017         * lyxcursor.h:
7018         * lyxfunc.C:
7019         * lyxtext.h:
7020         * rowpainter.C:
7021         * text.C:
7022         * text2.C:
7023         * text3.C: remove LyXCursor::row_ member
7024
7025         * lyxtext.h:
7026         * text.C: rename fullRebreak() to partialRebreak() and implement
7027           a fullRebreak() that really bereks fully
7028
7029         * textcursor.h: new struct for cursor-related data
7030
7031 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7032
7033         * lyx_main.C (LyX): get full path of document loaded on the
7034         command line
7035
7036 2003-06-26  André Pönitz  <poenitz@gmx.net>
7037
7038         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7039           remove unused/broken operator>,<,>=.
7040
7041         *       text.C: remove only use of broken operator<= in an Assert().
7042
7043 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7044
7045         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7046         moved errorlist_.clear to showErrorList
7047
7048 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7049
7050         * converter.C (scanLog, runLaTeX):
7051         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7052         move the bv->showErrorList call to the callers
7053         * lyxfunc.C: i.e. here...
7054         * text2.C: and here
7055         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7056         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7057         namespace, the second to...
7058         * buffer_funcs (BufferFormat, parseErrors): added
7059         * errorlist.C (ErrorList(TeXErrors const &)): removed
7060
7061 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7062
7063         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7064
7065 2003-06-24  "Garst R. Reese" <reese@isn.net>
7066
7067         * debug.C: fix typo
7068
7069 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7070
7071         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7072
7073         * version.C.in: change docversion to 1.4
7074
7075 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7076
7077         * buffer.C: fix a bug just introduced
7078
7079 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * buffer.[Ch]: added the parseError signal and use it, removed
7082         sgmlError
7083         * BufferView.[Ch] (addError): moved to ...
7084         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7085         to the Buffer::parseError signal to catch (guess what) parse errors
7086         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7087
7088 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7089
7090         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7091         ability to create a buffer and to return an existing one from
7092         the list. Moved these functions to...
7093         * buffer_funcs.[Ch]: added
7094         * BufferView.[Ch] (loadLyXFile): added
7095         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7096         job removed from bufferlist::loadLyXFile.
7097         * buffer.C (setReadOnly): make it work without view
7098         (i.e added an if (users))
7099
7100 2003-06-19  Angus Leeming  <leeming@lyx.org>
7101
7102         * lfuns.h:
7103         * LyXAction.C (init):
7104         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7105         with LFUN_DIALOG_SHOW <name> <data>.
7106
7107 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7108
7109         * CutAndPaste.C (availableSelections): small compilation fix for
7110         ancient (gcc 2.9x) compilers
7111
7112 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7113
7114         * text3.C (cursorNext): add tmp var
7115
7116         * text2.C (updateCounters): for function calling out of for clause
7117         (replaceSelectionWithString): ditto
7118         (insertStringAsParagraphs): ditto
7119         (getColumnNearX): add tmp var
7120         (setCursorFromCoordinates): add tmp var
7121         (cursorDownParagraph): add tmp var
7122         (deleteEmptyParagraphMechanism): add tmp var
7123
7124         * text.C (insertChar): add tmp var
7125
7126         * rowpainter.C (paintDepthBar): add tmp var
7127
7128         * CutAndPaste.C (availableSelections): potentially check all
7129         paragraphs in a cut to fill the shown strings.
7130
7131 2003-06-18  André Pönitz  <poenitz@gmx.net>
7132
7133         * kbmap.[Ch]: use vector<> instead of list<>
7134
7135 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7136
7137         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7138         pasteSelection with index
7139
7140         * text2.C (pasteSelection): modify, call pasteSelection with index
7141
7142         * paragraph.C (asString): reimplement version with no interval to
7143         call the one with interval.
7144
7145         * lyxtext.h: add index arg to pasteSelection
7146
7147         * MenuBackend.C (MenuItem): handle PasteRecent
7148         (Menu::read::Menutags): add md_pasterecent
7149         (read): handle it
7150         (expandPasteRecent): new function
7151         (expand): use it
7152
7153         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7154
7155         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7156         the limited stack
7157         (availableSelections): new function
7158
7159 2003-06-17  Angus Leeming  <leeming@lyx.org>
7160
7161         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7162
7163 2003-06-17  Angus Leeming  <leeming@lyx.org>
7164
7165         * lfuns.h:
7166         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7167
7168         * lyxfunc.C (dispatch): invoke it.
7169
7170 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7171
7172         * iterators.C (operator++, ParPosition): reintroduce some
7173         const_cast for the benefit of older compilers.
7174
7175 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7176
7177         * text3.C (dispatch): do not modify clipboard when doing
7178         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7179         LFUN_DELETE_SKIP on a selection selection
7180
7181 2003-06-16  André Pönitz  <poenitz@gmx.net>
7182
7183         * BufferView.C:
7184         * buffer.C:
7185         * buffer.h:
7186         * paragraph.C:
7187         * tabular.[Ch]: IU of clone() and getLabelList();
7188
7189 2003-06-13  André Pönitz  <poenitz@gmx.net>
7190
7191         * tabular.h: compactification
7192
7193 2003-06-12  André Pönitz  <poenitz@gmx.net>
7194
7195         * tabular.C:
7196         * tabular.h:
7197         * tabular_funcs.h: some renaming plus whitespace
7198
7199 2003-06-12  André Pönitz  <poenitz@gmx.net>
7200
7201         * BufferView.C:
7202         * BufferView_pimpl.C:
7203         * CutAndPaste.C:
7204         * buffer.C:
7205         * iterators.[Ch]:
7206         * lyxfunc.C:
7207         * text.C:
7208         * toc.C: Return a Paragraph & for ParIterator::operator*()
7209
7210 2003-06-11  John Levon  <levon@movementarian.org>
7211
7212         * lyx_main.C:
7213         * ToolbarBackend.h:
7214         * ToolbarBackend.C: add "Toolbars" section and
7215         put the flags there
7216
7217 2003-06-10  Angus Leeming  <leeming@lyx.org>
7218
7219         * lfuns.h:
7220         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7221
7222         * lyxfunc.C (dispatch): invoke it.
7223
7224 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7225
7226         * main.C: protect <ios> with HAVE_IOS
7227         (main): protect sync_with_stdio with HAVE_IOS
7228
7229 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7230
7231         * text2.C (cutSelection): adjust
7232         (pasteSelection): adjust
7233
7234         * messages.C: handle get of empty string
7235
7236         * main.C (main): use sync_with_stdio(false)
7237
7238         * lyxfunc.C (dispatch): adjust
7239
7240         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7241         (WriteAs): remove unneeded BufferView arg.
7242
7243         * bufferparams.h: use correct types on papersize, papersize2 and
7244         paperpackage.
7245
7246         * bufferparams.C (readToken): adjust for type
7247         (writeLaTeX): add missing cases to switch.
7248
7249         * bufferlist.C (quitWriteBuffer): adjust
7250         (close): adjust
7251
7252         * buffer.C (asciiParagraph): remove some commented code.
7253
7254         * CutAndPaste.C: remove current_view extern variable.
7255         (cutSelection): add BufferParams arg.
7256         (eraseSelection): add BufferParams arg.
7257         (pasteSelection): add Buffer const & arg
7258
7259 2003-06-07  John Levon  <levon@movementarian.org>
7260
7261         * buffer.C:
7262         * paragraph_funcs.C:
7263         * paragraph_pimpl.C:
7264         * text.C:
7265         * text2.C:
7266         * paragraph.h:
7267         * paragraph.C: allow InsetERT to freely space lines,
7268         and some consolidation of code
7269
7270 2003-06-06  José Matos  <jamatos@fep.up.pt>
7271
7272         * buffer.C (makeDocBookFile): fix bug #821
7273
7274 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7275
7276         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7277
7278 2003-06-04  Angus Leeming  <leeming@lyx.org>
7279
7280         * buffer.C: bump format to 224.
7281
7282 2003-06-05  André Pönitz  <poenitz@gmx.net>
7283
7284         * text2.C (redoParagraphs): remove two const_cast<>
7285
7286 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7287
7288         * ParagraphList.h: remove last remnants of NO_STD_LIST
7289
7290 2003-06-03  Angus Leeming  <leeming@lyx.org>
7291
7292         * factory.C (createInset): small change to the way InsetExternal's params
7293         are set.
7294
7295 2003-06-04  André Pönitz  <poenitz@gmx.net>
7296
7297         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7298
7299         * paragraph_pimpl.h:
7300         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7301
7302         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7303
7304         * undo_funcs.C: make some simple cases of undo work again
7305
7306 2003-06-03  John Levon  <levon@movementarian.org>
7307
7308         * ispell.C: HPUX doesn't have sys/select.h
7309         (from Albert Chin)
7310
7311 2003-06-03  John Levon  <levon@movementarian.org>
7312
7313         * CutAndPaste.C: update tabular and include inset
7314         buffer references
7315
7316         * buffer.h:
7317         * paragraph.h:
7318         * paragraph.C: remove owningBuffer(), don't pass Buffer
7319         to clone()
7320
7321         * factory.C: insetGraphicsParams changed
7322
7323 2003-06-02  John Levon  <levon@movementarian.org>
7324
7325         * LyXAction.C:
7326         * factory.C:
7327         * lfuns.h:
7328         * lyxfunc.C:
7329         * text3.C: remove insetparent
7330
7331 2003-06-02  John Levon  <levon@movementarian.org>
7332
7333         * buffer.h:
7334         * buffer.C: fix inset_iterator.end(), move out of line
7335         (bug 1149)
7336
7337 2003-06-01  John Levon  <levon@movementarian.org>
7338
7339         * text3.C: use a proper cut/paste when doing inset
7340         insert (from Jürgen Spitzmüller)
7341
7342 2003-06-01  John Levon  <levon@movementarian.org>
7343
7344         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7345
7346 2003-05-30  André Pönitz  <poenitz@gmx.net>
7347
7348         * rowpainter.C: unify second drawing phase
7349
7350 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7351
7352         * trans_mgr.C: remove one case of current_view
7353
7354         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7355
7356         * paragraph_funcs.h: remove paragraph.h include
7357
7358         * paragraph.h: delete NO_STD_LIST stuff
7359
7360         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7361
7362         * buffer.h: remove paragraph.h include
7363
7364         * ParagraphList.C: delete file
7365
7366         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7367
7368         * toc.C (getTocList): adjust
7369
7370         * paragraph_pimpl.C (validate): adjust
7371
7372         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7373
7374         * paragraph.C (Paragraph): adjust
7375         (getPositionOfInset): use const_iterator, adjust
7376         (bibitem): use const_iterator, adjust
7377         (setInsetOwner): adjust
7378
7379         * iterators.C (operator++): adjust
7380
7381         * InsetList.[Ch]: Replace selfmade iterator with standard
7382         vector::iterator also introduce const_iterator. Remove getPos,
7383         getInset and setInset from InsetTable. Adjust accordingly.
7384
7385         * BufferView.C (lockInset): adjust
7386         (ChangeInsets): adjust
7387
7388         * tabular.[Ch]: delete commented same_id functions
7389
7390 2003-05-28  John Levon  <levon@movementarian.org>
7391
7392         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7393
7394 2003-05-28  André Pönitz  <poenitz@gmx.net>
7395
7396         * metricsinfo.[Ch]: remove 'fullredraw' member
7397
7398 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7399
7400         * lyxtextclass.C (operator): remove caching.
7401
7402 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7403
7404         * text3.C: adjust
7405
7406         * text2.C (cursorBottom): adjust
7407         (setCounter): use ParagraphList::find, adjust
7408
7409         * text.C (workWidth): use ParagraphList::find, adjust
7410
7411         * lyxcursor.C (LyXCursor): adjust
7412
7413         * buffer.C (inset_iterator): adjust
7414
7415         * ParagraphList.h: make iterator(value_type) private, make
7416         ParagraphList a friend of iterator.
7417
7418         * ParagraphList.C (find): new function
7419
7420         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7421
7422 2003-05-27  André Pönitz  <poenitz@gmx.net>
7423
7424         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7425
7426 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7427
7428         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7429
7430 2003-05-26  John Levon  <levon@movementarian.org>
7431
7432         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7433
7434 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7435
7436         * remove same_id from function signatures, adjust.
7437
7438 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7439
7440         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7441
7442         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7443
7444         * paragraph.C (Paragraph): get rid of same_ids parameter
7445
7446         * ParagraphList.C (insert): adjust
7447         (push_back): adjust
7448
7449 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7450
7451         * paragraph_funcs.C (breakParagraph): adjust
7452         (breakParagraphConservative): adjust
7453
7454         * buffer.C (readParagraph): adjust
7455
7456         * ParagraphList.C (insert): take a reference instead of a pointer
7457         (insert): adjust
7458
7459         * paragraph.[Ch] (id): new function
7460
7461         * bufferlist.C (newFile): adjust
7462
7463         * ParagraphList.C (ParagraphList): adjust
7464         (assign): adjust
7465         (push_back): take a reference instead of a pointer.
7466
7467         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7468
7469         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7470         instead.
7471
7472         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7473         set else use old code.
7474
7475         * ParagraphList.C: remove all NO_NEXT code and only compile this
7476         code of NO_STD_LIST is set.
7477
7478 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7479
7480         * BufferView_pimpl.C:
7481         * TextCache.C:
7482         * TextCache.h:
7483         * bufferlist.C:
7484         * errorlist.h:
7485         * format.C:
7486         * format.h:
7487         * graph.C:
7488         * lyxfunc.C:
7489         * lyxrc.C:
7490         * graphics/GraphicsConverter.C:
7491         * graphics/PreviewLoader.C: header adjustment
7492
7493 2003-05-23  Angus Leeming  <leeming@lyx.org>
7494
7495         * LaTeXFeatures.[Ch] (useBabel): new method.
7496         * bufferparams.C (writeLaTeX): use it.
7497
7498 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * ParagraphList.h (set): remove unused function.
7501
7502 2003-05-23  André Pönitz  <poenitz@gmx.net>
7503
7504         * BufferView.C:
7505         * BufferView_pimpl.C:
7506         * buffer.C:
7507         * buffer.h:
7508         * lyxfunc.C:
7509         * undo_funcs.C: setUndo reworked
7510
7511         * iterators.[Ch]: add access to topmost ParagraphList
7512
7513         * lyxtext.[Ch] (workWidth): add a const
7514
7515 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7516
7517         * texrow.[Ch] (increasePos): remove function
7518         * exporter.C (export): removed unused var and outdated comment
7519
7520 2003-05-23  Angus Leeming  <leeming@lyx.org>
7521
7522         * latexrunparams.h: rename fragile as moving_arg.
7523         * paragraph.C (simpleTeXOnePar): ditto.
7524         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7525
7526 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7529         (createUndo): ditto
7530         (textUndoOrRedo): comment out a currently unused var.
7531
7532         * paragraph.h (NO_NEXT): enable NO_NEXT
7533
7534         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7535
7536         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7537
7538         * exporter.C (Export): adjust for removeAutoInsets removal.
7539
7540         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7541
7542         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7543
7544         * BufferView.[Ch] (removeAutoInsets): delete function
7545
7546 2003-05-22  Angus Leeming  <leeming@lyx.org>
7547
7548         * latexrunparams.h: add a free_spacing variable.
7549
7550         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7551         to pass moving_arg, as the data is stored in runparams.fragile.
7552
7553         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7554         to Inset::latexOptional or to simpleTeXOnePar.
7555
7556         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7557         free_spacing arg to Inset::latexOptional.
7558
7559         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7560         free_spacing arg.
7561
7562 2003-05-22  Angus Leeming  <leeming@lyx.org>
7563
7564         * latexrunparams.h: add fragile and use_babel variables.
7565
7566         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7567         * buffer.C (makeLaTeXFile): store this returned value in
7568         runparams.use_babel, thus passing it to the inset::latex methods.
7569
7570         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7571         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7572
7573         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7574         longer has a fragile arg, as it is stored in runparams.fragile.
7575
7576         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7577         moving_arg parameter as the data is stored in runparams.fragile.
7578
7579         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7580         a fragile parameter as the data is stored in runparams.fragile.
7581
7582 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7583
7584         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7585
7586 2003-05-22  Angus Leeming  <leeming@lyx.org>
7587
7588         * latexrunparams.h: add a 'bool nice' which defaults to false.
7589
7590         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7591         now encapsulated within runparams.
7592
7593         * bufferlist.C (updateIncludedTeXfiles):
7594         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7595
7596 2003-05-22  Angus Leeming  <leeming@lyx.org>
7597
7598         * latexrunparams.h: new file containing struct LatexRunParams.
7599         * Makefile.am: add new file.
7600
7601         * LaTeX.[Ch] (c-tor, run):
7602         * buffer.[Ch] (makeLaTeXFile):
7603         * bufferlist.[Ch] (updateIncludedTeXfiles):
7604         * converter.C (convert, scanLog):
7605         * converter.[Ch] (runLaTeX):
7606         * exporter.C (Export):
7607         * paragraph.[Ch] (simpleTeXOnePar):
7608         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7609         * paragraph_funcs.[Ch] (latexParagraphs):
7610         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7611         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7612         pass around a LatexRunParams parameter.
7613
7614 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * paragraph.[Ch]: remove unused constructor
7617
7618         * ParagraphList.C (erase): new function, taking two iterators
7619
7620 2003-05-22  André Pönitz  <poenitz@gmx.net>
7621
7622         * undo_funcs.C: remove duplicated code
7623
7624         * iterator.[Ch]: operator=
7625
7626 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7627
7628         * tabular.C (SetMultiColumn): ws changes
7629
7630         * rowpainter.C (paintFirst): get rid of a ->previous
7631
7632         * lyx_cb.C (getPossibleLabel): parlist simplification
7633
7634         * BufferView.C (ChangeInsets): simplify slightly.
7635
7636 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7637
7638         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7639         * lfuns.h: new LFUN_SPACE
7640         * lyxfunc.C: protected space has a new lfun
7641         * paragraph_funcs.C: read new space insets
7642         * text3.C:
7643         * factory.C: handle new space insets
7644
7645 2003-05-22  André Pönitz  <poenitz@gmx.net>
7646
7647         * BufferView.C:
7648         * BufferView_pimpl.C:
7649         * buffer.[Ch]:
7650         * lyxfunc.C:
7651         * undo_funcs.C: return a ParIterator from getParFromID.
7652
7653         * iterators.[Ch]: add two const's
7654
7655 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * toc.C (getTocList): adjust
7658
7659         * iterators.[Ch]: rework for parlist
7660
7661         * buffer.C (par_iterator_begin): adjust
7662         (par_iterator_end): adjust
7663
7664         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7665
7666         * BufferView.C (removeAutoInsets): adjust
7667         (ChangeInsets): adjust
7668
7669 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7670
7671         * text.C (top_y): fix bug 1110
7672
7673 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7674
7675         * errorlist.[Ch]: added
7676         * buffer.C:
7677         * BufferView.[Ch]:
7678         * BufferView_pimpl.C:
7679         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7680         instead
7681
7682 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7683
7684         * Makefile.am: ensure that lyx is relinked upon changes to the
7685         various "convenience" libs.
7686
7687 2003-05-20  Angus Leeming  <leeming@lyx.org>
7688
7689         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7690         files are compiled in alphabetical order again.
7691
7692         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7693
7694 2003-05-19  Angus Leeming  <leeming@lyx.org>
7695
7696         * gettext.[Ch]: remove "char const * _(char const *)".
7697
7698 2003-05-19  André Pönitz  <poenitz@gmx.net>
7699
7700         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7701
7702         * Makefile.am:
7703         * BufferView.C:
7704         * DepTable.h:
7705         * LaTeXFeatures.C:
7706         * buffer.C:
7707         * lyxfont.C:
7708         * lyxlex.h:
7709         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7710
7711 2003-05-19  André Pönitz  <poenitz@gmx.net>
7712
7713         * buffer.C:
7714         * lyxlayout.[Ch]:
7715         * lyxtextclass.[Ch]:
7716         * paragraph.C:
7717         * paragraph_funcs.[Ch]:
7718         * text2.C:
7719         * text3.C: more insetenv work
7720
7721 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7722
7723         * ParagraphParameters.C (params2string): small bug fixed
7724
7725 2003-05-16  André Pönitz  <poenitz@gmx.net>
7726
7727         * debug.C:
7728         * bufferview_funcs.C: patch from Kornel Benko to prevent
7729           crash when _(...) is called twice in a statement
7730
7731 2003-05-16  André Pönitz  <poenitz@gmx.net>
7732
7733         * BufferView.C:
7734         * lyxfunc.C:
7735         * text.C:
7736         * text2.C:
7737         * text3.C:
7738         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7739
7740 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7741
7742         * lyx_main.C (init): remove spurious static_cast
7743
7744 2003-05-14  André Pönitz  <poenitz@gmx.net>
7745
7746         * BufferView.C: fix format string
7747
7748 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7749
7750         * BufferView.[Ch] (insertErrors): removed
7751         * BufferView.[Ch] (showErrorList): added
7752         * buffer.C (runChkTeX):
7753         * converter.C (scanLog): call showErrorList instead of inserterrors
7754
7755 2003-05-13  André Pönitz  <poenitz@gmx.net>
7756
7757         * BufferView_pimpl.C:
7758         * buffer.C:
7759         * bufferview_func.C:
7760         * MenuBackend.C:
7761         * lyxfunc.C:
7762         * lyxrc.C:
7763         * tex-accent.C:
7764         * text3.C:
7765         * toc.C:
7766         * tabular_funcs.h: tostr() from its own header
7767
7768         * ParagraphParameters.C:
7769         * ToolbarBackend.C:
7770         * bufferparams.C:
7771         * format.C:
7772         * lyxlex_pimpl.C:
7773         * text3.C: STRCONV()
7774
7775 2003-05-12  André Pönitz  <poenitz@gmx.net>
7776
7777         * BufferView.C:
7778         * BufferView_pimpl.C:
7779         * CutAndPaste.C:
7780         * LaTeX.C:
7781         * LaTeXFeatures.C:
7782         * ParagraphParameters.C:
7783         * buffer.C:
7784         * bufferlist.C:
7785         * bufferparams.C:
7786         * bufferview_funcs.C:
7787         * converter.C:
7788         * counters.C:
7789         * debug.C:
7790         * exporter.C:
7791         * format.C:
7792         * importer.C:
7793         * lyx_cb.C:
7794         * lyx_main.C:
7795         * lyxfont.C:
7796         * lyxfunc.C:
7797         * lyxvc.C:
7798         * paragraph.C:
7799         * paragraph_funcs.C:
7800         * tabular.C:
7801         * tabular_funcs.C:
7802         * text2.C:
7803         * text3.C:  boost::format -> bformat  all over the place
7804
7805
7806 2003-05-09  André Pönitz  <poenitz@gmx.net>
7807
7808         * LColor.[Ch]: Pimpl the #include <map> away
7809
7810 2003-05-09  John Levon  <levon@movementarian.org>
7811
7812         * bufferlist.C: never remove emergency saves
7813
7814 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7815
7816         * Makefile.am: better lib building
7817
7818 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7821         instead.
7822         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7823         (simpleTeXSpecialChars): adjust
7824         (simpleTeXSpecialChars): adjust
7825         * paragraph.C (simpleTeXOnePar): adjust
7826         * buffer.C (makeLaTeXFile): adjust
7827
7828         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7829
7830         * text2.C (changeDepth): parlist cleanup
7831         (getColumnNearX): ditto
7832
7833         * rowpainter.C (getLabelFont): parlist cleanup
7834
7835         * bufferlist.C (newFile): parlist cleanup
7836
7837         * CutAndPaste.C (eraseSelection): parlist cleanup
7838
7839         * BufferView_pimpl.C (trackChanges): parlist cleanup
7840         (dispatch): ditto
7841
7842         * BufferView.C (lockInset): parlist cleanup.
7843         (ChangeInsets): ditto
7844
7845 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * CutAndPaste.h: Update file header.
7848
7849         * CutAndPaste.C: Update file header.
7850         Store the parts cut out of the Document in a limited_stack.
7851         (copySelection): adjust
7852         (pasteSelection): new function, takes the index in the limited stack.
7853         (nrOfParagraphs): adjust
7854         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7855         simplify error inset insertion.
7856         (checkPastePossible): adjust
7857
7858 2003-05-06  John Levon  <levon@movementarian.org>
7859
7860         * text2.C: don't cast wrap inset to float
7861
7862 2003-05-05  André Pönitz  <poenitz@gmx.net>
7863
7864         * iterator.C:
7865         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7866
7867         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7868           few naked Paragraph *.
7869
7870 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7871
7872         * bufferparams.C: Output warning if a document with missing
7873         TeX document class is loaded
7874         * exporter.C: Disable TeX exports if the document class is missing
7875         * lyxtextclass.C:
7876         * lyxtextclass.h:
7877         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7878         isTeXClassAvailable()
7879
7880 2003-05-03  John Levon  <levon@movementarian.org>
7881
7882         * BufferView.h:
7883         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7884         explicit cursor show/hide
7885
7886         * BufferView_pimpl.h:
7887         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7888         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7889
7890         * lyxfunc.C: hide cursor before dispatching.
7891
7892         * lyx_cb.C:
7893         * lyxfind.C:
7894         * text.C:
7895         * text3.C: remove explicit cursor hides
7896
7897 2003-05-02  André Pönitz  <poenitz@gmx.net>
7898
7899         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7900
7901         * undo_funcs.C:
7902         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7903           linked lists
7904
7905         * text2.C: tiny whitespace
7906
7907 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7908
7909         * undo_funcs.C: almost only ws changes.
7910
7911         * ParagraphList.C (splice): just return if pl is empty.
7912
7913 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7914
7915         * ParagraphList.C (splice): new function.
7916
7917         * CutAndPaste.C (pasteSelection): use it
7918
7919 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7920
7921         * CutAndPaste.C (pasteSelection): remove the last next and
7922         previous from this file.
7923
7924 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7925
7926         * CutAndPaste.C (pasteSelection): more clean up, user proper
7927         ParagraphList functions for pasteing.
7928
7929         * ParagraphList.C (insert): new function, three arg insert
7930
7931 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7932
7933         * ParagraphList.C (insert): new function, three arg insert
7934
7935         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7936         not on paragraphs.
7937
7938 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7939
7940         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7941
7942 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7943
7944         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7945
7946 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7949         (copySelection): clean up a bit.
7950         (pasteSelection): use make_pair
7951
7952         * ParagraphList.C (ParagraphList): implement copy constructor
7953         (operator=): implement, base on copy constructor.
7954         (assign): new func
7955
7956         * paragraph.C (erase): return a bool
7957
7958         * paragraph_pimpl.C (erasePos): remove function, move contents...
7959         (erase): ... here. Return a bool.
7960         (erase): call erase instead of erasePos.
7961
7962 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7963
7964         * ParagraphList.h: define PitPosPair
7965         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7966         ParagraphList, fix a bug on pasting multiple pars
7967         * text2.C: change interface to C&P
7968
7969 2003-04-30  André Pönitz  <poenitz@gmx.net>
7970
7971         * undo_func.C: revert part of yesterday's patch 2
7972
7973 2003-04-30  John Levon  <levon@movementarian.org>
7974
7975         * LColor.C: s/tabular/table/
7976
7977 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7978
7979         * text3.C (dispatch): do not convert iterator -> pointer
7980         * undo_funcs.C (setCursorParUndo): ditto
7981         * text_funcs.C (transposeChars): ditto
7982
7983         * text2.C (setLayout): ws changes only
7984
7985         * text.C (breakParagraph): do not convert iterator -> pointer
7986         (insertChar): ditto
7987         (acceptChange): ditto
7988         (rejectChange): ditto
7989         (changeCase): ditto
7990         (Delete): ditto
7991         (backspace): ditto
7992
7993         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7994         pointer
7995
7996 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7997
7998         * text3.C (gotoInset): YABG (yet another bad getChar)
7999
8000 2003-04-29  André Pönitz  <poenitz@gmx.net>
8001
8002         * paragraph.h: make operator= private unimplemented as long as
8003           it is unusable
8004
8005         * ParagraphList.C: whitespace
8006
8007         * paragraph.[Ch]:
8008         * paragraph_pimpl.[Ch]:
8009         * paragraph_funcs.C:
8010         * CutAndPaste.C:
8011         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8012
8013         * text2.C:
8014           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8015
8016 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8017
8018         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8019         * paragraph.[Ch] (erase):
8020         * paragraph_pimpl.[Ch] (erase): change return type and value
8021         * text2.C (cutSelection): some rework
8022
8023 2003-04-28  John Levon  <levon@movementarian.org>
8024
8025         * bufferlist.C: changes for unsaved changes dialog
8026
8027 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8028
8029         * bufferlist.C (newFile): set language (messages_) for new
8030         documents also.
8031
8032         * buffer.C (readFile): ws changes only.
8033
8034 2003-04-28  André Pönitz  <poenitz@gmx.net>
8035
8036         * undo_funcs.C:
8037         * lyxfunc.C:
8038         * buffer.[Ch]:
8039         * BufferView_pimpl.C:
8040         * BufferView.C: getParFromID related ParagraphList::iterator changes
8041
8042 2003-04-28  André Pönitz  <poenitz@gmx.net>
8043
8044         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8045           Changes
8046
8047 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * messages.C: remove one more localedir class variable.
8050
8051 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8052
8053         * messages.C (getLocaleDir): singleton generation function
8054         (Pimpl): use it.
8055         (Messages): add a default constructor.
8056
8057         * main.C (main): do not setup localedir here, do not call
8058         gettext_init.
8059
8060         * gettext.C (_): use it.
8061         (gettext_init): delete funciton
8062
8063 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8064
8065         * gettext.C (getLyXMessages): new singleton generating function.
8066
8067         * buffer.C (updateDocLang): adjust
8068
8069         * Makefile.am (messages.o): add target
8070         (main.o): remove target
8071
8072 2003-04-27  John Levon  <levon@movementarian.org>
8073
8074         * bufferlist.C:
8075         * lyx_cb.C:
8076         * lyxfunc.C:
8077         * lyxvc.C: specify cancel button in Alert::prompt
8078
8079 2003-04-26  John Levon  <levon@movementarian.org>
8080
8081         * text3.C:
8082         * lyxfunc.C:
8083         * lfuns.h:
8084         * LyXAction.C: add LFUN_INSET_SETTINGS
8085
8086         * lyxfunc.C: don't enable tabular-feature when there's
8087         just any locking inset
8088
8089 2003-04-26  John Levon  <levon@movementarian.org>
8090
8091         * bufferlist.C: re-add Cancel to buffer close question
8092
8093         * lyxfunc.C: fix import UI a bit
8094
8095 2003-04-25  John Levon  <levon@movementarian.org>
8096
8097         * gettext.C: remove the broken asserts for now
8098
8099 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8100
8101         * messages.C: make case where setlocale cannot comply work better.
8102
8103         * buffer.C (updateDocLang): new function
8104         (changeLanguage): use it
8105         (readFile): use it
8106
8107         * text2.C (setCounter): use B_ a bit.
8108
8109         * lyxlayout.C (Read): be sure to trim the label strings.
8110
8111         * messages.C (Messages): fix typo in comment
8112
8113         * buffer.C (readFile): set message_ after file is loaded.
8114         (makeDocBookFile): remove double return
8115         (changeLanguage): reset message_ upon language change.
8116         (B_): new func, use this to get translated buffer strings.
8117
8118         * main.C: add myself and Jean Marc as authors.
8119
8120 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8121
8122         * messages.[hC]: pimplify Messages, and three different pimpls to be
8123         used in different circumstances.
8124
8125         * gettext.[Ch]: change for use with new message code.
8126
8127 2003-04-24 André Pönitz <poenitz@gmx.net>
8128
8129         * factory.C: support for eqref
8130
8131 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8132
8133         * messages.[Ch]: add missing char
8134
8135         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8136
8137         * messages.[Ch]: New files
8138
8139 2003-04-18  John Levon  <levon@movementarian.org>
8140
8141         * BufferView.h:
8142         * BufferView.C:
8143         * BufferView_pimpl.C:
8144         * lfuns.h:
8145         * LyXAction.C:
8146         * lyxtext.h:
8147         * text2.C: remove layout-copy/paste (bug 778)
8148
8149 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8150
8151         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8152
8153 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8154
8155         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8156         if they succeed. Act accordingly.
8157
8158 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * text2.C (setCharFont): adjust
8161         (setCounter): adjust
8162         (insertStringAsLines): adjust
8163
8164         * text.C (leftMargin): adjust
8165         (setHeightOfRow): adjust
8166
8167         * rowpainter.C (paintFirst): adjust
8168         (paintLast): adjust
8169
8170         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8171         (outerHook): ditto
8172         (isFirstInSequence): ditto
8173         (getEndLabel): ditto
8174         (outerFont): adjust
8175
8176         * paragraph.C (getParLanguage): comment out some hard stuff.
8177
8178         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8179         (sgmlError): ditto
8180         (simpleDocBookOnePar): ditto
8181         (makeDocBookFile): use ParagraphList::iterator
8182
8183         * CutAndPaste.C (pasteSelection): adjust
8184
8185 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8186
8187         * text2.C (getFont): adjust
8188         (getLayoutFont): adjust
8189         (getLabelFont): adjust
8190
8191         * paragraph_funcs.C (TeXOnePar): adjust
8192
8193         * buffer.C (simpleLinuxDocOnePar): adjust
8194         (simpleDocBookOnePar): adjust
8195
8196         * CutAndPaste.C (pasteSelection): adjust
8197
8198         * BufferView.C (getEncoding): adjust
8199
8200         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8201
8202 2003-04-16  John Levon  <levon@movementarian.org>
8203
8204         * lyxfind.C: use parlist stuff for search/changes
8205
8206 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8209
8210         * text2.C (deleteEmptyParagraphMechanism): adjust
8211
8212         * text2.[Ch] (ownerParagraph): delete func (both of them
8213
8214 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8215
8216         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8217
8218 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * ParagraphList.C: prepare for NO_NEXT
8221
8222 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8223
8224         * text2.C (getFont): adjust
8225         (getLayoutFont): adjust
8226         (getLabelFont): adjust
8227
8228         * paragraph.C (getFont): adjust
8229         (getLabelFont): adjust
8230         (getLayoutFont): adjust
8231
8232         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8233
8234 2003-04-15  John Levon  <levon@movementarian.org>
8235
8236         From Angus Leeming
8237
8238         * lyx_main.C: handle Include in .ui files
8239
8240 2003-04-15  John Levon  <levon@movementarian.org>
8241
8242         * MenuBackend.C: make the doc files length shorter
8243
8244         * ToolbarBackend.h:
8245         * ToolbarBackend.C: handle toolbar placement flags,
8246         Minibuffer
8247
8248 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8249
8250         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8251         adjust
8252
8253         * paragraph_funcs.C (TeXOnePar): adjust
8254
8255         * paragraph.C (getLabelFont): add outerfont arg, adjust
8256         (getLayoutFont): ditto
8257         (simpleTeXOnePar): adjust
8258
8259         * paragraph_pimpl.C (realizeFont): delete func
8260
8261 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8262
8263         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8264         row argument, constify cur argument.
8265
8266 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8267
8268         * text2.C (getFont): adjust
8269         (getLayoutFont): adjust
8270         (getLabelFont): adjust
8271
8272         * paragraph_funcs.C (TeXOnePar): adjust
8273         (outerFont): new func...
8274         (realizeFont): ...moved out from here, changed this to facilitate
8275         transition
8276
8277         * paragraph.C (getFont): take outerfont as arg, adjust
8278         (simpleTeXOnePar): add outerfont arg, adjust
8279
8280         * buffer.C (simpleLinuxDocOnePar): adjust
8281         (simpleDocBookOnePar): adjust
8282
8283         * CutAndPaste.C (pasteSelection): adjust
8284
8285         * BufferView.C (getEncoding): adjust
8286
8287 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8288
8289         * text2.C (setCharFont): adjust
8290         (setCounter): adjust
8291
8292         * text.C (leftMargin): adjust
8293         (setHeightOfRow): adjust
8294
8295         * rowpainter.C (paintFirst): adjust
8296         (paintLast): adjust
8297
8298         * paragraph_pimpl.C (realizeFont): adjust
8299
8300         * paragraph.C (isFirstInSequence): move from here...
8301         * paragraph_funcs.C (isFirstInSequence): ...to here
8302
8303         * paragraph.C (outerHook): move from here...
8304         * paragraph_funcs.C (outerHook): ...to here
8305
8306         * paragraph.C (depthHook): move from here...
8307         * paragraph_funcs.C (depthHook): ...to here
8308
8309         * paragraph.C (getEndLabel): move from here...
8310         * paragraph_funcs.C (getEndLabel): ...to here
8311
8312         * text2.C (realizeFont): move from here...
8313         * paragraph_funcs.C (realizeFont): ...to here
8314
8315 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8318
8319 2003-04-14  Angus Leeming  <leeming@lyx.org>
8320
8321         * LColor.[Ch]: scrap LColor mathcursor.
8322
8323 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * lyxlex.[Ch] (text): delete function
8326         * trans.C (Load): adjust
8327         * paragraph_funcs.C (readParToken): adjust
8328
8329 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8332         vector<char> instead of a char[].
8333
8334         * lyxlex_pimpl.C (getString): adjust
8335         (next): adjust
8336         (lex): use getString
8337         (eatLine): adjust
8338         (nextToken): adjust
8339
8340         * lyxlex.C (text): use pimpl_->getString()
8341         (getBool): ditto
8342         (findToken): ditto
8343
8344 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8345
8346         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8347         (makeFontEntriesLayoutSpecific): temp var for par.size()
8348         (setLayout): temp var for ownerParagraphs().end()
8349         (fullRebreak): temp var for rows().end()
8350         (selectionAsString): temp var for boost::next(startpit), realize
8351         that the while really is a regular for loop.
8352         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8353         setCursor in one place.
8354         (setParagraph): temp vr for ownerParagraphs().end()
8355         (updateCounters): make the while loop a for loop
8356         (cutSelection): temp var for ownerParagraphs().end()
8357         (updateInset): make the do {} while() a regular for loop
8358         (getCursorX): use temp vars
8359         (setCurrentFont): use temp vars
8360         (getColumnNearX): use temp vars
8361
8362 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8363
8364         * text.C (transformChar): use temp var for getChar
8365         (computeBidiTables): use temp var for row->par()
8366         (fill): move temp vars for row->par() and pit->layout() earlier in
8367         the function.
8368         (labelFill): use temp var for row->par()
8369         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8370         asc and desc, realize that pit never changes and that firstpit is
8371         just a duplicate and not needed. Exchange rit->par() with pit in a
8372         lot of places.
8373         (breakAgain): use a temp var for boost::next(rit)
8374         (breakAgainOneRow): ditto
8375         (breakParagraph): use a temp var for rows().begin()
8376         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8377         (cursorRightOneWord): use temp var for cursor.par() and
8378         cursor.pos(), remove usage of tmpcursor.
8379         (cursorLeftOneWord): use temp var for cursor.par() and
8380         cursor.pos() only set cur at end of function.
8381
8382 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8383
8384         * text.C, text2.C: exchange all usage of Paragraph::next with
8385         boost::next(ParagraphList::iterator)
8386
8387         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8388
8389         * text2.C (cursorTop): simplify implementation
8390         (cursorBottom): ditto
8391         (setParagraph): use ParagraphList::iterator
8392         (setCurrentFont): adjust
8393         (getColumnNearX): adjust
8394         (cursorRight): adjust
8395         (cursorLeft): remove usage of Paragraph::previous
8396         (cursorUpParagraph): ditto
8397         (deleteEmptyParagraphMechanism): slight cleanup
8398
8399         * text.C (isBoundary): take a Paragraph const & instead of a
8400         pointer as arg.
8401         (addressBreakPoint): ditto
8402         (leftMargin): remove usage of Paragraph::previous.
8403         (setHeightOfRow): ditto
8404         (cursorLeftOneWord): ditto
8405         (selectNextWordToSpellcheck): ditto
8406         (Delete): ditto
8407         (backspace): ditto
8408         (breakParagraph): remove one usage of Paragraph::next
8409         (redoParagraph): ditto
8410         (acceptChange): ditto
8411         (insertChar): adjust
8412         (rowBreakPoint): adjust
8413
8414         * bufferview_funcs.C (toggleAndShow): adjust
8415
8416 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8417
8418         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8419         methods to access it.
8420         * lyxtext.h:
8421         * text.C: Added updateRowPositions to compute all row positions.
8422         Make top_y and getRowNearY() to use the cached y position
8423
8424 2003-04-11  John Levon  <levon@movementarian.org>
8425
8426         * text.C (rowBreakPoint): reintroduce the labelEnd
8427         checks, code copied from the row fill stuff. Deep voodoo.
8428
8429         * text.C (fill): add a comment and debugging for the
8430         next poor soul.
8431
8432 2003-04-11  John Levon  <levon@movementarian.org>
8433
8434         * text.C: make sure fullrow insets get wrapped to the next line,
8435         even when they're in a manual label
8436
8437 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * text2.C (insertParagraph): make it take ParagraphList::iterator
8440         as arg.
8441         (setLayout): make it return ParagraphList::iterator
8442         (redoParagraphs): ditto
8443         (setCounter): ditto
8444         (checkParagraph): ditto
8445
8446         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8447
8448         * text2.C: adjust several funcs.
8449         (realizeFont): take a ParagraphList::iterator as arg.
8450         (getLayoutFont): ditto
8451         (getLabelFont): ditto
8452         (setCharFont): ditto
8453
8454         * text.C: adjust several funcs.
8455
8456 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8457
8458         * text.C (selectNextWordToSpellcheck): don't accidentally
8459         skip insets
8460
8461 2003-04-10  John Levon  <levon@movementarian.org>
8462
8463         * ToolbarBackend.C (getIcon): special handling for
8464         LFUN_MATH_DELIM
8465
8466 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8467
8468         * text2.C (cursorRight): a getChar assert fixed
8469
8470 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8471
8472         * text2.C (getFont): change to take a ParagraphList::iterator
8473         instead of Paragraph*
8474         Adjust several functions.
8475
8476         * text.C (transformChar): change to take a ParagraphList::iterator
8477         instead of Paragraph*
8478         (singleWidth): ditto
8479         Adjust several functions.
8480
8481         * rowpainter.C: adjust several functions
8482         * rowpainter.h:store a ParagraphList::iterator and not a
8483         Paragraph&.
8484
8485
8486 2003-04-09  John Levon  <levon@movementarian.org>
8487
8488         * lyxfunc.C:
8489         * lfuns.h:
8490         * LyXAction.h:
8491         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8492         and the "help" bits as well
8493
8494 2003-04-09  John Levon  <levon@movementarian.org>
8495
8496         * ToolbarBackend.h:
8497         * ToolbarBackend.C: allow multiple toolbars
8498
8499 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8500
8501         * undo_funcs.C (setCursorParUndo): adjust
8502
8503         * text_funcs.C (transposeChars): adjust
8504
8505         * text3.C (gotoNextInset): adjust
8506         (dispatch): adjust
8507
8508         * text2.C (setLayout): adjust
8509         (changeDepth): adjust
8510         (setFont): adjust
8511         (redoParagraphs): adjust
8512         (selectionAsString): adjust
8513         (setParagraph): adjust
8514         (insertInset): adjust
8515         (cutSelection): adjust
8516         (copySelection): adjust
8517         (pasteSelection): adjust
8518         (insertStringAsLines): adjust
8519         (updateInset): adjust
8520         (setCursor): change to take a ParagraphList::iterator parameter
8521         (setCursorIntern): change to take a ParagraphList::iterator parameter
8522         (setCurrentFont): adjust
8523         (cursorLeft): adjust
8524         (cursorRight): adjust
8525         (deleteEmptyParagraphMechanism): adjust
8526
8527         * text.C (breakParagraph): adjust
8528         (insertChar): adjust
8529         (acceptChange): adjust
8530         (rejectChange): adjust
8531         (selectNextWordToSpellcheck): adjust
8532         (changeCase): adjust
8533         (Delete): adjust
8534         (backspace): adjust
8535
8536         * lyxfind.C (SearchForward): adjust
8537         (SearchBackward): adjust
8538         (nextChange): adjust
8539
8540         * lyxcursor.C (par): adjust
8541
8542         * lyxcursor.h: store a ParagraphList::iterator instead of a
8543         Paragraph*
8544
8545         * lyx_cb.C (getPossibleLabel): adjust
8546
8547         * bufferview_funcs.C (toggleAndShow): adjust
8548
8549         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8550         (dispatch): adjust
8551
8552         * BufferView.C (removeAutoInsets): adjust
8553         (lockedInsetStoreUndo): adjust
8554
8555 2003-04-09  John Levon  <levon@movementarian.org>
8556
8557         * ToolbarBackend.C: try icon without argument
8558         if with argument fails
8559
8560 2003-04-08  John Levon  <levon@movementarian.org>
8561
8562         * ToolbarBackend.h:
8563         * ToolbarBackend.C: add getIcon(), handle tooltip,
8564         and change from "Icon" to "Item".
8565
8566 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8567
8568         * BufferView.C (lockInset): another bad getchar crunched
8569
8570 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8571
8572         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8573         again)
8574
8575 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8576
8577         * lyxfind.C (searchForward, searchBackwards): bug 782
8578
8579 2003-04-07  John Levon  <levon@movementarian.org>
8580
8581         * paragraph.C: remove dead comment
8582
8583         * text.C: remove troublesome depth-fiddling code
8584         in leftMargin() and rightMargin() (bug 1017)
8585
8586         * text.C: fix breaking of rows in nested lists
8587         (bug 1004)
8588
8589         * text2.C (updateCounters): fix up depth values
8590         (bug 1013)
8591
8592 2003-04-07  John Levon  <levon@movementarian.org>
8593
8594         * BufferView_pimpl.C: clear message when doc finishes resizing,
8595         and after a mouse event
8596
8597         * lyxfunc.C: clear message after exiting inset
8598
8599 2003-04-07  John Levon  <levon@movementarian.org>
8600
8601         * bufferview_funcs.C: show math status not outside
8602         status in the statusbar
8603
8604 2003-04-07  John Levon  <levon@movementarian.org>
8605
8606         * lyxfunc.C: note status changed after a depth change
8607
8608 2003-04-04  Angus Leeming  <leeming@lyx.org>
8609
8610         * LaTeX.h: move AuxInfo operator==, != out of line.
8611         Remove LaTeX virtual destructor; nothing derives from it.
8612         Move operator()() out of public area and rename it startscript().
8613         Change protected for private.
8614
8615 2003-04-04  Angus Leeming  <leeming@lyx.org>
8616
8617         * lyxfunc.C:
8618         * text2.C: remove unneeded #includes.
8619
8620 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8621
8622         * text2.C (dEPM): fix the heigth of the next row
8623
8624 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8625
8626         * text.C: squashed an invalid getChar requester + some ws changes
8627
8628 2003-04-03  John Levon  <levon@movementarian.org>
8629
8630         * bufferview_funcs.h:
8631         * bufferview_funcs.C:
8632         * lyxfunc.C:
8633         * lyxtext.h:
8634         * text2.C: make getStatus work for the env depth lfuns
8635
8636 2003-04-03  John Levon  <levon@movementarian.org>
8637
8638         * bufferview_funcs.h:
8639         * bufferview_funcs.C:
8640         * lyxfunc.C:
8641         * lyxtext.h:
8642         * text2.C: parlistize decDepth(), by merging it with incDepth()
8643
8644 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8645
8646         * lyxrow.h: store a ParagraphList::iterator instead of a
8647         Paragraph* and adjust other class functions to suit.
8648
8649         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8650         above.
8651
8652 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8653
8654         * text2.C (setCursor): do not anchor to cursor row for the time being
8655
8656 2003-04-02  John Levon  <levon@movementarian.org>
8657
8658         * LyXAction.C:
8659         * lfuns.h:
8660         * lyx_main.C:
8661         * lyxtext.h:
8662         * text.C:
8663         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8664
8665 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8666
8667         * paragraph.h: make ParagraphList and ParagraphList::iterator
8668         friends of Paragraph.
8669
8670         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8671
8672         * ParagraphList.C: Use the private next_ and previous_ from
8673         Paragraph.
8674
8675 2003-04-01  John Levon  <levon@movementarian.org>
8676
8677         * ToolbarBackend.h:
8678         * ToolbarBackend.C:
8679         * Makefile.am: rename, remove defaults gunk
8680
8681         * MenuBackend.h:
8682         * MenuBackend.C: remove defaults gunk
8683
8684         * Languages.h:
8685         * Languages.C: remove defaults gunk
8686
8687         * lyx_main.h:
8688         * lyx_main.C: error out if files couldn't be found.
8689
8690 2003-04-02  John Levon  <levon@movementarian.org>
8691
8692         * text2.C: make incDepth() use parlist
8693
8694 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8695
8696         * undo_funcs.C (firstUndoParagraph): adjust
8697
8698         * text3.C (gotoInset): adjust
8699         (dispatch): adjust, and rewrite loop.
8700
8701         * text2.C (init): adjust, and rewrite loop.
8702         (redoParagraphs): adjust
8703         (updateInset): adjust, and rewrite loop.
8704         (deleteEmptyParagraphMechanism): adjust
8705
8706         * tabular.C (LyXTabular): adjust
8707         (SetMultiColumn): adjust
8708         (TeXRow): adjust
8709
8710         * lyxtext.[Ch] (ownerParagraph): delete function
8711         (ownerParagraphs): new function returns a ParagraphList.
8712
8713         * BufferView.C (removeAutoInsets): adjust
8714         (insertErrors): adjust
8715         (setCursorFromRow): adjust
8716
8717 2003-04-01  Angus Leeming  <leeming@lyx.org>
8718
8719         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8720         in the frontends.
8721
8722 2003-04-02  John Levon  <levon@movementarian.org>
8723
8724         * lyxtext.h:
8725         * text.C:
8726         * Makefile.am:
8727         * text_funcs.h:
8728         * text_funcs.C: make transposeChars a free function
8729
8730         * lyxrow_funcs.C: remove wrong comment
8731
8732 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8733
8734         * lyxtext.h: adjust
8735         * rowpainter.C: adjust
8736         * text.C: adjust
8737         * text2.C: adjust
8738         * text3.C: adjust
8739
8740         * lyxrow_funcs. [Ch]: new files
8741
8742         * lyxrow.[Ch]: remove next and previous pointers
8743         (next,previous): remove accessor functions
8744         (isParEnd): move to lyxrow_funcs
8745         (lastPos): move to lyxrow_funcs
8746         (nextRowIsAllInset): move to lyxrow_funcs
8747         (lastPrintablePos): move to lyxrow_funcs
8748         (numberOfSeparators): move to lyxrow_funcs
8749         (numberOfHfills): move to lyxrow_funcs
8750         (numberOfLabelHfills): move to lyxrow_funcs
8751         (hfillExpansion): move to lyxrow_funcs
8752
8753         * lyxfunc.C: adjust
8754
8755         * bufferview_funcs.C (toggleAndShow): adjust
8756
8757         * RowList.h: Remove class RowList from file leave just a
8758         std::list<Row>.
8759
8760         * RowList.C: delete file
8761
8762         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8763         and lyxrow_funcs.h
8764
8765 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8766
8767         * text3.C (cursorPrevious): adjust
8768         (cursorNext): adjust
8769         (dispatch): adjust
8770
8771         * text2.C (redoHeightOfParagraph): adjust
8772         (redoDrawingOfParagraph): adjust
8773         (setCursor): adjust
8774
8775         * text.C (breakParagraph): adjust
8776         (insertChar): adjust
8777         (backspace): adjust
8778
8779         * rowpainter.C (RowPainter): adjust
8780         (leftMargin): simplify and adjust
8781         (most rowpainter functions): adjust.
8782
8783         * rowpainter.h: store the row as RowList::iterator not as Row*
8784
8785         * lyxcursor.C (row): taka RowList::iterator as arg
8786         (irow): ditto
8787
8788         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8789         of Row*.
8790
8791 2003-04-01  Angus Leeming  <leeming@lyx.org>
8792
8793         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8794         stuff like bool Bool.
8795
8796 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8797
8798         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8799         rewrite a loop
8800
8801 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8802
8803         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8804         RowList::iterator.
8805
8806         * lyxtext.h (rows): drop one version and leve a const variant that
8807         returns a RowList::iterator.
8808
8809 2003-03-31  Angus Leeming  <leeming@lyx.org>
8810
8811         * text.C (fill): ensure that the signature is the same as that in the
8812         header file.
8813
8814 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8815
8816         * text2.C (redoParagraphs): adjust
8817         (updateCounters): adjust
8818         (checkParagraph): adjust
8819         (getColumnNearX): adjust and reformat a bit.
8820
8821         * text.C (top_y): adjust
8822         (workWidth): adjust
8823         (leftMargin): adjust
8824         (prepareToPrint): adjust
8825         (getRow): adjust
8826         (getRowNearY): adjust
8827
8828         * lyxtext.h: make rowlist_ mutable.
8829
8830         * RowList.h: add const_iterator
8831         * RowList.C: adjust for RowList::const_iterator.
8832
8833         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8834         adjust.
8835
8836 2003-03-31  John Levon  <levon@movementarian.org>
8837
8838         * lyxrc.h:
8839         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8840
8841         * lyx_main.C: set default fonts from using lyx_gui funcs
8842
8843         * exporter.C: pdf_mode moved from lyxrc
8844
8845         * lyx_cb.C:
8846         * lyxfunc.C: changes from above
8847
8848 2003-03-31  John Levon  <levon@movementarian.org>
8849
8850         * lyx_main.C: fix to the last fix
8851
8852 2003-03-31  John Levon  <levon@movementarian.org>
8853
8854         * bufferlist.C: "Load original" -> "Load Original"
8855
8856         * converter.C:
8857         * exporter.C:
8858         * importer.C:
8859         * lyx_main.C:
8860         * format.C: more Alert cleanups
8861
8862 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8863
8864         * text2.C (removeParagraph): make it take a RowList::iterator as
8865         arg, adjust.
8866         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8867         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8868
8869         * text.C (anchor_row): make it take a RowList::iterator as arg,
8870         adjust.
8871         (computeBidiTables): make it take a const reference to Row instead
8872         of Row pointer, adjust.
8873         (leftMargin): make it take a RowList::iterator as arg, adjust.
8874         (rowBreakPoint): adjust
8875         (breakAgainOneRow): make it take a RowList::iterator as arg,
8876         adjust.
8877         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8878
8879         * bufferview_funcs.C (toggleAndShow): adjust
8880
8881 2003-03-30  John Levon  <levon@movementarian.org>
8882
8883         * Makefile.am:
8884         * BoostFormat.h:
8885         * boost-inst.C: moved to support
8886
8887         * several files: changes as a result
8888
8889 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8890
8891         * text2.C (LyXText): adjust.
8892         (init): adjust
8893         (removeRow): make it take a RowList::iterator as arg, adjust.
8894         (fullRebreak): adjust
8895         (deleteEmptyParagraphMechanism): adjust
8896         (clearPaint): adjust
8897         (postPaint): adjust
8898
8899         * text.C (top_y): adjust
8900         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8901         (breakAgain): make it take a RowList::iterator as arg, adjust.
8902         (breakParagraph): adjust
8903         (insertChar): adjust
8904         (backspace): adjust
8905
8906         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8907         need_break_row, and refresh_row.
8908
8909         * text3.C (dispatch): adjust
8910
8911         * text2.C (checkParagraph): adjust
8912         (setCursor): adjust
8913         (setCursorFromCoordinates): adjust
8914
8915         * text.C (top_y): adjust
8916         (workWidth): adjust
8917         (getRow): make it return a RowList::iterator, adjust
8918         (getRowNearY): make it return a RowList::iterator, adjust
8919
8920         * text2.C (init): adjust
8921         (insertRow): remove function
8922         (insertParagraph): adjust
8923         (redoParagraphs): adjust
8924         (fullRebreak): adjust
8925         (updateCounters): adjust
8926
8927         * text.C (top_y): rewrite to use RowList iterators.
8928         (top_y): adjust
8929         (setHeightOfRow): rewrite to sue RowList iterators.
8930         (appendParagraph): adjust
8931         (breakAgain): adjust
8932         (breakAgainOneRow): adjust
8933         (breakParagraph): adjust
8934         (getRow): adjust
8935         (getRowNearY): adjust, and remove commented code.
8936
8937         * lyxtext.h (firstRow): delete function
8938         (lastRow): delete function
8939         (rows): new function (const and non-const versions.)
8940         (insertRow): delete function
8941
8942         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8943
8944 2003-03-29  John Levon  <levon@movementarian.org>
8945
8946         * BufferView_pimpl.C: always update scrollbar top
8947         because pasting text when we're anchored could mean we
8948         miss an update altogether
8949
8950 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8951
8952         * text2.C (init): use rowlist_.end() and not 0.
8953         (insertRow): change to take a RowList::iterator as arg, adjust
8954         for this.
8955         (insertParagraph): change to take a RowList::iterator as arg,
8956         adjust for this.
8957         (redoParagraphs): remove some debug msgs.
8958
8959         * text.C (appendParagraph): change to take a RowList::iterator
8960         arg, adjust for this.
8961         (breakAgain): add an assert
8962         (breakAgainOneRow): ditto
8963
8964 2003-03-29  John Levon  <levon@movementarian.org>
8965
8966         * text2.C: do not clear selection after inc/decDepth
8967         (bug 550)
8968
8969 2003-03-29  John Levon  <levon@movementarian.org>
8970
8971         * BufferView.C:
8972         * buffer.C: fix broken strerrors according to Lars
8973
8974 2003-03-29  John Levon  <levon@movementarian.org>
8975
8976         * converters.C: more Alert cleanups
8977
8978 2003-03-29  John Levon  <levon@movementarian.org>
8979
8980         * bufferview_funcs.C: remove pointless Alert
8981
8982         * buffer.C: fix confusing error message when
8983         a template is chmoded 000
8984
8985 2003-03-29  John Levon  <levon@movementarian.org>
8986
8987         * BufferView.C:
8988         * BufferView.h:
8989         * BufferView_pimpl.C: Alert fixes
8990
8991         * Makefile.am:
8992         * tabular.C:
8993         * tabular-old.C: remove unused table compat reading
8994
8995 2003-03-29  John Levon  <levon@movementarian.org>
8996
8997         * BufferView.C:
8998         * buffer.C:
8999         * lyx_cb.h:
9000         * lyx_cb.C: more Alert cleanups
9001
9002         * lyxfunc.C: don't allow chktex if not latex document
9003
9004 2003-03-29  John Levon  <levon@movementarian.org>
9005
9006         * lyx_cb.C:
9007         * BufferView.C:
9008         * buffer.C: warnings pushed down from support/,
9009         kill err_alert
9010
9011 2003-03-29  John Levon  <levon@movementarian.org>
9012
9013         * lyxfunc.C: safety check for C-r (revert)
9014
9015 2003-03-29  John Levon  <levon@movementarian.org>
9016
9017         * bufferlist.h:
9018         * bufferlist.C: several UI fixes using Alert::prompt.
9019         Fix the pointless looping quit code. Fix stupid revert
9020         behaviour (bug 938)
9021
9022         * lyxvc.h:
9023         * lyxvc.C:
9024         * lyx_cb.C: use Alert::prompt
9025
9026         * lyx_main.C: remove a silly question
9027
9028         * lyxfunc.C: remove a couple of silly questions,
9029         use Alert::prompt
9030
9031 2003-03-28  John Levon  <levon@movementarian.org>
9032
9033         * text2.C: fix bug 974 (End on empty par)
9034
9035 2003-03-28  John Levon  <levon@movementarian.org>
9036
9037         * BufferView_pimpl.C:
9038         * LyXAction.C:
9039         * lfuns.h: remove do-nothing math greek lfuns
9040
9041 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9042
9043         * lyxgluelength.h (isValidGlueLength): add default arg on
9044         parameter 2. Remove default arg from friend in class.
9045
9046         * lyxlength.h (isValidLength): add default arg on parameter 2.
9047         Remove default arg from friend in class.
9048
9049         * text2.C (LyXText): adjust, initialize refresh_row.
9050         (init): adjust
9051         (removeRow): adjust
9052         (insertRow): adjust
9053         (insertParagraph): adjst
9054         (redoParagraphs): adjust
9055         (fullRebreak): adjust
9056         (updateCounters): adjust
9057         (deleteEmptyParagraphMechanism): first attempt at fixing a
9058         crashing bug.
9059
9060         * text.C (top_y): adjust
9061         (setHeightOfRow): adjust
9062         (getRow): adjust
9063         (getRowNearY): adjust
9064
9065         * lyxtext.h: include RowList.h
9066         (~LyXText): not needed anymore, deleted.
9067         (firstRow): modify for RowList
9068         (lastRow): new function
9069         Delete firstrow and lastrow class variables, add a Rowlist
9070         rowlist_ class variable.
9071
9072         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9073         paragraph is empty.
9074
9075         * RowList.C (insert): fix case where it == begin().
9076
9077 2003-03-26  Angus Leeming  <leeming@lyx.org>
9078
9079         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9080         the thesaurus dialog.
9081
9082 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9083
9084         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9085
9086         * RowList.[Ch]: new files
9087
9088         * ParagraphList.C (erase): handle the case where it == begin
9089         correctly.
9090
9091 2003-03-25  John Levon  <levon@movementarian.org>
9092
9093         * Makefile.am:
9094         * aspell_local.h:
9095         * aspell.C: add new aspell support
9096
9097         * lyxrc.h:
9098         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9099         have it accessible.
9100
9101 2003-03-25  Angus Leeming  <leeming@lyx.org>
9102
9103         * lfuns.h:
9104         * LyXAction.C (init): new LFUN_INSET_INSERT.
9105
9106         * BufferView_pimpl.C (dispatch): split out part of the
9107         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9108
9109         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9110         LFUN_INSET_APPLY.
9111
9112 2003-03-25  Angus Leeming  <leeming@lyx.org>
9113
9114         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9115
9116 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9117
9118         * text2.C:
9119         * text3.C: remove useless row->height(0)
9120
9121 2003-03-25  John Levon  <levon@movementarian.org>
9122
9123         * lyxtext.h:
9124         * text2.C:
9125         * text3.C: rename the refreshing stuff to better names
9126
9127 2003-03-24  John Levon  <levon@movementarian.org>
9128
9129         * BufferView_pimpl.h:
9130         * BufferView_pimpl.C: update layout choice on a mouse
9131         press/release
9132
9133 2003-03-23  John Levon  <levon@movementarian.org>
9134
9135         * Makefile.am: fix commandtags.h reference
9136
9137 2003-03-22  John Levon  <levon@movementarian.org>
9138
9139         * BufferView_pimpl.C:
9140         * lyxtext.h:
9141         * rowpainter.C:
9142         * rowpainter.h:
9143         * text.C:
9144         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9145
9146 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9147
9148         * lyxtext.h:
9149         * text.C: take the rtl methods out of line
9150
9151 2003-03-21 André Pönitz <poenitz@gmx.net>
9152
9153         * metricsinfo.[Ch]: new files containing structures to be passed around
9154         during the two-phase-drawing...
9155
9156 2003-03-21 André Pönitz <poenitz@gmx.net>
9157
9158         * lyxtextclass.C: read 'environment' tag.
9159
9160 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9161
9162         * text2.C (removeRow): fix bug 964
9163
9164 2003-03-20  John Levon  <levon@movementarian.org>
9165
9166         * rowpainter.C:
9167         * text.C:
9168         * text2.C: paint cleanups. Inset::update() dropped font
9169         parameter
9170
9171 2003-03-19  John Levon  <levon@movementarian.org>
9172
9173         * lyxfunc.C: only fitcursor/markDirty if available()
9174
9175 2003-03-19  John Levon  <levon@movementarian.org>
9176
9177         * commandtags.h: rename to ...
9178
9179         * lfuns.h: ... this, and renumber / cleanup
9180
9181 2003-03-19  John Levon  <levon@movementarian.org>
9182
9183         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9184         fit the cursor after an lfun
9185
9186         * BufferView.h:
9187         * BufferView.C:
9188         * BufferView_pimpl.h:
9189         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9190
9191         * LyXAction.C: layout-character should have ReadOnly
9192
9193         * ParagraphParameters.C:
9194         * buffer.C:
9195         * bufferview_funcs.C:
9196         * lyx_cb.C:
9197         * lyxfind.C:
9198         * lyxtext.h:
9199         * text.C:
9200         * text2.C:
9201         * text3.C:
9202         * undo_funcs.C: changes from above
9203
9204 2003-03-18  John Levon  <levon@movementarian.org>
9205
9206         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9207         remove it from update()
9208
9209         * lyxfunc.C: update layout choice after an lfun
9210
9211         * text3.C: remove extra updateLayoutChoice()s
9212
9213 2003-03-18  John Levon  <levon@movementarian.org>
9214
9215         * text.C: top_y change means full repaint, fix
9216         a drawing bug with cursor movement
9217
9218 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9219
9220         * lyxtext.h:
9221         * text.C:
9222         * text2.C: anchor row on setCursor
9223
9224 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9225
9226         * lyxtext.h: remove almost all mutable keywords
9227         * text.C:
9228         * text2.C:
9229         * text3.C: remove const keywords accordingly
9230
9231 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9232
9233         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9234         anon namespace
9235         (TeXEnvironment): ditto
9236         (TeXOnePar): ditto
9237
9238 2003-03-17  John Levon  <levon@movementarian.org>
9239
9240         * text.C (rowBreakPoint): remove attempt to fix displayed
9241         math insets inside a manual label
9242
9243 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9244
9245         * lyxtext.h: remove BufferView* as first arg from almost all class
9246         functions.
9247         * other files: adjust.
9248
9249 2003-03-17  John Levon  <levon@movementarian.org>
9250
9251         * lyxtext.h:
9252         * undo_funcs.C:
9253         * text2.C: more paint cleanups
9254
9255         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9256
9257         * rowpainter.h:
9258         * rowpainter.C: remove "smart" background painting code
9259
9260 2003-03-16  John Levon  <levon@movementarian.org>
9261
9262         * lyxtext.h:
9263         * text.C:
9264         * text2.C:
9265         * text3.C: add helper functions for setting refresh_row/y
9266
9267 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9268
9269         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9270         newline inset which *can* get inserted in the pass_thru layouts.
9271         This is primarily for literate documents.
9272
9273 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9274
9275         * buffer.C: increment LYX_FORMAT to 223
9276
9277 2003-03-14 André Pönitz <poenitz@gmx.net>
9278
9279         * textclass.h: prepare for environment handling, ws changes
9280         * lyxlayout.C: read latexheader and latexfooter tags
9281
9282 2003-03-14  John Levon  <levon@movementarian.org>
9283
9284         * text2.C: rewrite ::status() a bit
9285
9286 2003-03-13  John Levon  <levon@movementarian.org>
9287
9288         * lyxtext.h: add some docs
9289
9290 2003-03-13  John Levon  <levon@movementarian.org>
9291
9292         * lyxtext.h:
9293         * text.C:
9294         * text2.C:
9295         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9296
9297 2003-03-13  John Levon  <levon@movementarian.org>
9298
9299         * text3.C: fix appendix redrawing
9300
9301 2003-03-13  John Levon  <levon@movementarian.org>
9302
9303         * text.C (setHeightOfRow):
9304         * rowpainter.h:
9305         * rowpainter.C: make appendix mark have the text
9306           "Appendix" so the user knows what it is
9307
9308         * LColor.h:
9309         * LColor.C: s/appendixline/appendix/ from above
9310
9311 2003-03-13  John Levon  <levon@movementarian.org>
9312
9313         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9314
9315         * text.C: fix a getChar(pos) bug properly
9316
9317 2003-03-13  Angus Leeming  <leeming@lyx.org>
9318
9319         * commandtags.h:
9320         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9321         Probably only temporary. Let's see how things pan out.
9322
9323         * BufferView.C (unlockInset):
9324         * BufferView_pimpl.C (fitCursor):
9325         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9326
9327         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9328         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9329
9330         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9331         new functions that convert ParagraphParameters to and from a string.
9332
9333         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9334         BufferView::Pimpl's dispatch.
9335         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9336
9337 2003-03-13 André Pönitz <poenitz@gmx.net>
9338
9339         * lyxfunc.C:
9340         * text3.C:
9341         * factory.C: make it aware of InsetEnv
9342
9343 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9344
9345         * text2.C (setCursor): never ask for one past last
9346         (setCursor): add some debugging messages.
9347
9348         * text.C (singleWidth): never ask for one past last
9349         (singleWidth): ditto
9350         (leftMargin): ditto
9351         (rightMargin): ditto
9352         (rowBreakPoint): ditto
9353         (setHeightOfRow): ditto
9354         (prepareToPrint): ditto
9355
9356         * rowpainter.C (paintBackground): never ask for one past last
9357         (paintText): never ask for one past last
9358
9359         * paragraph_pimpl.C (getChar): make the assert stricter, never
9360         allow the one past last pos to be taken
9361
9362         * paragraph.C (getChar): ws changes only
9363
9364         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9365         (numberOfSeparators): ditto
9366         (numberOfHfills): ditto
9367
9368 2003-03-12  John Levon  <levon@movementarian.org>
9369
9370         * author.h:
9371         * author.C:
9372         * bufferparams.h:
9373         * bufferparams.C:
9374         * paragraph_funcs.C: fix per-buffer authorlists
9375
9376 2003-03-12  John Levon  <levon@movementarian.org>
9377
9378         * text.C: fix newline in right address
9379
9380 2003-03-12  Angus Leeming  <leeming@lyx.org>
9381
9382         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9383         duplicate those in LyXFunc::dispatch.
9384
9385         * commandtags.h:
9386         * LyXAction.C:
9387         * ToolbarDefaults.C:
9388         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9389         Add LFUN_FONTFREE_UPDATE.
9390
9391         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9392         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9393
9394         * bufferview_func.[Ch]: several new functions to facilliate
9395         transfer of data to and from the character dialog.
9396
9397 2003-03-12  John Levon  <levon@movementarian.org>
9398
9399         * buffer.C:
9400         * paragraph.h:
9401         * paragraph.C:
9402         * paragraph_funcs.C:
9403         * paragraph_pimpl.C:
9404         * sgml.C:
9405         * tabular.C:
9406         * text.C:
9407         * text3.C: remove META_NEWLINE in favour of an inset
9408
9409         * rowpainter.h:
9410         * rowpainter.C: remove paintNewline (done by inset)
9411
9412 2003-03-12  John Levon  <levon@movementarian.org>
9413
9414         * paragraph_pimpl.C: complain about bad getChar()s
9415         for a while at least
9416
9417 2003-03-12  John Levon  <levon@movementarian.org>
9418
9419         * buffer.h:
9420         * buffer.C: move paragraph read into a separate function,
9421         a little renaming to reflect that.
9422
9423         * bufferparams.h:
9424         * bufferparams.C: remove the author_ids map, not necessary now
9425
9426         * factory.h:
9427         * factory.C: moved Buffer::readInset to here
9428
9429         * paragraph_funcs.h:
9430         * paragraph_funcs.C: readParagraph free function moved from
9431         buffer.C
9432
9433         * tabular.C: name change
9434
9435 2003-03-12  John Levon  <levon@movementarian.org>
9436
9437         * buffer.C:
9438         * ParagraphParameters.C: move par params input to
9439         a read() method
9440
9441         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9442         behave like a normal read from the stream wrt reading
9443         a line vs. a \\token
9444
9445 2003-03-12  John Levon  <levon@movementarian.org>
9446
9447         * paragraph.C:
9448         * ParagraphParameters.h:
9449         * ParagraphParameters.C: move output code to a
9450         ::write() method
9451
9452 2003-03-12  John Levon  <levon@movementarian.org>
9453
9454         * BufferView.C (insertLyXFile):
9455         * buffer.h:
9456         * buffer.C:
9457         * tabular.C: use a parlist iterator for creating the
9458           document.
9459
9460 2003-03-12  John Levon  <levon@movementarian.org>
9461
9462         * buffer.C: make current_change static local not
9463           static file-scope
9464
9465 2003-03-12  John Levon  <levon@movementarian.org>
9466
9467         * buffer.C: fix insertStringAsLines for change tracking
9468
9469 2003-03-12  John Levon  <levon@movementarian.org>
9470
9471         * BufferView.C:
9472         * tabular.C:
9473         * buffer.h:
9474         * buffer.C:
9475         * bufferparams.h:
9476         * bufferparams.C: move author list into params. Rename some
9477           functions. Move the header reading into a separate token
9478           loop. Move the header token reading into BufferParams.
9479
9480 2003-03-12  John Levon  <levon@movementarian.org>
9481
9482         * changes.C: put debug inside lyxerr.debugging() checks
9483
9484 2003-03-11 André Pönitz <poenitz@gmx.net>
9485
9486         * factory.C: make it aware of InsetHFill
9487
9488 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9489
9490         * buffer.C (latexParagraphs): move function from here...
9491         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9492         args.
9493
9494 2003-03-10  Angus Leeming  <leeming@lyx.org>
9495
9496         * LyXAction.C (init): fix bug in poplating array with multiple entries
9497         with the same LFUN (spotted by JMarc).
9498
9499 2003-03-10  John Levon  <levon@movementarian.org>
9500
9501         * text.C:
9502         * text2.C: move getColumnNearX() near its
9503         only call site
9504
9505 2003-03-10  John Levon  <levon@movementarian.org>
9506
9507         * text.C: fix break before a minipage
9508
9509 2003-03-10  John Levon  <levon@movementarian.org>
9510
9511         * text.C: fix the last commit
9512
9513 2003-03-09  John Levon  <levon@movementarian.org>
9514
9515         * lyxtext.h:
9516         * text.C:
9517         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9518         bug 365 (don't break before insets unless needed). Don't
9519         return a value > last under any circumstances.
9520
9521 2003-03-09  Angus Leeming  <leeming@lyx.org>
9522
9523         * BufferView_pimpl.C (trackChanges, dispatch): call
9524         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9525
9526 2003-03-09  Angus Leeming  <leeming@lyx.org>
9527
9528         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9529         than Dialogs::showAboutlyx().
9530
9531 2003-03-09  Angus Leeming  <leeming@lyx.org>
9532
9533         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9534         than Dialogs::showTabularCreate().
9535
9536 2003-03-09  John Levon  <levon@movementarian.org>
9537
9538         * lyxtext.h:
9539         * text.C:
9540         * text2.C: 3rd arg to nextBreakPoint was always the same.
9541           Use references.
9542
9543 2003-03-08  John Levon  <levon@movementarian.org>
9544
9545         * lyxrow.C:
9546         * paragraph.C:
9547         * paragraph.h:
9548         * rowpainter.C:
9549         * text.C:
9550         * text2.C: Remove the "main" bit from the "main body"
9551           notion.
9552
9553 2003-03-08  John Levon  <levon@movementarian.org>
9554
9555         * text.C (leftMargin): The left margin of an empty
9556         manual label paragraph should not include the label width
9557         string length.
9558
9559         * text.C (prepareToPrint): don't attempt to measure hfills
9560         for empty manual label paragraphs - the answer should be 0
9561
9562 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9563
9564         * CutAndPaste.C: remove commented code and reindent.
9565
9566 2003-03-08  John Levon  <levon@movementarian.org>
9567
9568         * lyxfunc.h:
9569         * lyxfunc.C: move reloadBuffer()
9570
9571         * BufferView.h:
9572         * BufferView.C: to here
9573
9574         * lyxvc.C: add comment
9575
9576         * vc-backend.h:
9577         * vc-backend.C: call bv->reload() to avoid
9578           getStatus() check on MENURELOAD
9579
9580 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9581
9582         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9583         to an old format .dep file.
9584
9585 2003-03-07  Angus Leeming  <leeming@lyx.org>
9586
9587         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9588         when the LFUN_MOUSE_RELEASE should have been handled by
9589         inset->localDispatch.
9590
9591 2003-03-07  Angus Leeming  <leeming@lyx.org>
9592
9593         * BufferView_pimpl.C (dispatch):
9594         * LyXAction.C (init):
9595         * ToolbarDefaults.C (init):
9596         * commandtags.h:
9597         * lyxfunc.C (getStatus):
9598         remove LFUN_INSET_GRAPHICS.
9599
9600         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9601
9602 2003-03-07  Angus Leeming  <leeming@lyx.org>
9603
9604         * commandtags.h:
9605         * LyXAction.C (init):
9606         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9607
9608         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9609
9610         * commandtags.h:
9611         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9612
9613         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9614         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9615
9616 2003-03-07  Angus Leeming  <leeming@lyx.org>
9617
9618         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9619         remove "ert".
9620
9621 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9622
9623         * ParagraphList.C (front): new function
9624         (back): implement
9625
9626 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9627
9628         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9629         and top_row_offset_. removed var first_y.
9630         * text.C (top_y):
9631         * text2.C (LyXText, removeRow):
9632         * text3.C:
9633         * BufferView_pimpl.C:
9634         use these methods instead of using first_y
9635
9636 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9637
9638         * text2.C (pasteSelection): adjust for checkPastePossible
9639
9640         * CutAndPaste.C: remove Paragraph * buf and replace with
9641         ParagraphList paragraphs.
9642         (DeleteBuffer): delete
9643         (cutSelection): change the tc type to textclass_type
9644         (copySelection): change the tc type to textclass_type
9645         (copySelection): adjust for ParagraphList
9646         (pasteSelection): change the tc type to textclass_type
9647         (pasteSelection): adjust for Paragraphlist
9648         (nrOfParagraphs): simplify for ParagraphList
9649         (checkPastePossible): simplify for ParagraphList
9650         (checkPastePossible): remove unused arg
9651
9652         * ParagraphList.C (insert): handle the case where there are no
9653         paragraphs yet.
9654
9655         * CutAndPaste.h: make CutAndPaste a namespace.
9656
9657         * text3.C (dispatch): adjust
9658
9659         * text.C (breakParagraph): add a ParagraphList as arg
9660
9661         * paragraph_funcs.C (breakParagraph): change to take a
9662         BufferParams and a ParagraphList as args.
9663         (breakParagraphConservative): ditto
9664         (mergeParagraph): ditto
9665         (TeXDeeper): add a ParagraphList arg
9666         (TeXEnvironment): ditto
9667         (TeXOnePar): ditto
9668
9669         * buffer.C (readLyXformat2): adjust
9670         (insertStringAsLines): adjust
9671         (latexParagraphs): adjust
9672
9673         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9674         (cutSelection): adjust
9675         (pasteSelection): adjust
9676
9677         * BufferView_pimpl.C (insertInset): adjust
9678
9679 2003-03-05  Angus Leeming  <leeming@lyx.org>
9680
9681         * commandtags.h:
9682         * LyXAction.C (init):
9683         * BufferView_pimpl.C (dispatch):
9684         * lyxfunc.C (getStatus):
9685         remove LFUN_CHILD_INSERT.
9686
9687         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9688
9689 2003-03-05  Angus Leeming  <leeming@lyx.org>
9690
9691         * commandtags.h:
9692         * LyXAction.C (init):
9693         * src/factory.C (createInset):
9694         * lyxfunc.C (getStatus):
9695         * text3.C (dispatch):
9696         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9697
9698         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9699
9700 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9701
9702         * ParagraphList.C (insert): handle insert right before end()
9703         (erase): fix cases where it can be first or last paragraph.
9704
9705 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9706
9707         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9708         Paragraph::next and Paragraph::previous
9709         (TeXOnePar): ditto
9710
9711         * text.C (breakParagraph): adjust
9712
9713         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9714         BufferParams& as arg.
9715         (breakParagraph): use ParagraphList::insert
9716         (breakParagraphConservative): take a Buffer* instead of a
9717         BufferParams& as arg.
9718         (breakParagraphConservative): use ParagraphList::insert.
9719
9720         * buffer.C (insertStringAsLines): un-const it
9721         (insertStringAsLines): adjust
9722
9723         * ParagraphList.C (insert): new function
9724
9725         * CutAndPaste.C (pasteSelection): adjust
9726
9727         * text.C (backspace): adjust
9728
9729         * tabular.C (SetMultiColumn): adjust
9730
9731         * CutAndPaste.C (cutSelection): adjust
9732         (pasteSelection): adjust
9733
9734         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9735         Buffer const * as arg
9736
9737         * ParagraphList.C (erase): new function
9738         * paragraph_funcs.C (mergeParagraph): use it
9739         (mergeParagraph): make it take a Buffer* instead of a
9740         BufferParams* as arg
9741
9742         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9743         as arg
9744         (breakParagraphConservative): ditto
9745
9746         * paragraph.h: remove the breakParagraph friend
9747
9748         * paragraph.C (eraseIntern): new function
9749         (setChange): new function
9750
9751         * paragraph_funcs.C (mergeParagraph): make it take a
9752         ParagraphList::iterator instead of a Paragraph *, adjust
9753         accordingly.
9754
9755         * paragraph.h: move an #endif so that the change tracking stuff
9756         also works in the NO_NEXT case.
9757
9758 2003-03-04  Angus Leeming  <leeming@lyx.org>
9759
9760         * commandtags.h:
9761         * LyXAction.C: new LFUN_INSET_MODIFY.
9762
9763         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9764         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9765
9766 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9767
9768         * several files: ws changes only
9769
9770         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9771         (TeXEnvironment): ditto
9772         (TeXDeeper): ditto
9773
9774         * buffer.C (makeLaTeXFile): adjust
9775         (latexParagraphs): make it take ParagraphList::iterator as args
9776
9777 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9778
9779         * buffer.C (latexParagraphs): adjust
9780
9781         * paragraph.C (TeXOnePar): move function...
9782         (optArgInset): move function...
9783         (TeXEnvironment): move function...
9784         * paragraph_pimpl.C (TeXDeeper): move function...
9785         * paragraph_funcs.C: ...here
9786
9787         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9788
9789 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9790
9791         * buffer.C (readInset): remove compability code for old Figure and
9792         InsetInfo insets
9793
9794 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9795
9796         * buffer.C: ws changes
9797         (readInset):
9798
9799         * BufferView_pimpl.C: ditto
9800         * author.C: ditto
9801         * buffer.h: ditto
9802         * bufferlist.h: ditto
9803         * changes.h: ditto
9804         * lyxfunc.C: ditto
9805
9806 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9807
9808         * converter.[Ch]: split into itself +
9809         * graph.[Ch]
9810         * format.[Ch]
9811         * Makefile.am: += graph.[Ch] + format.[Ch]
9812         * MenuBackend.C
9813         * buffer.C
9814         * exporter.C
9815         * importer.C
9816         * lyx_main.C
9817         * lyxfunc.C
9818         * lyxrc.C: added #include "format.h"
9819
9820 2003-02-27  Angus Leeming  <leeming@lyx.org>
9821
9822         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9823           a label.
9824
9825         * factory.C (createInset): add "label" to the factory.
9826
9827         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9828           string and do no more.
9829
9830 2003-02-27  Angus Leeming  <leeming@lyx.org>
9831
9832         * commandtags.h:
9833         * LyXAction.C (init):
9834         * factory.C (createInset):
9835         * BufferView_pimpl.C (dispatch):
9836           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9837
9838         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9839
9840         * lyxfunc.C (dispatch):
9841         * text3.C (dispatch): pass name to params2string.
9842
9843 2003-02-26  Angus Leeming  <leeming@lyx.org>
9844
9845         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9846           blocks together.
9847           Rearrange the ~includes. Strip out the unnecessary ones.
9848
9849         * factory.C (createInset): reformat.
9850           create new insets for the various LFUN_XYZ_APPLY lfuns.
9851
9852 2003-02-26  John Levon  <levon@movementarian.org>
9853
9854         * lyxrow.h:
9855         * lyxrow.C: add isParStart,isParEnd helpers
9856
9857         * paragraph.h: make isInserted/DeletedText take refs
9858
9859         * paragraph_funcs.h:
9860         * paragraph_funcs.C: remove #if 0'd code
9861
9862         * lyxtext.h:
9863         * text3.C:
9864         * text2.C:
9865         * text.C: use lyxrow helpers above.
9866           Move draw and paint routines to RowPainter.
9867           Make several methods use refs not pointers.
9868           Make backgroundColor() const.
9869           Add markChangeInDraw(), isInInset().
9870           Merge changeRegionCase into changeCase.
9871           Make workWidth() shouldn't-happen code into an Assert.
9872
9873         * rowpainter.h:
9874         * rowpainter.C: new class for painting a row.
9875
9876         * vspace.h:
9877         * vspace.C: make inPixels take a ref
9878
9879 2003-02-26  Angus Leeming  <leeming@lyx.org>
9880
9881         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9882         LFUN_REF_APPLY.
9883
9884 2003-02-25  John Levon  <levon@movementarian.org>
9885
9886         * ispell.C: give the forked command a more accurate name
9887
9888 2003-02-22  John Levon  <levon@movementarian.org>
9889
9890         * toc.h:
9891         * toc.C: make TocItem store an id not a Paragraph *
9892           (bug #913)
9893
9894 2003-02-21  Angus Leeming  <leeming@lyx.org>
9895
9896         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9897           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9898           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9899           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9900           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9901           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9902
9903         * BufferView_pimpl.C (dispatch):
9904         * LyXAction.C (init):
9905         * factory.C (createInset):
9906         * lyxfunc.C (getStatus, dispatch):
9907         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9908
9909 2003-02-21  Angus Leeming  <leeming@lyx.org>
9910
9911         * BufferView_pimpl.C (MenuInsertLyXFile):
9912         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9913         * lyxfunc.C (menuNew, open, doImport):
9914           no longer pass a LyXView & to fileDlg.
9915
9916 2003-02-21  Angus Leeming  <leeming@lyx.org>
9917
9918         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9919         * LyXAction.C: change, BIBKEY to BIBITEM.
9920         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9921         Change InsetBibKey to InsetBibitem.
9922         Change BIBKEY_CODE to BIBITEM_CODE.
9923         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9924         * factory.C: replace insetbib.h with insetbibitem.h.
9925         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9926         * paragraph.C: replace insetbib.h with insetbibitem.h.
9927         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9928         Change bibkey() to bibitem().
9929         * text.C: remove insetbib.h.
9930         * text2.C: replace insetbib.h with insetbibitem.h.
9931         change bibkey() to bibitem().
9932         * text3.C: remove insetbib.h.
9933         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9934
9935 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9936
9937         * lyxrc.C (output): enclose user email in quotes (in case there are
9938         several words)
9939
9940 2003-02-18  John Levon  <levon@movementarian.org>
9941
9942         * buffer.h: add std::
9943
9944 2003-02-17  John Levon  <levon@movementarian.org>
9945
9946         * SpellBase.h:
9947         * ispell.h:
9948         * ispell.C:
9949         * pspell.h:
9950         * pspell.C: reworking. Especially in ispell, a large
9951           number of clean ups and bug fixes.
9952
9953         * lyxfunc.C: fix revert to behave sensibly
9954
9955 2003-02-17 André Pönitz <poenitz@gmx.net>
9956
9957         * LyXAction.C:
9958         * commandtags.h: new LFUN_INSERT_BIBKEY
9959
9960         * layout.h:
9961         * lyxlayout.C:
9962         * buffer.C:
9963         * factory.C:
9964         * text.C:
9965         * text2.C:
9966         * text3.C:
9967         * paragraph.[Ch]:
9968         * paragraph_func.C: remove special bibkey handling
9969
9970 2003-02-17  John Levon  <levon@movementarian.org>
9971
9972         * text.C (Delete): fix case where delete at the end of
9973           the very first paragraph would not merge the pars
9974
9975 2003-02-17  John Levon  <levon@movementarian.org>
9976
9977         * lyxrow.C: fix lastPrintablePos()
9978
9979 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9980
9981         * bufferparams.C (writeLaTeX): add a std:here
9982
9983         * buffer.C: and remove a using directive there
9984
9985 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9986
9987         * buffer.C (makeLaTeXFile): move the code that generates the
9988           preamble...
9989
9990         * bufferparams.C (writeLaTeX): ... in this new method
9991
9992         * LaTeXFeatures.C (getEncodingSet): make const
9993           (getLanguages): make const
9994
9995         * MenuBackend.C (binding): returns the binding associated to this
9996           action
9997           (add): sets the status of each item by calling getStatus. Adds
9998           some intelligence.
9999           (read): add support for OptSubMenu
10000           (expand): remove extra separator at the end of expanded menu
10001
10002 2003-02-15  John Levon  <levon@movementarian.org>
10003
10004         * BufferView.C:
10005         * BufferView_pimpl.C:
10006         * bufferlist.h:
10007         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10008           inset code that had no actual effect. Remove unneeded status
10009           code.
10010
10011 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10012
10013         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10014           in preamble
10015
10016 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10017
10018         * text.C (drawLengthMarker): also draw an arrow marker for
10019           symbolic lengths (medskip...)
10020
10021 2003-02-14  John Levon  <levon@movementarian.org>
10022
10023         * tabular.h:
10024         * tabular.C: better method names
10025
10026 2003-02-14  John Levon  <levon@movementarian.org>
10027
10028         * BufferView_pimpl.C:
10029         * bufferlist.C:
10030         * buffer.C:
10031         * converter.C:
10032         * lyx_cb.C:
10033         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10034           it's a more accurate name. Remove some pointless uses.
10035
10036 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10037
10038         * text2.C (LyXText): change order of initilizers to shut off
10039           warnings
10040
10041 2003-02-14  John Levon  <levon@movementarian.org>
10042
10043         * buffer.C: use ParIterator for getParFromID()
10044
10045         * paragraph.h:
10046         * paragraph.C:
10047         * paragraph_pimpl.h:
10048         * paragraph_pimpl.C: remove unused getParFromID()
10049
10050 2003-02-14  John Levon  <levon@movementarian.org>
10051
10052         * buffer.C: remove some very old #if 0'd parse code
10053
10054 2003-02-13  John Levon  <levon@movementarian.org>
10055
10056         * text.h:
10057         * text.C:
10058         * text2.C: move hfillExpansion(), numberOfSeparators(),
10059           rowLast(), rowLastPrintable(), numberofHfills(),
10060           numberOfLabelHfills() ...
10061
10062         * lyxrow.h:
10063         * lyxrow.C: ... to member functions here.
10064
10065         * paragraph.h:
10066         * paragraph.C:
10067         * lyxtext.h:
10068         * text.C: remove LyXText::beginningOfMainBody(), and call
10069           p->beginningOfMainBody() directly. Move the check for
10070           LABEL_MANUAL into the latter.
10071
10072         * text.h:
10073         * text.C:
10074         * text2.C:
10075         * vspace.C:
10076         * BufferView.h:
10077         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10078
10079         * text.h:
10080         * text.C:
10081         * text2.C:
10082         * text3.C:
10083         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10084           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10085
10086 2003-02-13  John Levon  <levon@movementarian.org>
10087
10088         * CutAndPaste.C: remove debug
10089
10090 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10091
10092         * paragraph.C (asString): remove two unused variables
10093
10094         * lyxtextclass.C (readTitleType):
10095           (Read):
10096           (LyXTextClass): handle new members titletype_ and titlename_
10097
10098         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10099
10100 2003-02-09  John Levon  <levon@movementarian.org>
10101
10102         * buffer.h:
10103         * buffer.C: replace hand-coded list with a map for the dep clean
10104
10105 2003-02-08  John Levon  <levon@movementarian.org>
10106
10107         * LaTeX.C: consolidate code into showRunMessage() helper
10108
10109 2003-02-08  John Levon  <levon@movementarian.org>
10110
10111         * lyxfind.C:
10112         * lyxtext.h:
10113         * text2.C:
10114         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10115           and pass the size in explicitly
10116
10117         * BufferView_pimpl.h:
10118         * BufferView_pimpl.C:
10119         * BufferView.h:
10120         * BufferView.C: add getCurrentChange()
10121
10122         * BufferView_pimpl.h:
10123         * BufferView_pimpl.C: handle change lfuns
10124
10125         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10126           for changes. Mark pasted paragraphs as new.
10127
10128         * support/lyxtime.h:
10129         * support/lyxtime.C:
10130         * DepTable.C: abstract time_t as lyx::time_type
10131
10132         * LColor.h:
10133         * LColor.C: add colours for new text, deleted text, changebars
10134
10135         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10136           package use "usenames" option.
10137
10138         * commandtags.h:
10139         * lyxfunc.C:
10140         * LyXAction.C: add change lfuns
10141
10142         * Makefile.am:
10143         * author.h:
10144         * author.C: author handling
10145
10146         * buffer.h:
10147         * buffer.C: add a per-buffer author list, with first entry as
10148           current author. Handle new .lyx tokens for change tracking. Output
10149           author list to .lyx file. Output dvipost stuff to .tex preamble.
10150           Bump lyx format to 222.
10151
10152         * bufferlist.h:
10153         * bufferlist.C: add setCurrentAuthor() to reset current author details
10154           in all buffers.
10155
10156         * bufferparams.h:
10157         * bufferparams.C: add param for tracking
10158
10159         * bufferview_funcs.C: output change info in minibuffer
10160
10161         * Makefile.am:
10162         * changes.h:
10163         * changes.C: add change-tracking structure
10164
10165         * debug.h:
10166         * debug.C: add CHANGES debug flag
10167
10168         * lyxfind.h:
10169         * lyxfind.C: add code for finding the next change piece
10170
10171         * lyxrc.h:
10172         * lyxrc.C: add user_name and user_email
10173
10174         * lyxrow.h:
10175         * lyxrow.C: add a metric for the top of the text line
10176
10177         * lyxtext.h:
10178         * text.C: implement accept/rejectChange()
10179
10180         * lyxtext.h:
10181         * text.C: paint changebars. Paint new/deleted text in the chosen
10182         colours. Strike through deleted text.
10183
10184         * paragraph.h:
10185         * paragraph.C:
10186         * paragraph_pimpl.h:
10187         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10188           in the current change to the insert functions. Rework erase to
10189           mark text as deleted, adding an eraseIntern() and a range-based
10190           erase(). Implement per-paragraph change lookup and
10191           accept/reject.
10192
10193         * paragraph_funcs.C: Fixup paste for change tracking.
10194
10195         * tabular.C: mark added row/columns as new.
10196
10197         * text.C: fix rowLast() to never return -1. Don't allow
10198           spellchecking of deleted text. Track transpose changes. Don't
10199           allow paragraph break or merge where appropriate.
10200
10201         * text2.C: leave cursor at end of selection after a cut.
10202
10203 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10204
10205         * text.C (getLengthMarkerHeight):
10206         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10207         visible on screen too.
10208
10209 2003-02-07  John Levon  <levon@movementarian.org>
10210
10211         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10212
10213 2003-02-05  Angus Leeming  <leeming@lyx.org>
10214
10215         * lyxserver.C (read_ready): revert my patch of 11 September last year
10216         as it sends PC cpu through the roof. Presumably this means that
10217         the lyxserver will no longer run on an Alpha...
10218
10219 2003-01-30  Angus Leeming  <leeming@lyx.org>
10220
10221         * factory.C (createInset): create an InsetCommandParam of type "index"
10222         and use it to 'do the right thing'.
10223
10224         * text2.C (getStringToIndex): ensure that cursor position is always
10225         reset to the reset_cursor position.
10226
10227 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10228
10229         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10230         disabled.
10231
10232 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10233
10234         * bufferview.C:
10235         * lyxcb.C:
10236         * lyxfunc.C: Output messages with identical spelling, punctuation,
10237         and spaces
10238
10239 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10240
10241         * MenuBackend.C (expandFormats): List only viewable export formats
10242         in "View" menu
10243
10244         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10245         message
10246
10247         * lyxfunc.C (getStatus): Make sure that formats other than
10248         "fax" can also be disabled
10249
10250 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10251
10252         * text3.C (dispatch): put the lfuns that insert insets in 3
10253         groups, and call doInsertInset with appropriate arguments.
10254         (doInsertInset): new function, that creates an inset and inserts
10255         it according to some boolean parameters.
10256
10257 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10258
10259         * buffer.C (readFile): remember to pass on 'par' when calling
10260         readFile recursively.
10261
10262 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10263
10264         * MenuBackend.C (expandFormats): add "..." to import formats.
10265
10266 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10267
10268         * paragraph.C (asString): Remove XForms RTL hacks.
10269
10270 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10271         * buffer.C: fix typo
10272
10273 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10274
10275         * Makefile.am (LIBS): delete var
10276         (lyx_LDADD): add @LIBS@ here instead.
10277
10278 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10279
10280         * Clarify the meaning of "wheel mouse jump"
10281
10282 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10283
10284         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10285         tabular in a float
10286
10287 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10288
10289         * importer.C (Loaders): do not preallocate 3 elements in the
10290         vector, since one ends up with 6 elements otherwise
10291
10292 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10293
10294         * DepTable.C (write): write the file name as last element of the
10295         .dep file (because it may contain spaces)
10296         (read): read info in the right order
10297
10298 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10299
10300         * paragraph_pimpl.C (simpleTeXBlanks):
10301         (simpleTeXSpecialChars):
10302         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10303
10304         * tabular.C (latex): add some missing case statements. Reindent.
10305
10306         * MenuBackend.C (expandToc): remove unused variable.
10307
10308 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10309
10310         * LColor.C:
10311         * LaTeX.C:
10312         * LyXAction.C:
10313         * MenuBackend.C:
10314         * buffer.C:
10315         * exporter.C:
10316         * lyxfunc.C:
10317         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10318         and the like.
10319
10320 2003-01-05  John Levon  <levon@movementarian.org>
10321
10322         * BufferView.h:
10323         * BufferView.C: add getEncoding()
10324
10325         * kbsequence.h:
10326         * kbsequence.C: do not store last keypress
10327
10328         * lyxfunc.h:
10329         * lyxfunc.C: store last keypress here instead. Pass encoding
10330           to getISOEncoded()
10331
10332 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10333
10334         * lyx_main.C (init): remove annoying error message when following
10335         symbolic links (bug #780)
10336
10337 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10338
10339         * text.C (insertChar):
10340         * lyxrc.C (getDescription): remove extra spaces
10341
10342 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10343
10344         * lyxrc.C (getDescription): remove extra spaces
10345
10346 2002-12-20  John Levon  <levon@movementarian.org>
10347
10348         * text3.C: hack fix for page up/down across tall rows
10349
10350 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10351
10352         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10353         not been invoked
10354
10355 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10356
10357         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10358         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10359         thesaurus is not compiled in
10360
10361 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10362
10363         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10364
10365 2002-12-16  Angus Leeming  <leeming@lyx.org>
10366
10367         * lyxrc.[Ch]:
10368         * lyx_main.C (init): remove override_x_deadkeys stuff.
10369
10370 2002-12-12  John Levon  <levon@movementarian.org>
10371
10372         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10373           insert. Only remove shift modifier under strict
10374           circumstances.
10375
10376 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10377
10378         * MenuBackend.C (expandToc): fix crash.
10379
10380 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10381
10382         * MenuBackend.C (expandToc): gettext on float names.
10383
10384 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10385
10386         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10387         implement bool empty() [bug 490]
10388
10389 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10390
10391         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10392
10393 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10394
10395         * several files: ws changes
10396
10397 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10398
10399         * text2.C (setCounter): clean up a bit, use boost.format.
10400         (updateCounters): initialize par upon declaration.
10401
10402         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10403         if the layout exists. We do not just store the layout any more.
10404         (SwitchLayoutsBetweenClasses): use boost.format
10405
10406 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10407
10408         * converter.C (convert): if from and to files are the same, use a
10409         temporary files as intermediary
10410
10411 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10412
10413         * commandtags.h:
10414         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10415
10416 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10417
10418         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10419
10420 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10421
10422         * tabular.C (asciiPrintCell): use string(size, char) instead of
10423         explicit loop.
10424
10425         * sgml.C (openTag): fix order of arguments to string constructor
10426         (closeTag): ditto
10427
10428         * lyxfunc.C (dispatch): use boost.format
10429
10430         * lots of files: change "c" -> 'c'
10431
10432 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10433
10434         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10435
10436 2002-11-25  Angus Leeming  <leeming@lyx.org>
10437
10438         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10439
10440         * lyx_main.C (init): compile fix.
10441
10442 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10443
10444         * lyx_cb.C (start): boost.formatify
10445         do not include <iostream>
10446
10447         * lengthcommon.C: ws only
10448
10449         * boost-inst.C,BoostFormat.h: add more explict instantations
10450
10451 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10452
10453         * lots of files: handle USE_BOOST_FORMAT
10454
10455 2002-11-21  John Levon  <levon@movementarian.org>
10456
10457         * pspell.C: fix compile
10458
10459 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10460
10461         * lyxfunc.C (dispatch): use boost::format
10462         (open): ditto
10463         (doImport): ditto
10464
10465         * lyxfont.C (stateText): use boost::format
10466
10467         * lyx_main.C (LyX): use boost::format
10468         (init): ditto
10469         (queryUserLyXDir): ditto
10470         (readRcFile): ditto
10471         (parse_dbg): ditto
10472         (typedef boost::function): use the recommened syntax.
10473
10474         * importer.C (Import): use boost::format
10475
10476         * debug.C (showLevel): use boost::format
10477
10478         * converter.C (view): use boost::format
10479         (convert): ditto
10480         (move): ditto
10481         (scanLog): ditto
10482
10483         * bufferview_funcs.C (currentState): use boost::format
10484
10485         * bufferlist.C (emergencyWrite): use boost::format
10486
10487         * buffer.C (readLyXformat2): use boost::format
10488         (parseSingleLyXformat2Token): ditto
10489
10490         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10491
10492         * LaTeX.C (run): use boost::format
10493
10494         * Chktex.C (scanLogFile): use boost::format
10495
10496         * BufferView_pimpl.C (savePosition): use boost::format
10497         (restorePosition): ditto
10498         (MenuInsertLyXFile): ditto
10499
10500         * BoostFormat.h: help file for explicit instation.
10501
10502 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10503
10504         * tabular.C (latex): Support for block alignment in fixed width
10505         columns.
10506
10507 2002-11-17  John Levon  <levon@movementarian.org>
10508
10509         * BufferView_pimpl.C:
10510         * lyx_cb.C:
10511         * lyxfunc.C: split filedialog into open/save
10512
10513 2002-11-08  Juergen Vigna  <jug@sad.it>
10514
10515         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10516         by my last patch (hopefully).
10517
10518 2002-11-08  John Levon  <levon@movementarian.org>
10519
10520         * iterators.h:
10521         * iterators.C:
10522         * buffer.h:
10523         * buffer.C:
10524         * paragraph.h:
10525         * paragraph.C:
10526         * toc.h:
10527         * toc.C: ParConstIterator, and use it (from Lars)
10528
10529 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10530
10531         * lyxtextclass.[Ch]: revise and add doxygen comments
10532
10533 2002-11-07  John Levon  <levon@movementarian.org>
10534
10535         * text.C: fix progress value for spellchecker
10536
10537         * toc.C: fix navigate menu for insetwrap inside minipage
10538
10539         * paragraph_funcs.C: added FIXME for suspect code
10540
10541 2002-11-07  John Levon  <levon@movementarian.org>
10542
10543         * BufferView_pimpl.C: fix redrawing of insets
10544           on buffer switch
10545
10546 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10547
10548         * text2.C (updateCounters): fix bug 668
10549
10550 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10551
10552         * text3.C (dispatch): Do not make the buffer dirty when moving the
10553         cursor.
10554
10555 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10556
10557         * vc-backend.C: STRCONV
10558         (scanMaster): ditto
10559
10560         * text2.C (setCounter): STRCONV
10561
10562         * paragraph.C (asString): STRCONV
10563
10564         * lyxlength.C (asString): STRCONV
10565         (asLatexString): ditto
10566
10567         * lyxgluelength.C (asString): STRCONV
10568         (asLatexString): ditto
10569
10570         * lyxfunc.C (dispatch): STRCONV
10571         (open): ditto
10572
10573         * lyxfont.C (stateText): STRCONV
10574
10575         * importer.C (Import): STRCONV
10576
10577         * counters.C (labelItem): STRCONV
10578         (numberLabel): ditto
10579         (numberLabel): remove unused ostringstream o
10580
10581         * chset.C: STRCONV
10582         (loadFile): ditto
10583
10584         * bufferview_funcs.C (currentState): STRCONV
10585
10586         * buffer.C (readFile): STRCONV
10587         (asciiParagraph): ditto
10588         (makeLaTeXFile): ditto
10589
10590         * Spacing.C (writeEnvirBegin): STRCONV
10591
10592         * LaTeXFeatures.C (getLanguages): STRCONV
10593         (getPackages): ditto
10594         (getMacros): ditto
10595         (getBabelOptions): ditto
10596         (getTClassPreamble): ditto
10597         (getLyXSGMLEntities): ditto
10598         (getIncludedFiles): ditto
10599
10600         * LaTeX.C: STRCONV
10601         (run): ditto
10602         (scanAuxFile): ditto
10603         (deplog): ditto
10604
10605         * LString.h: add the STRCONV macros
10606
10607         * BufferView_pimpl.C (savePosition): STRCONV
10608         (restorePosition): ditto
10609         (MenuInsertLyXFile): ditto
10610
10611         * vc-backend.C (scanMaster): change from submatch[...] to
10612         submatch.str(...)
10613
10614         * funcrequest.C: include config.h
10615
10616         * factory.C: include config.h
10617
10618         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10619
10620         * box.C: include config.h
10621
10622         * LaTeX.C (scanAuxFile): change from submatch[...] to
10623         submatch.str(...)
10624         (deplog): ditto
10625
10626 2002-10-25  Angus Leeming  <leeming@lyx.org>
10627
10628         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10629
10630         * ispell.[Ch] (setError): new method.
10631         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10632         Use setError() insetead of goto END.
10633
10634         * lyx_cb.C (AutoSave): move out child process into new class
10635         AutoSaveBuffer.
10636
10637 2002-10-30  John Levon  <levon@movementarian.org>
10638
10639         * text3.C: make start appendix undoable
10640
10641 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10642
10643         * lyxlength.C (inPixels): Fix returned value.
10644
10645         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10646         environment.
10647
10648 2002-10-24  Angus Leeming  <leeming@lyx.org>
10649
10650         * lyxgluelength.h: no need to forward declare BufferParams
10651         or BufferView, so don't.
10652
10653 2002-10-21  John Levon  <levon@movementarian.org>
10654
10655         * BufferView.C: menuUndo ->undo, redo
10656
10657         * BufferView.h: document, remove dead, make some methods private
10658
10659         * paragraph_funcs.h:
10660         * paragraph_funcs.C:
10661         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10662
10663         * buffer.h:
10664         * buffer.C:
10665         * sgml.h:
10666         * sgml.C: move sgml open/close tag into sgml.C
10667
10668         * bufferview_funcs.h: unused prototype
10669
10670         * lyxfunc.h:
10671         * lyxfunc.C: remove unused
10672
10673         * lyxtext.h:
10674         * text.C: remove unused
10675
10676 2002-10-21  John Levon  <levon@movementarian.org>
10677
10678         * BufferView.h:
10679         * BufferView.C:
10680         * BufferView_pimpl.h:
10681         * BufferView_pimpl.C: fix mouse wheel handling based on
10682           patch from Darren Freeman
10683
10684 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10685
10686         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10687
10688 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10689
10690         * lyxlength.C (inPixels): Fix hanfling of negative length.
10691         Fix LyXLength::MU case.
10692
10693 2002-10-16  John Levon  <levon@movementarian.org>
10694
10695         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10696
10697 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10698
10699         * converter.C (view): add support for $$i (file name) and $$p
10700         (file path) for the viewer command. If $$i is not specified, then
10701         it is appended to the command (for compatibility with old syntax)
10702
10703 2002-10-14  Juergen Vigna  <jug@sad.it>
10704
10705         * undo_funcs.C (textHandleUndo): alter the order in which the
10706         new undopar is added to the LyXText, as we have to set first
10707         the right prev/next and then add it as otherwise the rebuild of
10708         LyXText is not correct. Also reset the cursor to the right paragraph,
10709         with this IMO we could remove the hack in "redoParagraphs()".
10710
10711 2002-10-09  Angus Leeming  <leeming@lyx.org>
10712
10713         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10714         to turn off an optimisation if a new inset is to be inserted.
10715
10716 2002-10-11 André Pönitz <poenitz@gmx.net>
10717
10718         * lyxtext.h: make some functions public to allow access
10719         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10720
10721 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10722
10723         * text3.C (dispatch): when changing layout, avoid an infinite loop
10724         [bug #652]
10725
10726 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10727
10728         * lyxrc.C (read): treat a viewer or converter command of "none" as
10729         if it were empty.
10730
10731         * MenuBackend.C (expandFormats): for an update, also allow the
10732         formats that are not viewable
10733
10734         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10735         script if it is newer than the lyxrc.defaults in user directory
10736
10737 2002-10-07 André Pönitz <poenitz@gmx.net>
10738
10739         * text.C: Vitaly Lipatov's small i18n fix
10740
10741 2002-09-25  Angus Leeming  <leeming@lyx.org>
10742
10743         * ispell.h: doxygen fix.
10744
10745 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10746
10747         * buffer.h (readFile): Add a new argument to the method, to allow
10748         reading of old-format templates.
10749
10750 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10751
10752         * toc.C (getTocList): Get TOC from InsetWrap.
10753
10754 2002-09-16  John Levon  <levon@movementarian.org>
10755
10756         * lyxfunc.C: check tabular for cut/copy too
10757
10758 2002-09-12  John Levon  <levon@movementarian.org>
10759
10760         * LyXAction.C: tidy
10761
10762         * factory.h:
10763         * factory.C: add header
10764
10765         * paragraph_funcs.h:
10766         * paragraph_funcs.C: cleanup
10767
10768 2002-09-11  John Levon  <levon@movementarian.org>
10769
10770         * PrinterParams.h: odd/even default to true
10771
10772 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10773
10774         * PrinterParams.h: update printer parameters for new xforms dialog
10775
10776 2002-09-11  Angus Leeming  <leeming@lyx.org>
10777
10778         * lyxserver.C (read_ready): re-write to make it more transparent
10779         and to make it work in coherent fashion under Tru64 Unix.
10780
10781 2002-09-11  André Pönitz <poenitz@gmx.net>
10782
10783         * commandtags.h:
10784         * LyXAction.C:
10785         * text3.C: implement LFUN_WORDSEL
10786
10787 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10788
10789         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10790         make floatlist_ a boost::shared_ptr<FloatList>
10791
10792         * lyxtextclass.C: include FloatList.h
10793         (LyXTextClass): initialize floatlist_
10794         (TextClassTags): add TC_NOFLOAT
10795         (Read): match "nofloat" to TC_NOFLOAT and use it.
10796         (readFloat): modify call to floatlist_
10797         (floats): ditto
10798         (floats): ditto
10799
10800         * FloatList.[Ch] (FloatList): remove commented out float
10801         initialization.
10802         (erase): new function
10803
10804 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10805
10806         * MenuBackend.C (expandToc): fix crash when there is no document
10807         open
10808
10809 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10810
10811         * many files: Add insetwrap.
10812
10813 2002-09-09  John Levon  <levon@movementarian.org>
10814
10815         * text2.C: remove confusing and awkward depth wraparound
10816
10817 2002-09-09  John Levon  <levon@movementarian.org>
10818
10819         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10820
10821         * buffer.h:
10822         * buffer.C: remove getIncludeonlyList()
10823
10824         * paragraph.C:
10825         * lyxfunc.C: remove headers
10826
10827 2002-09-09  Juergen Vigna  <jug@sad.it>
10828
10829         * text.C (getColumnNearX): fix form Michael this is most
10830         probably a cut&paste bug.
10831
10832 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10833
10834         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10835
10836         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10837         references, ws changes.
10838
10839         * text2.C (init): update counters after init
10840         (insertParagraph): no need to set counter on idividual paragraphs.
10841         (setCounter): access the counters object in the textclass object
10842         on in the buffer object.
10843         (updateCounters): ditto
10844
10845         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10846         shared_ptr<Counters> to avoid loading counters.h in all
10847         compilation units.
10848         (LyXTextClass): initialize ctrs_
10849         (TextClassTags): add TC_COUNTER, and ...
10850         (Read): use it here.
10851         (CounterTags): new tags
10852         (readCounter): new function
10853         (counters): new funtion
10854         (defaultLayoutName): return a const reference
10855
10856         * counters.C (Counters): remove contructor
10857         (newCounter): remove a couple of unneeded statements.
10858         (newCounter): simplify a bit.
10859         (numberLabel): some small formatting changes.
10860
10861         * buffer.[Ch]: remove all traces of counters, move the Counters
10862         object to the LyXTextClass.
10863
10864 2002-09-06  Alain Castera  <castera@in2p3.fr>
10865
10866         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10867         package to set the horizontal alignment on fixed width columns.
10868
10869         * lyx_sty.C:
10870         * lyx_sty.h: added tabularnewline macro def.
10871
10872         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10873
10874 2002-09-06  John Levon  <levon@movementarian.org>
10875
10876         * LyXAction.C: tooltips for sub/superscript
10877
10878         * MenuBackend.C: a bit more verbose
10879
10880         * lyxfunc.C: tiny clean
10881
10882         * undo_funcs.C: document undo_frozen
10883
10884 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10885
10886         * counters.C (Counters): add missing algorithm counter.
10887
10888         * text2.C (setCounter): lookup the counter with layouts latexname
10889         instead of by section number.
10890         (setCounter): use a hackish way to lookup the correct enum
10891         counter.
10892         a float name->type change
10893         reset enum couners with counter name directly instead of depth value.
10894
10895         * counters.C (Counters): remove the push_backs, change to use the
10896         float type not the float name.
10897         (labelItem): remove unused string, float name->type change
10898
10899         * counters.h: don't include vector, loose the enums and sects vectors
10900
10901 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10902
10903         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10904         (Read): add float->TC_FLOAT to textclassTags
10905         (Read): and handle it in the switch
10906         (readFloat): new function
10907
10908         * FloatList.C (FloatList): comment out the hardcoded float
10909         definitions.
10910
10911         * lyxlayout.h: ws change.
10912
10913 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10914
10915         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10916
10917 2002-09-03  Angus Leeming  <leeming@lyx.org>
10918
10919         * BufferView_pimpl.h: qualified name is not allowed in member
10920         declaration: WorkArea & Pimpl::workarea() const;
10921
10922         * factory.C: added using std::endl directive.
10923
10924         * text3.C: added using std::find and std::vector directives.
10925
10926 2002-08-29  André Pönitz <poenitz@gmx.net>
10927
10928         * lyxtext.h:
10929         * text2.C: remove unused member number_of_rows
10930
10931         * Makefile.am:
10932         * BufferView2.C: remove file, move contents to...
10933         * BufferView.C: ... here
10934
10935         * BufferView_pimpl.C:
10936         * factory.C: move more inset creation to factory
10937
10938         * vspace.C: avoid direct usage of LyXText, ws changes
10939
10940         * BufferView.[Ch]:
10941                 don't provide direct access to WorkArea, use two simple
10942                 acessors haveSelction() and workHeight() instead
10943
10944
10945 2002-08-29  John Levon  <levon@movementarian.org>
10946
10947         * BufferView_pimpl.C (dispatch): do not continue when
10948           no buffer
10949
10950 2002-08-28  André Pönitz <poenitz@gmx.net>
10951
10952         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10953
10954         * BufferView.h:
10955         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10956
10957 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10958
10959         * buffer.C: increment LYX_FORMAT to 221
10960
10961         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10962         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10963
10964         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10965
10966         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10967
10968 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10969
10970         * factory.C (createInset): use LyXTextClass::floats
10971
10972         * MenuBackend.C (expandFloatListInsert):
10973         (expandFloatInsert):
10974         (expandToc):
10975
10976         * text2.C (setCounter):
10977
10978         * LaTeXFeatures.C (useFloat):
10979         (getFloatDefinitions):
10980
10981         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10982
10983         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10984         floatlist_, with accessor floats().
10985
10986         * FloatList.h: remove global FloatList
10987
10988 2002-08-26  André Pönitz <poenitz@gmx.net>
10989
10990         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10991
10992         * BufferView.h:
10993         * BufferView2.C:
10994         * BufferView_pimpl.C:
10995         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10996
10997 2002-08-25  John Levon  <levon@movementarian.org>
10998
10999         * LyXAction.C: fix margin note description
11000
11001 2002-08-24  John Levon  <levon@movementarian.org>
11002
11003         * buffer.C:
11004         * bufferlist.C:
11005         * bufferview_funcs.C:
11006         * lyxfont.C:
11007         * undo_funcs.C: cleanups
11008
11009         * lyxfunc.C: disable CUT/COPY when no selection
11010
11011 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11012
11013         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11014         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11015
11016         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11017         Add backward compatibility to "mono", "gray" and "no".
11018
11019 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11020
11021         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11022         (and file_format >= 200).
11023
11024 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11027
11028 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11029
11030         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11031
11032 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11033
11034         * BufferView_pimpl.C:
11035         * LyXAction.C:
11036         * buffer.C:
11037         * commandtags.h:
11038         * lyxfunc.C:
11039         * paragraph.[Ch]:
11040         * text2.C:
11041         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11042         inset and code to make it  work with the paragraph code. The inset
11043         can be anywhere in the paragraph, but will only do the expected
11044         thing in LaTeX if the layout file contains the parameter line
11045                         OptionalArgs    1
11046         (or more generally, a nonzero value) for that layout.
11047
11048 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11049
11050         * paragraph.h: remove the declaration of undefined counters class
11051         function.
11052
11053 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11054
11055         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11056         Dr. Richard Hawkins.
11057
11058 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11059
11060         * paragraph_funcs.h: remove some unneeded includes
11061
11062         * text.C (backspace): pasteParagraph now in global scipe
11063
11064         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11065         (pasteSelection): ditto
11066
11067         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11068         * paragraph_funcs.C (pasteParagraph): ... here
11069
11070 2002-08-20  André Pönitz <poenitz@gmx.net>
11071
11072         * commandtags.h: new LFUNs for swapping/copying table row/colums
11073
11074         * LyXAction.C:
11075         * lyxfunc.C: support for new lfuns
11076
11077 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11078
11079         * tabular.C:
11080         * buffer.[Ch]: remove NO_COMPABILITY stuff
11081
11082 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11083
11084         * boost.C (throw_exception): new file, with helper function for
11085         boost compiled without exceptions.
11086
11087         * paragraph.h:
11088         * lyxlength.C:
11089         * buffer.C:
11090         * ParameterStruct.h:
11091         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11092
11093         * bufferlist.C (emergencyWriteAll): use boost bind
11094
11095         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11096
11097         * text.C: include paragraph_funcs.h
11098         (breakParagraph): breakParagraph is now in global scope
11099
11100         * paragraph_funcs.[Ch]: new files
11101
11102         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11103         global scope
11104
11105         * buffer.C: include paragraph_funcs.h
11106         (insertStringAsLines): breakParagraph is now in global scope
11107
11108         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11109         paragraph_funcs.C
11110
11111         * CutAndPaste.C: include paragraph_funcs.h
11112         (cutSelection): breakParagraphConservative is now in global scope
11113         (pasteSelection): ditto
11114
11115         * buffer.h: declare oprator== and operator!= for
11116         Buffer::inset_iterator
11117
11118         * bufferlist.C (emergencyWrite): don't use fmt(...)
11119
11120         * text3.C: add using std::endl
11121
11122         * BufferView.C (moveCursorUpdate): remove default arg
11123
11124 2002-08-20  André Pönitz <poenitz@gmx.net>
11125
11126         * buffer.[Ch]: move inline functions to .C
11127
11128         * BufferView2.C:
11129         * BufferView_pimpl.C:
11130         * text.C:
11131         * buffer.[Ch]: use improved inset_iterator
11132
11133         * buffer.C:
11134         * paragraph.[Ch]: write one paragraph at a time
11135
11136 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11137
11138         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11139         style if style is not specified.
11140
11141 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11142
11143         * text2.C (setCounter): when searching for right label for a
11144         caption, make sure to recurse to parent insets (so that a caption
11145         in a minipage in a figure float works) (bug #568)
11146
11147 2002-08-20  André Pönitz <poenitz@gmx.net>
11148
11149         * text3.C: new file for LyXText::dispatch() and helpers
11150
11151         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11152
11153         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11154
11155 2002-08-19  André Pönitz <poenitz@gmx.net>
11156
11157         * lyxtext.h:
11158         * text.C: new LyXText::dispatch()
11159
11160         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11161
11162 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11163
11164         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11165
11166         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11167         Hebrew text.
11168
11169 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11170
11171         * Makefile.am: use $(variables) instead of @substitutions@
11172
11173 2002-08-15  André Pönitz <poenitz@gmx.net>
11174
11175         * lyxfunc.C:
11176         * BufferView_pimpl.C: streamlining mathed <-> outer world
11177         interaction
11178
11179         * commandtags.h:
11180         * LyXAction.C: remove unused LFUN_MATH
11181
11182 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11183
11184         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11185
11186 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11187
11188         * paragraph.C (Paragraph): reformat a bit
11189         (cutIntoMinibuffer): use builtin InsetList function instad of
11190         doing it manually.
11191         (getInset): ditto
11192
11193         * buffer.C: include boost/bind.hpp, add using std::for_each
11194         (writeFileAscii): use ParagraphList iterators
11195         (validate): use for_each for validate traversal of paragraphs
11196         (getBibkeyList): use ParagraphList iterators
11197         (resizeInsets): use for_each to resizeInsetsLyXText for all
11198         paragraphs.
11199         (getParFromID): use ParagraphList iterators
11200
11201         * BufferView2.C (lockInset): use paragraph list and iterators
11202
11203 2002-08-14  John Levon  <levon@movementarian.org>
11204
11205         * lyxserver.C: remove spurious xforms include
11206
11207 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11208
11209         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11210
11211 2002-08-13  André Pönitz <poenitz@gmx.net>
11212
11213         * LyXAction.[Ch]:
11214         * lyxfunc.C: further cleaning
11215
11216 2002-08-13  André Pönitz <poenitz@gmx.net>
11217
11218         * funcrequest.h: new constructor
11219
11220         * funcrequest.C: move stuff here from .h
11221
11222         * Makefile.am:
11223         * BufferView_pimpl.C:
11224         * LyXAction.C:
11225         * toc.C:
11226         * lyxfunc.C: subsequent changes
11227
11228         * lyxfunc.h: new view() member function
11229
11230         * lyxfunc.C: subsequent changes
11231
11232 2002-08-13  Angus Leeming  <leeming@lyx.org>
11233
11234         * BufferView2.C:
11235         * BufferView_pimpl.C:
11236         * buffer.C:
11237         * converter.C:
11238         * importer.C:
11239         * lyxfunc.C:
11240         * lyxvc.C:
11241         * toc.C:
11242         * vc-backend.C:
11243         changes due to the changed LyXView interface that now returns references
11244         to member variables not pointers.
11245
11246 2002-08-13  Angus Leeming  <leeming@lyx.org>
11247
11248         * WordLangTuple (word, lang_code): return references to strings,
11249         not strings.
11250
11251         * BufferView.h:
11252         * SpellBase.h:
11253         * lyxtext.h: forward-declare WordLangTuple.
11254
11255         * BufferView2.C:
11256         * ispell.C:
11257         * pspell.C:
11258         * text.C: #include "WordLangTuple.h".
11259
11260         * lyxtext.h:
11261         * text.C: (selectNextWordToSpellcheck): constify return type.
11262
11263 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11264
11265         * buffer.C:
11266         * buffer.h:
11267         * lyxtext.h:
11268         * paragraph.C:
11269         * paragraph_pimpl.h:
11270         * text.C:
11271         * text2.C:
11272         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11273         suggested by Angus.
11274         Made updateCounter always count from start of buffer, and removed
11275         second argument (par).
11276         Reverted floats number display to '#'. Perhaps I'll try again when the
11277         code base is sanitized a bit.
11278
11279 2002-08-12  Angus Leeming  <leeming@lyx.org>
11280
11281         * buffer.[Ch] (getLabelList): constify.
11282
11283 2002-08-07  André Pönitz <poenitz@gmx.net>
11284
11285         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11286
11287         * funcrequest.h: extension to keep mouse (x,y) position
11288
11289 2002-08-12  Juergen Vigna  <jug@sad.it>
11290
11291         * BufferView2.C (insertErrors): forbid undo when inserting error
11292         insets.
11293
11294         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11295
11296 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11297
11298         * ParagraphList.[Ch]: new files
11299
11300         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11301
11302         * BufferView2.C (lockInset): ParagraphList changes
11303         * toc.C: ditto
11304         * text2.C: ditto
11305         * bufferlist.C: ditto
11306         * buffer.h: ditto
11307         * buffer.C: ditto
11308
11309 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11310
11311         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11312         unused class variable counter_,
11313
11314         * paragraph.[Ch] (getFirstCounter): delete unused function
11315
11316         * counters.C: include LAssert.h
11317         (reset): add a new function with no arg, change other version to
11318         not have def. arg and to not allow empty arg.
11319
11320         * text2.C (setCounter): remove empty arg from call to Counters::reset
11321
11322 2002-08-11  John Levon  <levon@movementarian.org>
11323
11324         * Makefile.am: add WordLangTuple.h
11325
11326 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11327
11328         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11329         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11330
11331         * insets/insettext.C: InsetList changes
11332
11333         * graphics/GraphicsSupport.C (operator()): InsetList changes
11334
11335         * toc.C (getTocList): InsetList changes
11336
11337         * paragraph_pimpl.[Ch]: InsetList changes
11338
11339         * paragraph.[Ch]: InsetList changes
11340
11341         * buffer.C (inset_iterator): InsetList changes
11342         (setParagraph): ditto
11343         * buffer.h (inset_iterator): ditto
11344         * iterators.C (operator++): ditto
11345         * iterators.h: ditto
11346
11347         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11348
11349         * InsetList.[Ch]: new files, most InsetList handling moved out of
11350         paragraph.C.
11351
11352         * BufferView2.C (removeAutoInsets): InsetList changes
11353         (lockInset): ditto
11354         (ChangeInsets): ditto
11355
11356 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11357
11358         * paragraph_pimpl.h (empty): new function
11359
11360         * paragraph.[Ch] (empty): new function
11361
11362         * other files: use the new Paragraph::empty function
11363
11364 2002-08-09  John Levon  <levon@movementarian.org>
11365
11366         * lyxtext.h: remove unused refresh_height
11367
11368 2002-08-09  John Levon  <levon@movementarian.org>
11369
11370         * Makefile.am:
11371         * sgml.h:
11372         * sgml.C:
11373         * buffer.C:
11374         * paragraph.h:
11375         * paragraph.C: move sgml char escaping out of paragraph
11376
11377         * paragraph.h:
11378         * paragraph.C: remove id setter
11379
11380         * buffer.C:
11381         * paragraph.C:
11382         * paragraph_pimpl.C: remove dead tex_code_break_column
11383
11384         * bufferview_funcs.C: small cleanup
11385
11386         * lyxfunc.C: remove dead proto
11387
11388         * lyxtext.h: make some stuff private. Remove some dead stuff.
11389
11390         * lyxgluelength.C: make as[LyX]String() readable
11391
11392 2002-08-08  John Levon  <levon@movementarian.org>
11393
11394         * LyXAction.h:
11395         * LyXAction.C:
11396         * MenuBackend.C:
11397         * ToolbarDefaults.C:
11398         * lyxfunc.C:
11399         * lyxrc.C:
11400         * toc.C: lyxaction cleanup
11401
11402 2002-08-08  John Levon  <levon@movementarian.org>
11403
11404         * BufferView2.C: small cleanup
11405
11406         * lyxfind.h:
11407         * lyxfind.C: move unnecessary header into the .C
11408
11409 2002-08-08  John Levon  <levon@movementarian.org>
11410
11411         * funcrequest.h: just tedious nonsense
11412
11413         * lyx_main.h:
11414         * lyx_main.C: cleanups
11415
11416         * buffer.C:
11417         * vspace.C: remove dead header lyx_main.h
11418
11419 2002-08-07  Angus Leeming  <leeming@lyx.org>
11420
11421         * Paragraph.[Ch]:
11422         * paragraph_pimpl.h:
11423         Forward declare class Counters in paragraph.h by moving the ctrs member
11424         variable into Paragraph::Pimpl.
11425         (counters): new method, returning a reference to pimpl_->ctrs.
11426
11427         * text2.C: ensuing changes.
11428
11429 2002-08-07  John Levon  <levon@movementarian.org>
11430
11431         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11432
11433         * BufferView_pimpl.C: announce X selection on double/triple
11434           click
11435
11436         * lyx_main.C: use correct bool in batch dispatch
11437
11438         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11439
11440 2002-08-07  André Pönitz <poenitz@gmx.net>
11441
11442         * funcrequest.h: new class to wrap a kb_action and its argument
11443
11444         * BufferView.[Ch]:
11445         * BufferView_pimpl[Ch]:
11446         * LaTeX.C:
11447         * LyXAction.[Ch]:
11448         * lyxfunc.[Ch]:
11449         * lyxrc.C: subsequent changes
11450
11451
11452 2002-08-07  John Levon  <levon@movementarian.org>
11453
11454         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11455           document options change.
11456
11457 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11458
11459         * counters.[Ch]
11460         * text2.C
11461         * paragraph.[Ch]
11462         * makefile.am: move counters functionality over from
11463         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11464
11465 2002-08-06  John Levon  <levon@movementarian.org>
11466
11467         * WordLangTuple.h: new file for word + language code tuple
11468
11469         * SpellBase.h:
11470         * pspell.h:
11471         * pspell.C:
11472         * ispell.h:
11473         * ispell.C:
11474         * lyxtext.h:
11475         * text.C:
11476         * text2.C:
11477         * BufferView.h:
11478         * BufferView2.C: use WordLangTuple
11479
11480         * layout.h:
11481         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11482
11483 2002-08-06  John Levon  <levon@movementarian.org>
11484
11485         * lyx_main.C: fix cmdline batch handling
11486
11487 2002-08-06  André Pönitz <poenitz@gmx.net>
11488
11489         * lyxrc.C: set default for show_banner to true
11490
11491 2002-08-06  John Levon  <levon@movementarian.org>
11492
11493         * pspell.C: fix a crash, and allow new aspell to work
11494
11495 2002-08-06  John Levon  <levon@movementarian.org>
11496
11497         * lyxfunc.C:
11498         * kbmap.C: small cleanup
11499
11500         * vspace.h:
11501         * vspace.C: add const
11502
11503 2002-08-05  John Levon  <levon@movementarian.org>
11504
11505         * LyXAction.C: back to tabular-insert
11506
11507 2002-08-04  John Levon  <levon@movementarian.org>
11508
11509         * BufferView.h:
11510         * BufferView.C: cosmetic change
11511
11512         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11513
11514         * bufferlist.C:
11515         * buffer.h:
11516         * buffer.C:
11517         * lyxcb.h:
11518         * lyxcb.C:
11519         * lyxserver.C:
11520         * lyxvc.C:
11521         * vc-backend.C:
11522         * BufferView2.C: purge all "Lyx" not "LyX" strings
11523
11524         * lyxcursor.h:
11525         * lyxcursor.C: attempt to add some documentation
11526
11527         * lyxfunc.C:
11528         * commandtags.h:
11529         * LyXAction.C:
11530         * ToolbarDefaults.C:
11531         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11532           merge with LFUN_TABULAR_INSERT
11533
11534         * Makefile.am:
11535         * SpellBase.h:
11536         * ispell.h:
11537         * ispell.C:
11538         * pspell.h:
11539         * pspell.C: split up i/pspell implementations into separate
11540           files, many cleanups
11541
11542         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11543
11544         * text2.C: some cleanup
11545
11546         * lyxfunc.C: don't check for isp_command == "none" any more, it
11547           didn't make any sense
11548
11549 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11550
11551         * counters.[Ch]
11552         * text2.C
11553         * paragraph.[Ch]
11554         * makefile.am: move counters functionality over
11555         from text2.C/paragraph.[Ch] to counters.[Ch], and
11556         make proper C++.
11557 2002-08-02  John Levon  <levon@movementarian.org>
11558
11559         * buffer.C: s/lyxconvert/lyx2lyx/
11560
11561 2002-08-02  Angus Leeming  <leeming@lyx.org>
11562
11563         * lyxlex.C: revert John's change as it breaks reading of the user
11564         preamble.
11565
11566 2002-08-02  Angus Leeming  <leeming@lyx.org>
11567
11568         * importer.C (Import):
11569         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11570         changes due to LyXView::view() now returning a boost::shared_ptr.
11571
11572 2002-08-02  John Levon  <levon@movementarian.org>
11573
11574         * lyxlex.C: small cleanup
11575
11576 2002-08-02  John Levon  <levon@movementarian.org>
11577
11578         * text2.C (status): small cleanup, no logic change
11579
11580 2002-08-01  John Levon  <levon@movementarian.org>
11581
11582         * buffer.h:
11583         * buffer.C (writeFile): don't output alerts, caller
11584           handles this
11585
11586         * bufferlist.C:
11587         * lyx_cb.C: from above
11588
11589         * lyxfunc.C: allow to open non-existent files
11590
11591 2002-07-31  John Levon  <levon@movementarian.org>
11592
11593         * lyxserver.C: don't let incidental errors get
11594           in the way (errno)
11595
11596 2002-07-30  John Levon  <levon@movementarian.org>
11597
11598         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11599
11600 2002-07-30  John Levon  <levon@movementarian.org>
11601
11602         * lyxserver.h:
11603         * lyxserver.C: remove I/O callback too
11604
11605 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11606
11607         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11608         log.
11609
11610 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11611
11612         * many files: strip,frontStrip -> trim,ltrim,rtrim
11613
11614 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11615
11616         * PrinterParams.h: remove extern containsOnly, and include
11617         support/lstrings.h instead.
11618
11619         * LaTeX.C (scanAuxFile): modify because of strip changes
11620         (deplog): ditto
11621         * buffer.C (makeLaTeXFile): ditto
11622         * bufferparams.C (writeFile): ditt
11623         * lyxfont.C (stateText): ditto
11624         * lyxserver.C (read_ready): ditto
11625         * vc-backend.C (scanMaster): ditto
11626
11627         * BufferView_pimpl.h: ws changes
11628
11629         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11630
11631 2002-07-26  André Pönitz <poenitz@gmx.net>
11632
11633         * kb_sequence.C: remove unnedred usings
11634
11635 2002-07-26  Juergen Vigna  <jug@sad.it>
11636
11637         * lyxfind.C (LyXReplace): we have to check better if the returned
11638         text is not of theLockingInset()->getLockingInset().
11639
11640 2002-07-25  Juergen Vigna  <jug@sad.it>
11641
11642         * lyxfind.C (LyXReplace): don't replace if we don't get the
11643         right LyXText.
11644
11645         * undo_funcs.C (createUndo): remove debugging code.
11646
11647 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11648
11649         * buffer.C (parseSingleLyXformat2Token): Use default placement
11650         when reading old floats.
11651
11652         * FloatList.C (FloatList): Change the default placement of figure
11653         and tables to "tbp".
11654
11655 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11656
11657         * MenuBackend.C: using std::max
11658
11659 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11660
11661         * MenuBackend.C (expandToc):
11662         (expandToc2): code moved from xforms menu frontend. It is now
11663         generic and TOCs are transparent to menu frontends.
11664
11665 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11666
11667         * toc.C (getTocList): protect against buf=0
11668
11669         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11670         Menu as first parameter. Now, this calls itself recursively to
11671         expand a whole tree (this will be useful for TOC handling)
11672         (expandFloatInsert): remove 'wide' version of floats
11673
11674         * MenuBackend.h (submenuname): returns the name of the submenu.
11675         (submenu): returns the submenu itself, provided it has been
11676         created by MenuBackend::expand
11677
11678 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11679
11680         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11681         insets which have noFontChange == true. (bug #172)
11682
11683 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11684
11685         * BufferView_pimpl.C: add connection objects and use them...
11686         (Pimpl): here.
11687
11688 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11689
11690         * MenuBackend.C (expandLastfiles):
11691         (expandDocuments):
11692         (expandFormats):
11693         (expandFloatListInsert):
11694         (expandFloatInsert):
11695         (expand): split expand in parts
11696
11697 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * lyx_gui.C: use lyx_gui::exit()
11700
11701 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * LyXAction.C: show the failing pseudo action
11704
11705 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11706
11707         * buffer.C (readFile): Run the lyxconvert script in order to read
11708         old files.
11709
11710 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * LyXAction.C:
11713         * commandtags.h:
11714         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11715
11716 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11717
11718         * LyXAction.C:
11719         * commandtags.h:
11720         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11721
11722 2002-07-22  Herbert Voss  <voss@lyx.org>
11723
11724         * lengthcommon.C:
11725         * lyxlength.[Ch]: add support for the vertical lengths
11726
11727 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11728
11729         * toc.[Ch]: std:: fixes
11730
11731 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732
11733         * lyxrc.C: do not include lyx_main.h
11734
11735         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11736         for layouts
11737
11738         * lyxrc.C:
11739         * encoding.C:
11740         * bufferlist.C:
11741         * BufferView2.C: include "lyxlex.h"
11742
11743         * tabular.h:
11744         * bufferparams.h: do not #include "lyxlex.h"
11745
11746         * lyxtextclasslist.C (Add): remove method
11747         (classlist): renamed to classlist_
11748
11749         * paragraph_pimpl.C:
11750         * paragraph.C:
11751         * text2.C:
11752         * CutAndPaste.C:
11753         * bufferview_funcs.C:
11754         * bufferlist.C:
11755         * text.C:
11756         * LaTeXFeatures.C:
11757         * buffer.C:
11758         * toc.C (getTocList): use BufferParams::getLyXTextClass
11759
11760         * toc.C (getTocList): use InsetFloat::addToToc
11761
11762         * toc.[Ch]: new files, containing helper functions to handle table
11763         of contents
11764
11765         * lyxfunc.C (dispatch): no need to remove spaces around command
11766         given as a string
11767         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11768         first command of the sequence; it is not very clever, but I do not
11769         have a better idea, actually
11770
11771         * LyXAction.C (LookupFunc): make sure to remove space at the
11772         beginning and end of the command
11773
11774 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11775
11776         * MenuBackend.C (getMenubar): new method: return the menubar of
11777         this menu set
11778         (read): treat differently reading of menu and menubar (in
11779         particular, the menubar has no name now)
11780         (Menu::menubar): remove
11781
11782         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11783         saving is finished
11784
11785 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11786
11787         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11788         a bibitem inset in a RTL paragraph.
11789
11790 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11791
11792         * paragraph_pimpl.C: constify
11793
11794         * BufferView_pimpl.C:
11795         * LaTeX.C:
11796         * lyxfunc.C: fix dispatch in a nicer way
11797
11798 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11799
11800         * lyxfunc.C (dispatch):
11801         * BufferView_pimpl.C:
11802         * BufferView_pimpl.h:
11803         * BufferView.C:
11804         * BufferView.h: rename Dispatch() to dispatch()
11805
11806         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11807
11808         * lyxlayout.C (Read): honor DependsOn tag
11809
11810         * lyxlayout.[Ch] (depends_on): new method
11811
11812         * version.C.in: update lyx_docversion
11813
11814         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11815
11816         * paragraph.C (validate): remove from here...
11817         * paragraph_pimpl.C (validate): ... and move here
11818         (isTextAt): make it const
11819
11820         * buffer.C (getLists): ws cleanup
11821
11822 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11823
11824         * language.C (read): Use iso8859-1 encoding in latex_lang
11825         (this prevents LyX from crashing when using iso10646-1 encoding).
11826
11827 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11828
11829         * text2.C (toggleInset): if cursor is inside an inset, close the
11830         inset and leave cursor _after_ it
11831
11832 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11833
11834         * lyxfunc.C: move minibuffer completion handling out of here
11835
11836 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * BufferView_pimpl.C:
11839         * LaTeX.C: fix dispatch calls
11840
11841 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11842
11843         * text.C (drawChars): Fix Arabic text rendering.
11844
11845 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * LyXAction.C:
11848         * commandtags.h:
11849         * lyxfunc.C: remove message-push/pop
11850
11851         * lyxserver.C:
11852         * lyxfunc.h:
11853         * lyxfunc.C: rationalise some code by removing verboseDispatch
11854           in favour of a bool argument to dispatch()
11855
11856 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11857
11858         * lyx_main.C (init): make sure to read symlinks as absolute paths
11859
11860 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * lyxfunc.h:
11863         * lyxfunc.C: no need for commandshortcut to be a member
11864
11865 2002-07-15  André Pönitz <poenitz@gmx.net>
11866
11867         * converter.C: add support for $$s (scripts from lib/scripts dir)
11868         * lyx_main.C: white space
11869
11870 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11871
11872         * bufferlist.C:
11873         * lyxrc.h:
11874         * lyxrc.C: remove second exit confirmation
11875
11876 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11877
11878         * BufferView.h:
11879         * BufferView.C:
11880         * BufferView2.C:
11881         * BufferView_pimpl.h:
11882         * BufferView_pimpl.C:
11883         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11884
11885 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11886
11887         * MenuBackend.C (expand): add numeric shortcuts to document menu
11888
11889         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11890
11891 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11892
11893         * lyxfont.C (setLyXFamily):
11894         (setLyXSeries):
11895         (setLyXShape):
11896         (setLyXSize):
11897         (setLyXMisc):
11898         (lyxRead):
11899         * debug.C (value):
11900         * buffer.C (asciiParagraph): use ascii_lowercase
11901
11902 2002-07-15  Mike Fabian  <mfabian@suse.de>
11903
11904         * lyxlex_pimpl.C (search_kw):
11905         * lyxlex.C (getLongString):
11906         * converter.h (operator<):
11907         * converter.C (operator<):
11908         * buffer.C (parseSingleLyXformat2Token):
11909         (asciiParagraph):
11910         * ToolbarDefaults.C (read):
11911         * MenuBackend.C (checkShortcuts):
11912         (read):
11913         * LColor.C (getFromGUIName):
11914         (getFromLyXName): use the compare_ascii_no_case instead of
11915         compare_no_case, because in turkish, 'i' is not the lowercase
11916         version of 'I', and thus turkish locale breaks parsing of tags.
11917
11918 2002-07-16  Angus Leeming  <leeming@lyx.org>
11919
11920         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11921         now takes a Buffer const & argument.
11922
11923 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * BufferView.C (resize): check there's a buffer to resize
11926
11927 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * lyxfunc.C: remove dead code
11930
11931         * lyxserver.h:
11932         * lyxserver.C: use lyx_guii::set_read_callback
11933
11934 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11935
11936         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11937         an inset in a RTL paragraph.
11938
11939 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * lyxfunc.C: repaint after a font size update
11942
11943 2002-07-15  André Pönitz <poenitz@gmx.net>
11944
11945         * lyxlength.C: inBP should be able to return negative values
11946
11947 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * lyxfunc.C: use lyx_gui::update_fonts()
11950
11951 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * lyxfunc.C: use lyx_gui::update_color()
11954
11955 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11956
11957         * bufferlist.C:
11958         * lyxfunc.h:
11959         * lyxfunc.C:
11960         * lyxrc.h:
11961         * lyxrc.C: remove file->new asks for name option, and let
11962           buffer-new take an argument
11963
11964 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11965
11966         * BufferView_pimpl.C: remove unneeded extra repaint()
11967
11968 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11969
11970         * LyXAction.C: allow command-sequence with NoBuffer
11971
11972         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11973
11974 2002-07-10  Angus Leeming  <leeming@lyx.org>
11975
11976         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11977
11978 2002-07-09  Angus Leeming  <leeming@lyx.org>
11979
11980         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11981
11982 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * lengthcommon.h: whitespace
11985
11986         * lyxfunc.C: update scrollbar after goto paragraph
11987
11988         * lyxtext.h: factor out page break drawing, and fix it so
11989           page break/added space paints as selected nicely
11990
11991 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11992
11993         * BufferView_pimpl.C: add FIXMEs, clean up a little
11994
11995 2002-07-09  André Pönitz <poenitz@gmx.net>
11996
11997         * lyxfont.[Ch]: support for wasy symbols
11998
11999 2002-07-08  André Pönitz <poenitz@gmx.net>
12000
12001         * BufferView_pimpl.C: apply John's patch for #93.
12002
12003 2002-07-05  Angus Leeming  <leeming@lyx.org>
12004
12005         * BufferView_pimpl.C (buffer): generate previews if desired.
12006
12007         * LColor.h: add "preview" to the color enum.
12008
12009         * LColor.C (LColor): add a corresponding entry to the items array.
12010
12011         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12012         with this buffer.
12013
12014 2002-07-05  Angus Leeming  <leeming@lyx.org>
12015
12016         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12017         The body of the code is now in the method that is passed an ostream &
12018         rather than a file name.
12019         Pass an additional only_preamble parameter, useful for the forthcoming
12020         preview stuff.
12021
12022 2002-07-03  André Pönitz <poenitz@gmx.net>
12023
12024         * lyxfunc.C: simplify getStatus() a bit for math stuff
12025
12026 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12027
12028         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12029
12030 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12031
12032         * text.C (changeRegionCase): do not change case of all the
12033         document when region ends at paragraph end (bug #461)
12034
12035 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12036
12037         * paragraph.C (startTeXParParams):
12038         (endTeXParParams): add \protect when necessary
12039
12040 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12041
12042         * BufferView_pimpl.C (workAreaExpose): remove warning
12043
12044 2002-06-27  Angus Leeming  <leeming@lyx.org>
12045
12046         * Makefile.am: add lyxlayout_ptr_fwd.h.
12047
12048 2002-06-26  André Pönitz <poenitz@gmx.net>
12049
12050         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12051
12052 2002-06-25  Angus Leeming  <leeming@lyx.org>
12053
12054         * lyxfunc.C (dispatch): Comment out the call to
12055         grfx::GCache::changeDisplay. The method no longer exists now that the
12056         pixmap generation part of the graphics loader has been moved into
12057         InsetGraphics.
12058
12059 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12060
12061         * text2.C: layout as layout
12062
12063         * text.C: layout as layout
12064
12065         * tabular.C (OldFormatRead): layout as layout
12066
12067         * paragraph_pimpl.C (TeXDeeper): layout as layout
12068         (realizeFont): layout as layout
12069
12070         * paragraph.C (writeFile): layout as layout
12071         (validate): layout as layout
12072         (getFont): layout as layout
12073         (getLabelFont): layout as layout
12074         (getLayoutFont): layout as layout
12075         (breakParagraph): layout as layout
12076         (stripLeadingSpaces): layout as layout
12077         (getEndLabel): layout as layout
12078         (getMaxDepthAfter): layout as layout
12079         (applyLayout): layout as layout
12080         (TeXOnePar): layout as layout
12081         (simpleTeXOnePar): layout as layout
12082         (TeXEnvironment): layout as layout
12083         (layout): layout as layout
12084         (layout): layout as layout
12085
12086         * lyxtextclass.C (compare_name): new functor to work with
12087         shared_ptr, layout as layout
12088         (Read): layout as layout
12089         (hasLayout): layout as layout
12090         (operator): layout as layout
12091         (delete_layout): layout as layout
12092         (defaultLayout): layout as layout
12093
12094         * lyxlayout_ptr_fwd.h: new file
12095
12096         * lyxlayout.C (Read): layout as layout
12097
12098         * lyx_cb.C (MenuInsertLabel): layout as layout
12099
12100         * bufferlist.C (newFile): layout as layout
12101
12102         * buffer.C (readLyXformat2): layout as layout
12103         (parseSingleLyXformat2Token): layout as layout
12104         (insertStringAsLines): layout as layout
12105         (asciiParagraph): layout as layout
12106         (latexParagraphs): layout as layout
12107         (makeLinuxDocFile): layout as layout
12108         (simpleLinuxDocOnePar): layout as layout
12109         (makeDocBookFile): layout as layout
12110         (simpleDocBookOnePar): layout as layout
12111         (getLists): layout as layout
12112
12113         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12114
12115         * CutAndPaste.C (cutSelection): layout as layout
12116         (pasteSelection): layout as layout
12117         (SwitchLayoutsBetweenClasses): layout as layout
12118
12119         * BufferView_pimpl.C (Dispatch): layout as layout
12120         (smartQuote): layout as layout
12121
12122         * BufferView2.C (unlockInset): layout as layout
12123
12124 2002-06-24  André Pönitz <poenitz@gmx.net>
12125
12126         * lyxfunc.C: fix #487
12127
12128 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * lyxrc.h:
12131         * lyxrc.C:
12132         * lyxfunc.C: remove display_shortcuts, show_banner
12133
12134 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * Buffer_pimpl.C: oops, update on resize
12137
12138 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12139
12140         * buffer.C:
12141         * converter.C:
12142         * exporter.C:
12143         * lyxfunc.C:
12144         * BufferView.h:
12145         * BufferView.C: use repaint()
12146
12147         * BufferView_pimpl.h:
12148         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12149           as it's a clearer description. Remove superfluous
12150           redraws.
12151
12152 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12153
12154         * text.C: fix bug 488. Not ideal, but getting
12155           getWord() to work properly for the insets that
12156           matter is more difficult ...
12157
12158 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * BufferView_pimpl.C:
12161         * LyXAction.C:
12162         * commandtags.h:
12163         * lyxfunc.C: remove the six million index lyxfuncs to just
12164           one, and DTRT (bug 458)
12165
12166 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12167
12168         * BufferView.h:
12169         * BufferView.C:
12170         * BufferView_pimpl.h:
12171         * BufferView_pimpl.C: clean up resize() stuff,
12172           and unnecessary updateScreen()s
12173
12174 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * BufferView.h:
12177         * BufferView.C:
12178         * BufferView_pimpl.h:
12179         * BufferView_pimpl.C:
12180         * lyxfind.h:
12181         * lyxfind.C:
12182         * minibuffer.C: remove focus management of workarea,
12183           not needed. Use screen's greyOut()
12184
12185 2002-06-17  Herbert Voss  <voss@lyx.org>
12186
12187         * converter.C: (convert) do not post a message, when converting
12188         fails, let the calling function decide what to do in this case
12189
12190 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * lyxfunc.C: tidy up a little
12193
12194 2002-06-16    <alstrup@diku.dk>
12195
12196         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12197         Got rid of FORMS_H_LOCATION include. Now we are
12198         GUII.
12199
12200 2002-06-15  LyX Development team  <lyx@rilke>
12201
12202         * buffer.[Ch] (sgmlOpenTag):
12203         (sgmlCloseTag): Added support for avoiding pernicious mixed
12204         content. Return number of lines written.
12205
12206         (makeLinuxDocFile):
12207         (makeDocBookFile): Fixed calls to sgml*Tag.
12208         Simple white space clean.
12209
12210         (simpleDocBookOnePar): Simple white space clean.
12211
12212         * tabular.[Ch] (docBook): Renamed to docbook and got another
12213         argument to related with the pernicious mixed content.
12214
12215         (docbookRow): Fixed calls for docbook inset method.
12216
12217 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12218
12219         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12220         so it's X11 independent.
12221
12222         * kb*.[Ch]: ditto.
12223
12224         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12225
12226 2002-06-15  Lyx Development team  <lyx@electronia>
12227
12228         * intl.h: Renamed getTrans to getTransManager.
12229
12230 2002-06-14  Angus Leeming  <leeming@lyx.org>
12231
12232         * Makefile.am: nuke forgotten stl_string_fwd.h.
12233
12234 2002-06-12  Angus Leeming  <leeming@lyx.org>
12235
12236         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12237
12238 2002-06-13  Angus Leeming  <leeming@lyx.org>
12239
12240         * LaTeX.C:
12241         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12242
12243 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12244
12245         * kbmap.C (getiso): add support for cyrillic and greek
12246
12247 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * BufferView.h:
12250         * BufferView.C:
12251         * BufferView_pimpl.h:
12252         * BufferView_pimpl.C: move bogus scrolling logic
12253           to xforms
12254
12255 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * lyxfunc.C:
12258         * BufferView_pimpl.C: view->resize() change
12259
12260 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * BufferView_pimpl.C: topCursorVisible
12263           prototype change
12264
12265 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * Makefile.am:
12268         * lyx_gui.h:
12269         * lyx_gui.C: move to frontends/
12270
12271         * main.C:
12272         * lyx_main.h:
12273         * lyx_main.C: changes from above
12274
12275 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * intl.C:
12278         * intl.h:
12279         * kbmap.C:
12280         * kbsequence.C:
12281         * lyx_cb.C:
12282         * lyx_main.C: minor tidy
12283
12284 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * BufferView_pimpl.h:
12287         * BufferView_pimpl.C:
12288         * BufferView.h:
12289         * BufferView.C: make painter() const,
12290           remove dead code
12291
12292         * BufferView2.C: use screen() accessor
12293
12294         * lyx_main.h:
12295         * lyx_main.C: some minor cleanup
12296
12297 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * BufferView_pimpl.h:
12300         * BufferView_pimpl.C: remove enter/leaveView,
12301           use workHeight()
12302
12303 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12304
12305         * BufferView.h:
12306         * BufferView.C:
12307         * BufferView2.C:
12308         * BufferView_pimpl.h:
12309         * BufferView_pimpl.C: only construct screen once,
12310           rename
12311
12312         * lyxrc.C: remove pointless comment
12313
12314 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * BufferView.h:
12317         * BufferView.C: remove active() and belowMouse()
12318
12319         * BufferView_pimpl.h:
12320         * BufferView_pimpl.C: use workarea() not workarea_,
12321           and make it use a scoped_ptr instead
12322
12323 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * lyx_gui.C: add debug message on BadWindow
12326
12327 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * sp_spell.C: fdopen is not part of the C++ standard.
12330
12331         * paragraph.C (InsetIterator): use >= instead of ==
12332
12333 2002-06-07  Angus Leeming  <leeming@lyx.org>
12334
12335         Fixes needed to compile with Compaq cxx 6.5.
12336         * BufferView_pimpl.C:
12337         * DepTable.C:
12338         * buffer.C:
12339         * converter.C:
12340         * encoding.C:
12341         * lyx_gui.C:
12342         * lyx_main.C:
12343         * lyxtextclasslist.C:
12344         * minibuffer.C:
12345         * sp_spell.C:
12346         * tabular_funcs.C:
12347         * vc-backend.C:
12348         all c-library variables have been moved into namespace std. Wrap
12349         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12350
12351         * lyxlength.C:
12352         * tabular-old.C:
12353         * tabular.C:
12354         Add a using std::abs declaration.
12355
12356         * kbmap.h (modifier_pair):
12357         * paragraph.h (InsetTable, InsetList):
12358         * lyxfont.h (FontBits):
12359         type definition made public.
12360
12361         * bufferlist.C (emergencyWriteAll): the compiler complains that
12362         there is more than one possible lyx::class_fun template to choose from.
12363         I re-named the void specialisation as lyx::void_class_fun.
12364
12365         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12366
12367         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12368         the compiler is is unable to find tostr in write_attribute.
12369
12370 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12371
12372         * buffer.C (sgmlError): hide #warning
12373
12374 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12375
12376         * xtl/*: get rid of xtl, which is not in use anyway
12377
12378         * LyXAction.C (init):
12379         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12380         were unimplemented xtl experimentation
12381
12382 2002-06-04  André Pönitz <poenitz@gmx.net>
12383
12384         * lyxfunc.C: disable array operation on simple formulae
12385
12386 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * converter.C: constify a bit
12389
12390 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12391
12392         * lyx_gui.C: check xforms version correctly
12393
12394 2002-04-30  Herbert Voss  <voss@lyx.org>
12395
12396         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12397         "keep" option
12398
12399 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12402           attempt to register it with a VCS)
12403
12404 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12405
12406         * lyx_main.C (init): honor variables LYX_DIR_13x and
12407         LYX_USERDIR_13x
12408
12409 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * buffer.h:
12412         * buffer.C:
12413         * lyx_main.C: fix a crash on bad command line,
12414           and give a useful exit status on error
12415
12416         * lyxfunc.C (doImport): allow -i lyx to work
12417
12418 2002-03-30  André Pönitz <poenitz@gmx.net>
12419
12420         * lyxfunc.C: mathed font changes
12421
12422 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12423
12424         * LaTeX.C:
12425         * importer.h:
12426         * importer.C:
12427         * lyx_sty.h:
12428         * lyx_sty.C:
12429         * lyxlex.C:
12430         * lyxrow.h:
12431         * lyxtext.h:
12432         * paragraph.h:
12433         * paragraph.C:
12434         * texrow.h:
12435         * texrow.C:
12436         * text.C:
12437         * trans_mgr.h: srcdocs, and some minor cleanups
12438
12439 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12440
12441         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12442         call getFont all the time)
12443
12444 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * switch from SigC signals to boost::signals
12447
12448 2002-05-29  André Pönitz <poenitz@gmx.net>
12449
12450         * paragraph_pimpl.C (getChar): don't call size() too often...
12451
12452 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12453
12454         * paragraph_pimpl.C (insertChar): do not try to update tables when
12455         appending (pos == size())
12456
12457         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12458         in order to reduce drastically the number of comparisons needed to
12459         parse a large document
12460
12461 2002-05-29  André Pönitz <poenitz@gmx.net>
12462
12463         * text.C:
12464         * text2.C:
12465         * lyxtextclass.C:
12466         * sp_pspell.h:
12467         * textclasslist.[Ch]:
12468         * sp_ispell.h: whitespace change
12469
12470 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12471
12472         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12473         lyxaction directly now.
12474
12475 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * trans.C:
12478         * lyxfont.C:
12479         * lyxvc.C: remove unused headers
12480
12481 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12482
12483         * Makefile.am:
12484         * buffer.h:
12485         * undostack.h:
12486         * undostack.C:
12487         * undo_funcs.h:
12488         * undo_funcs.C: some cleanups. Use shared_ptr
12489           and a template for the undo stacks.
12490
12491 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12492
12493         * BufferView_pimpl.h:
12494         * BufferView_pimpl.C:
12495         * kbmap.h:
12496         * kbmap.C:
12497         * kbsequence.h:
12498         * kbsequence.C:
12499         * lyxfunc.h:
12500         * lyxfunc.C:
12501         * text2.C: use key_state/mouse_state
12502
12503 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12504
12505         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12506         and LSubstring
12507
12508         * chset.C: change include order
12509         (loadFile): use boost regex and get rid of LRegex and LSubstring
12510
12511         * Makefile.am (BOOST_LIBS): new variable
12512         (lyx_LDADD): use it
12513
12514         * LaTeX.C: change include order.
12515         (scanAuxFile): use boost regex and get rid of LRegex and
12516         LSubstring
12517         (deplog): ditto
12518
12519 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12520
12521         * ColorHandler.h:
12522         * ColorHandler.C:
12523         * FontInfo.h:
12524         * FontInfo.C: moved to frontends/xforms/
12525
12526         * FontLoader.h:
12527         * FontLoader.C: moved into frontends for GUIIzation
12528
12529         * Makefile.am:
12530         * lyx_gui.C:
12531         * lyxfont.C:
12532         * lyxfunc.C: changes from above
12533
12534 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * LColor.C: remove spurious X include
12537
12538         * BufferView_pimpl.C:
12539         * Makefile.am:
12540         * font.h:
12541         * font.C:
12542         * text.C:
12543         * text2.C: move font metrics to frontends/
12544
12545 2002-05-24  Juergen Vigna  <jug@sad.it>
12546
12547         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12548         setting the undo_cursor.
12549
12550         * ParagraphParameters.h: include local includes first.
12551
12552 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12553
12554         * BufferView_pimpl.C:
12555         * BufferView_pimpl.h:
12556         * Makefile.am:
12557         * WorkArea.h:
12558         * WorkArea.C:
12559         * screen.C: move WorkArea into frontends/
12560
12561         * lyxscreen.h:
12562         * screen.C:
12563         * text.C:
12564         * BufferView.C:
12565         * BufferView2.C: move LyXScreen into frontends/
12566
12567         * lyxlookup.h:
12568         * lyxlookup.C:
12569         * lyx_gui.C: move lyxlookup into frontends/xforms/
12570
12571 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * BufferView2.C:
12574         * BufferView_pimpl.C:
12575         * FontLoader.C:
12576         * LyXView.h:
12577         * LyXView.C:
12578         * Makefile.am:
12579         * WorkArea.C:
12580         * XFormsView.h:
12581         * XFormsView.C:
12582         * buffer.C:
12583         * bufferlist.C:
12584         * bufferview_funcs.C:
12585         * converter.C:
12586         * importer.C:
12587         * lyx_cb.C:
12588         * lyx_gui.C:
12589         * lyx_main.C:
12590         * lyx_find.C:
12591         * lyxfunc.C:
12592         * lyxvc.C:
12593         * minibuffer.C:
12594         * text.C:
12595         * text2.C:
12596         * trans.C:
12597         * vc-backend.C: move LyX/XFormsView into frontends/
12598
12599 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12600
12601         * Makefile.am:
12602         * PainterBase.C:
12603         * PainterBase.h:
12604         * Painter.C:
12605         * Painter.h:
12606         * WorkArea.C:
12607         * WorkArea.h:
12608         * screen.C:
12609         * tabular.C:
12610         * text.C:
12611         * text2.C: move Painter to frontends/
12612
12613 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12614
12615         * buffer.C: comment out some some code that depend upon lyx_format
12616         < 220
12617
12618         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12619         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12620
12621         * buffer.h (NO_COMPABILITY): turn off compability
12622
12623         * ColorHandler.C: include scoped_array.hpp
12624
12625         * font.C: Use more specific smart_ptr header.
12626         * Painter.C: ditto
12627         * gettext.C: ditto
12628         * ShareContainer.h: ditto
12629         * lyx_main.h: ditto
12630         * kbmap.h: ditto
12631         * FontInfo.h: ditto
12632         * BufferView_pimpl.h: ditto
12633         * ColorHandler.h: ditto
12634
12635         * kbmap.C (defkey): change call to shared_ptr::reset
12636
12637 2002-05-21  Juergen Vigna  <jug@sad.it>
12638
12639         * buffer.C (insertErtContents): fix to insert ert asis if it is
12640         non empty. Skip it completely if it contains only whitespaces.
12641
12642 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * BufferView_pimpl.C:
12645         * BufferView2.C: clear selection on paste (bug 393)
12646
12647 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12648
12649         * DepTable.C: include ctime
12650
12651 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12652
12653         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12654
12655 2002-05-14  Juergen Vigna  <jug@sad.it>
12656
12657         * text.C (breakParagraph): fixed function to honor the keepempty
12658         layout in the right maner and also to permit the right breaking
12659         algorithm on empty or non empyt keepempty paragraphs.
12660
12661         * paragraph.C (breakParagraph): we have to check also if the par
12662         is really empty (!size()) for isempty otherwise we do the wrong
12663         paragraph break.
12664
12665 2002-05-10  Juergen Vigna  <jug@sad.it>
12666
12667         * buffer.[Ch] : The following are only changes to the ert
12668         compatibility read reading old LaTeX layout and font stuff and
12669         convert it to ERTInsets.
12670
12671         * buffer.h: added isErtInset().
12672
12673         * buffer.C (struct ErtComp): add a fromlayout bool to check
12674         if we're inside a LaTeX layout.
12675         (isErtInset): new helper function.
12676         (insertErtContents): look for other ert insets before this one
12677         and insert the contents there, so that we don't have subsequent
12678         ERT insets with nothing between them. This way we create only one
12679         inset with multiple paragraphs. Also check if we don't insert only
12680         spaces ' ' as they are ignored anyway afterwards in the .tex file
12681         so if we have only spaces we will ignore this latex part in the
12682         new file.
12683         (parseSingleLyXformat2Token \\layout): better compatibility when
12684         reading layout-latex stuff.
12685         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12686         language tag.
12687         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12688         stuff after reading the inset only get the information back from
12689         the stack.
12690
12691 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12692
12693         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12694
12695         * LaTeXFeatures.C (getBabelOptions): New method.
12696
12697 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12698
12699         * BufferView_pimpl.C (Dispatch): work around missing argument for
12700         'layout'
12701
12702 2002-05-08  Juergen Vigna  <jug@sad.it>
12703
12704         * text.C (leftMargin): handle paragraph leftindent.
12705
12706         * paragraph.C (writeFile): write the new \\leftindent tag.
12707         (validate): handle leftindent code.
12708         (TeXEnvironment): handle paragraphleftindent code again.
12709
12710         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12711
12712         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12713         for paragrap_extra indent code and new token \\leftindent.
12714         (latexParagraphs): handle the leftindent as environment.
12715
12716         * ParameterStruct.h: added leftindent support.
12717
12718         * ParagraphParameters.C (leftIndent): added support functions for
12719         the paragraph left indent.
12720
12721         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12722         more appropriate.
12723
12724 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12725
12726         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12727         inside insetERT.
12728
12729         * text.C (computeBidiTables): No bidi in insetERT.
12730
12731         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12732         in RTL documents.
12733
12734 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12735
12736         * version.C.in: pre 5
12737
12738 2002-05-02  José Matos  <jamatos@fep.up.pt>
12739         * buffer.C (makeDocBookFile): white space changes, add newline to
12740         command styles.
12741         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12742
12743         * tabular.C (docBook): fix typo.
12744
12745 2002-05-03  Juergen Vigna  <jug@sad.it>
12746
12747         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12748         change in LyXText as we can not be sure it was not freed.
12749         (drawOneRow): remove unused code.
12750
12751         * text.C (drawInset): redo the calculation of the need_break_row as
12752         it could have a row which was already freed.
12753         (draw): look at the return value of drawInset and return false if
12754         it also returned false.
12755         (paintRowText): look at the return value of draw and return false if
12756         it also returned false.
12757
12758         * lyxtext.h: added bool return type to drawInset() and draw() so that
12759         if we have a change in the row so that the rowbreak has to be redone
12760         we abort drawing as it will be called again.
12761
12762 2002-05-02  Juergen Vigna  <jug@sad.it>
12763
12764         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12765         a change in the maintext also if we're inside an inset.
12766         (Dispatch): set the cursor again after a break line and after the
12767         screen has been updated as it could be we're in a different row.
12768
12769         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12770         to set the cursor behind the pargraph with > size().
12771         (setCursor): check also for the same paragraph when checking where
12772         to put the cursor if we have a NFR inset.
12773
12774         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12775         parts of layout read further up as it still was in the wrong
12776         position.
12777
12778 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12779
12780         * screen.C (drawFromTo): change sine fullRebreak always return
12781         true.
12782
12783         * buffer.C (parseSingleLyXformat2Token): reindent some
12784
12785         * BufferView_pimpl.C (update): change since fullRebreak always
12786         return true.
12787         (Dispatch): git rid of the last hardcoded "Standard"s.
12788
12789 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12790
12791         * text2.[Ch] (fullRebreak): make it return void now that we always
12792         returned true.
12793
12794 2002-04-30  Juergen Vigna  <jug@sad.it>
12795
12796         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12797         ert compatibility check for "latex" layout.
12798
12799 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12800
12801         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12802         minipages: use col% instead of p%, and also use the current font.
12803         (makeLaTeXFile): Fix use babel condition.
12804         (parseSingleLyXformat2Token): Correct font when reading old floats.
12805
12806 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12807
12808         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12809         inserting list of floats.
12810
12811 2002-04-25  Herbert Voss  <voss@lyx.org>
12812
12813         * MenuBackend.C (expand): don't add the graphics extensions to the
12814         export menu
12815
12816 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12817
12818         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12819         non-existing layout, do not complain if it was the default layout
12820         of the original class (bug #342)
12821
12822 2002-04-24  Juergen Vigna  <jug@sad.it>
12823
12824         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12825         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12826
12827 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12828
12829         * buffer.C (getBibkeyList): If using \bibliography, return the
12830         option field with the reference itself. Enables us to provide natbib
12831         support when using \bibliography.
12832
12833 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12834
12835         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12836
12837         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12838         natbib is provided by the LaTeX class.
12839
12840 2002-04-23  Juergen Vigna  <jug@sad.it>
12841
12842         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12843         Wakeup functions.
12844
12845         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12846
12847 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12848
12849         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12850
12851         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12852         ensuremath around textordmasculine, textordfeminine and
12853         textdegree.
12854
12855 2002-04-19  Juergen Vigna  <jug@sad.it>
12856
12857         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12858         reinitializing the buffer otherwise row-dimensions may be wrong.
12859         (update): reset also the selection cursors if they do exits otherwise
12860         their x/y positions may be wrong.
12861
12862         * text2.C (cursorDown): don't enter the inset if we came from a row
12863         above and are one row over the inset.
12864
12865         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12866         really leaving an inset.
12867
12868 2002-04-18  Juergen Vigna  <jug@sad.it>
12869
12870         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12871         of the selected paragraph does not have the selected layout also if
12872         the last one had!
12873
12874         * text2.C (setLayout): fixed bug which did not change last selected
12875         paragraph.
12876
12877         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12878         changed the read and substituted \\end_float with \\end_inset!
12879
12880         * BufferView_pimpl.C (cursorPrevious):
12881         (cursorNext): fixed to make it work with rows heigher than the work
12882         area without moving the cursor only the draw of the row.
12883         (workAreaMotionNotify): fix jumping over high rows.
12884
12885 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12886
12887         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12888         Ressler.
12889
12890 2002-04-16  Juergen Vigna  <jug@sad.it>
12891
12892         * text2.C (setCursor): set also the irow().
12893         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12894         (cursorUp):
12895         (cursorDown): support for locking an inset if the x_fix value goes
12896         inside it. That way I can transverse insets too with cursor up/down.
12897
12898         * lyxrow.h: added irow helper function same as other (i) functions.
12899
12900         * BufferView_pimpl.C (cursorPrevious):
12901         (cursorNext): fixed for insets!
12902
12903 2002-04-15  Juergen Vigna  <jug@sad.it>
12904
12905         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12906         position otherwise it is wrong in some cases.
12907
12908         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12909         inside the inset before the call.
12910
12911 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12912
12913         * buffer.[Ch] (getBibkeyList): make it const.
12914
12915 2002-04-12  Juergen Vigna  <jug@sad.it>
12916
12917         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12918
12919         * text2.C (getCursorX): new helper function
12920         (setCursor): compute also ix_
12921         (setCursorFromCoordinates): set also ix.
12922
12923         * lyxcursor.h: added ix_ and helper functions.
12924
12925         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12926
12927         * buffer.C (insertStringAsLines): dont break paragraph if the this
12928         paragraph is inside an inset which does not permit it!
12929
12930         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12931         also with no chars on this paragraph.
12932         (paintRowText): only paint stuff if it's inside the workarea!
12933
12934         * paragraph.C (breakParagraph): honor keepempty flag and break the
12935         paragraph always below not above.
12936
12937         * BufferView2.C (unlockInset): update the paragraph layout on inset
12938         unlock as we changed paragraph in such a case.
12939
12940         * lyxfind.C (LyXFind): clear the former selection if not found!
12941
12942         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12943         again called in insertChar().
12944
12945         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12946         an inset which uses the whole row!
12947         (rightMargin): ditto.
12948         (insertChar): force a rebreak if we inserted an inset!
12949
12950 2002-03-28  Herbert Voss  <voss@lyx.org>
12951
12952         * lyxlength.[Ch]: add inBP() to get the right PS-point
12953         units (BigPoint). With inPixels we have rounding errors
12954
12955 2002-04-11  Juergen Vigna  <jug@sad.it>
12956
12957         * text2.C (setCursorFromCoordinates): set iy to the right value.
12958         (setCursor): add check if row->previous exists!
12959
12960         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12961         an old float_type as this was the case in the old code!
12962
12963         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12964
12965         * BufferView2.C (showLockedInsetCursor): use iy
12966         (fitLockedInsetCursor): ditto
12967
12968         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12969         locked insets as there we have the right value now.
12970
12971         * lyxcursor.C: added iy_ variable and iy functions to set to the
12972         baseline of cursor-y of the locked inset.
12973
12974         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12975         (setCursor): fixed for insets which need a full row.
12976
12977         * text.C (rowLastPrintable): don't ignore the last space when before
12978         an inset which needs a full row.
12979         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12980         as last character of a row when before a inset which needs a full row.
12981
12982 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * version.C.in: update date
12985
12986         * text2.C (fullRebreak): try to always return true and see what
12987         happens...
12988
12989 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12990
12991         * MenuBackend.C (expand): use Floating::listName
12992
12993         * FloatList.C (FloatList): add listName argument to the built-in
12994         floats
12995
12996         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12997         text associated with the float.
12998
12999 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13000
13001         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13002
13003 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13004
13005         * ShareContainer.h: add a couple of missing typenames.
13006
13007 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13008
13009         * lyxrc.C (getDescription): use _() correctly rather than N_().
13010
13011 2002-03-28  Herbert Voss  <voss@lyx.org>
13012
13013         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13014         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13015
13016 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13017
13018         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13019         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13020
13021 2002-03-29  Juergen Vigna  <jug@sad.it>
13022
13023         * lyxfunc.C (dispatch): add a missing fitCursor call.
13024
13025         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13026         it was scrolled by a cursor move, so return the bool status.
13027
13028         * BufferView.C (fitCursor): return the bool flag also to the outside
13029         world as this is needed.
13030
13031         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13032
13033         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13034         call the edit() as it is not needed (and wrong) IMO.
13035         (workAreaButtonPress): set the screen_first variable before evt.
13036         unlock the inset as this may change screen_first and then we have
13037         a wrong y position for the click!
13038
13039 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13040
13041         * MenuBackend.C (expand): another translation that I missed
13042
13043 2002-03-28  Juergen Vigna  <jug@sad.it>
13044
13045         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13046
13047         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13048
13049 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13050
13051         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13052
13053         * MenuBackend.C (expand): fix export/view/update when there is no
13054         document open.
13055
13056 2002-03-27  Herbert Voss  <voss@lyx.org>
13057
13058         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13059         and text%
13060
13061 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13062
13063         * bufferview_funcs.C (currentState): only show paragraph number
13064         for is DEVEL_VERSION is set.
13065
13066         * lyxfunc.C (dispatch): put warning in INFO channel
13067
13068         * MenuBackend.C (expand): translate the name of floats
13069
13070         * FloatList.C (FloatList): mark the float names for translation
13071
13072         * converter.C (convert): use LibScriptSearch
13073
13074 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13075
13076         * MenuBackend.C (defaults): fix default menu (we might as well get
13077         rid of it...)
13078
13079 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13080
13081         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13082         directory.
13083
13084 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13085
13086         * lyxvc.C: reorder includes.
13087
13088 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13089
13090         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13091           properly
13092
13093 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13094
13095         * CutAndPaste.C: change layouts earlier on paste
13096           to avoid crashing when calling getFont()
13097
13098 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13099
13100         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13101         irritating #error.
13102
13103 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13104
13105         * WorkArea.C: remove 'Pending' debug message.
13106
13107         * most files: ws cleanup
13108
13109         * buffer.[Ch]: ws changes
13110
13111         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13112
13113 2002-03-21  Juergen Vigna  <jug@sad.it>
13114
13115         * tabular.C (SetMultiColumn): collapse also the contents of the
13116         cells and set the last border right. Added a Buffer const * param.
13117
13118 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13119
13120         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13121         linking or not.
13122
13123 2002-03-19  Juergen Vigna  <jug@sad.it>
13124
13125         * text2.C (clearSelection): reset also xsel_cache.
13126
13127         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13128         where it needs to be called (John tells us to do so too :)
13129         (selectionLost): reset sel_cache.
13130
13131         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13132
13133 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13134
13135         * text2.C (setCursorIntern): put debuging code in INSETS channel
13136
13137 2002-03-19  André Pönitz <poenitz@gmx.net>
13138
13139         * lyxfunc.C: tiny whitespace change
13140
13141 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13142
13143         * ToolbarDefaults.C (init):
13144         * LyXAction.C (init):
13145         * commandtags.h:
13146         * BufferView_pimpl.C (Dispatch):
13147         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13148
13149 2002-03-19  Allan Rae  <rae@lyx.org>
13150
13151         * exporter.C (Export): removeAutoInsets before doing anything else.
13152         While I've just introduced a dependency on BufferView this really is
13153         the best place to clean the buffer otherwise you need to cleanup in
13154         a dozen places before calling export or cleanup in a dozen functions
13155         that export calls.
13156
13157         * converter.C (runLaTeX):
13158         (scanLog): Better handling of removeAutoInsets and screen updates.
13159
13160         * lyxfunc.C (dispatch): small whitespace changes
13161
13162 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * WorkArea.C (C_WorkAreaEvent): return a value.
13165         (event_cb): return 1 if we handled the event, 0 otherwise.
13166
13167         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13168
13169 2002-03-18  Juergen Vigna  <jug@sad.it>
13170
13171         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13172         (GetAdditionalWidth): ditto.
13173         (RightLine): ditto.
13174         (LeftLine): ditto.
13175
13176         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13177         inset if we're there actually (probably not used right now but this
13178         is the direction to go for unifying code).
13179         (paste): disable code to clear the selection.
13180
13181         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13182         inside an InsetText and move the check further up as it is in the
13183         wrong place.
13184
13185         * text2.C (pasteSelection): set a selection over the pasted text.
13186
13187 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13188
13189         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13190         and libgraphics to build on Cygwin.
13191
13192 2002-03-15  Juergen Vigna  <jug@sad.it>
13193
13194         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13195         inserting an Inset into the paragraph. I know this is not the best
13196         fix but we already use current_view in CutAndPaste so we will remove
13197         all of it's using at the same time.
13198
13199         * buffer.C (sgmlError): deactivated function till it is rewritten in
13200         the right mode, now it can create problems.
13201
13202         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13203         before accessing it.
13204
13205 2002-03-14  Juergen Vigna  <jug@sad.it>
13206
13207         * undo_funcs.C (textHandleUndo): do the right thing when updating
13208         the inset after the undo/redo.
13209
13210         * text2.C (setCursor): just some testcode for #44 not ready yet.
13211
13212         * undo_funcs.C (textHandleUndo): set the next() and previous()
13213         pointers of the paragraph to 0 before deleting otherwise we have
13214         problems with the Paragraph::[destructor].
13215
13216         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13217         on a paragraph insertion.
13218
13219 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13220
13221         * buffer.C (asciiParagraph): use += operator for char append to
13222         string.
13223
13224         * paragraph.C (getFontSettings): compare >= not just >
13225         (highestFontInRange): ditto
13226         (setFont): ditto
13227
13228 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * paragraph.C: change several algorithm to be more appripriate for
13231         the problem domain. This is lookip in FontList and in the InsetList.
13232
13233 2002-03-13  André Pönitz <poenitz@gmx.net>
13234
13235         * commandtags.h:
13236         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13237
13238 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13239
13240         * commandtags.h:
13241         * LyXAction.C:
13242         * lyxfunc.C:
13243         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13244
13245 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13246
13247         * Painter.C (display): anon helper function, adjust code for this
13248         change.
13249         (pixmap): remove function.
13250
13251         * Painter.h: remove private display variable.
13252
13253         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13254
13255 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13256
13257         * WorkArea.[Ch]: remove figinset_canvas cruft.
13258
13259 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13260
13261         * lyxtextclass.C (operator): add one item cache optimization.
13262
13263         * bufferlist.h: doxy changes
13264
13265         * bufferlist.C: ws changes
13266
13267         * DepTable.[Ch] (ext_exist): place const in the right spot.
13268
13269         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13270         call resizeInsets.
13271         (workAreaExpose): call resizeInsets when the with BufferView changes.
13272         (Dispatch): adjust for protectedBlank removal
13273         (specialChar): call updateInset if the insert went ok.
13274
13275         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13276         specialChar instead.
13277
13278         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13279
13280         * BufferView.h: doxy change
13281
13282         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13283
13284         * lyxtextclass.C (operator[]): remove non-const version
13285         (defaultLayout): remove non-const version
13286
13287 2002-03-12  Juergen Vigna  <jug@sad.it>
13288
13289         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13290         did resize the LyXText too.
13291
13292         * buffer.C (readLyXformat2): set layout information on newly allocated
13293         paragraphs.
13294
13295         * tabular.C (OldFormatRead): set layout information on the paragraph.
13296
13297 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13298
13299         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13300
13301 2002-03-11  Juergen Vigna  <jug@sad.it>
13302
13303         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13304         plainly wrong.
13305         (resizeCurrentBuffer): force also the insets to resize themselfes.
13306         (moveCursorUpdate): fixed up for InsetText.
13307
13308 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13309
13310         * commandtags.h:
13311         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13312         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13313         value of Dialogs::tooltipsEnabled().
13314         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13315
13316 2002-03-08  Juergen Vigna  <jug@sad.it>
13317
13318         * BufferView_pimpl.C (updateInset): update inset inside inset also
13319         if it isn't inside theLockingInset().
13320
13321 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13322
13323         * buffer.C (asciiParagraph): redo some of the word and line length
13324         handling.
13325         (getLists): look for Caption instead of caption.
13326
13327 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13328
13329         * buffer.C (Buffer): initialize niceFile to true
13330         (makeLaTeXFile):
13331         (makeLinuxDocFile):
13332         (makeDocBookFile): make sure niceFile is true on exit
13333
13334 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13335
13336         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13337
13338 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13339
13340         * LyXSendto.C: remove.
13341         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13342         * lyx_gui.C: remove now-redundant comment.
13343         * ColorHandler.h: remove forward declaration of class WorkArea.
13344         * lyxfunc.C: remove #include "WorkArea.h".
13345
13346 2002-03-07  Juergen Vigna  <jug@sad.it>
13347
13348         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13349         got moved away with the DEPM and also set the inset_owner always
13350         right which before could have been omitted.
13351
13352 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13355         wanted layout is not found.
13356
13357 2002-03-07  Juergen Vigna  <jug@sad.it>
13358
13359         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13360
13361 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13362
13363         * paragraph.C (breakParagraph): use default layout not layout of
13364         prev paragraph.
13365         (Paragraph): clear ParagraphParameters.
13366
13367 2002-03-06  Juergen Vigna  <jug@sad.it>
13368
13369         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13370         otherwise it would not be a valid lenght. Fixed a special case in
13371         the minipage compatibility read where we end the document with a
13372         minipage.
13373
13374         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13375         was set as it could be 0 for InsetTexts first entry.
13376
13377 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13378
13379         * paragraph.C (writeFile): if layout is empty write out
13380         defaultLayoutName().
13381
13382         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13383         file without named layout we set layout to defaultLayoutName().
13384
13385 2002-03-06  Juergen Vigna  <jug@sad.it>
13386
13387         * CutAndPaste.C (copySelection): set layout for new paragraph.
13388
13389         * text.C (prepareToPrint): leave ERT inset left aligned
13390         (leftMargin): don't indent paragraphs inside ERT insets
13391
13392 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13393
13394         * paragraph.C (breakParagraph): dont call clear do the work manually
13395
13396         * paragraph.[Ch] (clear): remove function
13397
13398 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13399
13400         * paragraph.C (Paragraph): dont call clear, the work has already
13401         been done.
13402
13403         * lyxtextclass.C (operator): assert if n is empty
13404
13405         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13406         work manually instead.
13407
13408 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * BufferView_pimpl.C: protect selectionLost against text == 0
13411
13412 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13413
13414         * text.C (breakParagraph): fix a setting layout to '0' problem.
13415
13416 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13417
13418         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13419         final location of file, for the included files, and graphics.
13420
13421 2002-03-05  Juergen Vigna  <jug@sad.it>
13422
13423         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13424
13425 2002-03-04  Juergen Vigna  <jug@sad.it>
13426
13427         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13428
13429         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13430         last column of multicolumn cells.
13431         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13432
13433 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13434
13435         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13436         file if it doesn't go to a temporary file.
13437
13438         * buffer.C (sgmlOpenTag):
13439         (sgmlCloseTag):  remove extra newline insertion.
13440
13441 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13442
13443         * text.C (getRowNearY): comment out debug msg
13444
13445 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * text2.C: first -> first_y
13448
13449         * text.C (getRowNearY): add some attemts at a possible
13450         optimization, not working.
13451
13452         * tabular.[Ch]: add BufferParams to several function so that newly
13453         created paragraph can be initialized to he default layotu for the
13454         buffers textclass.
13455
13456         * tabular-old.C (ReadOld): add buf->params to call of Init
13457
13458         * screen.C: rename text->first to text->first_y
13459
13460         * paragraph.C (breakParagraph): always set layout in the broken
13461         paragraph
13462
13463         * lyxtextclass.C (Read): remove lowercase
13464         (hasLayout): ditto
13465         (operator): ditto
13466         (delete_layout): ditto
13467
13468         * lyxtext.h: rename first -> first_y
13469
13470         * lyxlayout.C (Read): remove lowercase
13471         (name): ditto
13472         (setName): ditto
13473         (obsoleted_by): ditto
13474
13475         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13476
13477         * buffer.C (insertErtContents): add params are to InsetERT
13478         (parseSingleLyXformat2Token): add code to check if a paragraphs
13479         layout really exist.
13480         (parseSingleLyXformat2Token): add params to several inset
13481         constructors
13482         (asciiParagraph): remove lowercase, do the layout comparisons with
13483         no_case
13484
13485         * BufferView_pimpl.C (cursorNext): first -> first_y
13486         (resizeCurrentBuffer): first -> first_y
13487         (updateScrollbar): first -> first_y
13488         (scrollCB): first -> first_y
13489         (workAreaMotionNotify): first -> first_y
13490         (workAreaButtonPress): first -> first_y
13491         (checkInsetHit): first -> first_y
13492         (cursorPrevious): first -> first_y
13493         (cursorNext): first -> first_y
13494         (Dispatch): add buffer_->params to severl inset contructors
13495
13496 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13497
13498         * lyxlayout.C (Read): remove some debug info that I forgot.
13499
13500         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13501         clean up the code slightly.
13502         (makeLinuxDocFile): ditto
13503         (makeDocBookFile): ditto
13504
13505         * text2.C: layout as string
13506
13507         * text.C: layout as string
13508
13509         * paragraph_pimpl.C: layout as string
13510
13511         * paragraph.[Ch]: layout as string
13512
13513         * lyxtextclasslist.[Ch]: layout as string
13514
13515         * lyxtextclass.[Ch]: layout as string
13516
13517         * lyxtext.h: layout as string
13518
13519         * lyxlayout.[Ch]: layout as string
13520
13521         * lyx_cb.C: layout as string
13522
13523         * bufferview_funcs.C: layout as string
13524
13525         * bufferparams.C: layout as string
13526
13527         * buffer.C: layout as string
13528
13529         * LyXView.[Ch]: layout as string
13530
13531         * LaTeXFeatures.[Ch]: layout as string
13532
13533         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13534
13535         * BufferView_pimpl.C: change current_layout to string, remove
13536         lyx::layout_type.
13537         (Dispatch):
13538         (smartQuote):
13539         (insertInset):
13540         (workAreaButtonRelease): layout as string
13541
13542         * BufferView2.C (unlockInset): adjust
13543
13544         * vspace.C (asLatexCommand): use an explict temp variable.
13545
13546 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13547
13548         * Makefile.am: use FRONTEND_*
13549
13550 2002-03-01  Juergen Vigna  <jug@sad.it>
13551
13552         * tabular.C (SetWidthOfMulticolCell): changed to something better
13553         I hope but still work in progress.
13554         (recalculateMulticolumnsOfColumn): renamed function from
13555         recalculateMulticolCells as it is more appropriate now.
13556         (SetWidthOfCell): calculate multicols better.
13557
13558 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13559
13560         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13561
13562         * lyxfunc.C (processKeySym): print sequence also if it is
13563         `deleted' (complete)
13564
13565         * kbsequence.C (print): print sequence even if it is deleted
13566         (complete would be a better word, actually).
13567
13568         * lyxfunc.C (dispatch): print complete options after a prefix key
13569
13570         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13571
13572 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13573
13574         * text2.C (setCharFont): eliminate setCharFont code duplication.
13575
13576 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13577
13578         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13579         LFUN_TABULAR_FEATURE (bug #177)
13580
13581 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13582
13583         * Makefile.am: remove figure.h
13584
13585 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13586
13587         * Bufferview_pimpl.C:
13588         * CutAndPasteC:
13589         * LaTeX.C:
13590         * LyXSendto.C:
13591         * buffer.C:
13592         * bufferlist.C:
13593         * converter.C:
13594         * language.C:
13595         * lyxfunc.C:
13596         * lyxvc.C:
13597         * paragraph.C:
13598         * text.C:
13599         * text2.C: remove #include "lyx_gui_misc.h".
13600
13601         * LaTeX.C: added #include <cstdio>
13602
13603 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13604
13605         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13606         that the paragraph following this one can have.
13607
13608         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13609
13610         * vspace.C (asLatexCommand): fix bogus gcc warning
13611
13612         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13613
13614 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13615
13616         * text2.C (setLayout): get rid of redundant code
13617
13618 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13619
13620         * text2.C (incDepth): make sure depth cannot be increased beyond
13621         reasonable values.
13622
13623 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13624
13625         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13626         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13627
13628         * PainterBase.h (image):
13629         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13630         a LyXImage const *.
13631
13632 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13633
13634         * BufferView.C:
13635         * BufferView.h:
13636         * BufferView_pimpl.C:
13637         * BufferView_pimpl.h:
13638         * LaTeXFeatures.C:
13639         * LyXAction.C:
13640         * LyXView.C:
13641         * Makefile.am:
13642         * UpdateList.h:
13643         * UpdateList.C:
13644         * buffer.C:
13645         * figure.h:
13646         * figureForm.C:
13647         * figureForm.h:
13648         * figure_form.C:
13649         * figure_form.h:
13650         * lyx_cb.C:
13651         * lyx_gui.C:
13652         * lyx_gui_misc.C:
13653         * lyxfunc.C:
13654         * sp_base.h:
13655         * sp_ispell.h:
13656         * sp_pspell.h:
13657         * sp_spell.C: remove fig inset, and the crap house of
13658           cards that follows it
13659
13660 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13661
13662         * Makefile.am:
13663         * lyxserver.C:
13664         * os2_defines.h:
13665         * os2_errortable.h:
13666         * nt_defines.h: move .h into support/
13667
13668         * vms_defines.h: remove
13669
13670         * WorkArea.C: add space in debug output
13671
13672         * text2.C:
13673         * paragraph.C:
13674         * buffer.C: add WITH_WARNINGS
13675
13676         * vc-backend.h:
13677         * vc-backend.C:
13678         * bufferlist.C: s/retrive/retrieve/, add docs
13679
13680         * vspace.h:
13681         * vspace.C:
13682         * kbmap.h:
13683         * lyxlength.h:
13684         * lyxgluelength.h:
13685         * length_common.h:
13686         * chset.h:
13687         * chset.C: add docs
13688
13689         * lyxgui.C: add ID to X error handler
13690
13691         * lyxtestclass.c: fix typo
13692
13693 2002-02-26  Juergen Vigna  <jug@sad.it>
13694
13695         * tabular_funcs.C (write_attribute): changed so that some default
13696         attributes are not written at all.
13697         (getTokenValue): set default values before trying to read the
13698         value so we have the return value always set as default if we don't
13699         find the token we search for.
13700
13701         * tabular.C (Write): write bools as bools not as strings!
13702
13703 2002-02-22  Juergen Vigna  <jug@sad.it>
13704
13705         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13706         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13707
13708         * text.C (leftMargin): don't add an indent for paragraphs inside
13709         tabular cells (fix #208).
13710
13711 2002-02-21  José Matos  <jamatos@fep.up.pt>
13712
13713         * tabular.C (docBook): fixed support for long tables.
13714
13715 2002-02-20  Juergen Vigna  <jug@sad.it>
13716
13717         * text2.C (getFont): get the drawing font of the Inset if this
13718         paragraph is inside an inset (only important for InsetERT for now).
13719
13720         * buffer.C (insertErtContents): use new lanugage params in ERT
13721         constructor.
13722
13723         * CutAndPaste.C: commenting out seemingly uneeded code.
13724
13725 2002-02-19  Allan Rae  <rae@lyx.org>
13726
13727         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13728         Iterators might be simple to use but they also get invalidated.
13729         (removeAutoInsets): renamed saved cursor tracking variables and added
13730         some comments to clarify what everything does.
13731
13732 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13733
13734         * Chktex.C:
13735         * LaTeX.C:
13736         * LyXSendto.C:
13737         * converter.C:
13738         * lyx_cb.C:
13739         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13740         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13741
13742         * lyxfunc.C:
13743         * vc-backend.h: remove #include "support/syscall.h"
13744
13745         * LaTeX.C:
13746         * LyXSendto.C:
13747         * converter.C: rearrange #includes in Lars' approved fashion.
13748
13749         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13750         forward declare class Timeout in the header file.
13751
13752         * XFormsView.C: changes due to the above.
13753
13754         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13755         similar to LyXView.
13756
13757         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13758         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13759
13760 2002-02-18  José Matos  <jamatos@fep.up.pt>
13761
13762         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13763         insets contents.
13764
13765 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13766
13767         * a lot of small ws changes
13768         * add a lot of using std::XXX
13769         * use std construcs some places where approp.
13770         * use some exisint stuff from lyxfunctional where approp.
13771         * Make file changes to use partial linking (lets test this now...)
13772
13773 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13774
13775         * Chktex.C:
13776         * buffer.C:
13777         remove #include "support/syscontr.h" as it's redundant. Always has been.
13778
13779         * Chktex.C:
13780         * LaTeX.C:
13781         * LyXSendto.C:
13782         * converter.C:
13783         * lyx_cb.C:
13784         * vc-backend.C:
13785         change Systemcalls::System to Systemcalls::Wait and
13786         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13787         No change of functionality, just reflects the stripped down Systemcalls
13788         class.
13789
13790 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13791
13792         * debug.[Ch]: add a GRAPHICS type to the enum.
13793
13794 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13795
13796         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13797
13798         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13799         there is an inset.
13800
13801 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13802
13803         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13804         match the changes below.
13805
13806         * text2.C (toggleInset): if there is not editable inset at cursor
13807         position, try to see if cursor is _inside_ a collapsable inset
13808         and close it.
13809
13810 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13811
13812         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13813         document menu has a nice checkbox
13814
13815 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13816
13817         * lyxlength.C (asLatexString): change PW to output as percent of
13818         \textwidth.
13819
13820         * lengthcommon.C: change '%' to 't%'
13821
13822         * lyxfunc.C (dispatch): a few comments from Martin
13823
13824 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13825
13826         * WorkArea.h:
13827         * WorkArea.C:
13828         * BufferView_pimpl.h:
13829         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13830           the X selection.
13831
13832 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13833
13834         * vspace.C (inPixels): fix compiler warning
13835
13836 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13837
13838         * lyxfunc.C (getStatus): fix status message for disabled commands.
13839
13840 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13841
13842         * BufferView_pimpl.C: fix crash on close buffer
13843         during selection (#227)
13844
13845 2002-01-27  Herbert Voss  <voss@lyx.org>
13846
13847         * buffer.C: link old Figure to new graphic inset
13848
13849 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13850
13851         * FontLoader.C (getFontinfo): Change the latex font names in order
13852         to match the names of type1inst.
13853
13854 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13855
13856         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13857
13858         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13859         (extchanged): ditto
13860         (ext_exist): ditto
13861         (remove_files_with_extension): ditto
13862         (remove_file): ditto
13863         (write): ditto
13864
13865         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13866         document is smaller than the work area height. Do not initialize
13867         static variables to 0.
13868
13869 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13870
13871         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13872
13873         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13874         LFUN_LAYOUT_PARAGRAPHS.
13875
13876         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13877         tabular. It is possible to provide a possible cell, which will
13878         typically be the actcell from the corresponding insettabular
13879
13880         * lyxfunc.C (getStatus): small cleanup; disable
13881         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13882         true
13883
13884 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13885
13886         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13887
13888         * paragraph.C (startTeXParParams):
13889         (endTeXParParams): new methods. The LaTeX code to
13890         start/end paragraph formatting
13891         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13892         empty (fixes bug #200)
13893
13894         * vspace.C (inPixels): adapt to the change below
13895         (inPixels): [later] more cleanups (remove unused variables)
13896
13897         * lyxlength.C (inPixels): change to use a width and a height as
13898         parameter.
13899
13900 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13901
13902         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13903         Replaced with \paperwidth
13904
13905         * DepTable.C (insert): add std:: qualifier
13906
13907 2002-01-18  Allan Rae  <rae@lyx.org>
13908
13909         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13910         updated also?
13911
13912         * text.C (drawInset): Turned out I didn't know enough about how
13913         rebreaking worked.  This fixes most of the redraw problems.  I see
13914         an occasional cursor trail when a line is broken now and the cursor
13915         placement can seem out by a few pixels also after a rebreak.
13916
13917 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13918
13919         * buffer.C (parseSingleLyXformat2Token): update because minipage
13920         width is now a LyXLength
13921
13922         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13923
13924         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13925         math insets
13926
13927 2002-01-17  Juergen Vigna  <jug@sad.it>
13928
13929         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13930
13931         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13932         is set correctly and the inset is updated correctly.
13933
13934 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13935
13936         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13937         the beginning of the loop.
13938
13939 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13940
13941         * lyxrc.C: improve help for use_scalable_fonts
13942
13943 2002-01-17  Allan Rae  <rae@lyx.org>
13944
13945         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13946
13947 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13948
13949         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13950         make sure to set their inset_owner to the right value (bug #171)
13951
13952 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13953
13954         * DepTable.h
13955         * DepTable.C: Implement mtime checking to reduce time spent doing
13956         CRCs.
13957
13958 2002-01-16  Juergen Vigna  <jug@sad.it>
13959
13960         * tabular.C (GetAdditionalHeight): one of error fixed.
13961
13962         * lyxrc.C (output): small fix in writing use_pspell.
13963
13964 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13965
13966         * sp_base.h: #include LString.h
13967
13968 2002-01-16  Allan Rae  <rae@lyx.org>
13969
13970         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13971         Can someone check this please?
13972
13973         * text.C (drawInset): It was possible that p.row would be removed by
13974         breakAgainOneRow upsetting a few other settings.  There may be another
13975         small tweak possible by setting need_break_row = 0 when p.row has been
13976         removed but I don't know enough about the logic here.
13977
13978 2002-01-15  Allan Rae  <rae@lyx.org>
13979
13980         * text.C (insertChar): removed conditional truism.
13981
13982         * BufferView2.C (removeAutoInsets): More tweaks.
13983         cur_par_prev could be a stray pointer.  Check for trailing empty line
13984         in case last line was cur_par and only had an error inset on it.
13985
13986 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13987
13988         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13989         absolute
13990
13991         * vc-backend.C (most methods):
13992         * exporter.C (Export):
13993         * converter.C (convert):
13994         (runLaTeX):
13995         * LyXSendto.C (SendtoApplyCB):
13996         * lyxfunc.C (dispatch):
13997         (menuNew):
13998         (open):
13999         (doImport):
14000         * lyx_cb.C (AutoSave):
14001         (InsertAsciiFile):
14002         * BufferView_pimpl.C (MenuInsertLyXFile):
14003         * buffer.C (runChktex): use Buffer::filePath().
14004
14005         * buffer.h: rename filename to filename_; rename filepath to
14006         filepath_ and make it private
14007         (filePath): new method
14008
14009         * buffer.C (writeFile): use fileName()
14010         (getLatexName):
14011
14012         * lyx_main.C (init): fix starting  of LyX when the binary is a
14013         link from so,ewhere else.
14014
14015         * minibuffer.C: include <cctype> for isprint
14016
14017 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14018
14019         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14020         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14021         name clash with InsetCollapsable's width function.
14022
14023 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14024
14025         * lastfiles.C: include <iterator>
14026
14027 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14028
14029         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14030         std::count.
14031
14032         * buffer.C (makeLaTeXFile): ditto.
14033         Also make loop operation more transparent.
14034
14035 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14036
14037         * ToolbarDefaults.C: remove trailing comma closing namespace.
14038
14039         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14040
14041         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14042         as in WorkArea.
14043
14044         * trans.C (Load): comment out unused variable, allowed.
14045
14046 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14047
14048         * minibuffer.[Ch] (append_char): new method to recieve input from the
14049         drop-down completion browser. If a key was pressed, then recieve this
14050         char and append it to the existing string.
14051         (peek_event): modify the positioning data passed to the completion
14052         browser so that it can be placed above the minibuffer rather than below.
14053 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14054
14055         * LyXAction.C (init): alloe error-next for readonly documents.
14056
14057         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14058         count.
14059
14060 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14061
14062         * bufferlist.C (readFile): create the buffer _after_ checking that
14063         the file exists.
14064
14065         * lyxfunc.C (verboseDispatch): fix handling of arguments
14066
14067         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14068
14069         * lyxrc.C: use string::erase() instead of initializing to "".
14070
14071
14072 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * BufferView_pimpl.h:
14075         * BufferView_pimpl.C:
14076         * WorkArea.h:
14077         * WorkArea.C:
14078         * text2.C: tell X when we have made a selection for copying
14079
14080 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14081
14082         * BufferView_pimpl.C (MenuInsertLyXFile):
14083         * lyxfunc.C (menuNew):
14084         (open):
14085         (doImport): add shortcuts to directory buttons
14086
14087         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14088         open a float)
14089
14090         * lyxfunc.C (setStatusMessage):
14091         (getStatusMessage): new methods
14092         (getStatus):use setStatusMessage instead of setErrorMessage
14093         (dispatch): when function is disabled, set error message here
14094         [instead of in getStatus previously]
14095
14096         * BufferView_pimpl.C (workAreaButtonRelease): update
14097         toolbar/menubar here too.
14098
14099 2002-01-13  Allan Rae  <rae@lyx.org>
14100
14101         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14102         Now seems indestructible.  Remaining task is to audit all other
14103         code affected by deleteEmptyParagraphMechanism.  One small quirk
14104         left is that an empty document with an error in the preamble can
14105         be made to report an error but no error box appears.  I don't know
14106         where it goes.
14107         (removeAutoInsets): Improved comments.
14108
14109 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14110
14111         * Thesaurus.h:
14112         * Thesaurus.C: update for Aiksaurus 0.14
14113
14114 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14115
14116         * text2.C (firstParagraph): removed member function, all uses
14117         replaces with ownerParagraph
14118         (redoParagraphs): here
14119         (updateInset): here
14120         (toggleAppendix): here
14121         * BufferView2.C (insertErrors): here
14122         (setCursorFromRow): here
14123
14124 2002-01-13  Allan Rae  <rae@lyx.org>
14125
14126         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14127         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14128         There is still a way to segfault this although you may have to do this
14129         multiple times: Have an InsetERT with an unknown command in it.
14130         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14131         <down-arrow>, <Enter> again, View->DVI, BANG!
14132
14133         * text2.C (setCursor):
14134         (deleteEmptyParagraphMechanism):
14135         * lyxtext.h (setCursor):
14136         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14137         Making use of the return value may help fix other bugs.
14138
14139 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14140
14141         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14142
14143         * LyXView.C (updateMenubar): call MenuBar::update here
14144         (updateToolbar): but not here
14145         (showState): do not update toolbar/menubar
14146
14147         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14148         should need to care about that.
14149
14150         * lyxfunc.C (verboseDispatch): simplify a bit
14151         (getStatus): have a version which takes a pseudoaction, and
14152         another which requires a (kb_action,string).
14153
14154         * LyXAction.C (retrieveActionArg): make it work also when action
14155         is not a pseudo-action.
14156         (getActionName): simplify a bit
14157         (helpText):
14158
14159 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14160
14161         * lyxfunc.C (verboseDispatch): new families of methods with
14162         several ways to specify a command and a bool to indicate whether
14163         the command name and shortcut should be displayed in minibuffer
14164         (eventually, we could extend that to a finer bitmask like
14165         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14166         (dispatch): the pristine dispatch command which just, well,
14167         dispatchs! Note it still sets its result to minibuffer; I'm not
14168         sure we want that.
14169
14170         * lyxfunc.h: remove setHintMessage
14171
14172         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14173
14174 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14175
14176         * BufferView_pimpl.C (specialChar): delete new inset if we have
14177         not been able to insert it.
14178
14179         * kbmap.C: revert to using int instead of kb_action, since all we
14180         are dealing with is pseudo-actions.
14181
14182         * LyXAction.C (searchActionArg): change to return int instead of
14183         kb_action, since the result is a pseudoaction.
14184
14185 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14186
14187         * buffer.C (insertErtContents): Fix (partially) the font bug.
14188
14189 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14190
14191         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14192         as the other one is broken on my machine!
14193
14194 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14195
14196         * commandtags.h:
14197         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14198
14199 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14202         reflect their actual use. Provide compatibility code for older lyxrc
14203         files.
14204
14205         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14206         FL_NORMAL_STYLE.
14207         change names of popup font variables in line with the changes to lyxrc.C
14208
14209 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14210
14211         * buffer.C (asciiParagraph): avoid outputing a word twice after
14212         an inset.
14213
14214         * lyxrc.C (getDescription): document that document_path and
14215         template_path can be empty.
14216
14217 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14218
14219         * LaTeXFeatures.C (getMacros):
14220         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14221
14222         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14223
14224         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14225         getPackages.
14226         (getPackages): rename feature "floats" to "float". Use an array to
14227         iterate over 'simple' features (i.e. just a \usepackage). Add
14228         handling of "amsmath" (renamed from "amsstyle").
14229
14230 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14231
14232         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14233         features list.
14234
14235 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14236
14237         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14238         FuncStaus::FuncStatus & FuncStaus::some_method().
14239
14240 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14241
14242         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14243         of the func_satus stuff. Edited and massaged in various ways by
14244         JMarc.
14245
14246         * lyxfunc.C (getStatus): use FuncStatus
14247
14248 2002-01-08  Juergen Vigna  <jug@sad.it>
14249
14250         * text.C (nextBreakPoint): use function Inset::isChar().
14251
14252         * paragraph.C (TeXOnePar): use function
14253         Inset::forceDefaultParagraphs.
14254
14255         * buffer.C (latexParagraphs): use function
14256         Inset::forceDefaultParagraphs.
14257
14258 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14259
14260         * lyx_gui.C (init): set the style of the menu popups to
14261         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14262
14263 2002-01-07  Juergen Vigna  <jug@sad.it>
14264
14265         * text.C (setHeightOfRow): small fix
14266         (prepareToPrint): don't look at alignment if we don't have the place
14267         for doing it.
14268
14269 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14270
14271         * box.C: New file. Move the Box methods and functions out of box.h,
14272         following Lars' suggestion.
14273
14274 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14275
14276         * box.h: #include "support/LOstream.h", needed for inlined function.
14277
14278         * lyxtextclass.C:
14279         * lyxtextclasslist.C: added some using std declarations.
14280
14281 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14282
14283         * box.h: make signed dimensions to allow insets wider than
14284           the screen (bug #162)
14285
14286         * BufferView_pimpl.C: add some insetHit debug
14287
14288 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14289
14290         * vc-backend.C: add FIXME
14291
14292 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14293
14294         * lyxfunc.C (getStatus): enable code for showing math font status
14295         in toolbar/menu.
14296
14297 2002-01-07  Juergen Vigna  <jug@sad.it>
14298
14299         * text.C (nextBreakPoint): removed debug output not needed anymore.
14300
14301 2002-01-06  Juergen Vigna  <jug@sad.it>
14302
14303         * text.C (nextBreakPoint): fixed up this function we had this bug
14304         since ever but now hopefully we break row better.
14305         (insertChar): we have to check if an inset is the next char as it
14306         could now happen that a large inset is causing a break.
14307
14308 2002-01-05  Juergen Vigna  <jug@sad.it>
14309
14310         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14311         if it doesn't like to be drawed.
14312
14313 2002-01-04  Juergen Vigna  <jug@sad.it>
14314
14315         * BufferView2.C (lockInset): forgot to set a cursor.
14316
14317         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14318
14319 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14320
14321         * FormMathsPanel.C:
14322         * FormMathsPanel.h
14323         * MathsSymbols.C:
14324         * form_maths_panel.C:
14325         * form_maths_panel.h:
14326         * form_maths_panel.fd: implemented sub- and super- buttons in math
14327         panel.
14328
14329         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14330         (or ^ space) to be used as in TeX (req'd by Andr�.
14331
14332         * lyxfunc.C: Allow ^ and _ again to be used both as
14333         super/subscript (mathed) and as themselves (in text).
14334
14335 2002-01-03  Allan Rae  <rae@lyx.org>
14336
14337         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14338         "LyX" or the filename of the current buffer if it has one.  This is a
14339         modified form of John Levon's patch.
14340
14341         * XFormsView.C (setWindowTitle): also set icon title.
14342
14343         * LyXView.h (setWindowTitle): signature changed.
14344         * XFormsView.h (setWindowTitle): ditto.
14345
14346 2002-01-02  Juergen Vigna  <jug@sad.it>
14347
14348         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14349
14350 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14351
14352         * screen.C (topCursorVisible): introduce a temp var for
14353         text->cursor.row(), handle the case where this row is null. (kindo
14354         hachish)
14355
14356         * text2.C (setCursor): add a couple of asserts.
14357
14358         * paragraph.h (inset_iterator): add -> operator
14359
14360         * paragraph.[Ch] (autoDeleteInsets): remove member function
14361
14362         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14363         cursor pos correctly and handle inset deletion by itself.
14364         (insertErrors): move iterator declaration out of for expression
14365
14366         * lyxtextclass.C: add <algorithm>
14367
14368         * Makefile.am: added the new files to sources, removed layout.C
14369
14370         * layout.C: removed file
14371
14372         * layout.h: remove LYX_DUMMY_LAYOUT
14373
14374         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14375         layout.
14376
14377         * lyxlayout.[Ch]:
14378         * lyxtextclass.[Ch]:
14379         * lyxtextclasslist.[Ch]: new files
14380
14381         * include order changes to a lot of files, also changes because of
14382         the six new files.
14383
14384 2001-12-27  Juergen Vigna  <jug@sad.it>
14385
14386         * buffer.C (asciiParagraph): more fixes.
14387
14388         * tabular.C (ascii): make ascii export support export of only the
14389         data separated by a column-delimiter.
14390         (ascii): better support for ascii export.
14391
14392         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14393
14394 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14395
14396         * tabular_funcs.C: use a "using std::getline" instead of the
14397         previous fix from Angus (necessary for cxx + lyxstring)
14398
14399 2001-12-24  Juergen Vigna  <jug@sad.it>
14400
14401         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14402
14403         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14404         problems. First check a minipage also if we have some ert-contents
14405         (not only on par->size(), second set the right depth of the paragraph
14406         on the relink to the root-paragraph-list!
14407
14408         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14409         which then did not anymore update the main paragraphs on undo/redo!
14410
14411 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14412
14413         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14414         code. Support all font-changing funcs (even those which are not in
14415         menu currently). Support for reporting font settings in
14416         mathed (disabled until Andre provides a function on mathed's side).
14417
14418         * func_status.h (toggle): small helper function to set toggle
14419         state on a flag.
14420
14421 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14422
14423         * tabular_funcs.C: getline -> std::getline
14424
14425 2001-12-21  Juergen Vigna  <jug@sad.it>
14426
14427         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14428         accessed and could be 0 (I couldn't generate this but it seems
14429         Michael could!).
14430
14431 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14432
14433         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14434         * tabular_funcs.h: here and include iosfwd
14435
14436 2001-12-20  Juergen Vigna  <jug@sad.it>
14437
14438         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14439         inside inset but undo_par was.
14440
14441 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14442
14443         * Thesaurus.C: always include <config.h> in sources.
14444
14445         * Painter.h:
14446         * lyxlookup.h:
14447         * box.h: do not include <config.h> in header files
14448
14449         * text.C (paintLastRow): remove unused variable
14450
14451         * text.C (transformChar):
14452         (insertChar):
14453         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14454
14455         * Painter.C (text):
14456         * font.C (width): rewrite to use uppercase() instead of
14457         islower/toupper.
14458
14459         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14460
14461 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14462
14463         * lyxfind.C: clean up of find failure position change
14464
14465 2001-12-20  Juergen Vigna  <jug@sad.it>
14466
14467         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14468
14469         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14470         (TeXRow): added to LaTeX a single tabular row.
14471         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14472         (Latex): simplified and finally good LT-h/f support.
14473         (various_functions): just small adaptions for LT-h/f support.
14474
14475         * tabular_funcs.[hC]: added and moved here all not classfunctions
14476         of LyXTabular.
14477
14478 2001-12-19  Juergen Vigna  <jug@sad.it>
14479
14480         * tabular.[Ch]: better support for longtabular options (not finished
14481         yet!)
14482
14483 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14484
14485         * text.C (paintLastRow): use the label font instead of the font of
14486         the last character to compute the size of *_BOX. This makes more
14487         sense and avoids a crash with empty paragraphs.
14488         Use Painter::rectangle to draw EMPTY_BOX.
14489
14490 2001-12-19  Juergen Vigna  <jug@sad.it>
14491
14492         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14493         the paragraphs if the replaced paragraph is not the first one!
14494         Tried to delete not used paragraphs but does not work yet so for
14495         now it's inside #ifdef's and by default off!
14496
14497 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14498
14499         * MenuBackend.C: include "lyx_main.h" instead of declaring
14500         lastfiles (actually was declared as LastFiles* instead of a
14501         scoped_ptr).
14502
14503 2001-12-17  Juergen Vigna  <jug@sad.it>
14504
14505         * tabular.C (AppendColumn): applied John's fix
14506
14507 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14508
14509         * BufferView.h:
14510         * BufferView.C:
14511         * BufferView_pimpl.h:
14512         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14513
14514         * Makefile.am:
14515         * box.h: new start of class for above
14516
14517         * lyxfunc.C: ignore space-only minibuffer dispatches.
14518           Show the command name when it doesn't exist
14519
14520         * minibuffer.C: don't add empty lines to the history
14521
14522         * minibuffer.C: add a space on dropdown completion
14523
14524 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14525
14526         * text.C: fix line above/below drawing in insets
14527
14528 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14529
14530         * lyxlength.C (LyXLength): Initialize private variables.
14531
14532 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14533
14534         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14535         when inserting error insets.
14536
14537 2001-12-13  Juergen Vigna  <jug@sad.it>
14538
14539         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14540         actually sometimes the before-paragraph.
14541         (setUndo): don't clear the redostack if we're not actually undoing!
14542
14543 2001-12-06  Juergen Vigna  <jug@sad.it>
14544
14545         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14546         and fixed redoing of main paragraph, so we can use it now ;)
14547
14548         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14549
14550 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14551
14552         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14553         Juergen's request
14554
14555 2001-12-13  André Pönitz <poenitz@gmx.net>
14556
14557         * undostack.[Ch]:
14558         * undo_func.C: minor cleanup
14559
14560 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14561
14562         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14563         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14564         font in urw-fonts package which is marked as -urw-fontspecific and
14565         does not work (incidentally, changing the encoding in the
14566         fonts.dir of this package to -adobe-fontspecific fixes the
14567         problem).
14568
14569         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14570         is a crash when undoing first paragraph (Juergen, please take a
14571         look). THis does not mean the undo fix is wrong, just that it
14572         uncovers problems.
14573
14574         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14575         the (Paragraph*) version when needed instead of duplicating the
14576         code.
14577
14578         * text.C (workWidth): use Inset::parOwner to find out where the
14579         inset has been inserted. This is a huge performance gain for large
14580         documents with lots of insets. If Inset::parOwner is not set, fall
14581         back on the brute force method
14582
14583         * paragraph_pimpl.C (insertInset):
14584         * paragraph.C (Paragraph):
14585         (cutIntoMinibuffer): set parOwner of insets when
14586         inserting/removing them
14587
14588         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14589
14590 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14591
14592         * commandtags.h:
14593         * LyXAction.C:
14594         * lyx_main.C:
14595         * lyxfunc.C:
14596         * mathed/formulabase.C:
14597         * mathed/math_cursor.[Ch]:
14598         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14599
14600
14601 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14602
14603         * lyxlength.[Ch] (operator!=): new function
14604
14605 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14606
14607         * text.C (workWidth): use Inset::parOwner to find out where the
14608         inset has been inserted. This is a huge performance gain for large
14609         documents with lots of insets. If Inset::parOwner is not set, fall
14610         back on the brute force method
14611
14612         * paragraph_pimpl.C (insertInset):
14613         * paragraph.C (Paragraph):
14614         (cutIntoMinibuffer): set parOwner of insets when
14615         inserting/removing them
14616
14617         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14618
14619 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14620
14621         * tabular-old.C (getTokenValue):
14622         * tabular.C (getTokenValue):
14623         (write_attribute): new versions for LyXLength
14624         (everywhere): adjust the use of widths
14625
14626         * tabular.h: change the type of widths from string to LyXLength
14627
14628 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14629
14630         * paragraph.C: fixed missing line number count when exporting
14631         Environments to LaTeX file
14632
14633         * buffer.C: added informational message for checking line numbers.
14634
14635 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14636
14637         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14638         paragraph, do the 'double space' part, but not the 'empty
14639         paragraph' one.
14640
14641         * text.C (workWidth): small optimization
14642         (getLengthMarkerHeight): use minimal size for negative lengths.
14643
14644 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14645
14646         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14647
14648         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14649
14650 2001-12-11  André Pönitz <poenitz@gmx.net>
14651
14652         * FontLoader.C:
14653         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14654
14655 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14656
14657         * text2.C: keep selection on a setFont()
14658
14659 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14660
14661         * lyx_cb.C: another bv->text misuse, from insert label
14662
14663 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * kbsequence.h:
14666         * kbsequence.C: re-instate nmodifier mask
14667
14668 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14669
14670         * lyx_main.h: make lyxGUI private.
14671
14672 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14673
14674         * lyxfind.C: place the cursor correctly on failed search
14675
14676 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14677
14678         * text.C (getLengthMarkerHeight): for small heights, the arrows
14679         are not always on top/bottom of the text
14680         (drawLengthMarker): smaller arrows; take the left margin in
14681         account; draw also vfills.
14682         (paintFirstRow):
14683         (paintLastRow): remove special code for vfill and standard spaces,
14684         since everything is handled in drawLengthMarker now.
14685
14686 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14687
14688         * buffer.C (insertErtContents): try to handle font and language
14689         interaction a bit better.g
14690
14691         * ColorHandler.C (updateColor): change the hash to cover the whole
14692         LColor enum, ws cleanup
14693         (getGCLinepars): ditto
14694         (getGCLinepars): only lookup in the linecache once.
14695
14696 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14697
14698         * iterators.C (operator++): Make the iterator more robust
14699
14700         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14701         (John's patch)
14702         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14703
14704 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14705
14706         * lyxtext.h:
14707         * text.C: better added space drawing
14708
14709 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * LyXView.C:
14712         * BufferView2.C: fix layout combo update on inset unlock
14713
14714 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * Makefile.am: don't compile unused files
14717
14718 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * lyxfunc.C:
14721         * commandtags.h:
14722         * LyXAction.C: remove old LFUN_LAYOUTNO
14723
14724 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14725
14726         * paragraph_pimpl.h:
14727         * paragraph_pimpl.C: isTextAt() doesn't need font param
14728
14729 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * lyxlex.h:
14732         * lyxlex.C: little cleanup
14733
14734 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14735
14736         * BufferView_pimpl.C: fix insertAscii for insets
14737
14738 2001-12-05  Juergen Vigna  <jug@sad.it>
14739
14740         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14741         set the right font on the "multi" paragraph paste!
14742
14743 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14744
14745         * trans_decl.h:
14746         * trans_mgr.[Ch]:
14747         * trans.[Ch]:
14748         * lyxgluelength.C:
14749         * lyxlength.C: remove out-commented code.
14750
14751         * BufferView_pimpl:
14752         * CutAndPaste.C:
14753         * DepTable.C:
14754         * buffer.C:
14755         * chset.C:
14756         * lastfiles.C:
14757         * lyxlex.C:
14758         * lyxlex_pimpl.C:
14759         * lyxserver.C:
14760         * screen.C:
14761         * tabular-old.C:
14762         * tabular.C:
14763         * text.C:
14764         * trans_mgr.C:
14765         * vc-backend.C: change "while(" to "while ("
14766
14767         * lyxlength.[Ch]: add zero function to check if length is zero or
14768         not
14769         * lyxgluelength.C: use it
14770
14771 2001-12-05  Allan Rae  <rae@lyx.org>
14772
14773         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14774         Works for 2.95.3, from what I understand of Garst's reports this should
14775         work for other g++ versions.  We're screwed if the abs(int) definition
14776         changed between bugfix releases of gcc.
14777
14778 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14779
14780         * text.C: fix chapter label offset !
14781
14782 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14783
14784         * lyxtext.h:
14785         * text.C: fix hfill at end of line, clean up
14786
14787 2001-12-04  Juergen Vigna  <jug@sad.it>
14788
14789         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14790         that we force an update of the inset and it's owners if neccessary.
14791
14792 2001-12-03  Juergen Vigna  <jug@sad.it>
14793
14794         * text.C (rowLast): simplified code
14795
14796 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14797
14798         * lyxfunc.C: fix show options on timeout
14799
14800 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14801
14802         * screen.C (topCursorVisible): scroll half a page when the cursor
14803         reached top of bottom of screen
14804
14805 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14806
14807         * minibuffer.C: deactivate on loss of focus
14808
14809 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14810
14811         * vspace.[Ch] (operator!=): add operator.
14812
14813 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14814
14815         * BufferView_pimpl.C: refuse to open an inset when
14816         there's a selection.
14817
14818 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14819
14820         * BufferView_pimpl.C: allow to click on RHS of full row insets
14821
14822 2001-11-30  Juergen Vigna  <jug@sad.it>
14823
14824         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14825         insets for undo reasons.
14826
14827 2001-11-28  André Pönitz <poenitz@gmx.net>
14828
14829         * vspace.[Ch]: cosmetical changes
14830
14831 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14832
14833         * LyXAction.h:
14834         * LyXAction.C:
14835         * lyxfunc.h:
14836         * lyxfunc.C:
14837         * kbmap.h:
14838         * kbmap.C:
14839         * lyxrc.C:
14840         * kbsequence.h:
14841         * kbsequence.C: part re-write of old kb code
14842
14843         * Painter.C:
14844         * WorkArea.C: remove Lgb_bug_find_hack
14845
14846 2001-11-30  José Matos <jamatos@fep.up.pt>
14847
14848         * buffer.C (makeDocBookFile): add a comment to point a hack.
14849         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14850         Fixed a double write of labels.
14851
14852 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14853
14854         * LaTeX.C:
14855         * LaTeX.h Fixed bug in LaTeX class where it would not
14856         re-run latex if no depfiles were changed, but the .dvi was removed.
14857
14858 2001-11-28  André Pönitz <poenitz@gmx.net>
14859
14860         * all the files from the change on 2001/11/26:
14861         use lyx::layout_type instead of LyXTextClass::size_type
14862         use lyx::textclass_type instead of LyXTextClassList::size_type
14863
14864 2001-11-29  Juergen Vigna  <jug@sad.it>
14865
14866         * text.C: added support for paragraph::isFreeSpacing()
14867
14868         * buffer.C: same as above
14869
14870         * paragraph.h: inserted isFreeSpacing() function to enable
14871         FreeSpacing inside InsetERT.
14872
14873         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14874         of the paragraph's in the cut/copy buffer to 0!
14875
14876         * text2.C (removeRow): remove the assert as it can!
14877
14878         * lyxtext.h: added helper function firstRow returning firstrow and
14879         made firstrow private again.
14880
14881         * BufferView2.C (lockInset): don't relock if we're already locked!
14882
14883         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14884         the only paragraph.
14885         (removeRow): added Assert::(firstrow)
14886
14887         * debug.C: forgot to add INSETTEXT here.
14888
14889 2001-11-28  Juergen Vigna  <jug@sad.it>
14890
14891         * sp_spell.C (initialize): changed error text to more general
14892         spellchecker command use (not only ispell!)
14893
14894         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14895
14896         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14897
14898 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14899
14900         * vspace.C: initialise lyxgluelength on failure
14901
14902 2001-11-28  Allan Rae  <rae@lyx.org>
14903
14904         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14905         declaration & definition that looks like a function declaration.
14906
14907 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * BufferView2.C (copy):
14910         (copyEnvironment): do not clear the selection when doing a copy.
14911
14912         * text.C (paintFirstRow): compilation fix
14913
14914 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14915
14916         * tabular.C (Latex): correct line count when writing latex.
14917
14918 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14919
14920         * paragraph_pimpl.h:
14921         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14922           bug a bit
14923
14924 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14925
14926         * text.C:
14927         * LColor.h:
14928         * LColor.C: change vfillline->added_space
14929
14930         * text.C: add markers and text for added space
14931
14932         * vspace.C: fix comment
14933
14934 2001-11-28  André Pönitz <poenitz@gmx.net>
14935
14936         * paragraph.C: whitespace changes
14937         * all the other files from the change on 2001/11/26:
14938         change *::pos_type into lyx::pos_type
14939
14940 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14941
14942         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14943         language of the document when inserting error insets.
14944
14945 2001-11-26  André Pönitz <poenitz@gmx.net>
14946
14947         * BufferView_pimpl.[Ch]:
14948         *       CutAndPaste.C:
14949         * buffer.[Ch]:
14950         * lyxcursor.[Ch]:
14951         * lyxfind.C:
14952         * lyxfunc.C:
14953         * lyxrow.[Ch]:
14954         * paragraph.[Ch]:
14955         * paragraph_pimpl.[Ch]:
14956         * sp_spell.C:
14957         * text.C:
14958         * text2.C: reduce header dependencies, introduce type for positions
14959
14960 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14961
14962         * <various>: change to use Alert.h
14963
14964 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14965
14966         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14967         when encountering an unknown token.
14968         (readLyXformat2): Show an error message if there were unknown tokens.
14969
14970 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * BufferView2.C:
14973         * BufferView_pimpl.C:
14974         * buffer.C:
14975         * paragraph.h:
14976         * text.C:
14977         * text2.C: use par->isInset()
14978
14979 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14980
14981         * paragraph_pimpl.h:
14982         * paragraph_pimpl.C: cleanup
14983
14984 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14985
14986         * text2.C (removeRow):
14987         * text.C (setHeightOfRow): remove useless (and costly) call to
14988         getRow.
14989
14990 2001-11-20  Allan Rae  <rae@lyx.org>
14991
14992         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14993         Now need Inset*::checkInsertChar() to return true for appropriate
14994         cases so that the characters in the minibuffer will actually be
14995         inserted.
14996
14997 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * text.C: change the order of the includes.
15000         (workWidth): initialize it at once.
15001         (workWidth): make maxw unsigned
15002         (setHeightOfRow): remove unused variable (inset)
15003         (selectSelectedWord): remove unused variable (inset)
15004         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15005
15006 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15007
15008         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15009         server is not running.
15010         (openConnection):
15011         (closeConnection): add debug info when server is disabled.
15012
15013         * ColorHandler.C (getGCForeground): send debug message to GUI
15014         channel.
15015
15016         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15017
15018         * kbmap.C (bind): modify because return conventions of
15019         kb_sequence::parse have changed.
15020
15021         * kbsequence.C (parse): only ignore spaces and not any stupid
15022         control character. This avoids tests like s[i] <= ' ', which are
15023         guaranteed to fail with 8bit characters and signed chars.
15024         Change return code to string::npos when there have been no error
15025         (0 was a bad idea when error is at first character)
15026
15027 2001-11-14  José Matos  <jamatos@fep.up.pt>
15028
15029         * buffer.h:
15030         * buffer.C (simpleDocBookOnePar): removed unused argument.
15031
15032 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15033
15034         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15035         insets which are part of a word. Paragraph::isLetter takes care of
15036         that now. Use Paragraph::isInset to identify insets.
15037         (selectSelectedWord): do not test for hyphenation break.
15038
15039         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15040         that protected spaces are considered as spaces.
15041
15042         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15043         Inset::isLetter.
15044
15045 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15046
15047         * lyxserver.h:
15048         * lyxserver.C: fix it. and small cleanup.
15049
15050 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15051
15052         * BufferView_pimpl.C: use inline helpers
15053
15054         * LaTeXFeatures.h:
15055         * LaTeXFeatures.C: fix typos
15056
15057         * Spacing.h:
15058         * Spacing.C: move spacing_string into class
15059
15060         * ToolbarDefaults.C: move stuff into namespace anon
15061
15062         * layout.h: update enum
15063
15064         * lyxfunc.C: use better debug
15065
15066         * minibuffer.h: fix typo
15067
15068         * debug.h:
15069         * debug.C:
15070         * WorkArea.C: add and use Debug::WORKAREA
15071
15072         * lyxtext.h:
15073         * text.C:
15074         * text2.C: code re-organisation, inline helpers
15075
15076 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15077
15078         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15079         std::vector.empty().
15080
15081 2001-11-09  Allan Rae  <rae@lyx.org>
15082
15083         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15084         '\n's after tables.  Tabular and ERT inset work now makes this no
15085         longer necessary.
15086
15087 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15088
15089         * minibuffer.h:
15090         * minibuffer.C: fix crash, improve drop-down completion
15091
15092 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * lyxserver.h:
15095         * lyxserver.C: invalidate fd's when doing endPipe()
15096
15097 2001-11-08  José Matos  <jamatos@fep.up.pt>
15098
15099         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15100         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15101
15102         * paragraph.h:
15103         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15104
15105 2001-11-07  José Matos  <jamatos@fep.up.pt>
15106
15107         * buffer.h:
15108         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15109         const qualifier.
15110
15111         * buffer.C (sgmlOpenTag):
15112         * buffer.C (sgmlCloseTag): removed debug info.
15113
15114         * buffer.h (sgmlOpenTag):
15115         * buffer.h (sgmlCloseTag): made public.
15116
15117 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15118
15119         * buffer.C (saveParamsAsDefaults):
15120         * lyx_cb.C (MenuLayoutSave): remove
15121
15122         * LyXAction.C (init):
15123         * commandtags.h:
15124         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15125
15126 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15127
15128         * buffer.C (setPaperStuff): removed from here...
15129
15130         * bufferparams.C (setPaperStuff): ... and moved there.
15131
15132 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15133
15134         * minibuffer.h:
15135         * minibuffer.C:
15136         * XFormsView.C: add support for drop-down completion
15137
15138 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15139
15140         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15141         commands.
15142
15143 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15144
15145         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15146         disabled.
15147
15148 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15149
15150         * lyx_main.C: change ref to known bugs
15151
15152 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15153
15154         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15155         to work around older babel problems.
15156
15157 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15158
15159         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15160
15161 2001-10-24  Juergen Vigna  <jug@sad.it>
15162
15163         * tabular-old.C (ReadOld): below variable changes reflected.
15164
15165         * tabular.[Ch]: added ltType struct for longtable header/footer
15166         defines and changed all instances where they are used. Added
15167         future support for double top/bottom rows.
15168
15169 2001-10-24  José Matos  <jamatos@fep.up.pt>
15170
15171         * buffer.h (docbookHandleCaption):
15172         * buffer.C (docbookHandleCaption): removed unused function.
15173         (makeDocBookFile): moved docbook supported version to v4.1.
15174
15175 2001-10-24  José Matos  <jamatos@fep.up.pt>
15176
15177         * tabular.h:
15178         * tabular.C (docbookRow): new function to export docbook code of a row.
15179         (DocBook): now honors the longtable flags.
15180
15181 2001-10-23  José Matos  <jamatos@fep.up.pt>
15182
15183         * LaTeXFeatures.h:
15184         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15185         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15186
15187         * buffer.C (makeLinuxDocFile):
15188         (makeDocBookFile): reworked the preamble, more clean, and with
15189         support for lyx defined entities. Changed the document declaration
15190         to be more XML friendly.
15191
15192         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15193         if we need to output XML that should be done with a filter.
15194
15195 2001-10-22  Juergen Vigna  <jug@sad.it>
15196
15197         * sp_pspell.h (class PSpell): add alive function needed in the
15198         controller to see if the spellchecker could be started.
15199
15200 2001-10-22  Juergen Vigna  <jug@sad.it>
15201
15202         * buffer.C (insertStringAsLines): modify the font for inserting
15203         chars in certain conditions by calling checkInsertChar(font).
15204
15205 2001-10-19  Juergen Vigna  <jug@sad.it>
15206
15207         * text.C (workWidth): use getRow instead of wrong algorithm.
15208         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15209
15210 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15211
15212         * lyxserver.h:
15213         * lyxserver.C:
15214         * lyx_main.h:
15215         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15216
15217 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15218
15219         * text.C (workWidth): do not search for the exact row when
15220         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15221         optimization for big documents.
15222
15223 2001-10-18  Juergen Vigna  <jug@sad.it>
15224
15225         * text.C (workWidth): new function with added Inset * parameter.
15226
15227 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15228
15229         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15230
15231         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15232         change return type of getColumnNearX.
15233
15234
15235         * text.C (changeRegionCase): use uppercase/lowercase instead of
15236         toupper/tolower.
15237         (leftMargin):
15238         (rightMargin): simplify code by factoring out the uses of
15239         textclasslist.
15240         (labelFill):
15241         (numberOfHfills):
15242         (setHeightOfRow):
15243         (appendParagraph): use Paragraph::size_type
15244
15245 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15246
15247         * vspace.C (asLatexString): add a missing break
15248
15249 2001-10-15  Herbert Voss  <voss@perce.de>
15250
15251         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15252
15253 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15254
15255         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15256         is not available.
15257
15258 2001-10-10  André Pönitz <poenitz@gmx.net>
15259
15260         * lyxfunc.C: removed greek_kb_flag.
15261
15262 2001-10-10  Herbert Voss  <voss@perce.de>
15263
15264         * lyx_main.C: delete global string help_lyxdir.
15265
15266 2001-10-09  Herbert Voss  <voss@perce.de>
15267
15268         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15269
15270         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15271
15272         * lyx_main.C: added global string help_lyxdir.
15273
15274         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15275
15276 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15277
15278         * lyxrc.C (set_font_norm_type): support iso8859-4
15279
15280 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15281
15282         * LaTeX.C (deplog): add another regex for MikTeX
15283
15284 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15285
15286         * lyxrc.C (set_font_norm_type): support iso8859-3
15287
15288 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15289
15290         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15291
15292         * LaTeXFeatures.C: remove special case of french and index
15293
15294         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15295         before \begin{document}). This solves several incompatibilities.
15296
15297 2001-10-03  Garst Reese  <reese@isn.net>
15298
15299         * lyx_cb.C: change CheckTex error msg.
15300
15301 2001-10-03  José Matos  <jamatos@fep.up.pt>
15302
15303         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15304
15305 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15306
15307         * .cvsignore: update
15308
15309         * lyx_main.C (commandLineVersionInfo): use new style version info.
15310
15311         * buffer.C (writeFile):
15312         (makeLaTeXFile):
15313         (makeLinuxDocFile):
15314         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15315
15316         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15317
15318         * version.h: update to use stuff in version.C
15319
15320         * version.C.in: new file. Contains version information determined
15321         at compile time. This is a merging of version.h and
15322         version_info.h.in.
15323
15324 2001-10-03  Juergen Vigna  <jug@sad.it>
15325
15326         * BufferView_pimpl.C (update): don't change "dirty" status in
15327         updateInset call.
15328
15329 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         * WorkArea.C (c-tor): re-position version string slightly.
15332
15333 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15334
15335         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15336         revert to previous code.
15337
15338         WorkArea.[Ch]: (show, destroySplash): methods removed.
15339
15340         WorkArea.C: rework code so that it's an amalgam of the codes before and
15341         after the splash screen was moved to WorkArea.
15342
15343 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15344
15345         * lyxrc.C (read):
15346         * vspace.C (inPixels):
15347         (lyx_advance):
15348         * kbmap.C (bind):
15349         * buffer.C (insertStringAsLines):
15350         (asciiParagraph): fix types to be large enough
15351
15352         * lyxlex_pimpl.h: change member status from short to int
15353
15354         * layout.h: fix type of endlabeltype
15355
15356         * kbmap.C (bind):
15357         * kbsequence.C (parse): change return type to string::size_type
15358
15359         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15360         variable
15361
15362         * Bullet.C (bulletSize):
15363         (bulletEntry): do not use short ints as parameters
15364
15365         * BufferView2.C (insertLyXFile): change a char to an int.
15366
15367         * WorkArea.C (WorkArea): remove unneeded floats in computation
15368
15369 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15370
15371         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15372
15373         * paragraph.C (asString): Do not ignore newline/hfill chars when
15374         copying to the clipboard.
15375
15376 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15377
15378         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15379         after a multi-line inset.
15380
15381 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15382
15383         * paragraph.C (validate): Set NeedLyXFootnoteCode
15384
15385 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15386
15387         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15388         and decrease-error to decrease.
15389
15390 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15391
15392         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15393         it more readable (should be equivalent)
15394
15395 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15396
15397         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15398
15399 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15400
15401         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15402         of a cursor (row, etc.) after a character has been deleted
15403         (deleteEmptyParagraphMechanism): call the method above on _all_
15404         cursors held by the LyXText when a double space has been
15405         detected/deleted.
15406
15407 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15408
15409         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15410         pixmap.
15411         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15412
15413         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15414         background. Use greyOut() and the new show() methods to toggle between
15415         the foreground and background. Add code to remove the splash after
15416         its initial showing.
15417
15418         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15419         (create_forms): no longer call Dialogs::showSplash.
15420
15421 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15422
15423         * .cvsignore: add version_info.h
15424
15425 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15426
15427         * version_info.h.in: new file
15428
15429         * Makefile.am: add version_info.h.in
15430
15431         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15432         version_info.h instead of VERSION_INFO
15433
15434 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15435
15436         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15437         The ERT inset now returns string().
15438
15439 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15440
15441         * lyxtext.h, text.C (selectNextWord): renamed as
15442         selectNextWordToSpellcheck.
15443
15444         * text.C (selectNextWordToSpellcheck): Modified to not select
15445         words inside an ERT inset.
15446
15447 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15448
15449         * lyx_cb.C (MenuLayoutSave): change a bit the question
15450
15451         * sp_base.h: include <sys/types.h>
15452
15453 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15454
15455         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15456
15457 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15458
15459         * several files: fix typos in user-visible strings
15460
15461 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15462
15463         * text2.C (pasteSelection): do not set the selection, since it
15464         will be cleared later. Actually, the intent was to fix the way the
15465         selection was set, but I figured rmoving the code was just as good.
15466
15467 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15468
15469         * FontLoader.C (available): Check if font is available without
15470         loading the font.
15471
15472 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15473
15474         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15475
15476 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15477
15478         * lyxrc.[Ch]: added display_graphics variable and associated code.
15479
15480 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15481
15482         * bufferparams.C (hasClassDefaults): new method. Returns true if
15483         the buffer parameters correspond to known class defaults
15484
15485 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15486
15487         * XFormsView.C (show): set minimum size to the main window.
15488
15489 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15490
15491         * text2.C (copySelection):
15492         (cutSelection):
15493         * lyxfind.C (LyXReplace):
15494         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15495         LyXText::selectionAsString.
15496
15497         * paragraph.C (asString): add "label" argument to the second form
15498
15499         * text2.C (selectionAsString): add "label" argument and pass it to
15500         Paragraph::asString.
15501
15502 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15503
15504         * lyx_main.C (commandLineHelp): remove version information
15505
15506 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15507
15508         * lyx_main.C: add -version commandline option
15509
15510 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * paragraph.h: make the optional constructor arg required instead.
15513         some modifications to other files because of this.
15514
15515         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15516
15517         * lyxserver.C (C_LyXComm_callback): make it static
15518
15519         * lyx_main.C (error_handler): make it static
15520
15521         * lyx_gui.C (LyX_XErrHandler): make it static
15522
15523         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15524
15525         * WorkArea.C: make the extern "C" methods static.
15526
15527         * Makefile.am (lyx_LDADD): simplify
15528
15529 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15530
15531         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15532         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15533
15534         * LyXAction.C (init):
15535         * lyxfunc.C (dispatch): associated code removal.
15536
15537 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15538
15539         * lyxfont.h (isSymbolFont): shut off warning
15540
15541         * text.C (setHeightOfRow):
15542         (getVisibleRow): fix crash with empty paragraphs which have a
15543         bottom line
15544
15545 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15546
15547         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15548         code.
15549
15550 2001-09-04  José Matos  <jamatos@fep.up.pt>
15551         * buffer.C
15552         * buffer.h
15553         * tabular.C (docbook): rename docBook method to docbook.
15554
15555 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15556
15557         * Makefile.am: add dependencies to main.o.
15558
15559 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15560
15561         * FontLoader.C (available): Return false if !lyxrc.use_gui
15562
15563 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15564
15565         * FontInfo.C (query):
15566         * converter.C (view):
15567         * importer.C (Import):
15568         * exporter.C (Export): Can not -> cannot.
15569
15570 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15571
15572         * BufferView_pimpl.C: allow to create index inset even if
15573           string is empty
15574
15575 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15576
15577         * buffer.C (getLists): replace boost::tie code with an explicit pair
15578         as boost::tie can break some compilers.
15579
15580         * iterators.h: Added a std:: declaration to the return type of
15581         ParIterator::size.
15582
15583 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15584
15585         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15586           case.
15587
15588 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15589
15590         * iterators.[Ch]: New files. Provide paragraph iterators.
15591
15592         * buffer.C (changeLanguage): Use paragraph iterators.
15593         (isMultiLingual): ditto
15594
15595         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15596
15597 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15598
15599         * FontLoader.C: Support for cmr font.
15600
15601 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15602
15603         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15604         (available): New method.
15605
15606         * FontInfo.C (getFontname): Use scalable fonts even when
15607         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15608         found.
15609
15610 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15611
15612         * converter.C (Formats::view): reverted! Incorrect fix.
15613
15614 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15615
15616         * converter.C (Formats::view): only output the -paper option
15617         if the dvi viewer is xdvi, thereby fixing bug #233429.
15618
15619 2001-08-23  Herbert Voss  <voss@perce>
15620
15621         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15622
15623 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15624
15625         * Spacing.h (Spacing): Set space to Default on in the default
15626         constructor.
15627
15628 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15629
15630         * vc-backend.h (RCS::versionString): add RCS to version
15631         (CVS::versionString): add CVS to version
15632
15633         * vc-backend.C (scanMaster): do not add CVS to version.
15634         (scanMaster): do not add RCS to version
15635
15636         * lyxvc.C (versionString): new method
15637
15638         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15639
15640 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15641
15642         * Spacing.C (set): initialize fval
15643
15644 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15645
15646         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15647         " or \.
15648
15649 2001-08-16  Juergen Vigna  <jug@sad.it>
15650
15651         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15652
15653 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15654
15655         * BufferView_pimpl.C:
15656         * figureForm.C:
15657         * lyxtext.h:
15658         * text2.C: setParagraph takes linespacing now
15659
15660 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15661
15662         * LyxAction.C: add internal LFUN_CITATION_INSERT
15663
15664         * LyXView.C: actually apply fix
15665
15666         * bufferlist.C: fix open non-existent file
15667
15668         * lyxfind.C: fix indentation
15669
15670         * lyxfunc.C: remove unneeded assert, fix typo
15671
15672 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15673
15674         * MenuBackend.C: use "Floatname List"
15675
15676 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15677
15678         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15679         when converting LaTeX layout to insetERT.
15680         Generate a non-collapsed float when reading old float
15681
15682 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15683
15684         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15685         ERT insets.
15686
15687 2001-08-13  Juergen Vigna  <jug@sad.it>
15688
15689         * text.C (fill): return 0 instead of 20 as this seems to be the more
15690         correct value.
15691
15692 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15693
15694         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15695         lyxrc.font_norm.
15696
15697 2001-08-13  Juergen Vigna  <jug@sad.it>
15698
15699         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15700         casesensitive off.
15701         (SearchBackward): comment out the unlocking of the inset_owner this
15702         should not be needed!
15703
15704 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15705
15706         * Many files: Remove inherit_language, and add latex_language
15707
15708         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15709         collapsible insets.
15710
15711 2001-08-10  Juergen Vigna  <jug@sad.it>
15712
15713         * text.C (prepareToPrint): fixed hfill-width in draw!
15714
15715         * BufferView2.C (selectLastWord): save the selection cursor as this
15716         now is cleared in the function LyXText::clearSelection!
15717
15718 2001-08-08  Juergen Vigna  <jug@sad.it>
15719
15720         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15721         BACKSPACE type functions.
15722
15723         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15724         is only cutted from the document but not put in the cut-buffer, where
15725         still the old stuff should be.
15726
15727         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15728
15729         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15730
15731         * tabular.C (SetWidthOfCell): fixed special case where the width
15732         was not updated!
15733         (LeftLine): handle '|' in align_special.
15734         (RightLine): ditto
15735         (LeftAlreadyDrawed): ditto
15736         (SetWidthOfCell): ditto
15737
15738 2001-08-07  Juergen Vigna  <jug@sad.it>
15739
15740         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15741
15742 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15743
15744         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15745         * lyxlex.[hC]: ditto
15746
15747 2001-08-06  Juergen Vigna  <jug@sad.it>
15748
15749         * text.C (getVisibleRow): fix up row clearing a bit.
15750
15751 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15752
15753         * minibuffer.C: make sure the X server sees the changes in the input.
15754
15755 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15756
15757         * paragraph.C (getFont): split into...
15758         (getLabelFont): this
15759         (getLayoutFont): and this
15760         * paragraph_pimpl.C (realizeFont): calling this
15761
15762         * text2.C (getFont): split into...
15763         (getLayoutFont): this
15764         (getLabelFont): and this
15765         (realizeFont): all three calling this
15766
15767         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15768         files where used.
15769
15770 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15771
15772         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15773
15774 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15775
15776         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15777         layouts from the Quote inset insertion.
15778
15779 2001-08-03  Juergen Vigna  <jug@sad.it>
15780
15781         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15782
15783         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15784         only if status not is already CHANGED_IN_DRAW (second level).
15785
15786         * text.C (draw): don't set the need_break_row when inside an
15787         InsetText LyXText.
15788
15789 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15790
15791         * buffer.C (parseSingleLyXformat2Token): handle more latex
15792         conversion cases.
15793
15794         * bufferview_funcs.[hC]: change function names to
15795         begin with small char, adjust other files.
15796
15797 2001-08-02  André Pönitz <poenitz@gmx.net>
15798
15799         * lyxfunc.C:
15800         BufferView_pimpl.C: remove broken special code for math-greek
15801
15802 2001-08-02  Juergen Vigna  <jug@sad.it>
15803
15804         * BufferView_pimpl.C (update): redone this function so that we
15805         update the text again if there was a CHANGE_IN_DRAW.
15806
15807         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15808         (drawFromTo): added a new internal bool which is used by draw() and
15809         redraw() function.
15810         (general): some cursor drawing problems fixed.
15811
15812 2001-08-01  Juergen Vigna  <jug@sad.it>
15813
15814         * lyxfind.C (LyXFind): fixed
15815         (SearchForward): ditto
15816         (SearchBackward): ditto
15817
15818         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15819         spurius drawing of the cursor in the main area.
15820
15821         * text2.C (status): small fix which could lead to a segfault!
15822         (clearSelection): remove unneeded BufferView param.
15823
15824 2001-08-01  André Pönitz <poenitz@gmx.net>
15825
15826         * lyxfunc.C: small change due to changed mathed interface
15827
15828 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15829
15830         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15831
15832 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15833
15834         * lyxfunc.c: fail gracefully if file doesn't exist
15835
15836         * LyXSendto.C:
15837         * buffer.C:
15838         * lyxfunc.C:
15839         * BufferView_pimpl.C: IsDirWriteable() proto changed
15840
15841         * LyXView.C: fix updateWindowTitle() to store the last title
15842
15843 2001-07-31  Juergen Vigna  <jug@sad.it>
15844
15845         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15846         the font (wrong since using of Paragraph::highestFontInRange).
15847
15848         * paragraph.C (highestFontInRange): added a default_size parameter.
15849
15850         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15851         (setHeightOfRow): reformat
15852
15853 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15854
15855         * converter.[hC] + affected files: move to (inital-char)lowercase
15856         function names.
15857
15858         * ParagraphParameters.C (ParagraphParameters): remove commented code
15859
15860         * PainterBase.[Ch]: remove commented code
15861
15862         * LaTeXFeatures.h: add "bool floats" for float.sty
15863
15864         * LaTeXFeatures.C (LaTeXFeatures): init floats
15865         (require): handle float
15866         (getPackages): do it with floats
15867
15868 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15869
15870         * BufferView_pimpl.C (Dispatch): improve handling of
15871         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15872
15873         * commandtags.h: #include lyxfont.h here temporarily to avoid
15874         keybinding bug.
15875
15876         * bufferlist.h: include LString.h here.
15877
15878 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15879
15880         * text2.C (getStringToIndex): new method.
15881
15882 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15883
15884         * *: Reduced header file dependencies all over.
15885
15886 2001-07-30  Baruch Even  <baruch@lyx.org>
15887
15888         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15889
15890 2001-07-29  Baruch Even  <baruch@lyx.org>
15891
15892         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15893
15894 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15895
15896         * ParameterStruct.h (endif): add a default constructor to make
15897         sure that all variables is initialized.
15898
15899         * ParagraphParameters.C (ParagraphParameters): adjust
15900
15901 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15902
15903         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15904         index; also, check that there is something to index, and that it
15905         does not span over several paragraphs.
15906         (doubleClick): use WHOLE_WORD_STRICT for double click.
15907
15908         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15909
15910         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15911         scheme.
15912
15913 2001-07-26  Baruch Even  <baruch@lyx.org>
15914
15915         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15916         an InsetFig figure, backwards compatible reading of old figure code.
15917
15918 2001-07-27  Juergen Vigna  <jug@sad.it>
15919
15920         * text2.C: font.realize function adaption.
15921
15922         * text.C (draw): add a warnings lyxerr text if needed.
15923
15924         * layout.C: font.realize function adaption.
15925
15926         * language.C: add inherit_language and implement it's handlings
15927
15928         * bufferview_funcs.C (StyleReset): remove language parameter from
15929         font creation (should be language_inherit now).
15930
15931         * bufferparams.C (writeFile): handle ignore_language.
15932
15933         * paragraph.C (getFontSettings): the language has to be resolved
15934         otherwise we have problems in LyXFont!
15935
15936         * lyxfont.C (lyxWriteChanges): added document_language parameter
15937         (update): removed unneeded language parameter
15938
15939         * paragraph.C (validate): fixed wrong output of color-package when
15940         using interface colors for certain fonts in certain environments,
15941         which should not seen as that on the final output.
15942
15943 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15944
15945         * BufferView_pimpl.C:
15946         * Thesaurus.h:
15947         * Thesaurus.C:
15948         * Makefile.am:
15949         * commandtags.h:
15950         * LyXAction.C: add thesaurus support
15951
15952         * lyxfind.h:
15953         * lyxfind.C: add "once" parameter, for thesaurus, to not
15954           move to the next match
15955
15956 2001-07-26  Juergen Vigna  <jug@sad.it>
15957
15958         * lyxfont.C (realize): honor ignore_language too!
15959         (resolved): ditto.
15960
15961         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15962
15963         * text.C (draw): one place more for ignore_language to not draw
15964         itself!
15965
15966 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15967
15968         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15969
15970 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15971
15972         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15973         the minipage conversion problem.
15974
15975 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15978         insert an inset.
15979
15980 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15981
15982         * BufferView.h: don't forward declare WorkArea
15983
15984         * BufferView.C: don't include WorkArea.h
15985
15986 2001-07-25  André Pönitz <poenitz@gmx.net>
15987
15988         * commandtags.h:
15989         * LyXAction.C:
15990         * lyxfunc.C:  new LFUN 'math-space'
15991
15992         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15993
15994 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15995
15996         * text2.C (toggleInset): call open/close
15997
15998 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15999
16000         * lyxfunc.C (dispatch): add debug for the disabled case
16001
16002         * font.C (buttonText): make similar to rectText
16003
16004         * buffer.C (readInset): comment out parsing of insetlist and
16005         insttheorem
16006
16007         * PainterBase.C (rectText): small correction
16008
16009         * BufferView_pimpl.C: comment out insettheorem and insetlist
16010         * LyXAction.C: ditto
16011         * commandtags.h: ditto
16012
16013 2001-07-24  Juergen Vigna  <jug@sad.it>
16014
16015         * text.C (draw): honor the ignore_language.
16016
16017         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16018
16019 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16020
16021         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16022         char inset.
16023
16024 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16025
16026         * lyxtext.h: remove unused (and unimplemented) methods
16027
16028 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16029
16030         * text.C (getVisibleRow): honor background color
16031
16032         * PainterBase.h:
16033         * Painter.h: remove default color argument for fillRectangle
16034
16035         * text.C (backgroundColor): new method
16036
16037 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16038
16039         * text.C (getVisibleRow): adjust
16040
16041         * font.[Ch] (rectText): new method, metrics
16042         (buttonText): new method, metrics
16043
16044         * PainterBase.[hC]: make rectText and buttonText always draw and take
16045         fewer paramteres.
16046
16047 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16048
16049         * ToolbarDefaults.C (read):
16050         * MenuBackend.C (read): allow escaping in all strings
16051
16052         * BufferView_pimpl.C (insertAndEditInset): new method.
16053         (Dispatch): use insertAndEditInset whenever appropriate.
16054
16055         * BufferView_pimpl.C (insertNote): removed
16056
16057         * BufferView_pimpl.C (smartQuote): new method, moved from
16058         BufferView; if an insetquote cannot be inserted, insert a '"'
16059         character instead.
16060
16061         * BufferView2.C: remove insertCorrectQuote();
16062
16063         * lyxfunc.C (getStatus): Add support for all remaingin
16064         inset-insert lfuns.
16065
16066         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16067
16068         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16069         command (necessary to pass " as parameter of self-insert.
16070
16071         * text.C (selectWordWhenUnderCursor):
16072         (selectWord): add word_location parameter
16073         (selectWordWhenUnderCursor): same + remove special code for word
16074         boundary.
16075         (selectNextWord): use kind() to guess type of insetspecialchar,
16076         not latex().
16077
16078         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16079         (insertErtContents): create ert insets as collapsed.
16080         (readInset): better compatibility code for Info inset.
16081
16082 2001-07-20  Juergen Vigna  <jug@sad.it>
16083
16084         * lyxfunc.C (dispatch): use always LyXFind now!
16085
16086         * text2.C (init): add a reinit flag so that the LyXText can be
16087         reinited instead of deleted and reallocated (used in InsetText).
16088
16089         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16090
16091         * text.C: ditto
16092
16093         * text2.C: ditto
16094
16095 2001-07-18  Juergen Vigna  <jug@sad.it>
16096
16097         * text.C (selectNextWord): handle insets inside inset by calling
16098         always the bv->text functions so that we can go up the_locking_inset!
16099
16100         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16101         in strange locations when inside an inset!
16102
16103         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16104         handling to include insets.
16105
16106         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16107
16108 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16109
16110         * LyXAction.C (init):
16111         * commandtags.h:
16112         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16113         LIGATURE_BREAK, since the name is so stupid.
16114
16115 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16116
16117         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16118         InsetInfos.
16119
16120         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16121
16122         * sp_form.[Ch]: remove.
16123
16124         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16125
16126         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16127         InsetInfo.
16128
16129         * src/buffer.C (readInset): ditto.
16130
16131 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16132
16133         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16134         menuSeparator(), endOfSentenceDot(), ldots() and
16135         hyphenationPoint(), which are therefore removed.
16136         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16137
16138         * LyXAction.C (init):
16139         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16140
16141         * paragraph.C (getWord): removed.
16142
16143         * BufferView_pimpl.C (Dispatch): use last word or selection for
16144         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16145
16146         * lyx_main.C (queryUserLyXDir): do not ask before creating
16147         user_dir, except if it has been named explicitely.
16148
16149 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16150
16151         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16152         a document of zero size.
16153
16154 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16155
16156         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16157         approriately in the c-tor and in require().
16158         (getPackages): output the appropriate LaTeX for natbib support.
16159
16160         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16161         variables "use_natbib" and "use_numerical_citations" when reading the
16162         LyX file.
16163         (readInset): read the various natbib cite commands.
16164         (validate): white-space change.
16165
16166         * bufferparams.[Ch]: new variables "bool use_natbib" and
16167         "bool use_numerical_citations".
16168         (writeFile): output them in the LyX file.
16169
16170 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16171
16172         * lyxfunc.C (getStatus): add support for all the inset insertion
16173         commands.
16174
16175         * text2.C (insertInset):
16176         * paragraph.C (insetAllowed):
16177         * BufferView_pimpl.C (insertInset): update to take in account the
16178         renaming of insertInsetAllowed
16179
16180         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16181
16182         * text2.C (getInset): new method. returns inset at cursor position.
16183
16184         * BufferView_pimpl.C (Dispatch): changes because of this.
16185
16186         * LyXAction.C (init): rename open-stuff to inset-toggle.
16187
16188         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16189
16190         * text2.C (toggleInset): renamed from openStuff; use
16191         Inset::open().
16192
16193 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16194
16195         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16196
16197         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16198
16199 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16200
16201         * buffer.C (readLyXformat2): Add filename to the error dialog
16202
16203 2001-07-18  Juergen Vigna  <jug@sad.it>
16204
16205         * tabular.C (GetCellNumber): put an assert here instead of the check!
16206
16207 2001-07-17  Juergen Vigna  <jug@sad.it>
16208
16209         * BufferView_pimpl.C (toggleSelection): adapted too.
16210
16211         * text.C (selectNextWord): adapted for use with insets.
16212         (selectSelectedWord): ditto
16213
16214 2001-07-17  Juergen Vigna  <jug@sad.it>
16215
16216         * sp_spell.C (PSpell): fix initialitation order.
16217
16218 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16219
16220         * paragraph.C: spacing
16221
16222 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16223
16224         * sp_spell.C: repair language selection for pspell
16225
16226 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16227
16228         * lyxfunc.h: change more methods to begin with lower char.
16229
16230 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16231
16232         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16233         for unknown layouts.
16234
16235 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16236
16237         * buffer.C (readLyXformat2): Generate an error dialog if there are
16238         unknown layouts.
16239
16240 2001-07-16  Juergen Vigna  <jug@sad.it>
16241
16242         * sp_spell.C: always compile ISpell part.
16243
16244         * lyxrc.C: added use_pspell entry and it's handling.
16245
16246 2001-07-13  Juergen Vigna  <jug@sad.it>
16247
16248         * sp_spell.C: removed double includes.
16249
16250 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16251
16252         Consistent use of Lsstream.h:
16253         * Lsstream.h: added using std::stringstream for consistencies sake.
16254
16255         * buffer.C: removed using std::stringstream
16256
16257         * lyxfont.C (stateText):
16258         * paragraph.C (asString):
16259         * text.C (selectNextWord, selectSelectedWord):
16260         * text2.C (setCounter):
16261         * vspace.C (asString, asLatexString):
16262         std::ostringstream -> ostringstream.
16263
16264 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16265
16266         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16267         * commandtags.h: add LFUN_HELP_ABOUTLYX
16268         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16269
16270 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16271
16272         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16273         cursorToggle()
16274         * lyx_gui_misc.C: remove spellchecker
16275         * lyxfunc.C: showSpellchecker
16276         * sp_base.h: added
16277         * sp_ispell.h: added
16278         * sp_pspell.h: added
16279         * sp_spell.C: added
16280         * sp_form.[Ch]: removed
16281         * spellchecker.[Ch]: removed
16282
16283 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16284
16285         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16286         is set.
16287         (simpleTeXSpecialChars): Simply print the input character without
16288         any special translation if pass_thru is set.
16289
16290         * layout.h: Added bool pass_thru to layout class for being able to
16291         implement pass through of a paragraph for Literate Programming.
16292
16293         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16294         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16295         * layout.C (Read): add "passthru" to list of layout tags and add
16296         code to set the pass_thru boolean when it is read.
16297
16298 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16299
16300         * trans_decl.h: remove allowed from KmodInfo
16301
16302         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16303         remove allowed code
16304         (Load): adjust
16305
16306         * paragraph_pimpl.C (erase): use boost::prior
16307
16308         * Painter.C (text): use data() instead of c_str() when length is
16309         also provided.
16310         * WorkArea.C (putClipboard): ditto
16311         * font.h (width): ditto
16312
16313         * BufferView2.C: use it-> instead of (*it). for iterators
16314         * texrow.C: ditto
16315         * paragraph_pimpl.C: ditto
16316         * paragraph.C: ditto
16317         * minibuffer.C: ditto
16318         * language.C: ditto
16319         * kbmap.C: ditto
16320         * encoding.C: ditto
16321         * counters.C: ditto
16322         * converter.C: ditto
16323         * chset.C: ditto
16324         * Variables.C: ditto
16325         * TextCache.C: ditto
16326         * MenuBackend.C: ditto
16327         * LyXAction.C: ditto
16328         * LColor.C: ditto
16329         * FloatList.C: ditto
16330         * DepTable.C: ditto
16331         * ColorHandler.C (LyXColorHandler): ditto
16332
16333 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16334
16335         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16336
16337         * text2.C (openStuff): reintroduce this method (which had been
16338         nuked in NEW_INSETS frenzy).
16339
16340         * lyxfunc.C (Dispatch): when an action has not been handled, use
16341         its name in the error message, not its number.
16342
16343         * paragraph.C (inInset): change method name to begin with lowercase.
16344
16345         * undo_funcs.C:
16346         * text2.C: updates because of this.
16347
16348 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16349
16350         * ToolbarDefaults.C (add): add spaces in error message
16351
16352 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16353
16354         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16355         (readLyXformat2): rename return_par to first_par, use lyxlex's
16356         pushToken and remove the manual push handling.
16357         (parseSingleLyXformat2Token): add another ert comp. variable:
16358         in_tabular, rename return_par to first_par. handle newlines better
16359
16360 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16361
16362         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16363
16364 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16365
16366         * text2.C (getParFromID): removed
16367
16368         * buffer.C (getParFromID): new method moved form lyxtext.
16369         * BufferView2.C (insertErrors): adjust
16370         (setCursorFromRow): adjust
16371         * BufferView_pimpl.C (restorePosition): adjust
16372         * lyxfunc.C (Dispatch): adjust
16373         * undo_funcs.C (textUndo): adjust
16374         (textRedo): adjust
16375         (textHandleUndo): adjust
16376         (textHandleUndo): adjust
16377
16378 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16379
16380         * buffer.C: up' the LYX_FORMAT
16381
16382         * lyxfont.h: turn NO_LATEX on as default
16383
16384         * buffer.C (insertErtContents): new methods of tex style compability.
16385         (parseSingleLyXformat2Token): use it several places.
16386         * tabular.C (OldFormatRead): and here
16387
16388 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16389
16390         * text2.C: remove some commented code.
16391         reindent file.
16392
16393         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16394         * trans.C: changes because of the above.
16395
16396 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16397
16398         * text2.C (setCounter): Fix counters bug with bibliography layout.
16399
16400 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16401
16402         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16403         own member functions
16404         (simpleTeXSpecialChars): ditto
16405
16406 2001-07-06  Juergen Vigna  <jug@sad.it>
16407
16408         * a lot of files: changed the access to LyXText::status and the
16409         call of undo-functions.
16410
16411         * undo.[Ch]: added a inset_id to the undo informations.
16412
16413         * undo_funcs.[Ch]: added and moved here all undo functions.
16414
16415         * lyxtext.h: give the status enum a weight, made status_ a private
16416         variable and made accessor functions for it, removed the whole bunch
16417         of undo-functions as they are now in their own file, make some
16418         functions publically available. Added function ownerParagraph with
16419         int parameter.
16420
16421         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16422         made InInset() a const function, added getParFromID() function.
16423
16424         * buffer.[Ch]: added const version for inset_iterator functions,
16425         added getInsetFromID() function.
16426
16427         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16428         changed undo functions for new version.
16429
16430 2001-07-05  Juergen Vigna  <jug@sad.it>
16431
16432         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16433         unknow mechanism does not call the proper constructor but only this
16434         one also if I request the other!?
16435
16436 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16437
16438         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16439
16440         * text2.C (LyXText): use initialization lists.
16441
16442         * lyxtext.h (Selection): initialize set_ and mark_
16443         (init): remove method
16444
16445 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16446
16447         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16448
16449 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16450
16451         * screen.[Ch]: change method names to begin with lowercase
16452
16453         * BufferView_pimpl.C (updateScrollbar): simplify further and
16454         hopefully make it a bit faster.
16455
16456 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16457
16458         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16459         calling directly xforms functions.
16460
16461         * Painter.C (Painter):
16462         * lyx_cb.C (MenuWrite):
16463         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16464         fl_display.
16465
16466         * lyx_gui.C: remove bogus guiruntime extern declaration.
16467
16468 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16469
16470         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16471         in NEW_INSETS
16472         (redoDrawingOfParagraph): ditto
16473         (redoParagraphs): ditto
16474         (cutSelection): don't create a object for CutAndPaste use the
16475         static method directly
16476         (pasteSelection): ditto
16477
16478         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16479         LyXview (+ rename)
16480
16481 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16482
16483         * modifications to some other files because of this.
16484
16485         * Makefile.am (lyx_SOURCES): add XFormsView
16486
16487         * XFormsView.[Ch]: new files
16488
16489         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16490         the main window. Move the gui dependent stuff to XFormsView
16491
16492 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16493
16494         * tabular.C (GetCellInset): update cur_cell also in the row/col
16495         version of this function.
16496
16497         * lyxfunc.C: no need to include figure_form.h here.
16498
16499         * FontLoader.h:
16500         * lyxfunc.h:
16501         * lyxscreen.h:
16502         * text2.C:
16503         * lyxvc.C: no need to include forms.h here.
16504
16505 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16506
16507         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16508
16509         * lyxfunc.C (Dispatch):
16510         * Spacing.C (set):
16511         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16512         constructor argument.
16513
16514 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16515
16516         * paragraph.C (Paragraph): dont't clear, and just set layout.
16517         (makeSameLayout): use params's copy contructor.
16518
16519         * ParagraphParameters.[Ch] (makeSame): delete method
16520
16521 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16522
16523         * Variables.[Ch]: fix indentation, rename set to isSet
16524
16525 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16526
16527         * lyxfunc.C (Dispatch): fix typo
16528
16529 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16530
16531         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16532         upper_bound.
16533
16534         * bufferlist.C: include assert.h for emergencyWrite().
16535
16536 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16537
16538         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16539           give up at last (bug #425202) !
16540
16541 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16542
16543         * lyx_gui_misc.C:
16544         * sp_form.h:
16545         * sp_form.C:
16546         * spellchecker.h:
16547         * spellchecker.C: strip spellchecker options and bring up
16548           preferences tab instead
16549
16550 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16551
16552         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16553         the istringstream constructor
16554
16555 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16556
16557         * paragraph.C (getLayout): fix return value
16558
16559         * paragraph.h: do not declare getLayout as inline.
16560
16561         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16562
16563 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16564
16565         * lyxcursor.h (operator<): new func
16566         (operator>): new func
16567         (operator>=): new func
16568         (operator<=): new func
16569
16570         * text.C (changeCase): use selection.start and selection.end
16571         (changeRegionCase): require from to be <= to. Require par to be a
16572         valid paragraph.
16573
16574         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16575
16576 2001-06-27  Juergen Vigna  <jug@sad.it>
16577
16578         * text.C (cursorLeftOneWord): changed to return the cursor and added
16579         overlay with BufferView * parameter which calls this one.
16580         (getWord): added
16581         (selectWord): use new getWord function.
16582         (changeCase): renamed from changeWordCase as and extended to work
16583         also on selections.
16584
16585         * lyxtext.h: added enum word_location
16586
16587         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16588         changeCase as this operates now also on selections.
16589
16590 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16591
16592         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16593
16594         * many files: send debug output to Debug::INFO instead of
16595         Debug::ANY.
16596
16597         * converter.C (View):
16598         (Convert):
16599         (Move): send debug output to Debug::FILES instead of console.
16600
16601 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16602
16603         * lyxfunc.C (getStatus): use func_status
16604
16605         * func_status.h: new header, describing the results of
16606         LyXFunc::getStatus;
16607
16608         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16609         LFUN_MATH_HALIGN.
16610
16611 2001-06-25  The LyX Project  <jug@sad.it>
16612
16613         * buffer.C (sgmlOpenTag):
16614         (sgmlCloseTag):
16615         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16616
16617 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16618
16619         * text2.C: remove some dead code
16620
16621         * tabular.C (GetCellInset): store the last cell checked (gotten)
16622
16623         * tabular.h: add the helper for the speedup
16624
16625         * lyxtext.h: remove some dead code
16626
16627 2001-06-26  The LyX Project  <Asger>
16628
16629         * paragraph.C: Change export to LaTeX of alignment to
16630         \begin{center} and family for better roundtrip work with reLyX.
16631
16632         * Tune the math drawing a bit.
16633
16634 2001-06-25  The LyX Project  <Asger>
16635
16636         * LColor.C (LColor): New color for math background. New color
16637         for buttons.
16638
16639 2001-06-25  The LyX Project  <jug@sad.it>
16640
16641         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16642
16643         * lyxfunc.C (Open):
16644         * bufferlist.C (newFile): do not restrict to files ending with
16645         .lyx
16646
16647         * BufferView_pimpl.C (MenuInsertLyXFile):
16648
16649 2001-06-24  The LyX Project  <jug@sad.it>
16650
16651         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16652         of compare_no_case
16653
16654 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16655
16656         * lyxtext.h: rename most methods to begin with a small char.
16657         Lots of changes because of this.
16658
16659         * paragraph.C (Paragraph): do not call fitToSize
16660         (erase): call Pimpl::erase
16661         (insertChar): call Pimpl::insertChar
16662         (insertInset): call Pipl::insertInset
16663         (breakParagraph): do not call fitToSize
16664         (breakParagraphConservative): do not call fitToSize
16665         (fitToSize): remove method
16666
16667         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16668
16669 2001-06-24  The LyX Project  <Asger>
16670
16671         * Fix Qt compilation^2
16672
16673 2001-06-24  The LyX Project  <jug@sad.it>
16674
16675         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16676         depthHook(getDepth()-1).
16677
16678         * paragraph.h:
16679         * ParagraphParameters.h:
16680         * ParameterStruct.h: change type of depth to unsigned int ==
16681         depth_type. Many adaptations to other files before of that.
16682
16683 2001-06-24  The LyX Project  <Asger>
16684
16685         * Fix Qt compilation.
16686
16687 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16688
16689         * paragraph.h: renamed several methods to begin with small letter.
16690         several changes to many parts of the code because of this.
16691
16692 2001-06-23  The LyX Project  <jug@sad.it>
16693
16694         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16695         rewritten to discard all double spaces when KeepEmpty is off
16696         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16697         to only handle newlines but not fiddle with spaces and friends.
16698
16699         * lyxfunc.C (MenuNew): when doing 'new from template', use
16700         template_path as default directory
16701
16702 2001-06-23  The LyX Project  <Asger>
16703
16704         * Clean-up of header file includes all over
16705         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16706
16707 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16708
16709         * paragraph.h: renamed from lyxparagraph.h
16710
16711 2001-06-23  Asger  <lyx@violet.home.sad.it>
16712
16713         * Buffer.h: Removed Buffer::resize
16714         * BufferList.h: Removed BufferList::resize
16715         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16716         the document lazily when we change the width, or the font settings.
16717
16718 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16719
16720         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16721
16722 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16723
16724         * buffer.h: remove out of date comment
16725
16726 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16727
16728         * lyxscreen.h:
16729         * screen.C: fix "theoretical" GC leak
16730
16731 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16732
16733         * LaTeX.C (scanAuxFile):
16734         (deplog): remove trailing \r when reading stream (useful under
16735         win32)
16736
16737 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16738
16739         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16740         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16741         and BufferView::theLockingInset(Inset*), so should use them and not
16742         access bv_->text->the_locking_inset directly.
16743
16744         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16745
16746 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16747
16748         * Makefile.am:
16749         * tex-defs.h: remove old unused file
16750
16751 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16752
16753         * BufferView_pimpl.C: fix typo, remove minibuffer message
16754           when buffer has loaded
16755
16756 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16757
16758         * lyxfunc.C (Dispatch): use stringstream
16759         (MenuNew): use stringstream
16760         (Open): use stringstream
16761
16762         * importer.C (Import): use stringstream
16763
16764         * bufferview_funcs.C (CurrentState): use stringstream
16765
16766         * LaTeX.C (run): use stringstream
16767
16768         * BufferView_pimpl.C (savePosition): use stringstream
16769         (restorePosition): use stringstream
16770         (MenuInsertLyXFile): use stringstream
16771
16772 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16773
16774         * BufferView.C:
16775         * Bullet.C:
16776         * ColorHandler.C:
16777         * FontInfo.C:
16778         * FontLoader.C:
16779         * LColor.C:
16780         * LaTeXFeatures.C:
16781         * Painter.C:
16782         * gettext.C:
16783         * lyx_gui_misc.C:
16784         * lyxserver.C:
16785         * vspace.C: removed // -*- C++ -*- as first line.
16786
16787         * lyxfind.h:
16788         * version.h: added // -*- C++ -*- as first line.
16789
16790 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16791
16792         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16793
16794         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16795         of string
16796
16797 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16798
16799         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16800         of floats.
16801
16802 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16803
16804         * gettext.C: include LString.h even when --disable-nls is on.
16805
16806 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16807
16808         * converter.h (Get): changed argument type from int to
16809         FormatList::size_type to avoid unnecessary conversion.
16810
16811         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16812         before using it.
16813
16814 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16815
16816         * gettext.h: include LString.h even when --disable-nls is on.
16817
16818 2001-06-07  Juergen Vigna  <jug@sad.it>
16819
16820         * text.C (BreakAgain): subst spaces with tabs.
16821
16822         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16823         (resizeInsetsLyXText): set force on resizeLyXText.
16824
16825 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16826
16827         * gettext.h (gettext_init):
16828         (locale_init): use a real definition instead of a macro
16829
16830 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16831
16832         * Bufferview_pimpl.C:
16833         * LColor.h:
16834         * LColor.C: further lcolor tidies
16835
16836 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16837
16838         * BufferView_pimpl.C (updateScrollbar): simplify.
16839
16840         * BufferView2.C: don't include insets/insetinfo.h, change
16841         prototype for insertInset and call the Pimpl version. let
16842         updateInset call Pimpl version.
16843
16844         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16845         gotoInset to BufferView::Pimpl
16846
16847 2001-06-01  Juergen Vigna  <jug@sad.it>
16848
16849         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16850         inside a LockingInset (is the update needed at all?).
16851
16852 2001-05-31  Juergen Vigna  <jug@sad.it>
16853
16854         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16855         here not the old one otherwise how should we compare it afterwards
16856         if it's the same!
16857
16858 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16859
16860         * lyxfont.C:
16861         * tabular.C:
16862         * tabular-old.C:
16863         * FontInfo.C: bring C functions into global namespace when
16864         necessary
16865
16866 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16867
16868         * LString.h: make sure config.h has been loaded before LString.h.
16869
16870         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16871         (one for each char read by EatLine!).
16872
16873         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16874         variables.
16875
16876 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16877
16878         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16879         to the same as the par we break from
16880
16881 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16882
16883         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16884
16885         * MenuBackend.C (expand): also create menu entries for wide
16886         versions of the floats.
16887
16888         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16889
16890         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16891
16892         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16893         frontends/Makefile.am
16894
16895         * text2.C: adjust
16896         * text.C: adjust
16897
16898
16899         * tabular.C (getTokenValue): add std::
16900
16901         * tabular-old.C (getTokenValue): add std::
16902         (getTokenValue): ditto
16903         (getTokenValue): ditto
16904
16905         * screen.C (ToggleSelection): adjust
16906
16907         * lyxtext.h: put selection cursors inside a Selection struct.
16908
16909         * lyxfunc.C (moveCursorUpdate): adjust
16910
16911         * lyxfont.C (latexWriteStartChanges): add std::
16912
16913         * lyxfind.C: adjust
16914
16915         * font.h: delete with(char const *, LyXFont const &)
16916
16917         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16918
16919         * FontInfo.C (getFontname): add std::
16920
16921         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16922         (workAreaButtonPress): adjust
16923         (tripleClick): adjust
16924         (update): adjust
16925         (moveCursorUpdate): adjust
16926         (Dispatch): adjust
16927
16928         * BufferView2.C (gotoInset): adjust
16929
16930 2001-05-30  Juergen Vigna  <jug@sad.it>
16931
16932         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16933         to check pspell I add this as default as I now have new pspell
16934         libraries and they seem to use this.
16935
16936 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16937
16938         * text2.C (CutSelection): make the cursor valid before the call to
16939         ClearSelection.
16940
16941 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16942
16943         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16944         relied on 0 terminated strings and other horrors. Bug found due to
16945         the new assert in lyxstring!
16946
16947         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16948         KP_ keys.
16949
16950 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16951
16952         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16953         to latinkeys.bind.
16954
16955         * lyxfunc.C (processKeySym): change method of getting to the
16956         self-insert char.
16957
16958         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16959         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16960         * BufferView_pimpl.[Ch]: here as private methods.
16961
16962 2001-05-28  Juergen Vigna  <jug@sad.it>
16963
16964         * text.C (SetHeightOfRow): added the update() call again as it is
16965         needed to initialize inset dimensions!
16966
16967 2001-05-16  Juergen Vigna  <jug@sad.it>
16968
16969         * text2.C (SetCharFont): Add new function with BufferView * and
16970         bool toggleall parameters for setting insets internal fonts.
16971         (SetFont): Freeze the undo as we may change fonts in Insets and
16972         all this change should be inside only one Undo!
16973
16974         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16975         setting font's in insets as for them we have the SetFont function!
16976
16977 2001-05-15  Juergen Vigna  <jug@sad.it>
16978
16979         * text2.C (ClearSelection): to be sure we REALLY don't have any
16980         selection anymore!
16981
16982         * tabular.C (TeXCellPreamble): fixed the left border problem for
16983         multicolumn cells.
16984
16985 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16986
16987         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16988         dependancy file
16989
16990 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16991
16992         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16993         LFUN_BREAKPARAGRAPH.
16994
16995         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16996         help test to "internal only", similar for LFUN_INSERT_URL
16997
16998         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16999         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17000         auto_region_delete and deadkeys.
17001
17002 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17003
17004         * LColor.h:
17005         * LColor.C: remove some dead entries, tidy a little
17006
17007 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17008
17009         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17010         commented code.
17011         (Dispatch): implement LFUN_ESCAPE
17012
17013         * commandtags.h: add LFUN_ESCAPE
17014
17015         * LyXAction.C (init): add entry for LFUN_ESCAPE
17016
17017         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17018         Remove commented code.
17019         (insertNote): moved here
17020         (open_new_inset): moved here
17021
17022         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17023         BufferView_pimpl
17024
17025 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17026
17027         * kbmap.C (findbinding): clean it up and make it work correctly.
17028
17029         * lyx_main.C (init): do not pass argc and argv as parameters
17030
17031 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17032
17033         * buffer.C: fix path for OS/2 & Win32
17034
17035         * lyx_gui.C:
17036         * lyx_main:
17037         * lyx_main.C: Added os:: class.
17038
17039         * os2_defines.h: update
17040
17041 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17042
17043         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17044         better by trying again with reduced state.
17045
17046 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17047
17048         * lyxrc.C (read): print error about invalid key sequence only when
17049         debugging (because not all latinX keysyms are known to some X
17050         servers)
17051
17052         * kbsequence.C (getiso): add a few std:: qualifiers
17053         (getiso): comment out extra return statement.
17054
17055 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17056
17057         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17058         handling.
17059         (Dispatch): enhance the accent inset a bit. (not perfect)
17060
17061 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17062
17063         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17064
17065 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17066
17067         * bufferlist.C (emergencyWrite): fix assert() call
17068
17069 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17070
17071         * text.C (InsertChar): Added trivial patch to only send the "you
17072         can not do multiple spaces this way" message once during a
17073         session.
17074
17075 2001-05-08  Baruch Even  <baruch@lyx.org>
17076
17077         * Makefile.am: Changed order of libraries to get LyX to link properly
17078         with the gnome frontend.
17079
17080 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17081
17082         * LaTeXFeatures.h: add a std:: qualifier
17083
17084 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17085
17086         * paragraph.C (String): use stringstream
17087
17088 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17089
17090         * paragraph.C (writeFile): remove footflag arg
17091
17092         * buffer.C (makeLaTeXFile): use stringstream
17093         (latexParagraphs): remove footnot gurba
17094
17095         * LaTeXFeatures.C (getPackages): use stringstream
17096         (getMacros): likewise
17097         (getTClassPreamble): likewise
17098         (getFloatDefinitions): new method
17099
17100         * paragraph.C (writeFile): reindent
17101         (Erase): reindent
17102
17103         * WorkArea.h: revert the xpos + etc changes.
17104
17105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17106
17107         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17108
17109         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17110         (pasteSelection): likewise
17111         * text2.C (CreateUndo): likewise
17112
17113 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17114
17115         * minibuffer.C (peek_event): temporarily reduce the functionality
17116         of the minibuffer (to allow args on lfuns)
17117
17118         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17119         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17120
17121         * buffer.C (readInset): add compability reading of old float
17122         lists, add reading of new style float list.
17123         (readInset): avoid reevaluation of inscmd.getCmdName()
17124         (getLists): reindent
17125
17126         * MenuBackend.C (MenuItem): implement parsing of
17127         md_floatlistinsert and md_floatinsert.
17128         (expand::LastFiles): move initalizaton of iterators out of loop,
17129         avoid reevaluation.
17130         (expand::Documents): introduce typdedef vector<string> Strings,
17131         and use it.
17132         (expand::ExportFormats): introduce typedef vector<Format const *>
17133         Formats, and use it.
17134         (expand): implement FloatListInsert and FloatInsert.
17135
17136         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17137         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17138         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17139
17140         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17141         handling.
17142         (Dispatch::LFUN_FLOAT_LIST): implement
17143
17144 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17145
17146         * LaTeX.C (run): Fix problem with --export code.
17147
17148 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17149
17150         * BufferView.[Ch] (workarea): removed.
17151         (getClipboard) new method; wrapper for workarea()->getClipboard()
17152
17153         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17154         bug.
17155
17156         * WorkArea.h (width, height, xpos, ypos): These methods all
17157         returned the dimensions of the work_area sub-area of WorkArea,
17158         resulting in a position error if the WorkArea were resized. Now
17159         return the dimensions of the entire WorkArea.
17160
17161         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17162
17163 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17164
17165         * LaTeX.C (deplog): correct the syntax of regex reg1
17166
17167 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17168
17169         * undo.C: remove !NEW_INSETS cruft
17170
17171 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17172
17173         * text2.C: remove !NEW_INSETS cruft
17174
17175         * text.C: remove !NEW_INSETS cruft
17176
17177         * tabular.C: remove !NEW_INSETS cruft
17178
17179         * spellchecker.C: remove !NEW_INSETS cruft
17180
17181         * lyxtext.h: remove !NEW_INSETS cruft
17182
17183         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17184
17185         * lyxfunc.C: remove !NEW_INSETS cruft
17186
17187         * lyxfind.C: remove !NEW_INSETS cruft
17188
17189         * lyx_cb.C: remove !NEW_INSETS cruft
17190
17191         * figureForm.C: remove  !NEW_INSETS cruft
17192
17193         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17194
17195         * buffer.[Ch]: remove !NEW_INSETS cruft
17196
17197         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17198
17199         * CutAndPaste.C: remove !NEW_INSETS cruft
17200
17201         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17202
17203         * BufferView2.C: remove !NEW_INSETS cruft
17204
17205         * BufferView.h: remove !NEW_INSETS cruft
17206
17207 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17208
17209         * Lsstream.h: include LString.h before the sstream headers to
17210         fix problem with gcc 2.95.3 and lyxstring
17211
17212 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17213
17214         * lyx_main.C: add using directives when needed for C functions
17215         declared in std:: namespace.
17216
17217 2001-04-27  Juergen Vigna  <jug@sad.it>
17218
17219         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17220         (SetHeightOfRow): comment out the update call should not be needed!
17221
17222 2001-04-13  Juergen Vigna  <jug@sad.it>
17223
17224         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17225         (LyXTabular): tried to minimize operator= operations (and realized
17226         hopfully Lars wish).
17227
17228 2001-04-27  Juergen Vigna  <jug@sad.it>
17229
17230         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17231
17232 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17233
17234         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17235
17236         * buffer.C (readInset): hack to make listof algorithm work
17237
17238         * BufferView_pimpl.C: hack to make listof algorithm work
17239
17240 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17241
17242         * LyXAction.C: removed all !NEW_INSETS cruft
17243         (init): moved lfun_item in method
17244
17245         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17246
17247 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17248
17249         * BufferView2.C (theLockingInset): white space.
17250
17251 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17252
17253         * minibuffer.C: include <iostream>
17254
17255         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17256
17257         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17258
17259         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17260
17261         * text.[Ch] (TransposeChars): new method
17262
17263 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17264
17265         * call message directly through LyXView instead of through LyXFunc
17266         * BufferView2.C: adjust
17267         * BufferView_pimpl.C: adjust
17268         * FontLoader.C: adjust
17269         * buffer.C: adjust
17270         * bufferview_funcs.C: adjust
17271         * converter.C: adjust
17272         * figureForm.C: adjust
17273         * importer.C: adjust
17274         * lyx_cb.C: adjust
17275         * lyx_gui_misc.C: adjust
17276         * lyxfunc.C: adjust
17277         * lyxvc.C: adjust
17278         * text2.C: adjust
17279         + more files in subdirs
17280
17281         * lyxparagraph.h (size): move up int file
17282         (GetLayout): ditto
17283
17284         * adjust all uses of Assert to lyx::Assert.
17285
17286         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17287         lyxfunctional in namespace lyx
17288         * layout.C (hasLayout): ditto
17289         (GetLayout): ditto
17290         (GetLayout): ditto
17291         (delete_layout): ditto
17292         (NumberOfClass): ditto
17293         * converter.C (GetFormat): ditto
17294         (GetNumber): ditto
17295         (Add): ditto
17296         (Delete): ditto
17297         (SetViewer): ditto
17298         * bufferlist.C (getFileNames): ditto
17299         (emergencyWriteAll): ditto
17300         (exists): ditto
17301         (getBuffer): ditto
17302         * MenuBackend.C (hasSubmenu): ditto
17303         (hasMenu): ditto
17304         (getMenu): ditto
17305         * BufferView_pimpl.C (getInsetByCode): ditto
17306
17307 2001-04-18  Juergen Vigna  <jug@sad.it>
17308
17309         * vspace.C (asLatexString): fixed the 100% problem.
17310
17311 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17312
17313         * lyxfunc.C (Dispatch):
17314         * minibuffer.C:
17315         * minibuffer.h: add a few std:: qualifiers
17316
17317 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17318
17319         * minibuffer.[Ch]: reimplement so that commands is initiated and
17320         run from lyxfunc, simplified som handling, and made the completion
17321         and history code for complete. wip.
17322
17323         * lyxfunc.C (processKeySym): call message
17324         (miniDispatch): new temporary method
17325         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17326         (LFUN_MESSAGE): implement
17327         (LFUN_MESSAGE_PUSH): implement
17328         (LFUN_MESSAGE_POP): implement
17329         (initMiniBuffer): the initial/defualt minibuffer message.
17330
17331         * lyxfont.[Ch]: inline some more getters
17332
17333         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17334
17335         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17336
17337         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17338         (AutoSave): use LFUN_MESSAGE
17339         (Reconfigure): ditto
17340
17341         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17342
17343         * figureForm.C: use LFUN_MESSAGE
17344
17345         * converter.C (runLaTeX): use LFUN_MESSAGE
17346
17347         * bufferview_funcs.C: use LFUN_MESSAGE
17348         (Melt): ditto
17349         (changeDepth): ditto
17350
17351         * bufferparams.h: use boost::
17352
17353         * bufferlist.h: inherit privately from noncopyable
17354
17355         * bufferlist.C (loadLyXFile): remove some commented code.
17356
17357         * buffer.C (runChktex): use LFUN_MESSAGE
17358
17359         * ShareContainer.h: inherit privately from noncopyable
17360
17361         * ParagraphParameters.[hC] (depth): inline it.
17362
17363         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17364         methods.
17365         (message): new method
17366         (messagePush): ditto
17367         (messagePop): ditto
17368         (show): init minibuffer
17369         (showState): direct call
17370
17371         * LaTeX.[Ch]: inherit privately from noncopyable
17372         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17373         instead of WriteStatus.
17374
17375         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17376
17377         * BufferView_pimpl.C (buffer): don't init minibuffer
17378         (workAreaButtonPress): use LFUN_MESSAGE
17379         (workAreaButtonRelease): ditto
17380         (savePosition): ditto
17381         (restorePosition): ditto
17382         (MenuInsertLyXFile): ditto
17383         (workAreaExpose): don't init minibuffer
17384         (update): remove commented code, simplify
17385
17386         * BufferView2.C (openStuff): use LFUN_MESSAGE
17387         (toggleFloat): ditto
17388         (menuUndo): ditto
17389         (menuRedo): ditto
17390         (copyEnvironment): ditto
17391         (pasteEnvironment): ditto
17392         (copy): ditto
17393         (cut): ditto
17394         (paste): ditto
17395         (gotoInset): ditto
17396         (updateInset): remove some commented code
17397
17398         * lastfiles.h: inherit privately from noncopyable
17399         * layout.h: ditto
17400         * lyx_gui.h: ditto
17401         * lyx_main.h: ditto
17402         * lyxlex.h: ditto
17403         * lyxlex_pimpl.h: ditto
17404
17405         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17406         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17407         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17408
17409         * LyXAction.h: inherit privately from noncopyable, add methods
17410         func_begin, func_end, returning iterators to the func map.
17411
17412         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17413         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17414         (func_begin): new method
17415         (func_end): new method
17416
17417         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17418         and not)
17419         (copySelection): ditto
17420         (pasteSelection): ditto
17421
17422         * BufferView.C: whitespace change
17423         * BufferView.h: inherit privately from noncopyable
17424
17425 2001-04-16  Allan Rae  <rae@lyx.org>
17426
17427         * tabular-old.C (l_getline):
17428         * spellchecker.C (sc_check_word):
17429         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17430         an unrecognised preprocessor directive.  So ensure they're wrapped.
17431
17432 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17433
17434         * src/exporter.C (Export): Give an error message when path to file
17435         contains spaces.
17436
17437 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17438
17439         * LaTeX.C (deplog): Always check that foundfile exists.
17440
17441 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17442
17443         * lyx_main.h:
17444         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17445
17446 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17447
17448         * tabular.[Ch] (getLabelList): implement new method
17449
17450         * minibuffer.h: comment ouf setTiimer
17451
17452         * minibuffer.C (ExecutingCB): constify res
17453         (peek_event): constify s
17454         (Set): constify ntext
17455         (Init): constify nicename
17456
17457         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17458
17459         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17460         (savePosition): use two params to Minibuffer::Set
17461         (restorePosition): ditto
17462
17463 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17464
17465         * lyx_main.C: include language.h
17466
17467         * Makefile.am (lyx_main.o): add language.h
17468
17469 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17470
17471         * exporter.C:
17472         * paragraph.C:
17473         * screen.C:
17474         * tabular.C:
17475         * CutAndPaste.C: include gettext.h
17476
17477         * lyxfont.h: remove old hack with ON and OFF.
17478
17479         * lyxparagraph.h:
17480         * lyxfont.h: do not include language.h...
17481
17482         * BufferView2.C:
17483         * LaTeXFeatures.C:
17484         * Painter.C:
17485         * bufferview_funcs.C:
17486         * font.C:
17487         * lyxfont.C:
17488         * text.C:
17489         * text2.C:
17490         * trans_mgr.C:
17491         * paragraph.C: ... but do it here instead
17492
17493 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17494
17495         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17496
17497         * tabular.C: small reformat
17498
17499         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17500         NEW_INSETS version
17501         (GetChar): ditto
17502         (BreakParagraph): ditto
17503         (SetOnlyLayout): ditto
17504         (SetLayout): ditto
17505
17506         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17507         with one arg less.
17508
17509         * lastfiles.C: removed most using decl, add std:: where needed
17510
17511         * buffer.C: ws changes
17512
17513         * MenuBackend.C (class compare_format): put into anon namespace
17514         (expand): constify label, names, action, action2
17515         (expand):
17516
17517         * text.C (SingleWidth): constify font
17518         (IsBoundary): constify rtl2
17519         (GetVisibleRow): constify ww
17520
17521         * LaTeX.C (deplog): constify logfile
17522
17523         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17524         start_x, end_x
17525         (workAreaExpose): constify widthChange, heightChange
17526
17527         * lyxrow.C (par): moved
17528         (height): moved
17529         (next): moved
17530         * lyxrow.h: as inlines here
17531
17532         * lyxfont.h (shape): moved from lyxfont.C
17533         (emph): moved from lyxfont.C
17534
17535         * lyxfont.C (LyXFont): use initialization list for all
17536         constructors
17537         (shape): move to lyxfont.h as inline
17538         (emph): move to lyxfont.h as inline
17539
17540
17541 2001-04-04  Juergen Vigna  <jug@sad.it>
17542
17543         * vspace.C: had to include stdio.h for use of sscanf
17544
17545 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17546
17547         * BufferView.h:
17548         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17549         independent of xforms.
17550
17551 2001-04-02  Juergen Vigna  <jug@sad.it>
17552
17553         * spellchecker.C: fixed namespace placing!
17554
17555 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17556
17557         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17558         the LyXParagraph * is 0.
17559
17560 2001-03-29  Juergen Vigna  <jug@sad.it>
17561
17562         * vspace.C: added support for %, c%, p%, l%.
17563         (stringFromUnit): added helper function.
17564         (asLatexString): changed to give right results for the %-values.
17565
17566         * buffer.C: convert the widthp in a width%.
17567
17568 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17569
17570         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17571         figureForm.[Ch].
17572
17573         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17574         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17575
17576         * lyx_cb.[Ch]: see above.
17577
17578         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17579         form1.[Ch].
17580
17581         * form1.[Ch]:
17582         * lyx.[Ch]: replaced by figure_form.[Ch].
17583
17584         * lyx_gui.C:
17585         * lyx_gui_misc.C:
17586         * lyxfunc.C: changed headers associated with above changes.
17587
17588 2001-03-27  Juergen Vigna  <jug@sad.it>
17589
17590         * BufferView_pimpl.C: set the temporary cursor right!
17591
17592 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17593
17594         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17595
17596 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17597
17598         * LString.h: removed "using std::getline"!
17599
17600         * BufferView_pimpl.C (Dispatch): changes due to changes in
17601         InsetInclude::Params.
17602
17603         * buffer.C (tag_name): removed redundant break statements as they were
17604         producing lots of warnings with my compiler.
17605
17606 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17607
17608         * LString.h: add "using std::getline" when using the real <string>.
17609
17610 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17611
17612         * buffer.C: removed bitset usage.
17613         PAR_TAG moved to an anonymous name space.
17614         (tag_name): new funtion, also in the anonymous namespace.
17615         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17616         (makeDocBookFile): clean code. Completed transition from string arrays
17617         to string vectors.
17618         (SimpleDocBookOnePar): code clean.
17619
17620 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17621
17622         * tabular.C: add some comments.
17623
17624 2001-03-22  Juergen Vigna  <jug@sad.it>
17625
17626         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17627         compatibility read a bit and fixed bug with minipage in different
17628         depth.
17629
17630 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17631
17632         * buffer.C (pop_tag): removed.
17633         (push_tag): removed.
17634         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17635         array replaced with vector. Added support for CDATA sections.
17636         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17637         at any nest level.
17638         (makeDocBookFile): XML conformant declaration of CDATA section,
17639         fixed bug related to <emphasis> in the first paragraph char.
17640         (sgmlOpenTag): exclude empty tags.
17641         (sgmlCloseTag): ditto.
17642
17643         * buffer.h (pop_tag): removed.
17644         (push_tag): removed.
17645
17646 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17647
17648         * language.h (Languages): added size_type and size().
17649
17650 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17651
17652         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17653         response on compability reading of minipages. One probliem is that
17654         the old usage of minipages was flertydig
17655
17656         * several files here and in subdirs: don't use static at file
17657         scope use anon namespaces instead.
17658
17659 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17660
17661         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17662         LaTeX output. This is necessary for Literate document
17663         processing.
17664
17665 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17666
17667         * buffer.C: insert hfill when needed.
17668
17669         * tabular.C (l_getline): use string::erase, small whitespace change.
17670
17671         * BufferView_pimpl.C: try the anon namespace.
17672         * WorkArea.C: ditto
17673
17674 2001-03-16  Juergen Vigna  <jug@sad.it>
17675
17676         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17677         otherwise it won't open options-dialogs.
17678
17679         * buffer.C: honor pextraWidth(p) on converting minipages.
17680
17681         * tabular.C (l_getline): changed the functions to strip trailing \r.
17682
17683 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17684
17685         * BufferView_pimpl.C:
17686         * minibuffer..C: added "using SigC::slot" declaration.
17687
17688 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17689
17690         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17691
17692         * text2.C: ditto
17693
17694         * text.C: ditto
17695
17696         * paragraph.C: ditto
17697
17698         * lyxtext.h: NO_PEXTRA
17699
17700         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17701
17702         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17703         * ParameterStruct.h: ditto
17704         * ParagraphParameters.h: ditto
17705         * lyxparagraph.h: ditto
17706
17707 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17708
17709         * buffer.C: add compability for minipage alignment.
17710         (latexParagraphs): remove unwanted pextra check.
17711
17712         * several files: remove CXX_WORKING_NAMESPACES
17713
17714         * buffer.C (pop_tag): tie is in namespace boost
17715
17716         * BufferView.h: noncopyable is in namespace boost
17717         * lyxlex.h: ditto
17718         * lyx_main.h: ditto
17719         * lyx_gui.h: ditto
17720         * layout.h: ditto
17721         * lastfiles.h: ditto
17722         * bufferlist.h: ditto
17723         * ShareContainer.h: ditto
17724         * LyXView.h: ditto
17725         * LyXAction.h: ditto
17726         * LaTeX.h: ditto
17727
17728 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17729
17730         * Merging changes from BRANCH_MVC back into HEAD.
17731
17732         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17733
17734 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17735
17736         * BufferView_pimpl.C: change from intl.C
17737
17738         * combox.h:
17739         * combox.C:
17740         * Makefile.am: move combox.*
17741
17742         * form1.h:
17743         * form1.C:
17744         * lyx_gui.C:
17745         * intl.h:
17746         * intl.C: remove dialog (covered by prefs)
17747
17748 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17749
17750         * lyxfunc.C (Dispatch): removed redundant break statement.
17751
17752 2001-03-14  Juergen Vigna  <jug@sad.it>
17753
17754         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17755
17756 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17757
17758         * buffer.C: add hack to fix compability reading of minipages.
17759
17760 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17761
17762         * buffer.C (getLists): Cleanup.
17763
17764 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17765
17766         * lyxfont.C (update): don't honor toggleall on font size.
17767
17768 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17769
17770         * bmtable.c:
17771         * bmtable.h:
17772         * Makefile.am: moved to frontends/xforms/
17773
17774         * lyx_gui_misc.C:
17775         * lyxfunc.C:
17776         * BufferView_pimpl.C: changes for moved mathpanel
17777
17778 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17779
17780         * gettext.h: fix gettext_init() in --disable-nls
17781
17782 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17783
17784         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17785
17786 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17787
17788         * lyx.C:
17789         * lyx.h: strip external form
17790
17791 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17792
17793         * BufferView_pimpl.C: add comment, destroySplash()
17794
17795 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17796
17797         * BufferView_pimpl.C:
17798         * LyXAction.C:
17799         * buffer.C:
17800         * commandtags.h:
17801         * lyxfunc.C: use re-worked insetinclude
17802
17803 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17804
17805         * buffer.C: add using std::stringstream.
17806
17807         * lyx_cb.C: readd using std::ios.
17808
17809         * buffer.C: add using std::map.
17810
17811         * BufferView_pimpl.C: add using std::vector.
17812
17813         * ShareContainer.h: add std:: to swap.
17814
17815         * buffer.h: add some typedefs
17816         * buffer.C (getLists): use them
17817         (getLists): renamed from getTocList.
17818         add a counter for the different float types and use it in the
17819         generated string.
17820         (getLists): use the same counter for the NEW_INSETS and the "non"
17821         NEW_INSETS
17822
17823         * lyx_cb.h: remove unused items, includes, using etc.
17824
17825         * ShareContainer.h: remove some commented code, add more comments
17826         and "documentation".
17827
17828 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17829
17830         * buffer.C (getTocList): make the list also when NEW_INSETS is
17831         defined.
17832
17833         * buffer.h: remove TocType
17834
17835         * buffer.C (getTocList): change to return a map<string,
17836         vector<TocItem> >, implement for dynamic number of list.
17837
17838         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17839         * text2.C (PasteSelection): adjust
17840         * CutAndPaste.C (pasteSelection): adjust
17841
17842         * FloatList.C (FloatList): update from the new_insets branch.
17843         * Floating.[Ch]: ditto
17844         * LaTeXFeatures.C: ditto
17845         * buffer.C: ditto
17846         * lyxlex_pimpl.C: ditto
17847
17848         * paragraph.C (Last): remove when NEW_INSETS is defined.
17849
17850         * other file: changes because of the above.
17851
17852 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17853
17854         * lyxparagraph.h: rename next to next_, previous to previous_,
17855         make them private for NEW_INSETS. Rename Next() to next(),
17856         Previous() to previous().
17857
17858         * other files: changes because of the above.
17859
17860 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17861
17862         * BufferView.h:
17863         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17864         problem.
17865
17866 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17867
17868         * main.C (main): pass lyx_localedir to gettext_init().
17869
17870         * gettext.h: remove locale_init and gettext_init macros
17871
17872         * gettext.C (locale_init): new function
17873         (gettext_init): new function
17874
17875         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17876         setlocale().
17877
17878 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17879
17880         * Moved credits to frontends:
17881         * credits.[Ch]: removed
17882         * credits_form.[Ch]: removed
17883         * lyx_gui_misc.C: remove credits stuff
17884         * Makefile.am:
17885
17886 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17887
17888         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17889
17890         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17891         unneeded destructor.
17892
17893         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17894         a standalone pointer again.
17895
17896         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17897
17898 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17899
17900         * Makefile.am:
17901         * filedlg.h:
17902         * filedlg.C:
17903         * LyXAction.C:
17904         * ToolbarDefaults.C:
17905         * bufferlist.C:
17906         * commandtags.h:
17907         * form1.C:
17908         * form1.h:
17909         * lyx_cb.C:
17910         * lyx_cb.h:
17911         * lyxfunc.h:
17912         * lyxfunc.C:
17913         * BufferView_pimpl.C: use new file dialog in GUII
17914
17915         * lyx_cb.h:
17916         * lyx_cb.C: remove LayoutsCB to Toolbar
17917
17918 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17919
17920         * ShareContainer.h (get): add std:: qualifier
17921
17922 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17923
17924         * ShareContainer.h: define a proper ShareContainer::value_type
17925         type (and use typename to please compaq cxx)
17926
17927 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17928
17929         * lyxparagraph.h: move serveral local vars to
17930         ParameterStruct/ParagraphParameters., use ShareContainer in
17931         FontTable., make vars in FontTable private and add getter and
17932         setter.
17933
17934         * paragraph.C: changes because of the above.
17935
17936         * lyxfont.h: remove copy constructor and copy assignment. (the
17937         default ones is ok), move number inside FontBits. move inlines to
17938         lyxfont.C
17939
17940         * lyxfont.C: add number to initializaton of statics, move several
17941         inlines here. constify several local vars. some whitespace
17942         cleanup. Dont hide outerscope variables.
17943
17944         * Spacing.h: add two new constructors to match the set methods.
17945
17946         * ShareContainer.h: new file, will perhaps be moved to support
17947
17948         * ParameterStruct.h: new file
17949
17950         * ParagraphParameters.h: new file
17951
17952         * ParagraphParameters.C: new file
17953
17954         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17955         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17956
17957         * BufferView_pimpl.C: ParagraphParameter changes.
17958         * buffer.C: Likewise.
17959         * bufferview_funcs.C: Likewise.
17960         * text.C: Likewise.
17961         * text2.C: Likewise.
17962
17963 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17964
17965         * lyxfind.C (LyXReplace): do not redefine default argument in
17966         implementation.
17967         (IsStringInText): ditto
17968         (SearchForward): ditto
17969         (SearchBackward): ditto
17970
17971 2001-03-06  Juergen Vigna  <jug@sad.it>
17972
17973         * lyxfind.C (IsStringInText): put parentes around expressions.
17974
17975 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17976
17977         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17978
17979 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17980
17981         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17982
17983         * stl_string_fwd.h: add comment
17984
17985         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17986
17987         * tabular.h:
17988         * tabular.C: remove unused DocBook methods
17989
17990         * intl.C:
17991         * language.C:
17992         * paragraph.C:
17993         * buffer.C:
17994         killed DO_USE_DEFAULT_LANGUAGE
17995
17996 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17997
17998         * lyx_gui.C: do not include language.h.
17999
18000         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18001         arguments in function implementation.
18002
18003 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18004
18005         * BufferView_pimpl.C: add <ctime>
18006
18007 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18008
18009         * BufferView_pimpl.C: add using std::find_if
18010
18011 2001-02-27  José Matos  <jamatos@fep.up.pt>
18012
18013         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18014         by OnlyPath.
18015
18016 2001-02-11  José Matos  <jamatos@fep.up.pt>
18017
18018         * buffer.C (makeDocBookFile): command styles now have a parameter as
18019         "title" by default.
18020
18021 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18022
18023         * layout_forms.[Ch]: removed
18024         * lyx_cb.[Ch]: out character
18025         * lyx_gui.C: out character
18026         * lyx_gui_misc.C: out character
18027         * bufferview_funcs.C: : out character,
18028         added toggleall as parameter in ToggleAndShow
18029
18030 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18031
18032         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18033
18034         * text2.C (SetCurrentFont): Disable number property at boundary.
18035
18036 2001-02-26  Juergen Vigna  <jug@sad.it>
18037
18038         * lyxfunc.C (getStatus): added a string argument override function so
18039         that this is correctly called from LyXFunc::Dispatch if it contains a
18040         do_not_use_argument which is used!
18041         (Dispatch): added check for "custom" export and call appropriate func.
18042
18043 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18044
18045         * lyxrc.C: Add language_command_local, language_use_babel and
18046         language_global_options.
18047
18048         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18049
18050         * buffer.C (makeLaTeXFile): Use language_use_babel and
18051         language_global_options.
18052
18053 2001-02-23  Juergen Vigna  <jug@sad.it>
18054
18055         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18056         which works with LyXText and putted it inside BufferView. Here now we
18057         only call for that part the BufferView::Dispatch() function.
18058
18059         * BufferView.C (Dispatch): added.
18060
18061         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18062         functions which needs to use a LyXText over from LyXFunc.
18063         (MenuInsertLyXFile): added
18064         (getInsetByCode): added
18065         (moveCursorUpdate): added
18066         (static TEXT): added
18067
18068 2001-02-22  Juergen Vigna  <jug@sad.it>
18069
18070         * BufferView_pimpl.C (update): call a status update to see if LyXText
18071         needs it.
18072
18073 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18074
18075         * vc-backend.C (revert): implement for CVS
18076         (getLog): implement for CVS
18077
18078 2001-02-20  Juergen Vigna  <jug@sad.it>
18079
18080         * text2.C (ClearSelection): added BufferView param for inset_owner call
18081
18082         * lyxfunc.C (TEXT): added this function and use it instead of
18083         directly owner->view()-text of getLyXText().
18084
18085 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18086
18087         * src/layout_forms.C: out preamble
18088         * src/layout_forms.h: out preamble
18089         * src/lyx_cb.C: out preamble
18090         * src/lyx_cb.h: out preamble
18091         * src/lyx_gui.C: out preamble
18092         * src/lyx_gui_misc.C: out preamble
18093         * src/lyxfunc.C: connect with guii preamble
18094
18095 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18096
18097         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18098
18099 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18100
18101         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18102         whether to run bibtex.
18103
18104 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18105
18106         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18107
18108 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18109
18110         * Makefile.am (lyx_SOURCES): removed bibforms.h
18111
18112         * vspace.h: doxygen
18113
18114         * text.C (GetVisibleRow): make several local vars const
18115
18116         * tabular.C: small cleanup.
18117
18118         * lyxserver.C (callback): use compare instead of strncmp
18119
18120         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18121         inlines to after class or to paragraph.C
18122
18123         * lyxfont.h: remove friend operator!=
18124
18125         * converter.h: move friend bool operator< to non friend and after
18126         class def.
18127
18128         * combox.h: small cleanup
18129
18130         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18131         to inlines after class def.
18132
18133         * buffer.C (pop_tag): use string operations instead of strcmp
18134
18135         * bmtable.c: doxygen, small cleanup
18136
18137         * LaTeX.h: remove friend operator==
18138
18139 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18140
18141         * screen.C:
18142         * lyxrc.[Ch]:
18143         * lyxfunc.C:
18144         * lyxfont.[Ch]:
18145         * lyx_cb.C:
18146         * intl.[Ch]:
18147         * commandtags.h:
18148         * buffer.C:
18149         * WorkArea.[Ch]:
18150         * LyXAction.C:
18151         * BufferView_pimpl.C:
18152         * BufferView.[Ch]: remove cruft
18153
18154 2001-02-14  Juergen Vigna  <jug@sad.it>
18155
18156         * lyxfunc.C: removed #if 0 unused code
18157
18158         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18159
18160         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18161
18162         * text2.C (SetSelection): added a BufferView * parameter
18163
18164 2001-02-13  Juergen Vigna  <jug@sad.it>
18165
18166         * lyxfunc.C (Dispatch): fixed protected blank problem.
18167         * BufferView2.C (protectedBlank): added LyxText * parameter.
18168
18169         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18170         (AppendColumn): same as above for column_info.
18171
18172         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18173         (moveCursorUpdate): use a LyXText param for support of InsetText.
18174
18175         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18176         (tripleClick): ditto
18177
18178         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18179
18180         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18181
18182         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18183
18184         * text2.C (SetSelection): set correct update status if inset_owner
18185         (ToggleFree): ditto
18186
18187 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18188
18189         * tabular.C: remove some commented code.
18190
18191 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18192
18193         * BufferView_pimpl.C: call hideSplash()
18194
18195         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18196
18197         * include_form.h:
18198         * bibforms.h: remove
18199
18200         * lyxfunc.C:
18201         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18202           add LFUN_CHILD_CREATE
18203
18204         * counters.h: fix tiny typo
18205
18206         * lyx_cb.C:
18207         * lyx.h:
18208         * lyx_gui.C:
18209         * lyx.C: move splash to frontends/xforms/
18210
18211         * lyx_gui_misc.C: move Include and Bibform to frontends
18212
18213         * lyxvc.h: clarify comment
18214
18215         * vspace.C: tiny housekeeping
18216
18217 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18218
18219         * text.C (PrepareToPrint): RTL Fix.
18220
18221         * paragraph.C (GetUChar): New method.
18222         (String):  Use GetUChar.
18223
18224         * buffer.C (asciiParagraph): Use GetUChar.
18225
18226 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18227
18228         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18229
18230 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18231
18232         * buffer.h:
18233         * buffer.C: rename to getLogName(), handle
18234           build log / latex log nicely
18235
18236 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18237
18238         * MenuBackend.C:
18239         * MenuBackend.h: remove support for reference menuitem type.
18240
18241 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18242
18243         * BufferView_pimpl.C: housekeeping
18244         * BufferView_pimpl.h:
18245         * LyXView.h:
18246         * Makefile.am:
18247         * Timeout.C:
18248         * Timeout.h:
18249         * minibuffer.h: move Timeout GUI-I
18250
18251 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18252
18253         * lyxrc.C (read): Update converters data-structures.
18254
18255 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18256
18257         * LaTeX.h (operator!=): add operator != for Aux_Info
18258
18259 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18260
18261         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18262
18263         * LaTeXLog.C: deleted, useful code moved to Buffer
18264
18265         * buffer.h:
18266         * buffer.C: new function getLatexLogName()
18267
18268         * lyx_gui_misc.C:
18269         * lyx_gui.C:
18270         * lyxvc.C:
18271         * lyxvc.h:
18272         * lyxfunc.C: use frontends for LaTeX and VC logs
18273
18274 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18275
18276         * LaTeX.h: yet another std:: that Allan forgot.
18277
18278         * Variables.C (set): renamed from isset(), because this clashes
18279         with some HP-UX macros (grr).
18280
18281 2001-02-06  Allan Rae  <rae@lyx.org>
18282
18283         * LaTeX.h: Another bug fix.  Missing std:: this time.
18284
18285 2001-02-04  Allan Rae  <rae@lyx.org>
18286
18287         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18288         floats problem. I've left it commented out because it's not quite
18289         correct.  It should also test that the current object is a table or
18290         figure inset.  But I haven't gotten around to figuring out how to do
18291         that.  I *think* it'll be something like: "table" == inset.type()
18292
18293         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18294         bool.
18295
18296 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18297
18298         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18299         all the citation/databases/styles in the auxilary file.
18300         (run): Rerun latex if there was a babel language error.
18301
18302 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18303
18304         * text.C (Backspace): Preserve the font when changing newline char
18305         with a space.
18306         (BreakParagraph): If the cursor is before a space, delete the space.
18307
18308         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18309
18310 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18311
18312         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18313         new argument (code).
18314         (ChangeCitationsIfUnique): New method.
18315
18316         * paragraph.C (GetPositionOfInset): Handle bibkey.
18317
18318 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18319
18320         * BufferView_pimpl.h: change type of Position::par_pos to
18321         LyXParagraph::size_type.
18322
18323 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18324
18325         * BufferView_pimpl.C (savePosition, restorePosition): Write
18326         messages to minibuffer.
18327
18328 2001-01-28  José Matos  <jamatos@fep.up.pt>
18329
18330         * buffer.C (makeDocBookFile): adds support for document language.
18331         A silly restriction on the name of LatexCommand types where removed.
18332         Added support for CDATA sections, allows to chars unescaped, used
18333         among others in code, to avoid escape < and >.
18334
18335 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18336
18337         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18338         saved positions instrad of a stack. Furthermore, a position is
18339         stored using paragraph id/paragraph position.
18340
18341         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18342         Remove LFUN_REF_BACK.
18343
18344 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18345
18346         * converter.C (dvipdfm_options): New method.
18347
18348 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18349
18350         * vspace.C (isValidLength): Fix for empty input string.
18351
18352 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18353
18354         * LyXAction.C (init): change description of LFUN_FIGURE to
18355         "Insert Graphics"
18356
18357 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18358
18359         * LaTeX.C: add using directive
18360
18361 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18362
18363         * MenuBackend.C (expand): Fix the sorting of the formats.
18364
18365 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18366
18367         * lyx_main.C: tiny error message fix
18368
18369 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18370
18371         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18372         calling fl_initialize(). This fixes the problem with ',' as
18373         decimal separator in text files.
18374
18375 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18376
18377         * trans.C (process): Fix the keymap bug.
18378
18379 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18380
18381         * LaTeX.C (scanAuxFiles): New method. Provides support for
18382         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18383         (scanLogFile) Scan for "run BibTeX" messages.
18384
18385         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18386         OT1 font encoding. Also, load the aecompl package if the ae
18387         package is loaded.
18388
18389         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18390
18391 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18392
18393         * texrow.C (increasePos): turn two error messages into debug
18394         messages.
18395
18396 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18397
18398         * LaTeX.C (scanAux): Handle the \@input macro.
18399         (runBibTeX): Use scanAux().
18400
18401         * language.C (latex_options_): New field.
18402
18403         * LaTeXFeatures.C (getMacros): Add language macros.
18404
18405         * buffer.C (makeLaTeXFile): Small fix.
18406
18407 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18408
18409         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18410
18411         * text2.C: add a using directive.
18412
18413 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18414
18415         * BufferView2.C:
18416         * lyx_gui_misc.h:
18417         * lyxfr1.C:
18418         * lyxfunc.C: kill LyXBell.
18419
18420 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18421
18422         * text.C (IsBoundary): Remove the error message
18423
18424         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18425
18426         * lyxrc.C (setDefaults): Correct initialization value for
18427         font_norm_type.
18428
18429 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18430
18431         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18432         gotoError().
18433
18434         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18435         and GotoNextNote().
18436
18437         * src/LyXAction.C: Added reference-next.
18438
18439         * text.C (InsertChar): Use contains instead of strchr.
18440
18441         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18442
18443 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18444
18445         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18446         alignment commands (when needed).
18447
18448         * text.C (InsertChar): Add ':' to number separator chars.