]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Partial fix bug 2092: branches not propagated to child documents
[lyx.git] / src / ChangeLog
1 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text3.C (getStatus): re-enable disabled code. (bug 2081)
4
5         * BranchList.h (empty): constify.
6
7 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * text3.C (getStatus): 
10         * MenuBackend.C (expandBranches): take the branch list from the
11         master document (bug 2092).
12         
13         * MenuBackend.C (expandBranches): 
14         * bufferparams.C (writeFile): use BranchList type.
15
16 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * text3.C (dispatch, getStatus): 
19         * LyXAction.C (init): 
20         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
21
22 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
25
26 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
27
28         * text.C (insertChar): do not reset boundary (bug 2061)
29
30 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * dociterator.C (updateInsets): new method. Updates the inset_
33         cache of all the slices of the iterator.
34
35         * text2.C (deleteEmptyParagraphMechanism): compare also containing
36         insets when comparing pit/pos; pass the right cursor to
37         recordUndo; when a paragraph has been deleted, compare `old.top()' to
38         the right cursor slice of `cur'; use updateInsets on cur to make
39         sure that the inset caches are correct; general cleanup.
40
41 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
42
43         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
44         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
45         containg inset. If this does not work, the same command will be
46         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
47
48         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
49         a dispatch.
50
51 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
52
53         * lyxtextclass.C (Read): convert layout file if the format is wrong
54         * lyxtextclass.C (layout2layout): new, needed for the above
55
56 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
57
58         * messages.C: do not forget to include <cerrno>.
59
60 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
61
62         * dociterator.h (StableDocIterator): add access to pos().
63         * undo.C (samePar): new method to check if two
64         iterators are in the same paragraph
65         * undo.C (recordUndo): check for samePar instead of cell identity
66         (which includes pos() and is too strict) (fixes bug 2097)
67
68 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * text.C (setCursorFromCoordinates): return a bool telling whether
71         dEPM triggered.
72
73         * text3.C (cursorPrevious): update if needed after
74         setCursorFromCoordinates (when dEPM triggered).
75
76         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
77         (otherwise the anchor may be completely wrong and make dEPM assert).
78
79 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
80
81         * buffer.C: version upgrade to 245.
82         * bufferparams.C: remove \quotes_times (bug 2090).
83         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
84         quotation marks as default.
85
86 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
87
88         * CutAndPaste.C (nrOfParagraphs): remove (unused)
89         * CutAndPaste.C (cutSelection): Remove debug message
90         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
91         undo information and only copy if this is a real cut
92         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
93         call
94         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
95         (bug 2059)
96         * CutAndPaste.C (eraseSelection): prevent cursor corruption
97         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
98         superflous cur.selection() setting
99         * CutAndPaste.[Ch] (grabSelection): take a const cursor
100         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
101
102 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
103
104         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
105         change anything.
106
107 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
108
109         * BufferView_pimpl.C: comment layout change
110
111 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
112
113         * LyXAction.C:
114         * lfuns.h:
115         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
116         by bibliography managers (bug 2071).
117
118 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
119
120         * BufferView_pimpl.C (update): choose arguments to update call so
121         that single-par update works most times
122         * text3.C (dispatch): carefully tune updating separately for
123         whole-screen and current-paragraph
124         * rowpainter.C (paintText): 1) replace painting by caching for
125         the two extra paragraphs, because we can;
126         2) suppress greying out of areas below/above drawn area in case of
127         single-par refresh
128         * lyxfunc.C (dispatch): remove superfluous update
129         * LyXAction.[Ch]: introduce SingleParUpdate
130
131 2005-10-05  Angus Leeming  <leeming@lyx.org>
132
133         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
134         always initialised before use.
135
136         * text.C (setHeightOfRow): squash warning about comparison
137         of signed and unsigned types.
138
139 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
140
141         * text.C (cursorX): two fixes involving RtL text drawing
142
143 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
146         items, not only large ones (part of bug 2057)
147
148 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
151         argument, use "newcommand".
152
153 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
154
155         * cursor.C (setSelection): do not open collapsable insets;
156         the insets do by themselves now (autoopen).
157
158 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
159
160         * buffer.C: format is up to 244.
161
162 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
163
164         * text.C (redoParagraph): fix calcultation of inset width wrt 
165         leftMargin (bug 1957).
166
167         * text3.C (dispatch): leave inset to the right when hitting ESC 
168         (bug 2034).
169
170 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * text2.C: 
173         * text.C: 
174         * factory.C:
175         * messages.C: include <boost/current_function.hpp> 
176
177 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
180         when command is internal. (bug 1941)
181
182 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * text2.C (cursorRight): do not honor boundary when at the end of
185         a paragraph. (bug 2010 again)
186
187 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
190
191 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
192
193         * rowpainter.C (paintText): fix RtL space width display bug (2029)
194
195 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * text2.C (setCursor): remove the unused 'boundary' parameter for
198         the CursorSlice version; adapt the LCursor version.
199
200         * lyxrc.C (write): 
201         * paragraph_pimpl.C (markErased): 
202         * cursor.C (bruteFind2, bruteFond3): fix warnings.
203
204 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
207         as is already done for "chapter".
208
209 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
212         textclass; do not record undo if nothing is changed.
213
214 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
215
216         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
217
218 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
219
220         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
221
222 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
225         combox, it is necessary to search for the topmost paragraph in the
226         cursor stack (bug 1926)
227
228 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
231         end of paragraph. (bug 2010)
232
233 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
234
235         * text.C (leftMargin): check for inInset == 0
236
237 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
238
239         * text.C (leftMargin): test for insetbase's new neverIndent()
240         bool instead of listing each and every inset that does not
241         wish par indendation.
242
243 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * buffer_funcs.C (setCounter): put the code to compute enum label
246         here (where it belongs).
247
248         * counters.C (enumLabel): move code to buffer_funcs.C.
249
250 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
251
252         * outputparams.[Ch]: store local_font instead of local_language
253         * paragraph.C (simpleTeXOnePar): adapt to the change above
254
255 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
256
257         * buffer_funcs.C:
258         * counters.[Ch]: clean up special code for Hebrew.
259
260 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
261
262         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
263         than 2.
264
265 2005-09-08  Angus Leeming  <leeming@lyx.org>
266
267         * ispell.C:
268         * lyxrc.C: correct grammar describing invocation of the
269         spellchecker.
270
271 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * text.C (read): remove unused variable.
274         (readParToken): remove static Change variable (never good in
275         recursive settings...); add it as a parameter instead.
276
277         * paragraph_pimpl.C (acceptChange): make debug info conditional.
278
279         * metricsinfo.C (PainterInfo): add new member erased_.
280
281         * rowpainter.C (RowPainter): add erased_ member, initialized from
282         PainterInfo. 
283         (paintInset): pass erased_ to Inset::draw.
284
285         * lyxfunc.C (lookupChange): new function. Tells whether change 
286         tracking is disabled at a given postion.
287         (getStatus): disable some actions when in deleted text with change
288         tracking. 
289
290 2005-08-03  John Levon  <levon@movementarian.org>
291         
292         * tabular.C (appendColumn, setMultiColumn): adapt to change to
293         InsetText::clear().
294
295         * paragraph_pimpl.C (markErased): add bool argument and handle it.
296         Also make sure to mark insets recursively.
297         (rejectChange, erase): be recursive
298
299         * paragraph.C (markErased): add bool argument.
300 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * lyxfind.C (findNextChange): tiny cleanup.
303
304         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
305         change tracking with the cursor in an inset; make sure the first
306         change is not skipped.
307
308 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
309
310         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
311         tabularStackDirty to work around bug 1919 (tabular needs
312         to know whether its own cell paste buffer or the one of 
313         texted is newer.
314         * CutAndPaste.C: mark tabular_stack_ clean after copy.
315
316 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
317
318         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
319
320 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
321
322         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
323         use old deleteion algorithm when changetracking is on.
324
325 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
326
327         * messages.C (get): add debug output.
328
329 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
330
331         * text.C (cursorX): fix bug 1965: cursor movement at
332         line end broken in RtL.
333         (drawSelection): fix bug 1970: drawing of single-line 
334         selection broken for RtL.
335
336 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         bug 465.
339
340         * dociterator.h (clear, push_back, pop_back): change from
341         protected to public.
342
343         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
344         and changed to just return the value of the item depth; take a
345         ParIterator as argument; take the itemdepth at outer nesting level
346         in account if necessary; cleanup and comment the code.
347         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
348         and changed to just return true if reset is needed; take a
349         ParIterator as argument; cleanup and comment the code.
350         (setCounter): adapt to above changes.
351
352 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
353
354         * text3.C (dispatch): make debug message optional
355
356 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
357
358         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
359         inset. (bug 1963)
360
361 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
362
363         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
364
365 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
366
367         * text.C (insertChar):
368         * text2.C (deleteEmptyParagraphMechanism): take care whether 
369         a blank has been deleted (in change tracking mode) (bug 1254).
370
371 2005-07-20  John Levon  <levon@movementarian.org>
372
373         * text2.C (insertStringAsLines): remove old dubious code,
374         fixing bug 1939.
375
376 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * MenuBackend.C (expandToc): use Floating::listName() as title of
379         the floats submenus.
380
381 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
382
383         * toc.[Ch]: Do not use translatable strings (bug 1870).
384
385 2005-07-20  John Levon  <levon@movementarian.org>
386
387         * tabular.C: fix 1748 - setting multicolumn adds
388           left line to the first cell
389
390 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
391
392         bug 1920
393         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
394         pars in one go.
395
396 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
397
398         * messages.C: supress some lyxerr messages
399
400 2005-07-18  Juergen Vigna  <jug@lyx.org>
401
402         * text.C (drawSelection): honor boundary when asking for cursorX.
403
404 2005-07-17  José Matos  <jamatos@fc.up.pt>
405
406         * tabular.C (recalculateMulticolumns): fix handling of one column
407         tables.
408
409 2005-07-17  Juergen Vigna  <jug@lyx.org>
410
411         * text.C (Delete, backspace): fixed so that paragraph with the
412         same layout can be merged by Delete/Backspace.
413
414 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
415
416         * text.C (readParToken): fix spelling.
417
418 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
419
420         * text2.C: fix counter update for DEPM problem reported by
421         Georg Baum
422
423 2005-07-17  Juergen Vigna  <jug@lyx.org>
424
425         * BufferView_pimpl.C (setBuffer): save/restore the
426         cursor/selection when switching buffers
427
428         * buffer.h: 
429         * buffer.C (saveCursor): add saveDocumentIterators to save the
430         cursor when switching buffer.
431
432 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
433
434         * debug.C: fix typo
435         * buffer.C: clarify message
436         
437 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
438
439         * dociterator.C (DocIterator): fix initialization order
440
441 2005-07-17  Juergen Vigna  <jug@lyx.org>
442
443         * text2.C (cursorHome): 
444         * text.C (drawSelection, cursorX): 
445         * dociterator.C (textRow): add boundary to getRow() call
446
447         * paragraph.C (getRow): implementation of below
448
449         * paragraph.h: add parameter boundary for getRow() function
450
451 2005-07-17  José Matos  <jamatos@fc.up.pt>
452
453         * buffer.C:
454         * bufferparams.[Ch]:
455         * tex-strings.[Ch]: new file format, remove support for a4.sty,
456         a4wide.sty and a4widemargins.
457
458 2005-07-17  Juergen Vigna  <jug@lyx.org>
459
460         * text2.C (cursorLeft): fix one of error
461
462 2005-07-17  Juergen Vigna  <jug@lyx.org>
463
464         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
465                    cursorEnd):
466         more fixes for boundary handling
467
468         * text3.C (dispatch): don't reset cursor if boundary has changed
469         on cursor movement.
470
471 2005-07-16  Juergen Vigna  <jug@lyx.org>
472
473         * text2.C (getColumnNearX): hopefully got it right now,
474         check if we are on column 0 for special case.
475
476 2005-07-16  Juergen Vigna  <jug@lyx.org>
477
478         * text2.C (getColumnNearX): handle special case Newline Inset
479
480         * text.C (singleWidth): Just remove bogus check
481
482 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
483
484         * funcrequest.C (split): avoid reading uninitialized char c
485
486 2005-07-16  José Matos  <jamatos@fc.up.pt>
487
488         * buffer.C:
489         * converter.C:
490         * lyxrc.C:
491         * paper.h:
492         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
493         single papersize variable.
494
495 2005-07-16  Juergen Vigna  <jug@lyx.org>
496
497         * text3.C (dispatch): honor boundary when checking if a cursor
498         movement has been done
499
500         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
501         (setCursor, setCursorIntern): fix cursor movement with boundary
502
503 2005-07-16  Juergen Vigna  <jug@lyx.org>
504
505         * text.C (currentState): output the actual Boundary
506
507 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
508
509         * factory.C (createInset): fix bad logic for tabular creation
510
511 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
512
513         * lyx_main.C (init): change some reLyX reference to tex2lyx
514
515 2005-07-16  Juergen Vigna  <jug@lyx.org>
516
517         * dociterator.C (DocIterator): initialize boundary
518
519 2005-07-16  Juergen Vigna  <jug@lyx.org>
520
521         * text2.C (getColumnNearX): Consider rows without trailing blank.  
522
523 2005-07-16  André Pönitz  <poenitz@gmx.net>
524
525         * lyxfont.h: Change order of declarations to give the compiler
526         a better chance to inline things
527
528         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
529         questions on unsaved docs for better scritability
530
531 2005-07-16  André Pönitz  <poenitz@gmx.net>
532
533         * paragraph.h (getChar): remove asserts as the same kind of security
534         can be achieved by using a suitable standard library implementation
535         and the function was in the critical path (25.9% in profiler)
536
537 2005-07-16  Juergen Vigna  <jug@lyx.org>
538
539         * cursor.C (bruteFind2):
540         * bufferview_funcs.C (coordOffset): 
541         * text.C (cursorX,cursorY): Handle cursor position after last char
542         in row before a inset which uses a whole row.
543
544 2005-07-15  José Matos <jamatos@lyx.org>
545
546         * output_plaintext.[Ch] (writeFileAscii): control reference title
547         printing.
548         (asciiParagraph): noparbreak was already deal and was incorrectly
549         used.
550
551 2005-07-15  Juergen Vigna <jug@lyx.org>
552
553         * lyxfunc.C (dispatch): save and restore the cursor after a
554         textclass switch.
555
556 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
557
558         * text.C (backspace): bug 806 for empty keepempty paragraphs we
559         change the layout to default before letting DEPM do its thing.
560
561         * paragraph_funcs.C (breakParagraph): dont reset the layout on
562         keepEmpty paragraphs
563
564         * text.C (setCursorFromCoordinates): add a debug statement
565
566         * text2.C (getColumnNearX): bug 1825 make sure that we don't
567         return a pos that is not on the row
568
569         * output_latex.C (TeXDeeper): get rid of potential dereferencing
570         of past the end iterator
571
572 2005-07-14  André Pönitz  <poenitz@gmx.net>
573
574         * undo.C (recordUndoFullBuffer): implement undo for
575         textclass switches
576
577 2005-07-14  André Pönitz  <poenitz@gmx.net>
578
579         * cursor.C (setSelection): open insets when selection is set there
580         to avoid crashs with cold coord cache
581
582 2005-07-14  André Pönitz  <poenitz@gmx.net>
583
584         * trans_mgr.C (insert): move cursor to the right after inserting
585         a char.
586
587 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
588
589         * BufferView_pimpl.C (update): dampen some of the debug blabbering
590         * factory.C (readInset): ditto
591         * text.C, text2.C: ditto
592
593 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
594
595         * buffer.C: format incremented to 242. There is no file format per
596         se, but the "frenchb" language has been removed from lib/language
597         and has to be translated to "french" by lyx2lyx.
598
599 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
600
601         * cursor_slice.h, dociterator.h: add some documentation
602         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
603
604 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
605
606         * text.C (leftMargin): do not add identation to display() style
607         insets, because they are always centered (bug 1293).
608
609 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
610
611         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
612         formatted_time methods in support/lyxtime.
613
614 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
615
616         * toc.[Ch]: new method getGuiName, which is used by the frontends 
617         to set the toc combo (fixes bug 1870). Make TOC string translatable.
618
619 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
620
621         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
622         StableDocIterator const &)
623         * undo.C (recordUndo): use the above instead of cell.size() comparison
624         (fixes bug 1808; instructed by Andr�.
625
626 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
627
628         * cursor_slice.h: 
629         * dociterator.h: Fix the assert when copying rows/cols in math
630
631 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
632
633         * BufferView_pimpl.C:
634         * LyXAction.C:
635         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
636
637         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
638         (findInset): new functions, refactored from goto Inset that return 
639         the position of a certain inset without setting the buffer's cursor
640         (by Jean-Marc); 
641         (gotoInset): rewrite to call findInset and then set the cursor
642         (by Jean-Marc).
643
644 2005-06-16  Angus Leeming  <leeming@lyx.org>
645
646         * lyxrc.C (output, read): wrap all input and output of paths with
647         calls to os::internal_path and os::external_path, respectively.
648         (output): wrap bind_file inside quotes.
649
650         * format.C (view): enable the viewer to use the '$$s' placeholder.
651
652 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
653
654         * LColor.[Ch] (getFromLaTeXName): new
655
656 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
657
658         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
659
660 2005-06-14  Angus Leeming  <leeming@lyx.org>
661
662         * lyx_main.C (init): ensure that the LyX binary dir is the first
663         element in the PATH on non-POSIX builds.
664
665 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
666
667         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
668
669 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
670
671         * rowpainter.C (paintInset, paintHebrewComposeChar)
672         (paintArabicComposeChar, paintChars): add a LyXFont argument.
673         (paintChars): use getFontSpan to reduce calls to getFont to a
674         minimum; use Paragraph::lookupChange instead of isXXXText.
675         (paintForeignMark): rename LyXFont argument.
676         (paintFromPos): pass a LyXFont object to the various paintXXX
677         methods.
678
679         * FontIterator.C (FontIterator, operator++): use
680         Paragraph::getFontSpan
681
682         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
683         version that returns the font span as a pair.
684
685 2005-06-09  Angus Leeming  <leeming@lyx.org>
686
687         * converter.C (convert): Don't forget "outfile = real_outfile" as
688         the final step in a conversion where the input and output file names
689         are the same. Otherwise, future conversion steps won't work...
690
691 2005-06-09  Angus Leeming  <leeming@lyx.org>
692
693         * lyxsocket.C: remove stub code as it isn't needed by
694         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
695
696 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
697
698         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
699         effectively disabled -x
700
701 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
702
703         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
704         when it actually makes sense.
705
706 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
707
708         * BufferView_pimpl.C: revert to showCursor in connection with
709         Lars's front-end stack
710
711 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
712
713         * text.C (redoParagraph): move cursor right after a bibitem
714         has been inserted.
715
716         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
717
718 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         * buffer_funcs.C (bufferErrors): fix computation of the end of an
721         error range.
722
723 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
724
725         * BufferView.[Ch] (update):
726         * BufferView_pimpl.[Ch] (update, metrics):
727         * dimension.h (operator==):
728         * lyxfunc.C (dispatch):
729         * metricsinfo.h (ViewMetricsInfo):
730         * rowpainter.C (paintText):
731         * lyxtext.h:
732         * text.C (redoParagraph):
733         * text3.C (dispatch): Make LyX only repaint current paragraph in
734         case of character insert --> speedup. Also fix cursor draw
735         artifacts
736
737 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
738
739         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
740         avoid a crash (bug 1891)
741
742 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
743
744         Fix bug 1892:
745
746         * text2.C (getStringToIndex): constify cur argument.
747
748         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
749         argument has been given
750         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
751         try to invoke LFUN_INSET_APPLY).
752
753         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
754         if no inset was created by doInsertInset
755         (doInsertInset): return true if an inset has been inserted.
756
757 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * vspace.C (asGUIName): new method. A version of the space
760         suitable for showing on screen.
761
762 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
763
764         * MenuBackend.C:
765         * lyxrc.C: rename "ASCII" to "Plain Text"
766
767 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
768
769         * buffer_funcs.C (expandLabel): take a Buffer as argument;
770         translate the labelstring.
771         (setCounter): translate labelstring as needed.
772
773         * output_docbook.C (makeCommand): fix expandLabel invokation
774
775 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
776
777         * BufferView.C: fix dialog title
778
779 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
780
781         * lyx_main.C (priv_exec): fix logic error with help from Angus
782         * lyx_main.C (parse_execute): set is_gui = false and remove now
783         obsolete comment about a segfault
784
785 2005-05-18  Angus Leeming  <leeming@lyx.org>
786
787         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
788
789 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
790
791         * tabular.[hC]: added setCellInset to fix tabular paste.
792
793 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
794
795         * buffer.C (save): check if destination is writable before trying
796         to copy a file
797
798 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
799
800         * BufferView_pimpl.C (update): fix processEvents -caused update
801         recursion bug
802
803 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
804
805         * buffer_funcs.C (setCounter): fix test for numbering of
806         environments.
807
808         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
809         depth correctly; use optional argument when it exists
810
811         * lyxtextclass.C: remove unused MaxCounterTags enum
812         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
813         (max_toclevel, min_toclevel): new methods.
814
815         * MenuBackend.C (expandToc2): fix case where depth is smaller than
816         the smallest depth in toc.
817
818         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
819         layouts that should not appear in a table of contents.
820
821 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
822
823         * cursor.h (undispatched, noUpdate): add comments from Andr�
824 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
825
826         * lfuns.h:
827         * LyXAction.C:
828         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
829
830 2005-05-07  André Pönitz  <poenitz@gmx.net>
831
832         * cursor.[Ch] (leaveInset): new function
833
834 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
835
836         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
837
838 2005-05-04  Angus Leeming  <leeming@lyx.org>
839
840         * lyxfunc.C (getStatus): disable the spell checker dialog if
841         none of USE_[AIP]SPELL are defined.
842
843 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
844
845         * tabular.C (setWidthOfCell): remove obsolete comment
846
847 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
848
849         * paragraph.C (bibitem):
850         * buffer_funcs.C (setCounter):
851         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
852
853 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
854
855         * text3.C (getStatus): immediately return after setOnOff
856
857         * rowpainter.C: fix drawing of appendix start
858
859 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
860
861         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
862         SwitchBetweenClasses and remove the unused return value.
863         Handle character styles, too
864
865 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
866
867         * factory.C (createInset): handle undefined character styles
868
869 2005-05-02  Angus Leeming  <leeming@lyx.org>
870
871         * buffer.C: protect the #include of utime.h with a preprocessor
872         guard.
873
874 2005-05-02  Angus Leeming  <leeming@lyx.org>
875
876         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
877         function so that auto-saving works, albeit in a blocking manner.
878
879         * Makefile.am: make compilation of the client sub directory, of
880         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
881         on conditionals set at configure time.
882
883         * SpellBase.[Ch]: no longer an abstract base class. Instead,
884         it can be compiled in its own right but has no-op functionality.
885
886         * aspell.C, pspell.C: remove preprocessor guards. The files should
887         be compiled only if the necessary functionality exists.
888
889         * lyxserver.C, lyxsocket.C: disable on Windows.
890
891 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
892
893         * text.C (leftMargin): Fix the parindent use bug (1764)
894         by dirty trick
895
896 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
897
898         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
899         argument.
900
901 2005-04-25  Angus Leeming  <leeming@lyx.org>
902
903         * Bidi.[Ch]:
904         * coordcache.[Ch]:
905         * ispell.C:
906         * lyxserver.C:
907         * mover.C:
908         * pch.h:
909         include <config.h> in .C files, not .h ones.
910         add licence blurb.
911         protect headers inside preprocessor guards.
912
913 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
914
915         * FuncStatus.h (StatusCodes): document
916
917 2005-04-21  André Pönitz  <poenitz@gmx.net>
918
919         * FuncStatus.h (enabled, onoff): document
920
921 2005-04-19  Angus Leeming  <leeming@lyx.org>
922
923         * BufferView_pimpl.C (cursorToggle): no longer test whether
924         any child processes have been reaped before calling
925         handleCompletedProcesses().
926
927 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
928
929         * text3.C (dispatch): fix, finally fix, the language problem in
930         new lyxtexts, without disabling on-the-fly font changes (Helge's
931         bug report)
932
933 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
934
935         * text3.C (dispatch): set cursor on double/triple click events
936         (bug 1811)
937
938 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
941         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
942
943         * rowpainter.C (paintFirst): simplify the code a little bit. In
944         particular, remove the test for secnumdepth.
945         * text.C (setHeightOfRow): only allocate space for chapter number
946         when updateCounters provided an actual label, instead of looking
947         at secnumdepth directly.
948
949         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
950
951         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
952         paragraphs when secnumdepth is large enough or, for environments,
953         when they are not the first in a sequence.
954
955 2005-04-17  Angus Leeming  <leeming@lyx.org>
956
957         * buffer.C (makeLaTeXFile): replace code to manipulate a path
958         containing space and '~' characters with a call to latex_path().
959
960 2005-04-17  Angus Leeming  <leeming@lyx.org>
961
962         * converter.C (convert): protect all args of convertDefault.sh
963         script with quotes.
964
965 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966
967         * text3.C (dispatch): change the layout to "Caption" after inserting
968         a float.
969
970 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
971
972         * text3.C (dispatch): fix language problem in newly created
973         textinsets (and main text) in non-english docs
974
975 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
976
977         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
978         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
979         * text3.C (getStatus): disable LFUN_INSET_MODIFY
980
981 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
982
983         * lyxtext.h:
984         * text.C (metrics):
985         * text2.C (getFont):
986         * rowpainter.C (getFont): Fix metrics bug introduced by inset
987         fonts fix
988
989 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
990
991         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
992         output of \item arguments without trailing text.
993
994 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
995
996         * FontIterator.C (operator*): avoid a copy of the font.
997
998 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
999
1000         * rowpainter.C (getFont): fix language bug from previous fix
1001
1002 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1003
1004         * rowpainter.C (RowPainter, getFont): fix font inside inset
1005         (bugs 1766, 1809)
1006
1007 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1010         preventing inserted font, deco, delim insets jumping to start of
1011         surrounding inset.
1012
1013 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1014
1015         * lyxfunc.C (dispatch): translate message before sending it to the
1016         minibuffer.
1017
1018 2005-03-29  Angus Leeming  <leeming@lyx.org>
1019
1020         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1021         to LyX on the command line.
1022
1023 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1024
1025         * vc-backend.C: use QuoteName to protect file names wherever
1026         necessary.
1027
1028 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1029
1030         * buffer.[Ch]:
1031         * BranchList.h: fix bugs 1844,1845: document settings don't
1032         stick
1033
1034 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1035
1036         * lyxrc.C (setDefaults, read, output, getDescription): add support
1037         for tex_allows_spaces.
1038
1039         * exporter.C (Export): allows files in directory containing spaces
1040         if tex_allows_spaces is true.
1041
1042         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1043         output it in double quotes.
1044
1045 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1046
1047         * rowpainter.C: use default text height for drawing change tracker
1048         strikeout lines.
1049
1050 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1051
1052         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1053
1054 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1057         directory is missing.
1058
1059 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1060
1061         * text2.C: fixed the fix, extended to other case.
1062
1063 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1064
1065         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1066
1067 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1068
1069         * text2.C (cursorUp): get rid of a crash
1070         * text.C (x2pos): add an assert
1071
1072 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1075
1076         * text3.C:
1077         * lyxfunc.C:
1078         * dociterator.C: include <boost/current_function.hpp>, which is
1079         needed when assertions are disabled.
1080
1081 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1082
1083         * text2.C: fix for stuck cursor when traversing two
1084         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1085
1086 2005-02-25  Andreas Vox  <avox@arcor.de>
1087
1088         * output_docbook.C (makeParagraph): suppress trailing newline
1089         after a run of paragraphs
1090
1091 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1092
1093         * paragraph.C: fix for confused change tracker when pasting
1094         text that begins with a lineseparator. [bug 1827]
1095         (setChange(0, Change::INSERTED);)
1096
1097         * paragraph_funcs.C: fix for lost changes on triple-paste
1098         in change tracking mode [bug 1827] (par.setChange()).
1099
1100 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1101
1102         * text2.C (updateCounters, setCounter, expandLabel): move to
1103         buffer_funcs.
1104
1105         * buffer_funcs.C (updateCounters): turn into a free standing
1106         function and add a buffer parameter. Remove dead code for tracking
1107         labelstring change.
1108         (setCounter): change into a free-standing function which gets a
1109         dociterator as argument. Use this iterator to fix captions in a
1110         simple way. When no float is found above the caption, use the
1111         labelstring of the caption layout as default.
1112
1113         * text.C (breakParagraph, backspace):
1114         * text2.C (init, setLayout, changeDepth):
1115         * text3.C (dispatch):
1116         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1117         updateCounters.
1118
1119         * dociterator.C (forwardPar): make it much faster by calling
1120         forwardPos() only when really necessary.
1121
1122         * output_docbook.C (makeCommand): adapt to expandLabel move.
1123
1124         * cursor.C: remove unused variable
1125
1126 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1127
1128         * paragraph_funcs.C: fix crash when pasting insets in change
1129         tracking mode [bug 1277] (honour change type in moveItem).
1130
1131 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1132
1133         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1134
1135 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * BufferView.C (setCursor): change to use a DocIterator.
1138         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1139         (putSelectionAt): adapt to BufferView::setCursor change.
1140
1141         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1142         moved here from LyXText and rewritten to use proper cursor
1143         methods. Fixes bug 1787, 616 and 835.
1144
1145         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1146         when inside an inset (part of bug 781).
1147         (dispatch): adapt to change of BufferView::setCursor.
1148         (getStatus, dispatch): handle LFUN_GOTOERROR,
1149         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1150
1151         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1152         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1153         * text3.C (gotoNextInset, gotoInset): removed.
1154
1155 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1158
1159 2005-02-15  Angus Leeming  <leeming@lyx.org>
1160
1161         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1162         can be used meaningfully in a comparison.
1163
1164 2005-02-13  André Pönitz  <poenitz@gmx.net>
1165
1166         * bufferview_funcs.C (coordOffset): improve cursor drawing
1167
1168 2005-02-13  André Pönitz  <poenitz@gmx.net>
1169
1170         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1171         * Cursor.C (dispatch): use fixIfBroken
1172         * lyxfunc.C (getStatus): use fixIfBroken
1173
1174 2005-02-15  Angus Leeming  <leeming@lyx.org>
1175
1176         * lyx_main.C (error_handler):
1177         * lyxfunc.C:
1178         * lyxrc.C (setDefaults):
1179         s/GetEnv/getEnv/.
1180         #include "environment.h".
1181
1182         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1183
1184 2005-02-15  Angus Leeming  <leeming@lyx.org>
1185
1186         * lyxserver.C (startPipe): squash MSVC warning "local variable
1187         'fd' used without having been initialized".
1188
1189 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1190
1191         * BufferView_pimpl.C: revert accidental commit.
1192
1193 2005-02-14  André Pönitz  <poenitz@gmx.net>
1194
1195         * dociterator.[Ch]: new member forwardPosNoDescent(),
1196         which doesn't enter nested insets.
1197         * text2.C (setFont): use forwardPosNoDescent() instead
1198         of ForwardPos() (fixes crash on font change).
1199
1200 2005-02-13  Angus Leeming  <leeming@lyx.org>
1201
1202         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1203         only if lyxrc.path_prefix is not empty.
1204
1205 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1206
1207         * bufferparams.C (readGraphicsDriver): prevent crash
1208
1209 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1210
1211         * text2.C (setCounter): check for inInset() == 0
1212
1213 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1214
1215         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1216         but use update() to get correct screen display; use convert
1217         instead of istringstream.
1218         (getStatus): handle LFUN_GOTO_PARAGRAPH
1219
1220         * lyxfunc.C (dispatch, getStatus): do not handle
1221         LFUN_GOTO_PARAGRAPH here.
1222
1223 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1224
1225         * text3.C (dispatch): size() -> depth()
1226
1227         * text2.C: remove some debug output
1228
1229         * paragraph.C: ws changes only
1230
1231         * lyxfunc.C (getStatus): size() -> depth()
1232
1233         * dociterator.h (clear, push_back, pop_back, internalData,
1234         operator[], resize, empty): new functions
1235         Make StableDocIterator and operator== be friends. Don't inherit
1236         from std::vector use a privat class variable slices_ instead.
1237         Modify to fit.
1238
1239         * dociterator.C: update because of not inheriting from std::vector
1240         anymore. Call explictly to slices_ instead. Use depth() instead of
1241         size() and top() instead of back()
1242
1243         * cursor.C: chagne size() -> depth and back() -> top(). Also
1244         remove some direct operator[](i) calls in favour of foo[i]
1245         (getFont): remove some dead code
1246
1247         * bufferview_funcs.C (coordOffset): size() -> depth()
1248
1249         * buffer.C: ws changes only
1250
1251         * CutAndPaste.C (eraseSelection): back() -> top()
1252
1253         * BufferView_pimpl.C (selectionRequested): back() -> top()
1254
1255         * BufferView.C (setCursor): size() -> depth()
1256
1257 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1258
1259         * text3.C (cursorPrevious): return true if depm changed something
1260         (cursorNext): ditto
1261         (dispatch): rename sl to oldTopSlice, remove moving use the new
1262         NoUpdate func attrib instead. Make sure that needsUpdate is set
1263         for function that have NoUpdate, but where depm might have changed
1264         the buffer anyway.
1265
1266         * text2.C (cursorLeft): make us return true if depm changed
1267         something
1268         (cursorRight): ditto
1269         (cursorUpParagraph): ditto
1270         (curosrDownParagraph): ditto
1271         (cursorUp, cursorDown): ditto, make sure to read comments in code
1272         (deleteEmptyParagraphMechanism): remove an assert, also return
1273         true if just a single char was deleted.
1274
1275         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1276         cursor that we modify, to avoid modifying an active cursor before
1277         we call setCursor. This allows depm to run. Also return true if
1278         depm deleted something.
1279
1280         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1281         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1282         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1283         something was changed in the buffer because of them (ie. depm run)
1284
1285         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1286         debug messages. Make update by default be false. Make sure that
1287         the result of update is retained throught several calls down to
1288         dispatch.
1289
1290         * LyXAction.h: add a new func_attrib: NoUpdate
1291
1292         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1293         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1294         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1295         and LFUN_WORDLEFT
1296         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1297
1298 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1301         bv_->owner(), bv_->buffer() by direct references to the private
1302         members.
1303         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1304         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1305         (fitCursor): center() is in BufferView::Pimpl.
1306         (getStatus, trackChanges, dispatch): no need for a temporary buf
1307         variable
1308         (fitCursor, workAreaDispatch): use workarea().workheight()
1309
1310 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1311
1312         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1313
1314 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1315
1316         * buffer.C: format up to 241.
1317         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1318         break if pasting into ERT
1319         * lyxfunc.C (getStatus): suppress mathpanel and
1320         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1321
1322 2005-02-01  Angus Leeming  <leeming@lyx.org>
1323
1324         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1325
1326 2005-02-01  Angus Leeming  <leeming@lyx.org>
1327
1328         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1329         calling fs::is_directory().
1330
1331 2005-01-31  Angus Leeming  <leeming@lyx.org>
1332
1333         * lyx_main.C (priv_exec): specify explicitly the relative location
1334         of the top level build directory when run in-place.
1335
1336 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1337
1338         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1339         LyXText containing the cursor, not the top-level one.
1340
1341         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1342         true.
1343         (insertStringAsLines): rename par to pit; use temporary variable
1344         par to hold a Paragraph; do not store par.layout() in a variable,
1345         since the pointer may die when breaking paragraphs; pass pars to
1346         breakParagraph() instead of Buffer::paragraphs().
1347
1348 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1349
1350         * lyxlex_pimpl.h: #include <fstream>.
1351
1352         * BufferView.[Ch] (getLyXText): add a const version.
1353
1354         * BufferView_pimpl.C: add debug aids.
1355
1356         * RowList_fwd.h:
1357         * buffer.h:
1358         * lyxrow.h:
1359         * paragraph_funcs.h: add commentary explaining what the class does.
1360
1361
1362         * coordcache.[Ch]: add lots of commentary.
1363         (startUpdating, doneUpdating): debug aids.
1364         (arrays, insets, parPos, getParPos): accessors to private data.
1365
1366         * cursor_slice.[Ch] (text): add a const version.
1367         * dociterator.[Ch] (text, innerText): add const versions.
1368
1369         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1370         bool.
1371
1372         * paragraph.C (getRow, pos2ros): add asserts.
1373
1374         * paragraph.h: add commentary. Lots of.
1375
1376         * paragraph.[Ch] (metrucs, draw): removed.
1377
1378         * cursor.C:
1379         * rowpainter.[Ch]: const-correct changes.
1380
1381         * text.C: various obvious clean-ups. Removal of ancient cruft.
1382         Bug fixes, even.
1383
1384 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1385
1386         * vc-backend.C (find_file): rewrite to use boost.filesystem
1387         (scanMaster): ditto
1388
1389         * main.C (main): set default name check for boost.filesystem to
1390         no check
1391
1392         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1393         (open): ditto
1394         (doImport): ditto
1395         (actOnUpdatedPrefs): ditto
1396
1397         * lyx_main.C (init): rewrite to use boost.filesystem
1398         (queryUserLyXDir): ditto
1399
1400         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1401         (getContentsOfAsciiFile): ditto
1402
1403         * lastfiles.C (readFile): rewrite to use boost.filesystem
1404
1405         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1406
1407         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1408         (loadLyXFile): ditto
1409
1410         * buffer.C (Buffer): adjust for destroydir
1411         (getLogName): rewrite to use boost.filesystem
1412         (setFileName): ditto
1413         (save): use fs::copy_file (from fs_extras)
1414
1415         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1416
1417         * LaTeX.C (run): rewrite to use boost.filesystem
1418         (scanAuxFiles): ditto
1419         (handleFoundFile): ditto
1420
1421 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1422
1423         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1424
1425         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1426
1427 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1428
1429         * lyxlayout.[Ch]: change some vars from float to double
1430
1431         * buffer.C (readFile): make a local var const
1432
1433         * Several files: use convert<> instead of atoi,strToXXX and friends
1434
1435 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1436
1437         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1438         holds the contents of packages.lst. New functions getAvailable
1439         and isAvailable to parse and check that list, resp.
1440
1441         * LyXAction.C:
1442         * lfuns.h:
1443         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1444
1445         * bufferparams.[Ch]: new param output_changes.
1446
1447         * Buffer.C: increase file format to 240.
1448         Use output_changes and isVailable.
1449
1450         * changes.[Ch]:
1451         * paragraph.C:
1452         * paragraph_pimpl.C: Use output_changes and isVailable.
1453
1454 2005-01-23  Angus Leeming  <leeming@lyx.org>
1455
1456         * output_latex.C: #include "insetbibitem.h", rather than
1457         forward declare function bibitemWidest.
1458
1459 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1460
1461         * lyx_main.C (init): make it compile on the Mac.
1462
1463 2005-01-20  Angus Leeming  <leeming@lyx.org>
1464
1465         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1466         (setLyXMisc): (char string literal) != (char string literal) is
1467         performing a comparison on the addresses. Convert one operand
1468         explicitly to string to guarantee expected behaviour.
1469         From MSVC warning.
1470
1471 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1472
1473         * buffer.C:
1474         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1475
1476         * output_plaintext.C: remove unneeded #include gzstream.h.
1477
1478 2005-01-20  Angus Leeming  <leeming@lyx.org>
1479
1480         * SpellBase.h: rename some of the elements of the Result enum.
1481
1482         * aspell_local.h:
1483         * ispell.h:
1484         * pspell.h:
1485         * aspell.C (check):
1486         * ispell.C (check):
1487         * pspell.C (check): ditto
1488
1489 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1490
1491         * buffer.C: add #include <fstream>.
1492
1493         * lyx_main.C (init): Compile fix.
1494
1495         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1496
1497 2005-01-20  Angus Leeming  <leeming@lyx.org>
1498
1499         * mover.h: change commentary to reflect the changed meaning of
1500         the $$s placeholder.
1501
1502 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1503
1504         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1505
1506         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1507
1508 2005-01-20  Angus Leeming  <leeming@lyx.org>
1509
1510         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1511         printing diagnostic data by not dereferecing an iterator past the
1512         end.
1513
1514 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1515
1516         * buffer.C (readHeader): use "&&" rather than "and".
1517
1518         * lyxserver.h (inPipeName, outPipeName): make these const.
1519
1520 2005-01-19  Angus Leeming  <leeming@lyx.org>
1521
1522         * lyx_main.C (error_handler, init): protect SIGHUP with
1523         #ifdef SIGHUP guards.
1524
1525 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1526
1527         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1528
1529 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1530
1531         * text.C (setHeightOfRow): add a margin at the top and bottom of
1532         the document (bug 1761)
1533
1534 2005-01-17  Angus Leeming  <leeming@lyx.org>
1535
1536         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1537         with "python ". Workaround for a brain-dead Windows.
1538
1539 2005-01-16  Angus Leeming  <leeming@lyx.org>
1540
1541         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1542         for MacOSX and Windows to use prependEnvPath.
1543         Strip out the hard-coded block to add elements to the PATH for
1544         MacOSX and replace it with a call to prependEnvPath using the
1545         contents of LyXRC::path_prefix.
1546         (queryUserLyXDir): strip out the code to run reconfigure, instead
1547         returning a boolean indicating the necessity to do so.
1548         (reconfigureUserLyXDir): contains the code to reconfigure the
1549         user support directory. Is now called after the various LyXRC data
1550         files have been read.
1551
1552         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1553
1554 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1555
1556         * converter.[Ch] (convert): take a new parameter try_default. Use
1557         a default converter (imagemagick) if try_default is true.
1558
1559 2005-01-13  Angus Leeming  <leeming@lyx.org>
1560
1561         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1562         os::cygwin_path_fix.
1563         (write): output LyXRC::cygwin_path_fix as necessary.
1564
1565 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1566
1567         * lyxrc.h:
1568         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1569
1570 2005-01-12  Angus Leeming  <leeming@lyx.org>
1571
1572         * lyx_main.C (init): set the PATH variable to include the
1573         directory containing the LyX binary when running on Mac or Windows.
1574
1575 2005-01-12  Angus Leeming  <leeming@lyx.org>
1576
1577         * lyx_main.C (init): remove cruft that purports to set the locale
1578         dir. It doesn't and is not needed anyway.
1579
1580 2005-01-10  Angus Leeming  <leeming@lyx.org>
1581
1582         * Makefile.am: remove the lyx_main.C special casing.
1583
1584         * BufferView_pimpl.C:
1585         * bufferlist.C:
1586         * exporter.C:
1587         * lyx_cb.C:
1588         * lyx_main.C:
1589         * lyxfunc.C:
1590         * messages.C: use support/package.h to provide the paths to the
1591         various directories used by LyX.
1592
1593 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1594
1595         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1596         layout if pasting into an empty paragraph)
1597
1598 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1599
1600         * tex-accent.C: add <string>
1601
1602 2005-01-06  José Matos  <jamatos@lyx.org>
1603
1604         * ParagraphParameters.C (write): put every parameter in its own line.
1605         * paragraph.C (write): reduce number of consecutive empty lines exported.
1606         * buffer.C (LYX_FORMAT): increase file format to 239.
1607
1608 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1609
1610         * everywhere: change support/tostr.h -> support/convert.h
1611
1612         * tabular.C: make all write_attributes templates, tostr -> convert
1613
1614         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1615         (emptyTag): and -> &&, and fix type for ret from getChar
1616         (getFirstWord): fix type for ret from getChar
1617         (onlyText): and -> &&
1618         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1619         getChar
1620
1621         * toc.C (goTo, action):
1622         * text3.C (dispatch):
1623         * text.C (currentState):
1624         * tex-accent.C (DoAccent):
1625         * sgml.C:
1626         * lyxrc.C:
1627         * lyxfunc.C (menuNew):
1628         * lyxfinc.C (replace):
1629         * counters.C (laberItem):
1630         * bufferview_funcs.C (font2string):
1631         * bufferparams.C (writeFile):
1632         * buffer.C (readFile):
1633         * Spacing.C (set):
1634         * MenuBackend.C: tostr -> convert
1635
1636         * LaTeX.C (runMessage): fix format
1637         (scanAuxFiles): tostr -> convert
1638
1639         * BufferView_pimpl.C (savePosition): fix format
1640         (restorePosition): ditto
1641         (dispatch): ditto
1642
1643 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1644
1645         * Spacing.[Ch]: New method getValueAsString().
1646
1647         * Spacing.[Ch]:
1648         * bufferparams.C:
1649         * ParagraphParameters.C:
1650         * lyxlayout.C:
1651         * text.C:
1652         * text3.C: store/read spacing value as string.
1653
1654         * rowpainter.C: change float value (spacing_val) to double.
1655
1656         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1657         broken custom document spacing).
1658
1659 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1660
1661         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1662         namespace, also more use of temp references and const
1663
1664         * cursor.[Ch] (getStatus): move to lyxfunc.C
1665
1666         * bufferparams.C: reformat slightly
1667
1668         * bufferview_funcs.C (font2string): constify arg
1669
1670         * changes.C:
1671         * converter.C:
1672         * counters.C:
1673         * bufferlist.C:
1674         * buffer_funcs.C: (many funcs): constify arg on function
1675         definitions, also make more local vars const, also add ASSERTS on
1676         pointer args.
1677
1678         * buffer.C (LYX_FORMAT): put const in correct place
1679         (many funcs): constify arg on function definitions, also make
1680         more local vars const
1681
1682         * aspell_local.h: remove "struct" from typdef setup
1683
1684         * aspell.C (check): make word_ok const
1685         (nextMiss): simplify slightly
1686         (error): ditto
1687
1688 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1689
1690         * lyxrc.[Ch]: store all float values as strings.
1691         use int (not float) for lyxrc.dpi.
1692
1693 2005-01-04  Angus Leeming  <leeming@lyx.org>
1694
1695         * lyx_cb.C (Reconfigure):
1696         * lyx_main.C (queryUserLyXDir):
1697         to run the <system_lyxdir>/configure correctly on Windows, prefix
1698         the path to the script with "sh " when generating the string that
1699         is passed to system().
1700
1701 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1702
1703         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1704
1705 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1706
1707         * lyxlength.C (asLatexString): get rid of setprecision
1708
1709 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1710
1711         * text2.C (setLayout): remove unused variable endpit.
1712         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1713
1714         * paragraph.C (onlyText): remove unused variable style.
1715
1716         * cursor.C (bruteFind): remove unused variables beg and end.
1717
1718         * Makefile.am (dist_noinset_DATA): not needed anymore
1719
1720         * cheaders/*: remove.
1721
1722 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1723
1724         * text3.C: fix LFUN_MATH_MODE.
1725
1726 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1727
1728         * buffer_funcs.C (countWords): new function. Counts words between
1729         two iterators.
1730
1731         * BufferView_pimpl.C (getStatus, dispatch): handle
1732         LFUN_WORDS_COUNT.
1733
1734         * LyXAction.C (init):
1735         * lfuns.h: add LFUN_WORDS_COUNT.
1736
1737 2004-12-19  Angus Leeming  <leeming@lyx.org>
1738
1739         * buffer.C (save): s/slashify_path/internal_path/.
1740
1741 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1742
1743         * lyxfind.C (findChange): do not search for end of pars, because
1744         the change tracker cannot handle this (fixes bug 1719).
1745
1746 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1747
1748         * paragraph.[Ch] (autoBreakRows): remove
1749
1750         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1751
1752         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1753         avoid using the paragraph one
1754
1755         * text2.C (LyXText, insertStringAsLines): adjust
1756
1757 2004-12-16  Angus Leeming  <leeming@lyx.org>
1758
1759         * bufferlist.C:
1760         * lyx_main.C:
1761         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1762
1763 2004-12-14  Angus Leeming  <leeming@lyx.org>
1764
1765         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1766
1767         * bufferlist.C (emergencyWrite):
1768         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1769         GetEnvPath("HOME").
1770
1771 2004-12-14  Angus Leeming  <leeming@lyx.org>
1772
1773         * main.C: (main): no longer pass pointers to os::init.
1774
1775 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1776
1777         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1778         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1779
1780 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * lyxfunc.C:
1783         * text3.C: remove selection_possible global flag
1784
1785 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1786
1787         * text2.C (getSelectionSpan): remove
1788         (changeDepth, changeDepthAllowed): adjust
1789
1790 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1791
1792         * Makefile.am (BOOST_LIBS): use boost variables
1793
1794 2004-12-03  José Matos  <jamatos@lyx.org>
1795
1796         * buffer.C: format up to 238.
1797
1798 2004-12-03  José Matos  <jamatos@lyx.org>
1799
1800         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1801
1802 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1803
1804         * cursor.C (goUpDown): remove call to idxUpDown2
1805
1806 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1807
1808         * tabular.[Ch]: use size_t-like types for cell, row and column
1809         indices
1810
1811 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1812
1813         * lyxfunc.C (getStatus): do not lose previous information when
1814         calling BufferView::getStatus; do not set a default "Command
1815         disabled" message at the beginning, but just before returning.
1816
1817 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1818
1819         * cursor.h (getStatus): add better comment from src/cursor.C
1820
1821 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1822
1823         * text3.C (getStatus): return false when the lfun is not handled
1824
1825 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1826
1827         * broken_headers.h: remove
1828
1829         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1830
1831 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1832
1833         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1834         offset_ref accessors
1835
1836         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1837         top_y_, merge fitcursor with update
1838         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1839         coord scheme
1840         (metrics): introduce
1841         (workAreaDispatch): adapt to new coord scheme
1842         (redoCurrentBuffer): remove
1843
1844         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1845
1846         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1847         CurStatus enum.
1848
1849         * coordcache.[Ch]: add paragraph cache and helpers
1850
1851         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1852         adjust everywhere
1853
1854         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1855         (targetX, setTargetX): introduce
1856
1857         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1858         baseline -> ascent, as the rest of lyx
1859
1860         * lyxtext.h: remove redoParagraphs, updateParPositions,
1861         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1862         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1863         have ascent/descent (ascent is ascent of first par)
1864
1865         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1866         step of BufferView
1867
1868         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1869
1870         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1871
1872         * pariterator.C: fix infinite loop introduced in par->pit renaming
1873
1874         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1875         in insets and LyXText, draw two off-screen paragraphs using
1876         NullPainter, and adapt to new coord scheme
1877
1878         * text.C:
1879         * text2.C:
1880         * text3.C: adapt lfun handlers to the new coord scheme, which
1881         means: there's only guaranteed coord information for onscreen pars
1882         plus one above and one below. This implies that one can do search
1883         from y coordinates in the range [-1,workHeight]
1884
1885 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1886
1887         * rename a lot of InsetOld to InsetBase
1888
1889 2004-11-25  Angus Leeming  <leeming@lyx.org>
1890
1891         * BufferView_pimpl.C:
1892         * lyx_cb.C:
1893         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1894
1895 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1896
1897         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1898         call BufferView::getStatus if LCursor::getStatus did nothing
1899         (setStatusMessage, getStatusMessage): removed.
1900
1901         * FuncStatus.C (message): new methods. Used to provide an error
1902         message indicating why a command is disabled.
1903         (clear, |=, FuncStatus): update for message.
1904
1905 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1906
1907         * lyxfunc.C (dispatch): always call sendDispatchMessage
1908
1909 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1910
1911         * BufferView.C:
1912         * BufferView_pimpl.C:
1913         * CutAndPaste.C:
1914         * FontIterator.C:
1915         * buffer.C:
1916         * cursor.C:
1917         * cursor_slice.[Ch]:
1918         * dociterator.[Ch]:
1919         * lyxfind.C:
1920         * paragraph_funcs.C:
1921         * pariterator.C:
1922         * rowpainter.C:
1923         * text.C:
1924         * text2.C:
1925         * text3.C:
1926         * undo.C: par->pit renaming
1927
1928 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1929
1930         * tabular.C (cellstruct): use initialization, store a shared_ptr
1931         to insettext instead of the insettext directly, adjust to fit.
1932         (operator=):  new function
1933         (swap): new function
1934         (rowstruct): use initialization
1935         (columnstruct): use initialization
1936         (ltType): use initialization
1937
1938
1939         * lyxlength.h (swap): new function
1940
1941         * LColor.[Ch] (operator=): use the common semantics
1942
1943 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1944
1945         * lyxfind.C (findNextChange): update the bufferview after setting
1946         the selection.
1947
1948 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1949
1950         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1951         number of InsetOptArgs has already been inserted.
1952
1953         * output_latex.C (latexOptArgInsets): new method. This outputs all
1954         the optarg insets, up to the limit defined in the layout file.
1955         (optArgInset): removed
1956         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1957
1958 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1959
1960         * paragraph.C (isLetter): remove special spellchecker-related
1961         code; return true also for digits
1962         (isWord, isKomma): remove
1963
1964         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1965         * lyxfind.C (MatchString()): use isLetter instead of isWord
1966
1967 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1968
1969         * pariterator.h (operatir=): comment out un-implemented member
1970         function.
1971
1972         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1973         static cast.
1974
1975 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1976
1977         * lyxfont.h: include LColor.h to satisfy concept checks.
1978
1979 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1980
1981         * pariterator.h: add typdefs for value_type, difference_type,
1982         pointer and reference to satisfy concept checks. Also add default
1983         constructor for same reason.
1984
1985         * pariterator.C (operator++): add post-increment operator to
1986         satisfy concept checks.
1987
1988         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1989         checks.
1990
1991         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1992
1993         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1994         checks. Also rename base_type to BaseType to follow naming
1995         standard better.
1996
1997         * FloatList.h: include Floating.h to satisfy concept checks.
1998
1999 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2000
2001         * lyxfunc.C (getStatus): when the origin of the request is menu or
2002         toolbar, and the LyXView does not have focus, do as if there was
2003         no buffer (bug 1720)
2004
2005         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2006         FuncRequest to individual entries of LFUN_SEQUENCE
2007
2008 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2009
2010         * output_latex.C (TeXOnePar): override runparams.moving_arg
2011         according to the needprotect value of the current paragraph (bug
2012         1739)
2013
2014         * paragraph.C (simpleTeXOnePar): no need to override
2015         runparams.moving_args here
2016
2017 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2018
2019         * vspace.C: fix off-by-one-error, related to fix #1682
2020
2021 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2022
2023         * lengthcommon.C: a more general fix for bug 1682
2024
2025 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2026
2027         * text.C (backspace): fix crash
2028
2029 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2030
2031         * format.[Ch] (getFormatFromFile): new method
2032         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2033
2034 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2035
2036         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2037
2038 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2039
2040         * lyxfunc.C (dispatch): remove the verbose argument
2041         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2042         instead
2043
2044         * kbmap.C (defkey): set the origin of func to KEYBOARD
2045
2046         * MenuBackend.C (MenuItem):
2047         * ToolbarBackend.C (add): set the origin of func to UI
2048
2049         * funcrequest.[Ch]: add origin member, which indicates which part
2050         of LyX requests an action
2051
2052 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2053
2054         * converter.C (move): don't lie in the error message
2055         * converter.h (isReachable, move): document
2056
2057 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2058
2059         * buffer.C: remove unused using lyx::support::atoi
2060         * paragraph_funcs.C: ditto
2061
2062 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2063
2064         * bufferlist.C (exists): use bind and equal_to instead of
2065         compare_memfun
2066         (getBuffer): ditto
2067         * lyxtextclasslist.C (NumberOfClass): ditto
2068
2069         * cursor.C (insert): use for_each instead of explicit for loop
2070
2071         * bufferlist.C (getFileNames): use std::transform and
2072         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2073
2074         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2075         for loop
2076
2077         * buffer.C (changeLanguage): use for_each instead of explicit for
2078         loop
2079         (hasParWithID): implement using getParFromID
2080
2081         * LaTeXFeatures.C: ws change only
2082
2083         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2084         to cleanup a bit.
2085
2086         * BufferView_pimpl.C (trackChanges): use for_each instead of
2087         expilicit for loop
2088
2089 2004-11-04  André Pönitz  <poenitz@gmx.net>
2090
2091         * undo.h:
2092         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2093
2094         * dociterator.C (asDocIterator): use hard assert again.
2095
2096 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2097
2098         * lyxlength.C (asLatexString): rewrite so that it does not use
2099         snprintf anymore
2100
2101 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2102
2103         * text3.C (specialChar, dispatch): make sure cursor moves to the
2104         right after inserting an inset
2105
2106 2004-11-02  José Matos  <jamatos@lyx.org>
2107
2108         * output_docbook.C (docbook):
2109         * paragraph.C (getID):
2110         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2111         garantee that the output is always legal.
2112
2113         * tabular.C (docbook):
2114         * outputprams.[Ch]: remove mixed contents.
2115
2116 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2117
2118         * text2.C (setCounter): prevent endless loop
2119
2120 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2121
2122         * exporter.C (copyFile): use the mover instead of support::copy()
2123         * exporter.C (Export): pass format and latex name to copyFile()
2124         * exporter.h (addExternalFile): document
2125         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2126
2127 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2128
2129         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2130
2131 2004-10-30  José Matos  <jamatos@lyx.org>
2132
2133         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2134         text and no inset or font change. This allows to use CDATA
2135         sections just for the whole paragraph.
2136
2137 2004-10-30  José Matos  <jamatos@lyx.org>
2138
2139         * paragraph.C (getFirstWord): remove unused variable.
2140
2141 2004-10-30  José Matos  <jamatos@lyx.org>
2142
2143         * paragraph.C (getFirstWord): the content should always be escaped
2144         there.
2145         (simpleDocBookOnePar):
2146         * output_docbook.C (makeEnvironment): replace reference to CDATA
2147         to style pass_thru.
2148
2149 2004-10-30  José Matos  <jamatos@lyx.org>
2150
2151         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2152
2153 2004-10-30  José Matos  <jamatos@lyx.org>
2154
2155         * output_docbook.C (makeParagraphs):
2156         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2157         standard paragraph has only a given type of content drop the wrapper.
2158
2159 2004-10-29  José Matos  <jamatos@lyx.org>
2160
2161         * output_docbook.C (makeEnvironment):
2162         * sgml.C (openTag):
2163         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2164
2165 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2166
2167         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2168         (cleanID): sanitize any id.
2169
2170 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2171
2172         * buffer.C, lyxlex_pimpl.C:
2173         * lyxlex_pimpl.C (setFile):
2174         s/getExtFromContents/getFormatFromContents/
2175
2176 2004-10-28  José Matos  <jamatos@lyx.org>
2177
2178         * output_docbook.C (makeEnvironment): move id to broadest possible
2179         scope.
2180
2181         * sgml.C (openTag): apply substitution of <> for all attributes.
2182
2183 2004-10-28  José Matos  <jamatos@lyx.org>
2184
2185         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2186         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2187         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2188
2189         * sgml.[Ch]: new version for open and closeTag for paragraph and
2190         for strings. Now they handle the ids of paragraphs.
2191
2192 2004-10-26  Angus Leeming  <leeming@lyx.org>
2193
2194         * Makefile.am: add mover.[Ch].
2195
2196         * converter.C (convert, move): use the new Movers to move external
2197         files to the temp directory.
2198
2199         * lyx_main.C (init): ensure that the global system_movers data
2200         is initialised.
2201
2202         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2203         preferences file.
2204
2205         * mover.[Ch]: new files, defining a Mover as a utility to move an
2206         external file between directories and, if necessary, manipulate this
2207         file using a helper script.
2208
2209 2004-10-25  José Matos  <jamatos@lyx.org>
2210
2211         * output_docbook.C (makeCommand): merge two if's that tested the
2212         same condition.
2213
2214 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2215
2216         * sgml.C (escapeString): fix warning in a better way
2217
2218 2004-10-25  José Matos  <jamatos@lyx.org>
2219
2220         * sgml.C (escapeString): import the require boosts header file for
2221         tie, and avoid a signed unsigned comparison.
2222
2223 2004-10-25  José Matos  <jamatos@lyx.org>
2224
2225         * sgml.h: add #include <string>
2226
2227 2004-10-25  José Matos  <jamatos@lyx.org>
2228
2229         * sgml.[Ch] (escapeString): new function to escape all the string.
2230
2231 2004-10-24  José Matos  <jamatos@lyx.org>
2232
2233         * paragraph.[Ch] (getFirstWord): new function to get the first
2234         word. Useful for description.
2235         (simpleDocBookOnePar): remove depth argument, add another that
2236         says where to start the paragraph.
2237
2238         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2239         use the new functions to fix cleanly the support for descriptions.
2240
2241 2004-10-24  José Matos  <jamatos@lyx.org>
2242
2243         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2244         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2245         * output_linuxdoc.C (linuxdocParagraphs):
2246         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2247         add buffer as argument.
2248
2249 2004-10-24  José Matos  <jamatos@lyx.org>
2250
2251         * output_docbook.C (makeEnvironment, searchEnvironment): place
2252         CDATA inside paragraphs and fix scope for listitems.
2253
2254 2004-10-24  José Matos  <jamatos@lyx.org>
2255
2256         * output_docbook.C: remove using statement for stack.
2257
2258 2004-10-23  José Matos  <jamatos@lyx.org>
2259
2260         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2261         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2262         docbook. The new scheme is recursive and makes use of iterators, the
2263         same as latex export works.
2264         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2265         directly with the paragraph contents. This code was moved up to
2266         output_docbook.C (docbookParagraphs).
2267         * sgml.C (openTag, closeTag): removed unneeded newlines.
2268         (closeEnvTags) removed.
2269
2270 2004-10-23  André Pönitz  <poenitz@gmx.net>
2271
2272         * undo.C (textUndoOrRedo):
2273         * dociterator.C (asDocIterator): work around crash
2274
2275         * cursor.C (getStatus): replace ASSERT by more verbose error message
2276           and manual correction of the problem. Should increase stability
2277           while providing more sensible information.
2278
2279 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2280
2281         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2282
2283         * bufferlist.C (previous, next): new methods
2284
2285         * lfuns.h:
2286         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2287
2288 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2289
2290         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2291         entities to preamble.
2292
2293 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2294
2295         * messages.C (Pimpl): strip off translation context information
2296
2297 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2298
2299         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2300         the cursor is correct (bug 1694)
2301
2302 2004-10-13  José Matos  <jamatos@lyx.org>
2303
2304         * output_docbook.C (docbookParagraphs): fix closing tags in the
2305         end of the document.
2306
2307 2004-10-09  José Matos  <jamatos@lyx.org>
2308
2309         * buffer.C: format up to 237.
2310         * bufferparams.C (write): use tostr to convert booleans to strings.
2311
2312 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2313
2314         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2315
2316 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2317
2318         * LaTeX.C: implement use of babel language in xindy.
2319
2320 2004-10-05  José Matos  <jamatos@lyx.org>
2321
2322         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2323         Add new translators to help reading and writing the lyx file.
2324
2325 2004-10-05  José Matos  <jamatos@lyx.org>
2326
2327         * ParagraphParameters.C (read):
2328         * text.C (readParToken): replace nexToken by more appropriate lex
2329         methods.
2330
2331 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2332
2333         * LaTeX.C (runMakeIndex):
2334         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2335         (usually 'makeindex') configurable.
2336
2337         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2338         with a variable rather than with a number.
2339
2340 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2341
2342         * output_latex.C (TeXOnePar): make sure font setting is the first
2343         thing that gets output (and the last at the end). Should fix bug
2344         1404.
2345
2346 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2347
2348         * pch.h: use proper signal include
2349
2350         * LaTeX.h: Use preferred calling of Boost.Signal
2351         * buffer.h: ditto
2352
2353 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2354
2355         * pch.h: dont include <boost/function/function0.hpp>
2356
2357         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2358
2359         * paragraph_pimpl.h: remove usage of ShareContainer
2360
2361         * paragraph_pimpl.C: remove initialization of ShareContainer.
2362
2363 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2364
2365         Fix bug #1666
2366
2367         * BufferView.C (putSelectionAt): change the semantics when
2368         backwards == true: now, this just swaps cursor and anchor wrt the
2369         forward case
2370
2371         * BufferView.h (putSelectionAt): add some documentation
2372
2373         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2374         make sure backwardChar is done at least once (to avoid getting
2375         stuck)
2376         (findNextChange): use putSelectionAt in the forward direction
2377         (operator()): use Paragraph::isWord
2378
2379 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2380
2381         * Spacing.C (set): c_str fix
2382
2383 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2384
2385         * lyx_cb.C (Reconfigure): quote the name of configure script in
2386         case it contains spaces
2387
2388 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2389
2390         * client: new dir
2391
2392         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2393         (BOOST_LIBS): use top_buildir when looking for the file
2394
2395 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2396
2397         * pch.h: do not use include boost/format.hpp, multiple symbols
2398                 will result (gcc bug)
2399
2400
2401 2004-08-23  José Matos  <jamatos@lyx.org>
2402
2403         * bufferparams.C (readToken): fix reading of the author field.
2404
2405 2004-08-20  José Matos  <jamatos@lyx.org>
2406
2407         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2408
2409 2004-08-20  José Matos  <jamatos@lyx.org>
2410
2411         * lyxlex.[Ch] (findToken): remove function.
2412
2413         * ParagraphParameters.C (findToken):
2414         * bufferparams.C (findToken): replace call for previous function
2415         with local copy. This local function has one more argument, the
2416         read string argument.
2417
2418 2004-08-16  José Matos  <jamatos@lyx.org>
2419
2420         * ParagraphParameters.C (write):
2421         * Spacing.C (writeFile):
2422         * bufferparams.C (writeLaTeX):
2423         * lyx_cb.C (Reconfigure):
2424         * paragraph.C (write):
2425         * tabular.C (write): remove unnecessary space at end of line.
2426
2427
2428 2004-08-16  José Matos  <jamatos@lyx.org>
2429
2430         * text.C (readParagraph): remove debug message.
2431
2432 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2433
2434         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2435         crash
2436
2437         * output_plaintext.C (asciiParagraph): set depth correctly
2438
2439         * outputparams.h: add member depth
2440
2441         * paragraph_funcs.C (ownerPar): remove.
2442
2443         * text2.C (setCounter): remove first_pit; comment out some
2444         non-working code that uses ownerPar
2445
2446         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2447         uses ownerPar
2448
2449 2004-08-16  José Matos  <jamatos@lyx.org>
2450
2451         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2452         For the same level of importance use the same chanel to report problems.
2453         (read): add code to deal with \begin_body and \end_body.
2454
2455
2456 2004-08-15  José Matos  <jamatos@lyx.org>
2457
2458         * lyxlex.C (getString): fix comment, buffer::readBody is now
2459         buffer:readDocument.
2460
2461         * tex-strings.C (string_papersize): Default -> default,
2462         Custom -> custom, for consistency with other options.
2463
2464 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2465
2466         * pch.h: new file
2467
2468         * Makefile.am: support pch
2469
2470 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2471
2472         * text.C (readParToken): remove the static LyXFont variable and
2473         pass it as a parameter instead. This fixes a nasty bug where an
2474         inset will be inserted with a bad font in some situations
2475         (readParagraph): adapt
2476
2477         * text2.C (setCounter): reduce number of calls to pars_[pit]
2478
2479         * text.C (singleWidth): add an assert, fix a test
2480
2481         * rowpainter.C (paintText): reduce number of calls to singleWidth
2482
2483         * paragraph.C (isHfill):
2484         (isNewline): ws only
2485
2486 2004-08-14  André Pönitz  <poenitz@gmx.net>
2487
2488         * text.C:
2489         * text2.C:
2490         * rowpainter.C:
2491         * lyxtext.h (several functions): use a Paragraph & argument
2492         instead of par_type
2493
2494 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2495
2496         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2497
2498         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2499
2500         * text.C (singleWidth): remove useless test
2501
2502 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2503
2504         * tabular.h: remove bogus comments
2505
2506         * tabular.C (getDescentOfRow):
2507         (isPartOfMultiColumn): add assertions
2508
2509         * lyxlength.C (inPixels): remove #warning
2510
2511 2004-08-14  André Pönitz  <poenitz@gmx.net>
2512
2513         * paragraph.h: inline getChar()
2514
2515         * BufferView.h: remove unused declarations
2516
2517 2004-08-14  José Matos  <jamatos@lyx.org>
2518
2519         * Buffer.[Ch] (readDocument): new name for old readBody.
2520         * Buffer.C: new file format, new keywords: \begin_document,
2521         \begin_header, \begin_body, \end_body.
2522
2523         * bufferparams.C (readToken): replace all calls to lex.nextToken
2524         by lex.next(). Do the same to eatLine except where really needed.
2525
2526         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2527         line when writing to the lyx file.
2528
2529         * output_plaintext.C (asciiParagraph): fix Bibliography style
2530         handling.
2531
2532         * text.C (read): fix end of file handling.
2533
2534 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2535
2536         * MenuBackend.C (Menu::operator[]): new method to access
2537         individual menu items
2538         (Menu::hasFunc): new method. search for an item that corresponds
2539         to a given func
2540         (MenuBackend::specialMenu): new method
2541         (MenuBackend::expand): if a special menu has been set, skip
2542         entries whose func() appears in this menu
2543
2544 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2545
2546         * text3.C: use Debug::DEBUG a bit more
2547
2548         * text.C (leftMargin): try to simplify a tiny bit change var x to
2549         l_margin. Dont output the wide margins always.
2550         (rightMargin): no margin in inner texts
2551
2552         * rowpainter.h (nestMargin): new func
2553         (changebarMargin): new func
2554         (rightMargin): new func
2555
2556         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2557         now functions.
2558         (paintLast): ditto
2559
2560         * factory.C (createInset): modify setDrawFrame
2561
2562         * cursor.C: use Debug::DEBUG a bit more
2563
2564 2004-08-14  André Pönitz  <poenitz@gmx.net>
2565
2566         * coordcache.[Ch]:
2567         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2568         cache for all insets in (at least partially) visible (top-level)
2569         paragraphs.
2570
2571         * BufferView_pimpl.C: reset external coord cache before every update.
2572         This means the coord cache only contains valid entries.
2573
2574 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2575
2576         bug 1096
2577         * BufferView_pimpl.C (getInsetByCode): move function out of class
2578         and change in to a template in anon namespace. Also fix to do what
2579         suits us better.
2580
2581 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2582
2583         bug 1305
2584         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2585         of char
2586         (breakParagraph): rename par to par_offset and use a local
2587         reference. Add code to keep the language over a rebreak.
2588         (breakParagraphConservative): rename par to par_offset, use a
2589         local reference
2590         (mergeParagraph): ditto
2591         (outerHook): ditto
2592         (isFirstInSequence): ditto
2593         (outerFont): rename pit to par_offset
2594
2595         * paragraph.C: ws change
2596         * paragraph.h: ditto
2597         * text3.C: ditto
2598         * text.C: ditto
2599
2600 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2601
2602         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2603         treatment for ']'
2604
2605         * paragraph.C (simpleTeXOnePar): when we have a \item with
2606         optional argument, enclose the argument with curly brackets (in
2607         case it contains a closing square bracket)
2608
2609         * text2.C (editXY):
2610         * text2.C (editXY):
2611         * text3.C (checkInsetHit): constify
2612
2613 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2614
2615         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2616         documents (bug 1629)
2617
2618 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2619
2620         Fix toggling of collapsable insets with the mouse (bug 1558)
2621
2622         * lyxfunc.C (dispatch): adapt to LCursor changes
2623
2624         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2625         make sure that dispatch is not invoked twice
2626
2627         * cursor.C (needsUpdate): new method
2628         (dispatch): return void
2629         (result): new method, to access the DispatchResult of the cursor.
2630
2631 2004-08-13  José Matos  <jamatos@lyx.org>
2632
2633         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2634
2635 2004-08-13  André Pönitz  <poenitz@gmx.net>
2636
2637         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2638
2639         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2640           multiple cells
2641
2642 2004-08-12  André Pönitz  <poenitz@gmx.net>
2643
2644         * text3.C: take out the 'cursor right' form insertInset and only
2645         do it in those places when it is really needed. Fixes crash on
2646         C-m...
2647
2648 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2649
2650         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2651
2652         * BufferView_pimpl.C (setBuffer): initialize the current font of
2653         the underlying LyXText
2654
2655 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2656
2657         * kbsequence.C (print): use UI native formatting for menu
2658         shortcuts
2659
2660         * text.C (insertChar): call Paragraph::insertChar with a font
2661         argument (cosmetic)
2662
2663         * paragraph.C (insertInset, insertChar): the version that takes a
2664         LyXFont argument is now a wrapper around the other one (the
2665         opposite used to be true).
2666
2667         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2668         argument. Font setting is done in Paragraph now.
2669
2670 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2671
2672         * outputparams.h: add new members intitle and lang.
2673
2674         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2675         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2676
2677 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2678
2679         * text3.C (dispatch): remove special handling of button 4 and 5,
2680         it is now taken care of in the frontend code.
2681
2682 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2683
2684         * Spacing.h: add <string> (STLPort compile fix)
2685
2686 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2687
2688         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2689
2690 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2691
2692         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2693         to bool.
2694
2695         * converter.C (showMessage): inherit from unary_function, make
2696         operator() const.
2697
2698         * buffer.C (writeFile): initialize retval
2699
2700         * InsetList.h: rename private variable list to list_
2701         * InsetList.[Ch]: adjust accordingly.
2702
2703 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2704
2705         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2706         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2707         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2708         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2709         * ParagraphParameters.C, LaTeXFeatures.C: replace
2710         "support/std_sstream.h" with <sstream>
2711
2712 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2713
2714         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2715         * lyxsocket.C (LyXServerSocket): ditto
2716         (serverCallback): ditto
2717
2718 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2719
2720         * LaTeXFeatures.C: check release date when loading jurabib.
2721
2722 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2723
2724         * lyxserver.C (startPipe): call register_socket_callback
2725         (endPipe): call unregister_socket_callback
2726
2727 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2728
2729         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2730         (LyXServerSocket): register the callback
2731         (LyXServerSocket): unregister the callback
2732         (fd): delete function
2733         (serverCallback): improve error checking and setup the callbacks.
2734         (dataCallback): change arg to fd.
2735         (writeln): new func (copied fro the client socket) used for server
2736         write to client.
2737         (LyXDataSocket): simplify
2738         (~LyXDataSocket): close ann unregiser callback
2739         (server): delete function
2740         (fd): delete function
2741         (readln): small changes, improve some std::string usage
2742         (writeln): constify a bit
2743
2744 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2745
2746         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2747         Qt frontend
2748
2749 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2750
2751         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2752         after it has been populated
2753
2754 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2755
2756         * text2.C (insertInset): move cursor when inserting inset.
2757
2758 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2759
2760         * kbmap.C (findbindings): a couple of new methods. returns a
2761         container of kb_sequence objects. The real work is done by the
2762         private recursive version
2763         (printbindings): uses findbindings to print out a bracketed list
2764         of bindings (renamed from findbinding).
2765
2766         * MenuBackend.C (binding): use kb_keymap::findbindings
2767
2768         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2769
2770 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2771
2772         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2773
2774 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2775
2776         * paragraph.C (isWord): return true on insets that report
2777         isLetter().
2778
2779         * text.C (getWord): use Paragraph::isWord to decide what is in a
2780         word and what is not; fix bug 1609.
2781
2782 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2783
2784         * tex-strings.C: add "none" to string_paperpackages[], fixes
2785         off-by-one-error in the paperpackage selection.
2786
2787         * lyxlex.[Ch]:
2788         * tex-strings.[Ch]: char const * string[n]
2789         -> char const * const string[]
2790
2791 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2792
2793         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2794         command, return early.
2795
2796 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2797
2798         * debug.h: add DEBUG to enum and fix size of ANY.
2799
2800         * debug.C: add support for Debug::DEBUG
2801         (showTags): cast errorTags.level to unsigned int
2802
2803         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2804         (redoCurrentBuffer): ditto
2805         (updateScrollbar): ditto
2806         * cursor.C (dispatch): ditto
2807         * text2.C (setLayout): ditto
2808         (setFont): ditto
2809         (updateCounters): ditto
2810         (editXY): ditto
2811         (deleteEmptyParagraphMechanism): ditto
2812
2813 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2816         annotations to cleanup the Makefile slightly.
2817
2818 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2819
2820         * lyxrc.C: do not set user_email to a default value but use empty
2821         instead. The entry used to be translated, which does not work
2822         since at the point where lyxrc is constructed there is no
2823         translation service available
2824
2825         * messages.C (getLocaleDir): remove and use directly
2826         lyx_localedir() instead
2827
2828 2004-06-02  Angus Leeming  <leeming@lyx.org>
2829
2830         Fix crash caused by dereferencing null pointer 'exportdata' in
2831         OutputParams by creating a new ExportData variable on the heap,
2832         storing it in a boost::shared_ptr.
2833         The crash was triggered when generating an Instant Preview
2834         of an external inset.
2835
2836         * Makefile.am: add outputparams.C
2837
2838         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2839         (c-tor): allocate memory to it.
2840
2841         * exporter.C (c-tor): associated changes.
2842
2843 2004-06-01  Angus Leeming  <leeming@lyx.org>
2844
2845         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2846         contains data before calling isInset(0). (Bug 1513.)
2847
2848 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2849
2850         * exporter.C (checkOverwrite): new method
2851         * exporter.C (copyFile): new method
2852         * exporter.C (Export): copy referenced files to the document dir
2853         * exporter.[Ch]: new class ExportedFile
2854         * exporter.[Ch]: new class ExportData. Contains currently the
2855         names of referenced external files
2856         * outputparams.h: add exportdata member.
2857
2858 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2859
2860         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2861         version.C-tmp
2862
2863 2004-05-19  Angus Leeming  <leeming@lyx.org>
2864
2865         * LaTeXFeatures.C:
2866         * ToolbarBackend.C:
2867         * bufferparams.C:
2868         * lyxfunc.C: small changes due to the introduction of namespace
2869         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2870
2871 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2872
2873         * text3.C (dispatch): supress update when only moving the cursor
2874         * cursor.C (selHandle): remove commented code
2875
2876 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2877
2878         * paragraph.C (startTeXParParams): correct column count
2879         * CutAndPaste.C (pasteSelection): remove const_cast
2880         * output_docbook.C (docbookParagraphs): remove const_cast
2881         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2882         const_cast and return ParagraphList::const_iterator
2883         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2884         * output_plaintext.C (writeFileAscii): remove const_cast
2885         * paragraph.[Ch] (simpleTeXOnePar): make const
2886         * paragraph_funcs.C (outerPar): use const iterators
2887         * paragraph_pimpl.C (validate): use const iterators
2888         * text.C (setHeightOfRow): use const iterators
2889
2890 2004-05-17  Angus Leeming  <leeming@lyx.org>
2891
2892         * lfuns.h:
2893         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2894
2895         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2896         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2897         if the citation engine has changed.
2898
2899 2004-05-14  José Matos  <jamatos@lyx.org>
2900
2901         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2902         if the textclass does not provide it. Have it different for sgml and
2903         xml.
2904         support the language of document.
2905         * output_docbook.C (docbookParagraphs):
2906         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2907         first anchor as the id of the paragraph, remove special case code.
2908         * sgml.C (escapeChar): escape only < & >.
2909
2910 2004-05-14  Angus Leeming  <leeming@lyx.org>
2911
2912         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2913         dependencies on src/frontends/controllers/biblio.h. Define a
2914         CiteEngine_enum wrapper class to enable the enum to be forward
2915         declared.
2916
2917 2004-05-12  Angus Leeming  <leeming@lyx.org>
2918
2919         * buffer.C: up LYX_FORMAT to 234.
2920         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2921         use_numerical_citations with a single biblio::CiteEngine cite_engine
2922         variable.
2923         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2924
2925 2004-05-13  José Matos  <jamatos@lyx.org>
2926
2927         * converter.h:
2928         * converter.C (Converter, readFlags): add xml member.
2929         * outputparams.h: add XML flavor.
2930         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2931
2932 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2933
2934         * lyxfunc.C (dispatch):
2935         (getStatus): fix handling of LFUN_SEQUENCE
2936
2937 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2938
2939         * debug.C (showLevel): do not forget the end-of-line marker
2940
2941 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2942
2943         * kbmap.C (read): do not stop parsing a bind file when an error
2944         occurs (bug 1575)
2945
2946 2004-04-29  Angus Leeming  <leeming@lyx.org>
2947
2948         * cursor.C:
2949         * factory.C:
2950         * pariterator.C:
2951         * text2.C: wrap a bunch of #warning statements
2952         inside #ifdef WITH_WARNINGS blocks.
2953
2954 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2955
2956         * buffer.C: increment format to 233.
2957
2958 2004-04-28  Angus Leeming  <leeming@lyx.org>
2959
2960         * BufferView_pimpl.C:
2961         * lyxfunc.C:
2962         * text3.C:
2963         s/updateToolbar()/updateToolbars()/
2964         s/Toolbar.h/Toolbars.h/
2965
2966 2004-04-28  Angus Leeming  <leeming@lyx.org>
2967
2968         * BufferView.[Ch] (c-tor):
2969         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2970         No longer passes these data to the WorkArea generator.
2971
2972 2004-04-28  Angus Leeming  <leeming@lyx.org>
2973
2974         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2975
2976 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2977
2978         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2979
2980 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * output_latex.C (TeXEnvironment): make sure that there is a line
2983         break before \end{foo} for the last paragraph of a document
2984         (TeXOnePar): if the paragraph is at the end of the document (or
2985         inset) and the language has to be reset, then make sure that the
2986         line break is _before_ the language command, not after (fixes bug
2987         1225); also make sure that the language reset command is the first
2988         thing after the paragraph (to ensure proper nesting of
2989         environments and thus fix bug 1404)
2990
2991 2004-04-21  John Levon  <levon@movementarian.org>
2992
2993         * ToolbarBackend.h:
2994         * ToolbarBackend.C: make "name" be a programmatic name
2995         and a gui_name field.
2996
2997         * lyxfunc.C: display the minibuffer on M-x
2998
2999 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3000
3001         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3002         (bug 1526)
3003
3004 2004-04-19  Angus Leeming  <leeming@lyx.org>
3005
3006         * BufferView_pimpl.C (setBuffer): changed preview interface.
3007
3008         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3009         possible values.
3010
3011 2004-04-19  John Levon  <levon@movementarian.org>
3012
3013         * BufferView_pimpl.C:
3014         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3015
3016 2004-04-05  Angus Leeming  <leeming@lyx.org>
3017
3018         * text.C (redoParagraphs): add call to updateCounters(), thereby
3019         fixing the missing "Figure #:" label from the caption of a
3020         figure float.
3021
3022 2004-04-13  Angus Leeming  <leeming@lyx.org>
3023
3024         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3025         cursor is clicked out of an inset.
3026
3027 2004-04-13  Angus Leeming  <leeming@lyx.org>
3028
3029         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3030         than an InsetOld one.
3031
3032 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3033
3034         * format.[Ch]: add editor to Format
3035         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3036         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3037
3038 2004-04-08  André Pönitz  <poenitz@gmx.net>
3039
3040         * metricsinfo.h: remove PainterInfo::width member
3041
3042 2004-04-08  Angus Leeming  <leeming@lyx.org>
3043
3044         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3045         "\providecommand" rather than "\newcommand", thereby preventing
3046         clashes with packages that define "\boldsymbol" themselves.
3047         Eg, beamer.
3048
3049 2004-04-08  Angus Leeming  <leeming@lyx.org>
3050
3051         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3052         thereby squashing an unnecessary warning.
3053
3054 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3055
3056         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3057         setBuffer()
3058
3059 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3060
3061         * BufferView.C (setCursor): call redoParagraph (some insets could
3062         have been opened)
3063         (putSelectionAt): remove the 'double update' trick
3064
3065         * BufferView_pimpl.C (fitCursor): call refreshPar
3066         (workAreaDispatch): remove an uneeded update call
3067         (dispatch): remove some manual update calls
3068
3069         * cursor.[Ch]: remove cached_y_, updatePos
3070         (selHandle): set noUpdate when appropriate
3071
3072         * lyxfunc.C (dispatch): track if we need an update
3073
3074         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3075
3076         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3077         (paintSelection): cheap optimization, do not call cursorX when not
3078         needed
3079         (paintPars): change signature
3080         (refreshPar): add
3081         (paintText): adjust
3082         (paintTextInset): adjust
3083
3084         * text.C: adjust
3085
3086 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3087
3088         * lengthcommon.C: compilation fix: remove explicit array size from
3089         unit_name[] and friends
3090
3091 2004-04-05  Angus Leeming  <leeming@lyx.org>
3092
3093         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3094
3095         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3096         present only for the preferences dialog.
3097         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3098
3099 2004-04-05  Angus Leeming  <leeming@lyx.org>
3100
3101         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3102         to enable the frontends to export changes to lyxrc correctly.
3103
3104         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3105
3106 2004-04-07  André Pönitz  <poenitz@gmx.net>
3107
3108         * cursor.[Ch] (selClear, adjust): remove math
3109
3110         * cursor_slice.C: more agressive assert
3111
3112         * lyxfunc.C:
3113         * BufferView_pimpl.C: rework mouse event dispatch
3114
3115         * dociterator.C:
3116         * paragraph.C:
3117         * text2.C:
3118         * text3.C: adjust
3119
3120 2004-04-05  André Pönitz  <poenitz@gmx.net>
3121
3122         * cursor.[Ch] (valign, halign...): remove unneeded functions
3123
3124 2004-04-05  Angus Leeming  <leeming@lyx.org>
3125
3126         * lyxlength.[Ch] (unit_name et al.): const-correct.
3127
3128 2004-04-05  Angus Leeming  <leeming@lyx.org>
3129
3130         * BufferView_pimpl.C:
3131         * buffer.C:
3132         * counters.C:
3133         * cursor.C:
3134         * lyxfunc.C
3135         * paragraph.C:
3136         * pariterator.C:
3137         * text.C:
3138         * text2.C:
3139         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3140
3141 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3142
3143         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3144
3145 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3146
3147         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3148         * BufferView_pimpl.[Ch] (getStatus)
3149         * BufferView.[Ch] (getStatus): add
3150         * lyxfunc.C (getStatus): move lfuns handled in
3151         BufferView::dispatch to te function above
3152         * Cursor.C (setSelection): set selection() = true
3153
3154 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3155
3156         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3157
3158 2004-03-31  Angus Leeming  <leeming@lyx.org>
3159
3160         * lyxfunc.C (dispatch): Fall through to the generic
3161         Dialogs::show("preamble").
3162
3163 2004-03-31  Angus Leeming  <leeming@lyx.org>
3164
3165         * lyxfunc.C (dispatch): Fall through to the generic
3166         Dialogs::show("spellchecker").
3167
3168 2004-03-31  Angus Leeming  <leeming@lyx.org>
3169
3170         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3171         preferences dialog.
3172
3173 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3174
3175         * BufferView.C
3176         * cursor.[Ch]
3177         * dociterator.[Ch]:
3178         * insetiterator.[Ch]:
3179         * lyxfind.C:
3180         * lyxfunc.C:
3181         * pariterator.[Ch]:
3182         * text2.C:
3183         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3184
3185 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3186
3187         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3188         insets where we are putting the cursor.
3189
3190 2004-03-31  Angus Leeming  <leeming@lyx.org>
3191
3192         * lfuns.h:
3193         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3194
3195         * lyxrc.[Ch] (read, write): overloaded member functions taking
3196         a std::[io]stream arguments.
3197
3198         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3199
3200 2004-03-31  Angus Leeming  <leeming@lyx.org>
3201
3202         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3203         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3204
3205         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3206         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3207
3208 2004-03-31  Angus Leeming  <leeming@lyx.org>
3209
3210         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3211         the LFUN_ALL_INSETS_TOGGLE code.
3212
3213 2004-03-30  Angus Leeming  <leeming@lyx.org>
3214
3215         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3216         has died. Fall through to the generic Dialogs::show("document").
3217
3218 2004-03-30  Angus Leeming  <leeming@lyx.org>
3219
3220         * lfuns.h:
3221         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3222         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3223
3224         * lyxfunc.C (getStatus, dispatch): define the actions for these
3225         lfuns. Little more than a cut and pste job from ControlDocument.C
3226
3227         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3228
3229 2004-03-30  Angus Leeming  <leeming@lyx.org>
3230
3231         * lfuns.h:
3232         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3233         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3234
3235         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3236         open/closed state of ollapsable insets. Usage:
3237
3238         all-inset-toggle <state> <name>, where
3239         <state> == "open" || "closed" || "toggle" and
3240         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3241
3242         * lyxtext.h, text2.C (toggleInset): removed.
3243
3244         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3245         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3246         now passes LFUN_INSET_TOGGLE to the found inset.
3247
3248         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3249         is now invoked as "all-insets-toggle toggle branch".
3250
3251 2004-03-30  Angus Leeming  <leeming@lyx.org>
3252
3253         * dociterator.C:
3254         * insetiterator.C:
3255         * pariterator.[Ch]: added/corrected header blurb.
3256
3257 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3258
3259         * dociterator.[Ch]: add an inset_ member
3260         (backwardPos): implemented
3261         (backwardPos, forwardPos): use inset_ when the stack is empty.
3262         (doc_iterator_begin, doc_iterator_end): implemented
3263         * pariterator.[Ch]: adjust, add begin, end
3264         * insetiterator.[Ch]: adjust, add begin, end
3265         * cursor.C:
3266         * document.C:
3267         * BufferView.C:
3268         * BufferView_pimpl.C:
3269         * CutAndPaste.C: adjust
3270
3271 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3272
3273         * buffer.C: increment file format to 232.
3274         * LaTeXFeatures.C: add bibtopic package.
3275         * bufferparams.[Ch]: param \use_bibtopic.
3276
3277         * lyxrc.[Ch]: add lyxrc bibtex_command
3278         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3279
3280         * buffer.C: increment file format to 231.
3281
3282 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3283
3284         * dociterator.C: implement forwardPar
3285         * iterators.[Ch]: remove, replaced by
3286         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3287         * BufferView.C:
3288         * BufferView_pimpl.C:
3289         * CutAndPaste.C:
3290         * buffer.C:
3291         * bufferview_funcs.C:
3292         * cursor.C:
3293         * lyxfind.C
3294         * lyxfunc.C
3295         * paragraph_funcs.C
3296         * toc.C:
3297         * Makefile.am: adjust
3298
3299 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3300
3301         * CutAndPaste.C (pasteSelection): fix 2 crashes
3302         (eraseSelection): fix a crash
3303         * paragraph_funcs.C: remove a warning
3304
3305 2004-03-28  Angus Leeming  <leeming@lyx.org>
3306
3307         * lfuns.h:
3308         * LyXAction.C (init): new LFUN_PRINT.
3309
3310         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3311
3312 2004-03-27  Angus Leeming  <leeming@lyx.org>
3313
3314         * lfuns.h:
3315         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3316
3317         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3318
3319 2004-03-27  Angus Leeming  <leeming@lyx.org>
3320
3321         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3322         insetlist always contains non-null pointers to insets.
3323
3324 2004-03-26  Angus Leeming  <leeming@lyx.org>
3325
3326         * src/BufferView_pimpl.C:
3327         * src/CutAndPaste.C:
3328         * src/buffer.C:
3329         * src/iterators.C:
3330         * src/output_plaintext.C:
3331         * src/outputparams.h:
3332         * src/paragraph_funcs.C:
3333         * src/rowpainter.C:
3334         * src/text.C:
3335         * src/text2.C:
3336         * src/frontends/controllers/ControlErrorList.C:
3337         * src/frontends/gtk/FileDialogPrivate.C:
3338         * src/frontends/gtk/GPainter.C:
3339         * src/frontends/gtk/GToolbar.C:
3340         * src/frontends/qt2/QRef.C:
3341         * src/mathed/math_scriptinset.C: squash compiler warnings.
3342
3343 2004-03-26  Angus Leeming  <leeming@lyx.org>
3344
3345         * ispell.C (LaunchIspell::start):
3346         * lyx_cb.C (AutoSaveBuffer::start):
3347         invoke run(DontWait) rather than runNonBlocking().
3348
3349 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3352
3353 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3354
3355         * kbsequence.C (print): adjust
3356
3357         * kbmap.C (printKeySym): rename and change signature
3358         (printKey): use LyXKeySym::print()
3359
3360 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3361
3362         * undo.C: add using std::advance to compile for stlport
3363
3364 2004-03-24  Angus Leeming  <leeming@lyx.org>
3365
3366         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3367         it leads to a crash when no buffer is present.
3368
3369 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3370             Martin Vermeer  <martin.vermeer@hut.fi>
3371
3372         * lyxfunc.C (dispatch):
3373         * bufferparams.C (readToken): use the new LColor::setColor
3374
3375         * LColor.[Ch] (setColor): new version that takes two strings as
3376         argument and creates a new color entry if necessary
3377
3378 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3379
3380         * buffer.C (makeLaTeXFile): if the main latex file that is
3381         processed is usually a subdocument of some master, then pretend
3382         for a while that it is actually the master
3383
3384 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3385
3386         * buffer.C (getLabelList):
3387         (getBibkeyList): use getMasterBuffer()
3388         (getMasterBuffer): new method. Returns the main document in the
3389         case where one is using included documents.
3390
3391 2004-03-25  André Pönitz  <poenitz@gmx.net>
3392
3393         * Makefile.am:
3394         * iterators.[Ch]:
3395         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3396
3397         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3398
3399         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3400         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3401
3402         * ParameterStruct.h: merge with ParagraphParameters
3403
3404         * lyxtext.h: remove LyXText::parOffset() and getPar()
3405
3406         * text3.C: Remove all 'manual' update calls. We do now one per user
3407         interaction which is completely sufficient.
3408
3409         * Bidi.C:
3410         * BufferView.[Ch]:
3411         * BufferView_pimpl.C:
3412         * FontIterator.[Ch]:
3413         * MenuBackend.C:
3414         * ParagraphParameters.[Ch]:
3415         * buffer.C:
3416         * buffer.h:
3417         * bufferlist.C:
3418         * cursor.[Ch]:
3419         * cursor_slice.[Ch]:
3420         * dociterator.[Ch]:
3421         * errorlist.[Ch]:
3422         * factory.C:
3423         * lfuns.h:
3424         * lyxfind.C:
3425         * lyxfunc.C:
3426         * output_docbook.[Ch]:
3427         * output_latex.[Ch]:
3428         * output_linuxdoc.[Ch]:
3429         * output_plaintext.[Ch]:
3430         * paragraph.[Ch]:
3431         * paragraph_funcs.[Ch]:
3432         * paragraph_pimpl.[Ch]:
3433         * rowpainter.C:
3434         * tabular.[Ch]:
3435         * text.C:
3436         * text2.C:
3437         * toc.C:
3438         * undo.[Ch]: adjust
3439
3440         * frontends/controllers/ControlDocument.C:
3441         * frontends/controllers/ControlErrorList.C:
3442         * frontends/controllers/ControlSpellchecker.C:
3443         * insets/inset.C:
3444         * insets/inset.h:
3445         * insets/insetbase.h:
3446         * insets/insetbibitem.C:
3447         * insets/insetbox.C:
3448         * insets/insetbranch.C:
3449         * insets/insetcaption.C:
3450         * insets/insetcharstyle.C:
3451         * insets/insetcharstyle.h:
3452         * insets/insetcollapsable.C:
3453         * insets/insetcollapsable.h:
3454         * insets/insetert.C:
3455         * insets/insetfloat.C:
3456         * insets/insetfoot.C:
3457         * insets/insetmarginal.C:
3458         * insets/insetnote.C:
3459         * insets/insetoptarg.C:
3460         * insets/insettabular.C:
3461         * insets/insettext.C:
3462         * insets/insettext.h:
3463         * insets/insetwrap.C:
3464         * mathed/math_mboxinset.C:
3465         * mathed/math_nestinset.C:
3466         * mathed/math_scriptinset.C:
3467         * mathed/math_scriptinset.h:
3468         * support/types.h:
3469
3470 2004-03-24  Angus Leeming  <leeming@lyx.org>
3471
3472         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3473         deal with any child processes that have finished but are waiting to
3474         communicate this fact to the rest of LyX.
3475
3476 2004-03-24  Angus Leeming  <leeming@lyx.org>
3477
3478         64-bit compile fixes.
3479
3480         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3481         (c-tor): pass lyx::pos_types rather than ints.
3482
3483         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3484         lyx::pos_type.
3485
3486         * text.C (Delete): compile fix.
3487         (getPar): ensure that function declaration is the same as that in
3488         the header file.
3489
3490 2004-03-23  Angus Leeming  <leeming@lyx.org>
3491
3492         * ispell.C (LaunchIspell):
3493         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3494         a boost::shred_ptr rather than a std::auto_ptr.
3495
3496 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3497
3498         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3499         handle LFUN_FILE_INSERT_*
3500
3501         * lyxrc.C (setDefaults, getDescription, output, read):
3502         * lyxrc.h: remove ps_command
3503
3504 2004-03-22  Angus Leeming  <leeming@lyx.org>
3505
3506         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3507         Ensure that error_handler is processed once only and that all data
3508         is saved before attempting to output any warning messages.
3509
3510         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3511
3512 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3513
3514         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3515
3516 2004-03-19  André Pönitz  <poenitz@gmx.net>
3517
3518         * cursor.[Ch] (reset): take main text inset as argument
3519
3520         * BufferView: adjust
3521         * BufferView_pimpl.C: adjust
3522
3523         * paragraph.[Ch]: fix completely broken operator=()
3524
3525 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3526
3527         * LColor.C (getFromLyXName): make sure that the color name is used
3528         as lowercase.
3529
3530 2004-03-17  Angus Leeming  <leeming@lyx.org>
3531
3532         * lfuns.h:
3533         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3534
3535         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3536         dialog and to kill a forked process.
3537
3538 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3539
3540         * text2.C (setCursorFromCoordinates): fix font problem
3541
3542 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3543
3544         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3545         bogus "rebuild cursor" code
3546
3547 2004-03-11  André Pönitz  <poenitz@gmx.net>
3548
3549         * buffer.[Ch]: use InsetText instead of LyXText as container for
3550         the main lyx text.
3551
3552         * dociterator.[Ch]: drop the BufferView * member which is not needed
3553         anymore after the change to buffer.C
3554
3555         * paragraph_funcs.C:
3556         * text.C:
3557         * text2.C:
3558         * BufferView.[Ch]:
3559         * BufferView_pimpl.[Ch]:
3560         * cursor.[Ch]:
3561         * cursor_slice.[Ch]: adjust
3562
3563         * text3.C: fix bug in mathDispatch
3564
3565 2004-03-08  André Pönitz  <poenitz@gmx.net>
3566
3567         * undo.[Ch]: use 'StableDocumentIterator' as base for
3568         the Undo struct.
3569
3570 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3571
3572         * LaTeXFeatures.C:
3573         * bufferparams.[Ch]: add jurabib support and param.
3574
3575         * LaTeX.C: add FIXME/comment.
3576
3577 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3578
3579         * buffer.C: increment file format to 230.
3580
3581 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3582
3583         * cursor.C (dispatch): avoid infinite loops
3584
3585 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3586
3587         * rowpainter.C (paintSelection): fix x coordinates
3588
3589 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3590
3591         * text.C (rowBreakPoint): fix breaking before displayed insets
3592
3593 2004-03-01  André Pönitz  <poenitz@gmx.net>
3594
3595         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3596
3597         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3598
3599         * Makefile.am:
3600         * BufferView.C:
3601         * BufferView_pimpl.C:
3602         * buffer.C:
3603         * lyxfind.C:
3604         * lyxfunc.C:
3605         * text.C:
3606         * text2.C:
3607         * text3.C: adjust
3608
3609 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3610
3611         * lyxtext.h:
3612         * text.C:
3613         * text2.C:
3614         * rowpainter.C:
3615         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3616         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3617
3618 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3619
3620         * Bidi.[Ch] (computeTables): const correctness
3621         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3622         fill_hfill, fill_label_hfill and x from Row
3623         * lyxtext.h: prepareToPrint returns a RowMetrics
3624         * rowPainter.C: adjust
3625         * text.C (prepareToPrint): use width, not textWidth. adjust
3626         (redoParagraphInternal, cursorX): adjust
3627         * text2.C (getColumnNearX): adjust
3628         (init): put a default value to the top LyXText::width
3629
3630 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3631
3632         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3633
3634 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3635
3636         * lyxtext.h: add FontIterator class
3637
3638         * text.C (FontIterator, operator*, operator->, operator++): add
3639         (rowBreakPoint, setRowWidth): adjust (fixing a
3640         rebreaking bug)
3641
3642 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3643
3644         * BufferView_pimpl.C (workAreaDispatch): allow also
3645         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3646
3647 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3648
3649         * text.C (rowBreakPoint): fix a bug showing with very large insets
3650
3651 2004-02-25  André Pönitz  <poenitz@gmx.net>
3652
3653         * text3.C:
3654         * cursor.[Ch]: move some mathed specific code to mathed
3655
3656 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3657
3658         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3659         use_tempdir in preferences
3660         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3661         tempfile creation
3662         * lyx_main.C: ensure that tempdir is valid
3663         * lyxlex.h: correct typo
3664         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3665         * paragraph.[Ch] (isMultiLingual): make const
3666         * cursor.[Ch] (openable): make const
3667
3668 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3669
3670         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3671
3672 2004-02-20  André Pönitz  <poenitz@gmx.net>
3673
3674         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3675
3676         * cursor.[Ch]: prepare for localized getStatus()
3677
3678         * lyxtext.h:
3679         * tabular.C:
3680         * text.C:
3681         * text2.C:
3682         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3683
3684 2004-02-20  André Pönitz  <poenitz@gmx.net>
3685
3686         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3687
3688 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3689
3690         * text2.C (setCursorFromCoordinates): switch to absolute coords
3691         (cursorUp): adjust
3692         (cursorDown): adjust
3693         * text3.C (dispatch): adjust
3694
3695 2004-02-16  André Pönitz  <poenitz@gmx.net>
3696
3697         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3698           insets/ChangeLog)
3699
3700         * cursor_slice.[Ch]: remove unneeded acessor function
3701
3702         * lyxtext.h: rename rtl() to isRTL()
3703
3704         * rowpainter.C:
3705         * tabular.C:
3706         * text.C:
3707         * text2.C:
3708         * text3.C: adjust
3709
3710 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3711
3712         * rowpainter.C (paintSelection): coord fix
3713
3714 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3715
3716         * Spacing.C: compile fix
3717
3718 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3719
3720         * cursor.C (dispatch): restore current_ before returning
3721
3722 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3723
3724         * text2.C (cursorUp, cursorDown): fix coords
3725         (moveUp): fix crash
3726
3727 2004-02-12  André Pönitz  <poenitz@gmx.net>
3728
3729         * lyxtext.h:
3730         * text.C:
3731         * text2.C:
3732         * text3.C: add LCursor & parameter to most cursor movement functions
3733           remove usage of LyXText::cursorRow() and cursorPar()
3734
3735         * cursor.[Ch]: add textRow() needed members
3736
3737         * BufferView.C:
3738         * BufferView_pimpl.C:
3739         * paragraph.[Ch]:
3740         * BufferView.C:
3741         * BufferView_pimpl.C: adjust
3742
3743 2004-02-11  André Pönitz  <poenitz@gmx.net>
3744
3745         * lyxfunc.C:
3746         * BufferView.[Ch]:
3747         * BufferView_pimpl.C: shift undo/redo handling
3748
3749         * cursor.[Ch]: fix mathed crash
3750
3751         * lyxfind.C:
3752         * lyxtext.h: move selectionAsText to LCursor
3753
3754         * output_latex.C:
3755         * paragraph.C:
3756         * text.C:
3757         * text2.C:
3758         * text3.C: adjust
3759
3760         * rowpainter.C: fix excessive drawing
3761
3762 2004-02-06  André Pönitz  <poenitz@gmx.net>
3763
3764         * BufferView.[Ch]:
3765         * BufferView_pimpl.[Ch]:
3766         * text3.C: move some text specific LFUN handling
3767
3768 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3769
3770         * text3.C (checkInsetHit): adjust coords
3771         * text2.C (getColumnNearX): adjust coords
3772         (edit): adjust coords
3773         * text.C (getRowNearY): add two asserts
3774
3775 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3776
3777         * converter.C:
3778         * format.C: add using std::distance to compile on gcc 2.95/stlport
3779
3780 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3781
3782         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3783
3784 2004-02-04  André Pönitz  <poenitz@gmx.net>
3785
3786         * BufferView.[Ch] (insertInset):
3787         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3788
3789         * text2.C:
3790         * text3.C: adjust
3791
3792 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3793
3794         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3795         on the default clause of the switch
3796         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3797         wasn't catched by LCursor::dispatch
3798
3799 2004-02-03  André Pönitz  <poenitz@gmx.net>
3800
3801         * BufferView.C:
3802         * cursor.[Ch]: some additional asserts
3803
3804         * undo.[Ch]: remove LyXText dependency in interface
3805
3806         * lyxfunc.C: adjust
3807
3808         * lyxtext.h (firstPar, lastPar): remove dead functions
3809
3810         * text.C:
3811         * text2.C:
3812         * text3.C:
3813         * paragraph.[Ch]: adjust
3814
3815 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3816
3817         * lyxfind.C (find): fix argument order in call to ::find
3818
3819 2004-02-02  André Pönitz  <poenitz@gmx.net>
3820
3821         * cursor.[Ch]: remove direct access to anchor
3822
3823         * text.C: remove findText() hack
3824
3825 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3826
3827         * iterators.[Ch] (lockPath): remove in favour of...
3828         * BufferView.[Ch] (setCursor): this addition
3829         * BufferView.C (putSelectionAt): adjust
3830         * undo.C (performUndoOrRedo): adjust
3831         * lyxfunc.C (dispatch): adjust
3832
3833 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3834
3835         * iterators.C (lockPath): add a missing slice
3836         * undo.C (performUndoOrRedo): remove redundant positioning code
3837
3838 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * vc-backend.C (scanMaster): ";" -> ';'
3841
3842 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3845         std::binary_function
3846
3847         * lyxtextclass.C (compare_name): rename to...
3848         (LayoutNamesEqual): ...this
3849
3850         * lyxlex_pimpl.C (compare_tags): inherit from
3851         std::binary_function, put back into anon namespace
3852
3853         * lyxfind.C (MatchString): inherig from std::binary_function
3854         (findChange): use empty() istead of !size()
3855
3856         * format.C (FormatNamesEqual): new functor
3857         (getFormat): use it
3858         (getNumber): use it
3859         (add): use it
3860         (erase): use it
3861         (setViewer): use it
3862
3863         * converter.C (compare_Converter): rename to...
3864         (ConverterEqual): ...this, and fixup a bit.
3865         (getConverter): use it, and make function const
3866         (getNumber): use it, and make function const
3867         (add): use it
3868         (erase): use it:
3869
3870         * bufferlist.C: add using boost::bind
3871
3872         * MenuBackend.C (MenuNamesEqual): new functor
3873         (hasMenu): use it, and make function const
3874         (hasSubmenu): use nested bind to get rid of compare_memfun.
3875
3876 2004-01-30  André Pönitz  <poenitz@gmx.net>
3877
3878         * BufferView_pimpl.C:
3879         * cursor.C:
3880         * cursor.h:
3881         * cursor_slice.[Ch]:
3882         * lyxfunc.C:
3883         * lyxtext.h:
3884         * paragraph_funcs.C:
3885         * paragraph_funcs.h:
3886         * rowpainter.C:
3887         * text.C:
3888         * text2.C:
3889         * text3.C: move some of the edit(x,y) handling to the insets
3890         some coordinate changes.
3891
3892 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3893
3894         * text.C: add using statements for std::advance and std::distance
3895
3896         * paragraph.C: add using statement for std::distance
3897
3898         * lyxfind.C: add using statement for std::advance
3899
3900         * cursor.C (region): remove std:: from swap
3901         (openable): use nucleus in stead of operator->
3902
3903         * BufferView.C: add using statements for std::distance and std::swap
3904
3905 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * iterators.C: Remove the pimple, move the needed structures to
3908         the header file. Create accessor for the positions stack.
3909         (asPosIterator): remove function
3910
3911         * PosIterator.C (PosIterator): move constructors to top of file
3912         (PosIterator): reimplement the constructor taking a ParIterator in
3913         terms of setFrom.
3914         (setFrom): new function
3915         (operator!=): inline it
3916
3917 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * lyxfind.C (replaceAll): use std::advance
3920
3921         * iterators.h: inherit from std::iterator.
3922
3923         * PosIterator.C (advance, distance): remove
3924         * PosIterator.h: interit from std::iterator.
3925
3926 2004-01-26  André Pönitz  <poenitz@gmx.net>
3927
3928         * BufferView.[Ch]:
3929         * BufferView_pimpl.[Ch]:
3930         * InsetList.[Ch]:
3931         * PosIterator.[Ch]:
3932         * buffer.h:
3933         * bufferview_funcs.C:
3934         * cursor.[Ch]:
3935         * cursor_slice.h:
3936         * factory.[Ch]:
3937         * iterators.[Ch]:
3938         * lyxfind.C:
3939         * lyxfunc.C:
3940         * lyxtext.h:
3941         * output_docbook.C:
3942         * output_latex.C:
3943         * output_linuxdoc.C:
3944         * output_plaintext.C:
3945         * paragraph.[Ch]:
3946         * paragraph_funcs.[Ch]:
3947         * paragraph_pimpl.[Ch]:
3948         * rowpainter.C:
3949         * tabular.C:
3950         * tabular.h:
3951         * text.C:
3952         * text2.C:
3953         * text3.C: more IU:  dumps most of the rest of the mathcursor
3954     implementation into cursor.[Ch]; "globalize" a bit of it.
3955
3956 2004-01-25  Angus Leeming  <leeming@lyx.org>
3957
3958         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3959
3960 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3961
3962         * LaTeXFeatures.h: add nice_ and nice() const
3963         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3964
3965 2004-01-20  André Pönitz  <poenitz@gmx.net>
3966
3967         * BufferView.[Ch]:
3968         * BufferView_pimpl.C:
3969         * PosIterator.C:
3970         * bufferview_funcs.C:
3971         * cursor.[Ch]:
3972         * cursor_slice.[Ch]:
3973         * factory.C:
3974         * iterators.C:
3975         * lyx_cb.C:
3976         * lyxfind.C:
3977         * lyxfunc.C:
3978         * lyxtext.h:
3979         * rowpainter.C:
3980         * text.C:
3981         * text2.C:
3982         * text3.C:
3983         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3984           LCursor and mathcursor parts to LCursor and InsetBase.
3985
3986 2004-01-15  André Pönitz  <poenitz@gmx.net>
3987
3988         * cursor_slice.[Ch]: add a few covienience functions
3989
3990         * funcrequest.[Ch]: remove BufferView * member
3991
3992         * BufferView_pimpl.C:
3993         * cursor.C:
3994         * factory.[Ch]:
3995         * lyxfind.[Ch]:
3996         * lyxfunc.C:
3997         * lyxtext.h:
3998         * text3.C:
3999         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4000
4001 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4002
4003         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4004         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4005
4006 2004-01-13  André Pönitz  <poenitz@gmx.net>
4007
4008         * textcursor.[Ch]:
4009         * lyxtext.h: hide cursor and selection anchor behind accessor function
4010
4011         * BufferView.C:
4012         * BufferView_pimpl.[Ch]:
4013         * PosIterator.C:
4014         * bufferview_funcs.C:
4015         * cursor.h:
4016         * lyxfind.C:
4017         * lyxfunc.C:
4018         * text.C:
4019         * text2.C:
4020         * text3.C:
4021         * undo.C: adjust
4022
4023         * cursor.h:
4024         * cursor_slice.[Ch]: some integer type changes for inset unification
4025
4026         * lyxcursor.[hC]: remove, it's CursorSlice now.
4027
4028         * Makefile.am:
4029         * BufferView_pimpl.[Ch]:
4030         * bufferview_funcs.C:
4031         * cursor_slice.C:
4032         * lyxtext.h:
4033         * text.C:
4034         * text2.C:
4035         * text3.C:
4036         * textcursor.[Ch]: adjust
4037
4038 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4039
4040         * text2.C (undoSpan): add and use
4041         * text.C (breakParagraph): use undoSpan (fix bug 578)
4042         * lyxtext.h: adjust
4043
4044 2004-01-08  Angus Leeming  <leeming@lyx.org>
4045
4046         * BufferView_pimpl.C (MenuInsertLyXFile):
4047         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4048         * lyxfunc.C (menuNew, open, doImport):
4049         FileFilterList change to the FileDialog open and save functions.
4050
4051 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4052
4053         * ShareContainer.h: make isEqual and isUnique adaptable
4054
4055         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4056
4057 2004-01-07  Angus Leeming  <leeming@lyx.org>
4058
4059         * LyXAction.C:
4060         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4061
4062         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4063
4064         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4065         functions replacing find, replace and replaceAll.
4066
4067         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4068         LFUN_WORDFIND(FORWARD|BACKWARD).
4069
4070 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4071
4072         * text.C (breakParagraph): remove an outdated #warning
4073
4074 2004-01-07  André Pönitz  <poenitz@gmx.net>
4075
4076         * lyxfind.C: somewhat clearer logic
4077
4078         * text.C: prevent crash in cursorX on unitialized row cache
4079
4080 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4081
4082         * lyxcursor.[Ch] (operator>): add
4083         * textcursor.C (selStart, selEnd): use std::min and std::max
4084
4085 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * Chktex.C: include boost/format.hpp
4088
4089 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * InsetList.C: replace functor MathcIt with adaptable functor
4092         InsetTablePosLess
4093         (insetIterator): modify accordingly
4094
4095         * BranchList.h: move the BranchNamesEqual functor here from...
4096         * BranchList.C: ... to here
4097
4098         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4099         SameName and match.
4100         (add): replace a finding loop with std::find_if.
4101
4102 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4103
4104         * output_docbook.C: moving LatexParam functionality into
4105         .layout files
4106
4107 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4108
4109         * buffer.C: increment format to 229.
4110
4111 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4112
4113         * LaTeXFeatures.C:
4114         * lyx_sty.[Ch]: remove minipageindent_def
4115
4116         * LyXAction.C:
4117         * factory.C:
4118         * lfuns.h:
4119         * lyxfunc.C:
4120         * text3.C: remove LFUN_INSET_MINIPAGE
4121
4122 2003-12-28  Angus Leeming  <leeming@lyx.org>
4123
4124         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4125
4126 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4127
4128         * text2.C (setParagraph): fix off-by-one crash
4129
4130 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4131
4132         * output_docbook.C: header stuff for AGU
4133
4134 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4135
4136         * text2.C (redoCursor): remove
4137         * text.C:
4138         * text3.C:
4139         * BufferView_pimpl.C: remove calls to redoCursor and
4140         setCursor(cursor.par(), cursor.pos()) all around
4141
4142 2003-12-15  Angus Leeming  <leeming@lyx.org>
4143
4144         * buffer.C: up the format to 228.
4145
4146 2003-12-15  André Pönitz  <poenitz@gmx.net>
4147
4148         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4149         slices
4150
4151         * Makefile.am:
4152
4153         * BufferView_pimpl.C:
4154         * cursor.[Ch]:
4155         * lyxcursor.[Ch]:
4156         * rowpainter.[Ch]:
4157         * lyxtext.h:
4158         * text.C:
4159         * text2.C:
4160         * text3.C: adjust
4161
4162 2003-12-15  Angus Leeming  <leeming@lyx.org>
4163
4164         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4165         than getFromGUIName to manipulate the color.
4166
4167 2003-12-14  Angus Leeming  <leeming@lyx.org>
4168
4169         * BranchList.[Ch]: minimize the API.
4170         (Branch::getBranch, getColor): now return a 'const &'.
4171         (Branch::setSelected) now returns a bool set to true if the
4172         selection status changes.
4173         (BranchList::clear, size, getColor, setColor, setSelected,
4174         allBranches, allSelected, separator): removed.
4175         (BranchList::find): new functions, returning the Branch with
4176         the given name.
4177         (BranchList::add, remove): return a bool indicating that
4178         the operation was successful.
4179
4180         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4181         new InsetBranch::isBranchSlected member function.
4182
4183         * LColor.[Ch]: mimimize the API.
4184         (fill): renamed as addColor and made private.
4185         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4186         versions of these functions taking a string arg have been removed.
4187
4188         * bufferparams.C (readToken):
4189         * lyxfunc.C (dispatch):
4190         * lyxrc.C (read): changes due to the altered BranchList and
4191         LColor APIs.
4192
4193         * factory.C (createInset, readInset): changes due to altered
4194         InsetBranch c-tor.
4195
4196 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4197
4198         * factory.C:
4199         * lyxfunc.C: remove insetminipage. "minipage-insert"
4200         now produces a frameless minipage box inset.
4201
4202 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4203
4204         * textcursor.[Ch] (selStart,selEnd): add new methods
4205         remove selection::start, end, use LyXCursor::operator<
4206         * lyxcursor.[Ch] (operator<): add
4207         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4208         * BufferView.[Ch] (unsetXSel): add
4209         * text2.C (clearSelection): use unsetXSel,adjust
4210         * text.C: adjust
4211         * text3.C: adjust
4212         * rowpainter.C: adjust
4213         * bufferview_funcs.C (put_selection_at): adjust
4214
4215 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4216
4217         * BufferView_pimpl.C: small coord. correction
4218
4219 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4220
4221         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4222         dragging over the splash screen.
4223
4224 2003-12-11  Angus Leeming  <leeming@lyx.org>
4225
4226         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4227         as it is now handled in LyXText::dispatch.
4228
4229         * text3.C (doInsertInset): remove a level of nesting.
4230
4231 2003-12-11  Angus Leeming  <leeming@lyx.org>
4232
4233         * factory.C (createInset): changes due to the changed interface to
4234         InsetCommandMailer::string2params.
4235
4236 2003-12-10  Angus Leeming  <leeming@lyx.org>
4237
4238         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4239         'dialog-show-new-inset <inset name>'
4240
4241 2003-12-10  Angus Leeming  <leeming@lyx.org>
4242
4243         * buffer.C: up the format to 227.
4244
4245         * factory.C: the box inset is now identified simply by 'Box'.
4246
4247 2003-12-10  Angus Leeming  <leeming@lyx.org>
4248
4249         * buffer.C: up the format to 226.
4250
4251         * factory.C: the note inset is now identified simply by 'Note'.
4252
4253 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4254
4255         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4256         when a pit is enough. Standarize a couple of loops.
4257
4258 2003-12-05  Angus Leeming  <leeming@lyx.org>
4259
4260         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4261         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4262         data to the re-worked "log" dialog.
4263
4264 2003-12-03  André Pönitz  <poenitz@gmx.net>
4265
4266         * PosIterator.C:
4267         * iterators.C:
4268         * lyxtext.h:
4269         * output_latex.C:
4270         * paragraph_funcs.C:
4271         * text.C:
4272         * text2.C: use Inset::getText instead of Inset::getParagraph
4273
4274 2003-12-03  André Pönitz  <poenitz@gmx.net>
4275
4276         * buffer.[Ch]:
4277         * lyxtext.h:
4278         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4279         InsetText::read() as LyXText::read()
4280
4281 2003-12-02  Angus Leeming  <leeming@lyx.org>
4282
4283         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4284         type. Add a comment in the implementation that the function uses
4285         the stream's bad() function rather than fail() as the std::streams
4286         would do.
4287
4288 2003-12-02  André Pönitz  <poenitz@gmx.net>
4289
4290         * lyxlex.[Ch]: make interface more similar to std::stream
4291
4292         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4293
4294 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4295
4296         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4297
4298 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4299
4300         * vspace.[Ch]: remove VSpace::NONE
4301
4302 2003-12-01  André Pönitz  <poenitz@gmx.net>
4303
4304         * buffer.[Ch]:
4305         * lyxtext.h: move ParagraphList member to LyXText
4306         rename LyXText::ownerParagraphs to LyXText::paragraph
4307
4308         * CutAndPaste.C:
4309         * bufferview_funcs.C:
4310         * iterators.[Ch]:
4311         * lyx_cb.C:
4312         * paragraph.C:
4313         * rowpainter.C:
4314         * tabular.C:
4315         * text.C:
4316         * text2.C:
4317         * text3.C: adjust
4318
4319         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4320
4321         * undo.C: fix cursor positioning
4322
4323 2003-12-01  John Levon  <levon@movementarian.org>
4324
4325         * BufferView_pimpl.C: fix a crash on exit with
4326         a buffer open
4327
4328 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4329
4330         * BranchList.C: fix setSelected() method.
4331
4332 2003-11-28  André Pönitz  <poenitz@gmx.net>
4333
4334         * ParagraphParameters.[Ch]:
4335         * ParameterStruct.h: remove space above/below from Paragraph to
4336          InsetVSpace
4337
4338         * BufferView_pimpl.C:
4339         * factory.C:
4340         * lyxfunc.C:
4341         * lyxtext.h:
4342         * output_latex.C:
4343         * paragraph.C:
4344         * paragraph_funcs.C:
4345         * rowpainter.[Ch]:
4346         * text.C:
4347         * text2.C:
4348         * text3.C: adjust
4349
4350 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4351
4352         * factory.C: Syntax change for CharStyles
4353
4354 2003-11-28  André Pönitz  <poenitz@gmx.net>
4355
4356         * BufferView.[Ch]:
4357         * BufferView.[Ch]:
4358         * buffer.[Ch]:
4359         * buffer.[Ch]: move LyXText member
4360
4361 2003-11-28  André Pönitz  <poenitz@gmx.net>
4362
4363         * BufferView.[Ch]: make LyXText * text a private member
4364
4365         * BufferView_pimpl.C:
4366         * cursor.C:
4367         * iterators.C:
4368         * lyx_cb.C:
4369         * lyxfind.C:
4370         * lyxtext.h:
4371         * rowpainter.[Ch]:
4372         * text.C:
4373         * text2.C:
4374         * undo.C: adjust
4375
4376         * output_plaintext.C: cleanup
4377
4378 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4379
4380         * buffer.C:
4381         * lyxtextclass.[Ch]: parametrize SGML document header
4382
4383 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4384
4385         * converter.[Ch]:
4386         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4387         getFlavor().
4388
4389 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4390
4391         * text2.C (setFont): rework using PosIterator (no more recursive)
4392         (setCharFont): no more needed
4393         (setLayout): no more selection cursors fiddling (done by redoCursor)
4394         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4395         destroy remaining ones)
4396
4397 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4398
4399         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4400         * lyxtext.h: ditto
4401         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4402         selection cursors
4403         * lyxfunc.C: adjust
4404         * text3.C: adjust + re-allow multi par depth changes
4405         * textcursor.C: simplify a bit
4406
4407 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4408
4409         * src/buffer.C:
4410         * src/lyxlayout.C:
4411         * src/lyxlayout.h:
4412         * src/lyxtext.h:
4413         * src/output_docbook.C:
4414         * src/output_latex.C:
4415         * src/paragraph.C:
4416         * src/paragraph.h:
4417         * src/sgml.C:
4418         * src/sgml.h:
4419         * src/text2.C: Introducing a number of tags parametrizing various
4420         XML formats that we may want to support
4421
4422 2003-11-25  André Pönitz  <poenitz@gmx.net>
4423
4424         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4425
4426         * lyxtext.h (leftMargin/rightMargin): simplify interface
4427
4428         * rowpainter.C:
4429         * text.C:
4430         * text2.C:
4431         * text3.C: adjust
4432
4433 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4434
4435         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4436         master file to any child files. Fixes bug 546.
4437
4438 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4439
4440         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4441
4442 2003-11-24  André Pönitz  <poenitz@gmx.net>
4443
4444         * rowpainter.C: simplification
4445
4446         * text2.C (updateCounters): remove call to redoParagraph on
4447         changed labels as this is far too expensive.
4448
4449 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4450
4451         * converter.C (convert): fix a crash: this function gets
4452         called with buffer == 0 from importer code.
4453
4454 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * text3.C (cursorPrevious): make sure that we do not compare
4457         iterators form different containers.
4458         (cursorNext): ditto
4459
4460         * rowpainter.C (paintSelection): make sure that we do not compare
4461         iterators from different containers.
4462
4463         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4464         iterators from different ParagraphList containers.
4465         [NEXT] ditto
4466
4467         * text2.C (LyXText): change order of initialization slightly
4468         (operator=): new function. copy all variables except cache_par_
4469         (moveUp): make sure that we do not compare iterators from
4470         different ParagraphList constainers.
4471         (moveDown): ditto
4472
4473         * text.C (firstPar): new function
4474         (lastPar): new function
4475         (endPar): new function
4476
4477         * lyxtext.h: move things around and group public functions, public
4478         variables, private functions, private variables
4479
4480 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4481
4482         * factory.C: change call to InsetERT constructor to avoid
4483         additional invocation of method status
4484         * text2.C (toggleInset): remove redundant update() call
4485         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4486         instead of a Bufferview pointer
4487
4488 2003-11-21  André Pönitz  <poenitz@gmx.net>
4489
4490         * rowpainter.C: simplification
4491
4492 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4493
4494         * text3.C (dispatch): make possible to extend a word/row selection
4495         with the mouse
4496
4497 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4498
4499         * lyxtext.h: x0_,y0_ -> xo_,yo_
4500         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4501         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4502         * rowpainter.C (paintRows): paint full paragraphs
4503
4504 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4505
4506         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4507         screen coordinates)
4508
4509 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4510
4511         * lyxtext.h: add x0_, y0_
4512         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4513         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4514
4515 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4516
4517         * text2.C (setCursorIntern): move the x_target update here *
4518         * text3.C: change some bv() to true/false in calls to
4519         cursorUp/Down/Right/Left
4520         * cursor.C: use helper function.
4521
4522 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4523
4524         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4525         * paragraph_funcs.[Ch]: correct comment
4526         * rowpainter.C: do not paint selections away from bv->cursor()
4527         Fix a long standing selection painting bug.
4528         * text3.C: generalize mouse-selection code to LyXTexts other that
4529         top one
4530         * textcursor.C: do not use y coords if we can use par offsets
4531
4532 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4533
4534         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4535         cursor position after e.g. inset insert)
4536
4537 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4538
4539         * lyxfind.C (replace): adjust to locking removal + some
4540         code simplification
4541
4542 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4543
4544         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4545         of the path
4546
4547 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4548
4549         * lyxlayout.[Ch]:
4550         * output_docbook.C: XML sanitation: new layout
4551         parameters InnerTag and CommandDepth
4552
4553 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4554
4555         * BufferView_pimpl.C:
4556         * factory.C:
4557         * text3.C: Fix the insertion and modification of button-style
4558         insets
4559
4560 2003-11-13  André Pönitz  <poenitz@gmx.net>
4561
4562         * InsetList.[Ch]: remove deleteLyXText
4563
4564         * paragraph.[Ch]: cache beginOfBody position
4565
4566         * Bidi.C:
4567         * text.C:
4568         * text2.C:
4569         * text3.C: remove superfluous update() calls
4570
4571         * vspace.C: cleanup
4572
4573 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4574
4575         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4576         * BufferView.C (fitLockedInsetCursor): remove
4577         * cursor.[Ch] (getDim): add
4578         * text.C (getRowNearY): add faster version
4579         * text3.C: remove some update calls
4580
4581 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4582
4583         * LaTeXFeatures.C:
4584         * LyXAction.C:
4585         * MenuBackend.C:
4586         * MenuBackend.h:
4587         * dispatchresult.h:
4588         * factory.C:
4589         * lfuns.h:
4590         * lyxfunc.C:
4591         * lyxtextclass.C:
4592         * lyxtextclass.h:
4593         * text3.C: The Character Style /XML short element patch.
4594
4595 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4596
4597         * text3.C:
4598         * factory.C: Small step to solving 'unable to insert some insets'
4599         problem
4600
4601 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4602
4603         * cursor.[Ch] (updatePos): new function for updating the y
4604         position of the tip inset
4605         * bufferview_funcs.C (put_selection_at):
4606         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4607
4608 2003-11-11  André Pönitz  <poenitz@gmx.net>
4609
4610         * text.C: remove big comment on invalid Paragraph pointers as it is
4611         not valid anymore
4612
4613 2003-11-11  André Pönitz  <poenitz@gmx.net>
4614
4615         * text_funcs.[Ch]: merge with ...
4616
4617         * text.C: ... this
4618
4619         * lyxtext.h:
4620         * text2.C:
4621         * text3.C: adjust
4622
4623         * Makefile.am: remove text_funcs.[Ch]
4624
4625 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4626
4627         * cursor.C (getPos): return absolute cached y coord
4628
4629         * BufferView_pimpl.C (fitCursor): new simplistic code
4630         (workAreaDispatch): add a fitCursor call
4631
4632 2003-11-10  André Pönitz  <poenitz@gmx.net>
4633
4634         * BufferView.[Ch]:
4635         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4636
4637 2003-11-10  André Pönitz  <poenitz@gmx.net>
4638
4639         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4640         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4641         indicate that the cursor needs to leave an inset
4642
4643         * lyxtext.h: remove inset locking
4644
4645         * cursor.[Ch]: re-implement functionality provided by inset locking
4646
4647         * BufferView.[Ch]:
4648         * BufferView_pimpl.[Ch]:
4649         * LyXAction.C:
4650         * bufferview_funcs.[Ch]:
4651         * factory.C:
4652         * funcrequest.[Ch]:
4653         * iterators.C:
4654         * lyx_cb.C:
4655         * lyxfind.C:
4656         * lyxfunc.C:
4657         * text.C:
4658         * text2.C:
4659         * text3.C:
4660         * undo.C: adjust
4661
4662 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4663
4664         * PosIterator.[Ch]: replace the stack with a vector, add inset
4665         accesor
4666         * iterators.[C]: adjust
4667
4668 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4669
4670         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4671         replaced
4672         * paragraph_funcs.C (readParToken): put the correct id in the
4673         error item, not the id of the top paragraph
4674
4675 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4676
4677         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4678         * bufferview_funcs.C (put_selection_at): use the above
4679
4680 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4681
4682         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4683
4684 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4685
4686         * output_linuxdoc.h:
4687         * output_plaintext.h:
4688         * output.h:
4689         * output_docbook.h: add #include statements
4690
4691 2003-11-05  José Matos  <jamatos@lyx.org>
4692
4693         * output_docbook.[Ch]:
4694         * output_latex.[Ch]:
4695         * output_linuxdoc.[Ch]:
4696         * output_plaintext.[Ch]: New files for output formats.
4697         * output.[Ch]: New file for helper functions.
4698
4699         * buffer.[Ch]:
4700         * paragraph_funcs.[Ch]: output functions moved to new files.
4701
4702         * outputparams.h: rename of latexrunparams.h
4703
4704         * LaTeX.[Ch]:
4705         * buffer.[Ch]:
4706         * bufferlist.[Ch]:
4707         * converter.[Ch]:
4708         * exporter.C:
4709         * paragraph.[Ch]:
4710         * paragraph_funcs.[Ch]:
4711         * paragraph_pimpl.[Ch]:
4712         * tabular.[Ch]: rename ascii to plaintext
4713         and LatexRunParams to OutputParams.
4714
4715 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4716
4717         * iterators.[Ch] (text): require bv argument
4718         * undo.C (recordUndo):
4719         * lyxfunc.C (dispatch):
4720         * bufferview_funcs.C (put_selection_at): adjust
4721
4722 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4723
4724         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4725
4726 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4727
4728         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4729         nestings
4730
4731 2003-11-04  André Pönitz  <poenitz@gmx.net>
4732
4733         * cursor.[Ch]: restructure
4734
4735         * BufferView.[Ch]:
4736         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4737
4738         * iterators.[Ch] (asCursor): remove
4739
4740         * lfuns.h: remove LFUN_INSET_EDIT
4741
4742         * lyxfunc.C:
4743         * tabular.C:
4744         * text.C:
4745         * text2.C:
4746         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4747
4748 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4749
4750         * lyxfind.[Ch]: complete overhaul
4751         * BufferView_pimpl.C:
4752         * lyxfunc.C: adjust
4753         * paragraph.[Ch] (insert): add
4754
4755 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4756
4757         * BufferView.[Ch]:
4758         * lyxtext.h:
4759         * text.C: remove dead spellcheck code
4760
4761 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * dispatchresult.h: add a val setter
4764
4765         * cursor.C (dispatch): use a tempvar for data_[i]
4766
4767 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4768
4769         * PosIterator.[Ch]: compile fix
4770
4771 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4772
4773         * text.C (cursorPar): deactivate the cursor cache
4774
4775 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4778
4779 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * text3.C (dispatch): adjust for new DisptchResult semantics.
4782
4783         * lyxfunc.C (dispatch): handle update when return from
4784         Cursor::dispatch, adjust for new DispatchResult semantics.
4785
4786         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4787         DispatchResult(true) mean to not update. Add class functions for
4788         setting dispatched and update, as well as reading.
4789
4790         * cursor.C (dispatch): don't handle update here
4791
4792 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4795         * trans_mgr.C: adjust
4796
4797         * paragraph_funcs.C (readParToken): exception safety
4798
4799         * lyxvc.h: store the vcs pointer in a scoped_ptr
4800         * lyxvc.C: adjust
4801
4802         * lyxsocket.C (serverCallback): exception safety
4803
4804         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4805
4806         * ispell.C (clone): make it return a auto_ptr
4807
4808         * factory.C (createInset): exception safety
4809         (readInset): exception safety
4810
4811         * bufferlist.C (newBuffer): exception safety
4812
4813         * Thesaurus.C (Thesaurus): use initialization for aik_
4814
4815         * MenuBackend.C (expandToc): exception safety.
4816
4817 2003-11-03  André Pönitz  <poenitz@gmx.net>
4818
4819         * buffer.C:
4820         * buffer.h:
4821         * bufferview_funcs.C: remove getInsetFromId()
4822
4823         * lyxcursor.[Ch]:
4824         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4825
4826         * lyxfunc.C:
4827         * text2.C:
4828         * text3.C: adjust
4829
4830 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * PosIterator.C (distance, advance): new
4833         * bufferview_funcs.[Ch] (put_selection_at): new
4834         * iterators.[Ch] (lockPath): new
4835
4836 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4837
4838         * iterators.[Ch] (asPosIterator): added
4839         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4840         * PosIterator.[Ch]: added
4841
4842 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * text3.C:
4845         * lyxfunc.C:
4846         * cursor.C (dispatch):
4847         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4848
4849         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4850         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4851         contructor, add a class function dispatched. Remove operator>=
4852
4853 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * debug.C: only use the default constructor for debugstream
4856         (lyxerr) here.
4857
4858         * main.C (main): include debug.h and setup the lyxerr streambuf
4859         here.
4860
4861 2003-10-31  José Matos  <jamatos@lyx.org>
4862
4863         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4864
4865         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4866         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4867         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4868         * paragraph_pimpl.C (simpleTeXSpecialC):
4869         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4870         add LatexRunParams argument.
4871
4872         * exporter.C (Export): change call accordingly.
4873
4874         * latexrunparams.h: add new member to take care of the other backends.
4875 2003-10-30  José Matos  <jamatos@lyx.org>
4876
4877         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4878         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4879         factorise code for paragraph output.
4880         * buffer.[Ch]:
4881         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4882         move functions.
4883
4884 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4885
4886         * text3.C (dispatch):
4887         * lyxfunc.C (dispatch):
4888         * cursor.C (dispatch):
4889         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4890
4891         * dispatchresult.h: make the dispatch_result_t ctor explicit
4892
4893 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4894
4895         * sgml.[Ch]:
4896         * buffer.C: small refactoring of docbook stuff
4897
4898 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4899
4900         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4901         meaning.
4902
4903 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4906         operator dispatch_result_t, and operators for == != and >=
4907
4908         * cursor.C (dispatch): adjust for operator dispatch_result_t
4909         removal. comment out call to update
4910
4911         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4912
4913 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4914
4915         * text3.C:
4916         * text2.C:
4917         * text.C:
4918         * lyxtext.h:
4919         * lyxfunc.C:
4920         * cursor.C:
4921         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4922         (dispatch):
4923
4924         * dispatchresult.h: new file, DispatchResult broken out of
4925         insets/insetbase.h
4926
4927         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4928
4929 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * text.C (rowBreakPoint): put a hack inside #if 0
4932
4933 2003-10-28  André Pönitz  <poenitz@gmx.net>
4934
4935         * lyxtext.h:
4936         * metricsinfo.C:
4937         * paragraph_funcs.C:
4938         * rowpainter.C:
4939         * text.C:
4940         * text2.C: general cleanup (lots of small stuff)
4941
4942 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4943
4944         * text2.C (cursorEnd): simple fix to the "end key goes to one
4945         before the end on last row" bug
4946
4947 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4948
4949         * text.C (backspace): fix the "zombie characters"
4950
4951 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4952
4953         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4954
4955 2003-10-27  André Pönitz  <poenitz@gmx.net>
4956
4957         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4958
4959         * factory.C: handle new InsetPagebreak, InsetLine
4960
4961         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4962         and move handling into new InsetPagebreak, InsetLine
4963
4964         * BufferView_pimpl.C:
4965         * LyXAction.C:
4966         * ParagraphParameters.C:
4967         * ParameterStruct.h:
4968         * lyxfunc.C:
4969         * lyxtext.h:
4970         * paragraph.C:
4971         * paragraph.h:
4972         * paragraph_funcs.C:
4973         * paragraph_pimpl.C:
4974         * rowpainter.C:
4975         * text.C:
4976         * text2.C:
4977         * text3.C: adjust
4978
4979 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4980
4981         * text.C:
4982         * lyxrow_funcs.[Ch]:
4983         * Bidi.C:
4984         * paragraph.C:
4985         * lyxtext.h:
4986         * rowpainter.C:
4987         * text2.C:
4988         * text3.C: remove lastPos uses in favour of Row::endpos
4989
4990 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4991
4992         * undo.C (performUndoOrRedo): fix two crashes by setting a
4993         cursor by hand and reordering some calls. Use bv->lockInset instead
4994         of inset->edit because the latter loses cursor information
4995
4996 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4997
4998         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4999         by Martin
5000         (rowBreakPoint): fix width. change point to point + 1.
5001         Add a missing check.
5002
5003 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5004
5005         * MenuBackend.C:
5006         * lyxfunc.C: fix (at least partly) the problems
5007         with the Nav menu and headers inside branch insets
5008         reported by Kayvan
5009
5010 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5011
5012         * paragraph.C (getChar): add strong asserts
5013
5014         * lyxrow_funcs.C (lastPos): remove hideous hack
5015
5016         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5017         (fill): adjust to that (avoid an infinite loop)
5018
5019 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5022
5023 2003-10-23  André Pönitz  <poenitz@gmx.net>
5024
5025         * RowList_fwd.h: change list<> to vector<> to gain speed
5026         after suggestion from Alfredo
5027
5028 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5029
5030         * lyxtext.h: move the bidi stuff from here...
5031         * text.C: and here
5032         * text2.C: and here
5033         * Bidi.[Ch]: ... to here
5034
5035 2003-10-23  André Pönitz  <poenitz@gmx.net>
5036
5037         * lyxtext.h:
5038         * text.C (isLastRow, isFirstRow): new functions
5039
5040         * paragraph.h: new width cache member
5041
5042         * rowpainter.C: replace RowList::iterator with Row & where possible
5043
5044         * lyxfunc.C: replace several view()->text with a single call
5045
5046         * toc.C: fix 'unused' warning
5047
5048 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5051         when woring with stream::pos_type
5052         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5053
5054 2003-10-22  André Pönitz  <poenitz@gmx.net>
5055
5056         * lyxtext.h:
5057         * text.C: use Row & instead of RowList::iterator
5058
5059         * lyxrow.h: rename end() to endpos()
5060
5061         * rowpainter.C:
5062         * text.C:
5063         * text2.C: adjust
5064
5065 2003-10-22  Angus Leeming  <leeming@lyx.org>
5066
5067         * buffer.[Ch] (fully_loaded): new member function, returning true
5068         only when the file has been loaded fully.
5069         Used to prevent the premature generation of previews and by the
5070         citation inset to prevent computation of the natbib-style label.
5071
5072         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5073         templates are all set up.
5074
5075         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5076
5077 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5078
5079         * text.C: fixed an "oops" in the "is a bit silly"
5080         bug fix
5081
5082 2003-10-21  André Pönitz  <poenitz@gmx.net>
5083
5084         * FuncStatus.[Ch]: small stuff, whitespace
5085
5086         * lyxfont.[Ch]: operator<<() for debug reasons
5087
5088         * lyxfunc.C:
5089         * lyxrow_funcs.C:
5090         * lyxtext.h: whitespace, spelling
5091
5092         * paragraph.C: naming of variables
5093
5094         * text.C:
5095         * text2.C: small stuff
5096
5097
5098 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5099
5100         * text.C: (1) finish off the inset display() work;
5101         (2) fix the "is a bit silly" bug (accessing char
5102         past end of par).
5103
5104 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5105
5106         * text.C: re-introduce display() for insets, fixing the
5107         various bugs (stretch of line above, math inset
5108         positioning, ...)
5109
5110 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5111
5112         * text.C (rightMargin): remove spurious semicolon
5113
5114         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5115         1415)
5116
5117 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5118
5119         * text3.C: fix one crash due to wrong cursor def
5120
5121 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5122
5123         * vc-backend.C (scanMaster): make the regex static
5124
5125         * LaTeX.C (scanAuxFile): make the regexs static
5126
5127         * text3.C (doInsertInset, dispatch, dispatch):
5128         * text2.C (cursorUp, cursorDown):
5129         * text.C (selectNextWordToSpellcheck):
5130         * BufferView_pimpl.C (dispatch):
5131         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5132
5133 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5134
5135         * lyxsocket.C: include <cerrno>
5136
5137 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5138
5139         * lyxfunc.C (dispatch): remove textcache stuff
5140
5141         * bufferlist.C (release): remove textcache stuff
5142         (closeAll): ditto
5143
5144         * TextCache.C: delete file
5145         * TextCache.h: delete file
5146
5147         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5148
5149         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5150         delete of the bv_->text.
5151         (resizeCurrentBuffer): remove texcache stuff
5152         (workAreaResize): ditto
5153
5154 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5157         action.
5158
5159 2003-10-16  André Pönitz  <poenitz@gmx.net>
5160
5161         * lyxrow.[Ch]:
5162         * paragraph.h:
5163         * rowpainter.C:
5164         * text.C:
5165         * text2.C:
5166         * text3.C: speed up by storing y positions per paragraph plus per-row
5167         offset instead of having a 'full' y position in the row.
5168
5169 2003-10-15  André Pönitz  <poenitz@gmx.net>
5170
5171         * iterators.[Ch]:
5172         * iterators.[Ch]:
5173         * undo.[Ch]: make undo aware of inner insets
5174
5175 2003-10-14  Angus Leeming  <leeming@lyx.org>
5176
5177         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5178         static member functions LyX::ref() and LyX::cref.
5179         (lastfiles): new accessor functions for the new lastfiles_ member var.
5180         (addLyXView, views_): add a new LyXView to the list of views_.
5181         (updateInset): loop over all LyXViews to call their own updateInset
5182         member function, returning a pointer to the Buffer owning the inset.
5183
5184         * BufferView_pimpl.C (loadLyXFile):
5185         * MenuBackend.C (expandLastfiles):
5186         * bufferlist.C (MenuWrite, QuitLyX):
5187         lastfiles is no longer a global variable.
5188         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5189
5190         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5191         static function. Access through LyX::cref().emergencyCleanup().
5192
5193 2003-10-14  André Pönitz  <poenitz@gmx.net>
5194
5195         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5196
5197         * undo.[Ch]: restoring part of 'undo in insets'
5198
5199         * Makefile.am:
5200         * undo_funcs.[Ch]: merge with undo.[Ch]
5201
5202         * tabular.C: small cleansing stuff
5203
5204 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5205
5206         * paragraph_funcs.C (readParToken): report unknown insets as error
5207         boxes. Use the outer paragraph as location (also for unknown
5208         tokens).
5209
5210         * factory.C (readInset): do not abort on reading an unknown inset.
5211         Eat it and return 0.
5212
5213 2003-10-13  Angus Leeming  <leeming@lyx.org>
5214
5215         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5216
5217         * lyxrc.C: displayTranslator is now a function,
5218         declared in GraphicsTypes.h.
5219
5220 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5221
5222         * format.C: new placeholder $$a to pass the socket address.
5223
5224         * bufferlist.[Ch]: new function getBufferFromTmp.
5225
5226         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5227           files in the temporary dir.
5228
5229 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5230
5231         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5232
5233         * Makefile.am: add lyxsocket.[Ch].
5234
5235         * lyx_main.C (error_handler): handle SIGPIPE.
5236
5237 2003-10-13  André Pönitz  <poenitz@gmx.net>
5238
5239         * BufferView_pimpl.C:
5240         * lyxtext.h:
5241         * text.C:
5242         * text2.C:
5243         * text3.C:
5244         * undo_funcs.[Ch]: use paroffset_type instead of
5245           ParagraphList::iterators to prevent multiple conversion
5246           (and get a more robust interface)
5247
5248 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5251         * lyxtext.h: ditto
5252         * text3.C (dispatch): ditto
5253
5254 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5257         move the onlyfile, use onlyfile instead of foundfile in a couple
5258         of places.
5259
5260         * DepTable.C (update): flush the error stream a bit more
5261
5262 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5263
5264         * lyxserver.C (callback): adjust
5265
5266         * lyxfunc.C (getStatus): add a missing brace in commented code
5267         (ensureBufferClean): reindent
5268         (dispatch): delete version taking a string
5269
5270 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * LaTeX.C (deplog): move found file handlig from here...
5273         (handleFoundFile): .. to new function here.
5274         (deplog): make sure to discover several files mentioned on the
5275         same log line.
5276
5277 2003-10-10  André Pönitz  <poenitz@gmx.net>
5278
5279         * lyxfunc.C:
5280         * lyxtext.h:
5281         * tabular.C:
5282         * text.C:
5283         * text2.C:
5284         * text3.C: fix some of the tabular crashes
5285
5286 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5287
5288         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5289
5290         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5291
5292 2003-10-09  André Pönitz  <poenitz@gmx.net>
5293
5294         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5295
5296         * BufferView.C:
5297         * BufferView_pimpl.C:
5298         * bufferview_funcs.C:
5299         * lyx_cb.C:
5300         * lyxcursor.C:
5301         * lyxfind.C:
5302         * lyxfunc.C:
5303         * lyxtext.h:
5304         * text.C:
5305         * text2.C:
5306         * text3.C:
5307         * text_funcs.[Ch]:
5308         * textcursor.[Ch]:
5309         * undo_funcs.C: adjust
5310
5311 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5312
5313         * text2.C (incrementItemDepth): new function, use a backtracking
5314         algorithm to discover the correct item depth.
5315         (resetEnumCounterIfNeeded): new function, use a backtracking
5316         algorithm to discover if counter reset is needed.
5317         (setCounter): use them. Simplify a bit. Add different labels for
5318         different item depths for itemize.
5319
5320         * paragraph.C (Paragraph): remove initialization of enumdepth
5321         (operator=): ditto
5322
5323         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5324         enumerate and itemize. Change the type of itemdepth to signed char.
5325
5326 2003-10-08  André Pönitz  <poenitz@gmx.net>
5327
5328         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5329           thing assignable.
5330         * text.C:
5331         * text2.C: adjust
5332
5333         * tabular.[Ch]: fix crash after 'row-insert'
5334
5335 2003-10-08  Angus Leeming  <leeming@lyx.org>
5336
5337         Fix doxygen warnings.
5338
5339         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5340         Remove CutAndPaste:: prefix from header file declaration.
5341
5342         * LColor.h (fill): remove LColor:: prefix from declaration.
5343
5344         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5345         use lyx::depth_type rather than Paragraph::depth_type so that
5346         header file and .C file match.
5347
5348         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5349
5350         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5351         * aspell.C: \file aspell_local.C -> \file aspell.C
5352         * gettext.C: \file gettext.C -> \file src/gettext.C
5353         * gettext.h: \file gettext.h -> \file src/gettext.h
5354         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5355         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5356         * text.C: \file text.C -> \file src/text.C
5357
5358         * toc.C: move comment so that doxygen is not confused.
5359
5360 2003-10-07  Angus Leeming  <leeming@lyx.org>
5361
5362         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5363
5364 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5365
5366         * aspell.C:
5367         * aspell_local.h: add forgotten std::string's.
5368
5369 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5370
5371         * LaTeXFeatures.C:
5372         * LyXAction.C:
5373         * factory.C:
5374         * lfuns.h:
5375         * lyxfunc.C:
5376         * text3.C: The Box patch. Fancybox support, minipage, parbox
5377
5378 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5379
5380         * CutAndPaste.h:
5381         * DepTable.h:
5382         * FloatList.h:
5383         * LaTeXFeatures.h:
5384         * ParagraphParameters.h:
5385         * TextCache.h:
5386         * Thesaurus.h:
5387         * bufferlist.h:
5388         * exporter.h:
5389         * importer.h:
5390         * lastfiles.h:
5391         * lyxfind.h:
5392         * lyxfont.h:
5393         * lyxlex.h:
5394         * lyxtextclasslist.h:
5395         * messages.h:
5396         * paragraph.h:
5397         * paragraph_pimpl.C:
5398         * textcursor.h: add <string> and other small fixes to make Lars'
5399         std::string patch compile with STLport.
5400
5401 2003-10-06  Angus Leeming  <leeming@lyx.org>
5402
5403         * LColor.h: Add missing #include <string>.
5404
5405 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * All most all file in all subdirs: Make <string> be the prefered
5408         way of getting to std::string, add using declarations.
5409
5410 2003-10-06  André Pönitz  <poenitz@gmx.net>
5411
5412         * metricsinfo.C: initialize LyXFont before changing attribute.
5413         (fixes the 'math in \emph is upright' bug)
5414
5415 2003-10-06  André Pönitz  <poenitz@gmx.net>
5416
5417         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5418
5419 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5420
5421         * graph.C:
5422         * paragraph_pimpl.C: Small fixes to build using STLport
5423
5424 2003-10-02  André Pönitz  <poenitz@gmx.net>
5425
5426         * lyxfunc.C:
5427         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5428
5429 2003-10-01  André Pönitz  <poenitz@gmx.net>
5430
5431         * factory.C: assert early
5432
5433 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * lyx_main.C: remove the global debug object
5436
5437         * debug.h: adjust for new debugstream
5438
5439         * debug.C: adjust for new debugstream and keep the global debug
5440         object here.
5441
5442 2003-09-22  Angus Leeming  <leeming@lyx.org>
5443
5444         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5445         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5446         an incomplete class LyXFont.
5447
5448 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5449
5450         * factory.C: bug fix in branches
5451
5452 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * lyxfunc.C (processKeySym): adjust
5455         (dispatch): adjust
5456         (dispatch): change arg name from ev to func, adjust
5457         (sendDispatchMessage): ditto
5458
5459         * lyx_main.C (defaultKeyBindings): adjust keybindings
5460         (deadKeyBindings): ditto
5461
5462         * kbsequence.C (addkey): return a FuncRequest
5463
5464         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5465
5466         * kbmap.C (bind): take a FuncRequest as arg, adjust
5467         (read): adjust
5468         (lookup): adjust
5469         (defkey): change to take a FuncRequest as arg, adjust
5470         (findbinding): take a FuncRequest as arg, adjust.
5471
5472         * funcrequest.h (operator=): added
5473
5474         * funcrequest.C (FuncRequest): default kb_action changed from
5475         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5476
5477         * buffer.C (dispatch): simplify
5478         (dispatch): adjust to take a FuncRequest as arg, adjust
5479
5480         * boost.C (assertion_failed): change assertion message slightly
5481
5482         * ToolbarBackend.C (read): simplify
5483
5484         * MenuBackend.C (binding): adjust call to findbinding, add a
5485         message if no binding is found.
5486         (read): simplify
5487         (expandToc): correct by adding a empty FuncRequest
5488
5489         * LyXAction.C: include <boost/assert.hpp>
5490         (isPseudoAction): delete function
5491         (LookupFunc): change name to...
5492         (lookupFunc): this. change return type to FuncRequest.
5493         (getActionName): take kb_action as arg, simplify
5494         (funcHasFlag): add an assert, simplify.
5495
5496 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * toc.C (action): return a FuncRequest, simplify
5499
5500         * lyxfunc.C (processKeySym): adjust
5501         (getStatus): delete version that takes an int.
5502         (getStatus): adjust
5503         (dispatch): delete version that takes action as int
5504         (dispatch): adjust
5505         (sendDispatchMessage): simplify and adjust
5506
5507         * funcrequest.C (getArg): take unsigned int as arg
5508
5509         * ToolbarBackend.C (read): adjust
5510         (add): delete version that takes func as a string.
5511         (getIton): take a FuncRequest as arg
5512
5513         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5514         action.
5515
5516         * MenuBackend.C (MenuItem): add a new construct that only takes a
5517         Kind, simplify the constructor use for submenus.
5518         (add): adjust
5519         (expandLastfiles): adjust
5520         (expandDocuments): adjust
5521         (expandFormats): adjust
5522         (expandFloatListInsert): adjust
5523         (expandFloatInsert): adjust
5524         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5525
5526         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5527         Remove class variables lyx_pseudo_map and lyx_arg_map
5528
5529         * LyXAction.C (searchActionArg): delete function
5530         (getPseudoAction): delete function
5531         (retrieveActionArg): delete function
5532         (LookupFunc): make it return kb_action, simplify.
5533         (getActionName): simplify
5534
5535         * factory.C (createInset): fix new bug
5536
5537 2003-09-19  Angus Leeming  <leeming@lyx.org>
5538
5539         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5540         masterFilename_ parameter in the include inset.
5541
5542         * factory.C (createInset): changes due to the changes to InsetInclude.
5543
5544 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5545
5546         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5547
5548 2003-09-18  Angus Leeming  <leeming@lyx.org>
5549
5550         * buffer.C:
5551         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5552         Inset::fillWithBibKeys.
5553         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5554
5555 2003-09-18  Angus Leeming  <leeming@lyx.org>
5556
5557         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5558         variables.
5559         (ctor): pass and store a 'Buffer const &'
5560         (buffer): new member function.
5561
5562         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5563         '*this' to the LaTeXFeatures ctor.
5564
5565 2003-09-18  Angus Leeming  <leeming@lyx.org>
5566
5567         * LColor.h:
5568         * lyxfont.C:
5569         * lyxfont.h:
5570         * lyxtext.h:
5571         * text.C: rename EnumLColor as LColor_color.
5572
5573 2003-09-18  Angus Leeming  <leeming@lyx.org>
5574
5575         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5576         remove #include "insets/insetbase.h" from cursor.h.
5577
5578 2003-09-18  Angus Leeming  <leeming@lyx.org>
5579
5580         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5581         InsetOld_code to remove #include "inset.h".
5582
5583         * iterators.C: add #include "insets/inset.h"
5584
5585 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5586
5587         * BufferView.C: remove more locking stuff that apparently doesn't
5588         do anything sensible.
5589
5590 2003-09-16  André Pönitz  <poenitz@gmx.net>
5591
5592         * paragraph.[Ch]:
5593         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5594           performance boost.
5595
5596 2003-09-16  Angus Leeming  <leeming@lyx.org>
5597
5598         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5599
5600         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5601         arg/return type.
5602
5603         * paragraph.h: remove #include "lyxfont.h". Forward declare
5604         LyXFont_size.
5605
5606 2003-09-16  Angus Leeming  <leeming@lyx.org>
5607
5608         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5609         of support/textutils.h.
5610         (isWord): move the contents of support/textutils.h's IsWordChar here.
5611
5612         * buffer.C:
5613         * lyxfind.C:
5614         * rowpainter.C:
5615         * text.C:
5616         * text2.C: add #include "paragraph.h".
5617
5618         * rowpainter.C:
5619         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5620
5621 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * main.C:
5624         * lyx_main.C:
5625         * lyx_cb.C:
5626         * buffer.C:
5627         * LaTeX.C: use namespace alias for lyx::support::os
5628
5629 2003-09-16  Angus Leeming  <leeming@lyx.org>
5630
5631         * bufferparams.C:
5632         * bufferview_funcs.C:
5633         * factory.C:
5634         * lyxfunc.C:
5635         * paragraph_pimpl.C:
5636         * rowpainter.C:
5637         * text.C: add #include "LColor.h".
5638
5639 2003-09-16  Angus Leeming  <leeming@lyx.org>
5640
5641         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5642         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5643         return LyXFont &.
5644         Store the FontBits::color variable as an int rather than as an
5645         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5646         file.
5647
5648         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5649         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5650         string calls together.
5651
5652         * lyxrc.C: add #include "LColor.h".
5653
5654 2003-09-15  Angus Leeming  <leeming@lyx.org>
5655
5656         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5657         a cow_ptr.
5658
5659 2003-09-15  Angus Leeming  <leeming@lyx.org>
5660
5661         * LColor.h: add an EnumLColor wrapper for LColor::color.
5662
5663         * lyxfont.[Ch] (color, setColor, realColor):
5664         * lyxtext.h, text.C (backgroundColor):
5665         pass EnumLColor args to/from the functions, rather than LColor::color
5666         ones.
5667
5668         * lyxfont.h:
5669         * lyxtext.h: forward declare EnumLColor.
5670
5671         * lyx_main.C: add #include "LColor.h".
5672
5673 2003-09-15  Angus Leeming  <leeming@lyx.org>
5674
5675         * .cvsignore: add lyx-gtk.
5676
5677 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5678
5679         * Chktex.C
5680         * LaTeX.C
5681         * LaTeXFeatures.C
5682         * ParagraphParameters.C
5683         * Spacing.C
5684         * buffer.C
5685         * bufferparams.C
5686         * bufferview_funcs.C
5687         * chset.C
5688         * counters.C
5689         * funcrequest.C
5690         * lyxfont.C
5691         * lyxgluelength.C
5692         * lyxlength.C
5693         * paragraph.C
5694         * paragraph_funcs.C
5695         * text3.C
5696         * vc-backend.C: remove usage of STRCONV
5697
5698 2003-09-15  Angus Leeming  <leeming@lyx.org>
5699
5700         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5701         explicitly define the color passed to the painter.
5702
5703 2003-09-15  Angus Leeming  <leeming@lyx.org>
5704
5705         * bufferparams.C (BufferParams): reorder member initializers to avoid
5706         compiler warning.
5707
5708 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5709
5710         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5711         * text.C (updateRowPositions): remove an unusual nop
5712
5713 2003-09-12  André Pönitz  <poenitz@gmx.net>
5714
5715         * BufferView_pimpl.C:
5716         * Bullet.C:
5717         * layout.h:
5718         * lyxfunc.C:
5719         * lyxlayout.[Ch]:
5720         * lyxtextclass.C:
5721         * rowpainter.C:
5722         * text.C:
5723         * text2.C:
5724         * Counters.[Ch]: finish the 'automatic counters' job
5725
5726 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5727
5728         * aspell.C: include <boost/assert.cpp> (compile fix)
5729
5730 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5731
5732         * boost.C (assertion_failed): use lyx::support::abort instead of
5733         assert.
5734
5735 2003-09-10  Angus Leeming  <leeming@lyx.org>
5736
5737         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5738         with their _fwd progeny.
5739
5740 2003-09-09  Angus Leeming  <leeming@lyx.org>
5741
5742         134 files throughtout the source tree: replace 'using namespace abc;'
5743         directives with the appropriate 'using abc::xyz;' declarations.
5744
5745 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5746
5747         * boost.C (emergencyCleanup): moved here from LAssert.c
5748         (assertion_failed): new function, called by BOOST_ASSERT
5749
5750         * several files: change Assert to BOOST_ASSERT
5751
5752 2003-09-09  Angus Leeming  <leeming@lyx.org>
5753
5754         * buffer.[Ch]: Add an Impl class and move Buffer's member
5755         variables into it. As a result move several header files out of
5756         buffer.h.
5757
5758         Add header files to lots of .C files all over the tree as a result.
5759
5760 2003-09-09  Angus Leeming  <leeming@lyx.org>
5761
5762         * buffer.[Ch]: make Buffer's member variables private. Add
5763         accessor functions.
5764
5765         Lots of changes all over the tree as a result.
5766
5767 2003-09-08  Angus Leeming  <leeming@lyx.org>
5768
5769         * graph.C: #include <config.h>.
5770
5771 2003-09-08  Angus Leeming  <leeming@lyx.org>
5772
5773         * BranchList.C:
5774         * BufferView.C:
5775         * BufferView_pimpl.C:
5776         * CutAndPaste.C:
5777         * DepTable.C:
5778         * LaTeX.C:
5779         * LaTeXFeatures.C:
5780         * LyXAction.C:
5781         * MenuBackend.C:
5782         * TextCache.C:
5783         * aspell.C:
5784         * buffer.C:
5785         * bufferlist.C:
5786         * changes.C:
5787         * chset.C:
5788         * converter.C:
5789         * counters.C:
5790         * debug.C:
5791         * graph.C:
5792         * ispell.C:
5793         * lyx_cb.C:
5794         * lyxfind.C:
5795         * lyxfunc.C:
5796         * lyxlex_pimpl.C:
5797         * lyxrc.C:
5798         * lyxrow.C:
5799         * paragraph.C:
5800         * rowpainter.C:
5801         * texrow.C:
5802         * text.C:
5803         * text2.C:
5804         * toc.C: remove redundant using directives.
5805
5806 2003-09-07  Angus Leeming  <leeming@lyx.org>
5807
5808         * LaTeXFeatures.h: remove #include "support/types.h".
5809         * ToolbarBackend.h: remove #include <algorithm>.
5810         * changes.h: remove #include <ctime>.
5811         * debug.h: remove #include <iosfwd>.
5812         * graph.h: remove #include "support/std_string.h".
5813         * lyx_main.h: remove #include <csignal>.
5814         * lyxlex_pimpl.h: remove #include <fstream>.
5815         * sgml.h: remove #include <algorithm>, <utility>.
5816         * toc.h: remove #include "support/std_ostream.h".
5817         Add #include <iosfwd>.
5818
5819 2003-09-07  Angus Leeming  <leeming@lyx.org>
5820
5821         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5822
5823         * converter.h: forward declare LatexRunParams.
5824         * encoding.h: remove #include "lyxrc.h".
5825         * lyxtext.h: remove #include "LColor.h".
5826         * lyxtextclass.h: remove #include "support/types.h".
5827         * trans.h: remove #include "tex-accent.h".
5828         * trans_mgr.h: remove #include "tex-accent.h".
5829         * insets/inset.h: remove #include "support/types.h", <vector>.
5830         * insets/insetcollapsable.h: remove #include "LColor.h".
5831         * insets/insetinclude.h: remove #include "dimension.h".
5832         * insets/insetlatexaccent.h: remove #include "dimension.h".
5833         * insets/insetoptarg.h:: remove #include "insettext.h".
5834         * insets/insettext.h: remove #include "dimension.h",
5835         <boost/shared_ptr.hpp>
5836
5837         * insets/renderers.h: add #include "dimension.h".
5838         * insets/updatableinset.h: add #include "support/types.h".
5839
5840         * many .C files: Associated changes.
5841
5842 2003-09-06  Angus Leeming  <leeming@lyx.org>
5843
5844         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5845         one, inside testInvariant.
5846
5847         * PrinterParams.C: new file.
5848         * PrinterParams.[Ch]: move the function bodies out of line.
5849
5850 2003-09-06  Angus Leeming  <leeming@lyx.org>
5851
5852         * ParagraphParameters.h: forward declare ParameterStruct rather than
5853         including its header file.
5854         (depth): moved out-of-line.
5855
5856 2003-09-06  Angus Leeming  <leeming@lyx.org>
5857
5858         * BufferView_pimpl.h:
5859         * kbmap.h:
5860         * kbsequence.h:
5861         * lyxfunc.h: forward declare LyXKeySym rather than
5862         #include "frontends/LyXKeySym.h".
5863
5864         * BufferView_pimpl.C:
5865         * kbmap.C:
5866         * kbsequence.C:
5867         * lyxfunc.C: associated changes.
5868
5869 2003-09-06  Angus Leeming  <leeming@lyx.org>
5870
5871         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5872         As a result, can remove the #include "insets/inset.h" from BufferView.h
5873
5874 2003-09-06  Angus Leeming  <leeming@lyx.org>
5875
5876         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5877         As a result, can remove the #include "insets/inset.h" from BufferView.h
5878
5879 2003-09-06  Angus Leeming  <leeming@lyx.org>
5880
5881         * buffer_funcs.C:
5882         * buffer.h:
5883         * bufferlist.C:
5884         * BufferView.C:
5885         * bufferview_funcs.C:
5886         * BufferView_pimpl.C:
5887         * CutAndPaste.C:
5888         * lyx_cb.C:
5889         * lyxfunc.C:
5890         * paragraph.h:
5891         * ParagraphParameters.C:
5892         * tabular.C:
5893         * text3.C:
5894         * toc.C:
5895         * undo_funcs.C:
5896         * frontends/controllers/ControlDocument.C:
5897         * insets/insetcaption.C: rearrange the #includes into some sort of
5898         coherent order.
5899
5900         * buffer.h: remove #includes ErrorList.h, undo.h
5901
5902 2003-09-06  Angus Leeming  <leeming@lyx.org>
5903
5904         * support/types.h: add a 'depth_type' typedef, used to store the
5905         nesting depth of a paragraph.
5906
5907         * paragraph.h:
5908         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5909         defining explicitly.
5910
5911         * buffer.h:
5912         * paragraph_funcs.h:
5913         * ParagraphParameters.h:
5914         * sgml.h: use lyx::depth_type rather than Paragraph or
5915         ParameterStruct's depth_type.
5916
5917         * buffer.h
5918         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5919
5920         * BufferView.C:
5921         * BufferView_pimpl.C:
5922         * CutAndPaste.C:
5923         * ParagraphParameters.C:
5924         * buffer_funcs.C:
5925         * bufferlist.C:
5926         * bufferview_funcs.C:
5927         * lyx_cb.C:
5928         * lyxfunc.C:
5929         * tabular.C:
5930         * text3.C:
5931         * toc.C:
5932         * undo_funcs.C:
5933         * frontends/LyXView.C:
5934         * frontends/controllers/ControlDocument.C:
5935         * frontends/controllers/ControlErrorList.C:
5936         * insets/insetbibitem.C:
5937         * insets/insetbranch.C:
5938         * insets/insetcaption.C:
5939         * insets/insetcollapsable.C:
5940         * insets/insetenv.C:
5941         * insets/insetert.C:
5942         * insets/insetfloat.C:
5943         * insets/insetfoot.C:
5944         * insets/insetfootlike.C:
5945         * insets/insetnewline.C:
5946         * insets/insetquotes.C:
5947         * insets/insettabular.C:
5948         * insets/insettext.C:
5949         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5950
5951         * frontends/controllers/ControlChanges.C: #include "changes.h".
5952
5953 2003-09-06  Angus Leeming  <leeming@lyx.org>
5954
5955         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5956         than #including paragraph.h.
5957
5958         * ParagraphList.h:
5959         * RowList.h: deleted. Superfluous.
5960
5961         * CutAndPaste.h:
5962         * iterators.h:
5963         * lyxcursor.h:
5964         * lyxtext.h:
5965         * text_funcs.h:
5966         * undo.h:
5967         * undo_funcs.h:
5968         * insets/inset.h:
5969         * insets/insettext.h: use ParagraphList_fwd.h rather than
5970         ParagraphList.h.
5971
5972         * paragraph.h: don't forward declare ParagraphList.
5973
5974         * buffer.h:
5975         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5976         rather than ParagraphList.h. paragraph.h is still needed for the
5977         Paragraph::depth_type parameters.
5978
5979         * textcursor.h: enable it to compile stand-alone in light of the
5980         above changes.
5981
5982         * bufferview_funcs.C:
5983         * iterators.C:
5984         * lyxfunc.C:
5985         * lyxrow_funcs.C:
5986         * paragraph.C:
5987         * rowpainter.C:
5988         * text.C:
5989         * text2.C:
5990         * text3.C:
5991         * text_funcs.C:
5992         * textcursor.C:
5993         * undo.C:
5994         * frontends/controllers/ControlParagraph.C:
5995         * frontends/controllers/ControlTabular.C:
5996         * insets/insetmarginal.C:
5997         * insets/insetminipage.C:
5998         * insets/insetnote.C:
5999         * insets/insetoptarg.C: add header files needed to compile again.
6000
6001 2003-09-06  Angus Leeming  <leeming@lyx.org>
6002
6003         * RowList_fwd.h: new file, forward-declaring Row rather than
6004         #including lyxrow.h.
6005
6006         * lyxrow_funcs.h:
6007         * lyxtext.h:
6008         * paragraph.h:
6009         * insets/insettext.h: use it instead of RowList.h
6010
6011         * bufferview_funcs.C:
6012         * lyxfunc.C:
6013         * lyxrow_funcs.C:
6014         * paragraph.C:
6015         * rowpainter.C:
6016         * text.C:
6017         * text2.C:
6018         * text3.C: #include "RowList.h".
6019
6020 2003-09-05  Angus Leeming  <leeming@lyx.org>
6021
6022         * factory.C (createInset):
6023         * vspace.C (c-tor): replace sscanf call with an istringstream.
6024         * ispell.C: re-add missing HP/UX headers.
6025         * lyxserver.C: re-add missing  os2 headers.
6026
6027 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6028
6029         * BranchList.C:
6030         * graph.C:
6031         * ispell.C:
6032         * lastfiles.C:
6033         * lyx_cb.C:
6034         * lyxserver.C:
6035         * texrow.C:
6036         * text3.C: re-add missing system headers, needed for 2.95.2.
6037
6038 2003-09-05  Angus Leeming  <leeming@lyx.org>
6039
6040         Changes most place everywhere due to the removal of using directives
6041         from support/std_sstream.h.
6042
6043 2003-09-05  Angus Leeming  <leeming@lyx.org>
6044
6045         Replace LString.h with support/std_string.h,
6046         Lsstream.h with support/std_sstream.h,
6047         support/LIstream.h with support/std_istream.h,
6048         support/LOstream.h with support/std_ostream.h.
6049
6050         Changes resulting throughout the tree.
6051
6052 2003-09-05  Angus Leeming  <leeming@lyx.org>
6053
6054         * sgml.h: ensure that the header file can be compiled stand-alone.
6055         * *.C: strip out redundant #includes. (320 in total.)
6056
6057 2003-09-04  Angus Leeming  <leeming@lyx.org>
6058
6059         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6060         here (from getPackages).
6061
6062         * debug.[Ch]: add a new EXTERNAL tag.
6063
6064 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6065
6066         * text2.C (cursorEnd): simplify
6067         (setCursor): adjust
6068         (getColumnNearX): adjust
6069
6070         * text.C (computeBidiTables): adjust
6071         (fill): adjust
6072
6073         * rowpainter.C (paintChars): adjust
6074         (paintSelection): adjust
6075         (paintChangeBar): adjust
6076         (paintText): adjust
6077
6078         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6079         lastPos instead.
6080         (numberOfSeparators): adjust
6081
6082 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6083
6084         * LyXAction.C:
6085         * box.[Ch]:
6086         * lfuns.h:
6087         * lyxfunc.C:
6088         * text3.C: Restricts the mouse click functionality
6089         of insets like bibtex, include, toc and floatlist to the visible
6090         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6091         up the dialogs. Cursor has to be in front of the inset (i.e.
6092         start of row) for this to function.
6093
6094 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6095
6096         * bufferview_funcs.C (currentState): output row information
6097
6098 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6099
6100         * bufferview_funcs.C (currentState): output paragraph position
6101
6102 2003-09-04  Angus Leeming  <leeming@lyx.org>
6103
6104         * FloatList.h: move out #include "Floating.h".
6105         * LaTeX.h: move out #include "DepTable.h".
6106         * LyXAction.h: move out #include "funcrequest.h".
6107         * buffer.h: move out #include "author.h", "iterators.h".
6108         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6109         * lyx_main.h: move out #include "errorlist.h".
6110         * lyxfunc.h: move out #include "FuncStatus.h".
6111         * lyxtext: move out #include "lyxcursor.h".
6112         * paragraph_pimpl.h: move out #include "counters.h".
6113
6114 2003-09-03  Angus Leeming  <leeming@lyx.org>
6115
6116         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6117         preamble_snippets list, enabling us to add snippets to the preamble
6118         only if the snippet was not there already.
6119
6120 2003-09-04  Angus Leeming  <leeming@lyx.org>
6121
6122         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6123
6124 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6125
6126         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6127         update
6128
6129 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6130
6131         * BranchList.C: point fix, earlier forgotten
6132
6133 2003-09-02  Angus Leeming  <leeming@lyx.org>
6134
6135         * box.C (contains): renamed from 'contained' after a fantastic
6136         amount of hot air.
6137
6138 2003-09-02  John Levon  <levon@movementarian.org>
6139
6140         * BufferView.C:
6141         * lyxcursor.h:
6142         * lyxcursor.C:
6143         * lyxfunc.C:
6144         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6145
6146 2003-09-02  John Levon  <levon@movementarian.org>
6147
6148         * text2.C: simplification of cursorEnd(), including partial
6149         fix for bug 1376
6150
6151 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * buffer.C (readFile): add a space
6154
6155 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6156
6157         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6158
6159 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6160
6161         * buffer.C (readFile): new function, take a filename and a
6162         ParagraphList::iterator
6163         (readFile): adjust
6164         (readFile): adjust, make it private. don't use setStream, make
6165         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6166         always contain the filename.
6167
6168         * BufferView.C (insertLyXFile): simplify and make it work for
6169         gzipped files.
6170
6171 2003-08-30  John Levon  <levon@movementarian.org>
6172
6173         * Makefile.am: fix dist (from Kayvan)
6174
6175 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * most files: change to use const Buffer refs
6178
6179 2003-08-27  André Pönitz  <poenitz@gmx.net>
6180
6181         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6182         on top of ownerPar().
6183
6184 2003-08-27  John Levon  <levon@movementarian.org>
6185
6186         * funcrequest.C: properly initialise POD members
6187
6188 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6189
6190         * lyxtext.h (top_y): move top_y from here
6191         * text.C:
6192         * text2.C:
6193         * text3.C:
6194         * BufferView.[Ch]:
6195         * BufferView_pimpl.[Ch]: to here
6196         * frontends/screen.C:
6197         * insets/insettabular.C:
6198         * insets/insettext.C: adjust
6199         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6200
6201 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6202
6203         * BufferView.[Ch]:
6204         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6205
6206 2003-08-26  André Pönitz  <poenitz@gmx.net>
6207
6208         * paragraph_func.[Ch] (outerPar): new function
6209
6210         * paragraph.C:
6211         * paragraph_funcs.C:
6212         * paragraph_funcs.h:
6213         * paragraph_pimpl.C:
6214         * text2.C: remove Inset::par_owner
6215
6216 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6217
6218         * lyxrow_funcs.C:
6219         * lyxtext.h:
6220         * text.C:
6221         * text2.C: eliminates the needFullRow/display() stuff
6222         altogether, putting the logic in metrics/draw in the insets.
6223
6224 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6225
6226         * text2.C (redoParagraphInternal, redoParagraphs):
6227         * text.C (redoParagraph): add a call to updateRowPositions at the
6228         end of each 'metrics-like' call. Remove all others.
6229         (getRow): remove the 'y-computing' version.
6230         (getRowNearY): do not compute nor return the real y. Solve the
6231         'y < 0' problem and simplify.
6232
6233 2003-08-22  Angus Leeming  <leeming@lyx.org>
6234
6235         * *.[Ch]: clean-up of licence and author blurbs.
6236         Also move config.h out of a few .h files and into a few .C files.
6237
6238 2003-08-22  André Pönitz  <poenitz@gmx.net>
6239
6240         * lyxrow.[Ch]: add x_ and *fill_ members
6241
6242         * lyxtext.h:
6243         * text.C:
6244         * rowpainter.C:
6245         * text2.C: adjust/remove prepareToPrint() calls
6246
6247 2003-08-22  André Pönitz  <poenitz@gmx.net>
6248
6249         * lyxrow.[Ch]: add  end_ member
6250
6251         * lyxrow_funcs.C: use LyXRow::end_
6252
6253         * lyxtext.h (singleWidth): add LyXFont parameter
6254
6255         * rowpainter.C:
6256         * text2.C: adjust LyXText::singleWidth() calls
6257
6258         * text.C (redoParagraph): simplify row breaking logic
6259
6260
6261 2003-08-19  André Pönitz  <poenitz@gmx.net>
6262
6263         * funcrequest.C: initialize button_ member
6264
6265         * text3.C:
6266         * rowpainter.[Ch]: interface consolidation
6267
6268 2003-08-18  André Pönitz  <poenitz@gmx.net>
6269
6270         * BufferView.C:
6271         * BufferView_pimpl.C:
6272         * lyxfind.C:
6273         * paragraph_funcs.C:
6274         * rowpainter.C:
6275         * text3.C: remove LyXScreen::draw() and fitCursor calls
6276
6277         * BranchList.h: remove spurious semicolons
6278
6279         * MenuBackend.C: fix branchlist related crash
6280
6281 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6282
6283         * BranchList.[Ch]:
6284         * InsetList.[Ch]:
6285         * LColor.[Ch]:
6286         * LyXAction.C:
6287         * Makefile.am:
6288         * MenuBackend.[Ch]:
6289         * bufferparams.[Ch]:
6290         * factory.C:
6291         * lfuns.h:
6292         * lyxfunc.C:
6293         * text3.C: implements the 'branch inset'
6294         idea. This allows the output of various versions of a document
6295         from a single source version, selectively outputing or suppressing
6296         output of parts of the text.
6297         This implementation contains a 'branch list editor' in a separate
6298         tab of the document settings dialog. Branches are user definable
6299         and have a "display colour" to distinguish them on-screen.
6300
6301         ColorHandler was somewhat cleaned up.
6302         (1) make possible a dynamically growing LColor list by allowing
6303         the graphic context cache to grow along (vector);
6304         (2) eliminate an IMHO unnecessary step in colour allocation.
6305
6306 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6307
6308         * BufferView_pimpl.C: compile fix
6309
6310 2003-08-15  André Pönitz  <poenitz@gmx.net>
6311
6312         * rowpainter.C: remove extra metrics calls
6313
6314         * lyxtext.h: merge the two constructors into a single one,
6315           pass reference to owner's par list
6316
6317         * BufferView_pimpl.C:
6318         * text.C:
6319         * text2.C: adjust
6320
6321 2003-08-15  André Pönitz  <poenitz@gmx.net>
6322
6323         * lyxrow_funcs.[Ch]:
6324         * lyxtext.h:
6325         * paragraph.h:
6326         * paragraph_funcs.C:
6327         * rowpainter.C:
6328         * text.C:
6329         * text2.C:
6330         * text3.C:
6331         * text_funcs.C: split LyXText::rowlist_ into individual
6332         Paragraph::rows_ chunks
6333
6334         * BufferView.[Ch]:
6335         * BufferView_pimpl.[Ch]:
6336         * lyxfind.C:
6337         * lyxtext.h:
6338         * text3.C: remove toggleSelection()
6339
6340 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6341
6342         * bufferlist.C: beautify two alerts (shorter text of buttons)
6343         * buffer.C: Remove redundant ' ' from message
6344         * tabular.h:
6345         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6346         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6347         rename VALIGN_CENTER to VALIGN_MIDDLE
6348
6349 2003-08-11  André Pönitz  <poenitz@gmx.net>
6350
6351         * lyxtext.h (getPar):
6352         * text.C: new function
6353
6354 2003-08-11  André Pönitz  <poenitz@gmx.net>
6355
6356         * Makefile.am:
6357         * tracer.[Ch]: remove unneeded files
6358
6359         * InsetList.[Ch]: remove resizeInsetsLyXText()
6360
6361         * lyxtext.h:
6362         * text.C:
6363         * text2.C:
6364         * text3.C: merge insertParagraphs() and appendParagraph()
6365         remove breakAgain(), update()
6366
6367         * BufferView_pimpl.[Ch]:
6368         * bufferview_funcs.[Ch]:
6369         * lyxfunc.C:
6370         * paragraph.[Ch]:
6371         * rowpainter.C:
6372         * tabular.C: adjust after text & InsetList changes.
6373
6374 2003-08-08  André Pönitz  <poenitz@gmx.net>
6375
6376         * text.C (insertChar, backspace): replace rowlist fiddling
6377         with rebreak of full par
6378
6379         * lyxtext.h:
6380         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6381         checkParagraph, updateInset): removed
6382
6383 2003-08-07  André Pönitz  <poenitz@gmx.net>
6384
6385         * paragraph.C:
6386         * text3.C: merge some LFUN handlers, remove dead code
6387
6388 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6389
6390         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6391
6392 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6393
6394         * text2.C (DEPM): fix part of bug 1255 and 1256
6395
6396 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6397
6398         * BufferView_pimpl.C (workAreaDispatch): change to use
6399         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6400         that are no mouse related.
6401
6402 2003-08-05  André Pönitz  <poenitz@gmx.net>
6403
6404         * BufferView.[Ch]:
6405         * BufferView_pimpl.[Ch]:
6406         * bufferview_funcs.C:
6407         * text2.C:
6408         * text3.C: rip out "deep update"
6409
6410         * textcursor.[Ch] (last_sel_cursor): remove unused member
6411
6412 2003-08-04  André Pönitz  <poenitz@gmx.net>
6413
6414         * BufferView.[Ch]:
6415         * BufferView_pimpl.[Ch]:
6416         * ParagraphParameters.C:
6417         * bufferview_funcs.C:
6418         * lyx_cb.C:
6419         * lyxfind.C:
6420         * lyxfunc.C:
6421         * text.C:
6422         * text2.C:
6423         * text3.C: replace "complicated" BufferView::update(...) calls with
6424         simpler ones.
6425
6426         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6427
6428 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6429
6430         * Makefile.am (lyx_SOURCES): add paper.h
6431
6432 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6433
6434         * Makefile.am: move things around so that both lyx-qt and
6435         lyx-xforms can be built (according to --with-frontend). Then lyx
6436         is a symbolic link to lyx-[firstfrontend]
6437
6438 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6439
6440         * Always use std::endl with lyxerr
6441
6442 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6443
6444         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6445
6446 2003-08-01  André Pönitz  <poenitz@gmx.net>
6447
6448         * BufferView.[Ch]:
6449         * BufferView_pimpl.[Ch]:
6450         * lyxfunc.C:
6451         * text3.C: merge BufferView::repaint() and BufferView::update()
6452
6453 2003-08-01  José Matos  <jamatos@lyx.org>
6454
6455         * buffer.[Ch]: file_format is no longer a buffer data element.
6456
6457 2003-08-01  André Pönitz  <poenitz@gmx.net>
6458
6459         * BufferView.C:
6460         * lyxtext.h:
6461         * text.C:
6462         * text2.C: make redoParagraph more independent of current cursor
6463
6464         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6465         * text.C:
6466         * text2.C: remove unneeded members
6467
6468 2003-07-30  André Pönitz  <poenitz@gmx.net>
6469
6470         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6471
6472         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6473           create a single function...
6474
6475         * paragraph_funcs.C (moveItem): ... here.
6476
6477         * text.C:
6478           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6479
6480 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6481
6482         * LColor.[Ch]: Add comment and greyedout logical colors.
6483
6484 2003-07-30  André Pönitz  <poenitz@gmx.net>
6485
6486         * tabular.C: don't use Assert too heavily. This crashes where it
6487           shouldn't
6488
6489 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6490
6491         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6492         is disabled (bug 1232)
6493
6494 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6495
6496         * factory.C: limited 'arg' scope
6497
6498 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6499
6500         * factory.C: fixed Note submenu issues
6501
6502 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6503
6504         * factory.C: submenu for Note/Comment/Greyedout
6505
6506 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6507
6508         * lyx_main.C (LyX):
6509         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6510
6511 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6512
6513         * LaTeXFeatures.C:
6514         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6515         greyedout. Patch provided by Jürgen Spitzmüller.
6516
6517 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6518
6519         * kbmap.C (read): fix error message when reading bind files
6520
6521 2003-07-29  Angus Leeming  <leeming@lyx.org>
6522
6523         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6524         certainly does not do what it purports to do. I am doing it, and
6525         us, a favour by killing it.
6526
6527 2003-07-28  José Matos  <jamatos@lyx.org>
6528
6529         * buffer.C (readBody, do_writeFile):
6530         * paragraph.C(readParagraph): \end_document replaces \the_end.
6531
6532 2003-07-29  André Pönitz  <poenitz@gmx.net>
6533
6534         * BufferView.[Ch]:
6535         * BufferView_pimpl.[Ch]:
6536         * lyxfunc.C:
6537         * text2.C:
6538         * text3.C:
6539         * textcursor.[Ch]: remove toggleToggle & Co
6540
6541 2003-07-28  José Matos  <jamatos@fep.up.pt>
6542
6543         * buffer.C (readParagraph):
6544         * params_func (readParToken, readParagraph):
6545         * paragraph.C (write): \layout -> \begin_layout.
6546
6547 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * lyxlex_pimpl.C (setFile): clean up slightly.
6550
6551         * bufferparams.h: add compressed var
6552
6553         * buffer_funcs.C (readFile): adjust for LyXLex change
6554         (newFile): ditto + simplify
6555
6556         * buffer.C (writeFile): handle writing of compressed files
6557
6558         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6559         Check if the file is compressed and set a bufferparm if so.
6560
6561         * Makefile.am (lyx_LDADD): remove explicit -lz
6562
6563 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6564
6565         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6566         makeDocBookFile): put the real LyX version in the first line of
6567         the file
6568
6569         * version.h:
6570         * version.C.in: remove lyx_docversion
6571
6572         * tabular.C (write_attribute): add a template-based version to
6573         write enums properly
6574
6575 2003-07-28  André Pönitz  <poenitz@gmx.net>
6576
6577         * lyxtext.h:
6578         * text.C:
6579         * text2.C:
6580         * text3.C: use doubles again for x-coordinates. They are needed.
6581
6582 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6583
6584         * messages.C (getLocaleDir): use lyx_localedir()
6585
6586         * lyxlex_pimpl.C (setFile): compress stuff
6587
6588         * buffer.C (writeFile): add some compression stuff
6589         (do_writeFile): new func, dont call expliti close... will this
6590         breake anything?
6591
6592         * Makefile.am (lyx_LDADD): add -lz
6593
6594 2003-07-28  José Matos  <jamatos@fep.up.pt>
6595
6596         * buffer.C: increment file format.
6597         * paragraph_funcs (readParagraph, readParToken):
6598         * paragraph.C (readParagraph): add \end_layout.
6599
6600 2003-07-27  Angus Leeming  <leeming@lyx.org>
6601
6602         * Makefile.am: remove special casing for configure-time setting of
6603         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6604
6605         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6606         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6607
6608 2003-07-26  André Pönitz  <poenitz@gmx.net>
6609
6610         * paragraph_func.[Ch]:
6611         * paragraph.C (realizeFont): inline it whereever it is used
6612
6613         * rowpainter.C:
6614         * text.C:
6615         * text2.C:
6616         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6617
6618
6619 2003-07-26  André Pönitz  <poenitz@gmx.net>
6620
6621         *       lyxtext.h:
6622         * text.C:
6623         * text2.C: get rid of LyXText::need_break_row
6624
6625 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6626
6627         * toc.[Ch]: put namespace toc inside namespace lyx
6628
6629         * MenuBackend.C (expandToc2): adjust for lyx::toc
6630         (expandToc): ditto
6631
6632         * lyxfunc.C (dispatch): adjust for lyx::find
6633
6634         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6635         lyx::find instead. Reorganize a bit.
6636         (LyXReplace): rename to replace
6637         (LyXFind): rename to find
6638
6639         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6640         (dispatch): ditto
6641
6642 2003-07-26  André Pönitz  <poenitz@gmx.net>
6643
6644         * text.C (setHeightOfRow): restrict scope of temporary variable
6645
6646         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6647           code (never has been used?)
6648
6649 2003-07-27  Asger Alstrup  <alstrup@local>
6650
6651         * text.C (fill): Optimise algorithm to exploit that we can reuse
6652         the LyXFont for many characters.
6653         (setHeightOfRow): Same thing.
6654         (rowBreakPoint): Same thing.
6655
6656 2003-07-26  Asger Alstrup  <alstrup@local>
6657
6658         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6659
6660         * text.C (singleWidth): Spurious font copying in hot-spot
6661         singleWidth avoided. Reorder tests for arabic for efficiency.
6662
6663         * text.C (fill): handle empty paragraphs better.
6664
6665 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6666
6667         * ispell.C:
6668         * encoding.h: add includes
6669
6670         * lyxrc.C: remove reading of bind files
6671
6672         * lyx_main.C (init): setup bindings and menus only if we have a
6673         gui.
6674
6675         * kbmap.C (read): new method. Do the actual reading of bind
6676         files.
6677
6678         * converter.C (dvipdfm_options):
6679         * bufferparams.C:
6680         * lyxrc.C (read):
6681         (output): adapt PAPER_* enums.
6682
6683         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6684
6685         * bufferparams.h: remove paper-related enums from there
6686
6687         * paper.h: New file. A trivial header file to hold paper-related
6688         enums. It should later expand to contain many paper-related
6689         horrors access.
6690
6691         * lyxrc.C: declare extern displayTranslator
6692
6693 2003-07-27  José Matos  <jamatos@fep.up.pt>
6694
6695         * tabular.[Ch] (linuxdoc): add support for tables and figures
6696         (linuxdoc).
6697
6698 2003-07-27  José Matos  <jamatos@fep.up.pt>
6699
6700         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6701         consistency in both functions.
6702         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6703
6704 2003-07-26  Asger Alstrup  <alstrup@local>
6705
6706         * rowpainter.C (paintRows): Change algorithm to work directly on
6707         the insets rather than asking every character in the document
6708         whether its an inset.
6709
6710 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6711
6712         * buffer.C (openFileWrite): factorize some code
6713
6714 2003-07-26  Angus Leeming  <leeming@lyx.org>
6715
6716         * lyx_cb.C:
6717         * lyx_main.[Ch]: replace occurances of system_tempdir with
6718         os::getTmpDir().
6719
6720 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * rename Inset to InsetOld
6723
6724 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6725
6726         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6727         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6728         which I think is a bit clearer. EDIT is gone, since it was
6729         premature optimisation, and broken for mathed anyway.
6730         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6731         with cursor positioning in insets as well (math insets still do not
6732         work, but that's a different story anyway.) It mysteriously
6733         crashes sometimes with undo in the first paragraph, but I'm fairly
6734         confident that this is a compiler bug.
6735
6736 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * paragraph.C (Paragraph): adjust for new clone return type
6739         (operator==): ditto
6740         (copyIntoMinibuffer): ditto
6741
6742 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6743
6744         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6745         by not having a special case, and always doing a full rebreak of
6746         the document after undo.
6747
6748 2003-07-23  Angus Leeming  <leeming@lyx.org>
6749
6750         * factory.C (createInset): InsetExternal::setParams now takes a
6751         Buffer const * arg.
6752
6753 2003-07-23  Angus Leeming  <leeming@lyx.org>
6754
6755         * factory.C (createInset): changed interface to the external and
6756         graphics mailers' string2params functions.
6757
6758 2003-07-23  Angus Leeming  <leeming@lyx.org>
6759
6760         * factory.C (createInset): pass a
6761         Buffer const * parameter to InsetExternalMailer's string2params.
6762
6763 2003-07-22  John Levon  <levon@movementarian.org>
6764
6765         * Thesaurus.h: include the right aiksaurus header
6766
6767 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6768
6769         * MenuBackend.C (expand): check menu shortcuts unconditionally
6770
6771 2003-07-21  Angus Leeming  <leeming@lyx.org>
6772
6773         * factory.C (createInset): pass a
6774         buffer_path parameter to InsetGraphicsMailer's string2params.
6775
6776 2003-07-21  Angus Leeming  <leeming@lyx.org>
6777
6778         * BufferView_pimpl.C (buffer):
6779         * buffer.C (d-tor):
6780         * lyx_main.C (LyX):
6781         * lyxfunc.C (dispatch):
6782         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6783         rather than the grfx shortcut.
6784
6785 2003-07-21  André Pönitz  <poenitz@gmx.net>
6786
6787         * rowpainter.C: remove unused variables
6788
6789         * tabular_funcs.C:
6790         * tabular_funcs.h: move to tabular.C
6791         * Makefile.am: adjust
6792
6793         * tabular.[Ch]: basic optical cleaning
6794
6795         * author.h: pass references, not values
6796
6797 2003-07-18  André Pönitz  <poenitz@gmx.net>
6798
6799         * lyxtext.h:
6800         * metricsinfo.C:
6801         * metricsinfo.h:
6802         * rowpainter.C:
6803         * text.C:
6804         * text2.C:
6805         * text3.C: two-phase drawing for InsetText and InsetTabular
6806         some float -> int changes.
6807
6808 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6809
6810         * lyx_main.C: fix the fix
6811
6812 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6813
6814         * lyx_main.C: fix a crash in batch mode if no files specified
6815         * converter.C: ws
6816
6817 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6818
6819         * format.[Ch] (papersize): moved to BufferParams
6820         * converter.[Ch] (dvips_options): moved to BufferParams
6821         (dvipdfm_options): moved to anon namespace
6822         * bufferparams.[Ch]: added above functions.
6823
6824 2003-07-17  André Pönitz  <poenitz@gmx.net>
6825
6826         * lyxtext.h:
6827         * rowpainter.C:
6828         * text2.C: don't call inset->update() anymore
6829
6830         * metricsinfo.[Ch]: add convenience constructor
6831
6832 2003-07-16  André Pönitz  <poenitz@gmx.net>
6833
6834         * lyxcursor.[Ch]:
6835         * lyxfunc.[Ch]:
6836         * text.C:
6837         * text2.C: replace the LyXCursor::irow_ member with
6838          on-demand computation of the value
6839
6840 2003-07-16  John Levon  <levon@movementarian.org>
6841
6842         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6843
6844 2003-07-15  André Pönitz  <poenitz@gmx.net>
6845
6846         * text.C:
6847         * text2.C: remove no more needed refresh_row
6848
6849 2003-07-15  André Pönitz  <poenitz@gmx.net>
6850
6851         * lyxtext.h:
6852         * rowpainter.C:
6853         * text2.C:
6854         * text3.C: refresh_status tristate -> need_update bool
6855
6856 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6857
6858         * lyxtext.h (init): remove reinit argument (act as if always true)
6859         * text2.C: adjust to that
6860
6861 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6862
6863         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6864         * text3.C: use it to delete selections in some cases
6865         (bugs 441, 673, 702, 954).
6866
6867 2003-07-14  André Pönitz  <poenitz@gmx.net>
6868
6869         * rowpainter.[Ch]: reduce interface
6870
6871 2003-07-14  André Pönitz  <poenitz@gmx.net>
6872
6873         * BufferView_pimpl.C:
6874         * text2.C: adjust after removing unused BufferView * argument
6875
6876 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6877
6878         * text2.C (init): fix a crash fired on resize
6879
6880 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6881
6882         * buffer.[Ch]: added new closing signal
6883         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6884         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6885         BufferView::Pimpl via the closing the signal
6886
6887 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6888
6889         * buffer.[Ch]: take out all bv-related from buffer
6890         * BufferView.C:
6891         * BufferView_pimpl.[Ch]: connect to new signals
6892         * CutAndPaste.C: removed useless asserts
6893         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6894         * lyxvc.[Ch]:
6895         * vc-backend.[Ch]:
6896         * lyxfunc.C: moved view-related funciontality from vc here
6897         * paragraph.C: removed outdated comments
6898         * text.C: ws
6899
6900 2003-07-10  André Pönitz  <poenitz@gmx.net>
6901
6902         * BufferView_pimpl.C:
6903         * tabular.h:
6904         * tabular_funcs.C:
6905         * text.C:
6906         * text2.C: remove InsetText::InnerCache, clean up consequences
6907
6908 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6909
6910         * ispell.C: fix two typos in error messages
6911
6912 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6913
6914         * Extend Note inset to other forms of annotation like Comment
6915         and Greyedout. Right button click gives dialog.
6916
6917         Files modified or added (+):
6918
6919         * insetnote.[Ch]
6920         * FormNote.[Ch]      +
6921         * ControlNote.[Ch]   +
6922         * form_note.fd       +
6923         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6924         frontends/controllers
6925         * xforms/Dialogs.C
6926         * factory.C
6927
6928 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6929
6930         * aspell.C: add missing namespace lyx::support
6931
6932 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6933
6934         * BufferView.[Ch] (newFile): Add
6935         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6936         * LaTeX.[Ch] (message): added this signal and use it
6937         * buffer.[Ch] (busy, message): added these signals and use them
6938         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6939         * converter.C:
6940         * exporter.C:
6941         * format.C:
6942         * importer.C: use buffer signals instead of direct bv calling
6943         * lyx_cb.[Ch] (ShowMessage): removed
6944         * lyx_main.C:
6945         * lyxfunc.C:
6946         * paragraph_funcs.C:
6947         * text2.C: use buffer signals
6948
6949 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6950
6951         * introduce namespace lyx::graphics
6952
6953 2003-07-02  André Pönitz  <poenitz@gmx.net>
6954
6955         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6956
6957 2003-07-01  André Pönitz  <poenitz@gmx.net>
6958
6959         * text.C:
6960         * text2.C:
6961         * text3.C:
6962         * text_funcs.[Ch]:
6963         * textcursor.h:
6964         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6965           text*.C to text_func.C
6966
6967 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * introduce namespace lyx::support
6970
6971 2003-06-30  André Pönitz  <poenitz@gmx.net>
6972
6973         * Chktex.C:
6974         * funcrequest.C:
6975         * lyxtext.h:
6976         * text.C: re-enable --with-included-string
6977
6978 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6979
6980         * textcursor.C: add <config.h>
6981
6982         * text.C (getWord): remove const from word_location arg
6983
6984         * lyxvc.C (getLogFile): fix const type order
6985
6986         * lyxtext.h: remove const from word_location arg, add arg name
6987
6988         * lyxlayout.h: currect type on labeltype.
6989
6990         * importer.C: correct \file
6991
6992         * converter.C (intToFormat): use std:: on ret val, ws changes
6993
6994         * bufferlist.h: correct \file
6995
6996         * buffer.C (makeLinuxDocFile): fix const type order
6997         (makeDocBookFile): ditto
6998         (fillWithBibKeys): use std:: on stdlib args.
6999
7000         * CutAndPaste.C: fix authors.
7001         (availableSelections): use std:: on return vector
7002
7003 2003-06-27  André Pönitz  <poenitz@gmx.net>
7004
7005         * BufferView_pimpl.C:
7006         * bufferview_funcs.C:
7007         * lyxcursor.C:
7008         * lyxcursor.h:
7009         * lyxfunc.C:
7010         * lyxtext.h:
7011         * rowpainter.C:
7012         * text.C:
7013         * text2.C:
7014         * text3.C: remove LyXCursor::row_ member
7015
7016         * lyxtext.h:
7017         * text.C: rename fullRebreak() to partialRebreak() and implement
7018           a fullRebreak() that really bereks fully
7019
7020         * textcursor.h: new struct for cursor-related data
7021
7022 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7023
7024         * lyx_main.C (LyX): get full path of document loaded on the
7025         command line
7026
7027 2003-06-26  André Pönitz  <poenitz@gmx.net>
7028
7029         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7030           remove unused/broken operator>,<,>=.
7031
7032         *       text.C: remove only use of broken operator<= in an Assert().
7033
7034 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7035
7036         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7037         moved errorlist_.clear to showErrorList
7038
7039 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7040
7041         * converter.C (scanLog, runLaTeX):
7042         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7043         move the bv->showErrorList call to the callers
7044         * lyxfunc.C: i.e. here...
7045         * text2.C: and here
7046         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7047         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7048         namespace, the second to...
7049         * buffer_funcs (BufferFormat, parseErrors): added
7050         * errorlist.C (ErrorList(TeXErrors const &)): removed
7051
7052 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7053
7054         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7055
7056 2003-06-24  "Garst R. Reese" <reese@isn.net>
7057
7058         * debug.C: fix typo
7059
7060 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7061
7062         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7063
7064         * version.C.in: change docversion to 1.4
7065
7066 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7067
7068         * buffer.C: fix a bug just introduced
7069
7070 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7071
7072         * buffer.[Ch]: added the parseError signal and use it, removed
7073         sgmlError
7074         * BufferView.[Ch] (addError): moved to ...
7075         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7076         to the Buffer::parseError signal to catch (guess what) parse errors
7077         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7078
7079 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7082         ability to create a buffer and to return an existing one from
7083         the list. Moved these functions to...
7084         * buffer_funcs.[Ch]: added
7085         * BufferView.[Ch] (loadLyXFile): added
7086         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7087         job removed from bufferlist::loadLyXFile.
7088         * buffer.C (setReadOnly): make it work without view
7089         (i.e added an if (users))
7090
7091 2003-06-19  Angus Leeming  <leeming@lyx.org>
7092
7093         * lfuns.h:
7094         * LyXAction.C (init):
7095         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7096         with LFUN_DIALOG_SHOW <name> <data>.
7097
7098 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7099
7100         * CutAndPaste.C (availableSelections): small compilation fix for
7101         ancient (gcc 2.9x) compilers
7102
7103 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7104
7105         * text3.C (cursorNext): add tmp var
7106
7107         * text2.C (updateCounters): for function calling out of for clause
7108         (replaceSelectionWithString): ditto
7109         (insertStringAsParagraphs): ditto
7110         (getColumnNearX): add tmp var
7111         (setCursorFromCoordinates): add tmp var
7112         (cursorDownParagraph): add tmp var
7113         (deleteEmptyParagraphMechanism): add tmp var
7114
7115         * text.C (insertChar): add tmp var
7116
7117         * rowpainter.C (paintDepthBar): add tmp var
7118
7119         * CutAndPaste.C (availableSelections): potentially check all
7120         paragraphs in a cut to fill the shown strings.
7121
7122 2003-06-18  André Pönitz  <poenitz@gmx.net>
7123
7124         * kbmap.[Ch]: use vector<> instead of list<>
7125
7126 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7127
7128         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7129         pasteSelection with index
7130
7131         * text2.C (pasteSelection): modify, call pasteSelection with index
7132
7133         * paragraph.C (asString): reimplement version with no interval to
7134         call the one with interval.
7135
7136         * lyxtext.h: add index arg to pasteSelection
7137
7138         * MenuBackend.C (MenuItem): handle PasteRecent
7139         (Menu::read::Menutags): add md_pasterecent
7140         (read): handle it
7141         (expandPasteRecent): new function
7142         (expand): use it
7143
7144         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7145
7146         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7147         the limited stack
7148         (availableSelections): new function
7149
7150 2003-06-17  Angus Leeming  <leeming@lyx.org>
7151
7152         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7153
7154 2003-06-17  Angus Leeming  <leeming@lyx.org>
7155
7156         * lfuns.h:
7157         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7158
7159         * lyxfunc.C (dispatch): invoke it.
7160
7161 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7162
7163         * iterators.C (operator++, ParPosition): reintroduce some
7164         const_cast for the benefit of older compilers.
7165
7166 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7167
7168         * text3.C (dispatch): do not modify clipboard when doing
7169         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7170         LFUN_DELETE_SKIP on a selection selection
7171
7172 2003-06-16  André Pönitz  <poenitz@gmx.net>
7173
7174         * BufferView.C:
7175         * buffer.C:
7176         * buffer.h:
7177         * paragraph.C:
7178         * tabular.[Ch]: IU of clone() and getLabelList();
7179
7180 2003-06-13  André Pönitz  <poenitz@gmx.net>
7181
7182         * tabular.h: compactification
7183
7184 2003-06-12  André Pönitz  <poenitz@gmx.net>
7185
7186         * tabular.C:
7187         * tabular.h:
7188         * tabular_funcs.h: some renaming plus whitespace
7189
7190 2003-06-12  André Pönitz  <poenitz@gmx.net>
7191
7192         * BufferView.C:
7193         * BufferView_pimpl.C:
7194         * CutAndPaste.C:
7195         * buffer.C:
7196         * iterators.[Ch]:
7197         * lyxfunc.C:
7198         * text.C:
7199         * toc.C: Return a Paragraph & for ParIterator::operator*()
7200
7201 2003-06-11  John Levon  <levon@movementarian.org>
7202
7203         * lyx_main.C:
7204         * ToolbarBackend.h:
7205         * ToolbarBackend.C: add "Toolbars" section and
7206         put the flags there
7207
7208 2003-06-10  Angus Leeming  <leeming@lyx.org>
7209
7210         * lfuns.h:
7211         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7212
7213         * lyxfunc.C (dispatch): invoke it.
7214
7215 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7216
7217         * main.C: protect <ios> with HAVE_IOS
7218         (main): protect sync_with_stdio with HAVE_IOS
7219
7220 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7221
7222         * text2.C (cutSelection): adjust
7223         (pasteSelection): adjust
7224
7225         * messages.C: handle get of empty string
7226
7227         * main.C (main): use sync_with_stdio(false)
7228
7229         * lyxfunc.C (dispatch): adjust
7230
7231         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7232         (WriteAs): remove unneeded BufferView arg.
7233
7234         * bufferparams.h: use correct types on papersize, papersize2 and
7235         paperpackage.
7236
7237         * bufferparams.C (readToken): adjust for type
7238         (writeLaTeX): add missing cases to switch.
7239
7240         * bufferlist.C (quitWriteBuffer): adjust
7241         (close): adjust
7242
7243         * buffer.C (asciiParagraph): remove some commented code.
7244
7245         * CutAndPaste.C: remove current_view extern variable.
7246         (cutSelection): add BufferParams arg.
7247         (eraseSelection): add BufferParams arg.
7248         (pasteSelection): add Buffer const & arg
7249
7250 2003-06-07  John Levon  <levon@movementarian.org>
7251
7252         * buffer.C:
7253         * paragraph_funcs.C:
7254         * paragraph_pimpl.C:
7255         * text.C:
7256         * text2.C:
7257         * paragraph.h:
7258         * paragraph.C: allow InsetERT to freely space lines,
7259         and some consolidation of code
7260
7261 2003-06-06  José Matos  <jamatos@fep.up.pt>
7262
7263         * buffer.C (makeDocBookFile): fix bug #821
7264
7265 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7266
7267         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7268
7269 2003-06-04  Angus Leeming  <leeming@lyx.org>
7270
7271         * buffer.C: bump format to 224.
7272
7273 2003-06-05  André Pönitz  <poenitz@gmx.net>
7274
7275         * text2.C (redoParagraphs): remove two const_cast<>
7276
7277 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7278
7279         * ParagraphList.h: remove last remnants of NO_STD_LIST
7280
7281 2003-06-03  Angus Leeming  <leeming@lyx.org>
7282
7283         * factory.C (createInset): small change to the way InsetExternal's params
7284         are set.
7285
7286 2003-06-04  André Pönitz  <poenitz@gmx.net>
7287
7288         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7289
7290         * paragraph_pimpl.h:
7291         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7292
7293         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7294
7295         * undo_funcs.C: make some simple cases of undo work again
7296
7297 2003-06-03  John Levon  <levon@movementarian.org>
7298
7299         * ispell.C: HPUX doesn't have sys/select.h
7300         (from Albert Chin)
7301
7302 2003-06-03  John Levon  <levon@movementarian.org>
7303
7304         * CutAndPaste.C: update tabular and include inset
7305         buffer references
7306
7307         * buffer.h:
7308         * paragraph.h:
7309         * paragraph.C: remove owningBuffer(), don't pass Buffer
7310         to clone()
7311
7312         * factory.C: insetGraphicsParams changed
7313
7314 2003-06-02  John Levon  <levon@movementarian.org>
7315
7316         * LyXAction.C:
7317         * factory.C:
7318         * lfuns.h:
7319         * lyxfunc.C:
7320         * text3.C: remove insetparent
7321
7322 2003-06-02  John Levon  <levon@movementarian.org>
7323
7324         * buffer.h:
7325         * buffer.C: fix inset_iterator.end(), move out of line
7326         (bug 1149)
7327
7328 2003-06-01  John Levon  <levon@movementarian.org>
7329
7330         * text3.C: use a proper cut/paste when doing inset
7331         insert (from Jürgen Spitzmüller)
7332
7333 2003-06-01  John Levon  <levon@movementarian.org>
7334
7335         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7336
7337 2003-05-30  André Pönitz  <poenitz@gmx.net>
7338
7339         * rowpainter.C: unify second drawing phase
7340
7341 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7342
7343         * trans_mgr.C: remove one case of current_view
7344
7345         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7346
7347         * paragraph_funcs.h: remove paragraph.h include
7348
7349         * paragraph.h: delete NO_STD_LIST stuff
7350
7351         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7352
7353         * buffer.h: remove paragraph.h include
7354
7355         * ParagraphList.C: delete file
7356
7357         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7358
7359         * toc.C (getTocList): adjust
7360
7361         * paragraph_pimpl.C (validate): adjust
7362
7363         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7364
7365         * paragraph.C (Paragraph): adjust
7366         (getPositionOfInset): use const_iterator, adjust
7367         (bibitem): use const_iterator, adjust
7368         (setInsetOwner): adjust
7369
7370         * iterators.C (operator++): adjust
7371
7372         * InsetList.[Ch]: Replace selfmade iterator with standard
7373         vector::iterator also introduce const_iterator. Remove getPos,
7374         getInset and setInset from InsetTable. Adjust accordingly.
7375
7376         * BufferView.C (lockInset): adjust
7377         (ChangeInsets): adjust
7378
7379         * tabular.[Ch]: delete commented same_id functions
7380
7381 2003-05-28  John Levon  <levon@movementarian.org>
7382
7383         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7384
7385 2003-05-28  André Pönitz  <poenitz@gmx.net>
7386
7387         * metricsinfo.[Ch]: remove 'fullredraw' member
7388
7389 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7390
7391         * lyxtextclass.C (operator): remove caching.
7392
7393 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7394
7395         * text3.C: adjust
7396
7397         * text2.C (cursorBottom): adjust
7398         (setCounter): use ParagraphList::find, adjust
7399
7400         * text.C (workWidth): use ParagraphList::find, adjust
7401
7402         * lyxcursor.C (LyXCursor): adjust
7403
7404         * buffer.C (inset_iterator): adjust
7405
7406         * ParagraphList.h: make iterator(value_type) private, make
7407         ParagraphList a friend of iterator.
7408
7409         * ParagraphList.C (find): new function
7410
7411         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7412
7413 2003-05-27  André Pönitz  <poenitz@gmx.net>
7414
7415         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7416
7417 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7418
7419         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7420
7421 2003-05-26  John Levon  <levon@movementarian.org>
7422
7423         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7424
7425 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7426
7427         * remove same_id from function signatures, adjust.
7428
7429 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7430
7431         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7432
7433         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7434
7435         * paragraph.C (Paragraph): get rid of same_ids parameter
7436
7437         * ParagraphList.C (insert): adjust
7438         (push_back): adjust
7439
7440 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7441
7442         * paragraph_funcs.C (breakParagraph): adjust
7443         (breakParagraphConservative): adjust
7444
7445         * buffer.C (readParagraph): adjust
7446
7447         * ParagraphList.C (insert): take a reference instead of a pointer
7448         (insert): adjust
7449
7450         * paragraph.[Ch] (id): new function
7451
7452         * bufferlist.C (newFile): adjust
7453
7454         * ParagraphList.C (ParagraphList): adjust
7455         (assign): adjust
7456         (push_back): take a reference instead of a pointer.
7457
7458         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7459
7460         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7461         instead.
7462
7463         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7464         set else use old code.
7465
7466         * ParagraphList.C: remove all NO_NEXT code and only compile this
7467         code of NO_STD_LIST is set.
7468
7469 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7470
7471         * BufferView_pimpl.C:
7472         * TextCache.C:
7473         * TextCache.h:
7474         * bufferlist.C:
7475         * errorlist.h:
7476         * format.C:
7477         * format.h:
7478         * graph.C:
7479         * lyxfunc.C:
7480         * lyxrc.C:
7481         * graphics/GraphicsConverter.C:
7482         * graphics/PreviewLoader.C: header adjustment
7483
7484 2003-05-23  Angus Leeming  <leeming@lyx.org>
7485
7486         * LaTeXFeatures.[Ch] (useBabel): new method.
7487         * bufferparams.C (writeLaTeX): use it.
7488
7489 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7490
7491         * ParagraphList.h (set): remove unused function.
7492
7493 2003-05-23  André Pönitz  <poenitz@gmx.net>
7494
7495         * BufferView.C:
7496         * BufferView_pimpl.C:
7497         * buffer.C:
7498         * buffer.h:
7499         * lyxfunc.C:
7500         * undo_funcs.C: setUndo reworked
7501
7502         * iterators.[Ch]: add access to topmost ParagraphList
7503
7504         * lyxtext.[Ch] (workWidth): add a const
7505
7506 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7507
7508         * texrow.[Ch] (increasePos): remove function
7509         * exporter.C (export): removed unused var and outdated comment
7510
7511 2003-05-23  Angus Leeming  <leeming@lyx.org>
7512
7513         * latexrunparams.h: rename fragile as moving_arg.
7514         * paragraph.C (simpleTeXOnePar): ditto.
7515         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7516
7517 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7520         (createUndo): ditto
7521         (textUndoOrRedo): comment out a currently unused var.
7522
7523         * paragraph.h (NO_NEXT): enable NO_NEXT
7524
7525         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7526
7527         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7528
7529         * exporter.C (Export): adjust for removeAutoInsets removal.
7530
7531         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7532
7533         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7534
7535         * BufferView.[Ch] (removeAutoInsets): delete function
7536
7537 2003-05-22  Angus Leeming  <leeming@lyx.org>
7538
7539         * latexrunparams.h: add a free_spacing variable.
7540
7541         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7542         to pass moving_arg, as the data is stored in runparams.fragile.
7543
7544         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7545         to Inset::latexOptional or to simpleTeXOnePar.
7546
7547         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7548         free_spacing arg to Inset::latexOptional.
7549
7550         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7551         free_spacing arg.
7552
7553 2003-05-22  Angus Leeming  <leeming@lyx.org>
7554
7555         * latexrunparams.h: add fragile and use_babel variables.
7556
7557         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7558         * buffer.C (makeLaTeXFile): store this returned value in
7559         runparams.use_babel, thus passing it to the inset::latex methods.
7560
7561         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7562         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7563
7564         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7565         longer has a fragile arg, as it is stored in runparams.fragile.
7566
7567         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7568         moving_arg parameter as the data is stored in runparams.fragile.
7569
7570         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7571         a fragile parameter as the data is stored in runparams.fragile.
7572
7573 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7576
7577 2003-05-22  Angus Leeming  <leeming@lyx.org>
7578
7579         * latexrunparams.h: add a 'bool nice' which defaults to false.
7580
7581         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7582         now encapsulated within runparams.
7583
7584         * bufferlist.C (updateIncludedTeXfiles):
7585         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7586
7587 2003-05-22  Angus Leeming  <leeming@lyx.org>
7588
7589         * latexrunparams.h: new file containing struct LatexRunParams.
7590         * Makefile.am: add new file.
7591
7592         * LaTeX.[Ch] (c-tor, run):
7593         * buffer.[Ch] (makeLaTeXFile):
7594         * bufferlist.[Ch] (updateIncludedTeXfiles):
7595         * converter.C (convert, scanLog):
7596         * converter.[Ch] (runLaTeX):
7597         * exporter.C (Export):
7598         * paragraph.[Ch] (simpleTeXOnePar):
7599         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7600         * paragraph_funcs.[Ch] (latexParagraphs):
7601         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7602         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7603         pass around a LatexRunParams parameter.
7604
7605 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * paragraph.[Ch]: remove unused constructor
7608
7609         * ParagraphList.C (erase): new function, taking two iterators
7610
7611 2003-05-22  André Pönitz  <poenitz@gmx.net>
7612
7613         * undo_funcs.C: remove duplicated code
7614
7615         * iterator.[Ch]: operator=
7616
7617 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7618
7619         * tabular.C (SetMultiColumn): ws changes
7620
7621         * rowpainter.C (paintFirst): get rid of a ->previous
7622
7623         * lyx_cb.C (getPossibleLabel): parlist simplification
7624
7625         * BufferView.C (ChangeInsets): simplify slightly.
7626
7627 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7628
7629         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7630         * lfuns.h: new LFUN_SPACE
7631         * lyxfunc.C: protected space has a new lfun
7632         * paragraph_funcs.C: read new space insets
7633         * text3.C:
7634         * factory.C: handle new space insets
7635
7636 2003-05-22  André Pönitz  <poenitz@gmx.net>
7637
7638         * BufferView.C:
7639         * BufferView_pimpl.C:
7640         * buffer.[Ch]:
7641         * lyxfunc.C:
7642         * undo_funcs.C: return a ParIterator from getParFromID.
7643
7644         * iterators.[Ch]: add two const's
7645
7646 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7647
7648         * toc.C (getTocList): adjust
7649
7650         * iterators.[Ch]: rework for parlist
7651
7652         * buffer.C (par_iterator_begin): adjust
7653         (par_iterator_end): adjust
7654
7655         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7656
7657         * BufferView.C (removeAutoInsets): adjust
7658         (ChangeInsets): adjust
7659
7660 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7661
7662         * text.C (top_y): fix bug 1110
7663
7664 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7665
7666         * errorlist.[Ch]: added
7667         * buffer.C:
7668         * BufferView.[Ch]:
7669         * BufferView_pimpl.C:
7670         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7671         instead
7672
7673 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7674
7675         * Makefile.am: ensure that lyx is relinked upon changes to the
7676         various "convenience" libs.
7677
7678 2003-05-20  Angus Leeming  <leeming@lyx.org>
7679
7680         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7681         files are compiled in alphabetical order again.
7682
7683         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7684
7685 2003-05-19  Angus Leeming  <leeming@lyx.org>
7686
7687         * gettext.[Ch]: remove "char const * _(char const *)".
7688
7689 2003-05-19  André Pönitz  <poenitz@gmx.net>
7690
7691         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7692
7693         * Makefile.am:
7694         * BufferView.C:
7695         * DepTable.h:
7696         * LaTeXFeatures.C:
7697         * buffer.C:
7698         * lyxfont.C:
7699         * lyxlex.h:
7700         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7701
7702 2003-05-19  André Pönitz  <poenitz@gmx.net>
7703
7704         * buffer.C:
7705         * lyxlayout.[Ch]:
7706         * lyxtextclass.[Ch]:
7707         * paragraph.C:
7708         * paragraph_funcs.[Ch]:
7709         * text2.C:
7710         * text3.C: more insetenv work
7711
7712 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7713
7714         * ParagraphParameters.C (params2string): small bug fixed
7715
7716 2003-05-16  André Pönitz  <poenitz@gmx.net>
7717
7718         * debug.C:
7719         * bufferview_funcs.C: patch from Kornel Benko to prevent
7720           crash when _(...) is called twice in a statement
7721
7722 2003-05-16  André Pönitz  <poenitz@gmx.net>
7723
7724         * BufferView.C:
7725         * lyxfunc.C:
7726         * text.C:
7727         * text2.C:
7728         * text3.C:
7729         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7730
7731 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7732
7733         * lyx_main.C (init): remove spurious static_cast
7734
7735 2003-05-14  André Pönitz  <poenitz@gmx.net>
7736
7737         * BufferView.C: fix format string
7738
7739 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7740
7741         * BufferView.[Ch] (insertErrors): removed
7742         * BufferView.[Ch] (showErrorList): added
7743         * buffer.C (runChkTeX):
7744         * converter.C (scanLog): call showErrorList instead of inserterrors
7745
7746 2003-05-13  André Pönitz  <poenitz@gmx.net>
7747
7748         * BufferView_pimpl.C:
7749         * buffer.C:
7750         * bufferview_func.C:
7751         * MenuBackend.C:
7752         * lyxfunc.C:
7753         * lyxrc.C:
7754         * tex-accent.C:
7755         * text3.C:
7756         * toc.C:
7757         * tabular_funcs.h: tostr() from its own header
7758
7759         * ParagraphParameters.C:
7760         * ToolbarBackend.C:
7761         * bufferparams.C:
7762         * format.C:
7763         * lyxlex_pimpl.C:
7764         * text3.C: STRCONV()
7765
7766 2003-05-12  André Pönitz  <poenitz@gmx.net>
7767
7768         * BufferView.C:
7769         * BufferView_pimpl.C:
7770         * CutAndPaste.C:
7771         * LaTeX.C:
7772         * LaTeXFeatures.C:
7773         * ParagraphParameters.C:
7774         * buffer.C:
7775         * bufferlist.C:
7776         * bufferparams.C:
7777         * bufferview_funcs.C:
7778         * converter.C:
7779         * counters.C:
7780         * debug.C:
7781         * exporter.C:
7782         * format.C:
7783         * importer.C:
7784         * lyx_cb.C:
7785         * lyx_main.C:
7786         * lyxfont.C:
7787         * lyxfunc.C:
7788         * lyxvc.C:
7789         * paragraph.C:
7790         * paragraph_funcs.C:
7791         * tabular.C:
7792         * tabular_funcs.C:
7793         * text2.C:
7794         * text3.C:  boost::format -> bformat  all over the place
7795
7796
7797 2003-05-09  André Pönitz  <poenitz@gmx.net>
7798
7799         * LColor.[Ch]: Pimpl the #include <map> away
7800
7801 2003-05-09  John Levon  <levon@movementarian.org>
7802
7803         * bufferlist.C: never remove emergency saves
7804
7805 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7806
7807         * Makefile.am: better lib building
7808
7809 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7812         instead.
7813         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7814         (simpleTeXSpecialChars): adjust
7815         (simpleTeXSpecialChars): adjust
7816         * paragraph.C (simpleTeXOnePar): adjust
7817         * buffer.C (makeLaTeXFile): adjust
7818
7819         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7820
7821         * text2.C (changeDepth): parlist cleanup
7822         (getColumnNearX): ditto
7823
7824         * rowpainter.C (getLabelFont): parlist cleanup
7825
7826         * bufferlist.C (newFile): parlist cleanup
7827
7828         * CutAndPaste.C (eraseSelection): parlist cleanup
7829
7830         * BufferView_pimpl.C (trackChanges): parlist cleanup
7831         (dispatch): ditto
7832
7833         * BufferView.C (lockInset): parlist cleanup.
7834         (ChangeInsets): ditto
7835
7836 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7837
7838         * CutAndPaste.h: Update file header.
7839
7840         * CutAndPaste.C: Update file header.
7841         Store the parts cut out of the Document in a limited_stack.
7842         (copySelection): adjust
7843         (pasteSelection): new function, takes the index in the limited stack.
7844         (nrOfParagraphs): adjust
7845         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7846         simplify error inset insertion.
7847         (checkPastePossible): adjust
7848
7849 2003-05-06  John Levon  <levon@movementarian.org>
7850
7851         * text2.C: don't cast wrap inset to float
7852
7853 2003-05-05  André Pönitz  <poenitz@gmx.net>
7854
7855         * iterator.C:
7856         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7857
7858         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7859           few naked Paragraph *.
7860
7861 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7862
7863         * bufferparams.C: Output warning if a document with missing
7864         TeX document class is loaded
7865         * exporter.C: Disable TeX exports if the document class is missing
7866         * lyxtextclass.C:
7867         * lyxtextclass.h:
7868         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7869         isTeXClassAvailable()
7870
7871 2003-05-03  John Levon  <levon@movementarian.org>
7872
7873         * BufferView.h:
7874         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7875         explicit cursor show/hide
7876
7877         * BufferView_pimpl.h:
7878         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7879         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7880
7881         * lyxfunc.C: hide cursor before dispatching.
7882
7883         * lyx_cb.C:
7884         * lyxfind.C:
7885         * text.C:
7886         * text3.C: remove explicit cursor hides
7887
7888 2003-05-02  André Pönitz  <poenitz@gmx.net>
7889
7890         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7891
7892         * undo_funcs.C:
7893         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7894           linked lists
7895
7896         * text2.C: tiny whitespace
7897
7898 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7899
7900         * undo_funcs.C: almost only ws changes.
7901
7902         * ParagraphList.C (splice): just return if pl is empty.
7903
7904 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7905
7906         * ParagraphList.C (splice): new function.
7907
7908         * CutAndPaste.C (pasteSelection): use it
7909
7910 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7911
7912         * CutAndPaste.C (pasteSelection): remove the last next and
7913         previous from this file.
7914
7915 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7916
7917         * CutAndPaste.C (pasteSelection): more clean up, user proper
7918         ParagraphList functions for pasteing.
7919
7920         * ParagraphList.C (insert): new function, three arg insert
7921
7922 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7923
7924         * ParagraphList.C (insert): new function, three arg insert
7925
7926         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7927         not on paragraphs.
7928
7929 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7930
7931         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7932
7933 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7934
7935         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7936
7937 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7938
7939         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7940         (copySelection): clean up a bit.
7941         (pasteSelection): use make_pair
7942
7943         * ParagraphList.C (ParagraphList): implement copy constructor
7944         (operator=): implement, base on copy constructor.
7945         (assign): new func
7946
7947         * paragraph.C (erase): return a bool
7948
7949         * paragraph_pimpl.C (erasePos): remove function, move contents...
7950         (erase): ... here. Return a bool.
7951         (erase): call erase instead of erasePos.
7952
7953 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7954
7955         * ParagraphList.h: define PitPosPair
7956         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7957         ParagraphList, fix a bug on pasting multiple pars
7958         * text2.C: change interface to C&P
7959
7960 2003-04-30  André Pönitz  <poenitz@gmx.net>
7961
7962         * undo_func.C: revert part of yesterday's patch 2
7963
7964 2003-04-30  John Levon  <levon@movementarian.org>
7965
7966         * LColor.C: s/tabular/table/
7967
7968 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * text3.C (dispatch): do not convert iterator -> pointer
7971         * undo_funcs.C (setCursorParUndo): ditto
7972         * text_funcs.C (transposeChars): ditto
7973
7974         * text2.C (setLayout): ws changes only
7975
7976         * text.C (breakParagraph): do not convert iterator -> pointer
7977         (insertChar): ditto
7978         (acceptChange): ditto
7979         (rejectChange): ditto
7980         (changeCase): ditto
7981         (Delete): ditto
7982         (backspace): ditto
7983
7984         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7985         pointer
7986
7987 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7988
7989         * text3.C (gotoInset): YABG (yet another bad getChar)
7990
7991 2003-04-29  André Pönitz  <poenitz@gmx.net>
7992
7993         * paragraph.h: make operator= private unimplemented as long as
7994           it is unusable
7995
7996         * ParagraphList.C: whitespace
7997
7998         * paragraph.[Ch]:
7999         * paragraph_pimpl.[Ch]:
8000         * paragraph_funcs.C:
8001         * CutAndPaste.C:
8002         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8003
8004         * text2.C:
8005           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8006
8007 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8008
8009         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8010         * paragraph.[Ch] (erase):
8011         * paragraph_pimpl.[Ch] (erase): change return type and value
8012         * text2.C (cutSelection): some rework
8013
8014 2003-04-28  John Levon  <levon@movementarian.org>
8015
8016         * bufferlist.C: changes for unsaved changes dialog
8017
8018 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8019
8020         * bufferlist.C (newFile): set language (messages_) for new
8021         documents also.
8022
8023         * buffer.C (readFile): ws changes only.
8024
8025 2003-04-28  André Pönitz  <poenitz@gmx.net>
8026
8027         * undo_funcs.C:
8028         * lyxfunc.C:
8029         * buffer.[Ch]:
8030         * BufferView_pimpl.C:
8031         * BufferView.C: getParFromID related ParagraphList::iterator changes
8032
8033 2003-04-28  André Pönitz  <poenitz@gmx.net>
8034
8035         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8036           Changes
8037
8038 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8039
8040         * messages.C: remove one more localedir class variable.
8041
8042 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8043
8044         * messages.C (getLocaleDir): singleton generation function
8045         (Pimpl): use it.
8046         (Messages): add a default constructor.
8047
8048         * main.C (main): do not setup localedir here, do not call
8049         gettext_init.
8050
8051         * gettext.C (_): use it.
8052         (gettext_init): delete funciton
8053
8054 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * gettext.C (getLyXMessages): new singleton generating function.
8057
8058         * buffer.C (updateDocLang): adjust
8059
8060         * Makefile.am (messages.o): add target
8061         (main.o): remove target
8062
8063 2003-04-27  John Levon  <levon@movementarian.org>
8064
8065         * bufferlist.C:
8066         * lyx_cb.C:
8067         * lyxfunc.C:
8068         * lyxvc.C: specify cancel button in Alert::prompt
8069
8070 2003-04-26  John Levon  <levon@movementarian.org>
8071
8072         * text3.C:
8073         * lyxfunc.C:
8074         * lfuns.h:
8075         * LyXAction.C: add LFUN_INSET_SETTINGS
8076
8077         * lyxfunc.C: don't enable tabular-feature when there's
8078         just any locking inset
8079
8080 2003-04-26  John Levon  <levon@movementarian.org>
8081
8082         * bufferlist.C: re-add Cancel to buffer close question
8083
8084         * lyxfunc.C: fix import UI a bit
8085
8086 2003-04-25  John Levon  <levon@movementarian.org>
8087
8088         * gettext.C: remove the broken asserts for now
8089
8090 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8091
8092         * messages.C: make case where setlocale cannot comply work better.
8093
8094         * buffer.C (updateDocLang): new function
8095         (changeLanguage): use it
8096         (readFile): use it
8097
8098         * text2.C (setCounter): use B_ a bit.
8099
8100         * lyxlayout.C (Read): be sure to trim the label strings.
8101
8102         * messages.C (Messages): fix typo in comment
8103
8104         * buffer.C (readFile): set message_ after file is loaded.
8105         (makeDocBookFile): remove double return
8106         (changeLanguage): reset message_ upon language change.
8107         (B_): new func, use this to get translated buffer strings.
8108
8109         * main.C: add myself and Jean Marc as authors.
8110
8111 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8112
8113         * messages.[hC]: pimplify Messages, and three different pimpls to be
8114         used in different circumstances.
8115
8116         * gettext.[Ch]: change for use with new message code.
8117
8118 2003-04-24 André Pönitz <poenitz@gmx.net>
8119
8120         * factory.C: support for eqref
8121
8122 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8123
8124         * messages.[Ch]: add missing char
8125
8126         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8127
8128         * messages.[Ch]: New files
8129
8130 2003-04-18  John Levon  <levon@movementarian.org>
8131
8132         * BufferView.h:
8133         * BufferView.C:
8134         * BufferView_pimpl.C:
8135         * lfuns.h:
8136         * LyXAction.C:
8137         * lyxtext.h:
8138         * text2.C: remove layout-copy/paste (bug 778)
8139
8140 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8141
8142         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8143
8144 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8145
8146         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8147         if they succeed. Act accordingly.
8148
8149 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8150
8151         * text2.C (setCharFont): adjust
8152         (setCounter): adjust
8153         (insertStringAsLines): adjust
8154
8155         * text.C (leftMargin): adjust
8156         (setHeightOfRow): adjust
8157
8158         * rowpainter.C (paintFirst): adjust
8159         (paintLast): adjust
8160
8161         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8162         (outerHook): ditto
8163         (isFirstInSequence): ditto
8164         (getEndLabel): ditto
8165         (outerFont): adjust
8166
8167         * paragraph.C (getParLanguage): comment out some hard stuff.
8168
8169         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8170         (sgmlError): ditto
8171         (simpleDocBookOnePar): ditto
8172         (makeDocBookFile): use ParagraphList::iterator
8173
8174         * CutAndPaste.C (pasteSelection): adjust
8175
8176 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8177
8178         * text2.C (getFont): adjust
8179         (getLayoutFont): adjust
8180         (getLabelFont): adjust
8181
8182         * paragraph_funcs.C (TeXOnePar): adjust
8183
8184         * buffer.C (simpleLinuxDocOnePar): adjust
8185         (simpleDocBookOnePar): adjust
8186
8187         * CutAndPaste.C (pasteSelection): adjust
8188
8189         * BufferView.C (getEncoding): adjust
8190
8191         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8192
8193 2003-04-16  John Levon  <levon@movementarian.org>
8194
8195         * lyxfind.C: use parlist stuff for search/changes
8196
8197 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8198
8199         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8200
8201         * text2.C (deleteEmptyParagraphMechanism): adjust
8202
8203         * text2.[Ch] (ownerParagraph): delete func (both of them
8204
8205 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8206
8207         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8208
8209 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8210
8211         * ParagraphList.C: prepare for NO_NEXT
8212
8213 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * text2.C (getFont): adjust
8216         (getLayoutFont): adjust
8217         (getLabelFont): adjust
8218
8219         * paragraph.C (getFont): adjust
8220         (getLabelFont): adjust
8221         (getLayoutFont): adjust
8222
8223         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8224
8225 2003-04-15  John Levon  <levon@movementarian.org>
8226
8227         From Angus Leeming
8228
8229         * lyx_main.C: handle Include in .ui files
8230
8231 2003-04-15  John Levon  <levon@movementarian.org>
8232
8233         * MenuBackend.C: make the doc files length shorter
8234
8235         * ToolbarBackend.h:
8236         * ToolbarBackend.C: handle toolbar placement flags,
8237         Minibuffer
8238
8239 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8240
8241         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8242         adjust
8243
8244         * paragraph_funcs.C (TeXOnePar): adjust
8245
8246         * paragraph.C (getLabelFont): add outerfont arg, adjust
8247         (getLayoutFont): ditto
8248         (simpleTeXOnePar): adjust
8249
8250         * paragraph_pimpl.C (realizeFont): delete func
8251
8252 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8253
8254         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8255         row argument, constify cur argument.
8256
8257 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * text2.C (getFont): adjust
8260         (getLayoutFont): adjust
8261         (getLabelFont): adjust
8262
8263         * paragraph_funcs.C (TeXOnePar): adjust
8264         (outerFont): new func...
8265         (realizeFont): ...moved out from here, changed this to facilitate
8266         transition
8267
8268         * paragraph.C (getFont): take outerfont as arg, adjust
8269         (simpleTeXOnePar): add outerfont arg, adjust
8270
8271         * buffer.C (simpleLinuxDocOnePar): adjust
8272         (simpleDocBookOnePar): adjust
8273
8274         * CutAndPaste.C (pasteSelection): adjust
8275
8276         * BufferView.C (getEncoding): adjust
8277
8278 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * text2.C (setCharFont): adjust
8281         (setCounter): adjust
8282
8283         * text.C (leftMargin): adjust
8284         (setHeightOfRow): adjust
8285
8286         * rowpainter.C (paintFirst): adjust
8287         (paintLast): adjust
8288
8289         * paragraph_pimpl.C (realizeFont): adjust
8290
8291         * paragraph.C (isFirstInSequence): move from here...
8292         * paragraph_funcs.C (isFirstInSequence): ...to here
8293
8294         * paragraph.C (outerHook): move from here...
8295         * paragraph_funcs.C (outerHook): ...to here
8296
8297         * paragraph.C (depthHook): move from here...
8298         * paragraph_funcs.C (depthHook): ...to here
8299
8300         * paragraph.C (getEndLabel): move from here...
8301         * paragraph_funcs.C (getEndLabel): ...to here
8302
8303         * text2.C (realizeFont): move from here...
8304         * paragraph_funcs.C (realizeFont): ...to here
8305
8306 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8309
8310 2003-04-14  Angus Leeming  <leeming@lyx.org>
8311
8312         * LColor.[Ch]: scrap LColor mathcursor.
8313
8314 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8315
8316         * lyxlex.[Ch] (text): delete function
8317         * trans.C (Load): adjust
8318         * paragraph_funcs.C (readParToken): adjust
8319
8320 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8321
8322         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8323         vector<char> instead of a char[].
8324
8325         * lyxlex_pimpl.C (getString): adjust
8326         (next): adjust
8327         (lex): use getString
8328         (eatLine): adjust
8329         (nextToken): adjust
8330
8331         * lyxlex.C (text): use pimpl_->getString()
8332         (getBool): ditto
8333         (findToken): ditto
8334
8335 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8336
8337         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8338         (makeFontEntriesLayoutSpecific): temp var for par.size()
8339         (setLayout): temp var for ownerParagraphs().end()
8340         (fullRebreak): temp var for rows().end()
8341         (selectionAsString): temp var for boost::next(startpit), realize
8342         that the while really is a regular for loop.
8343         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8344         setCursor in one place.
8345         (setParagraph): temp vr for ownerParagraphs().end()
8346         (updateCounters): make the while loop a for loop
8347         (cutSelection): temp var for ownerParagraphs().end()
8348         (updateInset): make the do {} while() a regular for loop
8349         (getCursorX): use temp vars
8350         (setCurrentFont): use temp vars
8351         (getColumnNearX): use temp vars
8352
8353 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8354
8355         * text.C (transformChar): use temp var for getChar
8356         (computeBidiTables): use temp var for row->par()
8357         (fill): move temp vars for row->par() and pit->layout() earlier in
8358         the function.
8359         (labelFill): use temp var for row->par()
8360         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8361         asc and desc, realize that pit never changes and that firstpit is
8362         just a duplicate and not needed. Exchange rit->par() with pit in a
8363         lot of places.
8364         (breakAgain): use a temp var for boost::next(rit)
8365         (breakAgainOneRow): ditto
8366         (breakParagraph): use a temp var for rows().begin()
8367         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8368         (cursorRightOneWord): use temp var for cursor.par() and
8369         cursor.pos(), remove usage of tmpcursor.
8370         (cursorLeftOneWord): use temp var for cursor.par() and
8371         cursor.pos() only set cur at end of function.
8372
8373 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8374
8375         * text.C, text2.C: exchange all usage of Paragraph::next with
8376         boost::next(ParagraphList::iterator)
8377
8378         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8379
8380         * text2.C (cursorTop): simplify implementation
8381         (cursorBottom): ditto
8382         (setParagraph): use ParagraphList::iterator
8383         (setCurrentFont): adjust
8384         (getColumnNearX): adjust
8385         (cursorRight): adjust
8386         (cursorLeft): remove usage of Paragraph::previous
8387         (cursorUpParagraph): ditto
8388         (deleteEmptyParagraphMechanism): slight cleanup
8389
8390         * text.C (isBoundary): take a Paragraph const & instead of a
8391         pointer as arg.
8392         (addressBreakPoint): ditto
8393         (leftMargin): remove usage of Paragraph::previous.
8394         (setHeightOfRow): ditto
8395         (cursorLeftOneWord): ditto
8396         (selectNextWordToSpellcheck): ditto
8397         (Delete): ditto
8398         (backspace): ditto
8399         (breakParagraph): remove one usage of Paragraph::next
8400         (redoParagraph): ditto
8401         (acceptChange): ditto
8402         (insertChar): adjust
8403         (rowBreakPoint): adjust
8404
8405         * bufferview_funcs.C (toggleAndShow): adjust
8406
8407 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8408
8409         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8410         methods to access it.
8411         * lyxtext.h:
8412         * text.C: Added updateRowPositions to compute all row positions.
8413         Make top_y and getRowNearY() to use the cached y position
8414
8415 2003-04-11  John Levon  <levon@movementarian.org>
8416
8417         * text.C (rowBreakPoint): reintroduce the labelEnd
8418         checks, code copied from the row fill stuff. Deep voodoo.
8419
8420         * text.C (fill): add a comment and debugging for the
8421         next poor soul.
8422
8423 2003-04-11  John Levon  <levon@movementarian.org>
8424
8425         * text.C: make sure fullrow insets get wrapped to the next line,
8426         even when they're in a manual label
8427
8428 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8429
8430         * text2.C (insertParagraph): make it take ParagraphList::iterator
8431         as arg.
8432         (setLayout): make it return ParagraphList::iterator
8433         (redoParagraphs): ditto
8434         (setCounter): ditto
8435         (checkParagraph): ditto
8436
8437         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8438
8439         * text2.C: adjust several funcs.
8440         (realizeFont): take a ParagraphList::iterator as arg.
8441         (getLayoutFont): ditto
8442         (getLabelFont): ditto
8443         (setCharFont): ditto
8444
8445         * text.C: adjust several funcs.
8446
8447 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8448
8449         * text.C (selectNextWordToSpellcheck): don't accidentally
8450         skip insets
8451
8452 2003-04-10  John Levon  <levon@movementarian.org>
8453
8454         * ToolbarBackend.C (getIcon): special handling for
8455         LFUN_MATH_DELIM
8456
8457 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8458
8459         * text2.C (cursorRight): a getChar assert fixed
8460
8461 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8462
8463         * text2.C (getFont): change to take a ParagraphList::iterator
8464         instead of Paragraph*
8465         Adjust several functions.
8466
8467         * text.C (transformChar): change to take a ParagraphList::iterator
8468         instead of Paragraph*
8469         (singleWidth): ditto
8470         Adjust several functions.
8471
8472         * rowpainter.C: adjust several functions
8473         * rowpainter.h:store a ParagraphList::iterator and not a
8474         Paragraph&.
8475
8476
8477 2003-04-09  John Levon  <levon@movementarian.org>
8478
8479         * lyxfunc.C:
8480         * lfuns.h:
8481         * LyXAction.h:
8482         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8483         and the "help" bits as well
8484
8485 2003-04-09  John Levon  <levon@movementarian.org>
8486
8487         * ToolbarBackend.h:
8488         * ToolbarBackend.C: allow multiple toolbars
8489
8490 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8491
8492         * undo_funcs.C (setCursorParUndo): adjust
8493
8494         * text_funcs.C (transposeChars): adjust
8495
8496         * text3.C (gotoNextInset): adjust
8497         (dispatch): adjust
8498
8499         * text2.C (setLayout): adjust
8500         (changeDepth): adjust
8501         (setFont): adjust
8502         (redoParagraphs): adjust
8503         (selectionAsString): adjust
8504         (setParagraph): adjust
8505         (insertInset): adjust
8506         (cutSelection): adjust
8507         (copySelection): adjust
8508         (pasteSelection): adjust
8509         (insertStringAsLines): adjust
8510         (updateInset): adjust
8511         (setCursor): change to take a ParagraphList::iterator parameter
8512         (setCursorIntern): change to take a ParagraphList::iterator parameter
8513         (setCurrentFont): adjust
8514         (cursorLeft): adjust
8515         (cursorRight): adjust
8516         (deleteEmptyParagraphMechanism): adjust
8517
8518         * text.C (breakParagraph): adjust
8519         (insertChar): adjust
8520         (acceptChange): adjust
8521         (rejectChange): adjust
8522         (selectNextWordToSpellcheck): adjust
8523         (changeCase): adjust
8524         (Delete): adjust
8525         (backspace): adjust
8526
8527         * lyxfind.C (SearchForward): adjust
8528         (SearchBackward): adjust
8529         (nextChange): adjust
8530
8531         * lyxcursor.C (par): adjust
8532
8533         * lyxcursor.h: store a ParagraphList::iterator instead of a
8534         Paragraph*
8535
8536         * lyx_cb.C (getPossibleLabel): adjust
8537
8538         * bufferview_funcs.C (toggleAndShow): adjust
8539
8540         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8541         (dispatch): adjust
8542
8543         * BufferView.C (removeAutoInsets): adjust
8544         (lockedInsetStoreUndo): adjust
8545
8546 2003-04-09  John Levon  <levon@movementarian.org>
8547
8548         * ToolbarBackend.C: try icon without argument
8549         if with argument fails
8550
8551 2003-04-08  John Levon  <levon@movementarian.org>
8552
8553         * ToolbarBackend.h:
8554         * ToolbarBackend.C: add getIcon(), handle tooltip,
8555         and change from "Icon" to "Item".
8556
8557 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8558
8559         * BufferView.C (lockInset): another bad getchar crunched
8560
8561 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8562
8563         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8564         again)
8565
8566 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8567
8568         * lyxfind.C (searchForward, searchBackwards): bug 782
8569
8570 2003-04-07  John Levon  <levon@movementarian.org>
8571
8572         * paragraph.C: remove dead comment
8573
8574         * text.C: remove troublesome depth-fiddling code
8575         in leftMargin() and rightMargin() (bug 1017)
8576
8577         * text.C: fix breaking of rows in nested lists
8578         (bug 1004)
8579
8580         * text2.C (updateCounters): fix up depth values
8581         (bug 1013)
8582
8583 2003-04-07  John Levon  <levon@movementarian.org>
8584
8585         * BufferView_pimpl.C: clear message when doc finishes resizing,
8586         and after a mouse event
8587
8588         * lyxfunc.C: clear message after exiting inset
8589
8590 2003-04-07  John Levon  <levon@movementarian.org>
8591
8592         * bufferview_funcs.C: show math status not outside
8593         status in the statusbar
8594
8595 2003-04-07  John Levon  <levon@movementarian.org>
8596
8597         * lyxfunc.C: note status changed after a depth change
8598
8599 2003-04-04  Angus Leeming  <leeming@lyx.org>
8600
8601         * LaTeX.h: move AuxInfo operator==, != out of line.
8602         Remove LaTeX virtual destructor; nothing derives from it.
8603         Move operator()() out of public area and rename it startscript().
8604         Change protected for private.
8605
8606 2003-04-04  Angus Leeming  <leeming@lyx.org>
8607
8608         * lyxfunc.C:
8609         * text2.C: remove unneeded #includes.
8610
8611 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8612
8613         * text2.C (dEPM): fix the heigth of the next row
8614
8615 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8616
8617         * text.C: squashed an invalid getChar requester + some ws changes
8618
8619 2003-04-03  John Levon  <levon@movementarian.org>
8620
8621         * bufferview_funcs.h:
8622         * bufferview_funcs.C:
8623         * lyxfunc.C:
8624         * lyxtext.h:
8625         * text2.C: make getStatus work for the env depth lfuns
8626
8627 2003-04-03  John Levon  <levon@movementarian.org>
8628
8629         * bufferview_funcs.h:
8630         * bufferview_funcs.C:
8631         * lyxfunc.C:
8632         * lyxtext.h:
8633         * text2.C: parlistize decDepth(), by merging it with incDepth()
8634
8635 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8636
8637         * lyxrow.h: store a ParagraphList::iterator instead of a
8638         Paragraph* and adjust other class functions to suit.
8639
8640         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8641         above.
8642
8643 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8644
8645         * text2.C (setCursor): do not anchor to cursor row for the time being
8646
8647 2003-04-02  John Levon  <levon@movementarian.org>
8648
8649         * LyXAction.C:
8650         * lfuns.h:
8651         * lyx_main.C:
8652         * lyxtext.h:
8653         * text.C:
8654         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8655
8656 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8657
8658         * paragraph.h: make ParagraphList and ParagraphList::iterator
8659         friends of Paragraph.
8660
8661         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8662
8663         * ParagraphList.C: Use the private next_ and previous_ from
8664         Paragraph.
8665
8666 2003-04-01  John Levon  <levon@movementarian.org>
8667
8668         * ToolbarBackend.h:
8669         * ToolbarBackend.C:
8670         * Makefile.am: rename, remove defaults gunk
8671
8672         * MenuBackend.h:
8673         * MenuBackend.C: remove defaults gunk
8674
8675         * Languages.h:
8676         * Languages.C: remove defaults gunk
8677
8678         * lyx_main.h:
8679         * lyx_main.C: error out if files couldn't be found.
8680
8681 2003-04-02  John Levon  <levon@movementarian.org>
8682
8683         * text2.C: make incDepth() use parlist
8684
8685 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8686
8687         * undo_funcs.C (firstUndoParagraph): adjust
8688
8689         * text3.C (gotoInset): adjust
8690         (dispatch): adjust, and rewrite loop.
8691
8692         * text2.C (init): adjust, and rewrite loop.
8693         (redoParagraphs): adjust
8694         (updateInset): adjust, and rewrite loop.
8695         (deleteEmptyParagraphMechanism): adjust
8696
8697         * tabular.C (LyXTabular): adjust
8698         (SetMultiColumn): adjust
8699         (TeXRow): adjust
8700
8701         * lyxtext.[Ch] (ownerParagraph): delete function
8702         (ownerParagraphs): new function returns a ParagraphList.
8703
8704         * BufferView.C (removeAutoInsets): adjust
8705         (insertErrors): adjust
8706         (setCursorFromRow): adjust
8707
8708 2003-04-01  Angus Leeming  <leeming@lyx.org>
8709
8710         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8711         in the frontends.
8712
8713 2003-04-02  John Levon  <levon@movementarian.org>
8714
8715         * lyxtext.h:
8716         * text.C:
8717         * Makefile.am:
8718         * text_funcs.h:
8719         * text_funcs.C: make transposeChars a free function
8720
8721         * lyxrow_funcs.C: remove wrong comment
8722
8723 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8724
8725         * lyxtext.h: adjust
8726         * rowpainter.C: adjust
8727         * text.C: adjust
8728         * text2.C: adjust
8729         * text3.C: adjust
8730
8731         * lyxrow_funcs. [Ch]: new files
8732
8733         * lyxrow.[Ch]: remove next and previous pointers
8734         (next,previous): remove accessor functions
8735         (isParEnd): move to lyxrow_funcs
8736         (lastPos): move to lyxrow_funcs
8737         (nextRowIsAllInset): move to lyxrow_funcs
8738         (lastPrintablePos): move to lyxrow_funcs
8739         (numberOfSeparators): move to lyxrow_funcs
8740         (numberOfHfills): move to lyxrow_funcs
8741         (numberOfLabelHfills): move to lyxrow_funcs
8742         (hfillExpansion): move to lyxrow_funcs
8743
8744         * lyxfunc.C: adjust
8745
8746         * bufferview_funcs.C (toggleAndShow): adjust
8747
8748         * RowList.h: Remove class RowList from file leave just a
8749         std::list<Row>.
8750
8751         * RowList.C: delete file
8752
8753         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8754         and lyxrow_funcs.h
8755
8756 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8757
8758         * text3.C (cursorPrevious): adjust
8759         (cursorNext): adjust
8760         (dispatch): adjust
8761
8762         * text2.C (redoHeightOfParagraph): adjust
8763         (redoDrawingOfParagraph): adjust
8764         (setCursor): adjust
8765
8766         * text.C (breakParagraph): adjust
8767         (insertChar): adjust
8768         (backspace): adjust
8769
8770         * rowpainter.C (RowPainter): adjust
8771         (leftMargin): simplify and adjust
8772         (most rowpainter functions): adjust.
8773
8774         * rowpainter.h: store the row as RowList::iterator not as Row*
8775
8776         * lyxcursor.C (row): taka RowList::iterator as arg
8777         (irow): ditto
8778
8779         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8780         of Row*.
8781
8782 2003-04-01  Angus Leeming  <leeming@lyx.org>
8783
8784         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8785         stuff like bool Bool.
8786
8787 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8788
8789         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8790         rewrite a loop
8791
8792 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8793
8794         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8795         RowList::iterator.
8796
8797         * lyxtext.h (rows): drop one version and leve a const variant that
8798         returns a RowList::iterator.
8799
8800 2003-03-31  Angus Leeming  <leeming@lyx.org>
8801
8802         * text.C (fill): ensure that the signature is the same as that in the
8803         header file.
8804
8805 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8806
8807         * text2.C (redoParagraphs): adjust
8808         (updateCounters): adjust
8809         (checkParagraph): adjust
8810         (getColumnNearX): adjust and reformat a bit.
8811
8812         * text.C (top_y): adjust
8813         (workWidth): adjust
8814         (leftMargin): adjust
8815         (prepareToPrint): adjust
8816         (getRow): adjust
8817         (getRowNearY): adjust
8818
8819         * lyxtext.h: make rowlist_ mutable.
8820
8821         * RowList.h: add const_iterator
8822         * RowList.C: adjust for RowList::const_iterator.
8823
8824         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8825         adjust.
8826
8827 2003-03-31  John Levon  <levon@movementarian.org>
8828
8829         * lyxrc.h:
8830         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8831
8832         * lyx_main.C: set default fonts from using lyx_gui funcs
8833
8834         * exporter.C: pdf_mode moved from lyxrc
8835
8836         * lyx_cb.C:
8837         * lyxfunc.C: changes from above
8838
8839 2003-03-31  John Levon  <levon@movementarian.org>
8840
8841         * lyx_main.C: fix to the last fix
8842
8843 2003-03-31  John Levon  <levon@movementarian.org>
8844
8845         * bufferlist.C: "Load original" -> "Load Original"
8846
8847         * converter.C:
8848         * exporter.C:
8849         * importer.C:
8850         * lyx_main.C:
8851         * format.C: more Alert cleanups
8852
8853 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8854
8855         * text2.C (removeParagraph): make it take a RowList::iterator as
8856         arg, adjust.
8857         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8858         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8859
8860         * text.C (anchor_row): make it take a RowList::iterator as arg,
8861         adjust.
8862         (computeBidiTables): make it take a const reference to Row instead
8863         of Row pointer, adjust.
8864         (leftMargin): make it take a RowList::iterator as arg, adjust.
8865         (rowBreakPoint): adjust
8866         (breakAgainOneRow): make it take a RowList::iterator as arg,
8867         adjust.
8868         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8869
8870         * bufferview_funcs.C (toggleAndShow): adjust
8871
8872 2003-03-30  John Levon  <levon@movementarian.org>
8873
8874         * Makefile.am:
8875         * BoostFormat.h:
8876         * boost-inst.C: moved to support
8877
8878         * several files: changes as a result
8879
8880 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8881
8882         * text2.C (LyXText): adjust.
8883         (init): adjust
8884         (removeRow): make it take a RowList::iterator as arg, adjust.
8885         (fullRebreak): adjust
8886         (deleteEmptyParagraphMechanism): adjust
8887         (clearPaint): adjust
8888         (postPaint): adjust
8889
8890         * text.C (top_y): adjust
8891         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8892         (breakAgain): make it take a RowList::iterator as arg, adjust.
8893         (breakParagraph): adjust
8894         (insertChar): adjust
8895         (backspace): adjust
8896
8897         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8898         need_break_row, and refresh_row.
8899
8900         * text3.C (dispatch): adjust
8901
8902         * text2.C (checkParagraph): adjust
8903         (setCursor): adjust
8904         (setCursorFromCoordinates): adjust
8905
8906         * text.C (top_y): adjust
8907         (workWidth): adjust
8908         (getRow): make it return a RowList::iterator, adjust
8909         (getRowNearY): make it return a RowList::iterator, adjust
8910
8911         * text2.C (init): adjust
8912         (insertRow): remove function
8913         (insertParagraph): adjust
8914         (redoParagraphs): adjust
8915         (fullRebreak): adjust
8916         (updateCounters): adjust
8917
8918         * text.C (top_y): rewrite to use RowList iterators.
8919         (top_y): adjust
8920         (setHeightOfRow): rewrite to sue RowList iterators.
8921         (appendParagraph): adjust
8922         (breakAgain): adjust
8923         (breakAgainOneRow): adjust
8924         (breakParagraph): adjust
8925         (getRow): adjust
8926         (getRowNearY): adjust, and remove commented code.
8927
8928         * lyxtext.h (firstRow): delete function
8929         (lastRow): delete function
8930         (rows): new function (const and non-const versions.)
8931         (insertRow): delete function
8932
8933         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8934
8935 2003-03-29  John Levon  <levon@movementarian.org>
8936
8937         * BufferView_pimpl.C: always update scrollbar top
8938         because pasting text when we're anchored could mean we
8939         miss an update altogether
8940
8941 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8942
8943         * text2.C (init): use rowlist_.end() and not 0.
8944         (insertRow): change to take a RowList::iterator as arg, adjust
8945         for this.
8946         (insertParagraph): change to take a RowList::iterator as arg,
8947         adjust for this.
8948         (redoParagraphs): remove some debug msgs.
8949
8950         * text.C (appendParagraph): change to take a RowList::iterator
8951         arg, adjust for this.
8952         (breakAgain): add an assert
8953         (breakAgainOneRow): ditto
8954
8955 2003-03-29  John Levon  <levon@movementarian.org>
8956
8957         * text2.C: do not clear selection after inc/decDepth
8958         (bug 550)
8959
8960 2003-03-29  John Levon  <levon@movementarian.org>
8961
8962         * BufferView.C:
8963         * buffer.C: fix broken strerrors according to Lars
8964
8965 2003-03-29  John Levon  <levon@movementarian.org>
8966
8967         * converters.C: more Alert cleanups
8968
8969 2003-03-29  John Levon  <levon@movementarian.org>
8970
8971         * bufferview_funcs.C: remove pointless Alert
8972
8973         * buffer.C: fix confusing error message when
8974         a template is chmoded 000
8975
8976 2003-03-29  John Levon  <levon@movementarian.org>
8977
8978         * BufferView.C:
8979         * BufferView.h:
8980         * BufferView_pimpl.C: Alert fixes
8981
8982         * Makefile.am:
8983         * tabular.C:
8984         * tabular-old.C: remove unused table compat reading
8985
8986 2003-03-29  John Levon  <levon@movementarian.org>
8987
8988         * BufferView.C:
8989         * buffer.C:
8990         * lyx_cb.h:
8991         * lyx_cb.C: more Alert cleanups
8992
8993         * lyxfunc.C: don't allow chktex if not latex document
8994
8995 2003-03-29  John Levon  <levon@movementarian.org>
8996
8997         * lyx_cb.C:
8998         * BufferView.C:
8999         * buffer.C: warnings pushed down from support/,
9000         kill err_alert
9001
9002 2003-03-29  John Levon  <levon@movementarian.org>
9003
9004         * lyxfunc.C: safety check for C-r (revert)
9005
9006 2003-03-29  John Levon  <levon@movementarian.org>
9007
9008         * bufferlist.h:
9009         * bufferlist.C: several UI fixes using Alert::prompt.
9010         Fix the pointless looping quit code. Fix stupid revert
9011         behaviour (bug 938)
9012
9013         * lyxvc.h:
9014         * lyxvc.C:
9015         * lyx_cb.C: use Alert::prompt
9016
9017         * lyx_main.C: remove a silly question
9018
9019         * lyxfunc.C: remove a couple of silly questions,
9020         use Alert::prompt
9021
9022 2003-03-28  John Levon  <levon@movementarian.org>
9023
9024         * text2.C: fix bug 974 (End on empty par)
9025
9026 2003-03-28  John Levon  <levon@movementarian.org>
9027
9028         * BufferView_pimpl.C:
9029         * LyXAction.C:
9030         * lfuns.h: remove do-nothing math greek lfuns
9031
9032 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9033
9034         * lyxgluelength.h (isValidGlueLength): add default arg on
9035         parameter 2. Remove default arg from friend in class.
9036
9037         * lyxlength.h (isValidLength): add default arg on parameter 2.
9038         Remove default arg from friend in class.
9039
9040         * text2.C (LyXText): adjust, initialize refresh_row.
9041         (init): adjust
9042         (removeRow): adjust
9043         (insertRow): adjust
9044         (insertParagraph): adjst
9045         (redoParagraphs): adjust
9046         (fullRebreak): adjust
9047         (updateCounters): adjust
9048         (deleteEmptyParagraphMechanism): first attempt at fixing a
9049         crashing bug.
9050
9051         * text.C (top_y): adjust
9052         (setHeightOfRow): adjust
9053         (getRow): adjust
9054         (getRowNearY): adjust
9055
9056         * lyxtext.h: include RowList.h
9057         (~LyXText): not needed anymore, deleted.
9058         (firstRow): modify for RowList
9059         (lastRow): new function
9060         Delete firstrow and lastrow class variables, add a Rowlist
9061         rowlist_ class variable.
9062
9063         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9064         paragraph is empty.
9065
9066         * RowList.C (insert): fix case where it == begin().
9067
9068 2003-03-26  Angus Leeming  <leeming@lyx.org>
9069
9070         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9071         the thesaurus dialog.
9072
9073 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9074
9075         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9076
9077         * RowList.[Ch]: new files
9078
9079         * ParagraphList.C (erase): handle the case where it == begin
9080         correctly.
9081
9082 2003-03-25  John Levon  <levon@movementarian.org>
9083
9084         * Makefile.am:
9085         * aspell_local.h:
9086         * aspell.C: add new aspell support
9087
9088         * lyxrc.h:
9089         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9090         have it accessible.
9091
9092 2003-03-25  Angus Leeming  <leeming@lyx.org>
9093
9094         * lfuns.h:
9095         * LyXAction.C (init): new LFUN_INSET_INSERT.
9096
9097         * BufferView_pimpl.C (dispatch): split out part of the
9098         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9099
9100         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9101         LFUN_INSET_APPLY.
9102
9103 2003-03-25  Angus Leeming  <leeming@lyx.org>
9104
9105         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9106
9107 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9108
9109         * text2.C:
9110         * text3.C: remove useless row->height(0)
9111
9112 2003-03-25  John Levon  <levon@movementarian.org>
9113
9114         * lyxtext.h:
9115         * text2.C:
9116         * text3.C: rename the refreshing stuff to better names
9117
9118 2003-03-24  John Levon  <levon@movementarian.org>
9119
9120         * BufferView_pimpl.h:
9121         * BufferView_pimpl.C: update layout choice on a mouse
9122         press/release
9123
9124 2003-03-23  John Levon  <levon@movementarian.org>
9125
9126         * Makefile.am: fix commandtags.h reference
9127
9128 2003-03-22  John Levon  <levon@movementarian.org>
9129
9130         * BufferView_pimpl.C:
9131         * lyxtext.h:
9132         * rowpainter.C:
9133         * rowpainter.h:
9134         * text.C:
9135         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9136
9137 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9138
9139         * lyxtext.h:
9140         * text.C: take the rtl methods out of line
9141
9142 2003-03-21 André Pönitz <poenitz@gmx.net>
9143
9144         * metricsinfo.[Ch]: new files containing structures to be passed around
9145         during the two-phase-drawing...
9146
9147 2003-03-21 André Pönitz <poenitz@gmx.net>
9148
9149         * lyxtextclass.C: read 'environment' tag.
9150
9151 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9152
9153         * text2.C (removeRow): fix bug 964
9154
9155 2003-03-20  John Levon  <levon@movementarian.org>
9156
9157         * rowpainter.C:
9158         * text.C:
9159         * text2.C: paint cleanups. Inset::update() dropped font
9160         parameter
9161
9162 2003-03-19  John Levon  <levon@movementarian.org>
9163
9164         * lyxfunc.C: only fitcursor/markDirty if available()
9165
9166 2003-03-19  John Levon  <levon@movementarian.org>
9167
9168         * commandtags.h: rename to ...
9169
9170         * lfuns.h: ... this, and renumber / cleanup
9171
9172 2003-03-19  John Levon  <levon@movementarian.org>
9173
9174         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9175         fit the cursor after an lfun
9176
9177         * BufferView.h:
9178         * BufferView.C:
9179         * BufferView_pimpl.h:
9180         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9181
9182         * LyXAction.C: layout-character should have ReadOnly
9183
9184         * ParagraphParameters.C:
9185         * buffer.C:
9186         * bufferview_funcs.C:
9187         * lyx_cb.C:
9188         * lyxfind.C:
9189         * lyxtext.h:
9190         * text.C:
9191         * text2.C:
9192         * text3.C:
9193         * undo_funcs.C: changes from above
9194
9195 2003-03-18  John Levon  <levon@movementarian.org>
9196
9197         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9198         remove it from update()
9199
9200         * lyxfunc.C: update layout choice after an lfun
9201
9202         * text3.C: remove extra updateLayoutChoice()s
9203
9204 2003-03-18  John Levon  <levon@movementarian.org>
9205
9206         * text.C: top_y change means full repaint, fix
9207         a drawing bug with cursor movement
9208
9209 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9210
9211         * lyxtext.h:
9212         * text.C:
9213         * text2.C: anchor row on setCursor
9214
9215 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9216
9217         * lyxtext.h: remove almost all mutable keywords
9218         * text.C:
9219         * text2.C:
9220         * text3.C: remove const keywords accordingly
9221
9222 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9223
9224         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9225         anon namespace
9226         (TeXEnvironment): ditto
9227         (TeXOnePar): ditto
9228
9229 2003-03-17  John Levon  <levon@movementarian.org>
9230
9231         * text.C (rowBreakPoint): remove attempt to fix displayed
9232         math insets inside a manual label
9233
9234 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9235
9236         * lyxtext.h: remove BufferView* as first arg from almost all class
9237         functions.
9238         * other files: adjust.
9239
9240 2003-03-17  John Levon  <levon@movementarian.org>
9241
9242         * lyxtext.h:
9243         * undo_funcs.C:
9244         * text2.C: more paint cleanups
9245
9246         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9247
9248         * rowpainter.h:
9249         * rowpainter.C: remove "smart" background painting code
9250
9251 2003-03-16  John Levon  <levon@movementarian.org>
9252
9253         * lyxtext.h:
9254         * text.C:
9255         * text2.C:
9256         * text3.C: add helper functions for setting refresh_row/y
9257
9258 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9259
9260         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9261         newline inset which *can* get inserted in the pass_thru layouts.
9262         This is primarily for literate documents.
9263
9264 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9265
9266         * buffer.C: increment LYX_FORMAT to 223
9267
9268 2003-03-14 André Pönitz <poenitz@gmx.net>
9269
9270         * textclass.h: prepare for environment handling, ws changes
9271         * lyxlayout.C: read latexheader and latexfooter tags
9272
9273 2003-03-14  John Levon  <levon@movementarian.org>
9274
9275         * text2.C: rewrite ::status() a bit
9276
9277 2003-03-13  John Levon  <levon@movementarian.org>
9278
9279         * lyxtext.h: add some docs
9280
9281 2003-03-13  John Levon  <levon@movementarian.org>
9282
9283         * lyxtext.h:
9284         * text.C:
9285         * text2.C:
9286         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9287
9288 2003-03-13  John Levon  <levon@movementarian.org>
9289
9290         * text3.C: fix appendix redrawing
9291
9292 2003-03-13  John Levon  <levon@movementarian.org>
9293
9294         * text.C (setHeightOfRow):
9295         * rowpainter.h:
9296         * rowpainter.C: make appendix mark have the text
9297           "Appendix" so the user knows what it is
9298
9299         * LColor.h:
9300         * LColor.C: s/appendixline/appendix/ from above
9301
9302 2003-03-13  John Levon  <levon@movementarian.org>
9303
9304         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9305
9306         * text.C: fix a getChar(pos) bug properly
9307
9308 2003-03-13  Angus Leeming  <leeming@lyx.org>
9309
9310         * commandtags.h:
9311         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9312         Probably only temporary. Let's see how things pan out.
9313
9314         * BufferView.C (unlockInset):
9315         * BufferView_pimpl.C (fitCursor):
9316         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9317
9318         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9319         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9320
9321         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9322         new functions that convert ParagraphParameters to and from a string.
9323
9324         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9325         BufferView::Pimpl's dispatch.
9326         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9327
9328 2003-03-13 André Pönitz <poenitz@gmx.net>
9329
9330         * lyxfunc.C:
9331         * text3.C:
9332         * factory.C: make it aware of InsetEnv
9333
9334 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9335
9336         * text2.C (setCursor): never ask for one past last
9337         (setCursor): add some debugging messages.
9338
9339         * text.C (singleWidth): never ask for one past last
9340         (singleWidth): ditto
9341         (leftMargin): ditto
9342         (rightMargin): ditto
9343         (rowBreakPoint): ditto
9344         (setHeightOfRow): ditto
9345         (prepareToPrint): ditto
9346
9347         * rowpainter.C (paintBackground): never ask for one past last
9348         (paintText): never ask for one past last
9349
9350         * paragraph_pimpl.C (getChar): make the assert stricter, never
9351         allow the one past last pos to be taken
9352
9353         * paragraph.C (getChar): ws changes only
9354
9355         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9356         (numberOfSeparators): ditto
9357         (numberOfHfills): ditto
9358
9359 2003-03-12  John Levon  <levon@movementarian.org>
9360
9361         * author.h:
9362         * author.C:
9363         * bufferparams.h:
9364         * bufferparams.C:
9365         * paragraph_funcs.C: fix per-buffer authorlists
9366
9367 2003-03-12  John Levon  <levon@movementarian.org>
9368
9369         * text.C: fix newline in right address
9370
9371 2003-03-12  Angus Leeming  <leeming@lyx.org>
9372
9373         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9374         duplicate those in LyXFunc::dispatch.
9375
9376         * commandtags.h:
9377         * LyXAction.C:
9378         * ToolbarDefaults.C:
9379         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9380         Add LFUN_FONTFREE_UPDATE.
9381
9382         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9383         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9384
9385         * bufferview_func.[Ch]: several new functions to facilliate
9386         transfer of data to and from the character dialog.
9387
9388 2003-03-12  John Levon  <levon@movementarian.org>
9389
9390         * buffer.C:
9391         * paragraph.h:
9392         * paragraph.C:
9393         * paragraph_funcs.C:
9394         * paragraph_pimpl.C:
9395         * sgml.C:
9396         * tabular.C:
9397         * text.C:
9398         * text3.C: remove META_NEWLINE in favour of an inset
9399
9400         * rowpainter.h:
9401         * rowpainter.C: remove paintNewline (done by inset)
9402
9403 2003-03-12  John Levon  <levon@movementarian.org>
9404
9405         * paragraph_pimpl.C: complain about bad getChar()s
9406         for a while at least
9407
9408 2003-03-12  John Levon  <levon@movementarian.org>
9409
9410         * buffer.h:
9411         * buffer.C: move paragraph read into a separate function,
9412         a little renaming to reflect that.
9413
9414         * bufferparams.h:
9415         * bufferparams.C: remove the author_ids map, not necessary now
9416
9417         * factory.h:
9418         * factory.C: moved Buffer::readInset to here
9419
9420         * paragraph_funcs.h:
9421         * paragraph_funcs.C: readParagraph free function moved from
9422         buffer.C
9423
9424         * tabular.C: name change
9425
9426 2003-03-12  John Levon  <levon@movementarian.org>
9427
9428         * buffer.C:
9429         * ParagraphParameters.C: move par params input to
9430         a read() method
9431
9432         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9433         behave like a normal read from the stream wrt reading
9434         a line vs. a \\token
9435
9436 2003-03-12  John Levon  <levon@movementarian.org>
9437
9438         * paragraph.C:
9439         * ParagraphParameters.h:
9440         * ParagraphParameters.C: move output code to a
9441         ::write() method
9442
9443 2003-03-12  John Levon  <levon@movementarian.org>
9444
9445         * BufferView.C (insertLyXFile):
9446         * buffer.h:
9447         * buffer.C:
9448         * tabular.C: use a parlist iterator for creating the
9449           document.
9450
9451 2003-03-12  John Levon  <levon@movementarian.org>
9452
9453         * buffer.C: make current_change static local not
9454           static file-scope
9455
9456 2003-03-12  John Levon  <levon@movementarian.org>
9457
9458         * buffer.C: fix insertStringAsLines for change tracking
9459
9460 2003-03-12  John Levon  <levon@movementarian.org>
9461
9462         * BufferView.C:
9463         * tabular.C:
9464         * buffer.h:
9465         * buffer.C:
9466         * bufferparams.h:
9467         * bufferparams.C: move author list into params. Rename some
9468           functions. Move the header reading into a separate token
9469           loop. Move the header token reading into BufferParams.
9470
9471 2003-03-12  John Levon  <levon@movementarian.org>
9472
9473         * changes.C: put debug inside lyxerr.debugging() checks
9474
9475 2003-03-11 André Pönitz <poenitz@gmx.net>
9476
9477         * factory.C: make it aware of InsetHFill
9478
9479 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9480
9481         * buffer.C (latexParagraphs): move function from here...
9482         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9483         args.
9484
9485 2003-03-10  Angus Leeming  <leeming@lyx.org>
9486
9487         * LyXAction.C (init): fix bug in poplating array with multiple entries
9488         with the same LFUN (spotted by JMarc).
9489
9490 2003-03-10  John Levon  <levon@movementarian.org>
9491
9492         * text.C:
9493         * text2.C: move getColumnNearX() near its
9494         only call site
9495
9496 2003-03-10  John Levon  <levon@movementarian.org>
9497
9498         * text.C: fix break before a minipage
9499
9500 2003-03-10  John Levon  <levon@movementarian.org>
9501
9502         * text.C: fix the last commit
9503
9504 2003-03-09  John Levon  <levon@movementarian.org>
9505
9506         * lyxtext.h:
9507         * text.C:
9508         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9509         bug 365 (don't break before insets unless needed). Don't
9510         return a value > last under any circumstances.
9511
9512 2003-03-09  Angus Leeming  <leeming@lyx.org>
9513
9514         * BufferView_pimpl.C (trackChanges, dispatch): call
9515         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9516
9517 2003-03-09  Angus Leeming  <leeming@lyx.org>
9518
9519         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9520         than Dialogs::showAboutlyx().
9521
9522 2003-03-09  Angus Leeming  <leeming@lyx.org>
9523
9524         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9525         than Dialogs::showTabularCreate().
9526
9527 2003-03-09  John Levon  <levon@movementarian.org>
9528
9529         * lyxtext.h:
9530         * text.C:
9531         * text2.C: 3rd arg to nextBreakPoint was always the same.
9532           Use references.
9533
9534 2003-03-08  John Levon  <levon@movementarian.org>
9535
9536         * lyxrow.C:
9537         * paragraph.C:
9538         * paragraph.h:
9539         * rowpainter.C:
9540         * text.C:
9541         * text2.C: Remove the "main" bit from the "main body"
9542           notion.
9543
9544 2003-03-08  John Levon  <levon@movementarian.org>
9545
9546         * text.C (leftMargin): The left margin of an empty
9547         manual label paragraph should not include the label width
9548         string length.
9549
9550         * text.C (prepareToPrint): don't attempt to measure hfills
9551         for empty manual label paragraphs - the answer should be 0
9552
9553 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9554
9555         * CutAndPaste.C: remove commented code and reindent.
9556
9557 2003-03-08  John Levon  <levon@movementarian.org>
9558
9559         * lyxfunc.h:
9560         * lyxfunc.C: move reloadBuffer()
9561
9562         * BufferView.h:
9563         * BufferView.C: to here
9564
9565         * lyxvc.C: add comment
9566
9567         * vc-backend.h:
9568         * vc-backend.C: call bv->reload() to avoid
9569           getStatus() check on MENURELOAD
9570
9571 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9572
9573         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9574         to an old format .dep file.
9575
9576 2003-03-07  Angus Leeming  <leeming@lyx.org>
9577
9578         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9579         when the LFUN_MOUSE_RELEASE should have been handled by
9580         inset->localDispatch.
9581
9582 2003-03-07  Angus Leeming  <leeming@lyx.org>
9583
9584         * BufferView_pimpl.C (dispatch):
9585         * LyXAction.C (init):
9586         * ToolbarDefaults.C (init):
9587         * commandtags.h:
9588         * lyxfunc.C (getStatus):
9589         remove LFUN_INSET_GRAPHICS.
9590
9591         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9592
9593 2003-03-07  Angus Leeming  <leeming@lyx.org>
9594
9595         * commandtags.h:
9596         * LyXAction.C (init):
9597         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9598
9599         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9600
9601         * commandtags.h:
9602         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9603
9604         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9605         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9606
9607 2003-03-07  Angus Leeming  <leeming@lyx.org>
9608
9609         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9610         remove "ert".
9611
9612 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9613
9614         * ParagraphList.C (front): new function
9615         (back): implement
9616
9617 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9618
9619         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9620         and top_row_offset_. removed var first_y.
9621         * text.C (top_y):
9622         * text2.C (LyXText, removeRow):
9623         * text3.C:
9624         * BufferView_pimpl.C:
9625         use these methods instead of using first_y
9626
9627 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9628
9629         * text2.C (pasteSelection): adjust for checkPastePossible
9630
9631         * CutAndPaste.C: remove Paragraph * buf and replace with
9632         ParagraphList paragraphs.
9633         (DeleteBuffer): delete
9634         (cutSelection): change the tc type to textclass_type
9635         (copySelection): change the tc type to textclass_type
9636         (copySelection): adjust for ParagraphList
9637         (pasteSelection): change the tc type to textclass_type
9638         (pasteSelection): adjust for Paragraphlist
9639         (nrOfParagraphs): simplify for ParagraphList
9640         (checkPastePossible): simplify for ParagraphList
9641         (checkPastePossible): remove unused arg
9642
9643         * ParagraphList.C (insert): handle the case where there are no
9644         paragraphs yet.
9645
9646         * CutAndPaste.h: make CutAndPaste a namespace.
9647
9648         * text3.C (dispatch): adjust
9649
9650         * text.C (breakParagraph): add a ParagraphList as arg
9651
9652         * paragraph_funcs.C (breakParagraph): change to take a
9653         BufferParams and a ParagraphList as args.
9654         (breakParagraphConservative): ditto
9655         (mergeParagraph): ditto
9656         (TeXDeeper): add a ParagraphList arg
9657         (TeXEnvironment): ditto
9658         (TeXOnePar): ditto
9659
9660         * buffer.C (readLyXformat2): adjust
9661         (insertStringAsLines): adjust
9662         (latexParagraphs): adjust
9663
9664         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9665         (cutSelection): adjust
9666         (pasteSelection): adjust
9667
9668         * BufferView_pimpl.C (insertInset): adjust
9669
9670 2003-03-05  Angus Leeming  <leeming@lyx.org>
9671
9672         * commandtags.h:
9673         * LyXAction.C (init):
9674         * BufferView_pimpl.C (dispatch):
9675         * lyxfunc.C (getStatus):
9676         remove LFUN_CHILD_INSERT.
9677
9678         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9679
9680 2003-03-05  Angus Leeming  <leeming@lyx.org>
9681
9682         * commandtags.h:
9683         * LyXAction.C (init):
9684         * src/factory.C (createInset):
9685         * lyxfunc.C (getStatus):
9686         * text3.C (dispatch):
9687         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9688
9689         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9690
9691 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9692
9693         * ParagraphList.C (insert): handle insert right before end()
9694         (erase): fix cases where it can be first or last paragraph.
9695
9696 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9697
9698         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9699         Paragraph::next and Paragraph::previous
9700         (TeXOnePar): ditto
9701
9702         * text.C (breakParagraph): adjust
9703
9704         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9705         BufferParams& as arg.
9706         (breakParagraph): use ParagraphList::insert
9707         (breakParagraphConservative): take a Buffer* instead of a
9708         BufferParams& as arg.
9709         (breakParagraphConservative): use ParagraphList::insert.
9710
9711         * buffer.C (insertStringAsLines): un-const it
9712         (insertStringAsLines): adjust
9713
9714         * ParagraphList.C (insert): new function
9715
9716         * CutAndPaste.C (pasteSelection): adjust
9717
9718         * text.C (backspace): adjust
9719
9720         * tabular.C (SetMultiColumn): adjust
9721
9722         * CutAndPaste.C (cutSelection): adjust
9723         (pasteSelection): adjust
9724
9725         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9726         Buffer const * as arg
9727
9728         * ParagraphList.C (erase): new function
9729         * paragraph_funcs.C (mergeParagraph): use it
9730         (mergeParagraph): make it take a Buffer* instead of a
9731         BufferParams* as arg
9732
9733         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9734         as arg
9735         (breakParagraphConservative): ditto
9736
9737         * paragraph.h: remove the breakParagraph friend
9738
9739         * paragraph.C (eraseIntern): new function
9740         (setChange): new function
9741
9742         * paragraph_funcs.C (mergeParagraph): make it take a
9743         ParagraphList::iterator instead of a Paragraph *, adjust
9744         accordingly.
9745
9746         * paragraph.h: move an #endif so that the change tracking stuff
9747         also works in the NO_NEXT case.
9748
9749 2003-03-04  Angus Leeming  <leeming@lyx.org>
9750
9751         * commandtags.h:
9752         * LyXAction.C: new LFUN_INSET_MODIFY.
9753
9754         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9755         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9756
9757 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9758
9759         * several files: ws changes only
9760
9761         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9762         (TeXEnvironment): ditto
9763         (TeXDeeper): ditto
9764
9765         * buffer.C (makeLaTeXFile): adjust
9766         (latexParagraphs): make it take ParagraphList::iterator as args
9767
9768 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9769
9770         * buffer.C (latexParagraphs): adjust
9771
9772         * paragraph.C (TeXOnePar): move function...
9773         (optArgInset): move function...
9774         (TeXEnvironment): move function...
9775         * paragraph_pimpl.C (TeXDeeper): move function...
9776         * paragraph_funcs.C: ...here
9777
9778         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9779
9780 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9781
9782         * buffer.C (readInset): remove compability code for old Figure and
9783         InsetInfo insets
9784
9785 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9786
9787         * buffer.C: ws changes
9788         (readInset):
9789
9790         * BufferView_pimpl.C: ditto
9791         * author.C: ditto
9792         * buffer.h: ditto
9793         * bufferlist.h: ditto
9794         * changes.h: ditto
9795         * lyxfunc.C: ditto
9796
9797 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9798
9799         * converter.[Ch]: split into itself +
9800         * graph.[Ch]
9801         * format.[Ch]
9802         * Makefile.am: += graph.[Ch] + format.[Ch]
9803         * MenuBackend.C
9804         * buffer.C
9805         * exporter.C
9806         * importer.C
9807         * lyx_main.C
9808         * lyxfunc.C
9809         * lyxrc.C: added #include "format.h"
9810
9811 2003-02-27  Angus Leeming  <leeming@lyx.org>
9812
9813         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9814           a label.
9815
9816         * factory.C (createInset): add "label" to the factory.
9817
9818         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9819           string and do no more.
9820
9821 2003-02-27  Angus Leeming  <leeming@lyx.org>
9822
9823         * commandtags.h:
9824         * LyXAction.C (init):
9825         * factory.C (createInset):
9826         * BufferView_pimpl.C (dispatch):
9827           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9828
9829         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9830
9831         * lyxfunc.C (dispatch):
9832         * text3.C (dispatch): pass name to params2string.
9833
9834 2003-02-26  Angus Leeming  <leeming@lyx.org>
9835
9836         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9837           blocks together.
9838           Rearrange the ~includes. Strip out the unnecessary ones.
9839
9840         * factory.C (createInset): reformat.
9841           create new insets for the various LFUN_XYZ_APPLY lfuns.
9842
9843 2003-02-26  John Levon  <levon@movementarian.org>
9844
9845         * lyxrow.h:
9846         * lyxrow.C: add isParStart,isParEnd helpers
9847
9848         * paragraph.h: make isInserted/DeletedText take refs
9849
9850         * paragraph_funcs.h:
9851         * paragraph_funcs.C: remove #if 0'd code
9852
9853         * lyxtext.h:
9854         * text3.C:
9855         * text2.C:
9856         * text.C: use lyxrow helpers above.
9857           Move draw and paint routines to RowPainter.
9858           Make several methods use refs not pointers.
9859           Make backgroundColor() const.
9860           Add markChangeInDraw(), isInInset().
9861           Merge changeRegionCase into changeCase.
9862           Make workWidth() shouldn't-happen code into an Assert.
9863
9864         * rowpainter.h:
9865         * rowpainter.C: new class for painting a row.
9866
9867         * vspace.h:
9868         * vspace.C: make inPixels take a ref
9869
9870 2003-02-26  Angus Leeming  <leeming@lyx.org>
9871
9872         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9873         LFUN_REF_APPLY.
9874
9875 2003-02-25  John Levon  <levon@movementarian.org>
9876
9877         * ispell.C: give the forked command a more accurate name
9878
9879 2003-02-22  John Levon  <levon@movementarian.org>
9880
9881         * toc.h:
9882         * toc.C: make TocItem store an id not a Paragraph *
9883           (bug #913)
9884
9885 2003-02-21  Angus Leeming  <leeming@lyx.org>
9886
9887         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9888           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9889           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9890           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9891           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9892           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9893
9894         * BufferView_pimpl.C (dispatch):
9895         * LyXAction.C (init):
9896         * factory.C (createInset):
9897         * lyxfunc.C (getStatus, dispatch):
9898         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9899
9900 2003-02-21  Angus Leeming  <leeming@lyx.org>
9901
9902         * BufferView_pimpl.C (MenuInsertLyXFile):
9903         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9904         * lyxfunc.C (menuNew, open, doImport):
9905           no longer pass a LyXView & to fileDlg.
9906
9907 2003-02-21  Angus Leeming  <leeming@lyx.org>
9908
9909         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9910         * LyXAction.C: change, BIBKEY to BIBITEM.
9911         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9912         Change InsetBibKey to InsetBibitem.
9913         Change BIBKEY_CODE to BIBITEM_CODE.
9914         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9915         * factory.C: replace insetbib.h with insetbibitem.h.
9916         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9917         * paragraph.C: replace insetbib.h with insetbibitem.h.
9918         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9919         Change bibkey() to bibitem().
9920         * text.C: remove insetbib.h.
9921         * text2.C: replace insetbib.h with insetbibitem.h.
9922         change bibkey() to bibitem().
9923         * text3.C: remove insetbib.h.
9924         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9925
9926 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9927
9928         * lyxrc.C (output): enclose user email in quotes (in case there are
9929         several words)
9930
9931 2003-02-18  John Levon  <levon@movementarian.org>
9932
9933         * buffer.h: add std::
9934
9935 2003-02-17  John Levon  <levon@movementarian.org>
9936
9937         * SpellBase.h:
9938         * ispell.h:
9939         * ispell.C:
9940         * pspell.h:
9941         * pspell.C: reworking. Especially in ispell, a large
9942           number of clean ups and bug fixes.
9943
9944         * lyxfunc.C: fix revert to behave sensibly
9945
9946 2003-02-17 André Pönitz <poenitz@gmx.net>
9947
9948         * LyXAction.C:
9949         * commandtags.h: new LFUN_INSERT_BIBKEY
9950
9951         * layout.h:
9952         * lyxlayout.C:
9953         * buffer.C:
9954         * factory.C:
9955         * text.C:
9956         * text2.C:
9957         * text3.C:
9958         * paragraph.[Ch]:
9959         * paragraph_func.C: remove special bibkey handling
9960
9961 2003-02-17  John Levon  <levon@movementarian.org>
9962
9963         * text.C (Delete): fix case where delete at the end of
9964           the very first paragraph would not merge the pars
9965
9966 2003-02-17  John Levon  <levon@movementarian.org>
9967
9968         * lyxrow.C: fix lastPrintablePos()
9969
9970 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * bufferparams.C (writeLaTeX): add a std:here
9973
9974         * buffer.C: and remove a using directive there
9975
9976 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9977
9978         * buffer.C (makeLaTeXFile): move the code that generates the
9979           preamble...
9980
9981         * bufferparams.C (writeLaTeX): ... in this new method
9982
9983         * LaTeXFeatures.C (getEncodingSet): make const
9984           (getLanguages): make const
9985
9986         * MenuBackend.C (binding): returns the binding associated to this
9987           action
9988           (add): sets the status of each item by calling getStatus. Adds
9989           some intelligence.
9990           (read): add support for OptSubMenu
9991           (expand): remove extra separator at the end of expanded menu
9992
9993 2003-02-15  John Levon  <levon@movementarian.org>
9994
9995         * BufferView.C:
9996         * BufferView_pimpl.C:
9997         * bufferlist.h:
9998         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9999           inset code that had no actual effect. Remove unneeded status
10000           code.
10001
10002 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10003
10004         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10005           in preamble
10006
10007 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10008
10009         * text.C (drawLengthMarker): also draw an arrow marker for
10010           symbolic lengths (medskip...)
10011
10012 2003-02-14  John Levon  <levon@movementarian.org>
10013
10014         * tabular.h:
10015         * tabular.C: better method names
10016
10017 2003-02-14  John Levon  <levon@movementarian.org>
10018
10019         * BufferView_pimpl.C:
10020         * bufferlist.C:
10021         * buffer.C:
10022         * converter.C:
10023         * lyx_cb.C:
10024         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10025           it's a more accurate name. Remove some pointless uses.
10026
10027 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10028
10029         * text2.C (LyXText): change order of initilizers to shut off
10030           warnings
10031
10032 2003-02-14  John Levon  <levon@movementarian.org>
10033
10034         * buffer.C: use ParIterator for getParFromID()
10035
10036         * paragraph.h:
10037         * paragraph.C:
10038         * paragraph_pimpl.h:
10039         * paragraph_pimpl.C: remove unused getParFromID()
10040
10041 2003-02-14  John Levon  <levon@movementarian.org>
10042
10043         * buffer.C: remove some very old #if 0'd parse code
10044
10045 2003-02-13  John Levon  <levon@movementarian.org>
10046
10047         * text.h:
10048         * text.C:
10049         * text2.C: move hfillExpansion(), numberOfSeparators(),
10050           rowLast(), rowLastPrintable(), numberofHfills(),
10051           numberOfLabelHfills() ...
10052
10053         * lyxrow.h:
10054         * lyxrow.C: ... to member functions here.
10055
10056         * paragraph.h:
10057         * paragraph.C:
10058         * lyxtext.h:
10059         * text.C: remove LyXText::beginningOfMainBody(), and call
10060           p->beginningOfMainBody() directly. Move the check for
10061           LABEL_MANUAL into the latter.
10062
10063         * text.h:
10064         * text.C:
10065         * text2.C:
10066         * vspace.C:
10067         * BufferView.h:
10068         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10069
10070         * text.h:
10071         * text.C:
10072         * text2.C:
10073         * text3.C:
10074         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10075           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10076
10077 2003-02-13  John Levon  <levon@movementarian.org>
10078
10079         * CutAndPaste.C: remove debug
10080
10081 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10082
10083         * paragraph.C (asString): remove two unused variables
10084
10085         * lyxtextclass.C (readTitleType):
10086           (Read):
10087           (LyXTextClass): handle new members titletype_ and titlename_
10088
10089         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10090
10091 2003-02-09  John Levon  <levon@movementarian.org>
10092
10093         * buffer.h:
10094         * buffer.C: replace hand-coded list with a map for the dep clean
10095
10096 2003-02-08  John Levon  <levon@movementarian.org>
10097
10098         * LaTeX.C: consolidate code into showRunMessage() helper
10099
10100 2003-02-08  John Levon  <levon@movementarian.org>
10101
10102         * lyxfind.C:
10103         * lyxtext.h:
10104         * text2.C:
10105         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10106           and pass the size in explicitly
10107
10108         * BufferView_pimpl.h:
10109         * BufferView_pimpl.C:
10110         * BufferView.h:
10111         * BufferView.C: add getCurrentChange()
10112
10113         * BufferView_pimpl.h:
10114         * BufferView_pimpl.C: handle change lfuns
10115
10116         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10117           for changes. Mark pasted paragraphs as new.
10118
10119         * support/lyxtime.h:
10120         * support/lyxtime.C:
10121         * DepTable.C: abstract time_t as lyx::time_type
10122
10123         * LColor.h:
10124         * LColor.C: add colours for new text, deleted text, changebars
10125
10126         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10127           package use "usenames" option.
10128
10129         * commandtags.h:
10130         * lyxfunc.C:
10131         * LyXAction.C: add change lfuns
10132
10133         * Makefile.am:
10134         * author.h:
10135         * author.C: author handling
10136
10137         * buffer.h:
10138         * buffer.C: add a per-buffer author list, with first entry as
10139           current author. Handle new .lyx tokens for change tracking. Output
10140           author list to .lyx file. Output dvipost stuff to .tex preamble.
10141           Bump lyx format to 222.
10142
10143         * bufferlist.h:
10144         * bufferlist.C: add setCurrentAuthor() to reset current author details
10145           in all buffers.
10146
10147         * bufferparams.h:
10148         * bufferparams.C: add param for tracking
10149
10150         * bufferview_funcs.C: output change info in minibuffer
10151
10152         * Makefile.am:
10153         * changes.h:
10154         * changes.C: add change-tracking structure
10155
10156         * debug.h:
10157         * debug.C: add CHANGES debug flag
10158
10159         * lyxfind.h:
10160         * lyxfind.C: add code for finding the next change piece
10161
10162         * lyxrc.h:
10163         * lyxrc.C: add user_name and user_email
10164
10165         * lyxrow.h:
10166         * lyxrow.C: add a metric for the top of the text line
10167
10168         * lyxtext.h:
10169         * text.C: implement accept/rejectChange()
10170
10171         * lyxtext.h:
10172         * text.C: paint changebars. Paint new/deleted text in the chosen
10173         colours. Strike through deleted text.
10174
10175         * paragraph.h:
10176         * paragraph.C:
10177         * paragraph_pimpl.h:
10178         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10179           in the current change to the insert functions. Rework erase to
10180           mark text as deleted, adding an eraseIntern() and a range-based
10181           erase(). Implement per-paragraph change lookup and
10182           accept/reject.
10183
10184         * paragraph_funcs.C: Fixup paste for change tracking.
10185
10186         * tabular.C: mark added row/columns as new.
10187
10188         * text.C: fix rowLast() to never return -1. Don't allow
10189           spellchecking of deleted text. Track transpose changes. Don't
10190           allow paragraph break or merge where appropriate.
10191
10192         * text2.C: leave cursor at end of selection after a cut.
10193
10194 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10195
10196         * text.C (getLengthMarkerHeight):
10197         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10198         visible on screen too.
10199
10200 2003-02-07  John Levon  <levon@movementarian.org>
10201
10202         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10203
10204 2003-02-05  Angus Leeming  <leeming@lyx.org>
10205
10206         * lyxserver.C (read_ready): revert my patch of 11 September last year
10207         as it sends PC cpu through the roof. Presumably this means that
10208         the lyxserver will no longer run on an Alpha...
10209
10210 2003-01-30  Angus Leeming  <leeming@lyx.org>
10211
10212         * factory.C (createInset): create an InsetCommandParam of type "index"
10213         and use it to 'do the right thing'.
10214
10215         * text2.C (getStringToIndex): ensure that cursor position is always
10216         reset to the reset_cursor position.
10217
10218 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10219
10220         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10221         disabled.
10222
10223 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10224
10225         * bufferview.C:
10226         * lyxcb.C:
10227         * lyxfunc.C: Output messages with identical spelling, punctuation,
10228         and spaces
10229
10230 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10231
10232         * MenuBackend.C (expandFormats): List only viewable export formats
10233         in "View" menu
10234
10235         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10236         message
10237
10238         * lyxfunc.C (getStatus): Make sure that formats other than
10239         "fax" can also be disabled
10240
10241 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10242
10243         * text3.C (dispatch): put the lfuns that insert insets in 3
10244         groups, and call doInsertInset with appropriate arguments.
10245         (doInsertInset): new function, that creates an inset and inserts
10246         it according to some boolean parameters.
10247
10248 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10249
10250         * buffer.C (readFile): remember to pass on 'par' when calling
10251         readFile recursively.
10252
10253 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10254
10255         * MenuBackend.C (expandFormats): add "..." to import formats.
10256
10257 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10258
10259         * paragraph.C (asString): Remove XForms RTL hacks.
10260
10261 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10262         * buffer.C: fix typo
10263
10264 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10265
10266         * Makefile.am (LIBS): delete var
10267         (lyx_LDADD): add @LIBS@ here instead.
10268
10269 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10270
10271         * Clarify the meaning of "wheel mouse jump"
10272
10273 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10274
10275         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10276         tabular in a float
10277
10278 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10279
10280         * importer.C (Loaders): do not preallocate 3 elements in the
10281         vector, since one ends up with 6 elements otherwise
10282
10283 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10284
10285         * DepTable.C (write): write the file name as last element of the
10286         .dep file (because it may contain spaces)
10287         (read): read info in the right order
10288
10289 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10290
10291         * paragraph_pimpl.C (simpleTeXBlanks):
10292         (simpleTeXSpecialChars):
10293         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10294
10295         * tabular.C (latex): add some missing case statements. Reindent.
10296
10297         * MenuBackend.C (expandToc): remove unused variable.
10298
10299 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10300
10301         * LColor.C:
10302         * LaTeX.C:
10303         * LyXAction.C:
10304         * MenuBackend.C:
10305         * buffer.C:
10306         * exporter.C:
10307         * lyxfunc.C:
10308         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10309         and the like.
10310
10311 2003-01-05  John Levon  <levon@movementarian.org>
10312
10313         * BufferView.h:
10314         * BufferView.C: add getEncoding()
10315
10316         * kbsequence.h:
10317         * kbsequence.C: do not store last keypress
10318
10319         * lyxfunc.h:
10320         * lyxfunc.C: store last keypress here instead. Pass encoding
10321           to getISOEncoded()
10322
10323 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10324
10325         * lyx_main.C (init): remove annoying error message when following
10326         symbolic links (bug #780)
10327
10328 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10329
10330         * text.C (insertChar):
10331         * lyxrc.C (getDescription): remove extra spaces
10332
10333 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10334
10335         * lyxrc.C (getDescription): remove extra spaces
10336
10337 2002-12-20  John Levon  <levon@movementarian.org>
10338
10339         * text3.C: hack fix for page up/down across tall rows
10340
10341 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10342
10343         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10344         not been invoked
10345
10346 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10347
10348         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10349         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10350         thesaurus is not compiled in
10351
10352 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10353
10354         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10355
10356 2002-12-16  Angus Leeming  <leeming@lyx.org>
10357
10358         * lyxrc.[Ch]:
10359         * lyx_main.C (init): remove override_x_deadkeys stuff.
10360
10361 2002-12-12  John Levon  <levon@movementarian.org>
10362
10363         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10364           insert. Only remove shift modifier under strict
10365           circumstances.
10366
10367 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10368
10369         * MenuBackend.C (expandToc): fix crash.
10370
10371 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10372
10373         * MenuBackend.C (expandToc): gettext on float names.
10374
10375 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10376
10377         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10378         implement bool empty() [bug 490]
10379
10380 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10381
10382         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10383
10384 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10385
10386         * several files: ws changes
10387
10388 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10389
10390         * text2.C (setCounter): clean up a bit, use boost.format.
10391         (updateCounters): initialize par upon declaration.
10392
10393         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10394         if the layout exists. We do not just store the layout any more.
10395         (SwitchLayoutsBetweenClasses): use boost.format
10396
10397 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10398
10399         * converter.C (convert): if from and to files are the same, use a
10400         temporary files as intermediary
10401
10402 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10403
10404         * commandtags.h:
10405         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10406
10407 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10408
10409         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10410
10411 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10412
10413         * tabular.C (asciiPrintCell): use string(size, char) instead of
10414         explicit loop.
10415
10416         * sgml.C (openTag): fix order of arguments to string constructor
10417         (closeTag): ditto
10418
10419         * lyxfunc.C (dispatch): use boost.format
10420
10421         * lots of files: change "c" -> 'c'
10422
10423 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10424
10425         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10426
10427 2002-11-25  Angus Leeming  <leeming@lyx.org>
10428
10429         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10430
10431         * lyx_main.C (init): compile fix.
10432
10433 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10434
10435         * lyx_cb.C (start): boost.formatify
10436         do not include <iostream>
10437
10438         * lengthcommon.C: ws only
10439
10440         * boost-inst.C,BoostFormat.h: add more explict instantations
10441
10442 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10443
10444         * lots of files: handle USE_BOOST_FORMAT
10445
10446 2002-11-21  John Levon  <levon@movementarian.org>
10447
10448         * pspell.C: fix compile
10449
10450 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10451
10452         * lyxfunc.C (dispatch): use boost::format
10453         (open): ditto
10454         (doImport): ditto
10455
10456         * lyxfont.C (stateText): use boost::format
10457
10458         * lyx_main.C (LyX): use boost::format
10459         (init): ditto
10460         (queryUserLyXDir): ditto
10461         (readRcFile): ditto
10462         (parse_dbg): ditto
10463         (typedef boost::function): use the recommened syntax.
10464
10465         * importer.C (Import): use boost::format
10466
10467         * debug.C (showLevel): use boost::format
10468
10469         * converter.C (view): use boost::format
10470         (convert): ditto
10471         (move): ditto
10472         (scanLog): ditto
10473
10474         * bufferview_funcs.C (currentState): use boost::format
10475
10476         * bufferlist.C (emergencyWrite): use boost::format
10477
10478         * buffer.C (readLyXformat2): use boost::format
10479         (parseSingleLyXformat2Token): ditto
10480
10481         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10482
10483         * LaTeX.C (run): use boost::format
10484
10485         * Chktex.C (scanLogFile): use boost::format
10486
10487         * BufferView_pimpl.C (savePosition): use boost::format
10488         (restorePosition): ditto
10489         (MenuInsertLyXFile): ditto
10490
10491         * BoostFormat.h: help file for explicit instation.
10492
10493 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10494
10495         * tabular.C (latex): Support for block alignment in fixed width
10496         columns.
10497
10498 2002-11-17  John Levon  <levon@movementarian.org>
10499
10500         * BufferView_pimpl.C:
10501         * lyx_cb.C:
10502         * lyxfunc.C: split filedialog into open/save
10503
10504 2002-11-08  Juergen Vigna  <jug@sad.it>
10505
10506         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10507         by my last patch (hopefully).
10508
10509 2002-11-08  John Levon  <levon@movementarian.org>
10510
10511         * iterators.h:
10512         * iterators.C:
10513         * buffer.h:
10514         * buffer.C:
10515         * paragraph.h:
10516         * paragraph.C:
10517         * toc.h:
10518         * toc.C: ParConstIterator, and use it (from Lars)
10519
10520 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10521
10522         * lyxtextclass.[Ch]: revise and add doxygen comments
10523
10524 2002-11-07  John Levon  <levon@movementarian.org>
10525
10526         * text.C: fix progress value for spellchecker
10527
10528         * toc.C: fix navigate menu for insetwrap inside minipage
10529
10530         * paragraph_funcs.C: added FIXME for suspect code
10531
10532 2002-11-07  John Levon  <levon@movementarian.org>
10533
10534         * BufferView_pimpl.C: fix redrawing of insets
10535           on buffer switch
10536
10537 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10538
10539         * text2.C (updateCounters): fix bug 668
10540
10541 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10542
10543         * text3.C (dispatch): Do not make the buffer dirty when moving the
10544         cursor.
10545
10546 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10547
10548         * vc-backend.C: STRCONV
10549         (scanMaster): ditto
10550
10551         * text2.C (setCounter): STRCONV
10552
10553         * paragraph.C (asString): STRCONV
10554
10555         * lyxlength.C (asString): STRCONV
10556         (asLatexString): ditto
10557
10558         * lyxgluelength.C (asString): STRCONV
10559         (asLatexString): ditto
10560
10561         * lyxfunc.C (dispatch): STRCONV
10562         (open): ditto
10563
10564         * lyxfont.C (stateText): STRCONV
10565
10566         * importer.C (Import): STRCONV
10567
10568         * counters.C (labelItem): STRCONV
10569         (numberLabel): ditto
10570         (numberLabel): remove unused ostringstream o
10571
10572         * chset.C: STRCONV
10573         (loadFile): ditto
10574
10575         * bufferview_funcs.C (currentState): STRCONV
10576
10577         * buffer.C (readFile): STRCONV
10578         (asciiParagraph): ditto
10579         (makeLaTeXFile): ditto
10580
10581         * Spacing.C (writeEnvirBegin): STRCONV
10582
10583         * LaTeXFeatures.C (getLanguages): STRCONV
10584         (getPackages): ditto
10585         (getMacros): ditto
10586         (getBabelOptions): ditto
10587         (getTClassPreamble): ditto
10588         (getLyXSGMLEntities): ditto
10589         (getIncludedFiles): ditto
10590
10591         * LaTeX.C: STRCONV
10592         (run): ditto
10593         (scanAuxFile): ditto
10594         (deplog): ditto
10595
10596         * LString.h: add the STRCONV macros
10597
10598         * BufferView_pimpl.C (savePosition): STRCONV
10599         (restorePosition): ditto
10600         (MenuInsertLyXFile): ditto
10601
10602         * vc-backend.C (scanMaster): change from submatch[...] to
10603         submatch.str(...)
10604
10605         * funcrequest.C: include config.h
10606
10607         * factory.C: include config.h
10608
10609         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10610
10611         * box.C: include config.h
10612
10613         * LaTeX.C (scanAuxFile): change from submatch[...] to
10614         submatch.str(...)
10615         (deplog): ditto
10616
10617 2002-10-25  Angus Leeming  <leeming@lyx.org>
10618
10619         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10620
10621         * ispell.[Ch] (setError): new method.
10622         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10623         Use setError() insetead of goto END.
10624
10625         * lyx_cb.C (AutoSave): move out child process into new class
10626         AutoSaveBuffer.
10627
10628 2002-10-30  John Levon  <levon@movementarian.org>
10629
10630         * text3.C: make start appendix undoable
10631
10632 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10633
10634         * lyxlength.C (inPixels): Fix returned value.
10635
10636         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10637         environment.
10638
10639 2002-10-24  Angus Leeming  <leeming@lyx.org>
10640
10641         * lyxgluelength.h: no need to forward declare BufferParams
10642         or BufferView, so don't.
10643
10644 2002-10-21  John Levon  <levon@movementarian.org>
10645
10646         * BufferView.C: menuUndo ->undo, redo
10647
10648         * BufferView.h: document, remove dead, make some methods private
10649
10650         * paragraph_funcs.h:
10651         * paragraph_funcs.C:
10652         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10653
10654         * buffer.h:
10655         * buffer.C:
10656         * sgml.h:
10657         * sgml.C: move sgml open/close tag into sgml.C
10658
10659         * bufferview_funcs.h: unused prototype
10660
10661         * lyxfunc.h:
10662         * lyxfunc.C: remove unused
10663
10664         * lyxtext.h:
10665         * text.C: remove unused
10666
10667 2002-10-21  John Levon  <levon@movementarian.org>
10668
10669         * BufferView.h:
10670         * BufferView.C:
10671         * BufferView_pimpl.h:
10672         * BufferView_pimpl.C: fix mouse wheel handling based on
10673           patch from Darren Freeman
10674
10675 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10676
10677         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10678
10679 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10680
10681         * lyxlength.C (inPixels): Fix hanfling of negative length.
10682         Fix LyXLength::MU case.
10683
10684 2002-10-16  John Levon  <levon@movementarian.org>
10685
10686         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10687
10688 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10689
10690         * converter.C (view): add support for $$i (file name) and $$p
10691         (file path) for the viewer command. If $$i is not specified, then
10692         it is appended to the command (for compatibility with old syntax)
10693
10694 2002-10-14  Juergen Vigna  <jug@sad.it>
10695
10696         * undo_funcs.C (textHandleUndo): alter the order in which the
10697         new undopar is added to the LyXText, as we have to set first
10698         the right prev/next and then add it as otherwise the rebuild of
10699         LyXText is not correct. Also reset the cursor to the right paragraph,
10700         with this IMO we could remove the hack in "redoParagraphs()".
10701
10702 2002-10-09  Angus Leeming  <leeming@lyx.org>
10703
10704         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10705         to turn off an optimisation if a new inset is to be inserted.
10706
10707 2002-10-11 André Pönitz <poenitz@gmx.net>
10708
10709         * lyxtext.h: make some functions public to allow access
10710         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10711
10712 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10713
10714         * text3.C (dispatch): when changing layout, avoid an infinite loop
10715         [bug #652]
10716
10717 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10718
10719         * lyxrc.C (read): treat a viewer or converter command of "none" as
10720         if it were empty.
10721
10722         * MenuBackend.C (expandFormats): for an update, also allow the
10723         formats that are not viewable
10724
10725         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10726         script if it is newer than the lyxrc.defaults in user directory
10727
10728 2002-10-07 André Pönitz <poenitz@gmx.net>
10729
10730         * text.C: Vitaly Lipatov's small i18n fix
10731
10732 2002-09-25  Angus Leeming  <leeming@lyx.org>
10733
10734         * ispell.h: doxygen fix.
10735
10736 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10737
10738         * buffer.h (readFile): Add a new argument to the method, to allow
10739         reading of old-format templates.
10740
10741 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10742
10743         * toc.C (getTocList): Get TOC from InsetWrap.
10744
10745 2002-09-16  John Levon  <levon@movementarian.org>
10746
10747         * lyxfunc.C: check tabular for cut/copy too
10748
10749 2002-09-12  John Levon  <levon@movementarian.org>
10750
10751         * LyXAction.C: tidy
10752
10753         * factory.h:
10754         * factory.C: add header
10755
10756         * paragraph_funcs.h:
10757         * paragraph_funcs.C: cleanup
10758
10759 2002-09-11  John Levon  <levon@movementarian.org>
10760
10761         * PrinterParams.h: odd/even default to true
10762
10763 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10764
10765         * PrinterParams.h: update printer parameters for new xforms dialog
10766
10767 2002-09-11  Angus Leeming  <leeming@lyx.org>
10768
10769         * lyxserver.C (read_ready): re-write to make it more transparent
10770         and to make it work in coherent fashion under Tru64 Unix.
10771
10772 2002-09-11  André Pönitz <poenitz@gmx.net>
10773
10774         * commandtags.h:
10775         * LyXAction.C:
10776         * text3.C: implement LFUN_WORDSEL
10777
10778 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10779
10780         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10781         make floatlist_ a boost::shared_ptr<FloatList>
10782
10783         * lyxtextclass.C: include FloatList.h
10784         (LyXTextClass): initialize floatlist_
10785         (TextClassTags): add TC_NOFLOAT
10786         (Read): match "nofloat" to TC_NOFLOAT and use it.
10787         (readFloat): modify call to floatlist_
10788         (floats): ditto
10789         (floats): ditto
10790
10791         * FloatList.[Ch] (FloatList): remove commented out float
10792         initialization.
10793         (erase): new function
10794
10795 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10796
10797         * MenuBackend.C (expandToc): fix crash when there is no document
10798         open
10799
10800 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10801
10802         * many files: Add insetwrap.
10803
10804 2002-09-09  John Levon  <levon@movementarian.org>
10805
10806         * text2.C: remove confusing and awkward depth wraparound
10807
10808 2002-09-09  John Levon  <levon@movementarian.org>
10809
10810         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10811
10812         * buffer.h:
10813         * buffer.C: remove getIncludeonlyList()
10814
10815         * paragraph.C:
10816         * lyxfunc.C: remove headers
10817
10818 2002-09-09  Juergen Vigna  <jug@sad.it>
10819
10820         * text.C (getColumnNearX): fix form Michael this is most
10821         probably a cut&paste bug.
10822
10823 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10824
10825         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10826
10827         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10828         references, ws changes.
10829
10830         * text2.C (init): update counters after init
10831         (insertParagraph): no need to set counter on idividual paragraphs.
10832         (setCounter): access the counters object in the textclass object
10833         on in the buffer object.
10834         (updateCounters): ditto
10835
10836         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10837         shared_ptr<Counters> to avoid loading counters.h in all
10838         compilation units.
10839         (LyXTextClass): initialize ctrs_
10840         (TextClassTags): add TC_COUNTER, and ...
10841         (Read): use it here.
10842         (CounterTags): new tags
10843         (readCounter): new function
10844         (counters): new funtion
10845         (defaultLayoutName): return a const reference
10846
10847         * counters.C (Counters): remove contructor
10848         (newCounter): remove a couple of unneeded statements.
10849         (newCounter): simplify a bit.
10850         (numberLabel): some small formatting changes.
10851
10852         * buffer.[Ch]: remove all traces of counters, move the Counters
10853         object to the LyXTextClass.
10854
10855 2002-09-06  Alain Castera  <castera@in2p3.fr>
10856
10857         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10858         package to set the horizontal alignment on fixed width columns.
10859
10860         * lyx_sty.C:
10861         * lyx_sty.h: added tabularnewline macro def.
10862
10863         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10864
10865 2002-09-06  John Levon  <levon@movementarian.org>
10866
10867         * LyXAction.C: tooltips for sub/superscript
10868
10869         * MenuBackend.C: a bit more verbose
10870
10871         * lyxfunc.C: tiny clean
10872
10873         * undo_funcs.C: document undo_frozen
10874
10875 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10876
10877         * counters.C (Counters): add missing algorithm counter.
10878
10879         * text2.C (setCounter): lookup the counter with layouts latexname
10880         instead of by section number.
10881         (setCounter): use a hackish way to lookup the correct enum
10882         counter.
10883         a float name->type change
10884         reset enum couners with counter name directly instead of depth value.
10885
10886         * counters.C (Counters): remove the push_backs, change to use the
10887         float type not the float name.
10888         (labelItem): remove unused string, float name->type change
10889
10890         * counters.h: don't include vector, loose the enums and sects vectors
10891
10892 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10893
10894         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10895         (Read): add float->TC_FLOAT to textclassTags
10896         (Read): and handle it in the switch
10897         (readFloat): new function
10898
10899         * FloatList.C (FloatList): comment out the hardcoded float
10900         definitions.
10901
10902         * lyxlayout.h: ws change.
10903
10904 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10905
10906         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10907
10908 2002-09-03  Angus Leeming  <leeming@lyx.org>
10909
10910         * BufferView_pimpl.h: qualified name is not allowed in member
10911         declaration: WorkArea & Pimpl::workarea() const;
10912
10913         * factory.C: added using std::endl directive.
10914
10915         * text3.C: added using std::find and std::vector directives.
10916
10917 2002-08-29  André Pönitz <poenitz@gmx.net>
10918
10919         * lyxtext.h:
10920         * text2.C: remove unused member number_of_rows
10921
10922         * Makefile.am:
10923         * BufferView2.C: remove file, move contents to...
10924         * BufferView.C: ... here
10925
10926         * BufferView_pimpl.C:
10927         * factory.C: move more inset creation to factory
10928
10929         * vspace.C: avoid direct usage of LyXText, ws changes
10930
10931         * BufferView.[Ch]:
10932                 don't provide direct access to WorkArea, use two simple
10933                 acessors haveSelction() and workHeight() instead
10934
10935
10936 2002-08-29  John Levon  <levon@movementarian.org>
10937
10938         * BufferView_pimpl.C (dispatch): do not continue when
10939           no buffer
10940
10941 2002-08-28  André Pönitz <poenitz@gmx.net>
10942
10943         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10944
10945         * BufferView.h:
10946         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10947
10948 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10949
10950         * buffer.C: increment LYX_FORMAT to 221
10951
10952         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10953         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10954
10955         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10956
10957         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10958
10959 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10960
10961         * factory.C (createInset): use LyXTextClass::floats
10962
10963         * MenuBackend.C (expandFloatListInsert):
10964         (expandFloatInsert):
10965         (expandToc):
10966
10967         * text2.C (setCounter):
10968
10969         * LaTeXFeatures.C (useFloat):
10970         (getFloatDefinitions):
10971
10972         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10973
10974         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10975         floatlist_, with accessor floats().
10976
10977         * FloatList.h: remove global FloatList
10978
10979 2002-08-26  André Pönitz <poenitz@gmx.net>
10980
10981         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10982
10983         * BufferView.h:
10984         * BufferView2.C:
10985         * BufferView_pimpl.C:
10986         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10987
10988 2002-08-25  John Levon  <levon@movementarian.org>
10989
10990         * LyXAction.C: fix margin note description
10991
10992 2002-08-24  John Levon  <levon@movementarian.org>
10993
10994         * buffer.C:
10995         * bufferlist.C:
10996         * bufferview_funcs.C:
10997         * lyxfont.C:
10998         * undo_funcs.C: cleanups
10999
11000         * lyxfunc.C: disable CUT/COPY when no selection
11001
11002 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11003
11004         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11005         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11006
11007         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11008         Add backward compatibility to "mono", "gray" and "no".
11009
11010 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11011
11012         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11013         (and file_format >= 200).
11014
11015 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11016
11017         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11018
11019 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11020
11021         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11022
11023 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11024
11025         * BufferView_pimpl.C:
11026         * LyXAction.C:
11027         * buffer.C:
11028         * commandtags.h:
11029         * lyxfunc.C:
11030         * paragraph.[Ch]:
11031         * text2.C:
11032         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11033         inset and code to make it  work with the paragraph code. The inset
11034         can be anywhere in the paragraph, but will only do the expected
11035         thing in LaTeX if the layout file contains the parameter line
11036                         OptionalArgs    1
11037         (or more generally, a nonzero value) for that layout.
11038
11039 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11040
11041         * paragraph.h: remove the declaration of undefined counters class
11042         function.
11043
11044 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11045
11046         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11047         Dr. Richard Hawkins.
11048
11049 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11050
11051         * paragraph_funcs.h: remove some unneeded includes
11052
11053         * text.C (backspace): pasteParagraph now in global scipe
11054
11055         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11056         (pasteSelection): ditto
11057
11058         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11059         * paragraph_funcs.C (pasteParagraph): ... here
11060
11061 2002-08-20  André Pönitz <poenitz@gmx.net>
11062
11063         * commandtags.h: new LFUNs for swapping/copying table row/colums
11064
11065         * LyXAction.C:
11066         * lyxfunc.C: support for new lfuns
11067
11068 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11069
11070         * tabular.C:
11071         * buffer.[Ch]: remove NO_COMPABILITY stuff
11072
11073 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11074
11075         * boost.C (throw_exception): new file, with helper function for
11076         boost compiled without exceptions.
11077
11078         * paragraph.h:
11079         * lyxlength.C:
11080         * buffer.C:
11081         * ParameterStruct.h:
11082         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11083
11084         * bufferlist.C (emergencyWriteAll): use boost bind
11085
11086         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11087
11088         * text.C: include paragraph_funcs.h
11089         (breakParagraph): breakParagraph is now in global scope
11090
11091         * paragraph_funcs.[Ch]: new files
11092
11093         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11094         global scope
11095
11096         * buffer.C: include paragraph_funcs.h
11097         (insertStringAsLines): breakParagraph is now in global scope
11098
11099         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11100         paragraph_funcs.C
11101
11102         * CutAndPaste.C: include paragraph_funcs.h
11103         (cutSelection): breakParagraphConservative is now in global scope
11104         (pasteSelection): ditto
11105
11106         * buffer.h: declare oprator== and operator!= for
11107         Buffer::inset_iterator
11108
11109         * bufferlist.C (emergencyWrite): don't use fmt(...)
11110
11111         * text3.C: add using std::endl
11112
11113         * BufferView.C (moveCursorUpdate): remove default arg
11114
11115 2002-08-20  André Pönitz <poenitz@gmx.net>
11116
11117         * buffer.[Ch]: move inline functions to .C
11118
11119         * BufferView2.C:
11120         * BufferView_pimpl.C:
11121         * text.C:
11122         * buffer.[Ch]: use improved inset_iterator
11123
11124         * buffer.C:
11125         * paragraph.[Ch]: write one paragraph at a time
11126
11127 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11128
11129         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11130         style if style is not specified.
11131
11132 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11133
11134         * text2.C (setCounter): when searching for right label for a
11135         caption, make sure to recurse to parent insets (so that a caption
11136         in a minipage in a figure float works) (bug #568)
11137
11138 2002-08-20  André Pönitz <poenitz@gmx.net>
11139
11140         * text3.C: new file for LyXText::dispatch() and helpers
11141
11142         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11143
11144         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11145
11146 2002-08-19  André Pönitz <poenitz@gmx.net>
11147
11148         * lyxtext.h:
11149         * text.C: new LyXText::dispatch()
11150
11151         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11152
11153 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11154
11155         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11156
11157         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11158         Hebrew text.
11159
11160 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11161
11162         * Makefile.am: use $(variables) instead of @substitutions@
11163
11164 2002-08-15  André Pönitz <poenitz@gmx.net>
11165
11166         * lyxfunc.C:
11167         * BufferView_pimpl.C: streamlining mathed <-> outer world
11168         interaction
11169
11170         * commandtags.h:
11171         * LyXAction.C: remove unused LFUN_MATH
11172
11173 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11174
11175         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11176
11177 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11178
11179         * paragraph.C (Paragraph): reformat a bit
11180         (cutIntoMinibuffer): use builtin InsetList function instad of
11181         doing it manually.
11182         (getInset): ditto
11183
11184         * buffer.C: include boost/bind.hpp, add using std::for_each
11185         (writeFileAscii): use ParagraphList iterators
11186         (validate): use for_each for validate traversal of paragraphs
11187         (getBibkeyList): use ParagraphList iterators
11188         (resizeInsets): use for_each to resizeInsetsLyXText for all
11189         paragraphs.
11190         (getParFromID): use ParagraphList iterators
11191
11192         * BufferView2.C (lockInset): use paragraph list and iterators
11193
11194 2002-08-14  John Levon  <levon@movementarian.org>
11195
11196         * lyxserver.C: remove spurious xforms include
11197
11198 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11199
11200         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11201
11202 2002-08-13  André Pönitz <poenitz@gmx.net>
11203
11204         * LyXAction.[Ch]:
11205         * lyxfunc.C: further cleaning
11206
11207 2002-08-13  André Pönitz <poenitz@gmx.net>
11208
11209         * funcrequest.h: new constructor
11210
11211         * funcrequest.C: move stuff here from .h
11212
11213         * Makefile.am:
11214         * BufferView_pimpl.C:
11215         * LyXAction.C:
11216         * toc.C:
11217         * lyxfunc.C: subsequent changes
11218
11219         * lyxfunc.h: new view() member function
11220
11221         * lyxfunc.C: subsequent changes
11222
11223 2002-08-13  Angus Leeming  <leeming@lyx.org>
11224
11225         * BufferView2.C:
11226         * BufferView_pimpl.C:
11227         * buffer.C:
11228         * converter.C:
11229         * importer.C:
11230         * lyxfunc.C:
11231         * lyxvc.C:
11232         * toc.C:
11233         * vc-backend.C:
11234         changes due to the changed LyXView interface that now returns references
11235         to member variables not pointers.
11236
11237 2002-08-13  Angus Leeming  <leeming@lyx.org>
11238
11239         * WordLangTuple (word, lang_code): return references to strings,
11240         not strings.
11241
11242         * BufferView.h:
11243         * SpellBase.h:
11244         * lyxtext.h: forward-declare WordLangTuple.
11245
11246         * BufferView2.C:
11247         * ispell.C:
11248         * pspell.C:
11249         * text.C: #include "WordLangTuple.h".
11250
11251         * lyxtext.h:
11252         * text.C: (selectNextWordToSpellcheck): constify return type.
11253
11254 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11255
11256         * buffer.C:
11257         * buffer.h:
11258         * lyxtext.h:
11259         * paragraph.C:
11260         * paragraph_pimpl.h:
11261         * text.C:
11262         * text2.C:
11263         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11264         suggested by Angus.
11265         Made updateCounter always count from start of buffer, and removed
11266         second argument (par).
11267         Reverted floats number display to '#'. Perhaps I'll try again when the
11268         code base is sanitized a bit.
11269
11270 2002-08-12  Angus Leeming  <leeming@lyx.org>
11271
11272         * buffer.[Ch] (getLabelList): constify.
11273
11274 2002-08-07  André Pönitz <poenitz@gmx.net>
11275
11276         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11277
11278         * funcrequest.h: extension to keep mouse (x,y) position
11279
11280 2002-08-12  Juergen Vigna  <jug@sad.it>
11281
11282         * BufferView2.C (insertErrors): forbid undo when inserting error
11283         insets.
11284
11285         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11286
11287 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11288
11289         * ParagraphList.[Ch]: new files
11290
11291         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11292
11293         * BufferView2.C (lockInset): ParagraphList changes
11294         * toc.C: ditto
11295         * text2.C: ditto
11296         * bufferlist.C: ditto
11297         * buffer.h: ditto
11298         * buffer.C: ditto
11299
11300 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11301
11302         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11303         unused class variable counter_,
11304
11305         * paragraph.[Ch] (getFirstCounter): delete unused function
11306
11307         * counters.C: include LAssert.h
11308         (reset): add a new function with no arg, change other version to
11309         not have def. arg and to not allow empty arg.
11310
11311         * text2.C (setCounter): remove empty arg from call to Counters::reset
11312
11313 2002-08-11  John Levon  <levon@movementarian.org>
11314
11315         * Makefile.am: add WordLangTuple.h
11316
11317 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11318
11319         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11320         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11321
11322         * insets/insettext.C: InsetList changes
11323
11324         * graphics/GraphicsSupport.C (operator()): InsetList changes
11325
11326         * toc.C (getTocList): InsetList changes
11327
11328         * paragraph_pimpl.[Ch]: InsetList changes
11329
11330         * paragraph.[Ch]: InsetList changes
11331
11332         * buffer.C (inset_iterator): InsetList changes
11333         (setParagraph): ditto
11334         * buffer.h (inset_iterator): ditto
11335         * iterators.C (operator++): ditto
11336         * iterators.h: ditto
11337
11338         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11339
11340         * InsetList.[Ch]: new files, most InsetList handling moved out of
11341         paragraph.C.
11342
11343         * BufferView2.C (removeAutoInsets): InsetList changes
11344         (lockInset): ditto
11345         (ChangeInsets): ditto
11346
11347 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11348
11349         * paragraph_pimpl.h (empty): new function
11350
11351         * paragraph.[Ch] (empty): new function
11352
11353         * other files: use the new Paragraph::empty function
11354
11355 2002-08-09  John Levon  <levon@movementarian.org>
11356
11357         * lyxtext.h: remove unused refresh_height
11358
11359 2002-08-09  John Levon  <levon@movementarian.org>
11360
11361         * Makefile.am:
11362         * sgml.h:
11363         * sgml.C:
11364         * buffer.C:
11365         * paragraph.h:
11366         * paragraph.C: move sgml char escaping out of paragraph
11367
11368         * paragraph.h:
11369         * paragraph.C: remove id setter
11370
11371         * buffer.C:
11372         * paragraph.C:
11373         * paragraph_pimpl.C: remove dead tex_code_break_column
11374
11375         * bufferview_funcs.C: small cleanup
11376
11377         * lyxfunc.C: remove dead proto
11378
11379         * lyxtext.h: make some stuff private. Remove some dead stuff.
11380
11381         * lyxgluelength.C: make as[LyX]String() readable
11382
11383 2002-08-08  John Levon  <levon@movementarian.org>
11384
11385         * LyXAction.h:
11386         * LyXAction.C:
11387         * MenuBackend.C:
11388         * ToolbarDefaults.C:
11389         * lyxfunc.C:
11390         * lyxrc.C:
11391         * toc.C: lyxaction cleanup
11392
11393 2002-08-08  John Levon  <levon@movementarian.org>
11394
11395         * BufferView2.C: small cleanup
11396
11397         * lyxfind.h:
11398         * lyxfind.C: move unnecessary header into the .C
11399
11400 2002-08-08  John Levon  <levon@movementarian.org>
11401
11402         * funcrequest.h: just tedious nonsense
11403
11404         * lyx_main.h:
11405         * lyx_main.C: cleanups
11406
11407         * buffer.C:
11408         * vspace.C: remove dead header lyx_main.h
11409
11410 2002-08-07  Angus Leeming  <leeming@lyx.org>
11411
11412         * Paragraph.[Ch]:
11413         * paragraph_pimpl.h:
11414         Forward declare class Counters in paragraph.h by moving the ctrs member
11415         variable into Paragraph::Pimpl.
11416         (counters): new method, returning a reference to pimpl_->ctrs.
11417
11418         * text2.C: ensuing changes.
11419
11420 2002-08-07  John Levon  <levon@movementarian.org>
11421
11422         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11423
11424         * BufferView_pimpl.C: announce X selection on double/triple
11425           click
11426
11427         * lyx_main.C: use correct bool in batch dispatch
11428
11429         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11430
11431 2002-08-07  André Pönitz <poenitz@gmx.net>
11432
11433         * funcrequest.h: new class to wrap a kb_action and its argument
11434
11435         * BufferView.[Ch]:
11436         * BufferView_pimpl[Ch]:
11437         * LaTeX.C:
11438         * LyXAction.[Ch]:
11439         * lyxfunc.[Ch]:
11440         * lyxrc.C: subsequent changes
11441
11442
11443 2002-08-07  John Levon  <levon@movementarian.org>
11444
11445         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11446           document options change.
11447
11448 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11449
11450         * counters.[Ch]
11451         * text2.C
11452         * paragraph.[Ch]
11453         * makefile.am: move counters functionality over from
11454         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11455
11456 2002-08-06  John Levon  <levon@movementarian.org>
11457
11458         * WordLangTuple.h: new file for word + language code tuple
11459
11460         * SpellBase.h:
11461         * pspell.h:
11462         * pspell.C:
11463         * ispell.h:
11464         * ispell.C:
11465         * lyxtext.h:
11466         * text.C:
11467         * text2.C:
11468         * BufferView.h:
11469         * BufferView2.C: use WordLangTuple
11470
11471         * layout.h:
11472         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11473
11474 2002-08-06  John Levon  <levon@movementarian.org>
11475
11476         * lyx_main.C: fix cmdline batch handling
11477
11478 2002-08-06  André Pönitz <poenitz@gmx.net>
11479
11480         * lyxrc.C: set default for show_banner to true
11481
11482 2002-08-06  John Levon  <levon@movementarian.org>
11483
11484         * pspell.C: fix a crash, and allow new aspell to work
11485
11486 2002-08-06  John Levon  <levon@movementarian.org>
11487
11488         * lyxfunc.C:
11489         * kbmap.C: small cleanup
11490
11491         * vspace.h:
11492         * vspace.C: add const
11493
11494 2002-08-05  John Levon  <levon@movementarian.org>
11495
11496         * LyXAction.C: back to tabular-insert
11497
11498 2002-08-04  John Levon  <levon@movementarian.org>
11499
11500         * BufferView.h:
11501         * BufferView.C: cosmetic change
11502
11503         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11504
11505         * bufferlist.C:
11506         * buffer.h:
11507         * buffer.C:
11508         * lyxcb.h:
11509         * lyxcb.C:
11510         * lyxserver.C:
11511         * lyxvc.C:
11512         * vc-backend.C:
11513         * BufferView2.C: purge all "Lyx" not "LyX" strings
11514
11515         * lyxcursor.h:
11516         * lyxcursor.C: attempt to add some documentation
11517
11518         * lyxfunc.C:
11519         * commandtags.h:
11520         * LyXAction.C:
11521         * ToolbarDefaults.C:
11522         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11523           merge with LFUN_TABULAR_INSERT
11524
11525         * Makefile.am:
11526         * SpellBase.h:
11527         * ispell.h:
11528         * ispell.C:
11529         * pspell.h:
11530         * pspell.C: split up i/pspell implementations into separate
11531           files, many cleanups
11532
11533         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11534
11535         * text2.C: some cleanup
11536
11537         * lyxfunc.C: don't check for isp_command == "none" any more, it
11538           didn't make any sense
11539
11540 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11541
11542         * counters.[Ch]
11543         * text2.C
11544         * paragraph.[Ch]
11545         * makefile.am: move counters functionality over
11546         from text2.C/paragraph.[Ch] to counters.[Ch], and
11547         make proper C++.
11548 2002-08-02  John Levon  <levon@movementarian.org>
11549
11550         * buffer.C: s/lyxconvert/lyx2lyx/
11551
11552 2002-08-02  Angus Leeming  <leeming@lyx.org>
11553
11554         * lyxlex.C: revert John's change as it breaks reading of the user
11555         preamble.
11556
11557 2002-08-02  Angus Leeming  <leeming@lyx.org>
11558
11559         * importer.C (Import):
11560         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11561         changes due to LyXView::view() now returning a boost::shared_ptr.
11562
11563 2002-08-02  John Levon  <levon@movementarian.org>
11564
11565         * lyxlex.C: small cleanup
11566
11567 2002-08-02  John Levon  <levon@movementarian.org>
11568
11569         * text2.C (status): small cleanup, no logic change
11570
11571 2002-08-01  John Levon  <levon@movementarian.org>
11572
11573         * buffer.h:
11574         * buffer.C (writeFile): don't output alerts, caller
11575           handles this
11576
11577         * bufferlist.C:
11578         * lyx_cb.C: from above
11579
11580         * lyxfunc.C: allow to open non-existent files
11581
11582 2002-07-31  John Levon  <levon@movementarian.org>
11583
11584         * lyxserver.C: don't let incidental errors get
11585           in the way (errno)
11586
11587 2002-07-30  John Levon  <levon@movementarian.org>
11588
11589         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11590
11591 2002-07-30  John Levon  <levon@movementarian.org>
11592
11593         * lyxserver.h:
11594         * lyxserver.C: remove I/O callback too
11595
11596 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11597
11598         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11599         log.
11600
11601 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11602
11603         * many files: strip,frontStrip -> trim,ltrim,rtrim
11604
11605 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11606
11607         * PrinterParams.h: remove extern containsOnly, and include
11608         support/lstrings.h instead.
11609
11610         * LaTeX.C (scanAuxFile): modify because of strip changes
11611         (deplog): ditto
11612         * buffer.C (makeLaTeXFile): ditto
11613         * bufferparams.C (writeFile): ditt
11614         * lyxfont.C (stateText): ditto
11615         * lyxserver.C (read_ready): ditto
11616         * vc-backend.C (scanMaster): ditto
11617
11618         * BufferView_pimpl.h: ws changes
11619
11620         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11621
11622 2002-07-26  André Pönitz <poenitz@gmx.net>
11623
11624         * kb_sequence.C: remove unnedred usings
11625
11626 2002-07-26  Juergen Vigna  <jug@sad.it>
11627
11628         * lyxfind.C (LyXReplace): we have to check better if the returned
11629         text is not of theLockingInset()->getLockingInset().
11630
11631 2002-07-25  Juergen Vigna  <jug@sad.it>
11632
11633         * lyxfind.C (LyXReplace): don't replace if we don't get the
11634         right LyXText.
11635
11636         * undo_funcs.C (createUndo): remove debugging code.
11637
11638 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11639
11640         * buffer.C (parseSingleLyXformat2Token): Use default placement
11641         when reading old floats.
11642
11643         * FloatList.C (FloatList): Change the default placement of figure
11644         and tables to "tbp".
11645
11646 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * MenuBackend.C: using std::max
11649
11650 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11651
11652         * MenuBackend.C (expandToc):
11653         (expandToc2): code moved from xforms menu frontend. It is now
11654         generic and TOCs are transparent to menu frontends.
11655
11656 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11657
11658         * toc.C (getTocList): protect against buf=0
11659
11660         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11661         Menu as first parameter. Now, this calls itself recursively to
11662         expand a whole tree (this will be useful for TOC handling)
11663         (expandFloatInsert): remove 'wide' version of floats
11664
11665         * MenuBackend.h (submenuname): returns the name of the submenu.
11666         (submenu): returns the submenu itself, provided it has been
11667         created by MenuBackend::expand
11668
11669 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11670
11671         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11672         insets which have noFontChange == true. (bug #172)
11673
11674 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11675
11676         * BufferView_pimpl.C: add connection objects and use them...
11677         (Pimpl): here.
11678
11679 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11680
11681         * MenuBackend.C (expandLastfiles):
11682         (expandDocuments):
11683         (expandFormats):
11684         (expandFloatListInsert):
11685         (expandFloatInsert):
11686         (expand): split expand in parts
11687
11688 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11689
11690         * lyx_gui.C: use lyx_gui::exit()
11691
11692 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11693
11694         * LyXAction.C: show the failing pseudo action
11695
11696 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11697
11698         * buffer.C (readFile): Run the lyxconvert script in order to read
11699         old files.
11700
11701 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * LyXAction.C:
11704         * commandtags.h:
11705         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11706
11707 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11708
11709         * LyXAction.C:
11710         * commandtags.h:
11711         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11712
11713 2002-07-22  Herbert Voss  <voss@lyx.org>
11714
11715         * lengthcommon.C:
11716         * lyxlength.[Ch]: add support for the vertical lengths
11717
11718 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * toc.[Ch]: std:: fixes
11721
11722 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11723
11724         * lyxrc.C: do not include lyx_main.h
11725
11726         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11727         for layouts
11728
11729         * lyxrc.C:
11730         * encoding.C:
11731         * bufferlist.C:
11732         * BufferView2.C: include "lyxlex.h"
11733
11734         * tabular.h:
11735         * bufferparams.h: do not #include "lyxlex.h"
11736
11737         * lyxtextclasslist.C (Add): remove method
11738         (classlist): renamed to classlist_
11739
11740         * paragraph_pimpl.C:
11741         * paragraph.C:
11742         * text2.C:
11743         * CutAndPaste.C:
11744         * bufferview_funcs.C:
11745         * bufferlist.C:
11746         * text.C:
11747         * LaTeXFeatures.C:
11748         * buffer.C:
11749         * toc.C (getTocList): use BufferParams::getLyXTextClass
11750
11751         * toc.C (getTocList): use InsetFloat::addToToc
11752
11753         * toc.[Ch]: new files, containing helper functions to handle table
11754         of contents
11755
11756         * lyxfunc.C (dispatch): no need to remove spaces around command
11757         given as a string
11758         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11759         first command of the sequence; it is not very clever, but I do not
11760         have a better idea, actually
11761
11762         * LyXAction.C (LookupFunc): make sure to remove space at the
11763         beginning and end of the command
11764
11765 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11766
11767         * MenuBackend.C (getMenubar): new method: return the menubar of
11768         this menu set
11769         (read): treat differently reading of menu and menubar (in
11770         particular, the menubar has no name now)
11771         (Menu::menubar): remove
11772
11773         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11774         saving is finished
11775
11776 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11777
11778         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11779         a bibitem inset in a RTL paragraph.
11780
11781 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * paragraph_pimpl.C: constify
11784
11785         * BufferView_pimpl.C:
11786         * LaTeX.C:
11787         * lyxfunc.C: fix dispatch in a nicer way
11788
11789 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11790
11791         * lyxfunc.C (dispatch):
11792         * BufferView_pimpl.C:
11793         * BufferView_pimpl.h:
11794         * BufferView.C:
11795         * BufferView.h: rename Dispatch() to dispatch()
11796
11797         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11798
11799         * lyxlayout.C (Read): honor DependsOn tag
11800
11801         * lyxlayout.[Ch] (depends_on): new method
11802
11803         * version.C.in: update lyx_docversion
11804
11805         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11806
11807         * paragraph.C (validate): remove from here...
11808         * paragraph_pimpl.C (validate): ... and move here
11809         (isTextAt): make it const
11810
11811         * buffer.C (getLists): ws cleanup
11812
11813 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11814
11815         * language.C (read): Use iso8859-1 encoding in latex_lang
11816         (this prevents LyX from crashing when using iso10646-1 encoding).
11817
11818 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11819
11820         * text2.C (toggleInset): if cursor is inside an inset, close the
11821         inset and leave cursor _after_ it
11822
11823 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11824
11825         * lyxfunc.C: move minibuffer completion handling out of here
11826
11827 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11828
11829         * BufferView_pimpl.C:
11830         * LaTeX.C: fix dispatch calls
11831
11832 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11833
11834         * text.C (drawChars): Fix Arabic text rendering.
11835
11836 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * LyXAction.C:
11839         * commandtags.h:
11840         * lyxfunc.C: remove message-push/pop
11841
11842         * lyxserver.C:
11843         * lyxfunc.h:
11844         * lyxfunc.C: rationalise some code by removing verboseDispatch
11845           in favour of a bool argument to dispatch()
11846
11847 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11848
11849         * lyx_main.C (init): make sure to read symlinks as absolute paths
11850
11851 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11852
11853         * lyxfunc.h:
11854         * lyxfunc.C: no need for commandshortcut to be a member
11855
11856 2002-07-15  André Pönitz <poenitz@gmx.net>
11857
11858         * converter.C: add support for $$s (scripts from lib/scripts dir)
11859         * lyx_main.C: white space
11860
11861 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * bufferlist.C:
11864         * lyxrc.h:
11865         * lyxrc.C: remove second exit confirmation
11866
11867 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11868
11869         * BufferView.h:
11870         * BufferView.C:
11871         * BufferView2.C:
11872         * BufferView_pimpl.h:
11873         * BufferView_pimpl.C:
11874         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11875
11876 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11877
11878         * MenuBackend.C (expand): add numeric shortcuts to document menu
11879
11880         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11881
11882 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11883
11884         * lyxfont.C (setLyXFamily):
11885         (setLyXSeries):
11886         (setLyXShape):
11887         (setLyXSize):
11888         (setLyXMisc):
11889         (lyxRead):
11890         * debug.C (value):
11891         * buffer.C (asciiParagraph): use ascii_lowercase
11892
11893 2002-07-15  Mike Fabian  <mfabian@suse.de>
11894
11895         * lyxlex_pimpl.C (search_kw):
11896         * lyxlex.C (getLongString):
11897         * converter.h (operator<):
11898         * converter.C (operator<):
11899         * buffer.C (parseSingleLyXformat2Token):
11900         (asciiParagraph):
11901         * ToolbarDefaults.C (read):
11902         * MenuBackend.C (checkShortcuts):
11903         (read):
11904         * LColor.C (getFromGUIName):
11905         (getFromLyXName): use the compare_ascii_no_case instead of
11906         compare_no_case, because in turkish, 'i' is not the lowercase
11907         version of 'I', and thus turkish locale breaks parsing of tags.
11908
11909 2002-07-16  Angus Leeming  <leeming@lyx.org>
11910
11911         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11912         now takes a Buffer const & argument.
11913
11914 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * BufferView.C (resize): check there's a buffer to resize
11917
11918 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11919
11920         * lyxfunc.C: remove dead code
11921
11922         * lyxserver.h:
11923         * lyxserver.C: use lyx_guii::set_read_callback
11924
11925 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11926
11927         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11928         an inset in a RTL paragraph.
11929
11930 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11931
11932         * lyxfunc.C: repaint after a font size update
11933
11934 2002-07-15  André Pönitz <poenitz@gmx.net>
11935
11936         * lyxlength.C: inBP should be able to return negative values
11937
11938 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * lyxfunc.C: use lyx_gui::update_fonts()
11941
11942 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * lyxfunc.C: use lyx_gui::update_color()
11945
11946 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11947
11948         * bufferlist.C:
11949         * lyxfunc.h:
11950         * lyxfunc.C:
11951         * lyxrc.h:
11952         * lyxrc.C: remove file->new asks for name option, and let
11953           buffer-new take an argument
11954
11955 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11956
11957         * BufferView_pimpl.C: remove unneeded extra repaint()
11958
11959 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11960
11961         * LyXAction.C: allow command-sequence with NoBuffer
11962
11963         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11964
11965 2002-07-10  Angus Leeming  <leeming@lyx.org>
11966
11967         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11968
11969 2002-07-09  Angus Leeming  <leeming@lyx.org>
11970
11971         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11972
11973 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * lengthcommon.h: whitespace
11976
11977         * lyxfunc.C: update scrollbar after goto paragraph
11978
11979         * lyxtext.h: factor out page break drawing, and fix it so
11980           page break/added space paints as selected nicely
11981
11982 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * BufferView_pimpl.C: add FIXMEs, clean up a little
11985
11986 2002-07-09  André Pönitz <poenitz@gmx.net>
11987
11988         * lyxfont.[Ch]: support for wasy symbols
11989
11990 2002-07-08  André Pönitz <poenitz@gmx.net>
11991
11992         * BufferView_pimpl.C: apply John's patch for #93.
11993
11994 2002-07-05  Angus Leeming  <leeming@lyx.org>
11995
11996         * BufferView_pimpl.C (buffer): generate previews if desired.
11997
11998         * LColor.h: add "preview" to the color enum.
11999
12000         * LColor.C (LColor): add a corresponding entry to the items array.
12001
12002         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12003         with this buffer.
12004
12005 2002-07-05  Angus Leeming  <leeming@lyx.org>
12006
12007         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12008         The body of the code is now in the method that is passed an ostream &
12009         rather than a file name.
12010         Pass an additional only_preamble parameter, useful for the forthcoming
12011         preview stuff.
12012
12013 2002-07-03  André Pönitz <poenitz@gmx.net>
12014
12015         * lyxfunc.C: simplify getStatus() a bit for math stuff
12016
12017 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12018
12019         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12020
12021 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12022
12023         * text.C (changeRegionCase): do not change case of all the
12024         document when region ends at paragraph end (bug #461)
12025
12026 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * paragraph.C (startTeXParParams):
12029         (endTeXParParams): add \protect when necessary
12030
12031 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * BufferView_pimpl.C (workAreaExpose): remove warning
12034
12035 2002-06-27  Angus Leeming  <leeming@lyx.org>
12036
12037         * Makefile.am: add lyxlayout_ptr_fwd.h.
12038
12039 2002-06-26  André Pönitz <poenitz@gmx.net>
12040
12041         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12042
12043 2002-06-25  Angus Leeming  <leeming@lyx.org>
12044
12045         * lyxfunc.C (dispatch): Comment out the call to
12046         grfx::GCache::changeDisplay. The method no longer exists now that the
12047         pixmap generation part of the graphics loader has been moved into
12048         InsetGraphics.
12049
12050 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12051
12052         * text2.C: layout as layout
12053
12054         * text.C: layout as layout
12055
12056         * tabular.C (OldFormatRead): layout as layout
12057
12058         * paragraph_pimpl.C (TeXDeeper): layout as layout
12059         (realizeFont): layout as layout
12060
12061         * paragraph.C (writeFile): layout as layout
12062         (validate): layout as layout
12063         (getFont): layout as layout
12064         (getLabelFont): layout as layout
12065         (getLayoutFont): layout as layout
12066         (breakParagraph): layout as layout
12067         (stripLeadingSpaces): layout as layout
12068         (getEndLabel): layout as layout
12069         (getMaxDepthAfter): layout as layout
12070         (applyLayout): layout as layout
12071         (TeXOnePar): layout as layout
12072         (simpleTeXOnePar): layout as layout
12073         (TeXEnvironment): layout as layout
12074         (layout): layout as layout
12075         (layout): layout as layout
12076
12077         * lyxtextclass.C (compare_name): new functor to work with
12078         shared_ptr, layout as layout
12079         (Read): layout as layout
12080         (hasLayout): layout as layout
12081         (operator): layout as layout
12082         (delete_layout): layout as layout
12083         (defaultLayout): layout as layout
12084
12085         * lyxlayout_ptr_fwd.h: new file
12086
12087         * lyxlayout.C (Read): layout as layout
12088
12089         * lyx_cb.C (MenuInsertLabel): layout as layout
12090
12091         * bufferlist.C (newFile): layout as layout
12092
12093         * buffer.C (readLyXformat2): layout as layout
12094         (parseSingleLyXformat2Token): layout as layout
12095         (insertStringAsLines): layout as layout
12096         (asciiParagraph): layout as layout
12097         (latexParagraphs): layout as layout
12098         (makeLinuxDocFile): layout as layout
12099         (simpleLinuxDocOnePar): layout as layout
12100         (makeDocBookFile): layout as layout
12101         (simpleDocBookOnePar): layout as layout
12102         (getLists): layout as layout
12103
12104         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12105
12106         * CutAndPaste.C (cutSelection): layout as layout
12107         (pasteSelection): layout as layout
12108         (SwitchLayoutsBetweenClasses): layout as layout
12109
12110         * BufferView_pimpl.C (Dispatch): layout as layout
12111         (smartQuote): layout as layout
12112
12113         * BufferView2.C (unlockInset): layout as layout
12114
12115 2002-06-24  André Pönitz <poenitz@gmx.net>
12116
12117         * lyxfunc.C: fix #487
12118
12119 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * lyxrc.h:
12122         * lyxrc.C:
12123         * lyxfunc.C: remove display_shortcuts, show_banner
12124
12125 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * Buffer_pimpl.C: oops, update on resize
12128
12129 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12130
12131         * buffer.C:
12132         * converter.C:
12133         * exporter.C:
12134         * lyxfunc.C:
12135         * BufferView.h:
12136         * BufferView.C: use repaint()
12137
12138         * BufferView_pimpl.h:
12139         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12140           as it's a clearer description. Remove superfluous
12141           redraws.
12142
12143 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12144
12145         * text.C: fix bug 488. Not ideal, but getting
12146           getWord() to work properly for the insets that
12147           matter is more difficult ...
12148
12149 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * BufferView_pimpl.C:
12152         * LyXAction.C:
12153         * commandtags.h:
12154         * lyxfunc.C: remove the six million index lyxfuncs to just
12155           one, and DTRT (bug 458)
12156
12157 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * BufferView.h:
12160         * BufferView.C:
12161         * BufferView_pimpl.h:
12162         * BufferView_pimpl.C: clean up resize() stuff,
12163           and unnecessary updateScreen()s
12164
12165 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12166
12167         * BufferView.h:
12168         * BufferView.C:
12169         * BufferView_pimpl.h:
12170         * BufferView_pimpl.C:
12171         * lyxfind.h:
12172         * lyxfind.C:
12173         * minibuffer.C: remove focus management of workarea,
12174           not needed. Use screen's greyOut()
12175
12176 2002-06-17  Herbert Voss  <voss@lyx.org>
12177
12178         * converter.C: (convert) do not post a message, when converting
12179         fails, let the calling function decide what to do in this case
12180
12181 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * lyxfunc.C: tidy up a little
12184
12185 2002-06-16    <alstrup@diku.dk>
12186
12187         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12188         Got rid of FORMS_H_LOCATION include. Now we are
12189         GUII.
12190
12191 2002-06-15  LyX Development team  <lyx@rilke>
12192
12193         * buffer.[Ch] (sgmlOpenTag):
12194         (sgmlCloseTag): Added support for avoiding pernicious mixed
12195         content. Return number of lines written.
12196
12197         (makeLinuxDocFile):
12198         (makeDocBookFile): Fixed calls to sgml*Tag.
12199         Simple white space clean.
12200
12201         (simpleDocBookOnePar): Simple white space clean.
12202
12203         * tabular.[Ch] (docBook): Renamed to docbook and got another
12204         argument to related with the pernicious mixed content.
12205
12206         (docbookRow): Fixed calls for docbook inset method.
12207
12208 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12209
12210         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12211         so it's X11 independent.
12212
12213         * kb*.[Ch]: ditto.
12214
12215         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12216
12217 2002-06-15  Lyx Development team  <lyx@electronia>
12218
12219         * intl.h: Renamed getTrans to getTransManager.
12220
12221 2002-06-14  Angus Leeming  <leeming@lyx.org>
12222
12223         * Makefile.am: nuke forgotten stl_string_fwd.h.
12224
12225 2002-06-12  Angus Leeming  <leeming@lyx.org>
12226
12227         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12228
12229 2002-06-13  Angus Leeming  <leeming@lyx.org>
12230
12231         * LaTeX.C:
12232         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12233
12234 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12235
12236         * kbmap.C (getiso): add support for cyrillic and greek
12237
12238 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * BufferView.h:
12241         * BufferView.C:
12242         * BufferView_pimpl.h:
12243         * BufferView_pimpl.C: move bogus scrolling logic
12244           to xforms
12245
12246 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * lyxfunc.C:
12249         * BufferView_pimpl.C: view->resize() change
12250
12251 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * BufferView_pimpl.C: topCursorVisible
12254           prototype change
12255
12256 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * Makefile.am:
12259         * lyx_gui.h:
12260         * lyx_gui.C: move to frontends/
12261
12262         * main.C:
12263         * lyx_main.h:
12264         * lyx_main.C: changes from above
12265
12266 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * intl.C:
12269         * intl.h:
12270         * kbmap.C:
12271         * kbsequence.C:
12272         * lyx_cb.C:
12273         * lyx_main.C: minor tidy
12274
12275 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * BufferView_pimpl.h:
12278         * BufferView_pimpl.C:
12279         * BufferView.h:
12280         * BufferView.C: make painter() const,
12281           remove dead code
12282
12283         * BufferView2.C: use screen() accessor
12284
12285         * lyx_main.h:
12286         * lyx_main.C: some minor cleanup
12287
12288 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * BufferView_pimpl.h:
12291         * BufferView_pimpl.C: remove enter/leaveView,
12292           use workHeight()
12293
12294 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12295
12296         * BufferView.h:
12297         * BufferView.C:
12298         * BufferView2.C:
12299         * BufferView_pimpl.h:
12300         * BufferView_pimpl.C: only construct screen once,
12301           rename
12302
12303         * lyxrc.C: remove pointless comment
12304
12305 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12306
12307         * BufferView.h:
12308         * BufferView.C: remove active() and belowMouse()
12309
12310         * BufferView_pimpl.h:
12311         * BufferView_pimpl.C: use workarea() not workarea_,
12312           and make it use a scoped_ptr instead
12313
12314 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * lyx_gui.C: add debug message on BadWindow
12317
12318 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12319
12320         * sp_spell.C: fdopen is not part of the C++ standard.
12321
12322         * paragraph.C (InsetIterator): use >= instead of ==
12323
12324 2002-06-07  Angus Leeming  <leeming@lyx.org>
12325
12326         Fixes needed to compile with Compaq cxx 6.5.
12327         * BufferView_pimpl.C:
12328         * DepTable.C:
12329         * buffer.C:
12330         * converter.C:
12331         * encoding.C:
12332         * lyx_gui.C:
12333         * lyx_main.C:
12334         * lyxtextclasslist.C:
12335         * minibuffer.C:
12336         * sp_spell.C:
12337         * tabular_funcs.C:
12338         * vc-backend.C:
12339         all c-library variables have been moved into namespace std. Wrap
12340         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12341
12342         * lyxlength.C:
12343         * tabular-old.C:
12344         * tabular.C:
12345         Add a using std::abs declaration.
12346
12347         * kbmap.h (modifier_pair):
12348         * paragraph.h (InsetTable, InsetList):
12349         * lyxfont.h (FontBits):
12350         type definition made public.
12351
12352         * bufferlist.C (emergencyWriteAll): the compiler complains that
12353         there is more than one possible lyx::class_fun template to choose from.
12354         I re-named the void specialisation as lyx::void_class_fun.
12355
12356         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12357
12358         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12359         the compiler is is unable to find tostr in write_attribute.
12360
12361 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12362
12363         * buffer.C (sgmlError): hide #warning
12364
12365 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12366
12367         * xtl/*: get rid of xtl, which is not in use anyway
12368
12369         * LyXAction.C (init):
12370         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12371         were unimplemented xtl experimentation
12372
12373 2002-06-04  André Pönitz <poenitz@gmx.net>
12374
12375         * lyxfunc.C: disable array operation on simple formulae
12376
12377 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * converter.C: constify a bit
12380
12381 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12382
12383         * lyx_gui.C: check xforms version correctly
12384
12385 2002-04-30  Herbert Voss  <voss@lyx.org>
12386
12387         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12388         "keep" option
12389
12390 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12391
12392         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12393           attempt to register it with a VCS)
12394
12395 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12396
12397         * lyx_main.C (init): honor variables LYX_DIR_13x and
12398         LYX_USERDIR_13x
12399
12400 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * buffer.h:
12403         * buffer.C:
12404         * lyx_main.C: fix a crash on bad command line,
12405           and give a useful exit status on error
12406
12407         * lyxfunc.C (doImport): allow -i lyx to work
12408
12409 2002-03-30  André Pönitz <poenitz@gmx.net>
12410
12411         * lyxfunc.C: mathed font changes
12412
12413 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * LaTeX.C:
12416         * importer.h:
12417         * importer.C:
12418         * lyx_sty.h:
12419         * lyx_sty.C:
12420         * lyxlex.C:
12421         * lyxrow.h:
12422         * lyxtext.h:
12423         * paragraph.h:
12424         * paragraph.C:
12425         * texrow.h:
12426         * texrow.C:
12427         * text.C:
12428         * trans_mgr.h: srcdocs, and some minor cleanups
12429
12430 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12431
12432         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12433         call getFont all the time)
12434
12435 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * switch from SigC signals to boost::signals
12438
12439 2002-05-29  André Pönitz <poenitz@gmx.net>
12440
12441         * paragraph_pimpl.C (getChar): don't call size() too often...
12442
12443 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12444
12445         * paragraph_pimpl.C (insertChar): do not try to update tables when
12446         appending (pos == size())
12447
12448         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12449         in order to reduce drastically the number of comparisons needed to
12450         parse a large document
12451
12452 2002-05-29  André Pönitz <poenitz@gmx.net>
12453
12454         * text.C:
12455         * text2.C:
12456         * lyxtextclass.C:
12457         * sp_pspell.h:
12458         * textclasslist.[Ch]:
12459         * sp_ispell.h: whitespace change
12460
12461 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12462
12463         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12464         lyxaction directly now.
12465
12466 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12467
12468         * trans.C:
12469         * lyxfont.C:
12470         * lyxvc.C: remove unused headers
12471
12472 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12473
12474         * Makefile.am:
12475         * buffer.h:
12476         * undostack.h:
12477         * undostack.C:
12478         * undo_funcs.h:
12479         * undo_funcs.C: some cleanups. Use shared_ptr
12480           and a template for the undo stacks.
12481
12482 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * BufferView_pimpl.h:
12485         * BufferView_pimpl.C:
12486         * kbmap.h:
12487         * kbmap.C:
12488         * kbsequence.h:
12489         * kbsequence.C:
12490         * lyxfunc.h:
12491         * lyxfunc.C:
12492         * text2.C: use key_state/mouse_state
12493
12494 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12495
12496         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12497         and LSubstring
12498
12499         * chset.C: change include order
12500         (loadFile): use boost regex and get rid of LRegex and LSubstring
12501
12502         * Makefile.am (BOOST_LIBS): new variable
12503         (lyx_LDADD): use it
12504
12505         * LaTeX.C: change include order.
12506         (scanAuxFile): use boost regex and get rid of LRegex and
12507         LSubstring
12508         (deplog): ditto
12509
12510 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * ColorHandler.h:
12513         * ColorHandler.C:
12514         * FontInfo.h:
12515         * FontInfo.C: moved to frontends/xforms/
12516
12517         * FontLoader.h:
12518         * FontLoader.C: moved into frontends for GUIIzation
12519
12520         * Makefile.am:
12521         * lyx_gui.C:
12522         * lyxfont.C:
12523         * lyxfunc.C: changes from above
12524
12525 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12526
12527         * LColor.C: remove spurious X include
12528
12529         * BufferView_pimpl.C:
12530         * Makefile.am:
12531         * font.h:
12532         * font.C:
12533         * text.C:
12534         * text2.C: move font metrics to frontends/
12535
12536 2002-05-24  Juergen Vigna  <jug@sad.it>
12537
12538         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12539         setting the undo_cursor.
12540
12541         * ParagraphParameters.h: include local includes first.
12542
12543 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * BufferView_pimpl.C:
12546         * BufferView_pimpl.h:
12547         * Makefile.am:
12548         * WorkArea.h:
12549         * WorkArea.C:
12550         * screen.C: move WorkArea into frontends/
12551
12552         * lyxscreen.h:
12553         * screen.C:
12554         * text.C:
12555         * BufferView.C:
12556         * BufferView2.C: move LyXScreen into frontends/
12557
12558         * lyxlookup.h:
12559         * lyxlookup.C:
12560         * lyx_gui.C: move lyxlookup into frontends/xforms/
12561
12562 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12563
12564         * BufferView2.C:
12565         * BufferView_pimpl.C:
12566         * FontLoader.C:
12567         * LyXView.h:
12568         * LyXView.C:
12569         * Makefile.am:
12570         * WorkArea.C:
12571         * XFormsView.h:
12572         * XFormsView.C:
12573         * buffer.C:
12574         * bufferlist.C:
12575         * bufferview_funcs.C:
12576         * converter.C:
12577         * importer.C:
12578         * lyx_cb.C:
12579         * lyx_gui.C:
12580         * lyx_main.C:
12581         * lyx_find.C:
12582         * lyxfunc.C:
12583         * lyxvc.C:
12584         * minibuffer.C:
12585         * text.C:
12586         * text2.C:
12587         * trans.C:
12588         * vc-backend.C: move LyX/XFormsView into frontends/
12589
12590 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12591
12592         * Makefile.am:
12593         * PainterBase.C:
12594         * PainterBase.h:
12595         * Painter.C:
12596         * Painter.h:
12597         * WorkArea.C:
12598         * WorkArea.h:
12599         * screen.C:
12600         * tabular.C:
12601         * text.C:
12602         * text2.C: move Painter to frontends/
12603
12604 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12605
12606         * buffer.C: comment out some some code that depend upon lyx_format
12607         < 220
12608
12609         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12610         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12611
12612         * buffer.h (NO_COMPABILITY): turn off compability
12613
12614         * ColorHandler.C: include scoped_array.hpp
12615
12616         * font.C: Use more specific smart_ptr header.
12617         * Painter.C: ditto
12618         * gettext.C: ditto
12619         * ShareContainer.h: ditto
12620         * lyx_main.h: ditto
12621         * kbmap.h: ditto
12622         * FontInfo.h: ditto
12623         * BufferView_pimpl.h: ditto
12624         * ColorHandler.h: ditto
12625
12626         * kbmap.C (defkey): change call to shared_ptr::reset
12627
12628 2002-05-21  Juergen Vigna  <jug@sad.it>
12629
12630         * buffer.C (insertErtContents): fix to insert ert asis if it is
12631         non empty. Skip it completely if it contains only whitespaces.
12632
12633 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * BufferView_pimpl.C:
12636         * BufferView2.C: clear selection on paste (bug 393)
12637
12638 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12639
12640         * DepTable.C: include ctime
12641
12642 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12643
12644         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12645
12646 2002-05-14  Juergen Vigna  <jug@sad.it>
12647
12648         * text.C (breakParagraph): fixed function to honor the keepempty
12649         layout in the right maner and also to permit the right breaking
12650         algorithm on empty or non empyt keepempty paragraphs.
12651
12652         * paragraph.C (breakParagraph): we have to check also if the par
12653         is really empty (!size()) for isempty otherwise we do the wrong
12654         paragraph break.
12655
12656 2002-05-10  Juergen Vigna  <jug@sad.it>
12657
12658         * buffer.[Ch] : The following are only changes to the ert
12659         compatibility read reading old LaTeX layout and font stuff and
12660         convert it to ERTInsets.
12661
12662         * buffer.h: added isErtInset().
12663
12664         * buffer.C (struct ErtComp): add a fromlayout bool to check
12665         if we're inside a LaTeX layout.
12666         (isErtInset): new helper function.
12667         (insertErtContents): look for other ert insets before this one
12668         and insert the contents there, so that we don't have subsequent
12669         ERT insets with nothing between them. This way we create only one
12670         inset with multiple paragraphs. Also check if we don't insert only
12671         spaces ' ' as they are ignored anyway afterwards in the .tex file
12672         so if we have only spaces we will ignore this latex part in the
12673         new file.
12674         (parseSingleLyXformat2Token \\layout): better compatibility when
12675         reading layout-latex stuff.
12676         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12677         language tag.
12678         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12679         stuff after reading the inset only get the information back from
12680         the stack.
12681
12682 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12683
12684         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12685
12686         * LaTeXFeatures.C (getBabelOptions): New method.
12687
12688 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12689
12690         * BufferView_pimpl.C (Dispatch): work around missing argument for
12691         'layout'
12692
12693 2002-05-08  Juergen Vigna  <jug@sad.it>
12694
12695         * text.C (leftMargin): handle paragraph leftindent.
12696
12697         * paragraph.C (writeFile): write the new \\leftindent tag.
12698         (validate): handle leftindent code.
12699         (TeXEnvironment): handle paragraphleftindent code again.
12700
12701         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12702
12703         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12704         for paragrap_extra indent code and new token \\leftindent.
12705         (latexParagraphs): handle the leftindent as environment.
12706
12707         * ParameterStruct.h: added leftindent support.
12708
12709         * ParagraphParameters.C (leftIndent): added support functions for
12710         the paragraph left indent.
12711
12712         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12713         more appropriate.
12714
12715 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12716
12717         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12718         inside insetERT.
12719
12720         * text.C (computeBidiTables): No bidi in insetERT.
12721
12722         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12723         in RTL documents.
12724
12725 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12726
12727         * version.C.in: pre 5
12728
12729 2002-05-02  José Matos  <jamatos@fep.up.pt>
12730         * buffer.C (makeDocBookFile): white space changes, add newline to
12731         command styles.
12732         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12733
12734         * tabular.C (docBook): fix typo.
12735
12736 2002-05-03  Juergen Vigna  <jug@sad.it>
12737
12738         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12739         change in LyXText as we can not be sure it was not freed.
12740         (drawOneRow): remove unused code.
12741
12742         * text.C (drawInset): redo the calculation of the need_break_row as
12743         it could have a row which was already freed.
12744         (draw): look at the return value of drawInset and return false if
12745         it also returned false.
12746         (paintRowText): look at the return value of draw and return false if
12747         it also returned false.
12748
12749         * lyxtext.h: added bool return type to drawInset() and draw() so that
12750         if we have a change in the row so that the rowbreak has to be redone
12751         we abort drawing as it will be called again.
12752
12753 2002-05-02  Juergen Vigna  <jug@sad.it>
12754
12755         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12756         a change in the maintext also if we're inside an inset.
12757         (Dispatch): set the cursor again after a break line and after the
12758         screen has been updated as it could be we're in a different row.
12759
12760         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12761         to set the cursor behind the pargraph with > size().
12762         (setCursor): check also for the same paragraph when checking where
12763         to put the cursor if we have a NFR inset.
12764
12765         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12766         parts of layout read further up as it still was in the wrong
12767         position.
12768
12769 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12770
12771         * screen.C (drawFromTo): change sine fullRebreak always return
12772         true.
12773
12774         * buffer.C (parseSingleLyXformat2Token): reindent some
12775
12776         * BufferView_pimpl.C (update): change since fullRebreak always
12777         return true.
12778         (Dispatch): git rid of the last hardcoded "Standard"s.
12779
12780 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * text2.[Ch] (fullRebreak): make it return void now that we always
12783         returned true.
12784
12785 2002-04-30  Juergen Vigna  <jug@sad.it>
12786
12787         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12788         ert compatibility check for "latex" layout.
12789
12790 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12791
12792         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12793         minipages: use col% instead of p%, and also use the current font.
12794         (makeLaTeXFile): Fix use babel condition.
12795         (parseSingleLyXformat2Token): Correct font when reading old floats.
12796
12797 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12798
12799         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12800         inserting list of floats.
12801
12802 2002-04-25  Herbert Voss  <voss@lyx.org>
12803
12804         * MenuBackend.C (expand): don't add the graphics extensions to the
12805         export menu
12806
12807 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12808
12809         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12810         non-existing layout, do not complain if it was the default layout
12811         of the original class (bug #342)
12812
12813 2002-04-24  Juergen Vigna  <jug@sad.it>
12814
12815         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12816         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12817
12818 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12819
12820         * buffer.C (getBibkeyList): If using \bibliography, return the
12821         option field with the reference itself. Enables us to provide natbib
12822         support when using \bibliography.
12823
12824 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12825
12826         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12827
12828         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12829         natbib is provided by the LaTeX class.
12830
12831 2002-04-23  Juergen Vigna  <jug@sad.it>
12832
12833         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12834         Wakeup functions.
12835
12836         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12837
12838 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12839
12840         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12841
12842         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12843         ensuremath around textordmasculine, textordfeminine and
12844         textdegree.
12845
12846 2002-04-19  Juergen Vigna  <jug@sad.it>
12847
12848         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12849         reinitializing the buffer otherwise row-dimensions may be wrong.
12850         (update): reset also the selection cursors if they do exits otherwise
12851         their x/y positions may be wrong.
12852
12853         * text2.C (cursorDown): don't enter the inset if we came from a row
12854         above and are one row over the inset.
12855
12856         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12857         really leaving an inset.
12858
12859 2002-04-18  Juergen Vigna  <jug@sad.it>
12860
12861         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12862         of the selected paragraph does not have the selected layout also if
12863         the last one had!
12864
12865         * text2.C (setLayout): fixed bug which did not change last selected
12866         paragraph.
12867
12868         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12869         changed the read and substituted \\end_float with \\end_inset!
12870
12871         * BufferView_pimpl.C (cursorPrevious):
12872         (cursorNext): fixed to make it work with rows heigher than the work
12873         area without moving the cursor only the draw of the row.
12874         (workAreaMotionNotify): fix jumping over high rows.
12875
12876 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12879         Ressler.
12880
12881 2002-04-16  Juergen Vigna  <jug@sad.it>
12882
12883         * text2.C (setCursor): set also the irow().
12884         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12885         (cursorUp):
12886         (cursorDown): support for locking an inset if the x_fix value goes
12887         inside it. That way I can transverse insets too with cursor up/down.
12888
12889         * lyxrow.h: added irow helper function same as other (i) functions.
12890
12891         * BufferView_pimpl.C (cursorPrevious):
12892         (cursorNext): fixed for insets!
12893
12894 2002-04-15  Juergen Vigna  <jug@sad.it>
12895
12896         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12897         position otherwise it is wrong in some cases.
12898
12899         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12900         inside the inset before the call.
12901
12902 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12903
12904         * buffer.[Ch] (getBibkeyList): make it const.
12905
12906 2002-04-12  Juergen Vigna  <jug@sad.it>
12907
12908         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12909
12910         * text2.C (getCursorX): new helper function
12911         (setCursor): compute also ix_
12912         (setCursorFromCoordinates): set also ix.
12913
12914         * lyxcursor.h: added ix_ and helper functions.
12915
12916         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12917
12918         * buffer.C (insertStringAsLines): dont break paragraph if the this
12919         paragraph is inside an inset which does not permit it!
12920
12921         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12922         also with no chars on this paragraph.
12923         (paintRowText): only paint stuff if it's inside the workarea!
12924
12925         * paragraph.C (breakParagraph): honor keepempty flag and break the
12926         paragraph always below not above.
12927
12928         * BufferView2.C (unlockInset): update the paragraph layout on inset
12929         unlock as we changed paragraph in such a case.
12930
12931         * lyxfind.C (LyXFind): clear the former selection if not found!
12932
12933         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12934         again called in insertChar().
12935
12936         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12937         an inset which uses the whole row!
12938         (rightMargin): ditto.
12939         (insertChar): force a rebreak if we inserted an inset!
12940
12941 2002-03-28  Herbert Voss  <voss@lyx.org>
12942
12943         * lyxlength.[Ch]: add inBP() to get the right PS-point
12944         units (BigPoint). With inPixels we have rounding errors
12945
12946 2002-04-11  Juergen Vigna  <jug@sad.it>
12947
12948         * text2.C (setCursorFromCoordinates): set iy to the right value.
12949         (setCursor): add check if row->previous exists!
12950
12951         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12952         an old float_type as this was the case in the old code!
12953
12954         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12955
12956         * BufferView2.C (showLockedInsetCursor): use iy
12957         (fitLockedInsetCursor): ditto
12958
12959         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12960         locked insets as there we have the right value now.
12961
12962         * lyxcursor.C: added iy_ variable and iy functions to set to the
12963         baseline of cursor-y of the locked inset.
12964
12965         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12966         (setCursor): fixed for insets which need a full row.
12967
12968         * text.C (rowLastPrintable): don't ignore the last space when before
12969         an inset which needs a full row.
12970         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12971         as last character of a row when before a inset which needs a full row.
12972
12973 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12974
12975         * version.C.in: update date
12976
12977         * text2.C (fullRebreak): try to always return true and see what
12978         happens...
12979
12980 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12981
12982         * MenuBackend.C (expand): use Floating::listName
12983
12984         * FloatList.C (FloatList): add listName argument to the built-in
12985         floats
12986
12987         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12988         text associated with the float.
12989
12990 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12991
12992         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12993
12994 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12995
12996         * ShareContainer.h: add a couple of missing typenames.
12997
12998 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12999
13000         * lyxrc.C (getDescription): use _() correctly rather than N_().
13001
13002 2002-03-28  Herbert Voss  <voss@lyx.org>
13003
13004         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13005         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13006
13007 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13008
13009         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13010         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13011
13012 2002-03-29  Juergen Vigna  <jug@sad.it>
13013
13014         * lyxfunc.C (dispatch): add a missing fitCursor call.
13015
13016         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13017         it was scrolled by a cursor move, so return the bool status.
13018
13019         * BufferView.C (fitCursor): return the bool flag also to the outside
13020         world as this is needed.
13021
13022         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13023
13024         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13025         call the edit() as it is not needed (and wrong) IMO.
13026         (workAreaButtonPress): set the screen_first variable before evt.
13027         unlock the inset as this may change screen_first and then we have
13028         a wrong y position for the click!
13029
13030 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13031
13032         * MenuBackend.C (expand): another translation that I missed
13033
13034 2002-03-28  Juergen Vigna  <jug@sad.it>
13035
13036         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13037
13038         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13039
13040 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13041
13042         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13043
13044         * MenuBackend.C (expand): fix export/view/update when there is no
13045         document open.
13046
13047 2002-03-27  Herbert Voss  <voss@lyx.org>
13048
13049         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13050         and text%
13051
13052 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13053
13054         * bufferview_funcs.C (currentState): only show paragraph number
13055         for is DEVEL_VERSION is set.
13056
13057         * lyxfunc.C (dispatch): put warning in INFO channel
13058
13059         * MenuBackend.C (expand): translate the name of floats
13060
13061         * FloatList.C (FloatList): mark the float names for translation
13062
13063         * converter.C (convert): use LibScriptSearch
13064
13065 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13066
13067         * MenuBackend.C (defaults): fix default menu (we might as well get
13068         rid of it...)
13069
13070 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13073         directory.
13074
13075 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * lyxvc.C: reorder includes.
13078
13079 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13080
13081         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13082           properly
13083
13084 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13085
13086         * CutAndPaste.C: change layouts earlier on paste
13087           to avoid crashing when calling getFont()
13088
13089 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13090
13091         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13092         irritating #error.
13093
13094 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * WorkArea.C: remove 'Pending' debug message.
13097
13098         * most files: ws cleanup
13099
13100         * buffer.[Ch]: ws changes
13101
13102         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13103
13104 2002-03-21  Juergen Vigna  <jug@sad.it>
13105
13106         * tabular.C (SetMultiColumn): collapse also the contents of the
13107         cells and set the last border right. Added a Buffer const * param.
13108
13109 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13112         linking or not.
13113
13114 2002-03-19  Juergen Vigna  <jug@sad.it>
13115
13116         * text2.C (clearSelection): reset also xsel_cache.
13117
13118         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13119         where it needs to be called (John tells us to do so too :)
13120         (selectionLost): reset sel_cache.
13121
13122         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13123
13124 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13125
13126         * text2.C (setCursorIntern): put debuging code in INSETS channel
13127
13128 2002-03-19  André Pönitz <poenitz@gmx.net>
13129
13130         * lyxfunc.C: tiny whitespace change
13131
13132 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13133
13134         * ToolbarDefaults.C (init):
13135         * LyXAction.C (init):
13136         * commandtags.h:
13137         * BufferView_pimpl.C (Dispatch):
13138         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13139
13140 2002-03-19  Allan Rae  <rae@lyx.org>
13141
13142         * exporter.C (Export): removeAutoInsets before doing anything else.
13143         While I've just introduced a dependency on BufferView this really is
13144         the best place to clean the buffer otherwise you need to cleanup in
13145         a dozen places before calling export or cleanup in a dozen functions
13146         that export calls.
13147
13148         * converter.C (runLaTeX):
13149         (scanLog): Better handling of removeAutoInsets and screen updates.
13150
13151         * lyxfunc.C (dispatch): small whitespace changes
13152
13153 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * WorkArea.C (C_WorkAreaEvent): return a value.
13156         (event_cb): return 1 if we handled the event, 0 otherwise.
13157
13158         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13159
13160 2002-03-18  Juergen Vigna  <jug@sad.it>
13161
13162         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13163         (GetAdditionalWidth): ditto.
13164         (RightLine): ditto.
13165         (LeftLine): ditto.
13166
13167         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13168         inset if we're there actually (probably not used right now but this
13169         is the direction to go for unifying code).
13170         (paste): disable code to clear the selection.
13171
13172         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13173         inside an InsetText and move the check further up as it is in the
13174         wrong place.
13175
13176         * text2.C (pasteSelection): set a selection over the pasted text.
13177
13178 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13179
13180         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13181         and libgraphics to build on Cygwin.
13182
13183 2002-03-15  Juergen Vigna  <jug@sad.it>
13184
13185         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13186         inserting an Inset into the paragraph. I know this is not the best
13187         fix but we already use current_view in CutAndPaste so we will remove
13188         all of it's using at the same time.
13189
13190         * buffer.C (sgmlError): deactivated function till it is rewritten in
13191         the right mode, now it can create problems.
13192
13193         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13194         before accessing it.
13195
13196 2002-03-14  Juergen Vigna  <jug@sad.it>
13197
13198         * undo_funcs.C (textHandleUndo): do the right thing when updating
13199         the inset after the undo/redo.
13200
13201         * text2.C (setCursor): just some testcode for #44 not ready yet.
13202
13203         * undo_funcs.C (textHandleUndo): set the next() and previous()
13204         pointers of the paragraph to 0 before deleting otherwise we have
13205         problems with the Paragraph::[destructor].
13206
13207         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13208         on a paragraph insertion.
13209
13210 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * buffer.C (asciiParagraph): use += operator for char append to
13213         string.
13214
13215         * paragraph.C (getFontSettings): compare >= not just >
13216         (highestFontInRange): ditto
13217         (setFont): ditto
13218
13219 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13220
13221         * paragraph.C: change several algorithm to be more appripriate for
13222         the problem domain. This is lookip in FontList and in the InsetList.
13223
13224 2002-03-13  André Pönitz <poenitz@gmx.net>
13225
13226         * commandtags.h:
13227         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13228
13229 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13230
13231         * commandtags.h:
13232         * LyXAction.C:
13233         * lyxfunc.C:
13234         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13235
13236 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13237
13238         * Painter.C (display): anon helper function, adjust code for this
13239         change.
13240         (pixmap): remove function.
13241
13242         * Painter.h: remove private display variable.
13243
13244         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13245
13246 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13247
13248         * WorkArea.[Ch]: remove figinset_canvas cruft.
13249
13250 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13251
13252         * lyxtextclass.C (operator): add one item cache optimization.
13253
13254         * bufferlist.h: doxy changes
13255
13256         * bufferlist.C: ws changes
13257
13258         * DepTable.[Ch] (ext_exist): place const in the right spot.
13259
13260         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13261         call resizeInsets.
13262         (workAreaExpose): call resizeInsets when the with BufferView changes.
13263         (Dispatch): adjust for protectedBlank removal
13264         (specialChar): call updateInset if the insert went ok.
13265
13266         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13267         specialChar instead.
13268
13269         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13270
13271         * BufferView.h: doxy change
13272
13273         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13274
13275         * lyxtextclass.C (operator[]): remove non-const version
13276         (defaultLayout): remove non-const version
13277
13278 2002-03-12  Juergen Vigna  <jug@sad.it>
13279
13280         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13281         did resize the LyXText too.
13282
13283         * buffer.C (readLyXformat2): set layout information on newly allocated
13284         paragraphs.
13285
13286         * tabular.C (OldFormatRead): set layout information on the paragraph.
13287
13288 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13289
13290         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13291
13292 2002-03-11  Juergen Vigna  <jug@sad.it>
13293
13294         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13295         plainly wrong.
13296         (resizeCurrentBuffer): force also the insets to resize themselfes.
13297         (moveCursorUpdate): fixed up for InsetText.
13298
13299 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13300
13301         * commandtags.h:
13302         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13303         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13304         value of Dialogs::tooltipsEnabled().
13305         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13306
13307 2002-03-08  Juergen Vigna  <jug@sad.it>
13308
13309         * BufferView_pimpl.C (updateInset): update inset inside inset also
13310         if it isn't inside theLockingInset().
13311
13312 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13313
13314         * buffer.C (asciiParagraph): redo some of the word and line length
13315         handling.
13316         (getLists): look for Caption instead of caption.
13317
13318 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13319
13320         * buffer.C (Buffer): initialize niceFile to true
13321         (makeLaTeXFile):
13322         (makeLinuxDocFile):
13323         (makeDocBookFile): make sure niceFile is true on exit
13324
13325 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13326
13327         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13328
13329 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13330
13331         * LyXSendto.C: remove.
13332         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13333         * lyx_gui.C: remove now-redundant comment.
13334         * ColorHandler.h: remove forward declaration of class WorkArea.
13335         * lyxfunc.C: remove #include "WorkArea.h".
13336
13337 2002-03-07  Juergen Vigna  <jug@sad.it>
13338
13339         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13340         got moved away with the DEPM and also set the inset_owner always
13341         right which before could have been omitted.
13342
13343 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344
13345         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13346         wanted layout is not found.
13347
13348 2002-03-07  Juergen Vigna  <jug@sad.it>
13349
13350         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13351
13352 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * paragraph.C (breakParagraph): use default layout not layout of
13355         prev paragraph.
13356         (Paragraph): clear ParagraphParameters.
13357
13358 2002-03-06  Juergen Vigna  <jug@sad.it>
13359
13360         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13361         otherwise it would not be a valid lenght. Fixed a special case in
13362         the minipage compatibility read where we end the document with a
13363         minipage.
13364
13365         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13366         was set as it could be 0 for InsetTexts first entry.
13367
13368 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13369
13370         * paragraph.C (writeFile): if layout is empty write out
13371         defaultLayoutName().
13372
13373         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13374         file without named layout we set layout to defaultLayoutName().
13375
13376 2002-03-06  Juergen Vigna  <jug@sad.it>
13377
13378         * CutAndPaste.C (copySelection): set layout for new paragraph.
13379
13380         * text.C (prepareToPrint): leave ERT inset left aligned
13381         (leftMargin): don't indent paragraphs inside ERT insets
13382
13383 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13384
13385         * paragraph.C (breakParagraph): dont call clear do the work manually
13386
13387         * paragraph.[Ch] (clear): remove function
13388
13389 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13390
13391         * paragraph.C (Paragraph): dont call clear, the work has already
13392         been done.
13393
13394         * lyxtextclass.C (operator): assert if n is empty
13395
13396         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13397         work manually instead.
13398
13399 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13400
13401         * BufferView_pimpl.C: protect selectionLost against text == 0
13402
13403 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13404
13405         * text.C (breakParagraph): fix a setting layout to '0' problem.
13406
13407 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13408
13409         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13410         final location of file, for the included files, and graphics.
13411
13412 2002-03-05  Juergen Vigna  <jug@sad.it>
13413
13414         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13415
13416 2002-03-04  Juergen Vigna  <jug@sad.it>
13417
13418         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13419
13420         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13421         last column of multicolumn cells.
13422         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13423
13424 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13425
13426         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13427         file if it doesn't go to a temporary file.
13428
13429         * buffer.C (sgmlOpenTag):
13430         (sgmlCloseTag):  remove extra newline insertion.
13431
13432 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13433
13434         * text.C (getRowNearY): comment out debug msg
13435
13436 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13437
13438         * text2.C: first -> first_y
13439
13440         * text.C (getRowNearY): add some attemts at a possible
13441         optimization, not working.
13442
13443         * tabular.[Ch]: add BufferParams to several function so that newly
13444         created paragraph can be initialized to he default layotu for the
13445         buffers textclass.
13446
13447         * tabular-old.C (ReadOld): add buf->params to call of Init
13448
13449         * screen.C: rename text->first to text->first_y
13450
13451         * paragraph.C (breakParagraph): always set layout in the broken
13452         paragraph
13453
13454         * lyxtextclass.C (Read): remove lowercase
13455         (hasLayout): ditto
13456         (operator): ditto
13457         (delete_layout): ditto
13458
13459         * lyxtext.h: rename first -> first_y
13460
13461         * lyxlayout.C (Read): remove lowercase
13462         (name): ditto
13463         (setName): ditto
13464         (obsoleted_by): ditto
13465
13466         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13467
13468         * buffer.C (insertErtContents): add params are to InsetERT
13469         (parseSingleLyXformat2Token): add code to check if a paragraphs
13470         layout really exist.
13471         (parseSingleLyXformat2Token): add params to several inset
13472         constructors
13473         (asciiParagraph): remove lowercase, do the layout comparisons with
13474         no_case
13475
13476         * BufferView_pimpl.C (cursorNext): first -> first_y
13477         (resizeCurrentBuffer): first -> first_y
13478         (updateScrollbar): first -> first_y
13479         (scrollCB): first -> first_y
13480         (workAreaMotionNotify): first -> first_y
13481         (workAreaButtonPress): first -> first_y
13482         (checkInsetHit): first -> first_y
13483         (cursorPrevious): first -> first_y
13484         (cursorNext): first -> first_y
13485         (Dispatch): add buffer_->params to severl inset contructors
13486
13487 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * lyxlayout.C (Read): remove some debug info that I forgot.
13490
13491         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13492         clean up the code slightly.
13493         (makeLinuxDocFile): ditto
13494         (makeDocBookFile): ditto
13495
13496         * text2.C: layout as string
13497
13498         * text.C: layout as string
13499
13500         * paragraph_pimpl.C: layout as string
13501
13502         * paragraph.[Ch]: layout as string
13503
13504         * lyxtextclasslist.[Ch]: layout as string
13505
13506         * lyxtextclass.[Ch]: layout as string
13507
13508         * lyxtext.h: layout as string
13509
13510         * lyxlayout.[Ch]: layout as string
13511
13512         * lyx_cb.C: layout as string
13513
13514         * bufferview_funcs.C: layout as string
13515
13516         * bufferparams.C: layout as string
13517
13518         * buffer.C: layout as string
13519
13520         * LyXView.[Ch]: layout as string
13521
13522         * LaTeXFeatures.[Ch]: layout as string
13523
13524         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13525
13526         * BufferView_pimpl.C: change current_layout to string, remove
13527         lyx::layout_type.
13528         (Dispatch):
13529         (smartQuote):
13530         (insertInset):
13531         (workAreaButtonRelease): layout as string
13532
13533         * BufferView2.C (unlockInset): adjust
13534
13535         * vspace.C (asLatexCommand): use an explict temp variable.
13536
13537 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13538
13539         * Makefile.am: use FRONTEND_*
13540
13541 2002-03-01  Juergen Vigna  <jug@sad.it>
13542
13543         * tabular.C (SetWidthOfMulticolCell): changed to something better
13544         I hope but still work in progress.
13545         (recalculateMulticolumnsOfColumn): renamed function from
13546         recalculateMulticolCells as it is more appropriate now.
13547         (SetWidthOfCell): calculate multicols better.
13548
13549 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13550
13551         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13552
13553         * lyxfunc.C (processKeySym): print sequence also if it is
13554         `deleted' (complete)
13555
13556         * kbsequence.C (print): print sequence even if it is deleted
13557         (complete would be a better word, actually).
13558
13559         * lyxfunc.C (dispatch): print complete options after a prefix key
13560
13561         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13562
13563 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13564
13565         * text2.C (setCharFont): eliminate setCharFont code duplication.
13566
13567 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13568
13569         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13570         LFUN_TABULAR_FEATURE (bug #177)
13571
13572 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13573
13574         * Makefile.am: remove figure.h
13575
13576 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13577
13578         * Bufferview_pimpl.C:
13579         * CutAndPasteC:
13580         * LaTeX.C:
13581         * LyXSendto.C:
13582         * buffer.C:
13583         * bufferlist.C:
13584         * converter.C:
13585         * language.C:
13586         * lyxfunc.C:
13587         * lyxvc.C:
13588         * paragraph.C:
13589         * text.C:
13590         * text2.C: remove #include "lyx_gui_misc.h".
13591
13592         * LaTeX.C: added #include <cstdio>
13593
13594 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13595
13596         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13597         that the paragraph following this one can have.
13598
13599         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13600
13601         * vspace.C (asLatexCommand): fix bogus gcc warning
13602
13603         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13604
13605 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13606
13607         * text2.C (setLayout): get rid of redundant code
13608
13609 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13610
13611         * text2.C (incDepth): make sure depth cannot be increased beyond
13612         reasonable values.
13613
13614 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13615
13616         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13617         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13618
13619         * PainterBase.h (image):
13620         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13621         a LyXImage const *.
13622
13623 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13624
13625         * BufferView.C:
13626         * BufferView.h:
13627         * BufferView_pimpl.C:
13628         * BufferView_pimpl.h:
13629         * LaTeXFeatures.C:
13630         * LyXAction.C:
13631         * LyXView.C:
13632         * Makefile.am:
13633         * UpdateList.h:
13634         * UpdateList.C:
13635         * buffer.C:
13636         * figure.h:
13637         * figureForm.C:
13638         * figureForm.h:
13639         * figure_form.C:
13640         * figure_form.h:
13641         * lyx_cb.C:
13642         * lyx_gui.C:
13643         * lyx_gui_misc.C:
13644         * lyxfunc.C:
13645         * sp_base.h:
13646         * sp_ispell.h:
13647         * sp_pspell.h:
13648         * sp_spell.C: remove fig inset, and the crap house of
13649           cards that follows it
13650
13651 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13652
13653         * Makefile.am:
13654         * lyxserver.C:
13655         * os2_defines.h:
13656         * os2_errortable.h:
13657         * nt_defines.h: move .h into support/
13658
13659         * vms_defines.h: remove
13660
13661         * WorkArea.C: add space in debug output
13662
13663         * text2.C:
13664         * paragraph.C:
13665         * buffer.C: add WITH_WARNINGS
13666
13667         * vc-backend.h:
13668         * vc-backend.C:
13669         * bufferlist.C: s/retrive/retrieve/, add docs
13670
13671         * vspace.h:
13672         * vspace.C:
13673         * kbmap.h:
13674         * lyxlength.h:
13675         * lyxgluelength.h:
13676         * length_common.h:
13677         * chset.h:
13678         * chset.C: add docs
13679
13680         * lyxgui.C: add ID to X error handler
13681
13682         * lyxtestclass.c: fix typo
13683
13684 2002-02-26  Juergen Vigna  <jug@sad.it>
13685
13686         * tabular_funcs.C (write_attribute): changed so that some default
13687         attributes are not written at all.
13688         (getTokenValue): set default values before trying to read the
13689         value so we have the return value always set as default if we don't
13690         find the token we search for.
13691
13692         * tabular.C (Write): write bools as bools not as strings!
13693
13694 2002-02-22  Juergen Vigna  <jug@sad.it>
13695
13696         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13697         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13698
13699         * text.C (leftMargin): don't add an indent for paragraphs inside
13700         tabular cells (fix #208).
13701
13702 2002-02-21  José Matos  <jamatos@fep.up.pt>
13703
13704         * tabular.C (docBook): fixed support for long tables.
13705
13706 2002-02-20  Juergen Vigna  <jug@sad.it>
13707
13708         * text2.C (getFont): get the drawing font of the Inset if this
13709         paragraph is inside an inset (only important for InsetERT for now).
13710
13711         * buffer.C (insertErtContents): use new lanugage params in ERT
13712         constructor.
13713
13714         * CutAndPaste.C: commenting out seemingly uneeded code.
13715
13716 2002-02-19  Allan Rae  <rae@lyx.org>
13717
13718         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13719         Iterators might be simple to use but they also get invalidated.
13720         (removeAutoInsets): renamed saved cursor tracking variables and added
13721         some comments to clarify what everything does.
13722
13723 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13724
13725         * Chktex.C:
13726         * LaTeX.C:
13727         * LyXSendto.C:
13728         * converter.C:
13729         * lyx_cb.C:
13730         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13731         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13732
13733         * lyxfunc.C:
13734         * vc-backend.h: remove #include "support/syscall.h"
13735
13736         * LaTeX.C:
13737         * LyXSendto.C:
13738         * converter.C: rearrange #includes in Lars' approved fashion.
13739
13740         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13741         forward declare class Timeout in the header file.
13742
13743         * XFormsView.C: changes due to the above.
13744
13745         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13746         similar to LyXView.
13747
13748         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13749         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13750
13751 2002-02-18  José Matos  <jamatos@fep.up.pt>
13752
13753         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13754         insets contents.
13755
13756 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13757
13758         * a lot of small ws changes
13759         * add a lot of using std::XXX
13760         * use std construcs some places where approp.
13761         * use some exisint stuff from lyxfunctional where approp.
13762         * Make file changes to use partial linking (lets test this now...)
13763
13764 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13765
13766         * Chktex.C:
13767         * buffer.C:
13768         remove #include "support/syscontr.h" as it's redundant. Always has been.
13769
13770         * Chktex.C:
13771         * LaTeX.C:
13772         * LyXSendto.C:
13773         * converter.C:
13774         * lyx_cb.C:
13775         * vc-backend.C:
13776         change Systemcalls::System to Systemcalls::Wait and
13777         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13778         No change of functionality, just reflects the stripped down Systemcalls
13779         class.
13780
13781 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13782
13783         * debug.[Ch]: add a GRAPHICS type to the enum.
13784
13785 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13786
13787         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13788
13789         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13790         there is an inset.
13791
13792 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13793
13794         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13795         match the changes below.
13796
13797         * text2.C (toggleInset): if there is not editable inset at cursor
13798         position, try to see if cursor is _inside_ a collapsable inset
13799         and close it.
13800
13801 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13802
13803         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13804         document menu has a nice checkbox
13805
13806 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13807
13808         * lyxlength.C (asLatexString): change PW to output as percent of
13809         \textwidth.
13810
13811         * lengthcommon.C: change '%' to 't%'
13812
13813         * lyxfunc.C (dispatch): a few comments from Martin
13814
13815 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13816
13817         * WorkArea.h:
13818         * WorkArea.C:
13819         * BufferView_pimpl.h:
13820         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13821           the X selection.
13822
13823 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13824
13825         * vspace.C (inPixels): fix compiler warning
13826
13827 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13828
13829         * lyxfunc.C (getStatus): fix status message for disabled commands.
13830
13831 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13832
13833         * BufferView_pimpl.C: fix crash on close buffer
13834         during selection (#227)
13835
13836 2002-01-27  Herbert Voss  <voss@lyx.org>
13837
13838         * buffer.C: link old Figure to new graphic inset
13839
13840 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13841
13842         * FontLoader.C (getFontinfo): Change the latex font names in order
13843         to match the names of type1inst.
13844
13845 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13846
13847         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13848
13849         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13850         (extchanged): ditto
13851         (ext_exist): ditto
13852         (remove_files_with_extension): ditto
13853         (remove_file): ditto
13854         (write): ditto
13855
13856         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13857         document is smaller than the work area height. Do not initialize
13858         static variables to 0.
13859
13860 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13861
13862         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13863
13864         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13865         LFUN_LAYOUT_PARAGRAPHS.
13866
13867         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13868         tabular. It is possible to provide a possible cell, which will
13869         typically be the actcell from the corresponding insettabular
13870
13871         * lyxfunc.C (getStatus): small cleanup; disable
13872         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13873         true
13874
13875 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13876
13877         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13878
13879         * paragraph.C (startTeXParParams):
13880         (endTeXParParams): new methods. The LaTeX code to
13881         start/end paragraph formatting
13882         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13883         empty (fixes bug #200)
13884
13885         * vspace.C (inPixels): adapt to the change below
13886         (inPixels): [later] more cleanups (remove unused variables)
13887
13888         * lyxlength.C (inPixels): change to use a width and a height as
13889         parameter.
13890
13891 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13892
13893         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13894         Replaced with \paperwidth
13895
13896         * DepTable.C (insert): add std:: qualifier
13897
13898 2002-01-18  Allan Rae  <rae@lyx.org>
13899
13900         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13901         updated also?
13902
13903         * text.C (drawInset): Turned out I didn't know enough about how
13904         rebreaking worked.  This fixes most of the redraw problems.  I see
13905         an occasional cursor trail when a line is broken now and the cursor
13906         placement can seem out by a few pixels also after a rebreak.
13907
13908 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13909
13910         * buffer.C (parseSingleLyXformat2Token): update because minipage
13911         width is now a LyXLength
13912
13913         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13914
13915         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13916         math insets
13917
13918 2002-01-17  Juergen Vigna  <jug@sad.it>
13919
13920         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13921
13922         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13923         is set correctly and the inset is updated correctly.
13924
13925 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13926
13927         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13928         the beginning of the loop.
13929
13930 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13931
13932         * lyxrc.C: improve help for use_scalable_fonts
13933
13934 2002-01-17  Allan Rae  <rae@lyx.org>
13935
13936         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13937
13938 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13939
13940         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13941         make sure to set their inset_owner to the right value (bug #171)
13942
13943 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13944
13945         * DepTable.h
13946         * DepTable.C: Implement mtime checking to reduce time spent doing
13947         CRCs.
13948
13949 2002-01-16  Juergen Vigna  <jug@sad.it>
13950
13951         * tabular.C (GetAdditionalHeight): one of error fixed.
13952
13953         * lyxrc.C (output): small fix in writing use_pspell.
13954
13955 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13956
13957         * sp_base.h: #include LString.h
13958
13959 2002-01-16  Allan Rae  <rae@lyx.org>
13960
13961         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13962         Can someone check this please?
13963
13964         * text.C (drawInset): It was possible that p.row would be removed by
13965         breakAgainOneRow upsetting a few other settings.  There may be another
13966         small tweak possible by setting need_break_row = 0 when p.row has been
13967         removed but I don't know enough about the logic here.
13968
13969 2002-01-15  Allan Rae  <rae@lyx.org>
13970
13971         * text.C (insertChar): removed conditional truism.
13972
13973         * BufferView2.C (removeAutoInsets): More tweaks.
13974         cur_par_prev could be a stray pointer.  Check for trailing empty line
13975         in case last line was cur_par and only had an error inset on it.
13976
13977 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13978
13979         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13980         absolute
13981
13982         * vc-backend.C (most methods):
13983         * exporter.C (Export):
13984         * converter.C (convert):
13985         (runLaTeX):
13986         * LyXSendto.C (SendtoApplyCB):
13987         * lyxfunc.C (dispatch):
13988         (menuNew):
13989         (open):
13990         (doImport):
13991         * lyx_cb.C (AutoSave):
13992         (InsertAsciiFile):
13993         * BufferView_pimpl.C (MenuInsertLyXFile):
13994         * buffer.C (runChktex): use Buffer::filePath().
13995
13996         * buffer.h: rename filename to filename_; rename filepath to
13997         filepath_ and make it private
13998         (filePath): new method
13999
14000         * buffer.C (writeFile): use fileName()
14001         (getLatexName):
14002
14003         * lyx_main.C (init): fix starting  of LyX when the binary is a
14004         link from so,ewhere else.
14005
14006         * minibuffer.C: include <cctype> for isprint
14007
14008 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14009
14010         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14011         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14012         name clash with InsetCollapsable's width function.
14013
14014 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14015
14016         * lastfiles.C: include <iterator>
14017
14018 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14019
14020         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14021         std::count.
14022
14023         * buffer.C (makeLaTeXFile): ditto.
14024         Also make loop operation more transparent.
14025
14026 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14027
14028         * ToolbarDefaults.C: remove trailing comma closing namespace.
14029
14030         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14031
14032         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14033         as in WorkArea.
14034
14035         * trans.C (Load): comment out unused variable, allowed.
14036
14037 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14038
14039         * minibuffer.[Ch] (append_char): new method to recieve input from the
14040         drop-down completion browser. If a key was pressed, then recieve this
14041         char and append it to the existing string.
14042         (peek_event): modify the positioning data passed to the completion
14043         browser so that it can be placed above the minibuffer rather than below.
14044 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14045
14046         * LyXAction.C (init): alloe error-next for readonly documents.
14047
14048         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14049         count.
14050
14051 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14052
14053         * bufferlist.C (readFile): create the buffer _after_ checking that
14054         the file exists.
14055
14056         * lyxfunc.C (verboseDispatch): fix handling of arguments
14057
14058         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14059
14060         * lyxrc.C: use string::erase() instead of initializing to "".
14061
14062
14063 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14064
14065         * BufferView_pimpl.h:
14066         * BufferView_pimpl.C:
14067         * WorkArea.h:
14068         * WorkArea.C:
14069         * text2.C: tell X when we have made a selection for copying
14070
14071 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14072
14073         * BufferView_pimpl.C (MenuInsertLyXFile):
14074         * lyxfunc.C (menuNew):
14075         (open):
14076         (doImport): add shortcuts to directory buttons
14077
14078         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14079         open a float)
14080
14081         * lyxfunc.C (setStatusMessage):
14082         (getStatusMessage): new methods
14083         (getStatus):use setStatusMessage instead of setErrorMessage
14084         (dispatch): when function is disabled, set error message here
14085         [instead of in getStatus previously]
14086
14087         * BufferView_pimpl.C (workAreaButtonRelease): update
14088         toolbar/menubar here too.
14089
14090 2002-01-13  Allan Rae  <rae@lyx.org>
14091
14092         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14093         Now seems indestructible.  Remaining task is to audit all other
14094         code affected by deleteEmptyParagraphMechanism.  One small quirk
14095         left is that an empty document with an error in the preamble can
14096         be made to report an error but no error box appears.  I don't know
14097         where it goes.
14098         (removeAutoInsets): Improved comments.
14099
14100 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14101
14102         * Thesaurus.h:
14103         * Thesaurus.C: update for Aiksaurus 0.14
14104
14105 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14106
14107         * text2.C (firstParagraph): removed member function, all uses
14108         replaces with ownerParagraph
14109         (redoParagraphs): here
14110         (updateInset): here
14111         (toggleAppendix): here
14112         * BufferView2.C (insertErrors): here
14113         (setCursorFromRow): here
14114
14115 2002-01-13  Allan Rae  <rae@lyx.org>
14116
14117         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14118         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14119         There is still a way to segfault this although you may have to do this
14120         multiple times: Have an InsetERT with an unknown command in it.
14121         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14122         <down-arrow>, <Enter> again, View->DVI, BANG!
14123
14124         * text2.C (setCursor):
14125         (deleteEmptyParagraphMechanism):
14126         * lyxtext.h (setCursor):
14127         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14128         Making use of the return value may help fix other bugs.
14129
14130 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14131
14132         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14133
14134         * LyXView.C (updateMenubar): call MenuBar::update here
14135         (updateToolbar): but not here
14136         (showState): do not update toolbar/menubar
14137
14138         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14139         should need to care about that.
14140
14141         * lyxfunc.C (verboseDispatch): simplify a bit
14142         (getStatus): have a version which takes a pseudoaction, and
14143         another which requires a (kb_action,string).
14144
14145         * LyXAction.C (retrieveActionArg): make it work also when action
14146         is not a pseudo-action.
14147         (getActionName): simplify a bit
14148         (helpText):
14149
14150 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14151
14152         * lyxfunc.C (verboseDispatch): new families of methods with
14153         several ways to specify a command and a bool to indicate whether
14154         the command name and shortcut should be displayed in minibuffer
14155         (eventually, we could extend that to a finer bitmask like
14156         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14157         (dispatch): the pristine dispatch command which just, well,
14158         dispatchs! Note it still sets its result to minibuffer; I'm not
14159         sure we want that.
14160
14161         * lyxfunc.h: remove setHintMessage
14162
14163         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14164
14165 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14166
14167         * BufferView_pimpl.C (specialChar): delete new inset if we have
14168         not been able to insert it.
14169
14170         * kbmap.C: revert to using int instead of kb_action, since all we
14171         are dealing with is pseudo-actions.
14172
14173         * LyXAction.C (searchActionArg): change to return int instead of
14174         kb_action, since the result is a pseudoaction.
14175
14176 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14177
14178         * buffer.C (insertErtContents): Fix (partially) the font bug.
14179
14180 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14181
14182         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14183         as the other one is broken on my machine!
14184
14185 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14186
14187         * commandtags.h:
14188         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14189
14190 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14193         reflect their actual use. Provide compatibility code for older lyxrc
14194         files.
14195
14196         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14197         FL_NORMAL_STYLE.
14198         change names of popup font variables in line with the changes to lyxrc.C
14199
14200 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14201
14202         * buffer.C (asciiParagraph): avoid outputing a word twice after
14203         an inset.
14204
14205         * lyxrc.C (getDescription): document that document_path and
14206         template_path can be empty.
14207
14208 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14209
14210         * LaTeXFeatures.C (getMacros):
14211         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14212
14213         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14214
14215         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14216         getPackages.
14217         (getPackages): rename feature "floats" to "float". Use an array to
14218         iterate over 'simple' features (i.e. just a \usepackage). Add
14219         handling of "amsmath" (renamed from "amsstyle").
14220
14221 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14222
14223         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14224         features list.
14225
14226 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14227
14228         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14229         FuncStaus::FuncStatus & FuncStaus::some_method().
14230
14231 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14232
14233         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14234         of the func_satus stuff. Edited and massaged in various ways by
14235         JMarc.
14236
14237         * lyxfunc.C (getStatus): use FuncStatus
14238
14239 2002-01-08  Juergen Vigna  <jug@sad.it>
14240
14241         * text.C (nextBreakPoint): use function Inset::isChar().
14242
14243         * paragraph.C (TeXOnePar): use function
14244         Inset::forceDefaultParagraphs.
14245
14246         * buffer.C (latexParagraphs): use function
14247         Inset::forceDefaultParagraphs.
14248
14249 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14250
14251         * lyx_gui.C (init): set the style of the menu popups to
14252         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14253
14254 2002-01-07  Juergen Vigna  <jug@sad.it>
14255
14256         * text.C (setHeightOfRow): small fix
14257         (prepareToPrint): don't look at alignment if we don't have the place
14258         for doing it.
14259
14260 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14261
14262         * box.C: New file. Move the Box methods and functions out of box.h,
14263         following Lars' suggestion.
14264
14265 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14266
14267         * box.h: #include "support/LOstream.h", needed for inlined function.
14268
14269         * lyxtextclass.C:
14270         * lyxtextclasslist.C: added some using std declarations.
14271
14272 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14273
14274         * box.h: make signed dimensions to allow insets wider than
14275           the screen (bug #162)
14276
14277         * BufferView_pimpl.C: add some insetHit debug
14278
14279 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14280
14281         * vc-backend.C: add FIXME
14282
14283 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14284
14285         * lyxfunc.C (getStatus): enable code for showing math font status
14286         in toolbar/menu.
14287
14288 2002-01-07  Juergen Vigna  <jug@sad.it>
14289
14290         * text.C (nextBreakPoint): removed debug output not needed anymore.
14291
14292 2002-01-06  Juergen Vigna  <jug@sad.it>
14293
14294         * text.C (nextBreakPoint): fixed up this function we had this bug
14295         since ever but now hopefully we break row better.
14296         (insertChar): we have to check if an inset is the next char as it
14297         could now happen that a large inset is causing a break.
14298
14299 2002-01-05  Juergen Vigna  <jug@sad.it>
14300
14301         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14302         if it doesn't like to be drawed.
14303
14304 2002-01-04  Juergen Vigna  <jug@sad.it>
14305
14306         * BufferView2.C (lockInset): forgot to set a cursor.
14307
14308         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14309
14310 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14311
14312         * FormMathsPanel.C:
14313         * FormMathsPanel.h
14314         * MathsSymbols.C:
14315         * form_maths_panel.C:
14316         * form_maths_panel.h:
14317         * form_maths_panel.fd: implemented sub- and super- buttons in math
14318         panel.
14319
14320         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14321         (or ^ space) to be used as in TeX (req'd by Andr�.
14322
14323         * lyxfunc.C: Allow ^ and _ again to be used both as
14324         super/subscript (mathed) and as themselves (in text).
14325
14326 2002-01-03  Allan Rae  <rae@lyx.org>
14327
14328         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14329         "LyX" or the filename of the current buffer if it has one.  This is a
14330         modified form of John Levon's patch.
14331
14332         * XFormsView.C (setWindowTitle): also set icon title.
14333
14334         * LyXView.h (setWindowTitle): signature changed.
14335         * XFormsView.h (setWindowTitle): ditto.
14336
14337 2002-01-02  Juergen Vigna  <jug@sad.it>
14338
14339         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14340
14341 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14342
14343         * screen.C (topCursorVisible): introduce a temp var for
14344         text->cursor.row(), handle the case where this row is null. (kindo
14345         hachish)
14346
14347         * text2.C (setCursor): add a couple of asserts.
14348
14349         * paragraph.h (inset_iterator): add -> operator
14350
14351         * paragraph.[Ch] (autoDeleteInsets): remove member function
14352
14353         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14354         cursor pos correctly and handle inset deletion by itself.
14355         (insertErrors): move iterator declaration out of for expression
14356
14357         * lyxtextclass.C: add <algorithm>
14358
14359         * Makefile.am: added the new files to sources, removed layout.C
14360
14361         * layout.C: removed file
14362
14363         * layout.h: remove LYX_DUMMY_LAYOUT
14364
14365         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14366         layout.
14367
14368         * lyxlayout.[Ch]:
14369         * lyxtextclass.[Ch]:
14370         * lyxtextclasslist.[Ch]: new files
14371
14372         * include order changes to a lot of files, also changes because of
14373         the six new files.
14374
14375 2001-12-27  Juergen Vigna  <jug@sad.it>
14376
14377         * buffer.C (asciiParagraph): more fixes.
14378
14379         * tabular.C (ascii): make ascii export support export of only the
14380         data separated by a column-delimiter.
14381         (ascii): better support for ascii export.
14382
14383         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14384
14385 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * tabular_funcs.C: use a "using std::getline" instead of the
14388         previous fix from Angus (necessary for cxx + lyxstring)
14389
14390 2001-12-24  Juergen Vigna  <jug@sad.it>
14391
14392         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14393
14394         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14395         problems. First check a minipage also if we have some ert-contents
14396         (not only on par->size(), second set the right depth of the paragraph
14397         on the relink to the root-paragraph-list!
14398
14399         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14400         which then did not anymore update the main paragraphs on undo/redo!
14401
14402 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14403
14404         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14405         code. Support all font-changing funcs (even those which are not in
14406         menu currently). Support for reporting font settings in
14407         mathed (disabled until Andre provides a function on mathed's side).
14408
14409         * func_status.h (toggle): small helper function to set toggle
14410         state on a flag.
14411
14412 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14413
14414         * tabular_funcs.C: getline -> std::getline
14415
14416 2001-12-21  Juergen Vigna  <jug@sad.it>
14417
14418         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14419         accessed and could be 0 (I couldn't generate this but it seems
14420         Michael could!).
14421
14422 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14423
14424         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14425         * tabular_funcs.h: here and include iosfwd
14426
14427 2001-12-20  Juergen Vigna  <jug@sad.it>
14428
14429         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14430         inside inset but undo_par was.
14431
14432 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14433
14434         * Thesaurus.C: always include <config.h> in sources.
14435
14436         * Painter.h:
14437         * lyxlookup.h:
14438         * box.h: do not include <config.h> in header files
14439
14440         * text.C (paintLastRow): remove unused variable
14441
14442         * text.C (transformChar):
14443         (insertChar):
14444         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14445
14446         * Painter.C (text):
14447         * font.C (width): rewrite to use uppercase() instead of
14448         islower/toupper.
14449
14450         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14451
14452 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14453
14454         * lyxfind.C: clean up of find failure position change
14455
14456 2001-12-20  Juergen Vigna  <jug@sad.it>
14457
14458         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14459
14460         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14461         (TeXRow): added to LaTeX a single tabular row.
14462         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14463         (Latex): simplified and finally good LT-h/f support.
14464         (various_functions): just small adaptions for LT-h/f support.
14465
14466         * tabular_funcs.[hC]: added and moved here all not classfunctions
14467         of LyXTabular.
14468
14469 2001-12-19  Juergen Vigna  <jug@sad.it>
14470
14471         * tabular.[Ch]: better support for longtabular options (not finished
14472         yet!)
14473
14474 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14475
14476         * text.C (paintLastRow): use the label font instead of the font of
14477         the last character to compute the size of *_BOX. This makes more
14478         sense and avoids a crash with empty paragraphs.
14479         Use Painter::rectangle to draw EMPTY_BOX.
14480
14481 2001-12-19  Juergen Vigna  <jug@sad.it>
14482
14483         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14484         the paragraphs if the replaced paragraph is not the first one!
14485         Tried to delete not used paragraphs but does not work yet so for
14486         now it's inside #ifdef's and by default off!
14487
14488 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14489
14490         * MenuBackend.C: include "lyx_main.h" instead of declaring
14491         lastfiles (actually was declared as LastFiles* instead of a
14492         scoped_ptr).
14493
14494 2001-12-17  Juergen Vigna  <jug@sad.it>
14495
14496         * tabular.C (AppendColumn): applied John's fix
14497
14498 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14499
14500         * BufferView.h:
14501         * BufferView.C:
14502         * BufferView_pimpl.h:
14503         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14504
14505         * Makefile.am:
14506         * box.h: new start of class for above
14507
14508         * lyxfunc.C: ignore space-only minibuffer dispatches.
14509           Show the command name when it doesn't exist
14510
14511         * minibuffer.C: don't add empty lines to the history
14512
14513         * minibuffer.C: add a space on dropdown completion
14514
14515 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14516
14517         * text.C: fix line above/below drawing in insets
14518
14519 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14520
14521         * lyxlength.C (LyXLength): Initialize private variables.
14522
14523 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14524
14525         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14526         when inserting error insets.
14527
14528 2001-12-13  Juergen Vigna  <jug@sad.it>
14529
14530         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14531         actually sometimes the before-paragraph.
14532         (setUndo): don't clear the redostack if we're not actually undoing!
14533
14534 2001-12-06  Juergen Vigna  <jug@sad.it>
14535
14536         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14537         and fixed redoing of main paragraph, so we can use it now ;)
14538
14539         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14540
14541 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14542
14543         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14544         Juergen's request
14545
14546 2001-12-13  André Pönitz <poenitz@gmx.net>
14547
14548         * undostack.[Ch]:
14549         * undo_func.C: minor cleanup
14550
14551 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14552
14553         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14554         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14555         font in urw-fonts package which is marked as -urw-fontspecific and
14556         does not work (incidentally, changing the encoding in the
14557         fonts.dir of this package to -adobe-fontspecific fixes the
14558         problem).
14559
14560         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14561         is a crash when undoing first paragraph (Juergen, please take a
14562         look). THis does not mean the undo fix is wrong, just that it
14563         uncovers problems.
14564
14565         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14566         the (Paragraph*) version when needed instead of duplicating the
14567         code.
14568
14569         * text.C (workWidth): use Inset::parOwner to find out where the
14570         inset has been inserted. This is a huge performance gain for large
14571         documents with lots of insets. If Inset::parOwner is not set, fall
14572         back on the brute force method
14573
14574         * paragraph_pimpl.C (insertInset):
14575         * paragraph.C (Paragraph):
14576         (cutIntoMinibuffer): set parOwner of insets when
14577         inserting/removing them
14578
14579         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14580
14581 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14582
14583         * commandtags.h:
14584         * LyXAction.C:
14585         * lyx_main.C:
14586         * lyxfunc.C:
14587         * mathed/formulabase.C:
14588         * mathed/math_cursor.[Ch]:
14589         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14590
14591
14592 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14593
14594         * lyxlength.[Ch] (operator!=): new function
14595
14596 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14597
14598         * text.C (workWidth): use Inset::parOwner to find out where the
14599         inset has been inserted. This is a huge performance gain for large
14600         documents with lots of insets. If Inset::parOwner is not set, fall
14601         back on the brute force method
14602
14603         * paragraph_pimpl.C (insertInset):
14604         * paragraph.C (Paragraph):
14605         (cutIntoMinibuffer): set parOwner of insets when
14606         inserting/removing them
14607
14608         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14609
14610 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14611
14612         * tabular-old.C (getTokenValue):
14613         * tabular.C (getTokenValue):
14614         (write_attribute): new versions for LyXLength
14615         (everywhere): adjust the use of widths
14616
14617         * tabular.h: change the type of widths from string to LyXLength
14618
14619 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14620
14621         * paragraph.C: fixed missing line number count when exporting
14622         Environments to LaTeX file
14623
14624         * buffer.C: added informational message for checking line numbers.
14625
14626 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14627
14628         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14629         paragraph, do the 'double space' part, but not the 'empty
14630         paragraph' one.
14631
14632         * text.C (workWidth): small optimization
14633         (getLengthMarkerHeight): use minimal size for negative lengths.
14634
14635 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14636
14637         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14638
14639         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14640
14641 2001-12-11  André Pönitz <poenitz@gmx.net>
14642
14643         * FontLoader.C:
14644         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14645
14646 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14647
14648         * text2.C: keep selection on a setFont()
14649
14650 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14651
14652         * lyx_cb.C: another bv->text misuse, from insert label
14653
14654 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14655
14656         * kbsequence.h:
14657         * kbsequence.C: re-instate nmodifier mask
14658
14659 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14660
14661         * lyx_main.h: make lyxGUI private.
14662
14663 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * lyxfind.C: place the cursor correctly on failed search
14666
14667 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14668
14669         * text.C (getLengthMarkerHeight): for small heights, the arrows
14670         are not always on top/bottom of the text
14671         (drawLengthMarker): smaller arrows; take the left margin in
14672         account; draw also vfills.
14673         (paintFirstRow):
14674         (paintLastRow): remove special code for vfill and standard spaces,
14675         since everything is handled in drawLengthMarker now.
14676
14677 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14678
14679         * buffer.C (insertErtContents): try to handle font and language
14680         interaction a bit better.g
14681
14682         * ColorHandler.C (updateColor): change the hash to cover the whole
14683         LColor enum, ws cleanup
14684         (getGCLinepars): ditto
14685         (getGCLinepars): only lookup in the linecache once.
14686
14687 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14688
14689         * iterators.C (operator++): Make the iterator more robust
14690
14691         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14692         (John's patch)
14693         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14694
14695 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14696
14697         * lyxtext.h:
14698         * text.C: better added space drawing
14699
14700 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14701
14702         * LyXView.C:
14703         * BufferView2.C: fix layout combo update on inset unlock
14704
14705 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14706
14707         * Makefile.am: don't compile unused files
14708
14709 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * lyxfunc.C:
14712         * commandtags.h:
14713         * LyXAction.C: remove old LFUN_LAYOUTNO
14714
14715 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14716
14717         * paragraph_pimpl.h:
14718         * paragraph_pimpl.C: isTextAt() doesn't need font param
14719
14720 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14721
14722         * lyxlex.h:
14723         * lyxlex.C: little cleanup
14724
14725 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14726
14727         * BufferView_pimpl.C: fix insertAscii for insets
14728
14729 2001-12-05  Juergen Vigna  <jug@sad.it>
14730
14731         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14732         set the right font on the "multi" paragraph paste!
14733
14734 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14735
14736         * trans_decl.h:
14737         * trans_mgr.[Ch]:
14738         * trans.[Ch]:
14739         * lyxgluelength.C:
14740         * lyxlength.C: remove out-commented code.
14741
14742         * BufferView_pimpl:
14743         * CutAndPaste.C:
14744         * DepTable.C:
14745         * buffer.C:
14746         * chset.C:
14747         * lastfiles.C:
14748         * lyxlex.C:
14749         * lyxlex_pimpl.C:
14750         * lyxserver.C:
14751         * screen.C:
14752         * tabular-old.C:
14753         * tabular.C:
14754         * text.C:
14755         * trans_mgr.C:
14756         * vc-backend.C: change "while(" to "while ("
14757
14758         * lyxlength.[Ch]: add zero function to check if length is zero or
14759         not
14760         * lyxgluelength.C: use it
14761
14762 2001-12-05  Allan Rae  <rae@lyx.org>
14763
14764         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14765         Works for 2.95.3, from what I understand of Garst's reports this should
14766         work for other g++ versions.  We're screwed if the abs(int) definition
14767         changed between bugfix releases of gcc.
14768
14769 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14770
14771         * text.C: fix chapter label offset !
14772
14773 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14774
14775         * lyxtext.h:
14776         * text.C: fix hfill at end of line, clean up
14777
14778 2001-12-04  Juergen Vigna  <jug@sad.it>
14779
14780         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14781         that we force an update of the inset and it's owners if neccessary.
14782
14783 2001-12-03  Juergen Vigna  <jug@sad.it>
14784
14785         * text.C (rowLast): simplified code
14786
14787 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14788
14789         * lyxfunc.C: fix show options on timeout
14790
14791 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14792
14793         * screen.C (topCursorVisible): scroll half a page when the cursor
14794         reached top of bottom of screen
14795
14796 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14797
14798         * minibuffer.C: deactivate on loss of focus
14799
14800 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14801
14802         * vspace.[Ch] (operator!=): add operator.
14803
14804 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14805
14806         * BufferView_pimpl.C: refuse to open an inset when
14807         there's a selection.
14808
14809 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14810
14811         * BufferView_pimpl.C: allow to click on RHS of full row insets
14812
14813 2001-11-30  Juergen Vigna  <jug@sad.it>
14814
14815         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14816         insets for undo reasons.
14817
14818 2001-11-28  André Pönitz <poenitz@gmx.net>
14819
14820         * vspace.[Ch]: cosmetical changes
14821
14822 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14823
14824         * LyXAction.h:
14825         * LyXAction.C:
14826         * lyxfunc.h:
14827         * lyxfunc.C:
14828         * kbmap.h:
14829         * kbmap.C:
14830         * lyxrc.C:
14831         * kbsequence.h:
14832         * kbsequence.C: part re-write of old kb code
14833
14834         * Painter.C:
14835         * WorkArea.C: remove Lgb_bug_find_hack
14836
14837 2001-11-30  José Matos <jamatos@fep.up.pt>
14838
14839         * buffer.C (makeDocBookFile): add a comment to point a hack.
14840         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14841         Fixed a double write of labels.
14842
14843 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14844
14845         * LaTeX.C:
14846         * LaTeX.h Fixed bug in LaTeX class where it would not
14847         re-run latex if no depfiles were changed, but the .dvi was removed.
14848
14849 2001-11-28  André Pönitz <poenitz@gmx.net>
14850
14851         * all the files from the change on 2001/11/26:
14852         use lyx::layout_type instead of LyXTextClass::size_type
14853         use lyx::textclass_type instead of LyXTextClassList::size_type
14854
14855 2001-11-29  Juergen Vigna  <jug@sad.it>
14856
14857         * text.C: added support for paragraph::isFreeSpacing()
14858
14859         * buffer.C: same as above
14860
14861         * paragraph.h: inserted isFreeSpacing() function to enable
14862         FreeSpacing inside InsetERT.
14863
14864         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14865         of the paragraph's in the cut/copy buffer to 0!
14866
14867         * text2.C (removeRow): remove the assert as it can!
14868
14869         * lyxtext.h: added helper function firstRow returning firstrow and
14870         made firstrow private again.
14871
14872         * BufferView2.C (lockInset): don't relock if we're already locked!
14873
14874         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14875         the only paragraph.
14876         (removeRow): added Assert::(firstrow)
14877
14878         * debug.C: forgot to add INSETTEXT here.
14879
14880 2001-11-28  Juergen Vigna  <jug@sad.it>
14881
14882         * sp_spell.C (initialize): changed error text to more general
14883         spellchecker command use (not only ispell!)
14884
14885         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14886
14887         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14888
14889 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14890
14891         * vspace.C: initialise lyxgluelength on failure
14892
14893 2001-11-28  Allan Rae  <rae@lyx.org>
14894
14895         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14896         declaration & definition that looks like a function declaration.
14897
14898 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14899
14900         * BufferView2.C (copy):
14901         (copyEnvironment): do not clear the selection when doing a copy.
14902
14903         * text.C (paintFirstRow): compilation fix
14904
14905 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14906
14907         * tabular.C (Latex): correct line count when writing latex.
14908
14909 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14910
14911         * paragraph_pimpl.h:
14912         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14913           bug a bit
14914
14915 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14916
14917         * text.C:
14918         * LColor.h:
14919         * LColor.C: change vfillline->added_space
14920
14921         * text.C: add markers and text for added space
14922
14923         * vspace.C: fix comment
14924
14925 2001-11-28  André Pönitz <poenitz@gmx.net>
14926
14927         * paragraph.C: whitespace changes
14928         * all the other files from the change on 2001/11/26:
14929         change *::pos_type into lyx::pos_type
14930
14931 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14932
14933         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14934         language of the document when inserting error insets.
14935
14936 2001-11-26  André Pönitz <poenitz@gmx.net>
14937
14938         * BufferView_pimpl.[Ch]:
14939         *       CutAndPaste.C:
14940         * buffer.[Ch]:
14941         * lyxcursor.[Ch]:
14942         * lyxfind.C:
14943         * lyxfunc.C:
14944         * lyxrow.[Ch]:
14945         * paragraph.[Ch]:
14946         * paragraph_pimpl.[Ch]:
14947         * sp_spell.C:
14948         * text.C:
14949         * text2.C: reduce header dependencies, introduce type for positions
14950
14951 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14952
14953         * <various>: change to use Alert.h
14954
14955 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14956
14957         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14958         when encountering an unknown token.
14959         (readLyXformat2): Show an error message if there were unknown tokens.
14960
14961 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14962
14963         * BufferView2.C:
14964         * BufferView_pimpl.C:
14965         * buffer.C:
14966         * paragraph.h:
14967         * text.C:
14968         * text2.C: use par->isInset()
14969
14970 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * paragraph_pimpl.h:
14973         * paragraph_pimpl.C: cleanup
14974
14975 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14976
14977         * text2.C (removeRow):
14978         * text.C (setHeightOfRow): remove useless (and costly) call to
14979         getRow.
14980
14981 2001-11-20  Allan Rae  <rae@lyx.org>
14982
14983         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14984         Now need Inset*::checkInsertChar() to return true for appropriate
14985         cases so that the characters in the minibuffer will actually be
14986         inserted.
14987
14988 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14989
14990         * text.C: change the order of the includes.
14991         (workWidth): initialize it at once.
14992         (workWidth): make maxw unsigned
14993         (setHeightOfRow): remove unused variable (inset)
14994         (selectSelectedWord): remove unused variable (inset)
14995         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14996
14997 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14998
14999         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15000         server is not running.
15001         (openConnection):
15002         (closeConnection): add debug info when server is disabled.
15003
15004         * ColorHandler.C (getGCForeground): send debug message to GUI
15005         channel.
15006
15007         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15008
15009         * kbmap.C (bind): modify because return conventions of
15010         kb_sequence::parse have changed.
15011
15012         * kbsequence.C (parse): only ignore spaces and not any stupid
15013         control character. This avoids tests like s[i] <= ' ', which are
15014         guaranteed to fail with 8bit characters and signed chars.
15015         Change return code to string::npos when there have been no error
15016         (0 was a bad idea when error is at first character)
15017
15018 2001-11-14  José Matos  <jamatos@fep.up.pt>
15019
15020         * buffer.h:
15021         * buffer.C (simpleDocBookOnePar): removed unused argument.
15022
15023 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15024
15025         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15026         insets which are part of a word. Paragraph::isLetter takes care of
15027         that now. Use Paragraph::isInset to identify insets.
15028         (selectSelectedWord): do not test for hyphenation break.
15029
15030         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15031         that protected spaces are considered as spaces.
15032
15033         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15034         Inset::isLetter.
15035
15036 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15037
15038         * lyxserver.h:
15039         * lyxserver.C: fix it. and small cleanup.
15040
15041 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15042
15043         * BufferView_pimpl.C: use inline helpers
15044
15045         * LaTeXFeatures.h:
15046         * LaTeXFeatures.C: fix typos
15047
15048         * Spacing.h:
15049         * Spacing.C: move spacing_string into class
15050
15051         * ToolbarDefaults.C: move stuff into namespace anon
15052
15053         * layout.h: update enum
15054
15055         * lyxfunc.C: use better debug
15056
15057         * minibuffer.h: fix typo
15058
15059         * debug.h:
15060         * debug.C:
15061         * WorkArea.C: add and use Debug::WORKAREA
15062
15063         * lyxtext.h:
15064         * text.C:
15065         * text2.C: code re-organisation, inline helpers
15066
15067 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15068
15069         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15070         std::vector.empty().
15071
15072 2001-11-09  Allan Rae  <rae@lyx.org>
15073
15074         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15075         '\n's after tables.  Tabular and ERT inset work now makes this no
15076         longer necessary.
15077
15078 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15079
15080         * minibuffer.h:
15081         * minibuffer.C: fix crash, improve drop-down completion
15082
15083 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15084
15085         * lyxserver.h:
15086         * lyxserver.C: invalidate fd's when doing endPipe()
15087
15088 2001-11-08  José Matos  <jamatos@fep.up.pt>
15089
15090         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15091         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15092
15093         * paragraph.h:
15094         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15095
15096 2001-11-07  José Matos  <jamatos@fep.up.pt>
15097
15098         * buffer.h:
15099         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15100         const qualifier.
15101
15102         * buffer.C (sgmlOpenTag):
15103         * buffer.C (sgmlCloseTag): removed debug info.
15104
15105         * buffer.h (sgmlOpenTag):
15106         * buffer.h (sgmlCloseTag): made public.
15107
15108 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15109
15110         * buffer.C (saveParamsAsDefaults):
15111         * lyx_cb.C (MenuLayoutSave): remove
15112
15113         * LyXAction.C (init):
15114         * commandtags.h:
15115         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15116
15117 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15118
15119         * buffer.C (setPaperStuff): removed from here...
15120
15121         * bufferparams.C (setPaperStuff): ... and moved there.
15122
15123 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * minibuffer.h:
15126         * minibuffer.C:
15127         * XFormsView.C: add support for drop-down completion
15128
15129 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15130
15131         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15132         commands.
15133
15134 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15135
15136         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15137         disabled.
15138
15139 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15140
15141         * lyx_main.C: change ref to known bugs
15142
15143 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15144
15145         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15146         to work around older babel problems.
15147
15148 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15149
15150         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15151
15152 2001-10-24  Juergen Vigna  <jug@sad.it>
15153
15154         * tabular-old.C (ReadOld): below variable changes reflected.
15155
15156         * tabular.[Ch]: added ltType struct for longtable header/footer
15157         defines and changed all instances where they are used. Added
15158         future support for double top/bottom rows.
15159
15160 2001-10-24  José Matos  <jamatos@fep.up.pt>
15161
15162         * buffer.h (docbookHandleCaption):
15163         * buffer.C (docbookHandleCaption): removed unused function.
15164         (makeDocBookFile): moved docbook supported version to v4.1.
15165
15166 2001-10-24  José Matos  <jamatos@fep.up.pt>
15167
15168         * tabular.h:
15169         * tabular.C (docbookRow): new function to export docbook code of a row.
15170         (DocBook): now honors the longtable flags.
15171
15172 2001-10-23  José Matos  <jamatos@fep.up.pt>
15173
15174         * LaTeXFeatures.h:
15175         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15176         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15177
15178         * buffer.C (makeLinuxDocFile):
15179         (makeDocBookFile): reworked the preamble, more clean, and with
15180         support for lyx defined entities. Changed the document declaration
15181         to be more XML friendly.
15182
15183         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15184         if we need to output XML that should be done with a filter.
15185
15186 2001-10-22  Juergen Vigna  <jug@sad.it>
15187
15188         * sp_pspell.h (class PSpell): add alive function needed in the
15189         controller to see if the spellchecker could be started.
15190
15191 2001-10-22  Juergen Vigna  <jug@sad.it>
15192
15193         * buffer.C (insertStringAsLines): modify the font for inserting
15194         chars in certain conditions by calling checkInsertChar(font).
15195
15196 2001-10-19  Juergen Vigna  <jug@sad.it>
15197
15198         * text.C (workWidth): use getRow instead of wrong algorithm.
15199         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15200
15201 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15202
15203         * lyxserver.h:
15204         * lyxserver.C:
15205         * lyx_main.h:
15206         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15207
15208 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15209
15210         * text.C (workWidth): do not search for the exact row when
15211         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15212         optimization for big documents.
15213
15214 2001-10-18  Juergen Vigna  <jug@sad.it>
15215
15216         * text.C (workWidth): new function with added Inset * parameter.
15217
15218 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15219
15220         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15221
15222         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15223         change return type of getColumnNearX.
15224
15225
15226         * text.C (changeRegionCase): use uppercase/lowercase instead of
15227         toupper/tolower.
15228         (leftMargin):
15229         (rightMargin): simplify code by factoring out the uses of
15230         textclasslist.
15231         (labelFill):
15232         (numberOfHfills):
15233         (setHeightOfRow):
15234         (appendParagraph): use Paragraph::size_type
15235
15236 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15237
15238         * vspace.C (asLatexString): add a missing break
15239
15240 2001-10-15  Herbert Voss  <voss@perce.de>
15241
15242         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15243
15244 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15245
15246         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15247         is not available.
15248
15249 2001-10-10  André Pönitz <poenitz@gmx.net>
15250
15251         * lyxfunc.C: removed greek_kb_flag.
15252
15253 2001-10-10  Herbert Voss  <voss@perce.de>
15254
15255         * lyx_main.C: delete global string help_lyxdir.
15256
15257 2001-10-09  Herbert Voss  <voss@perce.de>
15258
15259         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15260
15261         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15262
15263         * lyx_main.C: added global string help_lyxdir.
15264
15265         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15266
15267 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15268
15269         * lyxrc.C (set_font_norm_type): support iso8859-4
15270
15271 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15272
15273         * LaTeX.C (deplog): add another regex for MikTeX
15274
15275 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15276
15277         * lyxrc.C (set_font_norm_type): support iso8859-3
15278
15279 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15280
15281         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15282
15283         * LaTeXFeatures.C: remove special case of french and index
15284
15285         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15286         before \begin{document}). This solves several incompatibilities.
15287
15288 2001-10-03  Garst Reese  <reese@isn.net>
15289
15290         * lyx_cb.C: change CheckTex error msg.
15291
15292 2001-10-03  José Matos  <jamatos@fep.up.pt>
15293
15294         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15295
15296 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15297
15298         * .cvsignore: update
15299
15300         * lyx_main.C (commandLineVersionInfo): use new style version info.
15301
15302         * buffer.C (writeFile):
15303         (makeLaTeXFile):
15304         (makeLinuxDocFile):
15305         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15306
15307         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15308
15309         * version.h: update to use stuff in version.C
15310
15311         * version.C.in: new file. Contains version information determined
15312         at compile time. This is a merging of version.h and
15313         version_info.h.in.
15314
15315 2001-10-03  Juergen Vigna  <jug@sad.it>
15316
15317         * BufferView_pimpl.C (update): don't change "dirty" status in
15318         updateInset call.
15319
15320 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15321
15322         * WorkArea.C (c-tor): re-position version string slightly.
15323
15324 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15325
15326         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15327         revert to previous code.
15328
15329         WorkArea.[Ch]: (show, destroySplash): methods removed.
15330
15331         WorkArea.C: rework code so that it's an amalgam of the codes before and
15332         after the splash screen was moved to WorkArea.
15333
15334 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15335
15336         * lyxrc.C (read):
15337         * vspace.C (inPixels):
15338         (lyx_advance):
15339         * kbmap.C (bind):
15340         * buffer.C (insertStringAsLines):
15341         (asciiParagraph): fix types to be large enough
15342
15343         * lyxlex_pimpl.h: change member status from short to int
15344
15345         * layout.h: fix type of endlabeltype
15346
15347         * kbmap.C (bind):
15348         * kbsequence.C (parse): change return type to string::size_type
15349
15350         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15351         variable
15352
15353         * Bullet.C (bulletSize):
15354         (bulletEntry): do not use short ints as parameters
15355
15356         * BufferView2.C (insertLyXFile): change a char to an int.
15357
15358         * WorkArea.C (WorkArea): remove unneeded floats in computation
15359
15360 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15361
15362         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15363
15364         * paragraph.C (asString): Do not ignore newline/hfill chars when
15365         copying to the clipboard.
15366
15367 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15368
15369         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15370         after a multi-line inset.
15371
15372 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15373
15374         * paragraph.C (validate): Set NeedLyXFootnoteCode
15375
15376 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15377
15378         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15379         and decrease-error to decrease.
15380
15381 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15382
15383         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15384         it more readable (should be equivalent)
15385
15386 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15387
15388         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15389
15390 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15391
15392         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15393         of a cursor (row, etc.) after a character has been deleted
15394         (deleteEmptyParagraphMechanism): call the method above on _all_
15395         cursors held by the LyXText when a double space has been
15396         detected/deleted.
15397
15398 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15399
15400         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15401         pixmap.
15402         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15403
15404         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15405         background. Use greyOut() and the new show() methods to toggle between
15406         the foreground and background. Add code to remove the splash after
15407         its initial showing.
15408
15409         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15410         (create_forms): no longer call Dialogs::showSplash.
15411
15412 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * .cvsignore: add version_info.h
15415
15416 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15417
15418         * version_info.h.in: new file
15419
15420         * Makefile.am: add version_info.h.in
15421
15422         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15423         version_info.h instead of VERSION_INFO
15424
15425 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15426
15427         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15428         The ERT inset now returns string().
15429
15430 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15431
15432         * lyxtext.h, text.C (selectNextWord): renamed as
15433         selectNextWordToSpellcheck.
15434
15435         * text.C (selectNextWordToSpellcheck): Modified to not select
15436         words inside an ERT inset.
15437
15438 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15439
15440         * lyx_cb.C (MenuLayoutSave): change a bit the question
15441
15442         * sp_base.h: include <sys/types.h>
15443
15444 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15445
15446         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15447
15448 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15449
15450         * several files: fix typos in user-visible strings
15451
15452 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15453
15454         * text2.C (pasteSelection): do not set the selection, since it
15455         will be cleared later. Actually, the intent was to fix the way the
15456         selection was set, but I figured rmoving the code was just as good.
15457
15458 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15459
15460         * FontLoader.C (available): Check if font is available without
15461         loading the font.
15462
15463 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15464
15465         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15466
15467 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15468
15469         * lyxrc.[Ch]: added display_graphics variable and associated code.
15470
15471 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15472
15473         * bufferparams.C (hasClassDefaults): new method. Returns true if
15474         the buffer parameters correspond to known class defaults
15475
15476 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15477
15478         * XFormsView.C (show): set minimum size to the main window.
15479
15480 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15481
15482         * text2.C (copySelection):
15483         (cutSelection):
15484         * lyxfind.C (LyXReplace):
15485         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15486         LyXText::selectionAsString.
15487
15488         * paragraph.C (asString): add "label" argument to the second form
15489
15490         * text2.C (selectionAsString): add "label" argument and pass it to
15491         Paragraph::asString.
15492
15493 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15494
15495         * lyx_main.C (commandLineHelp): remove version information
15496
15497 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15498
15499         * lyx_main.C: add -version commandline option
15500
15501 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15502
15503         * paragraph.h: make the optional constructor arg required instead.
15504         some modifications to other files because of this.
15505
15506         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15507
15508         * lyxserver.C (C_LyXComm_callback): make it static
15509
15510         * lyx_main.C (error_handler): make it static
15511
15512         * lyx_gui.C (LyX_XErrHandler): make it static
15513
15514         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15515
15516         * WorkArea.C: make the extern "C" methods static.
15517
15518         * Makefile.am (lyx_LDADD): simplify
15519
15520 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15521
15522         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15523         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15524
15525         * LyXAction.C (init):
15526         * lyxfunc.C (dispatch): associated code removal.
15527
15528 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15529
15530         * lyxfont.h (isSymbolFont): shut off warning
15531
15532         * text.C (setHeightOfRow):
15533         (getVisibleRow): fix crash with empty paragraphs which have a
15534         bottom line
15535
15536 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15537
15538         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15539         code.
15540
15541 2001-09-04  José Matos  <jamatos@fep.up.pt>
15542         * buffer.C
15543         * buffer.h
15544         * tabular.C (docbook): rename docBook method to docbook.
15545
15546 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15547
15548         * Makefile.am: add dependencies to main.o.
15549
15550 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15551
15552         * FontLoader.C (available): Return false if !lyxrc.use_gui
15553
15554 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15555
15556         * FontInfo.C (query):
15557         * converter.C (view):
15558         * importer.C (Import):
15559         * exporter.C (Export): Can not -> cannot.
15560
15561 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15562
15563         * BufferView_pimpl.C: allow to create index inset even if
15564           string is empty
15565
15566 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15567
15568         * buffer.C (getLists): replace boost::tie code with an explicit pair
15569         as boost::tie can break some compilers.
15570
15571         * iterators.h: Added a std:: declaration to the return type of
15572         ParIterator::size.
15573
15574 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15575
15576         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15577           case.
15578
15579 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15580
15581         * iterators.[Ch]: New files. Provide paragraph iterators.
15582
15583         * buffer.C (changeLanguage): Use paragraph iterators.
15584         (isMultiLingual): ditto
15585
15586         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15587
15588 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15589
15590         * FontLoader.C: Support for cmr font.
15591
15592 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15593
15594         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15595         (available): New method.
15596
15597         * FontInfo.C (getFontname): Use scalable fonts even when
15598         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15599         found.
15600
15601 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15602
15603         * converter.C (Formats::view): reverted! Incorrect fix.
15604
15605 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15606
15607         * converter.C (Formats::view): only output the -paper option
15608         if the dvi viewer is xdvi, thereby fixing bug #233429.
15609
15610 2001-08-23  Herbert Voss  <voss@perce>
15611
15612         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15613
15614 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15615
15616         * Spacing.h (Spacing): Set space to Default on in the default
15617         constructor.
15618
15619 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15620
15621         * vc-backend.h (RCS::versionString): add RCS to version
15622         (CVS::versionString): add CVS to version
15623
15624         * vc-backend.C (scanMaster): do not add CVS to version.
15625         (scanMaster): do not add RCS to version
15626
15627         * lyxvc.C (versionString): new method
15628
15629         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15630
15631 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15632
15633         * Spacing.C (set): initialize fval
15634
15635 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15636
15637         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15638         " or \.
15639
15640 2001-08-16  Juergen Vigna  <jug@sad.it>
15641
15642         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15643
15644 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15645
15646         * BufferView_pimpl.C:
15647         * figureForm.C:
15648         * lyxtext.h:
15649         * text2.C: setParagraph takes linespacing now
15650
15651 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15652
15653         * LyxAction.C: add internal LFUN_CITATION_INSERT
15654
15655         * LyXView.C: actually apply fix
15656
15657         * bufferlist.C: fix open non-existent file
15658
15659         * lyxfind.C: fix indentation
15660
15661         * lyxfunc.C: remove unneeded assert, fix typo
15662
15663 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15664
15665         * MenuBackend.C: use "Floatname List"
15666
15667 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15668
15669         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15670         when converting LaTeX layout to insetERT.
15671         Generate a non-collapsed float when reading old float
15672
15673 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15674
15675         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15676         ERT insets.
15677
15678 2001-08-13  Juergen Vigna  <jug@sad.it>
15679
15680         * text.C (fill): return 0 instead of 20 as this seems to be the more
15681         correct value.
15682
15683 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15684
15685         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15686         lyxrc.font_norm.
15687
15688 2001-08-13  Juergen Vigna  <jug@sad.it>
15689
15690         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15691         casesensitive off.
15692         (SearchBackward): comment out the unlocking of the inset_owner this
15693         should not be needed!
15694
15695 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15696
15697         * Many files: Remove inherit_language, and add latex_language
15698
15699         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15700         collapsible insets.
15701
15702 2001-08-10  Juergen Vigna  <jug@sad.it>
15703
15704         * text.C (prepareToPrint): fixed hfill-width in draw!
15705
15706         * BufferView2.C (selectLastWord): save the selection cursor as this
15707         now is cleared in the function LyXText::clearSelection!
15708
15709 2001-08-08  Juergen Vigna  <jug@sad.it>
15710
15711         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15712         BACKSPACE type functions.
15713
15714         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15715         is only cutted from the document but not put in the cut-buffer, where
15716         still the old stuff should be.
15717
15718         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15719
15720         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15721
15722         * tabular.C (SetWidthOfCell): fixed special case where the width
15723         was not updated!
15724         (LeftLine): handle '|' in align_special.
15725         (RightLine): ditto
15726         (LeftAlreadyDrawed): ditto
15727         (SetWidthOfCell): ditto
15728
15729 2001-08-07  Juergen Vigna  <jug@sad.it>
15730
15731         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15732
15733 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15734
15735         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15736         * lyxlex.[hC]: ditto
15737
15738 2001-08-06  Juergen Vigna  <jug@sad.it>
15739
15740         * text.C (getVisibleRow): fix up row clearing a bit.
15741
15742 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15743
15744         * minibuffer.C: make sure the X server sees the changes in the input.
15745
15746 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15747
15748         * paragraph.C (getFont): split into...
15749         (getLabelFont): this
15750         (getLayoutFont): and this
15751         * paragraph_pimpl.C (realizeFont): calling this
15752
15753         * text2.C (getFont): split into...
15754         (getLayoutFont): this
15755         (getLabelFont): and this
15756         (realizeFont): all three calling this
15757
15758         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15759         files where used.
15760
15761 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15762
15763         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15764
15765 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15766
15767         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15768         layouts from the Quote inset insertion.
15769
15770 2001-08-03  Juergen Vigna  <jug@sad.it>
15771
15772         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15773
15774         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15775         only if status not is already CHANGED_IN_DRAW (second level).
15776
15777         * text.C (draw): don't set the need_break_row when inside an
15778         InsetText LyXText.
15779
15780 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15781
15782         * buffer.C (parseSingleLyXformat2Token): handle more latex
15783         conversion cases.
15784
15785         * bufferview_funcs.[hC]: change function names to
15786         begin with small char, adjust other files.
15787
15788 2001-08-02  André Pönitz <poenitz@gmx.net>
15789
15790         * lyxfunc.C:
15791         BufferView_pimpl.C: remove broken special code for math-greek
15792
15793 2001-08-02  Juergen Vigna  <jug@sad.it>
15794
15795         * BufferView_pimpl.C (update): redone this function so that we
15796         update the text again if there was a CHANGE_IN_DRAW.
15797
15798         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15799         (drawFromTo): added a new internal bool which is used by draw() and
15800         redraw() function.
15801         (general): some cursor drawing problems fixed.
15802
15803 2001-08-01  Juergen Vigna  <jug@sad.it>
15804
15805         * lyxfind.C (LyXFind): fixed
15806         (SearchForward): ditto
15807         (SearchBackward): ditto
15808
15809         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15810         spurius drawing of the cursor in the main area.
15811
15812         * text2.C (status): small fix which could lead to a segfault!
15813         (clearSelection): remove unneeded BufferView param.
15814
15815 2001-08-01  André Pönitz <poenitz@gmx.net>
15816
15817         * lyxfunc.C: small change due to changed mathed interface
15818
15819 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15820
15821         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15822
15823 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15824
15825         * lyxfunc.c: fail gracefully if file doesn't exist
15826
15827         * LyXSendto.C:
15828         * buffer.C:
15829         * lyxfunc.C:
15830         * BufferView_pimpl.C: IsDirWriteable() proto changed
15831
15832         * LyXView.C: fix updateWindowTitle() to store the last title
15833
15834 2001-07-31  Juergen Vigna  <jug@sad.it>
15835
15836         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15837         the font (wrong since using of Paragraph::highestFontInRange).
15838
15839         * paragraph.C (highestFontInRange): added a default_size parameter.
15840
15841         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15842         (setHeightOfRow): reformat
15843
15844 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15845
15846         * converter.[hC] + affected files: move to (inital-char)lowercase
15847         function names.
15848
15849         * ParagraphParameters.C (ParagraphParameters): remove commented code
15850
15851         * PainterBase.[Ch]: remove commented code
15852
15853         * LaTeXFeatures.h: add "bool floats" for float.sty
15854
15855         * LaTeXFeatures.C (LaTeXFeatures): init floats
15856         (require): handle float
15857         (getPackages): do it with floats
15858
15859 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15860
15861         * BufferView_pimpl.C (Dispatch): improve handling of
15862         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15863
15864         * commandtags.h: #include lyxfont.h here temporarily to avoid
15865         keybinding bug.
15866
15867         * bufferlist.h: include LString.h here.
15868
15869 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15870
15871         * text2.C (getStringToIndex): new method.
15872
15873 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15874
15875         * *: Reduced header file dependencies all over.
15876
15877 2001-07-30  Baruch Even  <baruch@lyx.org>
15878
15879         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15880
15881 2001-07-29  Baruch Even  <baruch@lyx.org>
15882
15883         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15884
15885 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15886
15887         * ParameterStruct.h (endif): add a default constructor to make
15888         sure that all variables is initialized.
15889
15890         * ParagraphParameters.C (ParagraphParameters): adjust
15891
15892 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15893
15894         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15895         index; also, check that there is something to index, and that it
15896         does not span over several paragraphs.
15897         (doubleClick): use WHOLE_WORD_STRICT for double click.
15898
15899         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15900
15901         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15902         scheme.
15903
15904 2001-07-26  Baruch Even  <baruch@lyx.org>
15905
15906         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15907         an InsetFig figure, backwards compatible reading of old figure code.
15908
15909 2001-07-27  Juergen Vigna  <jug@sad.it>
15910
15911         * text2.C: font.realize function adaption.
15912
15913         * text.C (draw): add a warnings lyxerr text if needed.
15914
15915         * layout.C: font.realize function adaption.
15916
15917         * language.C: add inherit_language and implement it's handlings
15918
15919         * bufferview_funcs.C (StyleReset): remove language parameter from
15920         font creation (should be language_inherit now).
15921
15922         * bufferparams.C (writeFile): handle ignore_language.
15923
15924         * paragraph.C (getFontSettings): the language has to be resolved
15925         otherwise we have problems in LyXFont!
15926
15927         * lyxfont.C (lyxWriteChanges): added document_language parameter
15928         (update): removed unneeded language parameter
15929
15930         * paragraph.C (validate): fixed wrong output of color-package when
15931         using interface colors for certain fonts in certain environments,
15932         which should not seen as that on the final output.
15933
15934 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15935
15936         * BufferView_pimpl.C:
15937         * Thesaurus.h:
15938         * Thesaurus.C:
15939         * Makefile.am:
15940         * commandtags.h:
15941         * LyXAction.C: add thesaurus support
15942
15943         * lyxfind.h:
15944         * lyxfind.C: add "once" parameter, for thesaurus, to not
15945           move to the next match
15946
15947 2001-07-26  Juergen Vigna  <jug@sad.it>
15948
15949         * lyxfont.C (realize): honor ignore_language too!
15950         (resolved): ditto.
15951
15952         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15953
15954         * text.C (draw): one place more for ignore_language to not draw
15955         itself!
15956
15957 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15958
15959         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15960
15961 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15962
15963         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15964         the minipage conversion problem.
15965
15966 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15967
15968         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15969         insert an inset.
15970
15971 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * BufferView.h: don't forward declare WorkArea
15974
15975         * BufferView.C: don't include WorkArea.h
15976
15977 2001-07-25  André Pönitz <poenitz@gmx.net>
15978
15979         * commandtags.h:
15980         * LyXAction.C:
15981         * lyxfunc.C:  new LFUN 'math-space'
15982
15983         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15984
15985 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15986
15987         * text2.C (toggleInset): call open/close
15988
15989 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15990
15991         * lyxfunc.C (dispatch): add debug for the disabled case
15992
15993         * font.C (buttonText): make similar to rectText
15994
15995         * buffer.C (readInset): comment out parsing of insetlist and
15996         insttheorem
15997
15998         * PainterBase.C (rectText): small correction
15999
16000         * BufferView_pimpl.C: comment out insettheorem and insetlist
16001         * LyXAction.C: ditto
16002         * commandtags.h: ditto
16003
16004 2001-07-24  Juergen Vigna  <jug@sad.it>
16005
16006         * text.C (draw): honor the ignore_language.
16007
16008         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16009
16010 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16011
16012         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16013         char inset.
16014
16015 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16016
16017         * lyxtext.h: remove unused (and unimplemented) methods
16018
16019 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16020
16021         * text.C (getVisibleRow): honor background color
16022
16023         * PainterBase.h:
16024         * Painter.h: remove default color argument for fillRectangle
16025
16026         * text.C (backgroundColor): new method
16027
16028 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16029
16030         * text.C (getVisibleRow): adjust
16031
16032         * font.[Ch] (rectText): new method, metrics
16033         (buttonText): new method, metrics
16034
16035         * PainterBase.[hC]: make rectText and buttonText always draw and take
16036         fewer paramteres.
16037
16038 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16039
16040         * ToolbarDefaults.C (read):
16041         * MenuBackend.C (read): allow escaping in all strings
16042
16043         * BufferView_pimpl.C (insertAndEditInset): new method.
16044         (Dispatch): use insertAndEditInset whenever appropriate.
16045
16046         * BufferView_pimpl.C (insertNote): removed
16047
16048         * BufferView_pimpl.C (smartQuote): new method, moved from
16049         BufferView; if an insetquote cannot be inserted, insert a '"'
16050         character instead.
16051
16052         * BufferView2.C: remove insertCorrectQuote();
16053
16054         * lyxfunc.C (getStatus): Add support for all remaingin
16055         inset-insert lfuns.
16056
16057         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16058
16059         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16060         command (necessary to pass " as parameter of self-insert.
16061
16062         * text.C (selectWordWhenUnderCursor):
16063         (selectWord): add word_location parameter
16064         (selectWordWhenUnderCursor): same + remove special code for word
16065         boundary.
16066         (selectNextWord): use kind() to guess type of insetspecialchar,
16067         not latex().
16068
16069         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16070         (insertErtContents): create ert insets as collapsed.
16071         (readInset): better compatibility code for Info inset.
16072
16073 2001-07-20  Juergen Vigna  <jug@sad.it>
16074
16075         * lyxfunc.C (dispatch): use always LyXFind now!
16076
16077         * text2.C (init): add a reinit flag so that the LyXText can be
16078         reinited instead of deleted and reallocated (used in InsetText).
16079
16080         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16081
16082         * text.C: ditto
16083
16084         * text2.C: ditto
16085
16086 2001-07-18  Juergen Vigna  <jug@sad.it>
16087
16088         * text.C (selectNextWord): handle insets inside inset by calling
16089         always the bv->text functions so that we can go up the_locking_inset!
16090
16091         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16092         in strange locations when inside an inset!
16093
16094         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16095         handling to include insets.
16096
16097         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16098
16099 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16100
16101         * LyXAction.C (init):
16102         * commandtags.h:
16103         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16104         LIGATURE_BREAK, since the name is so stupid.
16105
16106 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16107
16108         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16109         InsetInfos.
16110
16111         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16112
16113         * sp_form.[Ch]: remove.
16114
16115         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16116
16117         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16118         InsetInfo.
16119
16120         * src/buffer.C (readInset): ditto.
16121
16122 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16123
16124         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16125         menuSeparator(), endOfSentenceDot(), ldots() and
16126         hyphenationPoint(), which are therefore removed.
16127         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16128
16129         * LyXAction.C (init):
16130         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16131
16132         * paragraph.C (getWord): removed.
16133
16134         * BufferView_pimpl.C (Dispatch): use last word or selection for
16135         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16136
16137         * lyx_main.C (queryUserLyXDir): do not ask before creating
16138         user_dir, except if it has been named explicitely.
16139
16140 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16141
16142         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16143         a document of zero size.
16144
16145 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16146
16147         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16148         approriately in the c-tor and in require().
16149         (getPackages): output the appropriate LaTeX for natbib support.
16150
16151         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16152         variables "use_natbib" and "use_numerical_citations" when reading the
16153         LyX file.
16154         (readInset): read the various natbib cite commands.
16155         (validate): white-space change.
16156
16157         * bufferparams.[Ch]: new variables "bool use_natbib" and
16158         "bool use_numerical_citations".
16159         (writeFile): output them in the LyX file.
16160
16161 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16162
16163         * lyxfunc.C (getStatus): add support for all the inset insertion
16164         commands.
16165
16166         * text2.C (insertInset):
16167         * paragraph.C (insetAllowed):
16168         * BufferView_pimpl.C (insertInset): update to take in account the
16169         renaming of insertInsetAllowed
16170
16171         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16172
16173         * text2.C (getInset): new method. returns inset at cursor position.
16174
16175         * BufferView_pimpl.C (Dispatch): changes because of this.
16176
16177         * LyXAction.C (init): rename open-stuff to inset-toggle.
16178
16179         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16180
16181         * text2.C (toggleInset): renamed from openStuff; use
16182         Inset::open().
16183
16184 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16185
16186         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16187
16188         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16189
16190 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16191
16192         * buffer.C (readLyXformat2): Add filename to the error dialog
16193
16194 2001-07-18  Juergen Vigna  <jug@sad.it>
16195
16196         * tabular.C (GetCellNumber): put an assert here instead of the check!
16197
16198 2001-07-17  Juergen Vigna  <jug@sad.it>
16199
16200         * BufferView_pimpl.C (toggleSelection): adapted too.
16201
16202         * text.C (selectNextWord): adapted for use with insets.
16203         (selectSelectedWord): ditto
16204
16205 2001-07-17  Juergen Vigna  <jug@sad.it>
16206
16207         * sp_spell.C (PSpell): fix initialitation order.
16208
16209 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16210
16211         * paragraph.C: spacing
16212
16213 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16214
16215         * sp_spell.C: repair language selection for pspell
16216
16217 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16218
16219         * lyxfunc.h: change more methods to begin with lower char.
16220
16221 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16222
16223         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16224         for unknown layouts.
16225
16226 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16227
16228         * buffer.C (readLyXformat2): Generate an error dialog if there are
16229         unknown layouts.
16230
16231 2001-07-16  Juergen Vigna  <jug@sad.it>
16232
16233         * sp_spell.C: always compile ISpell part.
16234
16235         * lyxrc.C: added use_pspell entry and it's handling.
16236
16237 2001-07-13  Juergen Vigna  <jug@sad.it>
16238
16239         * sp_spell.C: removed double includes.
16240
16241 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16242
16243         Consistent use of Lsstream.h:
16244         * Lsstream.h: added using std::stringstream for consistencies sake.
16245
16246         * buffer.C: removed using std::stringstream
16247
16248         * lyxfont.C (stateText):
16249         * paragraph.C (asString):
16250         * text.C (selectNextWord, selectSelectedWord):
16251         * text2.C (setCounter):
16252         * vspace.C (asString, asLatexString):
16253         std::ostringstream -> ostringstream.
16254
16255 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16256
16257         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16258         * commandtags.h: add LFUN_HELP_ABOUTLYX
16259         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16260
16261 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16262
16263         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16264         cursorToggle()
16265         * lyx_gui_misc.C: remove spellchecker
16266         * lyxfunc.C: showSpellchecker
16267         * sp_base.h: added
16268         * sp_ispell.h: added
16269         * sp_pspell.h: added
16270         * sp_spell.C: added
16271         * sp_form.[Ch]: removed
16272         * spellchecker.[Ch]: removed
16273
16274 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16275
16276         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16277         is set.
16278         (simpleTeXSpecialChars): Simply print the input character without
16279         any special translation if pass_thru is set.
16280
16281         * layout.h: Added bool pass_thru to layout class for being able to
16282         implement pass through of a paragraph for Literate Programming.
16283
16284         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16285         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16286         * layout.C (Read): add "passthru" to list of layout tags and add
16287         code to set the pass_thru boolean when it is read.
16288
16289 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16290
16291         * trans_decl.h: remove allowed from KmodInfo
16292
16293         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16294         remove allowed code
16295         (Load): adjust
16296
16297         * paragraph_pimpl.C (erase): use boost::prior
16298
16299         * Painter.C (text): use data() instead of c_str() when length is
16300         also provided.
16301         * WorkArea.C (putClipboard): ditto
16302         * font.h (width): ditto
16303
16304         * BufferView2.C: use it-> instead of (*it). for iterators
16305         * texrow.C: ditto
16306         * paragraph_pimpl.C: ditto
16307         * paragraph.C: ditto
16308         * minibuffer.C: ditto
16309         * language.C: ditto
16310         * kbmap.C: ditto
16311         * encoding.C: ditto
16312         * counters.C: ditto
16313         * converter.C: ditto
16314         * chset.C: ditto
16315         * Variables.C: ditto
16316         * TextCache.C: ditto
16317         * MenuBackend.C: ditto
16318         * LyXAction.C: ditto
16319         * LColor.C: ditto
16320         * FloatList.C: ditto
16321         * DepTable.C: ditto
16322         * ColorHandler.C (LyXColorHandler): ditto
16323
16324 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16325
16326         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16327
16328         * text2.C (openStuff): reintroduce this method (which had been
16329         nuked in NEW_INSETS frenzy).
16330
16331         * lyxfunc.C (Dispatch): when an action has not been handled, use
16332         its name in the error message, not its number.
16333
16334         * paragraph.C (inInset): change method name to begin with lowercase.
16335
16336         * undo_funcs.C:
16337         * text2.C: updates because of this.
16338
16339 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16340
16341         * ToolbarDefaults.C (add): add spaces in error message
16342
16343 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16344
16345         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16346         (readLyXformat2): rename return_par to first_par, use lyxlex's
16347         pushToken and remove the manual push handling.
16348         (parseSingleLyXformat2Token): add another ert comp. variable:
16349         in_tabular, rename return_par to first_par. handle newlines better
16350
16351 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16352
16353         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16354
16355 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16356
16357         * text2.C (getParFromID): removed
16358
16359         * buffer.C (getParFromID): new method moved form lyxtext.
16360         * BufferView2.C (insertErrors): adjust
16361         (setCursorFromRow): adjust
16362         * BufferView_pimpl.C (restorePosition): adjust
16363         * lyxfunc.C (Dispatch): adjust
16364         * undo_funcs.C (textUndo): adjust
16365         (textRedo): adjust
16366         (textHandleUndo): adjust
16367         (textHandleUndo): adjust
16368
16369 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16370
16371         * buffer.C: up' the LYX_FORMAT
16372
16373         * lyxfont.h: turn NO_LATEX on as default
16374
16375         * buffer.C (insertErtContents): new methods of tex style compability.
16376         (parseSingleLyXformat2Token): use it several places.
16377         * tabular.C (OldFormatRead): and here
16378
16379 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16380
16381         * text2.C: remove some commented code.
16382         reindent file.
16383
16384         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16385         * trans.C: changes because of the above.
16386
16387 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16388
16389         * text2.C (setCounter): Fix counters bug with bibliography layout.
16390
16391 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16392
16393         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16394         own member functions
16395         (simpleTeXSpecialChars): ditto
16396
16397 2001-07-06  Juergen Vigna  <jug@sad.it>
16398
16399         * a lot of files: changed the access to LyXText::status and the
16400         call of undo-functions.
16401
16402         * undo.[Ch]: added a inset_id to the undo informations.
16403
16404         * undo_funcs.[Ch]: added and moved here all undo functions.
16405
16406         * lyxtext.h: give the status enum a weight, made status_ a private
16407         variable and made accessor functions for it, removed the whole bunch
16408         of undo-functions as they are now in their own file, make some
16409         functions publically available. Added function ownerParagraph with
16410         int parameter.
16411
16412         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16413         made InInset() a const function, added getParFromID() function.
16414
16415         * buffer.[Ch]: added const version for inset_iterator functions,
16416         added getInsetFromID() function.
16417
16418         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16419         changed undo functions for new version.
16420
16421 2001-07-05  Juergen Vigna  <jug@sad.it>
16422
16423         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16424         unknow mechanism does not call the proper constructor but only this
16425         one also if I request the other!?
16426
16427 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16428
16429         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16430
16431         * text2.C (LyXText): use initialization lists.
16432
16433         * lyxtext.h (Selection): initialize set_ and mark_
16434         (init): remove method
16435
16436 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16437
16438         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16439
16440 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16441
16442         * screen.[Ch]: change method names to begin with lowercase
16443
16444         * BufferView_pimpl.C (updateScrollbar): simplify further and
16445         hopefully make it a bit faster.
16446
16447 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16448
16449         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16450         calling directly xforms functions.
16451
16452         * Painter.C (Painter):
16453         * lyx_cb.C (MenuWrite):
16454         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16455         fl_display.
16456
16457         * lyx_gui.C: remove bogus guiruntime extern declaration.
16458
16459 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16460
16461         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16462         in NEW_INSETS
16463         (redoDrawingOfParagraph): ditto
16464         (redoParagraphs): ditto
16465         (cutSelection): don't create a object for CutAndPaste use the
16466         static method directly
16467         (pasteSelection): ditto
16468
16469         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16470         LyXview (+ rename)
16471
16472 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16473
16474         * modifications to some other files because of this.
16475
16476         * Makefile.am (lyx_SOURCES): add XFormsView
16477
16478         * XFormsView.[Ch]: new files
16479
16480         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16481         the main window. Move the gui dependent stuff to XFormsView
16482
16483 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16484
16485         * tabular.C (GetCellInset): update cur_cell also in the row/col
16486         version of this function.
16487
16488         * lyxfunc.C: no need to include figure_form.h here.
16489
16490         * FontLoader.h:
16491         * lyxfunc.h:
16492         * lyxscreen.h:
16493         * text2.C:
16494         * lyxvc.C: no need to include forms.h here.
16495
16496 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16497
16498         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16499
16500         * lyxfunc.C (Dispatch):
16501         * Spacing.C (set):
16502         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16503         constructor argument.
16504
16505 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16506
16507         * paragraph.C (Paragraph): dont't clear, and just set layout.
16508         (makeSameLayout): use params's copy contructor.
16509
16510         * ParagraphParameters.[Ch] (makeSame): delete method
16511
16512 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16513
16514         * Variables.[Ch]: fix indentation, rename set to isSet
16515
16516 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16517
16518         * lyxfunc.C (Dispatch): fix typo
16519
16520 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16521
16522         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16523         upper_bound.
16524
16525         * bufferlist.C: include assert.h for emergencyWrite().
16526
16527 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16528
16529         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16530           give up at last (bug #425202) !
16531
16532 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16533
16534         * lyx_gui_misc.C:
16535         * sp_form.h:
16536         * sp_form.C:
16537         * spellchecker.h:
16538         * spellchecker.C: strip spellchecker options and bring up
16539           preferences tab instead
16540
16541 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16542
16543         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16544         the istringstream constructor
16545
16546 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16547
16548         * paragraph.C (getLayout): fix return value
16549
16550         * paragraph.h: do not declare getLayout as inline.
16551
16552         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16553
16554 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16555
16556         * lyxcursor.h (operator<): new func
16557         (operator>): new func
16558         (operator>=): new func
16559         (operator<=): new func
16560
16561         * text.C (changeCase): use selection.start and selection.end
16562         (changeRegionCase): require from to be <= to. Require par to be a
16563         valid paragraph.
16564
16565         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16566
16567 2001-06-27  Juergen Vigna  <jug@sad.it>
16568
16569         * text.C (cursorLeftOneWord): changed to return the cursor and added
16570         overlay with BufferView * parameter which calls this one.
16571         (getWord): added
16572         (selectWord): use new getWord function.
16573         (changeCase): renamed from changeWordCase as and extended to work
16574         also on selections.
16575
16576         * lyxtext.h: added enum word_location
16577
16578         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16579         changeCase as this operates now also on selections.
16580
16581 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16582
16583         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16584
16585         * many files: send debug output to Debug::INFO instead of
16586         Debug::ANY.
16587
16588         * converter.C (View):
16589         (Convert):
16590         (Move): send debug output to Debug::FILES instead of console.
16591
16592 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16593
16594         * lyxfunc.C (getStatus): use func_status
16595
16596         * func_status.h: new header, describing the results of
16597         LyXFunc::getStatus;
16598
16599         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16600         LFUN_MATH_HALIGN.
16601
16602 2001-06-25  The LyX Project  <jug@sad.it>
16603
16604         * buffer.C (sgmlOpenTag):
16605         (sgmlCloseTag):
16606         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16607
16608 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16609
16610         * text2.C: remove some dead code
16611
16612         * tabular.C (GetCellInset): store the last cell checked (gotten)
16613
16614         * tabular.h: add the helper for the speedup
16615
16616         * lyxtext.h: remove some dead code
16617
16618 2001-06-26  The LyX Project  <Asger>
16619
16620         * paragraph.C: Change export to LaTeX of alignment to
16621         \begin{center} and family for better roundtrip work with reLyX.
16622
16623         * Tune the math drawing a bit.
16624
16625 2001-06-25  The LyX Project  <Asger>
16626
16627         * LColor.C (LColor): New color for math background. New color
16628         for buttons.
16629
16630 2001-06-25  The LyX Project  <jug@sad.it>
16631
16632         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16633
16634         * lyxfunc.C (Open):
16635         * bufferlist.C (newFile): do not restrict to files ending with
16636         .lyx
16637
16638         * BufferView_pimpl.C (MenuInsertLyXFile):
16639
16640 2001-06-24  The LyX Project  <jug@sad.it>
16641
16642         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16643         of compare_no_case
16644
16645 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16646
16647         * lyxtext.h: rename most methods to begin with a small char.
16648         Lots of changes because of this.
16649
16650         * paragraph.C (Paragraph): do not call fitToSize
16651         (erase): call Pimpl::erase
16652         (insertChar): call Pimpl::insertChar
16653         (insertInset): call Pipl::insertInset
16654         (breakParagraph): do not call fitToSize
16655         (breakParagraphConservative): do not call fitToSize
16656         (fitToSize): remove method
16657
16658         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16659
16660 2001-06-24  The LyX Project  <Asger>
16661
16662         * Fix Qt compilation^2
16663
16664 2001-06-24  The LyX Project  <jug@sad.it>
16665
16666         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16667         depthHook(getDepth()-1).
16668
16669         * paragraph.h:
16670         * ParagraphParameters.h:
16671         * ParameterStruct.h: change type of depth to unsigned int ==
16672         depth_type. Many adaptations to other files before of that.
16673
16674 2001-06-24  The LyX Project  <Asger>
16675
16676         * Fix Qt compilation.
16677
16678 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16679
16680         * paragraph.h: renamed several methods to begin with small letter.
16681         several changes to many parts of the code because of this.
16682
16683 2001-06-23  The LyX Project  <jug@sad.it>
16684
16685         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16686         rewritten to discard all double spaces when KeepEmpty is off
16687         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16688         to only handle newlines but not fiddle with spaces and friends.
16689
16690         * lyxfunc.C (MenuNew): when doing 'new from template', use
16691         template_path as default directory
16692
16693 2001-06-23  The LyX Project  <Asger>
16694
16695         * Clean-up of header file includes all over
16696         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16697
16698 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16699
16700         * paragraph.h: renamed from lyxparagraph.h
16701
16702 2001-06-23  Asger  <lyx@violet.home.sad.it>
16703
16704         * Buffer.h: Removed Buffer::resize
16705         * BufferList.h: Removed BufferList::resize
16706         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16707         the document lazily when we change the width, or the font settings.
16708
16709 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16710
16711         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16712
16713 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16714
16715         * buffer.h: remove out of date comment
16716
16717 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16718
16719         * lyxscreen.h:
16720         * screen.C: fix "theoretical" GC leak
16721
16722 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16723
16724         * LaTeX.C (scanAuxFile):
16725         (deplog): remove trailing \r when reading stream (useful under
16726         win32)
16727
16728 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16729
16730         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16731         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16732         and BufferView::theLockingInset(Inset*), so should use them and not
16733         access bv_->text->the_locking_inset directly.
16734
16735         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16736
16737 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16738
16739         * Makefile.am:
16740         * tex-defs.h: remove old unused file
16741
16742 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16743
16744         * BufferView_pimpl.C: fix typo, remove minibuffer message
16745           when buffer has loaded
16746
16747 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16748
16749         * lyxfunc.C (Dispatch): use stringstream
16750         (MenuNew): use stringstream
16751         (Open): use stringstream
16752
16753         * importer.C (Import): use stringstream
16754
16755         * bufferview_funcs.C (CurrentState): use stringstream
16756
16757         * LaTeX.C (run): use stringstream
16758
16759         * BufferView_pimpl.C (savePosition): use stringstream
16760         (restorePosition): use stringstream
16761         (MenuInsertLyXFile): use stringstream
16762
16763 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16764
16765         * BufferView.C:
16766         * Bullet.C:
16767         * ColorHandler.C:
16768         * FontInfo.C:
16769         * FontLoader.C:
16770         * LColor.C:
16771         * LaTeXFeatures.C:
16772         * Painter.C:
16773         * gettext.C:
16774         * lyx_gui_misc.C:
16775         * lyxserver.C:
16776         * vspace.C: removed // -*- C++ -*- as first line.
16777
16778         * lyxfind.h:
16779         * version.h: added // -*- C++ -*- as first line.
16780
16781 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16782
16783         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16784
16785         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16786         of string
16787
16788 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16789
16790         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16791         of floats.
16792
16793 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16794
16795         * gettext.C: include LString.h even when --disable-nls is on.
16796
16797 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16798
16799         * converter.h (Get): changed argument type from int to
16800         FormatList::size_type to avoid unnecessary conversion.
16801
16802         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16803         before using it.
16804
16805 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16806
16807         * gettext.h: include LString.h even when --disable-nls is on.
16808
16809 2001-06-07  Juergen Vigna  <jug@sad.it>
16810
16811         * text.C (BreakAgain): subst spaces with tabs.
16812
16813         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16814         (resizeInsetsLyXText): set force on resizeLyXText.
16815
16816 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16817
16818         * gettext.h (gettext_init):
16819         (locale_init): use a real definition instead of a macro
16820
16821 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16822
16823         * Bufferview_pimpl.C:
16824         * LColor.h:
16825         * LColor.C: further lcolor tidies
16826
16827 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16828
16829         * BufferView_pimpl.C (updateScrollbar): simplify.
16830
16831         * BufferView2.C: don't include insets/insetinfo.h, change
16832         prototype for insertInset and call the Pimpl version. let
16833         updateInset call Pimpl version.
16834
16835         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16836         gotoInset to BufferView::Pimpl
16837
16838 2001-06-01  Juergen Vigna  <jug@sad.it>
16839
16840         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16841         inside a LockingInset (is the update needed at all?).
16842
16843 2001-05-31  Juergen Vigna  <jug@sad.it>
16844
16845         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16846         here not the old one otherwise how should we compare it afterwards
16847         if it's the same!
16848
16849 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16850
16851         * lyxfont.C:
16852         * tabular.C:
16853         * tabular-old.C:
16854         * FontInfo.C: bring C functions into global namespace when
16855         necessary
16856
16857 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16858
16859         * LString.h: make sure config.h has been loaded before LString.h.
16860
16861         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16862         (one for each char read by EatLine!).
16863
16864         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16865         variables.
16866
16867 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16868
16869         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16870         to the same as the par we break from
16871
16872 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16873
16874         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16875
16876         * MenuBackend.C (expand): also create menu entries for wide
16877         versions of the floats.
16878
16879         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16880
16881         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16882
16883         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16884         frontends/Makefile.am
16885
16886         * text2.C: adjust
16887         * text.C: adjust
16888
16889
16890         * tabular.C (getTokenValue): add std::
16891
16892         * tabular-old.C (getTokenValue): add std::
16893         (getTokenValue): ditto
16894         (getTokenValue): ditto
16895
16896         * screen.C (ToggleSelection): adjust
16897
16898         * lyxtext.h: put selection cursors inside a Selection struct.
16899
16900         * lyxfunc.C (moveCursorUpdate): adjust
16901
16902         * lyxfont.C (latexWriteStartChanges): add std::
16903
16904         * lyxfind.C: adjust
16905
16906         * font.h: delete with(char const *, LyXFont const &)
16907
16908         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16909
16910         * FontInfo.C (getFontname): add std::
16911
16912         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16913         (workAreaButtonPress): adjust
16914         (tripleClick): adjust
16915         (update): adjust
16916         (moveCursorUpdate): adjust
16917         (Dispatch): adjust
16918
16919         * BufferView2.C (gotoInset): adjust
16920
16921 2001-05-30  Juergen Vigna  <jug@sad.it>
16922
16923         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16924         to check pspell I add this as default as I now have new pspell
16925         libraries and they seem to use this.
16926
16927 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16928
16929         * text2.C (CutSelection): make the cursor valid before the call to
16930         ClearSelection.
16931
16932 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16933
16934         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16935         relied on 0 terminated strings and other horrors. Bug found due to
16936         the new assert in lyxstring!
16937
16938         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16939         KP_ keys.
16940
16941 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16942
16943         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16944         to latinkeys.bind.
16945
16946         * lyxfunc.C (processKeySym): change method of getting to the
16947         self-insert char.
16948
16949         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16950         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16951         * BufferView_pimpl.[Ch]: here as private methods.
16952
16953 2001-05-28  Juergen Vigna  <jug@sad.it>
16954
16955         * text.C (SetHeightOfRow): added the update() call again as it is
16956         needed to initialize inset dimensions!
16957
16958 2001-05-16  Juergen Vigna  <jug@sad.it>
16959
16960         * text2.C (SetCharFont): Add new function with BufferView * and
16961         bool toggleall parameters for setting insets internal fonts.
16962         (SetFont): Freeze the undo as we may change fonts in Insets and
16963         all this change should be inside only one Undo!
16964
16965         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16966         setting font's in insets as for them we have the SetFont function!
16967
16968 2001-05-15  Juergen Vigna  <jug@sad.it>
16969
16970         * text2.C (ClearSelection): to be sure we REALLY don't have any
16971         selection anymore!
16972
16973         * tabular.C (TeXCellPreamble): fixed the left border problem for
16974         multicolumn cells.
16975
16976 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16977
16978         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16979         dependancy file
16980
16981 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16982
16983         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16984         LFUN_BREAKPARAGRAPH.
16985
16986         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16987         help test to "internal only", similar for LFUN_INSERT_URL
16988
16989         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16990         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16991         auto_region_delete and deadkeys.
16992
16993 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16994
16995         * LColor.h:
16996         * LColor.C: remove some dead entries, tidy a little
16997
16998 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16999
17000         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17001         commented code.
17002         (Dispatch): implement LFUN_ESCAPE
17003
17004         * commandtags.h: add LFUN_ESCAPE
17005
17006         * LyXAction.C (init): add entry for LFUN_ESCAPE
17007
17008         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17009         Remove commented code.
17010         (insertNote): moved here
17011         (open_new_inset): moved here
17012
17013         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17014         BufferView_pimpl
17015
17016 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17017
17018         * kbmap.C (findbinding): clean it up and make it work correctly.
17019
17020         * lyx_main.C (init): do not pass argc and argv as parameters
17021
17022 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17023
17024         * buffer.C: fix path for OS/2 & Win32
17025
17026         * lyx_gui.C:
17027         * lyx_main:
17028         * lyx_main.C: Added os:: class.
17029
17030         * os2_defines.h: update
17031
17032 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17033
17034         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17035         better by trying again with reduced state.
17036
17037 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17038
17039         * lyxrc.C (read): print error about invalid key sequence only when
17040         debugging (because not all latinX keysyms are known to some X
17041         servers)
17042
17043         * kbsequence.C (getiso): add a few std:: qualifiers
17044         (getiso): comment out extra return statement.
17045
17046 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17047
17048         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17049         handling.
17050         (Dispatch): enhance the accent inset a bit. (not perfect)
17051
17052 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17053
17054         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17055
17056 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17057
17058         * bufferlist.C (emergencyWrite): fix assert() call
17059
17060 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17061
17062         * text.C (InsertChar): Added trivial patch to only send the "you
17063         can not do multiple spaces this way" message once during a
17064         session.
17065
17066 2001-05-08  Baruch Even  <baruch@lyx.org>
17067
17068         * Makefile.am: Changed order of libraries to get LyX to link properly
17069         with the gnome frontend.
17070
17071 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17072
17073         * LaTeXFeatures.h: add a std:: qualifier
17074
17075 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17076
17077         * paragraph.C (String): use stringstream
17078
17079 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17080
17081         * paragraph.C (writeFile): remove footflag arg
17082
17083         * buffer.C (makeLaTeXFile): use stringstream
17084         (latexParagraphs): remove footnot gurba
17085
17086         * LaTeXFeatures.C (getPackages): use stringstream
17087         (getMacros): likewise
17088         (getTClassPreamble): likewise
17089         (getFloatDefinitions): new method
17090
17091         * paragraph.C (writeFile): reindent
17092         (Erase): reindent
17093
17094         * WorkArea.h: revert the xpos + etc changes.
17095
17096         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17097
17098         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17099
17100         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17101         (pasteSelection): likewise
17102         * text2.C (CreateUndo): likewise
17103
17104 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17105
17106         * minibuffer.C (peek_event): temporarily reduce the functionality
17107         of the minibuffer (to allow args on lfuns)
17108
17109         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17110         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17111
17112         * buffer.C (readInset): add compability reading of old float
17113         lists, add reading of new style float list.
17114         (readInset): avoid reevaluation of inscmd.getCmdName()
17115         (getLists): reindent
17116
17117         * MenuBackend.C (MenuItem): implement parsing of
17118         md_floatlistinsert and md_floatinsert.
17119         (expand::LastFiles): move initalizaton of iterators out of loop,
17120         avoid reevaluation.
17121         (expand::Documents): introduce typdedef vector<string> Strings,
17122         and use it.
17123         (expand::ExportFormats): introduce typedef vector<Format const *>
17124         Formats, and use it.
17125         (expand): implement FloatListInsert and FloatInsert.
17126
17127         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17128         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17129         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17130
17131         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17132         handling.
17133         (Dispatch::LFUN_FLOAT_LIST): implement
17134
17135 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17136
17137         * LaTeX.C (run): Fix problem with --export code.
17138
17139 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17140
17141         * BufferView.[Ch] (workarea): removed.
17142         (getClipboard) new method; wrapper for workarea()->getClipboard()
17143
17144         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17145         bug.
17146
17147         * WorkArea.h (width, height, xpos, ypos): These methods all
17148         returned the dimensions of the work_area sub-area of WorkArea,
17149         resulting in a position error if the WorkArea were resized. Now
17150         return the dimensions of the entire WorkArea.
17151
17152         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17153
17154 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17155
17156         * LaTeX.C (deplog): correct the syntax of regex reg1
17157
17158 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17159
17160         * undo.C: remove !NEW_INSETS cruft
17161
17162 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17163
17164         * text2.C: remove !NEW_INSETS cruft
17165
17166         * text.C: remove !NEW_INSETS cruft
17167
17168         * tabular.C: remove !NEW_INSETS cruft
17169
17170         * spellchecker.C: remove !NEW_INSETS cruft
17171
17172         * lyxtext.h: remove !NEW_INSETS cruft
17173
17174         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17175
17176         * lyxfunc.C: remove !NEW_INSETS cruft
17177
17178         * lyxfind.C: remove !NEW_INSETS cruft
17179
17180         * lyx_cb.C: remove !NEW_INSETS cruft
17181
17182         * figureForm.C: remove  !NEW_INSETS cruft
17183
17184         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17185
17186         * buffer.[Ch]: remove !NEW_INSETS cruft
17187
17188         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17189
17190         * CutAndPaste.C: remove !NEW_INSETS cruft
17191
17192         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17193
17194         * BufferView2.C: remove !NEW_INSETS cruft
17195
17196         * BufferView.h: remove !NEW_INSETS cruft
17197
17198 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17199
17200         * Lsstream.h: include LString.h before the sstream headers to
17201         fix problem with gcc 2.95.3 and lyxstring
17202
17203 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17204
17205         * lyx_main.C: add using directives when needed for C functions
17206         declared in std:: namespace.
17207
17208 2001-04-27  Juergen Vigna  <jug@sad.it>
17209
17210         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17211         (SetHeightOfRow): comment out the update call should not be needed!
17212
17213 2001-04-13  Juergen Vigna  <jug@sad.it>
17214
17215         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17216         (LyXTabular): tried to minimize operator= operations (and realized
17217         hopfully Lars wish).
17218
17219 2001-04-27  Juergen Vigna  <jug@sad.it>
17220
17221         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17222
17223 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17224
17225         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17226
17227         * buffer.C (readInset): hack to make listof algorithm work
17228
17229         * BufferView_pimpl.C: hack to make listof algorithm work
17230
17231 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17232
17233         * LyXAction.C: removed all !NEW_INSETS cruft
17234         (init): moved lfun_item in method
17235
17236         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17237
17238 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17239
17240         * BufferView2.C (theLockingInset): white space.
17241
17242 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17243
17244         * minibuffer.C: include <iostream>
17245
17246         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17247
17248         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17249
17250         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17251
17252         * text.[Ch] (TransposeChars): new method
17253
17254 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17255
17256         * call message directly through LyXView instead of through LyXFunc
17257         * BufferView2.C: adjust
17258         * BufferView_pimpl.C: adjust
17259         * FontLoader.C: adjust
17260         * buffer.C: adjust
17261         * bufferview_funcs.C: adjust
17262         * converter.C: adjust
17263         * figureForm.C: adjust
17264         * importer.C: adjust
17265         * lyx_cb.C: adjust
17266         * lyx_gui_misc.C: adjust
17267         * lyxfunc.C: adjust
17268         * lyxvc.C: adjust
17269         * text2.C: adjust
17270         + more files in subdirs
17271
17272         * lyxparagraph.h (size): move up int file
17273         (GetLayout): ditto
17274
17275         * adjust all uses of Assert to lyx::Assert.
17276
17277         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17278         lyxfunctional in namespace lyx
17279         * layout.C (hasLayout): ditto
17280         (GetLayout): ditto
17281         (GetLayout): ditto
17282         (delete_layout): ditto
17283         (NumberOfClass): ditto
17284         * converter.C (GetFormat): ditto
17285         (GetNumber): ditto
17286         (Add): ditto
17287         (Delete): ditto
17288         (SetViewer): ditto
17289         * bufferlist.C (getFileNames): ditto
17290         (emergencyWriteAll): ditto
17291         (exists): ditto
17292         (getBuffer): ditto
17293         * MenuBackend.C (hasSubmenu): ditto
17294         (hasMenu): ditto
17295         (getMenu): ditto
17296         * BufferView_pimpl.C (getInsetByCode): ditto
17297
17298 2001-04-18  Juergen Vigna  <jug@sad.it>
17299
17300         * vspace.C (asLatexString): fixed the 100% problem.
17301
17302 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17303
17304         * lyxfunc.C (Dispatch):
17305         * minibuffer.C:
17306         * minibuffer.h: add a few std:: qualifiers
17307
17308 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17309
17310         * minibuffer.[Ch]: reimplement so that commands is initiated and
17311         run from lyxfunc, simplified som handling, and made the completion
17312         and history code for complete. wip.
17313
17314         * lyxfunc.C (processKeySym): call message
17315         (miniDispatch): new temporary method
17316         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17317         (LFUN_MESSAGE): implement
17318         (LFUN_MESSAGE_PUSH): implement
17319         (LFUN_MESSAGE_POP): implement
17320         (initMiniBuffer): the initial/defualt minibuffer message.
17321
17322         * lyxfont.[Ch]: inline some more getters
17323
17324         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17325
17326         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17327
17328         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17329         (AutoSave): use LFUN_MESSAGE
17330         (Reconfigure): ditto
17331
17332         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17333
17334         * figureForm.C: use LFUN_MESSAGE
17335
17336         * converter.C (runLaTeX): use LFUN_MESSAGE
17337
17338         * bufferview_funcs.C: use LFUN_MESSAGE
17339         (Melt): ditto
17340         (changeDepth): ditto
17341
17342         * bufferparams.h: use boost::
17343
17344         * bufferlist.h: inherit privately from noncopyable
17345
17346         * bufferlist.C (loadLyXFile): remove some commented code.
17347
17348         * buffer.C (runChktex): use LFUN_MESSAGE
17349
17350         * ShareContainer.h: inherit privately from noncopyable
17351
17352         * ParagraphParameters.[hC] (depth): inline it.
17353
17354         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17355         methods.
17356         (message): new method
17357         (messagePush): ditto
17358         (messagePop): ditto
17359         (show): init minibuffer
17360         (showState): direct call
17361
17362         * LaTeX.[Ch]: inherit privately from noncopyable
17363         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17364         instead of WriteStatus.
17365
17366         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17367
17368         * BufferView_pimpl.C (buffer): don't init minibuffer
17369         (workAreaButtonPress): use LFUN_MESSAGE
17370         (workAreaButtonRelease): ditto
17371         (savePosition): ditto
17372         (restorePosition): ditto
17373         (MenuInsertLyXFile): ditto
17374         (workAreaExpose): don't init minibuffer
17375         (update): remove commented code, simplify
17376
17377         * BufferView2.C (openStuff): use LFUN_MESSAGE
17378         (toggleFloat): ditto
17379         (menuUndo): ditto
17380         (menuRedo): ditto
17381         (copyEnvironment): ditto
17382         (pasteEnvironment): ditto
17383         (copy): ditto
17384         (cut): ditto
17385         (paste): ditto
17386         (gotoInset): ditto
17387         (updateInset): remove some commented code
17388
17389         * lastfiles.h: inherit privately from noncopyable
17390         * layout.h: ditto
17391         * lyx_gui.h: ditto
17392         * lyx_main.h: ditto
17393         * lyxlex.h: ditto
17394         * lyxlex_pimpl.h: ditto
17395
17396         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17397         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17398         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17399
17400         * LyXAction.h: inherit privately from noncopyable, add methods
17401         func_begin, func_end, returning iterators to the func map.
17402
17403         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17404         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17405         (func_begin): new method
17406         (func_end): new method
17407
17408         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17409         and not)
17410         (copySelection): ditto
17411         (pasteSelection): ditto
17412
17413         * BufferView.C: whitespace change
17414         * BufferView.h: inherit privately from noncopyable
17415
17416 2001-04-16  Allan Rae  <rae@lyx.org>
17417
17418         * tabular-old.C (l_getline):
17419         * spellchecker.C (sc_check_word):
17420         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17421         an unrecognised preprocessor directive.  So ensure they're wrapped.
17422
17423 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17424
17425         * src/exporter.C (Export): Give an error message when path to file
17426         contains spaces.
17427
17428 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17429
17430         * LaTeX.C (deplog): Always check that foundfile exists.
17431
17432 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17433
17434         * lyx_main.h:
17435         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17436
17437 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17438
17439         * tabular.[Ch] (getLabelList): implement new method
17440
17441         * minibuffer.h: comment ouf setTiimer
17442
17443         * minibuffer.C (ExecutingCB): constify res
17444         (peek_event): constify s
17445         (Set): constify ntext
17446         (Init): constify nicename
17447
17448         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17449
17450         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17451         (savePosition): use two params to Minibuffer::Set
17452         (restorePosition): ditto
17453
17454 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17455
17456         * lyx_main.C: include language.h
17457
17458         * Makefile.am (lyx_main.o): add language.h
17459
17460 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17461
17462         * exporter.C:
17463         * paragraph.C:
17464         * screen.C:
17465         * tabular.C:
17466         * CutAndPaste.C: include gettext.h
17467
17468         * lyxfont.h: remove old hack with ON and OFF.
17469
17470         * lyxparagraph.h:
17471         * lyxfont.h: do not include language.h...
17472
17473         * BufferView2.C:
17474         * LaTeXFeatures.C:
17475         * Painter.C:
17476         * bufferview_funcs.C:
17477         * font.C:
17478         * lyxfont.C:
17479         * text.C:
17480         * text2.C:
17481         * trans_mgr.C:
17482         * paragraph.C: ... but do it here instead
17483
17484 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17485
17486         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17487
17488         * tabular.C: small reformat
17489
17490         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17491         NEW_INSETS version
17492         (GetChar): ditto
17493         (BreakParagraph): ditto
17494         (SetOnlyLayout): ditto
17495         (SetLayout): ditto
17496
17497         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17498         with one arg less.
17499
17500         * lastfiles.C: removed most using decl, add std:: where needed
17501
17502         * buffer.C: ws changes
17503
17504         * MenuBackend.C (class compare_format): put into anon namespace
17505         (expand): constify label, names, action, action2
17506         (expand):
17507
17508         * text.C (SingleWidth): constify font
17509         (IsBoundary): constify rtl2
17510         (GetVisibleRow): constify ww
17511
17512         * LaTeX.C (deplog): constify logfile
17513
17514         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17515         start_x, end_x
17516         (workAreaExpose): constify widthChange, heightChange
17517
17518         * lyxrow.C (par): moved
17519         (height): moved
17520         (next): moved
17521         * lyxrow.h: as inlines here
17522
17523         * lyxfont.h (shape): moved from lyxfont.C
17524         (emph): moved from lyxfont.C
17525
17526         * lyxfont.C (LyXFont): use initialization list for all
17527         constructors
17528         (shape): move to lyxfont.h as inline
17529         (emph): move to lyxfont.h as inline
17530
17531
17532 2001-04-04  Juergen Vigna  <jug@sad.it>
17533
17534         * vspace.C: had to include stdio.h for use of sscanf
17535
17536 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17537
17538         * BufferView.h:
17539         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17540         independent of xforms.
17541
17542 2001-04-02  Juergen Vigna  <jug@sad.it>
17543
17544         * spellchecker.C: fixed namespace placing!
17545
17546 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17547
17548         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17549         the LyXParagraph * is 0.
17550
17551 2001-03-29  Juergen Vigna  <jug@sad.it>
17552
17553         * vspace.C: added support for %, c%, p%, l%.
17554         (stringFromUnit): added helper function.
17555         (asLatexString): changed to give right results for the %-values.
17556
17557         * buffer.C: convert the widthp in a width%.
17558
17559 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17560
17561         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17562         figureForm.[Ch].
17563
17564         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17565         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17566
17567         * lyx_cb.[Ch]: see above.
17568
17569         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17570         form1.[Ch].
17571
17572         * form1.[Ch]:
17573         * lyx.[Ch]: replaced by figure_form.[Ch].
17574
17575         * lyx_gui.C:
17576         * lyx_gui_misc.C:
17577         * lyxfunc.C: changed headers associated with above changes.
17578
17579 2001-03-27  Juergen Vigna  <jug@sad.it>
17580
17581         * BufferView_pimpl.C: set the temporary cursor right!
17582
17583 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17584
17585         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17586
17587 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17588
17589         * LString.h: removed "using std::getline"!
17590
17591         * BufferView_pimpl.C (Dispatch): changes due to changes in
17592         InsetInclude::Params.
17593
17594         * buffer.C (tag_name): removed redundant break statements as they were
17595         producing lots of warnings with my compiler.
17596
17597 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17598
17599         * LString.h: add "using std::getline" when using the real <string>.
17600
17601 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17602
17603         * buffer.C: removed bitset usage.
17604         PAR_TAG moved to an anonymous name space.
17605         (tag_name): new funtion, also in the anonymous namespace.
17606         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17607         (makeDocBookFile): clean code. Completed transition from string arrays
17608         to string vectors.
17609         (SimpleDocBookOnePar): code clean.
17610
17611 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17612
17613         * tabular.C: add some comments.
17614
17615 2001-03-22  Juergen Vigna  <jug@sad.it>
17616
17617         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17618         compatibility read a bit and fixed bug with minipage in different
17619         depth.
17620
17621 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17622
17623         * buffer.C (pop_tag): removed.
17624         (push_tag): removed.
17625         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17626         array replaced with vector. Added support for CDATA sections.
17627         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17628         at any nest level.
17629         (makeDocBookFile): XML conformant declaration of CDATA section,
17630         fixed bug related to <emphasis> in the first paragraph char.
17631         (sgmlOpenTag): exclude empty tags.
17632         (sgmlCloseTag): ditto.
17633
17634         * buffer.h (pop_tag): removed.
17635         (push_tag): removed.
17636
17637 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17638
17639         * language.h (Languages): added size_type and size().
17640
17641 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17642
17643         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17644         response on compability reading of minipages. One probliem is that
17645         the old usage of minipages was flertydig
17646
17647         * several files here and in subdirs: don't use static at file
17648         scope use anon namespaces instead.
17649
17650 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17651
17652         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17653         LaTeX output. This is necessary for Literate document
17654         processing.
17655
17656 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17657
17658         * buffer.C: insert hfill when needed.
17659
17660         * tabular.C (l_getline): use string::erase, small whitespace change.
17661
17662         * BufferView_pimpl.C: try the anon namespace.
17663         * WorkArea.C: ditto
17664
17665 2001-03-16  Juergen Vigna  <jug@sad.it>
17666
17667         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17668         otherwise it won't open options-dialogs.
17669
17670         * buffer.C: honor pextraWidth(p) on converting minipages.
17671
17672         * tabular.C (l_getline): changed the functions to strip trailing \r.
17673
17674 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17675
17676         * BufferView_pimpl.C:
17677         * minibuffer..C: added "using SigC::slot" declaration.
17678
17679 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17680
17681         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17682
17683         * text2.C: ditto
17684
17685         * text.C: ditto
17686
17687         * paragraph.C: ditto
17688
17689         * lyxtext.h: NO_PEXTRA
17690
17691         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17692
17693         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17694         * ParameterStruct.h: ditto
17695         * ParagraphParameters.h: ditto
17696         * lyxparagraph.h: ditto
17697
17698 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17699
17700         * buffer.C: add compability for minipage alignment.
17701         (latexParagraphs): remove unwanted pextra check.
17702
17703         * several files: remove CXX_WORKING_NAMESPACES
17704
17705         * buffer.C (pop_tag): tie is in namespace boost
17706
17707         * BufferView.h: noncopyable is in namespace boost
17708         * lyxlex.h: ditto
17709         * lyx_main.h: ditto
17710         * lyx_gui.h: ditto
17711         * layout.h: ditto
17712         * lastfiles.h: ditto
17713         * bufferlist.h: ditto
17714         * ShareContainer.h: ditto
17715         * LyXView.h: ditto
17716         * LyXAction.h: ditto
17717         * LaTeX.h: ditto
17718
17719 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17720
17721         * Merging changes from BRANCH_MVC back into HEAD.
17722
17723         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17724
17725 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17726
17727         * BufferView_pimpl.C: change from intl.C
17728
17729         * combox.h:
17730         * combox.C:
17731         * Makefile.am: move combox.*
17732
17733         * form1.h:
17734         * form1.C:
17735         * lyx_gui.C:
17736         * intl.h:
17737         * intl.C: remove dialog (covered by prefs)
17738
17739 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17740
17741         * lyxfunc.C (Dispatch): removed redundant break statement.
17742
17743 2001-03-14  Juergen Vigna  <jug@sad.it>
17744
17745         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17746
17747 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17748
17749         * buffer.C: add hack to fix compability reading of minipages.
17750
17751 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17752
17753         * buffer.C (getLists): Cleanup.
17754
17755 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17756
17757         * lyxfont.C (update): don't honor toggleall on font size.
17758
17759 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17760
17761         * bmtable.c:
17762         * bmtable.h:
17763         * Makefile.am: moved to frontends/xforms/
17764
17765         * lyx_gui_misc.C:
17766         * lyxfunc.C:
17767         * BufferView_pimpl.C: changes for moved mathpanel
17768
17769 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17770
17771         * gettext.h: fix gettext_init() in --disable-nls
17772
17773 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17774
17775         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17776
17777 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17778
17779         * lyx.C:
17780         * lyx.h: strip external form
17781
17782 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17783
17784         * BufferView_pimpl.C: add comment, destroySplash()
17785
17786 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17787
17788         * BufferView_pimpl.C:
17789         * LyXAction.C:
17790         * buffer.C:
17791         * commandtags.h:
17792         * lyxfunc.C: use re-worked insetinclude
17793
17794 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17795
17796         * buffer.C: add using std::stringstream.
17797
17798         * lyx_cb.C: readd using std::ios.
17799
17800         * buffer.C: add using std::map.
17801
17802         * BufferView_pimpl.C: add using std::vector.
17803
17804         * ShareContainer.h: add std:: to swap.
17805
17806         * buffer.h: add some typedefs
17807         * buffer.C (getLists): use them
17808         (getLists): renamed from getTocList.
17809         add a counter for the different float types and use it in the
17810         generated string.
17811         (getLists): use the same counter for the NEW_INSETS and the "non"
17812         NEW_INSETS
17813
17814         * lyx_cb.h: remove unused items, includes, using etc.
17815
17816         * ShareContainer.h: remove some commented code, add more comments
17817         and "documentation".
17818
17819 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17820
17821         * buffer.C (getTocList): make the list also when NEW_INSETS is
17822         defined.
17823
17824         * buffer.h: remove TocType
17825
17826         * buffer.C (getTocList): change to return a map<string,
17827         vector<TocItem> >, implement for dynamic number of list.
17828
17829         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17830         * text2.C (PasteSelection): adjust
17831         * CutAndPaste.C (pasteSelection): adjust
17832
17833         * FloatList.C (FloatList): update from the new_insets branch.
17834         * Floating.[Ch]: ditto
17835         * LaTeXFeatures.C: ditto
17836         * buffer.C: ditto
17837         * lyxlex_pimpl.C: ditto
17838
17839         * paragraph.C (Last): remove when NEW_INSETS is defined.
17840
17841         * other file: changes because of the above.
17842
17843 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17844
17845         * lyxparagraph.h: rename next to next_, previous to previous_,
17846         make them private for NEW_INSETS. Rename Next() to next(),
17847         Previous() to previous().
17848
17849         * other files: changes because of the above.
17850
17851 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17852
17853         * BufferView.h:
17854         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17855         problem.
17856
17857 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17858
17859         * main.C (main): pass lyx_localedir to gettext_init().
17860
17861         * gettext.h: remove locale_init and gettext_init macros
17862
17863         * gettext.C (locale_init): new function
17864         (gettext_init): new function
17865
17866         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17867         setlocale().
17868
17869 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17870
17871         * Moved credits to frontends:
17872         * credits.[Ch]: removed
17873         * credits_form.[Ch]: removed
17874         * lyx_gui_misc.C: remove credits stuff
17875         * Makefile.am:
17876
17877 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17878
17879         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17880
17881         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17882         unneeded destructor.
17883
17884         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17885         a standalone pointer again.
17886
17887         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17888
17889 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17890
17891         * Makefile.am:
17892         * filedlg.h:
17893         * filedlg.C:
17894         * LyXAction.C:
17895         * ToolbarDefaults.C:
17896         * bufferlist.C:
17897         * commandtags.h:
17898         * form1.C:
17899         * form1.h:
17900         * lyx_cb.C:
17901         * lyx_cb.h:
17902         * lyxfunc.h:
17903         * lyxfunc.C:
17904         * BufferView_pimpl.C: use new file dialog in GUII
17905
17906         * lyx_cb.h:
17907         * lyx_cb.C: remove LayoutsCB to Toolbar
17908
17909 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17910
17911         * ShareContainer.h (get): add std:: qualifier
17912
17913 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17914
17915         * ShareContainer.h: define a proper ShareContainer::value_type
17916         type (and use typename to please compaq cxx)
17917
17918 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17919
17920         * lyxparagraph.h: move serveral local vars to
17921         ParameterStruct/ParagraphParameters., use ShareContainer in
17922         FontTable., make vars in FontTable private and add getter and
17923         setter.
17924
17925         * paragraph.C: changes because of the above.
17926
17927         * lyxfont.h: remove copy constructor and copy assignment. (the
17928         default ones is ok), move number inside FontBits. move inlines to
17929         lyxfont.C
17930
17931         * lyxfont.C: add number to initializaton of statics, move several
17932         inlines here. constify several local vars. some whitespace
17933         cleanup. Dont hide outerscope variables.
17934
17935         * Spacing.h: add two new constructors to match the set methods.
17936
17937         * ShareContainer.h: new file, will perhaps be moved to support
17938
17939         * ParameterStruct.h: new file
17940
17941         * ParagraphParameters.h: new file
17942
17943         * ParagraphParameters.C: new file
17944
17945         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17946         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17947
17948         * BufferView_pimpl.C: ParagraphParameter changes.
17949         * buffer.C: Likewise.
17950         * bufferview_funcs.C: Likewise.
17951         * text.C: Likewise.
17952         * text2.C: Likewise.
17953
17954 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17955
17956         * lyxfind.C (LyXReplace): do not redefine default argument in
17957         implementation.
17958         (IsStringInText): ditto
17959         (SearchForward): ditto
17960         (SearchBackward): ditto
17961
17962 2001-03-06  Juergen Vigna  <jug@sad.it>
17963
17964         * lyxfind.C (IsStringInText): put parentes around expressions.
17965
17966 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17967
17968         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17969
17970 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17971
17972         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17973
17974         * stl_string_fwd.h: add comment
17975
17976         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17977
17978         * tabular.h:
17979         * tabular.C: remove unused DocBook methods
17980
17981         * intl.C:
17982         * language.C:
17983         * paragraph.C:
17984         * buffer.C:
17985         killed DO_USE_DEFAULT_LANGUAGE
17986
17987 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17988
17989         * lyx_gui.C: do not include language.h.
17990
17991         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17992         arguments in function implementation.
17993
17994 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17995
17996         * BufferView_pimpl.C: add <ctime>
17997
17998 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17999
18000         * BufferView_pimpl.C: add using std::find_if
18001
18002 2001-02-27  José Matos  <jamatos@fep.up.pt>
18003
18004         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18005         by OnlyPath.
18006
18007 2001-02-11  José Matos  <jamatos@fep.up.pt>
18008
18009         * buffer.C (makeDocBookFile): command styles now have a parameter as
18010         "title" by default.
18011
18012 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18013
18014         * layout_forms.[Ch]: removed
18015         * lyx_cb.[Ch]: out character
18016         * lyx_gui.C: out character
18017         * lyx_gui_misc.C: out character
18018         * bufferview_funcs.C: : out character,
18019         added toggleall as parameter in ToggleAndShow
18020
18021 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18022
18023         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18024
18025         * text2.C (SetCurrentFont): Disable number property at boundary.
18026
18027 2001-02-26  Juergen Vigna  <jug@sad.it>
18028
18029         * lyxfunc.C (getStatus): added a string argument override function so
18030         that this is correctly called from LyXFunc::Dispatch if it contains a
18031         do_not_use_argument which is used!
18032         (Dispatch): added check for "custom" export and call appropriate func.
18033
18034 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18035
18036         * lyxrc.C: Add language_command_local, language_use_babel and
18037         language_global_options.
18038
18039         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18040
18041         * buffer.C (makeLaTeXFile): Use language_use_babel and
18042         language_global_options.
18043
18044 2001-02-23  Juergen Vigna  <jug@sad.it>
18045
18046         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18047         which works with LyXText and putted it inside BufferView. Here now we
18048         only call for that part the BufferView::Dispatch() function.
18049
18050         * BufferView.C (Dispatch): added.
18051
18052         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18053         functions which needs to use a LyXText over from LyXFunc.
18054         (MenuInsertLyXFile): added
18055         (getInsetByCode): added
18056         (moveCursorUpdate): added
18057         (static TEXT): added
18058
18059 2001-02-22  Juergen Vigna  <jug@sad.it>
18060
18061         * BufferView_pimpl.C (update): call a status update to see if LyXText
18062         needs it.
18063
18064 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18065
18066         * vc-backend.C (revert): implement for CVS
18067         (getLog): implement for CVS
18068
18069 2001-02-20  Juergen Vigna  <jug@sad.it>
18070
18071         * text2.C (ClearSelection): added BufferView param for inset_owner call
18072
18073         * lyxfunc.C (TEXT): added this function and use it instead of
18074         directly owner->view()-text of getLyXText().
18075
18076 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18077
18078         * src/layout_forms.C: out preamble
18079         * src/layout_forms.h: out preamble
18080         * src/lyx_cb.C: out preamble
18081         * src/lyx_cb.h: out preamble
18082         * src/lyx_gui.C: out preamble
18083         * src/lyx_gui_misc.C: out preamble
18084         * src/lyxfunc.C: connect with guii preamble
18085
18086 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18087
18088         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18089
18090 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18091
18092         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18093         whether to run bibtex.
18094
18095 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18096
18097         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18098
18099 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18100
18101         * Makefile.am (lyx_SOURCES): removed bibforms.h
18102
18103         * vspace.h: doxygen
18104
18105         * text.C (GetVisibleRow): make several local vars const
18106
18107         * tabular.C: small cleanup.
18108
18109         * lyxserver.C (callback): use compare instead of strncmp
18110
18111         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18112         inlines to after class or to paragraph.C
18113
18114         * lyxfont.h: remove friend operator!=
18115
18116         * converter.h: move friend bool operator< to non friend and after
18117         class def.
18118
18119         * combox.h: small cleanup
18120
18121         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18122         to inlines after class def.
18123
18124         * buffer.C (pop_tag): use string operations instead of strcmp
18125
18126         * bmtable.c: doxygen, small cleanup
18127
18128         * LaTeX.h: remove friend operator==
18129
18130 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18131
18132         * screen.C:
18133         * lyxrc.[Ch]:
18134         * lyxfunc.C:
18135         * lyxfont.[Ch]:
18136         * lyx_cb.C:
18137         * intl.[Ch]:
18138         * commandtags.h:
18139         * buffer.C:
18140         * WorkArea.[Ch]:
18141         * LyXAction.C:
18142         * BufferView_pimpl.C:
18143         * BufferView.[Ch]: remove cruft
18144
18145 2001-02-14  Juergen Vigna  <jug@sad.it>
18146
18147         * lyxfunc.C: removed #if 0 unused code
18148
18149         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18150
18151         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18152
18153         * text2.C (SetSelection): added a BufferView * parameter
18154
18155 2001-02-13  Juergen Vigna  <jug@sad.it>
18156
18157         * lyxfunc.C (Dispatch): fixed protected blank problem.
18158         * BufferView2.C (protectedBlank): added LyxText * parameter.
18159
18160         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18161         (AppendColumn): same as above for column_info.
18162
18163         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18164         (moveCursorUpdate): use a LyXText param for support of InsetText.
18165
18166         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18167         (tripleClick): ditto
18168
18169         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18170
18171         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18172
18173         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18174
18175         * text2.C (SetSelection): set correct update status if inset_owner
18176         (ToggleFree): ditto
18177
18178 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18179
18180         * tabular.C: remove some commented code.
18181
18182 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18183
18184         * BufferView_pimpl.C: call hideSplash()
18185
18186         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18187
18188         * include_form.h:
18189         * bibforms.h: remove
18190
18191         * lyxfunc.C:
18192         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18193           add LFUN_CHILD_CREATE
18194
18195         * counters.h: fix tiny typo
18196
18197         * lyx_cb.C:
18198         * lyx.h:
18199         * lyx_gui.C:
18200         * lyx.C: move splash to frontends/xforms/
18201
18202         * lyx_gui_misc.C: move Include and Bibform to frontends
18203
18204         * lyxvc.h: clarify comment
18205
18206         * vspace.C: tiny housekeeping
18207
18208 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18209
18210         * text.C (PrepareToPrint): RTL Fix.
18211
18212         * paragraph.C (GetUChar): New method.
18213         (String):  Use GetUChar.
18214
18215         * buffer.C (asciiParagraph): Use GetUChar.
18216
18217 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18218
18219         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18220
18221 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18222
18223         * buffer.h:
18224         * buffer.C: rename to getLogName(), handle
18225           build log / latex log nicely
18226
18227 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18228
18229         * MenuBackend.C:
18230         * MenuBackend.h: remove support for reference menuitem type.
18231
18232 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18233
18234         * BufferView_pimpl.C: housekeeping
18235         * BufferView_pimpl.h:
18236         * LyXView.h:
18237         * Makefile.am:
18238         * Timeout.C:
18239         * Timeout.h:
18240         * minibuffer.h: move Timeout GUI-I
18241
18242 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18243
18244         * lyxrc.C (read): Update converters data-structures.
18245
18246 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18247
18248         * LaTeX.h (operator!=): add operator != for Aux_Info
18249
18250 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18251
18252         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18253
18254         * LaTeXLog.C: deleted, useful code moved to Buffer
18255
18256         * buffer.h:
18257         * buffer.C: new function getLatexLogName()
18258
18259         * lyx_gui_misc.C:
18260         * lyx_gui.C:
18261         * lyxvc.C:
18262         * lyxvc.h:
18263         * lyxfunc.C: use frontends for LaTeX and VC logs
18264
18265 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18266
18267         * LaTeX.h: yet another std:: that Allan forgot.
18268
18269         * Variables.C (set): renamed from isset(), because this clashes
18270         with some HP-UX macros (grr).
18271
18272 2001-02-06  Allan Rae  <rae@lyx.org>
18273
18274         * LaTeX.h: Another bug fix.  Missing std:: this time.
18275
18276 2001-02-04  Allan Rae  <rae@lyx.org>
18277
18278         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18279         floats problem. I've left it commented out because it's not quite
18280         correct.  It should also test that the current object is a table or
18281         figure inset.  But I haven't gotten around to figuring out how to do
18282         that.  I *think* it'll be something like: "table" == inset.type()
18283
18284         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18285         bool.
18286
18287 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18288
18289         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18290         all the citation/databases/styles in the auxilary file.
18291         (run): Rerun latex if there was a babel language error.
18292
18293 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18294
18295         * text.C (Backspace): Preserve the font when changing newline char
18296         with a space.
18297         (BreakParagraph): If the cursor is before a space, delete the space.
18298
18299         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18300
18301 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18302
18303         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18304         new argument (code).
18305         (ChangeCitationsIfUnique): New method.
18306
18307         * paragraph.C (GetPositionOfInset): Handle bibkey.
18308
18309 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18310
18311         * BufferView_pimpl.h: change type of Position::par_pos to
18312         LyXParagraph::size_type.
18313
18314 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18315
18316         * BufferView_pimpl.C (savePosition, restorePosition): Write
18317         messages to minibuffer.
18318
18319 2001-01-28  José Matos  <jamatos@fep.up.pt>
18320
18321         * buffer.C (makeDocBookFile): adds support for document language.
18322         A silly restriction on the name of LatexCommand types where removed.
18323         Added support for CDATA sections, allows to chars unescaped, used
18324         among others in code, to avoid escape < and >.
18325
18326 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18327
18328         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18329         saved positions instrad of a stack. Furthermore, a position is
18330         stored using paragraph id/paragraph position.
18331
18332         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18333         Remove LFUN_REF_BACK.
18334
18335 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18336
18337         * converter.C (dvipdfm_options): New method.
18338
18339 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18340
18341         * vspace.C (isValidLength): Fix for empty input string.
18342
18343 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18344
18345         * LyXAction.C (init): change description of LFUN_FIGURE to
18346         "Insert Graphics"
18347
18348 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18349
18350         * LaTeX.C: add using directive
18351
18352 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18353
18354         * MenuBackend.C (expand): Fix the sorting of the formats.
18355
18356 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18357
18358         * lyx_main.C: tiny error message fix
18359
18360 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18361
18362         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18363         calling fl_initialize(). This fixes the problem with ',' as
18364         decimal separator in text files.
18365
18366 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18367
18368         * trans.C (process): Fix the keymap bug.
18369
18370 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18371
18372         * LaTeX.C (scanAuxFiles): New method. Provides support for
18373         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18374         (scanLogFile) Scan for "run BibTeX" messages.
18375
18376         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18377         OT1 font encoding. Also, load the aecompl package if the ae
18378         package is loaded.
18379
18380         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18381
18382 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18383
18384         * texrow.C (increasePos): turn two error messages into debug
18385         messages.
18386
18387 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18388
18389         * LaTeX.C (scanAux): Handle the \@input macro.
18390         (runBibTeX): Use scanAux().
18391
18392         * language.C (latex_options_): New field.
18393
18394         * LaTeXFeatures.C (getMacros): Add language macros.
18395
18396         * buffer.C (makeLaTeXFile): Small fix.
18397
18398 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18399
18400         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18401
18402         * text2.C: add a using directive.
18403
18404 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18405
18406         * BufferView2.C:
18407         * lyx_gui_misc.h:
18408         * lyxfr1.C:
18409         * lyxfunc.C: kill LyXBell.
18410
18411 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18412
18413         * text.C (IsBoundary): Remove the error message
18414
18415         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18416
18417         * lyxrc.C (setDefaults): Correct initialization value for
18418         font_norm_type.
18419
18420 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18421
18422         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18423         gotoError().
18424
18425         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18426         and GotoNextNote().
18427
18428         * src/LyXAction.C: Added reference-next.
18429
18430         * text.C (InsertChar): Use contains instead of strchr.
18431
18432         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18433
18434 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18435
18436         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18437         alignment commands (when needed).
18438
18439         * text.C (InsertChar): Add ':' to number separator chars.