]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix cursor coordinates in math insets [bug 2124]
[lyx.git] / src / ChangeLog
1 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
4         math insets do not return a proper editable() state yet (bug 2124).
5
6 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
9         docs containing very large paragraphs.
10
11 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * cursor.C (selectionBegin, selectionEnd):
14         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
15         cursor at different depths.
16
17 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
18
19         * bufferview_funcs.C (coordOffset): do not call cursorPos
20         for collapsed collapsables (fix bug 2094).
21
22 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * paragraph.C (fontSpan): make sure that the FontSpan does not
25         span across beginOfBody (bug 1947).
26
27 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
30
31 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
32
33         * messages.C: fix crash and localization on MinGW/Windows platform
34
35 2005-11-02  Angus Leeming  <leeming@lyx.org>
36
37         * Bidi.C:
38         * lyxtextclass.C: trivial fixes to some MSVS warnings.
39
40 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * text3.C (getStatus): re-enable disabled code. (bug 2081)
43
44         * BranchList.h (empty): constify.
45
46 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
47
48         * text3.C (getStatus): 
49         * MenuBackend.C (expandBranches): take the branch list from the
50         master document (bug 2092).
51         
52         * MenuBackend.C (expandBranches): 
53         * bufferparams.C (writeFile): use BranchList type.
54
55 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
56
57         * text3.C (dispatch, getStatus): 
58         * LyXAction.C (init): 
59         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
60
61 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
62
63         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
64
65 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * text.C (insertChar): do not reset boundary (bug 2061)
68
69 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
70
71         * dociterator.C (updateInsets): new method. Updates the inset_
72         cache of all the slices of the iterator.
73
74         * text2.C (deleteEmptyParagraphMechanism): compare also containing
75         insets when comparing pit/pos; pass the right cursor to
76         recordUndo; when a paragraph has been deleted, compare `old.top()' to
77         the right cursor slice of `cur'; use updateInsets on cur to make
78         sure that the inset caches are correct; general cleanup.
79
80 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
83         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
84         containg inset. If this does not work, the same command will be
85         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
86
87         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
88         a dispatch.
89
90 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
91
92         * lyxtextclass.C (Read): convert layout file if the format is wrong
93         * lyxtextclass.C (layout2layout): new, needed for the above
94
95 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96
97         * messages.C: do not forget to include <cerrno>.
98
99 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
100
101         * dociterator.h (StableDocIterator): add access to pos().
102         * undo.C (samePar): new method to check if two
103         iterators are in the same paragraph
104         * undo.C (recordUndo): check for samePar instead of cell identity
105         (which includes pos() and is too strict) (fixes bug 2097)
106
107 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * text.C (setCursorFromCoordinates): return a bool telling whether
110         dEPM triggered.
111
112         * text3.C (cursorPrevious): update if needed after
113         setCursorFromCoordinates (when dEPM triggered).
114
115         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
116         (otherwise the anchor may be completely wrong and make dEPM assert).
117
118 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
119
120         * buffer.C: version upgrade to 245.
121         * bufferparams.C: remove \quotes_times (bug 2090).
122         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
123         quotation marks as default.
124
125 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
126
127         * CutAndPaste.C (nrOfParagraphs): remove (unused)
128         * CutAndPaste.C (cutSelection): Remove debug message
129         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
130         undo information and only copy if this is a real cut
131         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
132         call
133         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
134         (bug 2059)
135         * CutAndPaste.C (eraseSelection): prevent cursor corruption
136         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
137         superflous cur.selection() setting
138         * CutAndPaste.[Ch] (grabSelection): take a const cursor
139         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
140
141 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
142
143         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
144         change anything.
145
146 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
147
148         * BufferView_pimpl.C: comment layout change
149
150 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
151
152         * LyXAction.C:
153         * lfuns.h:
154         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
155         by bibliography managers (bug 2071).
156
157 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
158
159         * BufferView_pimpl.C (update): choose arguments to update call so
160         that single-par update works most times
161         * text3.C (dispatch): carefully tune updating separately for
162         whole-screen and current-paragraph
163         * rowpainter.C (paintText): 1) replace painting by caching for
164         the two extra paragraphs, because we can;
165         2) suppress greying out of areas below/above drawn area in case of
166         single-par refresh
167         * lyxfunc.C (dispatch): remove superfluous update
168         * LyXAction.[Ch]: introduce SingleParUpdate
169
170 2005-10-05  Angus Leeming  <leeming@lyx.org>
171
172         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
173         always initialised before use.
174
175         * text.C (setHeightOfRow): squash warning about comparison
176         of signed and unsigned types.
177
178 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
179
180         * text.C (cursorX): two fixes involving RtL text drawing
181
182 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
185         items, not only large ones (part of bug 2057)
186
187 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
190         argument, use "newcommand".
191
192 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
193
194         * cursor.C (setSelection): do not open collapsable insets;
195         the insets do by themselves now (autoopen).
196
197 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
198
199         * buffer.C: format is up to 244.
200
201 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
202
203         * text.C (redoParagraph): fix calcultation of inset width wrt 
204         leftMargin (bug 1957).
205
206         * text3.C (dispatch): leave inset to the right when hitting ESC 
207         (bug 2034).
208
209 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * text2.C: 
212         * text.C: 
213         * factory.C:
214         * messages.C: include <boost/current_function.hpp> 
215
216 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
219         when command is internal. (bug 1941)
220
221 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * text2.C (cursorRight): do not honor boundary when at the end of
224         a paragraph. (bug 2010 again)
225
226 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
229
230 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
231
232         * rowpainter.C (paintText): fix RtL space width display bug (2029)
233
234 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
235
236         * text2.C (setCursor): remove the unused 'boundary' parameter for
237         the CursorSlice version; adapt the LCursor version.
238
239         * lyxrc.C (write): 
240         * paragraph_pimpl.C (markErased): 
241         * cursor.C (bruteFind2, bruteFond3): fix warnings.
242
243 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
246         as is already done for "chapter".
247
248 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
251         textclass; do not record undo if nothing is changed.
252
253 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
254
255         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
256
257 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
258
259         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
260
261 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
264         combox, it is necessary to search for the topmost paragraph in the
265         cursor stack (bug 1926)
266
267 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
270         end of paragraph. (bug 2010)
271
272 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
273
274         * text.C (leftMargin): check for inInset == 0
275
276 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
277
278         * text.C (leftMargin): test for insetbase's new neverIndent()
279         bool instead of listing each and every inset that does not
280         wish par indendation.
281
282 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
283
284         * buffer_funcs.C (setCounter): put the code to compute enum label
285         here (where it belongs).
286
287         * counters.C (enumLabel): move code to buffer_funcs.C.
288
289 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
290
291         * outputparams.[Ch]: store local_font instead of local_language
292         * paragraph.C (simpleTeXOnePar): adapt to the change above
293
294 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
295
296         * buffer_funcs.C:
297         * counters.[Ch]: clean up special code for Hebrew.
298
299 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
302         than 2.
303
304 2005-09-08  Angus Leeming  <leeming@lyx.org>
305
306         * ispell.C:
307         * lyxrc.C: correct grammar describing invocation of the
308         spellchecker.
309
310 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * text.C (read): remove unused variable.
313         (readParToken): remove static Change variable (never good in
314         recursive settings...); add it as a parameter instead.
315
316         * paragraph_pimpl.C (acceptChange): make debug info conditional.
317
318         * metricsinfo.C (PainterInfo): add new member erased_.
319
320         * rowpainter.C (RowPainter): add erased_ member, initialized from
321         PainterInfo. 
322         (paintInset): pass erased_ to Inset::draw.
323
324         * lyxfunc.C (lookupChange): new function. Tells whether change 
325         tracking is disabled at a given postion.
326         (getStatus): disable some actions when in deleted text with change
327         tracking. 
328
329 2005-08-03  John Levon  <levon@movementarian.org>
330         
331         * tabular.C (appendColumn, setMultiColumn): adapt to change to
332         InsetText::clear().
333
334         * paragraph_pimpl.C (markErased): add bool argument and handle it.
335         Also make sure to mark insets recursively.
336         (rejectChange, erase): be recursive
337
338         * paragraph.C (markErased): add bool argument.
339 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
340
341         * lyxfind.C (findNextChange): tiny cleanup.
342
343         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
344         change tracking with the cursor in an inset; make sure the first
345         change is not skipped.
346
347 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
348
349         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
350         tabularStackDirty to work around bug 1919 (tabular needs
351         to know whether its own cell paste buffer or the one of 
352         texted is newer.
353         * CutAndPaste.C: mark tabular_stack_ clean after copy.
354
355 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
356
357         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
358
359 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
360
361         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
362         use old deleteion algorithm when changetracking is on.
363
364 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
365
366         * messages.C (get): add debug output.
367
368 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
369
370         * text.C (cursorX): fix bug 1965: cursor movement at
371         line end broken in RtL.
372         (drawSelection): fix bug 1970: drawing of single-line 
373         selection broken for RtL.
374
375 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         bug 465.
378
379         * dociterator.h (clear, push_back, pop_back): change from
380         protected to public.
381
382         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
383         and changed to just return the value of the item depth; take a
384         ParIterator as argument; take the itemdepth at outer nesting level
385         in account if necessary; cleanup and comment the code.
386         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
387         and changed to just return true if reset is needed; take a
388         ParIterator as argument; cleanup and comment the code.
389         (setCounter): adapt to above changes.
390
391 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * text3.C (dispatch): make debug message optional
394
395 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
398         inset. (bug 1963)
399
400 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
401
402         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
403
404 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
405
406         * text.C (insertChar):
407         * text2.C (deleteEmptyParagraphMechanism): take care whether 
408         a blank has been deleted (in change tracking mode) (bug 1254).
409
410 2005-07-20  John Levon  <levon@movementarian.org>
411
412         * text2.C (insertStringAsLines): remove old dubious code,
413         fixing bug 1939.
414
415 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
416
417         * MenuBackend.C (expandToc): use Floating::listName() as title of
418         the floats submenus.
419
420 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
421
422         * toc.[Ch]: Do not use translatable strings (bug 1870).
423
424 2005-07-20  John Levon  <levon@movementarian.org>
425
426         * tabular.C: fix 1748 - setting multicolumn adds
427           left line to the first cell
428
429 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
430
431         bug 1920
432         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
433         pars in one go.
434
435 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
436
437         * messages.C: supress some lyxerr messages
438
439 2005-07-18  Juergen Vigna  <jug@lyx.org>
440
441         * text.C (drawSelection): honor boundary when asking for cursorX.
442
443 2005-07-17  José Matos  <jamatos@fc.up.pt>
444
445         * tabular.C (recalculateMulticolumns): fix handling of one column
446         tables.
447
448 2005-07-17  Juergen Vigna  <jug@lyx.org>
449
450         * text.C (Delete, backspace): fixed so that paragraph with the
451         same layout can be merged by Delete/Backspace.
452
453 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
454
455         * text.C (readParToken): fix spelling.
456
457 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
458
459         * text2.C: fix counter update for DEPM problem reported by
460         Georg Baum
461
462 2005-07-17  Juergen Vigna  <jug@lyx.org>
463
464         * BufferView_pimpl.C (setBuffer): save/restore the
465         cursor/selection when switching buffers
466
467         * buffer.h: 
468         * buffer.C (saveCursor): add saveDocumentIterators to save the
469         cursor when switching buffer.
470
471 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
472
473         * debug.C: fix typo
474         * buffer.C: clarify message
475         
476 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
477
478         * dociterator.C (DocIterator): fix initialization order
479
480 2005-07-17  Juergen Vigna  <jug@lyx.org>
481
482         * text2.C (cursorHome): 
483         * text.C (drawSelection, cursorX): 
484         * dociterator.C (textRow): add boundary to getRow() call
485
486         * paragraph.C (getRow): implementation of below
487
488         * paragraph.h: add parameter boundary for getRow() function
489
490 2005-07-17  José Matos  <jamatos@fc.up.pt>
491
492         * buffer.C:
493         * bufferparams.[Ch]:
494         * tex-strings.[Ch]: new file format, remove support for a4.sty,
495         a4wide.sty and a4widemargins.
496
497 2005-07-17  Juergen Vigna  <jug@lyx.org>
498
499         * text2.C (cursorLeft): fix one of error
500
501 2005-07-17  Juergen Vigna  <jug@lyx.org>
502
503         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
504                    cursorEnd):
505         more fixes for boundary handling
506
507         * text3.C (dispatch): don't reset cursor if boundary has changed
508         on cursor movement.
509
510 2005-07-16  Juergen Vigna  <jug@lyx.org>
511
512         * text2.C (getColumnNearX): hopefully got it right now,
513         check if we are on column 0 for special case.
514
515 2005-07-16  Juergen Vigna  <jug@lyx.org>
516
517         * text2.C (getColumnNearX): handle special case Newline Inset
518
519         * text.C (singleWidth): Just remove bogus check
520
521 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
522
523         * funcrequest.C (split): avoid reading uninitialized char c
524
525 2005-07-16  José Matos  <jamatos@fc.up.pt>
526
527         * buffer.C:
528         * converter.C:
529         * lyxrc.C:
530         * paper.h:
531         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
532         single papersize variable.
533
534 2005-07-16  Juergen Vigna  <jug@lyx.org>
535
536         * text3.C (dispatch): honor boundary when checking if a cursor
537         movement has been done
538
539         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
540         (setCursor, setCursorIntern): fix cursor movement with boundary
541
542 2005-07-16  Juergen Vigna  <jug@lyx.org>
543
544         * text.C (currentState): output the actual Boundary
545
546 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
547
548         * factory.C (createInset): fix bad logic for tabular creation
549
550 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
551
552         * lyx_main.C (init): change some reLyX reference to tex2lyx
553
554 2005-07-16  Juergen Vigna  <jug@lyx.org>
555
556         * dociterator.C (DocIterator): initialize boundary
557
558 2005-07-16  Juergen Vigna  <jug@lyx.org>
559
560         * text2.C (getColumnNearX): Consider rows without trailing blank.  
561
562 2005-07-16  André Pönitz  <poenitz@gmx.net>
563
564         * lyxfont.h: Change order of declarations to give the compiler
565         a better chance to inline things
566
567         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
568         questions on unsaved docs for better scritability
569
570 2005-07-16  André Pönitz  <poenitz@gmx.net>
571
572         * paragraph.h (getChar): remove asserts as the same kind of security
573         can be achieved by using a suitable standard library implementation
574         and the function was in the critical path (25.9% in profiler)
575
576 2005-07-16  Juergen Vigna  <jug@lyx.org>
577
578         * cursor.C (bruteFind2):
579         * bufferview_funcs.C (coordOffset): 
580         * text.C (cursorX,cursorY): Handle cursor position after last char
581         in row before a inset which uses a whole row.
582
583 2005-07-15  José Matos <jamatos@lyx.org>
584
585         * output_plaintext.[Ch] (writeFileAscii): control reference title
586         printing.
587         (asciiParagraph): noparbreak was already deal and was incorrectly
588         used.
589
590 2005-07-15  Juergen Vigna <jug@lyx.org>
591
592         * lyxfunc.C (dispatch): save and restore the cursor after a
593         textclass switch.
594
595 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
596
597         * text.C (backspace): bug 806 for empty keepempty paragraphs we
598         change the layout to default before letting DEPM do its thing.
599
600         * paragraph_funcs.C (breakParagraph): dont reset the layout on
601         keepEmpty paragraphs
602
603         * text.C (setCursorFromCoordinates): add a debug statement
604
605         * text2.C (getColumnNearX): bug 1825 make sure that we don't
606         return a pos that is not on the row
607
608         * output_latex.C (TeXDeeper): get rid of potential dereferencing
609         of past the end iterator
610
611 2005-07-14  André Pönitz  <poenitz@gmx.net>
612
613         * undo.C (recordUndoFullBuffer): implement undo for
614         textclass switches
615
616 2005-07-14  André Pönitz  <poenitz@gmx.net>
617
618         * cursor.C (setSelection): open insets when selection is set there
619         to avoid crashs with cold coord cache
620
621 2005-07-14  André Pönitz  <poenitz@gmx.net>
622
623         * trans_mgr.C (insert): move cursor to the right after inserting
624         a char.
625
626 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
627
628         * BufferView_pimpl.C (update): dampen some of the debug blabbering
629         * factory.C (readInset): ditto
630         * text.C, text2.C: ditto
631
632 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
633
634         * buffer.C: format incremented to 242. There is no file format per
635         se, but the "frenchb" language has been removed from lib/language
636         and has to be translated to "french" by lyx2lyx.
637
638 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
639
640         * cursor_slice.h, dociterator.h: add some documentation
641         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
642
643 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
644
645         * text.C (leftMargin): do not add identation to display() style
646         insets, because they are always centered (bug 1293).
647
648 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
649
650         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
651         formatted_time methods in support/lyxtime.
652
653 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
654
655         * toc.[Ch]: new method getGuiName, which is used by the frontends 
656         to set the toc combo (fixes bug 1870). Make TOC string translatable.
657
658 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
659
660         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
661         StableDocIterator const &)
662         * undo.C (recordUndo): use the above instead of cell.size() comparison
663         (fixes bug 1808; instructed by Andr�.
664
665 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
666
667         * cursor_slice.h: 
668         * dociterator.h: Fix the assert when copying rows/cols in math
669
670 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
671
672         * BufferView_pimpl.C:
673         * LyXAction.C:
674         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
675
676         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
677         (findInset): new functions, refactored from goto Inset that return 
678         the position of a certain inset without setting the buffer's cursor
679         (by Jean-Marc); 
680         (gotoInset): rewrite to call findInset and then set the cursor
681         (by Jean-Marc).
682
683 2005-06-16  Angus Leeming  <leeming@lyx.org>
684
685         * lyxrc.C (output, read): wrap all input and output of paths with
686         calls to os::internal_path and os::external_path, respectively.
687         (output): wrap bind_file inside quotes.
688
689         * format.C (view): enable the viewer to use the '$$s' placeholder.
690
691 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
692
693         * LColor.[Ch] (getFromLaTeXName): new
694
695 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
696
697         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
698
699 2005-06-14  Angus Leeming  <leeming@lyx.org>
700
701         * lyx_main.C (init): ensure that the LyX binary dir is the first
702         element in the PATH on non-POSIX builds.
703
704 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
705
706         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
707
708 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
709
710         * rowpainter.C (paintInset, paintHebrewComposeChar)
711         (paintArabicComposeChar, paintChars): add a LyXFont argument.
712         (paintChars): use getFontSpan to reduce calls to getFont to a
713         minimum; use Paragraph::lookupChange instead of isXXXText.
714         (paintForeignMark): rename LyXFont argument.
715         (paintFromPos): pass a LyXFont object to the various paintXXX
716         methods.
717
718         * FontIterator.C (FontIterator, operator++): use
719         Paragraph::getFontSpan
720
721         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
722         version that returns the font span as a pair.
723
724 2005-06-09  Angus Leeming  <leeming@lyx.org>
725
726         * converter.C (convert): Don't forget "outfile = real_outfile" as
727         the final step in a conversion where the input and output file names
728         are the same. Otherwise, future conversion steps won't work...
729
730 2005-06-09  Angus Leeming  <leeming@lyx.org>
731
732         * lyxsocket.C: remove stub code as it isn't needed by
733         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
734
735 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
736
737         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
738         effectively disabled -x
739
740 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
741
742         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
743         when it actually makes sense.
744
745 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
746
747         * BufferView_pimpl.C: revert to showCursor in connection with
748         Lars's front-end stack
749
750 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
751
752         * text.C (redoParagraph): move cursor right after a bibitem
753         has been inserted.
754
755         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
756
757 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * buffer_funcs.C (bufferErrors): fix computation of the end of an
760         error range.
761
762 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
763
764         * BufferView.[Ch] (update):
765         * BufferView_pimpl.[Ch] (update, metrics):
766         * dimension.h (operator==):
767         * lyxfunc.C (dispatch):
768         * metricsinfo.h (ViewMetricsInfo):
769         * rowpainter.C (paintText):
770         * lyxtext.h:
771         * text.C (redoParagraph):
772         * text3.C (dispatch): Make LyX only repaint current paragraph in
773         case of character insert --> speedup. Also fix cursor draw
774         artifacts
775
776 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
777
778         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
779         avoid a crash (bug 1891)
780
781 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         Fix bug 1892:
784
785         * text2.C (getStringToIndex): constify cur argument.
786
787         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
788         argument has been given
789         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
790         try to invoke LFUN_INSET_APPLY).
791
792         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
793         if no inset was created by doInsertInset
794         (doInsertInset): return true if an inset has been inserted.
795
796 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
797
798         * vspace.C (asGUIName): new method. A version of the space
799         suitable for showing on screen.
800
801 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
802
803         * MenuBackend.C:
804         * lyxrc.C: rename "ASCII" to "Plain Text"
805
806 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
807
808         * buffer_funcs.C (expandLabel): take a Buffer as argument;
809         translate the labelstring.
810         (setCounter): translate labelstring as needed.
811
812         * output_docbook.C (makeCommand): fix expandLabel invokation
813
814 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
815
816         * BufferView.C: fix dialog title
817
818 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
819
820         * lyx_main.C (priv_exec): fix logic error with help from Angus
821         * lyx_main.C (parse_execute): set is_gui = false and remove now
822         obsolete comment about a segfault
823
824 2005-05-18  Angus Leeming  <leeming@lyx.org>
825
826         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
827
828 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
829
830         * tabular.[hC]: added setCellInset to fix tabular paste.
831
832 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
833
834         * buffer.C (save): check if destination is writable before trying
835         to copy a file
836
837 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
838
839         * BufferView_pimpl.C (update): fix processEvents -caused update
840         recursion bug
841
842 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
843
844         * buffer_funcs.C (setCounter): fix test for numbering of
845         environments.
846
847         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
848         depth correctly; use optional argument when it exists
849
850         * lyxtextclass.C: remove unused MaxCounterTags enum
851         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
852         (max_toclevel, min_toclevel): new methods.
853
854         * MenuBackend.C (expandToc2): fix case where depth is smaller than
855         the smallest depth in toc.
856
857         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
858         layouts that should not appear in a table of contents.
859
860 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
861
862         * cursor.h (undispatched, noUpdate): add comments from Andr�
863 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
864
865         * lfuns.h:
866         * LyXAction.C:
867         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
868
869 2005-05-07  André Pönitz  <poenitz@gmx.net>
870
871         * cursor.[Ch] (leaveInset): new function
872
873 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
874
875         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
876
877 2005-05-04  Angus Leeming  <leeming@lyx.org>
878
879         * lyxfunc.C (getStatus): disable the spell checker dialog if
880         none of USE_[AIP]SPELL are defined.
881
882 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * tabular.C (setWidthOfCell): remove obsolete comment
885
886 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
887
888         * paragraph.C (bibitem):
889         * buffer_funcs.C (setCounter):
890         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
891
892 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
893
894         * text3.C (getStatus): immediately return after setOnOff
895
896         * rowpainter.C: fix drawing of appendix start
897
898 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
899
900         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
901         SwitchBetweenClasses and remove the unused return value.
902         Handle character styles, too
903
904 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
905
906         * factory.C (createInset): handle undefined character styles
907
908 2005-05-02  Angus Leeming  <leeming@lyx.org>
909
910         * buffer.C: protect the #include of utime.h with a preprocessor
911         guard.
912
913 2005-05-02  Angus Leeming  <leeming@lyx.org>
914
915         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
916         function so that auto-saving works, albeit in a blocking manner.
917
918         * Makefile.am: make compilation of the client sub directory, of
919         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
920         on conditionals set at configure time.
921
922         * SpellBase.[Ch]: no longer an abstract base class. Instead,
923         it can be compiled in its own right but has no-op functionality.
924
925         * aspell.C, pspell.C: remove preprocessor guards. The files should
926         be compiled only if the necessary functionality exists.
927
928         * lyxserver.C, lyxsocket.C: disable on Windows.
929
930 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
931
932         * text.C (leftMargin): Fix the parindent use bug (1764)
933         by dirty trick
934
935 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
936
937         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
938         argument.
939
940 2005-04-25  Angus Leeming  <leeming@lyx.org>
941
942         * Bidi.[Ch]:
943         * coordcache.[Ch]:
944         * ispell.C:
945         * lyxserver.C:
946         * mover.C:
947         * pch.h:
948         include <config.h> in .C files, not .h ones.
949         add licence blurb.
950         protect headers inside preprocessor guards.
951
952 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
953
954         * FuncStatus.h (StatusCodes): document
955
956 2005-04-21  André Pönitz  <poenitz@gmx.net>
957
958         * FuncStatus.h (enabled, onoff): document
959
960 2005-04-19  Angus Leeming  <leeming@lyx.org>
961
962         * BufferView_pimpl.C (cursorToggle): no longer test whether
963         any child processes have been reaped before calling
964         handleCompletedProcesses().
965
966 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
967
968         * text3.C (dispatch): fix, finally fix, the language problem in
969         new lyxtexts, without disabling on-the-fly font changes (Helge's
970         bug report)
971
972 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
973
974         * text3.C (dispatch): set cursor on double/triple click events
975         (bug 1811)
976
977 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
978
979         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
980         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
981
982         * rowpainter.C (paintFirst): simplify the code a little bit. In
983         particular, remove the test for secnumdepth.
984         * text.C (setHeightOfRow): only allocate space for chapter number
985         when updateCounters provided an actual label, instead of looking
986         at secnumdepth directly.
987
988         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
989
990         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
991         paragraphs when secnumdepth is large enough or, for environments,
992         when they are not the first in a sequence.
993
994 2005-04-17  Angus Leeming  <leeming@lyx.org>
995
996         * buffer.C (makeLaTeXFile): replace code to manipulate a path
997         containing space and '~' characters with a call to latex_path().
998
999 2005-04-17  Angus Leeming  <leeming@lyx.org>
1000
1001         * converter.C (convert): protect all args of convertDefault.sh
1002         script with quotes.
1003
1004 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * text3.C (dispatch): change the layout to "Caption" after inserting
1007         a float.
1008
1009 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1010
1011         * text3.C (dispatch): fix language problem in newly created
1012         textinsets (and main text) in non-english docs
1013
1014 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1015
1016         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1017         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1018         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1019
1020 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1021
1022         * lyxtext.h:
1023         * text.C (metrics):
1024         * text2.C (getFont):
1025         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1026         fonts fix
1027
1028 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1029
1030         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1031         output of \item arguments without trailing text.
1032
1033 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * FontIterator.C (operator*): avoid a copy of the font.
1036
1037 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1038
1039         * rowpainter.C (getFont): fix language bug from previous fix
1040
1041 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1042
1043         * rowpainter.C (RowPainter, getFont): fix font inside inset
1044         (bugs 1766, 1809)
1045
1046 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1047
1048         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1049         preventing inserted font, deco, delim insets jumping to start of
1050         surrounding inset.
1051
1052 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         * lyxfunc.C (dispatch): translate message before sending it to the
1055         minibuffer.
1056
1057 2005-03-29  Angus Leeming  <leeming@lyx.org>
1058
1059         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1060         to LyX on the command line.
1061
1062 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1063
1064         * vc-backend.C: use QuoteName to protect file names wherever
1065         necessary.
1066
1067 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1068
1069         * buffer.[Ch]:
1070         * BranchList.h: fix bugs 1844,1845: document settings don't
1071         stick
1072
1073 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1074
1075         * lyxrc.C (setDefaults, read, output, getDescription): add support
1076         for tex_allows_spaces.
1077
1078         * exporter.C (Export): allows files in directory containing spaces
1079         if tex_allows_spaces is true.
1080
1081         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1082         output it in double quotes.
1083
1084 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1085
1086         * rowpainter.C: use default text height for drawing change tracker
1087         strikeout lines.
1088
1089 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1090
1091         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1092
1093 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1094
1095         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1096         directory is missing.
1097
1098 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1099
1100         * text2.C: fixed the fix, extended to other case.
1101
1102 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1103
1104         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1105
1106 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1107
1108         * text2.C (cursorUp): get rid of a crash
1109         * text.C (x2pos): add an assert
1110
1111 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1112
1113         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1114
1115         * text3.C:
1116         * lyxfunc.C:
1117         * dociterator.C: include <boost/current_function.hpp>, which is
1118         needed when assertions are disabled.
1119
1120 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1121
1122         * text2.C: fix for stuck cursor when traversing two
1123         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1124
1125 2005-02-25  Andreas Vox  <avox@arcor.de>
1126
1127         * output_docbook.C (makeParagraph): suppress trailing newline
1128         after a run of paragraphs
1129
1130 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1131
1132         * paragraph.C: fix for confused change tracker when pasting
1133         text that begins with a lineseparator. [bug 1827]
1134         (setChange(0, Change::INSERTED);)
1135
1136         * paragraph_funcs.C: fix for lost changes on triple-paste
1137         in change tracking mode [bug 1827] (par.setChange()).
1138
1139 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1140
1141         * text2.C (updateCounters, setCounter, expandLabel): move to
1142         buffer_funcs.
1143
1144         * buffer_funcs.C (updateCounters): turn into a free standing
1145         function and add a buffer parameter. Remove dead code for tracking
1146         labelstring change.
1147         (setCounter): change into a free-standing function which gets a
1148         dociterator as argument. Use this iterator to fix captions in a
1149         simple way. When no float is found above the caption, use the
1150         labelstring of the caption layout as default.
1151
1152         * text.C (breakParagraph, backspace):
1153         * text2.C (init, setLayout, changeDepth):
1154         * text3.C (dispatch):
1155         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1156         updateCounters.
1157
1158         * dociterator.C (forwardPar): make it much faster by calling
1159         forwardPos() only when really necessary.
1160
1161         * output_docbook.C (makeCommand): adapt to expandLabel move.
1162
1163         * cursor.C: remove unused variable
1164
1165 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1166
1167         * paragraph_funcs.C: fix crash when pasting insets in change
1168         tracking mode [bug 1277] (honour change type in moveItem).
1169
1170 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1171
1172         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1173
1174 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1175
1176         * BufferView.C (setCursor): change to use a DocIterator.
1177         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1178         (putSelectionAt): adapt to BufferView::setCursor change.
1179
1180         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1181         moved here from LyXText and rewritten to use proper cursor
1182         methods. Fixes bug 1787, 616 and 835.
1183
1184         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1185         when inside an inset (part of bug 781).
1186         (dispatch): adapt to change of BufferView::setCursor.
1187         (getStatus, dispatch): handle LFUN_GOTOERROR,
1188         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1189
1190         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1191         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1192         * text3.C (gotoNextInset, gotoInset): removed.
1193
1194 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1195
1196         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1197
1198 2005-02-15  Angus Leeming  <leeming@lyx.org>
1199
1200         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1201         can be used meaningfully in a comparison.
1202
1203 2005-02-13  André Pönitz  <poenitz@gmx.net>
1204
1205         * bufferview_funcs.C (coordOffset): improve cursor drawing
1206
1207 2005-02-13  André Pönitz  <poenitz@gmx.net>
1208
1209         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1210         * Cursor.C (dispatch): use fixIfBroken
1211         * lyxfunc.C (getStatus): use fixIfBroken
1212
1213 2005-02-15  Angus Leeming  <leeming@lyx.org>
1214
1215         * lyx_main.C (error_handler):
1216         * lyxfunc.C:
1217         * lyxrc.C (setDefaults):
1218         s/GetEnv/getEnv/.
1219         #include "environment.h".
1220
1221         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1222
1223 2005-02-15  Angus Leeming  <leeming@lyx.org>
1224
1225         * lyxserver.C (startPipe): squash MSVC warning "local variable
1226         'fd' used without having been initialized".
1227
1228 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1229
1230         * BufferView_pimpl.C: revert accidental commit.
1231
1232 2005-02-14  André Pönitz  <poenitz@gmx.net>
1233
1234         * dociterator.[Ch]: new member forwardPosNoDescent(),
1235         which doesn't enter nested insets.
1236         * text2.C (setFont): use forwardPosNoDescent() instead
1237         of ForwardPos() (fixes crash on font change).
1238
1239 2005-02-13  Angus Leeming  <leeming@lyx.org>
1240
1241         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1242         only if lyxrc.path_prefix is not empty.
1243
1244 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1245
1246         * bufferparams.C (readGraphicsDriver): prevent crash
1247
1248 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1249
1250         * text2.C (setCounter): check for inInset() == 0
1251
1252 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1253
1254         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1255         but use update() to get correct screen display; use convert
1256         instead of istringstream.
1257         (getStatus): handle LFUN_GOTO_PARAGRAPH
1258
1259         * lyxfunc.C (dispatch, getStatus): do not handle
1260         LFUN_GOTO_PARAGRAPH here.
1261
1262 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1263
1264         * text3.C (dispatch): size() -> depth()
1265
1266         * text2.C: remove some debug output
1267
1268         * paragraph.C: ws changes only
1269
1270         * lyxfunc.C (getStatus): size() -> depth()
1271
1272         * dociterator.h (clear, push_back, pop_back, internalData,
1273         operator[], resize, empty): new functions
1274         Make StableDocIterator and operator== be friends. Don't inherit
1275         from std::vector use a privat class variable slices_ instead.
1276         Modify to fit.
1277
1278         * dociterator.C: update because of not inheriting from std::vector
1279         anymore. Call explictly to slices_ instead. Use depth() instead of
1280         size() and top() instead of back()
1281
1282         * cursor.C: chagne size() -> depth and back() -> top(). Also
1283         remove some direct operator[](i) calls in favour of foo[i]
1284         (getFont): remove some dead code
1285
1286         * bufferview_funcs.C (coordOffset): size() -> depth()
1287
1288         * buffer.C: ws changes only
1289
1290         * CutAndPaste.C (eraseSelection): back() -> top()
1291
1292         * BufferView_pimpl.C (selectionRequested): back() -> top()
1293
1294         * BufferView.C (setCursor): size() -> depth()
1295
1296 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1297
1298         * text3.C (cursorPrevious): return true if depm changed something
1299         (cursorNext): ditto
1300         (dispatch): rename sl to oldTopSlice, remove moving use the new
1301         NoUpdate func attrib instead. Make sure that needsUpdate is set
1302         for function that have NoUpdate, but where depm might have changed
1303         the buffer anyway.
1304
1305         * text2.C (cursorLeft): make us return true if depm changed
1306         something
1307         (cursorRight): ditto
1308         (cursorUpParagraph): ditto
1309         (curosrDownParagraph): ditto
1310         (cursorUp, cursorDown): ditto, make sure to read comments in code
1311         (deleteEmptyParagraphMechanism): remove an assert, also return
1312         true if just a single char was deleted.
1313
1314         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1315         cursor that we modify, to avoid modifying an active cursor before
1316         we call setCursor. This allows depm to run. Also return true if
1317         depm deleted something.
1318
1319         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1320         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1321         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1322         something was changed in the buffer because of them (ie. depm run)
1323
1324         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1325         debug messages. Make update by default be false. Make sure that
1326         the result of update is retained throught several calls down to
1327         dispatch.
1328
1329         * LyXAction.h: add a new func_attrib: NoUpdate
1330
1331         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1332         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1333         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1334         and LFUN_WORDLEFT
1335         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1336
1337 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1338
1339         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1340         bv_->owner(), bv_->buffer() by direct references to the private
1341         members.
1342         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1343         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1344         (fitCursor): center() is in BufferView::Pimpl.
1345         (getStatus, trackChanges, dispatch): no need for a temporary buf
1346         variable
1347         (fitCursor, workAreaDispatch): use workarea().workheight()
1348
1349 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1350
1351         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1352
1353 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1354
1355         * buffer.C: format up to 241.
1356         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1357         break if pasting into ERT
1358         * lyxfunc.C (getStatus): suppress mathpanel and
1359         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1360
1361 2005-02-01  Angus Leeming  <leeming@lyx.org>
1362
1363         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1364
1365 2005-02-01  Angus Leeming  <leeming@lyx.org>
1366
1367         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1368         calling fs::is_directory().
1369
1370 2005-01-31  Angus Leeming  <leeming@lyx.org>
1371
1372         * lyx_main.C (priv_exec): specify explicitly the relative location
1373         of the top level build directory when run in-place.
1374
1375 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1376
1377         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1378         LyXText containing the cursor, not the top-level one.
1379
1380         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1381         true.
1382         (insertStringAsLines): rename par to pit; use temporary variable
1383         par to hold a Paragraph; do not store par.layout() in a variable,
1384         since the pointer may die when breaking paragraphs; pass pars to
1385         breakParagraph() instead of Buffer::paragraphs().
1386
1387 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1388
1389         * lyxlex_pimpl.h: #include <fstream>.
1390
1391         * BufferView.[Ch] (getLyXText): add a const version.
1392
1393         * BufferView_pimpl.C: add debug aids.
1394
1395         * RowList_fwd.h:
1396         * buffer.h:
1397         * lyxrow.h:
1398         * paragraph_funcs.h: add commentary explaining what the class does.
1399
1400
1401         * coordcache.[Ch]: add lots of commentary.
1402         (startUpdating, doneUpdating): debug aids.
1403         (arrays, insets, parPos, getParPos): accessors to private data.
1404
1405         * cursor_slice.[Ch] (text): add a const version.
1406         * dociterator.[Ch] (text, innerText): add const versions.
1407
1408         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1409         bool.
1410
1411         * paragraph.C (getRow, pos2ros): add asserts.
1412
1413         * paragraph.h: add commentary. Lots of.
1414
1415         * paragraph.[Ch] (metrucs, draw): removed.
1416
1417         * cursor.C:
1418         * rowpainter.[Ch]: const-correct changes.
1419
1420         * text.C: various obvious clean-ups. Removal of ancient cruft.
1421         Bug fixes, even.
1422
1423 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1424
1425         * vc-backend.C (find_file): rewrite to use boost.filesystem
1426         (scanMaster): ditto
1427
1428         * main.C (main): set default name check for boost.filesystem to
1429         no check
1430
1431         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1432         (open): ditto
1433         (doImport): ditto
1434         (actOnUpdatedPrefs): ditto
1435
1436         * lyx_main.C (init): rewrite to use boost.filesystem
1437         (queryUserLyXDir): ditto
1438
1439         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1440         (getContentsOfAsciiFile): ditto
1441
1442         * lastfiles.C (readFile): rewrite to use boost.filesystem
1443
1444         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1445
1446         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1447         (loadLyXFile): ditto
1448
1449         * buffer.C (Buffer): adjust for destroydir
1450         (getLogName): rewrite to use boost.filesystem
1451         (setFileName): ditto
1452         (save): use fs::copy_file (from fs_extras)
1453
1454         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1455
1456         * LaTeX.C (run): rewrite to use boost.filesystem
1457         (scanAuxFiles): ditto
1458         (handleFoundFile): ditto
1459
1460 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1461
1462         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1463
1464         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1465
1466 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1467
1468         * lyxlayout.[Ch]: change some vars from float to double
1469
1470         * buffer.C (readFile): make a local var const
1471
1472         * Several files: use convert<> instead of atoi,strToXXX and friends
1473
1474 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1475
1476         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1477         holds the contents of packages.lst. New functions getAvailable
1478         and isAvailable to parse and check that list, resp.
1479
1480         * LyXAction.C:
1481         * lfuns.h:
1482         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1483
1484         * bufferparams.[Ch]: new param output_changes.
1485
1486         * Buffer.C: increase file format to 240.
1487         Use output_changes and isVailable.
1488
1489         * changes.[Ch]:
1490         * paragraph.C:
1491         * paragraph_pimpl.C: Use output_changes and isVailable.
1492
1493 2005-01-23  Angus Leeming  <leeming@lyx.org>
1494
1495         * output_latex.C: #include "insetbibitem.h", rather than
1496         forward declare function bibitemWidest.
1497
1498 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1499
1500         * lyx_main.C (init): make it compile on the Mac.
1501
1502 2005-01-20  Angus Leeming  <leeming@lyx.org>
1503
1504         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1505         (setLyXMisc): (char string literal) != (char string literal) is
1506         performing a comparison on the addresses. Convert one operand
1507         explicitly to string to guarantee expected behaviour.
1508         From MSVC warning.
1509
1510 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1511
1512         * buffer.C:
1513         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1514
1515         * output_plaintext.C: remove unneeded #include gzstream.h.
1516
1517 2005-01-20  Angus Leeming  <leeming@lyx.org>
1518
1519         * SpellBase.h: rename some of the elements of the Result enum.
1520
1521         * aspell_local.h:
1522         * ispell.h:
1523         * pspell.h:
1524         * aspell.C (check):
1525         * ispell.C (check):
1526         * pspell.C (check): ditto
1527
1528 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1529
1530         * buffer.C: add #include <fstream>.
1531
1532         * lyx_main.C (init): Compile fix.
1533
1534         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1535
1536 2005-01-20  Angus Leeming  <leeming@lyx.org>
1537
1538         * mover.h: change commentary to reflect the changed meaning of
1539         the $$s placeholder.
1540
1541 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1542
1543         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1544
1545         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1546
1547 2005-01-20  Angus Leeming  <leeming@lyx.org>
1548
1549         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1550         printing diagnostic data by not dereferecing an iterator past the
1551         end.
1552
1553 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1554
1555         * buffer.C (readHeader): use "&&" rather than "and".
1556
1557         * lyxserver.h (inPipeName, outPipeName): make these const.
1558
1559 2005-01-19  Angus Leeming  <leeming@lyx.org>
1560
1561         * lyx_main.C (error_handler, init): protect SIGHUP with
1562         #ifdef SIGHUP guards.
1563
1564 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1565
1566         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1567
1568 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1569
1570         * text.C (setHeightOfRow): add a margin at the top and bottom of
1571         the document (bug 1761)
1572
1573 2005-01-17  Angus Leeming  <leeming@lyx.org>
1574
1575         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1576         with "python ". Workaround for a brain-dead Windows.
1577
1578 2005-01-16  Angus Leeming  <leeming@lyx.org>
1579
1580         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1581         for MacOSX and Windows to use prependEnvPath.
1582         Strip out the hard-coded block to add elements to the PATH for
1583         MacOSX and replace it with a call to prependEnvPath using the
1584         contents of LyXRC::path_prefix.
1585         (queryUserLyXDir): strip out the code to run reconfigure, instead
1586         returning a boolean indicating the necessity to do so.
1587         (reconfigureUserLyXDir): contains the code to reconfigure the
1588         user support directory. Is now called after the various LyXRC data
1589         files have been read.
1590
1591         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1592
1593 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1594
1595         * converter.[Ch] (convert): take a new parameter try_default. Use
1596         a default converter (imagemagick) if try_default is true.
1597
1598 2005-01-13  Angus Leeming  <leeming@lyx.org>
1599
1600         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1601         os::cygwin_path_fix.
1602         (write): output LyXRC::cygwin_path_fix as necessary.
1603
1604 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1605
1606         * lyxrc.h:
1607         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1608
1609 2005-01-12  Angus Leeming  <leeming@lyx.org>
1610
1611         * lyx_main.C (init): set the PATH variable to include the
1612         directory containing the LyX binary when running on Mac or Windows.
1613
1614 2005-01-12  Angus Leeming  <leeming@lyx.org>
1615
1616         * lyx_main.C (init): remove cruft that purports to set the locale
1617         dir. It doesn't and is not needed anyway.
1618
1619 2005-01-10  Angus Leeming  <leeming@lyx.org>
1620
1621         * Makefile.am: remove the lyx_main.C special casing.
1622
1623         * BufferView_pimpl.C:
1624         * bufferlist.C:
1625         * exporter.C:
1626         * lyx_cb.C:
1627         * lyx_main.C:
1628         * lyxfunc.C:
1629         * messages.C: use support/package.h to provide the paths to the
1630         various directories used by LyX.
1631
1632 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1633
1634         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1635         layout if pasting into an empty paragraph)
1636
1637 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1638
1639         * tex-accent.C: add <string>
1640
1641 2005-01-06  José Matos  <jamatos@lyx.org>
1642
1643         * ParagraphParameters.C (write): put every parameter in its own line.
1644         * paragraph.C (write): reduce number of consecutive empty lines exported.
1645         * buffer.C (LYX_FORMAT): increase file format to 239.
1646
1647 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1648
1649         * everywhere: change support/tostr.h -> support/convert.h
1650
1651         * tabular.C: make all write_attributes templates, tostr -> convert
1652
1653         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1654         (emptyTag): and -> &&, and fix type for ret from getChar
1655         (getFirstWord): fix type for ret from getChar
1656         (onlyText): and -> &&
1657         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1658         getChar
1659
1660         * toc.C (goTo, action):
1661         * text3.C (dispatch):
1662         * text.C (currentState):
1663         * tex-accent.C (DoAccent):
1664         * sgml.C:
1665         * lyxrc.C:
1666         * lyxfunc.C (menuNew):
1667         * lyxfinc.C (replace):
1668         * counters.C (laberItem):
1669         * bufferview_funcs.C (font2string):
1670         * bufferparams.C (writeFile):
1671         * buffer.C (readFile):
1672         * Spacing.C (set):
1673         * MenuBackend.C: tostr -> convert
1674
1675         * LaTeX.C (runMessage): fix format
1676         (scanAuxFiles): tostr -> convert
1677
1678         * BufferView_pimpl.C (savePosition): fix format
1679         (restorePosition): ditto
1680         (dispatch): ditto
1681
1682 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1683
1684         * Spacing.[Ch]: New method getValueAsString().
1685
1686         * Spacing.[Ch]:
1687         * bufferparams.C:
1688         * ParagraphParameters.C:
1689         * lyxlayout.C:
1690         * text.C:
1691         * text3.C: store/read spacing value as string.
1692
1693         * rowpainter.C: change float value (spacing_val) to double.
1694
1695         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1696         broken custom document spacing).
1697
1698 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1699
1700         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1701         namespace, also more use of temp references and const
1702
1703         * cursor.[Ch] (getStatus): move to lyxfunc.C
1704
1705         * bufferparams.C: reformat slightly
1706
1707         * bufferview_funcs.C (font2string): constify arg
1708
1709         * changes.C:
1710         * converter.C:
1711         * counters.C:
1712         * bufferlist.C:
1713         * buffer_funcs.C: (many funcs): constify arg on function
1714         definitions, also make more local vars const, also add ASSERTS on
1715         pointer args.
1716
1717         * buffer.C (LYX_FORMAT): put const in correct place
1718         (many funcs): constify arg on function definitions, also make
1719         more local vars const
1720
1721         * aspell_local.h: remove "struct" from typdef setup
1722
1723         * aspell.C (check): make word_ok const
1724         (nextMiss): simplify slightly
1725         (error): ditto
1726
1727 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1728
1729         * lyxrc.[Ch]: store all float values as strings.
1730         use int (not float) for lyxrc.dpi.
1731
1732 2005-01-04  Angus Leeming  <leeming@lyx.org>
1733
1734         * lyx_cb.C (Reconfigure):
1735         * lyx_main.C (queryUserLyXDir):
1736         to run the <system_lyxdir>/configure correctly on Windows, prefix
1737         the path to the script with "sh " when generating the string that
1738         is passed to system().
1739
1740 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1741
1742         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1743
1744 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1745
1746         * lyxlength.C (asLatexString): get rid of setprecision
1747
1748 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1749
1750         * text2.C (setLayout): remove unused variable endpit.
1751         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1752
1753         * paragraph.C (onlyText): remove unused variable style.
1754
1755         * cursor.C (bruteFind): remove unused variables beg and end.
1756
1757         * Makefile.am (dist_noinset_DATA): not needed anymore
1758
1759         * cheaders/*: remove.
1760
1761 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1762
1763         * text3.C: fix LFUN_MATH_MODE.
1764
1765 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1766
1767         * buffer_funcs.C (countWords): new function. Counts words between
1768         two iterators.
1769
1770         * BufferView_pimpl.C (getStatus, dispatch): handle
1771         LFUN_WORDS_COUNT.
1772
1773         * LyXAction.C (init):
1774         * lfuns.h: add LFUN_WORDS_COUNT.
1775
1776 2004-12-19  Angus Leeming  <leeming@lyx.org>
1777
1778         * buffer.C (save): s/slashify_path/internal_path/.
1779
1780 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1781
1782         * lyxfind.C (findChange): do not search for end of pars, because
1783         the change tracker cannot handle this (fixes bug 1719).
1784
1785 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1786
1787         * paragraph.[Ch] (autoBreakRows): remove
1788
1789         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1790
1791         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1792         avoid using the paragraph one
1793
1794         * text2.C (LyXText, insertStringAsLines): adjust
1795
1796 2004-12-16  Angus Leeming  <leeming@lyx.org>
1797
1798         * bufferlist.C:
1799         * lyx_main.C:
1800         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1801
1802 2004-12-14  Angus Leeming  <leeming@lyx.org>
1803
1804         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1805
1806         * bufferlist.C (emergencyWrite):
1807         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1808         GetEnvPath("HOME").
1809
1810 2004-12-14  Angus Leeming  <leeming@lyx.org>
1811
1812         * main.C: (main): no longer pass pointers to os::init.
1813
1814 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1815
1816         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1817         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1818
1819 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1820
1821         * lyxfunc.C:
1822         * text3.C: remove selection_possible global flag
1823
1824 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1825
1826         * text2.C (getSelectionSpan): remove
1827         (changeDepth, changeDepthAllowed): adjust
1828
1829 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1830
1831         * Makefile.am (BOOST_LIBS): use boost variables
1832
1833 2004-12-03  José Matos  <jamatos@lyx.org>
1834
1835         * buffer.C: format up to 238.
1836
1837 2004-12-03  José Matos  <jamatos@lyx.org>
1838
1839         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1840
1841 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1842
1843         * cursor.C (goUpDown): remove call to idxUpDown2
1844
1845 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1846
1847         * tabular.[Ch]: use size_t-like types for cell, row and column
1848         indices
1849
1850 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1851
1852         * lyxfunc.C (getStatus): do not lose previous information when
1853         calling BufferView::getStatus; do not set a default "Command
1854         disabled" message at the beginning, but just before returning.
1855
1856 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1857
1858         * cursor.h (getStatus): add better comment from src/cursor.C
1859
1860 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1861
1862         * text3.C (getStatus): return false when the lfun is not handled
1863
1864 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1865
1866         * broken_headers.h: remove
1867
1868         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1869
1870 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1871
1872         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1873         offset_ref accessors
1874
1875         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1876         top_y_, merge fitcursor with update
1877         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1878         coord scheme
1879         (metrics): introduce
1880         (workAreaDispatch): adapt to new coord scheme
1881         (redoCurrentBuffer): remove
1882
1883         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1884
1885         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1886         CurStatus enum.
1887
1888         * coordcache.[Ch]: add paragraph cache and helpers
1889
1890         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1891         adjust everywhere
1892
1893         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1894         (targetX, setTargetX): introduce
1895
1896         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1897         baseline -> ascent, as the rest of lyx
1898
1899         * lyxtext.h: remove redoParagraphs, updateParPositions,
1900         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1901         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1902         have ascent/descent (ascent is ascent of first par)
1903
1904         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1905         step of BufferView
1906
1907         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1908
1909         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1910
1911         * pariterator.C: fix infinite loop introduced in par->pit renaming
1912
1913         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1914         in insets and LyXText, draw two off-screen paragraphs using
1915         NullPainter, and adapt to new coord scheme
1916
1917         * text.C:
1918         * text2.C:
1919         * text3.C: adapt lfun handlers to the new coord scheme, which
1920         means: there's only guaranteed coord information for onscreen pars
1921         plus one above and one below. This implies that one can do search
1922         from y coordinates in the range [-1,workHeight]
1923
1924 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1925
1926         * rename a lot of InsetOld to InsetBase
1927
1928 2004-11-25  Angus Leeming  <leeming@lyx.org>
1929
1930         * BufferView_pimpl.C:
1931         * lyx_cb.C:
1932         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1933
1934 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1935
1936         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1937         call BufferView::getStatus if LCursor::getStatus did nothing
1938         (setStatusMessage, getStatusMessage): removed.
1939
1940         * FuncStatus.C (message): new methods. Used to provide an error
1941         message indicating why a command is disabled.
1942         (clear, |=, FuncStatus): update for message.
1943
1944 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1945
1946         * lyxfunc.C (dispatch): always call sendDispatchMessage
1947
1948 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1949
1950         * BufferView.C:
1951         * BufferView_pimpl.C:
1952         * CutAndPaste.C:
1953         * FontIterator.C:
1954         * buffer.C:
1955         * cursor.C:
1956         * cursor_slice.[Ch]:
1957         * dociterator.[Ch]:
1958         * lyxfind.C:
1959         * paragraph_funcs.C:
1960         * pariterator.C:
1961         * rowpainter.C:
1962         * text.C:
1963         * text2.C:
1964         * text3.C:
1965         * undo.C: par->pit renaming
1966
1967 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1968
1969         * tabular.C (cellstruct): use initialization, store a shared_ptr
1970         to insettext instead of the insettext directly, adjust to fit.
1971         (operator=):  new function
1972         (swap): new function
1973         (rowstruct): use initialization
1974         (columnstruct): use initialization
1975         (ltType): use initialization
1976
1977
1978         * lyxlength.h (swap): new function
1979
1980         * LColor.[Ch] (operator=): use the common semantics
1981
1982 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1983
1984         * lyxfind.C (findNextChange): update the bufferview after setting
1985         the selection.
1986
1987 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1988
1989         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1990         number of InsetOptArgs has already been inserted.
1991
1992         * output_latex.C (latexOptArgInsets): new method. This outputs all
1993         the optarg insets, up to the limit defined in the layout file.
1994         (optArgInset): removed
1995         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1996
1997 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1998
1999         * paragraph.C (isLetter): remove special spellchecker-related
2000         code; return true also for digits
2001         (isWord, isKomma): remove
2002
2003         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2004         * lyxfind.C (MatchString()): use isLetter instead of isWord
2005
2006 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2007
2008         * pariterator.h (operatir=): comment out un-implemented member
2009         function.
2010
2011         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2012         static cast.
2013
2014 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2015
2016         * lyxfont.h: include LColor.h to satisfy concept checks.
2017
2018 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2019
2020         * pariterator.h: add typdefs for value_type, difference_type,
2021         pointer and reference to satisfy concept checks. Also add default
2022         constructor for same reason.
2023
2024         * pariterator.C (operator++): add post-increment operator to
2025         satisfy concept checks.
2026
2027         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2028         checks.
2029
2030         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2031
2032         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2033         checks. Also rename base_type to BaseType to follow naming
2034         standard better.
2035
2036         * FloatList.h: include Floating.h to satisfy concept checks.
2037
2038 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2039
2040         * lyxfunc.C (getStatus): when the origin of the request is menu or
2041         toolbar, and the LyXView does not have focus, do as if there was
2042         no buffer (bug 1720)
2043
2044         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2045         FuncRequest to individual entries of LFUN_SEQUENCE
2046
2047 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2048
2049         * output_latex.C (TeXOnePar): override runparams.moving_arg
2050         according to the needprotect value of the current paragraph (bug
2051         1739)
2052
2053         * paragraph.C (simpleTeXOnePar): no need to override
2054         runparams.moving_args here
2055
2056 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2057
2058         * vspace.C: fix off-by-one-error, related to fix #1682
2059
2060 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2061
2062         * lengthcommon.C: a more general fix for bug 1682
2063
2064 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2065
2066         * text.C (backspace): fix crash
2067
2068 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2069
2070         * format.[Ch] (getFormatFromFile): new method
2071         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2072
2073 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2074
2075         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2076
2077 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2078
2079         * lyxfunc.C (dispatch): remove the verbose argument
2080         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2081         instead
2082
2083         * kbmap.C (defkey): set the origin of func to KEYBOARD
2084
2085         * MenuBackend.C (MenuItem):
2086         * ToolbarBackend.C (add): set the origin of func to UI
2087
2088         * funcrequest.[Ch]: add origin member, which indicates which part
2089         of LyX requests an action
2090
2091 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2092
2093         * converter.C (move): don't lie in the error message
2094         * converter.h (isReachable, move): document
2095
2096 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2097
2098         * buffer.C: remove unused using lyx::support::atoi
2099         * paragraph_funcs.C: ditto
2100
2101 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2102
2103         * bufferlist.C (exists): use bind and equal_to instead of
2104         compare_memfun
2105         (getBuffer): ditto
2106         * lyxtextclasslist.C (NumberOfClass): ditto
2107
2108         * cursor.C (insert): use for_each instead of explicit for loop
2109
2110         * bufferlist.C (getFileNames): use std::transform and
2111         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2112
2113         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2114         for loop
2115
2116         * buffer.C (changeLanguage): use for_each instead of explicit for
2117         loop
2118         (hasParWithID): implement using getParFromID
2119
2120         * LaTeXFeatures.C: ws change only
2121
2122         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2123         to cleanup a bit.
2124
2125         * BufferView_pimpl.C (trackChanges): use for_each instead of
2126         expilicit for loop
2127
2128 2004-11-04  André Pönitz  <poenitz@gmx.net>
2129
2130         * undo.h:
2131         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2132
2133         * dociterator.C (asDocIterator): use hard assert again.
2134
2135 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2136
2137         * lyxlength.C (asLatexString): rewrite so that it does not use
2138         snprintf anymore
2139
2140 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2141
2142         * text3.C (specialChar, dispatch): make sure cursor moves to the
2143         right after inserting an inset
2144
2145 2004-11-02  José Matos  <jamatos@lyx.org>
2146
2147         * output_docbook.C (docbook):
2148         * paragraph.C (getID):
2149         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2150         garantee that the output is always legal.
2151
2152         * tabular.C (docbook):
2153         * outputprams.[Ch]: remove mixed contents.
2154
2155 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2156
2157         * text2.C (setCounter): prevent endless loop
2158
2159 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2160
2161         * exporter.C (copyFile): use the mover instead of support::copy()
2162         * exporter.C (Export): pass format and latex name to copyFile()
2163         * exporter.h (addExternalFile): document
2164         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2165
2166 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2167
2168         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2169
2170 2004-10-30  José Matos  <jamatos@lyx.org>
2171
2172         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2173         text and no inset or font change. This allows to use CDATA
2174         sections just for the whole paragraph.
2175
2176 2004-10-30  José Matos  <jamatos@lyx.org>
2177
2178         * paragraph.C (getFirstWord): remove unused variable.
2179
2180 2004-10-30  José Matos  <jamatos@lyx.org>
2181
2182         * paragraph.C (getFirstWord): the content should always be escaped
2183         there.
2184         (simpleDocBookOnePar):
2185         * output_docbook.C (makeEnvironment): replace reference to CDATA
2186         to style pass_thru.
2187
2188 2004-10-30  José Matos  <jamatos@lyx.org>
2189
2190         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2191
2192 2004-10-30  José Matos  <jamatos@lyx.org>
2193
2194         * output_docbook.C (makeParagraphs):
2195         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2196         standard paragraph has only a given type of content drop the wrapper.
2197
2198 2004-10-29  José Matos  <jamatos@lyx.org>
2199
2200         * output_docbook.C (makeEnvironment):
2201         * sgml.C (openTag):
2202         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2203
2204 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2205
2206         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2207         (cleanID): sanitize any id.
2208
2209 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2210
2211         * buffer.C, lyxlex_pimpl.C:
2212         * lyxlex_pimpl.C (setFile):
2213         s/getExtFromContents/getFormatFromContents/
2214
2215 2004-10-28  José Matos  <jamatos@lyx.org>
2216
2217         * output_docbook.C (makeEnvironment): move id to broadest possible
2218         scope.
2219
2220         * sgml.C (openTag): apply substitution of <> for all attributes.
2221
2222 2004-10-28  José Matos  <jamatos@lyx.org>
2223
2224         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2225         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2226         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2227
2228         * sgml.[Ch]: new version for open and closeTag for paragraph and
2229         for strings. Now they handle the ids of paragraphs.
2230
2231 2004-10-26  Angus Leeming  <leeming@lyx.org>
2232
2233         * Makefile.am: add mover.[Ch].
2234
2235         * converter.C (convert, move): use the new Movers to move external
2236         files to the temp directory.
2237
2238         * lyx_main.C (init): ensure that the global system_movers data
2239         is initialised.
2240
2241         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2242         preferences file.
2243
2244         * mover.[Ch]: new files, defining a Mover as a utility to move an
2245         external file between directories and, if necessary, manipulate this
2246         file using a helper script.
2247
2248 2004-10-25  José Matos  <jamatos@lyx.org>
2249
2250         * output_docbook.C (makeCommand): merge two if's that tested the
2251         same condition.
2252
2253 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * sgml.C (escapeString): fix warning in a better way
2256
2257 2004-10-25  José Matos  <jamatos@lyx.org>
2258
2259         * sgml.C (escapeString): import the require boosts header file for
2260         tie, and avoid a signed unsigned comparison.
2261
2262 2004-10-25  José Matos  <jamatos@lyx.org>
2263
2264         * sgml.h: add #include <string>
2265
2266 2004-10-25  José Matos  <jamatos@lyx.org>
2267
2268         * sgml.[Ch] (escapeString): new function to escape all the string.
2269
2270 2004-10-24  José Matos  <jamatos@lyx.org>
2271
2272         * paragraph.[Ch] (getFirstWord): new function to get the first
2273         word. Useful for description.
2274         (simpleDocBookOnePar): remove depth argument, add another that
2275         says where to start the paragraph.
2276
2277         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2278         use the new functions to fix cleanly the support for descriptions.
2279
2280 2004-10-24  José Matos  <jamatos@lyx.org>
2281
2282         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2283         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2284         * output_linuxdoc.C (linuxdocParagraphs):
2285         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2286         add buffer as argument.
2287
2288 2004-10-24  José Matos  <jamatos@lyx.org>
2289
2290         * output_docbook.C (makeEnvironment, searchEnvironment): place
2291         CDATA inside paragraphs and fix scope for listitems.
2292
2293 2004-10-24  José Matos  <jamatos@lyx.org>
2294
2295         * output_docbook.C: remove using statement for stack.
2296
2297 2004-10-23  José Matos  <jamatos@lyx.org>
2298
2299         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2300         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2301         docbook. The new scheme is recursive and makes use of iterators, the
2302         same as latex export works.
2303         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2304         directly with the paragraph contents. This code was moved up to
2305         output_docbook.C (docbookParagraphs).
2306         * sgml.C (openTag, closeTag): removed unneeded newlines.
2307         (closeEnvTags) removed.
2308
2309 2004-10-23  André Pönitz  <poenitz@gmx.net>
2310
2311         * undo.C (textUndoOrRedo):
2312         * dociterator.C (asDocIterator): work around crash
2313
2314         * cursor.C (getStatus): replace ASSERT by more verbose error message
2315           and manual correction of the problem. Should increase stability
2316           while providing more sensible information.
2317
2318 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2319
2320         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2321
2322         * bufferlist.C (previous, next): new methods
2323
2324         * lfuns.h:
2325         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2326
2327 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2328
2329         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2330         entities to preamble.
2331
2332 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2333
2334         * messages.C (Pimpl): strip off translation context information
2335
2336 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2337
2338         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2339         the cursor is correct (bug 1694)
2340
2341 2004-10-13  José Matos  <jamatos@lyx.org>
2342
2343         * output_docbook.C (docbookParagraphs): fix closing tags in the
2344         end of the document.
2345
2346 2004-10-09  José Matos  <jamatos@lyx.org>
2347
2348         * buffer.C: format up to 237.
2349         * bufferparams.C (write): use tostr to convert booleans to strings.
2350
2351 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2352
2353         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2354
2355 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2356
2357         * LaTeX.C: implement use of babel language in xindy.
2358
2359 2004-10-05  José Matos  <jamatos@lyx.org>
2360
2361         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2362         Add new translators to help reading and writing the lyx file.
2363
2364 2004-10-05  José Matos  <jamatos@lyx.org>
2365
2366         * ParagraphParameters.C (read):
2367         * text.C (readParToken): replace nexToken by more appropriate lex
2368         methods.
2369
2370 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2371
2372         * LaTeX.C (runMakeIndex):
2373         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2374         (usually 'makeindex') configurable.
2375
2376         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2377         with a variable rather than with a number.
2378
2379 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2380
2381         * output_latex.C (TeXOnePar): make sure font setting is the first
2382         thing that gets output (and the last at the end). Should fix bug
2383         1404.
2384
2385 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * pch.h: use proper signal include
2388
2389         * LaTeX.h: Use preferred calling of Boost.Signal
2390         * buffer.h: ditto
2391
2392 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * pch.h: dont include <boost/function/function0.hpp>
2395
2396         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2397
2398         * paragraph_pimpl.h: remove usage of ShareContainer
2399
2400         * paragraph_pimpl.C: remove initialization of ShareContainer.
2401
2402 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2403
2404         Fix bug #1666
2405
2406         * BufferView.C (putSelectionAt): change the semantics when
2407         backwards == true: now, this just swaps cursor and anchor wrt the
2408         forward case
2409
2410         * BufferView.h (putSelectionAt): add some documentation
2411
2412         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2413         make sure backwardChar is done at least once (to avoid getting
2414         stuck)
2415         (findNextChange): use putSelectionAt in the forward direction
2416         (operator()): use Paragraph::isWord
2417
2418 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2419
2420         * Spacing.C (set): c_str fix
2421
2422 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2423
2424         * lyx_cb.C (Reconfigure): quote the name of configure script in
2425         case it contains spaces
2426
2427 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2428
2429         * client: new dir
2430
2431         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2432         (BOOST_LIBS): use top_buildir when looking for the file
2433
2434 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2435
2436         * pch.h: do not use include boost/format.hpp, multiple symbols
2437                 will result (gcc bug)
2438
2439
2440 2004-08-23  José Matos  <jamatos@lyx.org>
2441
2442         * bufferparams.C (readToken): fix reading of the author field.
2443
2444 2004-08-20  José Matos  <jamatos@lyx.org>
2445
2446         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2447
2448 2004-08-20  José Matos  <jamatos@lyx.org>
2449
2450         * lyxlex.[Ch] (findToken): remove function.
2451
2452         * ParagraphParameters.C (findToken):
2453         * bufferparams.C (findToken): replace call for previous function
2454         with local copy. This local function has one more argument, the
2455         read string argument.
2456
2457 2004-08-16  José Matos  <jamatos@lyx.org>
2458
2459         * ParagraphParameters.C (write):
2460         * Spacing.C (writeFile):
2461         * bufferparams.C (writeLaTeX):
2462         * lyx_cb.C (Reconfigure):
2463         * paragraph.C (write):
2464         * tabular.C (write): remove unnecessary space at end of line.
2465
2466
2467 2004-08-16  José Matos  <jamatos@lyx.org>
2468
2469         * text.C (readParagraph): remove debug message.
2470
2471 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2472
2473         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2474         crash
2475
2476         * output_plaintext.C (asciiParagraph): set depth correctly
2477
2478         * outputparams.h: add member depth
2479
2480         * paragraph_funcs.C (ownerPar): remove.
2481
2482         * text2.C (setCounter): remove first_pit; comment out some
2483         non-working code that uses ownerPar
2484
2485         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2486         uses ownerPar
2487
2488 2004-08-16  José Matos  <jamatos@lyx.org>
2489
2490         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2491         For the same level of importance use the same chanel to report problems.
2492         (read): add code to deal with \begin_body and \end_body.
2493
2494
2495 2004-08-15  José Matos  <jamatos@lyx.org>
2496
2497         * lyxlex.C (getString): fix comment, buffer::readBody is now
2498         buffer:readDocument.
2499
2500         * tex-strings.C (string_papersize): Default -> default,
2501         Custom -> custom, for consistency with other options.
2502
2503 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2504
2505         * pch.h: new file
2506
2507         * Makefile.am: support pch
2508
2509 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2510
2511         * text.C (readParToken): remove the static LyXFont variable and
2512         pass it as a parameter instead. This fixes a nasty bug where an
2513         inset will be inserted with a bad font in some situations
2514         (readParagraph): adapt
2515
2516         * text2.C (setCounter): reduce number of calls to pars_[pit]
2517
2518         * text.C (singleWidth): add an assert, fix a test
2519
2520         * rowpainter.C (paintText): reduce number of calls to singleWidth
2521
2522         * paragraph.C (isHfill):
2523         (isNewline): ws only
2524
2525 2004-08-14  André Pönitz  <poenitz@gmx.net>
2526
2527         * text.C:
2528         * text2.C:
2529         * rowpainter.C:
2530         * lyxtext.h (several functions): use a Paragraph & argument
2531         instead of par_type
2532
2533 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2534
2535         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2536
2537         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2538
2539         * text.C (singleWidth): remove useless test
2540
2541 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2542
2543         * tabular.h: remove bogus comments
2544
2545         * tabular.C (getDescentOfRow):
2546         (isPartOfMultiColumn): add assertions
2547
2548         * lyxlength.C (inPixels): remove #warning
2549
2550 2004-08-14  André Pönitz  <poenitz@gmx.net>
2551
2552         * paragraph.h: inline getChar()
2553
2554         * BufferView.h: remove unused declarations
2555
2556 2004-08-14  José Matos  <jamatos@lyx.org>
2557
2558         * Buffer.[Ch] (readDocument): new name for old readBody.
2559         * Buffer.C: new file format, new keywords: \begin_document,
2560         \begin_header, \begin_body, \end_body.
2561
2562         * bufferparams.C (readToken): replace all calls to lex.nextToken
2563         by lex.next(). Do the same to eatLine except where really needed.
2564
2565         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2566         line when writing to the lyx file.
2567
2568         * output_plaintext.C (asciiParagraph): fix Bibliography style
2569         handling.
2570
2571         * text.C (read): fix end of file handling.
2572
2573 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2574
2575         * MenuBackend.C (Menu::operator[]): new method to access
2576         individual menu items
2577         (Menu::hasFunc): new method. search for an item that corresponds
2578         to a given func
2579         (MenuBackend::specialMenu): new method
2580         (MenuBackend::expand): if a special menu has been set, skip
2581         entries whose func() appears in this menu
2582
2583 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2584
2585         * text3.C: use Debug::DEBUG a bit more
2586
2587         * text.C (leftMargin): try to simplify a tiny bit change var x to
2588         l_margin. Dont output the wide margins always.
2589         (rightMargin): no margin in inner texts
2590
2591         * rowpainter.h (nestMargin): new func
2592         (changebarMargin): new func
2593         (rightMargin): new func
2594
2595         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2596         now functions.
2597         (paintLast): ditto
2598
2599         * factory.C (createInset): modify setDrawFrame
2600
2601         * cursor.C: use Debug::DEBUG a bit more
2602
2603 2004-08-14  André Pönitz  <poenitz@gmx.net>
2604
2605         * coordcache.[Ch]:
2606         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2607         cache for all insets in (at least partially) visible (top-level)
2608         paragraphs.
2609
2610         * BufferView_pimpl.C: reset external coord cache before every update.
2611         This means the coord cache only contains valid entries.
2612
2613 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2614
2615         bug 1096
2616         * BufferView_pimpl.C (getInsetByCode): move function out of class
2617         and change in to a template in anon namespace. Also fix to do what
2618         suits us better.
2619
2620 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2621
2622         bug 1305
2623         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2624         of char
2625         (breakParagraph): rename par to par_offset and use a local
2626         reference. Add code to keep the language over a rebreak.
2627         (breakParagraphConservative): rename par to par_offset, use a
2628         local reference
2629         (mergeParagraph): ditto
2630         (outerHook): ditto
2631         (isFirstInSequence): ditto
2632         (outerFont): rename pit to par_offset
2633
2634         * paragraph.C: ws change
2635         * paragraph.h: ditto
2636         * text3.C: ditto
2637         * text.C: ditto
2638
2639 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2640
2641         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2642         treatment for ']'
2643
2644         * paragraph.C (simpleTeXOnePar): when we have a \item with
2645         optional argument, enclose the argument with curly brackets (in
2646         case it contains a closing square bracket)
2647
2648         * text2.C (editXY):
2649         * text2.C (editXY):
2650         * text3.C (checkInsetHit): constify
2651
2652 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2653
2654         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2655         documents (bug 1629)
2656
2657 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2658
2659         Fix toggling of collapsable insets with the mouse (bug 1558)
2660
2661         * lyxfunc.C (dispatch): adapt to LCursor changes
2662
2663         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2664         make sure that dispatch is not invoked twice
2665
2666         * cursor.C (needsUpdate): new method
2667         (dispatch): return void
2668         (result): new method, to access the DispatchResult of the cursor.
2669
2670 2004-08-13  José Matos  <jamatos@lyx.org>
2671
2672         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2673
2674 2004-08-13  André Pönitz  <poenitz@gmx.net>
2675
2676         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2677
2678         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2679           multiple cells
2680
2681 2004-08-12  André Pönitz  <poenitz@gmx.net>
2682
2683         * text3.C: take out the 'cursor right' form insertInset and only
2684         do it in those places when it is really needed. Fixes crash on
2685         C-m...
2686
2687 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2688
2689         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2690
2691         * BufferView_pimpl.C (setBuffer): initialize the current font of
2692         the underlying LyXText
2693
2694 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2695
2696         * kbsequence.C (print): use UI native formatting for menu
2697         shortcuts
2698
2699         * text.C (insertChar): call Paragraph::insertChar with a font
2700         argument (cosmetic)
2701
2702         * paragraph.C (insertInset, insertChar): the version that takes a
2703         LyXFont argument is now a wrapper around the other one (the
2704         opposite used to be true).
2705
2706         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2707         argument. Font setting is done in Paragraph now.
2708
2709 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2710
2711         * outputparams.h: add new members intitle and lang.
2712
2713         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2714         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2715
2716 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2717
2718         * text3.C (dispatch): remove special handling of button 4 and 5,
2719         it is now taken care of in the frontend code.
2720
2721 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2722
2723         * Spacing.h: add <string> (STLPort compile fix)
2724
2725 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2726
2727         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2728
2729 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2730
2731         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2732         to bool.
2733
2734         * converter.C (showMessage): inherit from unary_function, make
2735         operator() const.
2736
2737         * buffer.C (writeFile): initialize retval
2738
2739         * InsetList.h: rename private variable list to list_
2740         * InsetList.[Ch]: adjust accordingly.
2741
2742 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2743
2744         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2745         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2746         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2747         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2748         * ParagraphParameters.C, LaTeXFeatures.C: replace
2749         "support/std_sstream.h" with <sstream>
2750
2751 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2752
2753         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2754         * lyxsocket.C (LyXServerSocket): ditto
2755         (serverCallback): ditto
2756
2757 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2758
2759         * LaTeXFeatures.C: check release date when loading jurabib.
2760
2761 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2762
2763         * lyxserver.C (startPipe): call register_socket_callback
2764         (endPipe): call unregister_socket_callback
2765
2766 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2767
2768         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2769         (LyXServerSocket): register the callback
2770         (LyXServerSocket): unregister the callback
2771         (fd): delete function
2772         (serverCallback): improve error checking and setup the callbacks.
2773         (dataCallback): change arg to fd.
2774         (writeln): new func (copied fro the client socket) used for server
2775         write to client.
2776         (LyXDataSocket): simplify
2777         (~LyXDataSocket): close ann unregiser callback
2778         (server): delete function
2779         (fd): delete function
2780         (readln): small changes, improve some std::string usage
2781         (writeln): constify a bit
2782
2783 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2784
2785         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2786         Qt frontend
2787
2788 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2789
2790         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2791         after it has been populated
2792
2793 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2794
2795         * text2.C (insertInset): move cursor when inserting inset.
2796
2797 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2798
2799         * kbmap.C (findbindings): a couple of new methods. returns a
2800         container of kb_sequence objects. The real work is done by the
2801         private recursive version
2802         (printbindings): uses findbindings to print out a bracketed list
2803         of bindings (renamed from findbinding).
2804
2805         * MenuBackend.C (binding): use kb_keymap::findbindings
2806
2807         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2808
2809 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2810
2811         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2812
2813 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2814
2815         * paragraph.C (isWord): return true on insets that report
2816         isLetter().
2817
2818         * text.C (getWord): use Paragraph::isWord to decide what is in a
2819         word and what is not; fix bug 1609.
2820
2821 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2822
2823         * tex-strings.C: add "none" to string_paperpackages[], fixes
2824         off-by-one-error in the paperpackage selection.
2825
2826         * lyxlex.[Ch]:
2827         * tex-strings.[Ch]: char const * string[n]
2828         -> char const * const string[]
2829
2830 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2831
2832         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2833         command, return early.
2834
2835 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * debug.h: add DEBUG to enum and fix size of ANY.
2838
2839         * debug.C: add support for Debug::DEBUG
2840         (showTags): cast errorTags.level to unsigned int
2841
2842         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2843         (redoCurrentBuffer): ditto
2844         (updateScrollbar): ditto
2845         * cursor.C (dispatch): ditto
2846         * text2.C (setLayout): ditto
2847         (setFont): ditto
2848         (updateCounters): ditto
2849         (editXY): ditto
2850         (deleteEmptyParagraphMechanism): ditto
2851
2852 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2853
2854         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2855         annotations to cleanup the Makefile slightly.
2856
2857 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2858
2859         * lyxrc.C: do not set user_email to a default value but use empty
2860         instead. The entry used to be translated, which does not work
2861         since at the point where lyxrc is constructed there is no
2862         translation service available
2863
2864         * messages.C (getLocaleDir): remove and use directly
2865         lyx_localedir() instead
2866
2867 2004-06-02  Angus Leeming  <leeming@lyx.org>
2868
2869         Fix crash caused by dereferencing null pointer 'exportdata' in
2870         OutputParams by creating a new ExportData variable on the heap,
2871         storing it in a boost::shared_ptr.
2872         The crash was triggered when generating an Instant Preview
2873         of an external inset.
2874
2875         * Makefile.am: add outputparams.C
2876
2877         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2878         (c-tor): allocate memory to it.
2879
2880         * exporter.C (c-tor): associated changes.
2881
2882 2004-06-01  Angus Leeming  <leeming@lyx.org>
2883
2884         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2885         contains data before calling isInset(0). (Bug 1513.)
2886
2887 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2888
2889         * exporter.C (checkOverwrite): new method
2890         * exporter.C (copyFile): new method
2891         * exporter.C (Export): copy referenced files to the document dir
2892         * exporter.[Ch]: new class ExportedFile
2893         * exporter.[Ch]: new class ExportData. Contains currently the
2894         names of referenced external files
2895         * outputparams.h: add exportdata member.
2896
2897 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2898
2899         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2900         version.C-tmp
2901
2902 2004-05-19  Angus Leeming  <leeming@lyx.org>
2903
2904         * LaTeXFeatures.C:
2905         * ToolbarBackend.C:
2906         * bufferparams.C:
2907         * lyxfunc.C: small changes due to the introduction of namespace
2908         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2909
2910 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2911
2912         * text3.C (dispatch): supress update when only moving the cursor
2913         * cursor.C (selHandle): remove commented code
2914
2915 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2916
2917         * paragraph.C (startTeXParParams): correct column count
2918         * CutAndPaste.C (pasteSelection): remove const_cast
2919         * output_docbook.C (docbookParagraphs): remove const_cast
2920         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2921         const_cast and return ParagraphList::const_iterator
2922         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2923         * output_plaintext.C (writeFileAscii): remove const_cast
2924         * paragraph.[Ch] (simpleTeXOnePar): make const
2925         * paragraph_funcs.C (outerPar): use const iterators
2926         * paragraph_pimpl.C (validate): use const iterators
2927         * text.C (setHeightOfRow): use const iterators
2928
2929 2004-05-17  Angus Leeming  <leeming@lyx.org>
2930
2931         * lfuns.h:
2932         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2933
2934         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2935         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2936         if the citation engine has changed.
2937
2938 2004-05-14  José Matos  <jamatos@lyx.org>
2939
2940         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2941         if the textclass does not provide it. Have it different for sgml and
2942         xml.
2943         support the language of document.
2944         * output_docbook.C (docbookParagraphs):
2945         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2946         first anchor as the id of the paragraph, remove special case code.
2947         * sgml.C (escapeChar): escape only < & >.
2948
2949 2004-05-14  Angus Leeming  <leeming@lyx.org>
2950
2951         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2952         dependencies on src/frontends/controllers/biblio.h. Define a
2953         CiteEngine_enum wrapper class to enable the enum to be forward
2954         declared.
2955
2956 2004-05-12  Angus Leeming  <leeming@lyx.org>
2957
2958         * buffer.C: up LYX_FORMAT to 234.
2959         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2960         use_numerical_citations with a single biblio::CiteEngine cite_engine
2961         variable.
2962         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2963
2964 2004-05-13  José Matos  <jamatos@lyx.org>
2965
2966         * converter.h:
2967         * converter.C (Converter, readFlags): add xml member.
2968         * outputparams.h: add XML flavor.
2969         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2970
2971 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2972
2973         * lyxfunc.C (dispatch):
2974         (getStatus): fix handling of LFUN_SEQUENCE
2975
2976 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2977
2978         * debug.C (showLevel): do not forget the end-of-line marker
2979
2980 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * kbmap.C (read): do not stop parsing a bind file when an error
2983         occurs (bug 1575)
2984
2985 2004-04-29  Angus Leeming  <leeming@lyx.org>
2986
2987         * cursor.C:
2988         * factory.C:
2989         * pariterator.C:
2990         * text2.C: wrap a bunch of #warning statements
2991         inside #ifdef WITH_WARNINGS blocks.
2992
2993 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2994
2995         * buffer.C: increment format to 233.
2996
2997 2004-04-28  Angus Leeming  <leeming@lyx.org>
2998
2999         * BufferView_pimpl.C:
3000         * lyxfunc.C:
3001         * text3.C:
3002         s/updateToolbar()/updateToolbars()/
3003         s/Toolbar.h/Toolbars.h/
3004
3005 2004-04-28  Angus Leeming  <leeming@lyx.org>
3006
3007         * BufferView.[Ch] (c-tor):
3008         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3009         No longer passes these data to the WorkArea generator.
3010
3011 2004-04-28  Angus Leeming  <leeming@lyx.org>
3012
3013         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3014
3015 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3016
3017         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3018
3019 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3020
3021         * output_latex.C (TeXEnvironment): make sure that there is a line
3022         break before \end{foo} for the last paragraph of a document
3023         (TeXOnePar): if the paragraph is at the end of the document (or
3024         inset) and the language has to be reset, then make sure that the
3025         line break is _before_ the language command, not after (fixes bug
3026         1225); also make sure that the language reset command is the first
3027         thing after the paragraph (to ensure proper nesting of
3028         environments and thus fix bug 1404)
3029
3030 2004-04-21  John Levon  <levon@movementarian.org>
3031
3032         * ToolbarBackend.h:
3033         * ToolbarBackend.C: make "name" be a programmatic name
3034         and a gui_name field.
3035
3036         * lyxfunc.C: display the minibuffer on M-x
3037
3038 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3039
3040         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3041         (bug 1526)
3042
3043 2004-04-19  Angus Leeming  <leeming@lyx.org>
3044
3045         * BufferView_pimpl.C (setBuffer): changed preview interface.
3046
3047         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3048         possible values.
3049
3050 2004-04-19  John Levon  <levon@movementarian.org>
3051
3052         * BufferView_pimpl.C:
3053         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3054
3055 2004-04-05  Angus Leeming  <leeming@lyx.org>
3056
3057         * text.C (redoParagraphs): add call to updateCounters(), thereby
3058         fixing the missing "Figure #:" label from the caption of a
3059         figure float.
3060
3061 2004-04-13  Angus Leeming  <leeming@lyx.org>
3062
3063         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3064         cursor is clicked out of an inset.
3065
3066 2004-04-13  Angus Leeming  <leeming@lyx.org>
3067
3068         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3069         than an InsetOld one.
3070
3071 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3072
3073         * format.[Ch]: add editor to Format
3074         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3075         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3076
3077 2004-04-08  André Pönitz  <poenitz@gmx.net>
3078
3079         * metricsinfo.h: remove PainterInfo::width member
3080
3081 2004-04-08  Angus Leeming  <leeming@lyx.org>
3082
3083         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3084         "\providecommand" rather than "\newcommand", thereby preventing
3085         clashes with packages that define "\boldsymbol" themselves.
3086         Eg, beamer.
3087
3088 2004-04-08  Angus Leeming  <leeming@lyx.org>
3089
3090         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3091         thereby squashing an unnecessary warning.
3092
3093 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3094
3095         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3096         setBuffer()
3097
3098 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3099
3100         * BufferView.C (setCursor): call redoParagraph (some insets could
3101         have been opened)
3102         (putSelectionAt): remove the 'double update' trick
3103
3104         * BufferView_pimpl.C (fitCursor): call refreshPar
3105         (workAreaDispatch): remove an uneeded update call
3106         (dispatch): remove some manual update calls
3107
3108         * cursor.[Ch]: remove cached_y_, updatePos
3109         (selHandle): set noUpdate when appropriate
3110
3111         * lyxfunc.C (dispatch): track if we need an update
3112
3113         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3114
3115         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3116         (paintSelection): cheap optimization, do not call cursorX when not
3117         needed
3118         (paintPars): change signature
3119         (refreshPar): add
3120         (paintText): adjust
3121         (paintTextInset): adjust
3122
3123         * text.C: adjust
3124
3125 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3126
3127         * lengthcommon.C: compilation fix: remove explicit array size from
3128         unit_name[] and friends
3129
3130 2004-04-05  Angus Leeming  <leeming@lyx.org>
3131
3132         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3133
3134         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3135         present only for the preferences dialog.
3136         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3137
3138 2004-04-05  Angus Leeming  <leeming@lyx.org>
3139
3140         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3141         to enable the frontends to export changes to lyxrc correctly.
3142
3143         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3144
3145 2004-04-07  André Pönitz  <poenitz@gmx.net>
3146
3147         * cursor.[Ch] (selClear, adjust): remove math
3148
3149         * cursor_slice.C: more agressive assert
3150
3151         * lyxfunc.C:
3152         * BufferView_pimpl.C: rework mouse event dispatch
3153
3154         * dociterator.C:
3155         * paragraph.C:
3156         * text2.C:
3157         * text3.C: adjust
3158
3159 2004-04-05  André Pönitz  <poenitz@gmx.net>
3160
3161         * cursor.[Ch] (valign, halign...): remove unneeded functions
3162
3163 2004-04-05  Angus Leeming  <leeming@lyx.org>
3164
3165         * lyxlength.[Ch] (unit_name et al.): const-correct.
3166
3167 2004-04-05  Angus Leeming  <leeming@lyx.org>
3168
3169         * BufferView_pimpl.C:
3170         * buffer.C:
3171         * counters.C:
3172         * cursor.C:
3173         * lyxfunc.C
3174         * paragraph.C:
3175         * pariterator.C:
3176         * text.C:
3177         * text2.C:
3178         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3179
3180 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3181
3182         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3183
3184 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3185
3186         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3187         * BufferView_pimpl.[Ch] (getStatus)
3188         * BufferView.[Ch] (getStatus): add
3189         * lyxfunc.C (getStatus): move lfuns handled in
3190         BufferView::dispatch to te function above
3191         * Cursor.C (setSelection): set selection() = true
3192
3193 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3194
3195         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3196
3197 2004-03-31  Angus Leeming  <leeming@lyx.org>
3198
3199         * lyxfunc.C (dispatch): Fall through to the generic
3200         Dialogs::show("preamble").
3201
3202 2004-03-31  Angus Leeming  <leeming@lyx.org>
3203
3204         * lyxfunc.C (dispatch): Fall through to the generic
3205         Dialogs::show("spellchecker").
3206
3207 2004-03-31  Angus Leeming  <leeming@lyx.org>
3208
3209         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3210         preferences dialog.
3211
3212 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3213
3214         * BufferView.C
3215         * cursor.[Ch]
3216         * dociterator.[Ch]:
3217         * insetiterator.[Ch]:
3218         * lyxfind.C:
3219         * lyxfunc.C:
3220         * pariterator.[Ch]:
3221         * text2.C:
3222         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3223
3224 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3225
3226         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3227         insets where we are putting the cursor.
3228
3229 2004-03-31  Angus Leeming  <leeming@lyx.org>
3230
3231         * lfuns.h:
3232         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3233
3234         * lyxrc.[Ch] (read, write): overloaded member functions taking
3235         a std::[io]stream arguments.
3236
3237         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3238
3239 2004-03-31  Angus Leeming  <leeming@lyx.org>
3240
3241         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3242         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3243
3244         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3245         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3246
3247 2004-03-31  Angus Leeming  <leeming@lyx.org>
3248
3249         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3250         the LFUN_ALL_INSETS_TOGGLE code.
3251
3252 2004-03-30  Angus Leeming  <leeming@lyx.org>
3253
3254         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3255         has died. Fall through to the generic Dialogs::show("document").
3256
3257 2004-03-30  Angus Leeming  <leeming@lyx.org>
3258
3259         * lfuns.h:
3260         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3261         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3262
3263         * lyxfunc.C (getStatus, dispatch): define the actions for these
3264         lfuns. Little more than a cut and pste job from ControlDocument.C
3265
3266         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3267
3268 2004-03-30  Angus Leeming  <leeming@lyx.org>
3269
3270         * lfuns.h:
3271         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3272         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3273
3274         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3275         open/closed state of ollapsable insets. Usage:
3276
3277         all-inset-toggle <state> <name>, where
3278         <state> == "open" || "closed" || "toggle" and
3279         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3280
3281         * lyxtext.h, text2.C (toggleInset): removed.
3282
3283         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3284         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3285         now passes LFUN_INSET_TOGGLE to the found inset.
3286
3287         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3288         is now invoked as "all-insets-toggle toggle branch".
3289
3290 2004-03-30  Angus Leeming  <leeming@lyx.org>
3291
3292         * dociterator.C:
3293         * insetiterator.C:
3294         * pariterator.[Ch]: added/corrected header blurb.
3295
3296 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3297
3298         * dociterator.[Ch]: add an inset_ member
3299         (backwardPos): implemented
3300         (backwardPos, forwardPos): use inset_ when the stack is empty.
3301         (doc_iterator_begin, doc_iterator_end): implemented
3302         * pariterator.[Ch]: adjust, add begin, end
3303         * insetiterator.[Ch]: adjust, add begin, end
3304         * cursor.C:
3305         * document.C:
3306         * BufferView.C:
3307         * BufferView_pimpl.C:
3308         * CutAndPaste.C: adjust
3309
3310 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3311
3312         * buffer.C: increment file format to 232.
3313         * LaTeXFeatures.C: add bibtopic package.
3314         * bufferparams.[Ch]: param \use_bibtopic.
3315
3316         * lyxrc.[Ch]: add lyxrc bibtex_command
3317         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3318
3319         * buffer.C: increment file format to 231.
3320
3321 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3322
3323         * dociterator.C: implement forwardPar
3324         * iterators.[Ch]: remove, replaced by
3325         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3326         * BufferView.C:
3327         * BufferView_pimpl.C:
3328         * CutAndPaste.C:
3329         * buffer.C:
3330         * bufferview_funcs.C:
3331         * cursor.C:
3332         * lyxfind.C
3333         * lyxfunc.C
3334         * paragraph_funcs.C
3335         * toc.C:
3336         * Makefile.am: adjust
3337
3338 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3339
3340         * CutAndPaste.C (pasteSelection): fix 2 crashes
3341         (eraseSelection): fix a crash
3342         * paragraph_funcs.C: remove a warning
3343
3344 2004-03-28  Angus Leeming  <leeming@lyx.org>
3345
3346         * lfuns.h:
3347         * LyXAction.C (init): new LFUN_PRINT.
3348
3349         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3350
3351 2004-03-27  Angus Leeming  <leeming@lyx.org>
3352
3353         * lfuns.h:
3354         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3355
3356         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3357
3358 2004-03-27  Angus Leeming  <leeming@lyx.org>
3359
3360         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3361         insetlist always contains non-null pointers to insets.
3362
3363 2004-03-26  Angus Leeming  <leeming@lyx.org>
3364
3365         * src/BufferView_pimpl.C:
3366         * src/CutAndPaste.C:
3367         * src/buffer.C:
3368         * src/iterators.C:
3369         * src/output_plaintext.C:
3370         * src/outputparams.h:
3371         * src/paragraph_funcs.C:
3372         * src/rowpainter.C:
3373         * src/text.C:
3374         * src/text2.C:
3375         * src/frontends/controllers/ControlErrorList.C:
3376         * src/frontends/gtk/FileDialogPrivate.C:
3377         * src/frontends/gtk/GPainter.C:
3378         * src/frontends/gtk/GToolbar.C:
3379         * src/frontends/qt2/QRef.C:
3380         * src/mathed/math_scriptinset.C: squash compiler warnings.
3381
3382 2004-03-26  Angus Leeming  <leeming@lyx.org>
3383
3384         * ispell.C (LaunchIspell::start):
3385         * lyx_cb.C (AutoSaveBuffer::start):
3386         invoke run(DontWait) rather than runNonBlocking().
3387
3388 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3389
3390         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3391
3392 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3393
3394         * kbsequence.C (print): adjust
3395
3396         * kbmap.C (printKeySym): rename and change signature
3397         (printKey): use LyXKeySym::print()
3398
3399 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3400
3401         * undo.C: add using std::advance to compile for stlport
3402
3403 2004-03-24  Angus Leeming  <leeming@lyx.org>
3404
3405         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3406         it leads to a crash when no buffer is present.
3407
3408 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3409             Martin Vermeer  <martin.vermeer@hut.fi>
3410
3411         * lyxfunc.C (dispatch):
3412         * bufferparams.C (readToken): use the new LColor::setColor
3413
3414         * LColor.[Ch] (setColor): new version that takes two strings as
3415         argument and creates a new color entry if necessary
3416
3417 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3418
3419         * buffer.C (makeLaTeXFile): if the main latex file that is
3420         processed is usually a subdocument of some master, then pretend
3421         for a while that it is actually the master
3422
3423 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3424
3425         * buffer.C (getLabelList):
3426         (getBibkeyList): use getMasterBuffer()
3427         (getMasterBuffer): new method. Returns the main document in the
3428         case where one is using included documents.
3429
3430 2004-03-25  André Pönitz  <poenitz@gmx.net>
3431
3432         * Makefile.am:
3433         * iterators.[Ch]:
3434         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3435
3436         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3437
3438         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3439         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3440
3441         * ParameterStruct.h: merge with ParagraphParameters
3442
3443         * lyxtext.h: remove LyXText::parOffset() and getPar()
3444
3445         * text3.C: Remove all 'manual' update calls. We do now one per user
3446         interaction which is completely sufficient.
3447
3448         * Bidi.C:
3449         * BufferView.[Ch]:
3450         * BufferView_pimpl.C:
3451         * FontIterator.[Ch]:
3452         * MenuBackend.C:
3453         * ParagraphParameters.[Ch]:
3454         * buffer.C:
3455         * buffer.h:
3456         * bufferlist.C:
3457         * cursor.[Ch]:
3458         * cursor_slice.[Ch]:
3459         * dociterator.[Ch]:
3460         * errorlist.[Ch]:
3461         * factory.C:
3462         * lfuns.h:
3463         * lyxfind.C:
3464         * lyxfunc.C:
3465         * output_docbook.[Ch]:
3466         * output_latex.[Ch]:
3467         * output_linuxdoc.[Ch]:
3468         * output_plaintext.[Ch]:
3469         * paragraph.[Ch]:
3470         * paragraph_funcs.[Ch]:
3471         * paragraph_pimpl.[Ch]:
3472         * rowpainter.C:
3473         * tabular.[Ch]:
3474         * text.C:
3475         * text2.C:
3476         * toc.C:
3477         * undo.[Ch]: adjust
3478
3479         * frontends/controllers/ControlDocument.C:
3480         * frontends/controllers/ControlErrorList.C:
3481         * frontends/controllers/ControlSpellchecker.C:
3482         * insets/inset.C:
3483         * insets/inset.h:
3484         * insets/insetbase.h:
3485         * insets/insetbibitem.C:
3486         * insets/insetbox.C:
3487         * insets/insetbranch.C:
3488         * insets/insetcaption.C:
3489         * insets/insetcharstyle.C:
3490         * insets/insetcharstyle.h:
3491         * insets/insetcollapsable.C:
3492         * insets/insetcollapsable.h:
3493         * insets/insetert.C:
3494         * insets/insetfloat.C:
3495         * insets/insetfoot.C:
3496         * insets/insetmarginal.C:
3497         * insets/insetnote.C:
3498         * insets/insetoptarg.C:
3499         * insets/insettabular.C:
3500         * insets/insettext.C:
3501         * insets/insettext.h:
3502         * insets/insetwrap.C:
3503         * mathed/math_mboxinset.C:
3504         * mathed/math_nestinset.C:
3505         * mathed/math_scriptinset.C:
3506         * mathed/math_scriptinset.h:
3507         * support/types.h:
3508
3509 2004-03-24  Angus Leeming  <leeming@lyx.org>
3510
3511         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3512         deal with any child processes that have finished but are waiting to
3513         communicate this fact to the rest of LyX.
3514
3515 2004-03-24  Angus Leeming  <leeming@lyx.org>
3516
3517         64-bit compile fixes.
3518
3519         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3520         (c-tor): pass lyx::pos_types rather than ints.
3521
3522         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3523         lyx::pos_type.
3524
3525         * text.C (Delete): compile fix.
3526         (getPar): ensure that function declaration is the same as that in
3527         the header file.
3528
3529 2004-03-23  Angus Leeming  <leeming@lyx.org>
3530
3531         * ispell.C (LaunchIspell):
3532         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3533         a boost::shred_ptr rather than a std::auto_ptr.
3534
3535 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3536
3537         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3538         handle LFUN_FILE_INSERT_*
3539
3540         * lyxrc.C (setDefaults, getDescription, output, read):
3541         * lyxrc.h: remove ps_command
3542
3543 2004-03-22  Angus Leeming  <leeming@lyx.org>
3544
3545         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3546         Ensure that error_handler is processed once only and that all data
3547         is saved before attempting to output any warning messages.
3548
3549         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3550
3551 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3552
3553         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3554
3555 2004-03-19  André Pönitz  <poenitz@gmx.net>
3556
3557         * cursor.[Ch] (reset): take main text inset as argument
3558
3559         * BufferView: adjust
3560         * BufferView_pimpl.C: adjust
3561
3562         * paragraph.[Ch]: fix completely broken operator=()
3563
3564 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3565
3566         * LColor.C (getFromLyXName): make sure that the color name is used
3567         as lowercase.
3568
3569 2004-03-17  Angus Leeming  <leeming@lyx.org>
3570
3571         * lfuns.h:
3572         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3573
3574         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3575         dialog and to kill a forked process.
3576
3577 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3578
3579         * text2.C (setCursorFromCoordinates): fix font problem
3580
3581 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3582
3583         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3584         bogus "rebuild cursor" code
3585
3586 2004-03-11  André Pönitz  <poenitz@gmx.net>
3587
3588         * buffer.[Ch]: use InsetText instead of LyXText as container for
3589         the main lyx text.
3590
3591         * dociterator.[Ch]: drop the BufferView * member which is not needed
3592         anymore after the change to buffer.C
3593
3594         * paragraph_funcs.C:
3595         * text.C:
3596         * text2.C:
3597         * BufferView.[Ch]:
3598         * BufferView_pimpl.[Ch]:
3599         * cursor.[Ch]:
3600         * cursor_slice.[Ch]: adjust
3601
3602         * text3.C: fix bug in mathDispatch
3603
3604 2004-03-08  André Pönitz  <poenitz@gmx.net>
3605
3606         * undo.[Ch]: use 'StableDocumentIterator' as base for
3607         the Undo struct.
3608
3609 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3610
3611         * LaTeXFeatures.C:
3612         * bufferparams.[Ch]: add jurabib support and param.
3613
3614         * LaTeX.C: add FIXME/comment.
3615
3616 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3617
3618         * buffer.C: increment file format to 230.
3619
3620 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3621
3622         * cursor.C (dispatch): avoid infinite loops
3623
3624 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3625
3626         * rowpainter.C (paintSelection): fix x coordinates
3627
3628 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3629
3630         * text.C (rowBreakPoint): fix breaking before displayed insets
3631
3632 2004-03-01  André Pönitz  <poenitz@gmx.net>
3633
3634         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3635
3636         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3637
3638         * Makefile.am:
3639         * BufferView.C:
3640         * BufferView_pimpl.C:
3641         * buffer.C:
3642         * lyxfind.C:
3643         * lyxfunc.C:
3644         * text.C:
3645         * text2.C:
3646         * text3.C: adjust
3647
3648 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3649
3650         * lyxtext.h:
3651         * text.C:
3652         * text2.C:
3653         * rowpainter.C:
3654         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3655         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3656
3657 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3658
3659         * Bidi.[Ch] (computeTables): const correctness
3660         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3661         fill_hfill, fill_label_hfill and x from Row
3662         * lyxtext.h: prepareToPrint returns a RowMetrics
3663         * rowPainter.C: adjust
3664         * text.C (prepareToPrint): use width, not textWidth. adjust
3665         (redoParagraphInternal, cursorX): adjust
3666         * text2.C (getColumnNearX): adjust
3667         (init): put a default value to the top LyXText::width
3668
3669 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3670
3671         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3672
3673 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3674
3675         * lyxtext.h: add FontIterator class
3676
3677         * text.C (FontIterator, operator*, operator->, operator++): add
3678         (rowBreakPoint, setRowWidth): adjust (fixing a
3679         rebreaking bug)
3680
3681 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3682
3683         * BufferView_pimpl.C (workAreaDispatch): allow also
3684         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3685
3686 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3687
3688         * text.C (rowBreakPoint): fix a bug showing with very large insets
3689
3690 2004-02-25  André Pönitz  <poenitz@gmx.net>
3691
3692         * text3.C:
3693         * cursor.[Ch]: move some mathed specific code to mathed
3694
3695 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3696
3697         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3698         use_tempdir in preferences
3699         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3700         tempfile creation
3701         * lyx_main.C: ensure that tempdir is valid
3702         * lyxlex.h: correct typo
3703         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3704         * paragraph.[Ch] (isMultiLingual): make const
3705         * cursor.[Ch] (openable): make const
3706
3707 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3708
3709         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3710
3711 2004-02-20  André Pönitz  <poenitz@gmx.net>
3712
3713         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3714
3715         * cursor.[Ch]: prepare for localized getStatus()
3716
3717         * lyxtext.h:
3718         * tabular.C:
3719         * text.C:
3720         * text2.C:
3721         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3722
3723 2004-02-20  André Pönitz  <poenitz@gmx.net>
3724
3725         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3726
3727 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3728
3729         * text2.C (setCursorFromCoordinates): switch to absolute coords
3730         (cursorUp): adjust
3731         (cursorDown): adjust
3732         * text3.C (dispatch): adjust
3733
3734 2004-02-16  André Pönitz  <poenitz@gmx.net>
3735
3736         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3737           insets/ChangeLog)
3738
3739         * cursor_slice.[Ch]: remove unneeded acessor function
3740
3741         * lyxtext.h: rename rtl() to isRTL()
3742
3743         * rowpainter.C:
3744         * tabular.C:
3745         * text.C:
3746         * text2.C:
3747         * text3.C: adjust
3748
3749 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3750
3751         * rowpainter.C (paintSelection): coord fix
3752
3753 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3754
3755         * Spacing.C: compile fix
3756
3757 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3758
3759         * cursor.C (dispatch): restore current_ before returning
3760
3761 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3762
3763         * text2.C (cursorUp, cursorDown): fix coords
3764         (moveUp): fix crash
3765
3766 2004-02-12  André Pönitz  <poenitz@gmx.net>
3767
3768         * lyxtext.h:
3769         * text.C:
3770         * text2.C:
3771         * text3.C: add LCursor & parameter to most cursor movement functions
3772           remove usage of LyXText::cursorRow() and cursorPar()
3773
3774         * cursor.[Ch]: add textRow() needed members
3775
3776         * BufferView.C:
3777         * BufferView_pimpl.C:
3778         * paragraph.[Ch]:
3779         * BufferView.C:
3780         * BufferView_pimpl.C: adjust
3781
3782 2004-02-11  André Pönitz  <poenitz@gmx.net>
3783
3784         * lyxfunc.C:
3785         * BufferView.[Ch]:
3786         * BufferView_pimpl.C: shift undo/redo handling
3787
3788         * cursor.[Ch]: fix mathed crash
3789
3790         * lyxfind.C:
3791         * lyxtext.h: move selectionAsText to LCursor
3792
3793         * output_latex.C:
3794         * paragraph.C:
3795         * text.C:
3796         * text2.C:
3797         * text3.C: adjust
3798
3799         * rowpainter.C: fix excessive drawing
3800
3801 2004-02-06  André Pönitz  <poenitz@gmx.net>
3802
3803         * BufferView.[Ch]:
3804         * BufferView_pimpl.[Ch]:
3805         * text3.C: move some text specific LFUN handling
3806
3807 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3808
3809         * text3.C (checkInsetHit): adjust coords
3810         * text2.C (getColumnNearX): adjust coords
3811         (edit): adjust coords
3812         * text.C (getRowNearY): add two asserts
3813
3814 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3815
3816         * converter.C:
3817         * format.C: add using std::distance to compile on gcc 2.95/stlport
3818
3819 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3820
3821         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3822
3823 2004-02-04  André Pönitz  <poenitz@gmx.net>
3824
3825         * BufferView.[Ch] (insertInset):
3826         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3827
3828         * text2.C:
3829         * text3.C: adjust
3830
3831 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3832
3833         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3834         on the default clause of the switch
3835         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3836         wasn't catched by LCursor::dispatch
3837
3838 2004-02-03  André Pönitz  <poenitz@gmx.net>
3839
3840         * BufferView.C:
3841         * cursor.[Ch]: some additional asserts
3842
3843         * undo.[Ch]: remove LyXText dependency in interface
3844
3845         * lyxfunc.C: adjust
3846
3847         * lyxtext.h (firstPar, lastPar): remove dead functions
3848
3849         * text.C:
3850         * text2.C:
3851         * text3.C:
3852         * paragraph.[Ch]: adjust
3853
3854 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3855
3856         * lyxfind.C (find): fix argument order in call to ::find
3857
3858 2004-02-02  André Pönitz  <poenitz@gmx.net>
3859
3860         * cursor.[Ch]: remove direct access to anchor
3861
3862         * text.C: remove findText() hack
3863
3864 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3865
3866         * iterators.[Ch] (lockPath): remove in favour of...
3867         * BufferView.[Ch] (setCursor): this addition
3868         * BufferView.C (putSelectionAt): adjust
3869         * undo.C (performUndoOrRedo): adjust
3870         * lyxfunc.C (dispatch): adjust
3871
3872 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3873
3874         * iterators.C (lockPath): add a missing slice
3875         * undo.C (performUndoOrRedo): remove redundant positioning code
3876
3877 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3878
3879         * vc-backend.C (scanMaster): ";" -> ';'
3880
3881 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3882
3883         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3884         std::binary_function
3885
3886         * lyxtextclass.C (compare_name): rename to...
3887         (LayoutNamesEqual): ...this
3888
3889         * lyxlex_pimpl.C (compare_tags): inherit from
3890         std::binary_function, put back into anon namespace
3891
3892         * lyxfind.C (MatchString): inherig from std::binary_function
3893         (findChange): use empty() istead of !size()
3894
3895         * format.C (FormatNamesEqual): new functor
3896         (getFormat): use it
3897         (getNumber): use it
3898         (add): use it
3899         (erase): use it
3900         (setViewer): use it
3901
3902         * converter.C (compare_Converter): rename to...
3903         (ConverterEqual): ...this, and fixup a bit.
3904         (getConverter): use it, and make function const
3905         (getNumber): use it, and make function const
3906         (add): use it
3907         (erase): use it:
3908
3909         * bufferlist.C: add using boost::bind
3910
3911         * MenuBackend.C (MenuNamesEqual): new functor
3912         (hasMenu): use it, and make function const
3913         (hasSubmenu): use nested bind to get rid of compare_memfun.
3914
3915 2004-01-30  André Pönitz  <poenitz@gmx.net>
3916
3917         * BufferView_pimpl.C:
3918         * cursor.C:
3919         * cursor.h:
3920         * cursor_slice.[Ch]:
3921         * lyxfunc.C:
3922         * lyxtext.h:
3923         * paragraph_funcs.C:
3924         * paragraph_funcs.h:
3925         * rowpainter.C:
3926         * text.C:
3927         * text2.C:
3928         * text3.C: move some of the edit(x,y) handling to the insets
3929         some coordinate changes.
3930
3931 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3932
3933         * text.C: add using statements for std::advance and std::distance
3934
3935         * paragraph.C: add using statement for std::distance
3936
3937         * lyxfind.C: add using statement for std::advance
3938
3939         * cursor.C (region): remove std:: from swap
3940         (openable): use nucleus in stead of operator->
3941
3942         * BufferView.C: add using statements for std::distance and std::swap
3943
3944 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3945
3946         * iterators.C: Remove the pimple, move the needed structures to
3947         the header file. Create accessor for the positions stack.
3948         (asPosIterator): remove function
3949
3950         * PosIterator.C (PosIterator): move constructors to top of file
3951         (PosIterator): reimplement the constructor taking a ParIterator in
3952         terms of setFrom.
3953         (setFrom): new function
3954         (operator!=): inline it
3955
3956 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * lyxfind.C (replaceAll): use std::advance
3959
3960         * iterators.h: inherit from std::iterator.
3961
3962         * PosIterator.C (advance, distance): remove
3963         * PosIterator.h: interit from std::iterator.
3964
3965 2004-01-26  André Pönitz  <poenitz@gmx.net>
3966
3967         * BufferView.[Ch]:
3968         * BufferView_pimpl.[Ch]:
3969         * InsetList.[Ch]:
3970         * PosIterator.[Ch]:
3971         * buffer.h:
3972         * bufferview_funcs.C:
3973         * cursor.[Ch]:
3974         * cursor_slice.h:
3975         * factory.[Ch]:
3976         * iterators.[Ch]:
3977         * lyxfind.C:
3978         * lyxfunc.C:
3979         * lyxtext.h:
3980         * output_docbook.C:
3981         * output_latex.C:
3982         * output_linuxdoc.C:
3983         * output_plaintext.C:
3984         * paragraph.[Ch]:
3985         * paragraph_funcs.[Ch]:
3986         * paragraph_pimpl.[Ch]:
3987         * rowpainter.C:
3988         * tabular.C:
3989         * tabular.h:
3990         * text.C:
3991         * text2.C:
3992         * text3.C: more IU:  dumps most of the rest of the mathcursor
3993     implementation into cursor.[Ch]; "globalize" a bit of it.
3994
3995 2004-01-25  Angus Leeming  <leeming@lyx.org>
3996
3997         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3998
3999 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4000
4001         * LaTeXFeatures.h: add nice_ and nice() const
4002         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4003
4004 2004-01-20  André Pönitz  <poenitz@gmx.net>
4005
4006         * BufferView.[Ch]:
4007         * BufferView_pimpl.C:
4008         * PosIterator.C:
4009         * bufferview_funcs.C:
4010         * cursor.[Ch]:
4011         * cursor_slice.[Ch]:
4012         * factory.C:
4013         * iterators.C:
4014         * lyx_cb.C:
4015         * lyxfind.C:
4016         * lyxfunc.C:
4017         * lyxtext.h:
4018         * rowpainter.C:
4019         * text.C:
4020         * text2.C:
4021         * text3.C:
4022         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4023           LCursor and mathcursor parts to LCursor and InsetBase.
4024
4025 2004-01-15  André Pönitz  <poenitz@gmx.net>
4026
4027         * cursor_slice.[Ch]: add a few covienience functions
4028
4029         * funcrequest.[Ch]: remove BufferView * member
4030
4031         * BufferView_pimpl.C:
4032         * cursor.C:
4033         * factory.[Ch]:
4034         * lyxfind.[Ch]:
4035         * lyxfunc.C:
4036         * lyxtext.h:
4037         * text3.C:
4038         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4039
4040 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4041
4042         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4043         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4044
4045 2004-01-13  André Pönitz  <poenitz@gmx.net>
4046
4047         * textcursor.[Ch]:
4048         * lyxtext.h: hide cursor and selection anchor behind accessor function
4049
4050         * BufferView.C:
4051         * BufferView_pimpl.[Ch]:
4052         * PosIterator.C:
4053         * bufferview_funcs.C:
4054         * cursor.h:
4055         * lyxfind.C:
4056         * lyxfunc.C:
4057         * text.C:
4058         * text2.C:
4059         * text3.C:
4060         * undo.C: adjust
4061
4062         * cursor.h:
4063         * cursor_slice.[Ch]: some integer type changes for inset unification
4064
4065         * lyxcursor.[hC]: remove, it's CursorSlice now.
4066
4067         * Makefile.am:
4068         * BufferView_pimpl.[Ch]:
4069         * bufferview_funcs.C:
4070         * cursor_slice.C:
4071         * lyxtext.h:
4072         * text.C:
4073         * text2.C:
4074         * text3.C:
4075         * textcursor.[Ch]: adjust
4076
4077 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4078
4079         * text2.C (undoSpan): add and use
4080         * text.C (breakParagraph): use undoSpan (fix bug 578)
4081         * lyxtext.h: adjust
4082
4083 2004-01-08  Angus Leeming  <leeming@lyx.org>
4084
4085         * BufferView_pimpl.C (MenuInsertLyXFile):
4086         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4087         * lyxfunc.C (menuNew, open, doImport):
4088         FileFilterList change to the FileDialog open and save functions.
4089
4090 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * ShareContainer.h: make isEqual and isUnique adaptable
4093
4094         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4095
4096 2004-01-07  Angus Leeming  <leeming@lyx.org>
4097
4098         * LyXAction.C:
4099         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4100
4101         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4102
4103         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4104         functions replacing find, replace and replaceAll.
4105
4106         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4107         LFUN_WORDFIND(FORWARD|BACKWARD).
4108
4109 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4110
4111         * text.C (breakParagraph): remove an outdated #warning
4112
4113 2004-01-07  André Pönitz  <poenitz@gmx.net>
4114
4115         * lyxfind.C: somewhat clearer logic
4116
4117         * text.C: prevent crash in cursorX on unitialized row cache
4118
4119 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4120
4121         * lyxcursor.[Ch] (operator>): add
4122         * textcursor.C (selStart, selEnd): use std::min and std::max
4123
4124 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4125
4126         * Chktex.C: include boost/format.hpp
4127
4128 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * InsetList.C: replace functor MathcIt with adaptable functor
4131         InsetTablePosLess
4132         (insetIterator): modify accordingly
4133
4134         * BranchList.h: move the BranchNamesEqual functor here from...
4135         * BranchList.C: ... to here
4136
4137         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4138         SameName and match.
4139         (add): replace a finding loop with std::find_if.
4140
4141 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4142
4143         * output_docbook.C: moving LatexParam functionality into
4144         .layout files
4145
4146 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4147
4148         * buffer.C: increment format to 229.
4149
4150 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4151
4152         * LaTeXFeatures.C:
4153         * lyx_sty.[Ch]: remove minipageindent_def
4154
4155         * LyXAction.C:
4156         * factory.C:
4157         * lfuns.h:
4158         * lyxfunc.C:
4159         * text3.C: remove LFUN_INSET_MINIPAGE
4160
4161 2003-12-28  Angus Leeming  <leeming@lyx.org>
4162
4163         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4164
4165 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4166
4167         * text2.C (setParagraph): fix off-by-one crash
4168
4169 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4170
4171         * output_docbook.C: header stuff for AGU
4172
4173 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4174
4175         * text2.C (redoCursor): remove
4176         * text.C:
4177         * text3.C:
4178         * BufferView_pimpl.C: remove calls to redoCursor and
4179         setCursor(cursor.par(), cursor.pos()) all around
4180
4181 2003-12-15  Angus Leeming  <leeming@lyx.org>
4182
4183         * buffer.C: up the format to 228.
4184
4185 2003-12-15  André Pönitz  <poenitz@gmx.net>
4186
4187         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4188         slices
4189
4190         * Makefile.am:
4191
4192         * BufferView_pimpl.C:
4193         * cursor.[Ch]:
4194         * lyxcursor.[Ch]:
4195         * rowpainter.[Ch]:
4196         * lyxtext.h:
4197         * text.C:
4198         * text2.C:
4199         * text3.C: adjust
4200
4201 2003-12-15  Angus Leeming  <leeming@lyx.org>
4202
4203         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4204         than getFromGUIName to manipulate the color.
4205
4206 2003-12-14  Angus Leeming  <leeming@lyx.org>
4207
4208         * BranchList.[Ch]: minimize the API.
4209         (Branch::getBranch, getColor): now return a 'const &'.
4210         (Branch::setSelected) now returns a bool set to true if the
4211         selection status changes.
4212         (BranchList::clear, size, getColor, setColor, setSelected,
4213         allBranches, allSelected, separator): removed.
4214         (BranchList::find): new functions, returning the Branch with
4215         the given name.
4216         (BranchList::add, remove): return a bool indicating that
4217         the operation was successful.
4218
4219         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4220         new InsetBranch::isBranchSlected member function.
4221
4222         * LColor.[Ch]: mimimize the API.
4223         (fill): renamed as addColor and made private.
4224         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4225         versions of these functions taking a string arg have been removed.
4226
4227         * bufferparams.C (readToken):
4228         * lyxfunc.C (dispatch):
4229         * lyxrc.C (read): changes due to the altered BranchList and
4230         LColor APIs.
4231
4232         * factory.C (createInset, readInset): changes due to altered
4233         InsetBranch c-tor.
4234
4235 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4236
4237         * factory.C:
4238         * lyxfunc.C: remove insetminipage. "minipage-insert"
4239         now produces a frameless minipage box inset.
4240
4241 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4242
4243         * textcursor.[Ch] (selStart,selEnd): add new methods
4244         remove selection::start, end, use LyXCursor::operator<
4245         * lyxcursor.[Ch] (operator<): add
4246         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4247         * BufferView.[Ch] (unsetXSel): add
4248         * text2.C (clearSelection): use unsetXSel,adjust
4249         * text.C: adjust
4250         * text3.C: adjust
4251         * rowpainter.C: adjust
4252         * bufferview_funcs.C (put_selection_at): adjust
4253
4254 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4255
4256         * BufferView_pimpl.C: small coord. correction
4257
4258 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4259
4260         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4261         dragging over the splash screen.
4262
4263 2003-12-11  Angus Leeming  <leeming@lyx.org>
4264
4265         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4266         as it is now handled in LyXText::dispatch.
4267
4268         * text3.C (doInsertInset): remove a level of nesting.
4269
4270 2003-12-11  Angus Leeming  <leeming@lyx.org>
4271
4272         * factory.C (createInset): changes due to the changed interface to
4273         InsetCommandMailer::string2params.
4274
4275 2003-12-10  Angus Leeming  <leeming@lyx.org>
4276
4277         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4278         'dialog-show-new-inset <inset name>'
4279
4280 2003-12-10  Angus Leeming  <leeming@lyx.org>
4281
4282         * buffer.C: up the format to 227.
4283
4284         * factory.C: the box inset is now identified simply by 'Box'.
4285
4286 2003-12-10  Angus Leeming  <leeming@lyx.org>
4287
4288         * buffer.C: up the format to 226.
4289
4290         * factory.C: the note inset is now identified simply by 'Note'.
4291
4292 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4293
4294         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4295         when a pit is enough. Standarize a couple of loops.
4296
4297 2003-12-05  Angus Leeming  <leeming@lyx.org>
4298
4299         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4300         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4301         data to the re-worked "log" dialog.
4302
4303 2003-12-03  André Pönitz  <poenitz@gmx.net>
4304
4305         * PosIterator.C:
4306         * iterators.C:
4307         * lyxtext.h:
4308         * output_latex.C:
4309         * paragraph_funcs.C:
4310         * text.C:
4311         * text2.C: use Inset::getText instead of Inset::getParagraph
4312
4313 2003-12-03  André Pönitz  <poenitz@gmx.net>
4314
4315         * buffer.[Ch]:
4316         * lyxtext.h:
4317         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4318         InsetText::read() as LyXText::read()
4319
4320 2003-12-02  Angus Leeming  <leeming@lyx.org>
4321
4322         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4323         type. Add a comment in the implementation that the function uses
4324         the stream's bad() function rather than fail() as the std::streams
4325         would do.
4326
4327 2003-12-02  André Pönitz  <poenitz@gmx.net>
4328
4329         * lyxlex.[Ch]: make interface more similar to std::stream
4330
4331         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4332
4333 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4334
4335         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4336
4337 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4338
4339         * vspace.[Ch]: remove VSpace::NONE
4340
4341 2003-12-01  André Pönitz  <poenitz@gmx.net>
4342
4343         * buffer.[Ch]:
4344         * lyxtext.h: move ParagraphList member to LyXText
4345         rename LyXText::ownerParagraphs to LyXText::paragraph
4346
4347         * CutAndPaste.C:
4348         * bufferview_funcs.C:
4349         * iterators.[Ch]:
4350         * lyx_cb.C:
4351         * paragraph.C:
4352         * rowpainter.C:
4353         * tabular.C:
4354         * text.C:
4355         * text2.C:
4356         * text3.C: adjust
4357
4358         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4359
4360         * undo.C: fix cursor positioning
4361
4362 2003-12-01  John Levon  <levon@movementarian.org>
4363
4364         * BufferView_pimpl.C: fix a crash on exit with
4365         a buffer open
4366
4367 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4368
4369         * BranchList.C: fix setSelected() method.
4370
4371 2003-11-28  André Pönitz  <poenitz@gmx.net>
4372
4373         * ParagraphParameters.[Ch]:
4374         * ParameterStruct.h: remove space above/below from Paragraph to
4375          InsetVSpace
4376
4377         * BufferView_pimpl.C:
4378         * factory.C:
4379         * lyxfunc.C:
4380         * lyxtext.h:
4381         * output_latex.C:
4382         * paragraph.C:
4383         * paragraph_funcs.C:
4384         * rowpainter.[Ch]:
4385         * text.C:
4386         * text2.C:
4387         * text3.C: adjust
4388
4389 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4390
4391         * factory.C: Syntax change for CharStyles
4392
4393 2003-11-28  André Pönitz  <poenitz@gmx.net>
4394
4395         * BufferView.[Ch]:
4396         * BufferView.[Ch]:
4397         * buffer.[Ch]:
4398         * buffer.[Ch]: move LyXText member
4399
4400 2003-11-28  André Pönitz  <poenitz@gmx.net>
4401
4402         * BufferView.[Ch]: make LyXText * text a private member
4403
4404         * BufferView_pimpl.C:
4405         * cursor.C:
4406         * iterators.C:
4407         * lyx_cb.C:
4408         * lyxfind.C:
4409         * lyxtext.h:
4410         * rowpainter.[Ch]:
4411         * text.C:
4412         * text2.C:
4413         * undo.C: adjust
4414
4415         * output_plaintext.C: cleanup
4416
4417 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4418
4419         * buffer.C:
4420         * lyxtextclass.[Ch]: parametrize SGML document header
4421
4422 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4423
4424         * converter.[Ch]:
4425         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4426         getFlavor().
4427
4428 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4429
4430         * text2.C (setFont): rework using PosIterator (no more recursive)
4431         (setCharFont): no more needed
4432         (setLayout): no more selection cursors fiddling (done by redoCursor)
4433         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4434         destroy remaining ones)
4435
4436 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4437
4438         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4439         * lyxtext.h: ditto
4440         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4441         selection cursors
4442         * lyxfunc.C: adjust
4443         * text3.C: adjust + re-allow multi par depth changes
4444         * textcursor.C: simplify a bit
4445
4446 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4447
4448         * src/buffer.C:
4449         * src/lyxlayout.C:
4450         * src/lyxlayout.h:
4451         * src/lyxtext.h:
4452         * src/output_docbook.C:
4453         * src/output_latex.C:
4454         * src/paragraph.C:
4455         * src/paragraph.h:
4456         * src/sgml.C:
4457         * src/sgml.h:
4458         * src/text2.C: Introducing a number of tags parametrizing various
4459         XML formats that we may want to support
4460
4461 2003-11-25  André Pönitz  <poenitz@gmx.net>
4462
4463         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4464
4465         * lyxtext.h (leftMargin/rightMargin): simplify interface
4466
4467         * rowpainter.C:
4468         * text.C:
4469         * text2.C:
4470         * text3.C: adjust
4471
4472 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4473
4474         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4475         master file to any child files. Fixes bug 546.
4476
4477 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4478
4479         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4480
4481 2003-11-24  André Pönitz  <poenitz@gmx.net>
4482
4483         * rowpainter.C: simplification
4484
4485         * text2.C (updateCounters): remove call to redoParagraph on
4486         changed labels as this is far too expensive.
4487
4488 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4489
4490         * converter.C (convert): fix a crash: this function gets
4491         called with buffer == 0 from importer code.
4492
4493 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * text3.C (cursorPrevious): make sure that we do not compare
4496         iterators form different containers.
4497         (cursorNext): ditto
4498
4499         * rowpainter.C (paintSelection): make sure that we do not compare
4500         iterators from different containers.
4501
4502         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4503         iterators from different ParagraphList containers.
4504         [NEXT] ditto
4505
4506         * text2.C (LyXText): change order of initialization slightly
4507         (operator=): new function. copy all variables except cache_par_
4508         (moveUp): make sure that we do not compare iterators from
4509         different ParagraphList constainers.
4510         (moveDown): ditto
4511
4512         * text.C (firstPar): new function
4513         (lastPar): new function
4514         (endPar): new function
4515
4516         * lyxtext.h: move things around and group public functions, public
4517         variables, private functions, private variables
4518
4519 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4520
4521         * factory.C: change call to InsetERT constructor to avoid
4522         additional invocation of method status
4523         * text2.C (toggleInset): remove redundant update() call
4524         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4525         instead of a Bufferview pointer
4526
4527 2003-11-21  André Pönitz  <poenitz@gmx.net>
4528
4529         * rowpainter.C: simplification
4530
4531 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4532
4533         * text3.C (dispatch): make possible to extend a word/row selection
4534         with the mouse
4535
4536 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4537
4538         * lyxtext.h: x0_,y0_ -> xo_,yo_
4539         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4540         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4541         * rowpainter.C (paintRows): paint full paragraphs
4542
4543 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4544
4545         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4546         screen coordinates)
4547
4548 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4549
4550         * lyxtext.h: add x0_, y0_
4551         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4552         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4553
4554 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4555
4556         * text2.C (setCursorIntern): move the x_target update here *
4557         * text3.C: change some bv() to true/false in calls to
4558         cursorUp/Down/Right/Left
4559         * cursor.C: use helper function.
4560
4561 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4562
4563         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4564         * paragraph_funcs.[Ch]: correct comment
4565         * rowpainter.C: do not paint selections away from bv->cursor()
4566         Fix a long standing selection painting bug.
4567         * text3.C: generalize mouse-selection code to LyXTexts other that
4568         top one
4569         * textcursor.C: do not use y coords if we can use par offsets
4570
4571 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4572
4573         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4574         cursor position after e.g. inset insert)
4575
4576 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4577
4578         * lyxfind.C (replace): adjust to locking removal + some
4579         code simplification
4580
4581 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4582
4583         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4584         of the path
4585
4586 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4587
4588         * lyxlayout.[Ch]:
4589         * output_docbook.C: XML sanitation: new layout
4590         parameters InnerTag and CommandDepth
4591
4592 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4593
4594         * BufferView_pimpl.C:
4595         * factory.C:
4596         * text3.C: Fix the insertion and modification of button-style
4597         insets
4598
4599 2003-11-13  André Pönitz  <poenitz@gmx.net>
4600
4601         * InsetList.[Ch]: remove deleteLyXText
4602
4603         * paragraph.[Ch]: cache beginOfBody position
4604
4605         * Bidi.C:
4606         * text.C:
4607         * text2.C:
4608         * text3.C: remove superfluous update() calls
4609
4610         * vspace.C: cleanup
4611
4612 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4613
4614         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4615         * BufferView.C (fitLockedInsetCursor): remove
4616         * cursor.[Ch] (getDim): add
4617         * text.C (getRowNearY): add faster version
4618         * text3.C: remove some update calls
4619
4620 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4621
4622         * LaTeXFeatures.C:
4623         * LyXAction.C:
4624         * MenuBackend.C:
4625         * MenuBackend.h:
4626         * dispatchresult.h:
4627         * factory.C:
4628         * lfuns.h:
4629         * lyxfunc.C:
4630         * lyxtextclass.C:
4631         * lyxtextclass.h:
4632         * text3.C: The Character Style /XML short element patch.
4633
4634 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4635
4636         * text3.C:
4637         * factory.C: Small step to solving 'unable to insert some insets'
4638         problem
4639
4640 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4641
4642         * cursor.[Ch] (updatePos): new function for updating the y
4643         position of the tip inset
4644         * bufferview_funcs.C (put_selection_at):
4645         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4646
4647 2003-11-11  André Pönitz  <poenitz@gmx.net>
4648
4649         * text.C: remove big comment on invalid Paragraph pointers as it is
4650         not valid anymore
4651
4652 2003-11-11  André Pönitz  <poenitz@gmx.net>
4653
4654         * text_funcs.[Ch]: merge with ...
4655
4656         * text.C: ... this
4657
4658         * lyxtext.h:
4659         * text2.C:
4660         * text3.C: adjust
4661
4662         * Makefile.am: remove text_funcs.[Ch]
4663
4664 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4665
4666         * cursor.C (getPos): return absolute cached y coord
4667
4668         * BufferView_pimpl.C (fitCursor): new simplistic code
4669         (workAreaDispatch): add a fitCursor call
4670
4671 2003-11-10  André Pönitz  <poenitz@gmx.net>
4672
4673         * BufferView.[Ch]:
4674         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4675
4676 2003-11-10  André Pönitz  <poenitz@gmx.net>
4677
4678         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4679         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4680         indicate that the cursor needs to leave an inset
4681
4682         * lyxtext.h: remove inset locking
4683
4684         * cursor.[Ch]: re-implement functionality provided by inset locking
4685
4686         * BufferView.[Ch]:
4687         * BufferView_pimpl.[Ch]:
4688         * LyXAction.C:
4689         * bufferview_funcs.[Ch]:
4690         * factory.C:
4691         * funcrequest.[Ch]:
4692         * iterators.C:
4693         * lyx_cb.C:
4694         * lyxfind.C:
4695         * lyxfunc.C:
4696         * text.C:
4697         * text2.C:
4698         * text3.C:
4699         * undo.C: adjust
4700
4701 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4702
4703         * PosIterator.[Ch]: replace the stack with a vector, add inset
4704         accesor
4705         * iterators.[C]: adjust
4706
4707 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4708
4709         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4710         replaced
4711         * paragraph_funcs.C (readParToken): put the correct id in the
4712         error item, not the id of the top paragraph
4713
4714 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4715
4716         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4717         * bufferview_funcs.C (put_selection_at): use the above
4718
4719 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4720
4721         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4722
4723 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4724
4725         * output_linuxdoc.h:
4726         * output_plaintext.h:
4727         * output.h:
4728         * output_docbook.h: add #include statements
4729
4730 2003-11-05  José Matos  <jamatos@lyx.org>
4731
4732         * output_docbook.[Ch]:
4733         * output_latex.[Ch]:
4734         * output_linuxdoc.[Ch]:
4735         * output_plaintext.[Ch]: New files for output formats.
4736         * output.[Ch]: New file for helper functions.
4737
4738         * buffer.[Ch]:
4739         * paragraph_funcs.[Ch]: output functions moved to new files.
4740
4741         * outputparams.h: rename of latexrunparams.h
4742
4743         * LaTeX.[Ch]:
4744         * buffer.[Ch]:
4745         * bufferlist.[Ch]:
4746         * converter.[Ch]:
4747         * exporter.C:
4748         * paragraph.[Ch]:
4749         * paragraph_funcs.[Ch]:
4750         * paragraph_pimpl.[Ch]:
4751         * tabular.[Ch]: rename ascii to plaintext
4752         and LatexRunParams to OutputParams.
4753
4754 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4755
4756         * iterators.[Ch] (text): require bv argument
4757         * undo.C (recordUndo):
4758         * lyxfunc.C (dispatch):
4759         * bufferview_funcs.C (put_selection_at): adjust
4760
4761 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4762
4763         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4764
4765 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4766
4767         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4768         nestings
4769
4770 2003-11-04  André Pönitz  <poenitz@gmx.net>
4771
4772         * cursor.[Ch]: restructure
4773
4774         * BufferView.[Ch]:
4775         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4776
4777         * iterators.[Ch] (asCursor): remove
4778
4779         * lfuns.h: remove LFUN_INSET_EDIT
4780
4781         * lyxfunc.C:
4782         * tabular.C:
4783         * text.C:
4784         * text2.C:
4785         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4786
4787 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4788
4789         * lyxfind.[Ch]: complete overhaul
4790         * BufferView_pimpl.C:
4791         * lyxfunc.C: adjust
4792         * paragraph.[Ch] (insert): add
4793
4794 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4795
4796         * BufferView.[Ch]:
4797         * lyxtext.h:
4798         * text.C: remove dead spellcheck code
4799
4800 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4801
4802         * dispatchresult.h: add a val setter
4803
4804         * cursor.C (dispatch): use a tempvar for data_[i]
4805
4806 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4807
4808         * PosIterator.[Ch]: compile fix
4809
4810 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4811
4812         * text.C (cursorPar): deactivate the cursor cache
4813
4814 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4815
4816         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4817
4818 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4819
4820         * text3.C (dispatch): adjust for new DisptchResult semantics.
4821
4822         * lyxfunc.C (dispatch): handle update when return from
4823         Cursor::dispatch, adjust for new DispatchResult semantics.
4824
4825         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4826         DispatchResult(true) mean to not update. Add class functions for
4827         setting dispatched and update, as well as reading.
4828
4829         * cursor.C (dispatch): don't handle update here
4830
4831 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4834         * trans_mgr.C: adjust
4835
4836         * paragraph_funcs.C (readParToken): exception safety
4837
4838         * lyxvc.h: store the vcs pointer in a scoped_ptr
4839         * lyxvc.C: adjust
4840
4841         * lyxsocket.C (serverCallback): exception safety
4842
4843         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4844
4845         * ispell.C (clone): make it return a auto_ptr
4846
4847         * factory.C (createInset): exception safety
4848         (readInset): exception safety
4849
4850         * bufferlist.C (newBuffer): exception safety
4851
4852         * Thesaurus.C (Thesaurus): use initialization for aik_
4853
4854         * MenuBackend.C (expandToc): exception safety.
4855
4856 2003-11-03  André Pönitz  <poenitz@gmx.net>
4857
4858         * buffer.C:
4859         * buffer.h:
4860         * bufferview_funcs.C: remove getInsetFromId()
4861
4862         * lyxcursor.[Ch]:
4863         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4864
4865         * lyxfunc.C:
4866         * text2.C:
4867         * text3.C: adjust
4868
4869 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4870
4871         * PosIterator.C (distance, advance): new
4872         * bufferview_funcs.[Ch] (put_selection_at): new
4873         * iterators.[Ch] (lockPath): new
4874
4875 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * iterators.[Ch] (asPosIterator): added
4878         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4879         * PosIterator.[Ch]: added
4880
4881 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4882
4883         * text3.C:
4884         * lyxfunc.C:
4885         * cursor.C (dispatch):
4886         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4887
4888         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4889         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4890         contructor, add a class function dispatched. Remove operator>=
4891
4892 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4893
4894         * debug.C: only use the default constructor for debugstream
4895         (lyxerr) here.
4896
4897         * main.C (main): include debug.h and setup the lyxerr streambuf
4898         here.
4899
4900 2003-10-31  José Matos  <jamatos@lyx.org>
4901
4902         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4903
4904         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4905         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4906         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4907         * paragraph_pimpl.C (simpleTeXSpecialC):
4908         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4909         add LatexRunParams argument.
4910
4911         * exporter.C (Export): change call accordingly.
4912
4913         * latexrunparams.h: add new member to take care of the other backends.
4914 2003-10-30  José Matos  <jamatos@lyx.org>
4915
4916         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4917         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4918         factorise code for paragraph output.
4919         * buffer.[Ch]:
4920         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4921         move functions.
4922
4923 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4924
4925         * text3.C (dispatch):
4926         * lyxfunc.C (dispatch):
4927         * cursor.C (dispatch):
4928         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4929
4930         * dispatchresult.h: make the dispatch_result_t ctor explicit
4931
4932 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4933
4934         * sgml.[Ch]:
4935         * buffer.C: small refactoring of docbook stuff
4936
4937 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4940         meaning.
4941
4942 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4945         operator dispatch_result_t, and operators for == != and >=
4946
4947         * cursor.C (dispatch): adjust for operator dispatch_result_t
4948         removal. comment out call to update
4949
4950         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4951
4952 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4953
4954         * text3.C:
4955         * text2.C:
4956         * text.C:
4957         * lyxtext.h:
4958         * lyxfunc.C:
4959         * cursor.C:
4960         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4961         (dispatch):
4962
4963         * dispatchresult.h: new file, DispatchResult broken out of
4964         insets/insetbase.h
4965
4966         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4967
4968 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4969
4970         * text.C (rowBreakPoint): put a hack inside #if 0
4971
4972 2003-10-28  André Pönitz  <poenitz@gmx.net>
4973
4974         * lyxtext.h:
4975         * metricsinfo.C:
4976         * paragraph_funcs.C:
4977         * rowpainter.C:
4978         * text.C:
4979         * text2.C: general cleanup (lots of small stuff)
4980
4981 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4982
4983         * text2.C (cursorEnd): simple fix to the "end key goes to one
4984         before the end on last row" bug
4985
4986 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4987
4988         * text.C (backspace): fix the "zombie characters"
4989
4990 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4991
4992         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4993
4994 2003-10-27  André Pönitz  <poenitz@gmx.net>
4995
4996         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4997
4998         * factory.C: handle new InsetPagebreak, InsetLine
4999
5000         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5001         and move handling into new InsetPagebreak, InsetLine
5002
5003         * BufferView_pimpl.C:
5004         * LyXAction.C:
5005         * ParagraphParameters.C:
5006         * ParameterStruct.h:
5007         * lyxfunc.C:
5008         * lyxtext.h:
5009         * paragraph.C:
5010         * paragraph.h:
5011         * paragraph_funcs.C:
5012         * paragraph_pimpl.C:
5013         * rowpainter.C:
5014         * text.C:
5015         * text2.C:
5016         * text3.C: adjust
5017
5018 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5019
5020         * text.C:
5021         * lyxrow_funcs.[Ch]:
5022         * Bidi.C:
5023         * paragraph.C:
5024         * lyxtext.h:
5025         * rowpainter.C:
5026         * text2.C:
5027         * text3.C: remove lastPos uses in favour of Row::endpos
5028
5029 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * undo.C (performUndoOrRedo): fix two crashes by setting a
5032         cursor by hand and reordering some calls. Use bv->lockInset instead
5033         of inset->edit because the latter loses cursor information
5034
5035 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5036
5037         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5038         by Martin
5039         (rowBreakPoint): fix width. change point to point + 1.
5040         Add a missing check.
5041
5042 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5043
5044         * MenuBackend.C:
5045         * lyxfunc.C: fix (at least partly) the problems
5046         with the Nav menu and headers inside branch insets
5047         reported by Kayvan
5048
5049 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5050
5051         * paragraph.C (getChar): add strong asserts
5052
5053         * lyxrow_funcs.C (lastPos): remove hideous hack
5054
5055         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5056         (fill): adjust to that (avoid an infinite loop)
5057
5058 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5059
5060         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5061
5062 2003-10-23  André Pönitz  <poenitz@gmx.net>
5063
5064         * RowList_fwd.h: change list<> to vector<> to gain speed
5065         after suggestion from Alfredo
5066
5067 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * lyxtext.h: move the bidi stuff from here...
5070         * text.C: and here
5071         * text2.C: and here
5072         * Bidi.[Ch]: ... to here
5073
5074 2003-10-23  André Pönitz  <poenitz@gmx.net>
5075
5076         * lyxtext.h:
5077         * text.C (isLastRow, isFirstRow): new functions
5078
5079         * paragraph.h: new width cache member
5080
5081         * rowpainter.C: replace RowList::iterator with Row & where possible
5082
5083         * lyxfunc.C: replace several view()->text with a single call
5084
5085         * toc.C: fix 'unused' warning
5086
5087 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5088
5089         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5090         when woring with stream::pos_type
5091         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5092
5093 2003-10-22  André Pönitz  <poenitz@gmx.net>
5094
5095         * lyxtext.h:
5096         * text.C: use Row & instead of RowList::iterator
5097
5098         * lyxrow.h: rename end() to endpos()
5099
5100         * rowpainter.C:
5101         * text.C:
5102         * text2.C: adjust
5103
5104 2003-10-22  Angus Leeming  <leeming@lyx.org>
5105
5106         * buffer.[Ch] (fully_loaded): new member function, returning true
5107         only when the file has been loaded fully.
5108         Used to prevent the premature generation of previews and by the
5109         citation inset to prevent computation of the natbib-style label.
5110
5111         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5112         templates are all set up.
5113
5114         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5115
5116 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5117
5118         * text.C: fixed an "oops" in the "is a bit silly"
5119         bug fix
5120
5121 2003-10-21  André Pönitz  <poenitz@gmx.net>
5122
5123         * FuncStatus.[Ch]: small stuff, whitespace
5124
5125         * lyxfont.[Ch]: operator<<() for debug reasons
5126
5127         * lyxfunc.C:
5128         * lyxrow_funcs.C:
5129         * lyxtext.h: whitespace, spelling
5130
5131         * paragraph.C: naming of variables
5132
5133         * text.C:
5134         * text2.C: small stuff
5135
5136
5137 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5138
5139         * text.C: (1) finish off the inset display() work;
5140         (2) fix the "is a bit silly" bug (accessing char
5141         past end of par).
5142
5143 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5144
5145         * text.C: re-introduce display() for insets, fixing the
5146         various bugs (stretch of line above, math inset
5147         positioning, ...)
5148
5149 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5150
5151         * text.C (rightMargin): remove spurious semicolon
5152
5153         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5154         1415)
5155
5156 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5157
5158         * text3.C: fix one crash due to wrong cursor def
5159
5160 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * vc-backend.C (scanMaster): make the regex static
5163
5164         * LaTeX.C (scanAuxFile): make the regexs static
5165
5166         * text3.C (doInsertInset, dispatch, dispatch):
5167         * text2.C (cursorUp, cursorDown):
5168         * text.C (selectNextWordToSpellcheck):
5169         * BufferView_pimpl.C (dispatch):
5170         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5171
5172 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5173
5174         * lyxsocket.C: include <cerrno>
5175
5176 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * lyxfunc.C (dispatch): remove textcache stuff
5179
5180         * bufferlist.C (release): remove textcache stuff
5181         (closeAll): ditto
5182
5183         * TextCache.C: delete file
5184         * TextCache.h: delete file
5185
5186         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5187
5188         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5189         delete of the bv_->text.
5190         (resizeCurrentBuffer): remove texcache stuff
5191         (workAreaResize): ditto
5192
5193 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5194
5195         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5196         action.
5197
5198 2003-10-16  André Pönitz  <poenitz@gmx.net>
5199
5200         * lyxrow.[Ch]:
5201         * paragraph.h:
5202         * rowpainter.C:
5203         * text.C:
5204         * text2.C:
5205         * text3.C: speed up by storing y positions per paragraph plus per-row
5206         offset instead of having a 'full' y position in the row.
5207
5208 2003-10-15  André Pönitz  <poenitz@gmx.net>
5209
5210         * iterators.[Ch]:
5211         * iterators.[Ch]:
5212         * undo.[Ch]: make undo aware of inner insets
5213
5214 2003-10-14  Angus Leeming  <leeming@lyx.org>
5215
5216         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5217         static member functions LyX::ref() and LyX::cref.
5218         (lastfiles): new accessor functions for the new lastfiles_ member var.
5219         (addLyXView, views_): add a new LyXView to the list of views_.
5220         (updateInset): loop over all LyXViews to call their own updateInset
5221         member function, returning a pointer to the Buffer owning the inset.
5222
5223         * BufferView_pimpl.C (loadLyXFile):
5224         * MenuBackend.C (expandLastfiles):
5225         * bufferlist.C (MenuWrite, QuitLyX):
5226         lastfiles is no longer a global variable.
5227         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5228
5229         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5230         static function. Access through LyX::cref().emergencyCleanup().
5231
5232 2003-10-14  André Pönitz  <poenitz@gmx.net>
5233
5234         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5235
5236         * undo.[Ch]: restoring part of 'undo in insets'
5237
5238         * Makefile.am:
5239         * undo_funcs.[Ch]: merge with undo.[Ch]
5240
5241         * tabular.C: small cleansing stuff
5242
5243 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5244
5245         * paragraph_funcs.C (readParToken): report unknown insets as error
5246         boxes. Use the outer paragraph as location (also for unknown
5247         tokens).
5248
5249         * factory.C (readInset): do not abort on reading an unknown inset.
5250         Eat it and return 0.
5251
5252 2003-10-13  Angus Leeming  <leeming@lyx.org>
5253
5254         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5255
5256         * lyxrc.C: displayTranslator is now a function,
5257         declared in GraphicsTypes.h.
5258
5259 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5260
5261         * format.C: new placeholder $$a to pass the socket address.
5262
5263         * bufferlist.[Ch]: new function getBufferFromTmp.
5264
5265         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5266           files in the temporary dir.
5267
5268 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5269
5270         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5271
5272         * Makefile.am: add lyxsocket.[Ch].
5273
5274         * lyx_main.C (error_handler): handle SIGPIPE.
5275
5276 2003-10-13  André Pönitz  <poenitz@gmx.net>
5277
5278         * BufferView_pimpl.C:
5279         * lyxtext.h:
5280         * text.C:
5281         * text2.C:
5282         * text3.C:
5283         * undo_funcs.[Ch]: use paroffset_type instead of
5284           ParagraphList::iterators to prevent multiple conversion
5285           (and get a more robust interface)
5286
5287 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5288
5289         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5290         * lyxtext.h: ditto
5291         * text3.C (dispatch): ditto
5292
5293 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5294
5295         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5296         move the onlyfile, use onlyfile instead of foundfile in a couple
5297         of places.
5298
5299         * DepTable.C (update): flush the error stream a bit more
5300
5301 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5302
5303         * lyxserver.C (callback): adjust
5304
5305         * lyxfunc.C (getStatus): add a missing brace in commented code
5306         (ensureBufferClean): reindent
5307         (dispatch): delete version taking a string
5308
5309 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * LaTeX.C (deplog): move found file handlig from here...
5312         (handleFoundFile): .. to new function here.
5313         (deplog): make sure to discover several files mentioned on the
5314         same log line.
5315
5316 2003-10-10  André Pönitz  <poenitz@gmx.net>
5317
5318         * lyxfunc.C:
5319         * lyxtext.h:
5320         * tabular.C:
5321         * text.C:
5322         * text2.C:
5323         * text3.C: fix some of the tabular crashes
5324
5325 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5326
5327         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5328
5329         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5330
5331 2003-10-09  André Pönitz  <poenitz@gmx.net>
5332
5333         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5334
5335         * BufferView.C:
5336         * BufferView_pimpl.C:
5337         * bufferview_funcs.C:
5338         * lyx_cb.C:
5339         * lyxcursor.C:
5340         * lyxfind.C:
5341         * lyxfunc.C:
5342         * lyxtext.h:
5343         * text.C:
5344         * text2.C:
5345         * text3.C:
5346         * text_funcs.[Ch]:
5347         * textcursor.[Ch]:
5348         * undo_funcs.C: adjust
5349
5350 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * text2.C (incrementItemDepth): new function, use a backtracking
5353         algorithm to discover the correct item depth.
5354         (resetEnumCounterIfNeeded): new function, use a backtracking
5355         algorithm to discover if counter reset is needed.
5356         (setCounter): use them. Simplify a bit. Add different labels for
5357         different item depths for itemize.
5358
5359         * paragraph.C (Paragraph): remove initialization of enumdepth
5360         (operator=): ditto
5361
5362         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5363         enumerate and itemize. Change the type of itemdepth to signed char.
5364
5365 2003-10-08  André Pönitz  <poenitz@gmx.net>
5366
5367         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5368           thing assignable.
5369         * text.C:
5370         * text2.C: adjust
5371
5372         * tabular.[Ch]: fix crash after 'row-insert'
5373
5374 2003-10-08  Angus Leeming  <leeming@lyx.org>
5375
5376         Fix doxygen warnings.
5377
5378         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5379         Remove CutAndPaste:: prefix from header file declaration.
5380
5381         * LColor.h (fill): remove LColor:: prefix from declaration.
5382
5383         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5384         use lyx::depth_type rather than Paragraph::depth_type so that
5385         header file and .C file match.
5386
5387         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5388
5389         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5390         * aspell.C: \file aspell_local.C -> \file aspell.C
5391         * gettext.C: \file gettext.C -> \file src/gettext.C
5392         * gettext.h: \file gettext.h -> \file src/gettext.h
5393         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5394         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5395         * text.C: \file text.C -> \file src/text.C
5396
5397         * toc.C: move comment so that doxygen is not confused.
5398
5399 2003-10-07  Angus Leeming  <leeming@lyx.org>
5400
5401         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5402
5403 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5404
5405         * aspell.C:
5406         * aspell_local.h: add forgotten std::string's.
5407
5408 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5409
5410         * LaTeXFeatures.C:
5411         * LyXAction.C:
5412         * factory.C:
5413         * lfuns.h:
5414         * lyxfunc.C:
5415         * text3.C: The Box patch. Fancybox support, minipage, parbox
5416
5417 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5418
5419         * CutAndPaste.h:
5420         * DepTable.h:
5421         * FloatList.h:
5422         * LaTeXFeatures.h:
5423         * ParagraphParameters.h:
5424         * TextCache.h:
5425         * Thesaurus.h:
5426         * bufferlist.h:
5427         * exporter.h:
5428         * importer.h:
5429         * lastfiles.h:
5430         * lyxfind.h:
5431         * lyxfont.h:
5432         * lyxlex.h:
5433         * lyxtextclasslist.h:
5434         * messages.h:
5435         * paragraph.h:
5436         * paragraph_pimpl.C:
5437         * textcursor.h: add <string> and other small fixes to make Lars'
5438         std::string patch compile with STLport.
5439
5440 2003-10-06  Angus Leeming  <leeming@lyx.org>
5441
5442         * LColor.h: Add missing #include <string>.
5443
5444 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * All most all file in all subdirs: Make <string> be the prefered
5447         way of getting to std::string, add using declarations.
5448
5449 2003-10-06  André Pönitz  <poenitz@gmx.net>
5450
5451         * metricsinfo.C: initialize LyXFont before changing attribute.
5452         (fixes the 'math in \emph is upright' bug)
5453
5454 2003-10-06  André Pönitz  <poenitz@gmx.net>
5455
5456         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5457
5458 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5459
5460         * graph.C:
5461         * paragraph_pimpl.C: Small fixes to build using STLport
5462
5463 2003-10-02  André Pönitz  <poenitz@gmx.net>
5464
5465         * lyxfunc.C:
5466         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5467
5468 2003-10-01  André Pönitz  <poenitz@gmx.net>
5469
5470         * factory.C: assert early
5471
5472 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5473
5474         * lyx_main.C: remove the global debug object
5475
5476         * debug.h: adjust for new debugstream
5477
5478         * debug.C: adjust for new debugstream and keep the global debug
5479         object here.
5480
5481 2003-09-22  Angus Leeming  <leeming@lyx.org>
5482
5483         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5484         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5485         an incomplete class LyXFont.
5486
5487 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5488
5489         * factory.C: bug fix in branches
5490
5491 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * lyxfunc.C (processKeySym): adjust
5494         (dispatch): adjust
5495         (dispatch): change arg name from ev to func, adjust
5496         (sendDispatchMessage): ditto
5497
5498         * lyx_main.C (defaultKeyBindings): adjust keybindings
5499         (deadKeyBindings): ditto
5500
5501         * kbsequence.C (addkey): return a FuncRequest
5502
5503         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5504
5505         * kbmap.C (bind): take a FuncRequest as arg, adjust
5506         (read): adjust
5507         (lookup): adjust
5508         (defkey): change to take a FuncRequest as arg, adjust
5509         (findbinding): take a FuncRequest as arg, adjust.
5510
5511         * funcrequest.h (operator=): added
5512
5513         * funcrequest.C (FuncRequest): default kb_action changed from
5514         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5515
5516         * buffer.C (dispatch): simplify
5517         (dispatch): adjust to take a FuncRequest as arg, adjust
5518
5519         * boost.C (assertion_failed): change assertion message slightly
5520
5521         * ToolbarBackend.C (read): simplify
5522
5523         * MenuBackend.C (binding): adjust call to findbinding, add a
5524         message if no binding is found.
5525         (read): simplify
5526         (expandToc): correct by adding a empty FuncRequest
5527
5528         * LyXAction.C: include <boost/assert.hpp>
5529         (isPseudoAction): delete function
5530         (LookupFunc): change name to...
5531         (lookupFunc): this. change return type to FuncRequest.
5532         (getActionName): take kb_action as arg, simplify
5533         (funcHasFlag): add an assert, simplify.
5534
5535 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5536
5537         * toc.C (action): return a FuncRequest, simplify
5538
5539         * lyxfunc.C (processKeySym): adjust
5540         (getStatus): delete version that takes an int.
5541         (getStatus): adjust
5542         (dispatch): delete version that takes action as int
5543         (dispatch): adjust
5544         (sendDispatchMessage): simplify and adjust
5545
5546         * funcrequest.C (getArg): take unsigned int as arg
5547
5548         * ToolbarBackend.C (read): adjust
5549         (add): delete version that takes func as a string.
5550         (getIton): take a FuncRequest as arg
5551
5552         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5553         action.
5554
5555         * MenuBackend.C (MenuItem): add a new construct that only takes a
5556         Kind, simplify the constructor use for submenus.
5557         (add): adjust
5558         (expandLastfiles): adjust
5559         (expandDocuments): adjust
5560         (expandFormats): adjust
5561         (expandFloatListInsert): adjust
5562         (expandFloatInsert): adjust
5563         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5564
5565         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5566         Remove class variables lyx_pseudo_map and lyx_arg_map
5567
5568         * LyXAction.C (searchActionArg): delete function
5569         (getPseudoAction): delete function
5570         (retrieveActionArg): delete function
5571         (LookupFunc): make it return kb_action, simplify.
5572         (getActionName): simplify
5573
5574         * factory.C (createInset): fix new bug
5575
5576 2003-09-19  Angus Leeming  <leeming@lyx.org>
5577
5578         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5579         masterFilename_ parameter in the include inset.
5580
5581         * factory.C (createInset): changes due to the changes to InsetInclude.
5582
5583 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5584
5585         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5586
5587 2003-09-18  Angus Leeming  <leeming@lyx.org>
5588
5589         * buffer.C:
5590         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5591         Inset::fillWithBibKeys.
5592         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5593
5594 2003-09-18  Angus Leeming  <leeming@lyx.org>
5595
5596         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5597         variables.
5598         (ctor): pass and store a 'Buffer const &'
5599         (buffer): new member function.
5600
5601         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5602         '*this' to the LaTeXFeatures ctor.
5603
5604 2003-09-18  Angus Leeming  <leeming@lyx.org>
5605
5606         * LColor.h:
5607         * lyxfont.C:
5608         * lyxfont.h:
5609         * lyxtext.h:
5610         * text.C: rename EnumLColor as LColor_color.
5611
5612 2003-09-18  Angus Leeming  <leeming@lyx.org>
5613
5614         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5615         remove #include "insets/insetbase.h" from cursor.h.
5616
5617 2003-09-18  Angus Leeming  <leeming@lyx.org>
5618
5619         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5620         InsetOld_code to remove #include "inset.h".
5621
5622         * iterators.C: add #include "insets/inset.h"
5623
5624 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5625
5626         * BufferView.C: remove more locking stuff that apparently doesn't
5627         do anything sensible.
5628
5629 2003-09-16  André Pönitz  <poenitz@gmx.net>
5630
5631         * paragraph.[Ch]:
5632         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5633           performance boost.
5634
5635 2003-09-16  Angus Leeming  <leeming@lyx.org>
5636
5637         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5638
5639         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5640         arg/return type.
5641
5642         * paragraph.h: remove #include "lyxfont.h". Forward declare
5643         LyXFont_size.
5644
5645 2003-09-16  Angus Leeming  <leeming@lyx.org>
5646
5647         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5648         of support/textutils.h.
5649         (isWord): move the contents of support/textutils.h's IsWordChar here.
5650
5651         * buffer.C:
5652         * lyxfind.C:
5653         * rowpainter.C:
5654         * text.C:
5655         * text2.C: add #include "paragraph.h".
5656
5657         * rowpainter.C:
5658         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5659
5660 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5661
5662         * main.C:
5663         * lyx_main.C:
5664         * lyx_cb.C:
5665         * buffer.C:
5666         * LaTeX.C: use namespace alias for lyx::support::os
5667
5668 2003-09-16  Angus Leeming  <leeming@lyx.org>
5669
5670         * bufferparams.C:
5671         * bufferview_funcs.C:
5672         * factory.C:
5673         * lyxfunc.C:
5674         * paragraph_pimpl.C:
5675         * rowpainter.C:
5676         * text.C: add #include "LColor.h".
5677
5678 2003-09-16  Angus Leeming  <leeming@lyx.org>
5679
5680         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5681         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5682         return LyXFont &.
5683         Store the FontBits::color variable as an int rather than as an
5684         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5685         file.
5686
5687         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5688         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5689         string calls together.
5690
5691         * lyxrc.C: add #include "LColor.h".
5692
5693 2003-09-15  Angus Leeming  <leeming@lyx.org>
5694
5695         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5696         a cow_ptr.
5697
5698 2003-09-15  Angus Leeming  <leeming@lyx.org>
5699
5700         * LColor.h: add an EnumLColor wrapper for LColor::color.
5701
5702         * lyxfont.[Ch] (color, setColor, realColor):
5703         * lyxtext.h, text.C (backgroundColor):
5704         pass EnumLColor args to/from the functions, rather than LColor::color
5705         ones.
5706
5707         * lyxfont.h:
5708         * lyxtext.h: forward declare EnumLColor.
5709
5710         * lyx_main.C: add #include "LColor.h".
5711
5712 2003-09-15  Angus Leeming  <leeming@lyx.org>
5713
5714         * .cvsignore: add lyx-gtk.
5715
5716 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * Chktex.C
5719         * LaTeX.C
5720         * LaTeXFeatures.C
5721         * ParagraphParameters.C
5722         * Spacing.C
5723         * buffer.C
5724         * bufferparams.C
5725         * bufferview_funcs.C
5726         * chset.C
5727         * counters.C
5728         * funcrequest.C
5729         * lyxfont.C
5730         * lyxgluelength.C
5731         * lyxlength.C
5732         * paragraph.C
5733         * paragraph_funcs.C
5734         * text3.C
5735         * vc-backend.C: remove usage of STRCONV
5736
5737 2003-09-15  Angus Leeming  <leeming@lyx.org>
5738
5739         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5740         explicitly define the color passed to the painter.
5741
5742 2003-09-15  Angus Leeming  <leeming@lyx.org>
5743
5744         * bufferparams.C (BufferParams): reorder member initializers to avoid
5745         compiler warning.
5746
5747 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5748
5749         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5750         * text.C (updateRowPositions): remove an unusual nop
5751
5752 2003-09-12  André Pönitz  <poenitz@gmx.net>
5753
5754         * BufferView_pimpl.C:
5755         * Bullet.C:
5756         * layout.h:
5757         * lyxfunc.C:
5758         * lyxlayout.[Ch]:
5759         * lyxtextclass.C:
5760         * rowpainter.C:
5761         * text.C:
5762         * text2.C:
5763         * Counters.[Ch]: finish the 'automatic counters' job
5764
5765 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5766
5767         * aspell.C: include <boost/assert.cpp> (compile fix)
5768
5769 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5770
5771         * boost.C (assertion_failed): use lyx::support::abort instead of
5772         assert.
5773
5774 2003-09-10  Angus Leeming  <leeming@lyx.org>
5775
5776         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5777         with their _fwd progeny.
5778
5779 2003-09-09  Angus Leeming  <leeming@lyx.org>
5780
5781         134 files throughtout the source tree: replace 'using namespace abc;'
5782         directives with the appropriate 'using abc::xyz;' declarations.
5783
5784 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5785
5786         * boost.C (emergencyCleanup): moved here from LAssert.c
5787         (assertion_failed): new function, called by BOOST_ASSERT
5788
5789         * several files: change Assert to BOOST_ASSERT
5790
5791 2003-09-09  Angus Leeming  <leeming@lyx.org>
5792
5793         * buffer.[Ch]: Add an Impl class and move Buffer's member
5794         variables into it. As a result move several header files out of
5795         buffer.h.
5796
5797         Add header files to lots of .C files all over the tree as a result.
5798
5799 2003-09-09  Angus Leeming  <leeming@lyx.org>
5800
5801         * buffer.[Ch]: make Buffer's member variables private. Add
5802         accessor functions.
5803
5804         Lots of changes all over the tree as a result.
5805
5806 2003-09-08  Angus Leeming  <leeming@lyx.org>
5807
5808         * graph.C: #include <config.h>.
5809
5810 2003-09-08  Angus Leeming  <leeming@lyx.org>
5811
5812         * BranchList.C:
5813         * BufferView.C:
5814         * BufferView_pimpl.C:
5815         * CutAndPaste.C:
5816         * DepTable.C:
5817         * LaTeX.C:
5818         * LaTeXFeatures.C:
5819         * LyXAction.C:
5820         * MenuBackend.C:
5821         * TextCache.C:
5822         * aspell.C:
5823         * buffer.C:
5824         * bufferlist.C:
5825         * changes.C:
5826         * chset.C:
5827         * converter.C:
5828         * counters.C:
5829         * debug.C:
5830         * graph.C:
5831         * ispell.C:
5832         * lyx_cb.C:
5833         * lyxfind.C:
5834         * lyxfunc.C:
5835         * lyxlex_pimpl.C:
5836         * lyxrc.C:
5837         * lyxrow.C:
5838         * paragraph.C:
5839         * rowpainter.C:
5840         * texrow.C:
5841         * text.C:
5842         * text2.C:
5843         * toc.C: remove redundant using directives.
5844
5845 2003-09-07  Angus Leeming  <leeming@lyx.org>
5846
5847         * LaTeXFeatures.h: remove #include "support/types.h".
5848         * ToolbarBackend.h: remove #include <algorithm>.
5849         * changes.h: remove #include <ctime>.
5850         * debug.h: remove #include <iosfwd>.
5851         * graph.h: remove #include "support/std_string.h".
5852         * lyx_main.h: remove #include <csignal>.
5853         * lyxlex_pimpl.h: remove #include <fstream>.
5854         * sgml.h: remove #include <algorithm>, <utility>.
5855         * toc.h: remove #include "support/std_ostream.h".
5856         Add #include <iosfwd>.
5857
5858 2003-09-07  Angus Leeming  <leeming@lyx.org>
5859
5860         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5861
5862         * converter.h: forward declare LatexRunParams.
5863         * encoding.h: remove #include "lyxrc.h".
5864         * lyxtext.h: remove #include "LColor.h".
5865         * lyxtextclass.h: remove #include "support/types.h".
5866         * trans.h: remove #include "tex-accent.h".
5867         * trans_mgr.h: remove #include "tex-accent.h".
5868         * insets/inset.h: remove #include "support/types.h", <vector>.
5869         * insets/insetcollapsable.h: remove #include "LColor.h".
5870         * insets/insetinclude.h: remove #include "dimension.h".
5871         * insets/insetlatexaccent.h: remove #include "dimension.h".
5872         * insets/insetoptarg.h:: remove #include "insettext.h".
5873         * insets/insettext.h: remove #include "dimension.h",
5874         <boost/shared_ptr.hpp>
5875
5876         * insets/renderers.h: add #include "dimension.h".
5877         * insets/updatableinset.h: add #include "support/types.h".
5878
5879         * many .C files: Associated changes.
5880
5881 2003-09-06  Angus Leeming  <leeming@lyx.org>
5882
5883         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5884         one, inside testInvariant.
5885
5886         * PrinterParams.C: new file.
5887         * PrinterParams.[Ch]: move the function bodies out of line.
5888
5889 2003-09-06  Angus Leeming  <leeming@lyx.org>
5890
5891         * ParagraphParameters.h: forward declare ParameterStruct rather than
5892         including its header file.
5893         (depth): moved out-of-line.
5894
5895 2003-09-06  Angus Leeming  <leeming@lyx.org>
5896
5897         * BufferView_pimpl.h:
5898         * kbmap.h:
5899         * kbsequence.h:
5900         * lyxfunc.h: forward declare LyXKeySym rather than
5901         #include "frontends/LyXKeySym.h".
5902
5903         * BufferView_pimpl.C:
5904         * kbmap.C:
5905         * kbsequence.C:
5906         * lyxfunc.C: associated changes.
5907
5908 2003-09-06  Angus Leeming  <leeming@lyx.org>
5909
5910         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5911         As a result, can remove the #include "insets/inset.h" from BufferView.h
5912
5913 2003-09-06  Angus Leeming  <leeming@lyx.org>
5914
5915         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5916         As a result, can remove the #include "insets/inset.h" from BufferView.h
5917
5918 2003-09-06  Angus Leeming  <leeming@lyx.org>
5919
5920         * buffer_funcs.C:
5921         * buffer.h:
5922         * bufferlist.C:
5923         * BufferView.C:
5924         * bufferview_funcs.C:
5925         * BufferView_pimpl.C:
5926         * CutAndPaste.C:
5927         * lyx_cb.C:
5928         * lyxfunc.C:
5929         * paragraph.h:
5930         * ParagraphParameters.C:
5931         * tabular.C:
5932         * text3.C:
5933         * toc.C:
5934         * undo_funcs.C:
5935         * frontends/controllers/ControlDocument.C:
5936         * insets/insetcaption.C: rearrange the #includes into some sort of
5937         coherent order.
5938
5939         * buffer.h: remove #includes ErrorList.h, undo.h
5940
5941 2003-09-06  Angus Leeming  <leeming@lyx.org>
5942
5943         * support/types.h: add a 'depth_type' typedef, used to store the
5944         nesting depth of a paragraph.
5945
5946         * paragraph.h:
5947         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5948         defining explicitly.
5949
5950         * buffer.h:
5951         * paragraph_funcs.h:
5952         * ParagraphParameters.h:
5953         * sgml.h: use lyx::depth_type rather than Paragraph or
5954         ParameterStruct's depth_type.
5955
5956         * buffer.h
5957         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5958
5959         * BufferView.C:
5960         * BufferView_pimpl.C:
5961         * CutAndPaste.C:
5962         * ParagraphParameters.C:
5963         * buffer_funcs.C:
5964         * bufferlist.C:
5965         * bufferview_funcs.C:
5966         * lyx_cb.C:
5967         * lyxfunc.C:
5968         * tabular.C:
5969         * text3.C:
5970         * toc.C:
5971         * undo_funcs.C:
5972         * frontends/LyXView.C:
5973         * frontends/controllers/ControlDocument.C:
5974         * frontends/controllers/ControlErrorList.C:
5975         * insets/insetbibitem.C:
5976         * insets/insetbranch.C:
5977         * insets/insetcaption.C:
5978         * insets/insetcollapsable.C:
5979         * insets/insetenv.C:
5980         * insets/insetert.C:
5981         * insets/insetfloat.C:
5982         * insets/insetfoot.C:
5983         * insets/insetfootlike.C:
5984         * insets/insetnewline.C:
5985         * insets/insetquotes.C:
5986         * insets/insettabular.C:
5987         * insets/insettext.C:
5988         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5989
5990         * frontends/controllers/ControlChanges.C: #include "changes.h".
5991
5992 2003-09-06  Angus Leeming  <leeming@lyx.org>
5993
5994         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5995         than #including paragraph.h.
5996
5997         * ParagraphList.h:
5998         * RowList.h: deleted. Superfluous.
5999
6000         * CutAndPaste.h:
6001         * iterators.h:
6002         * lyxcursor.h:
6003         * lyxtext.h:
6004         * text_funcs.h:
6005         * undo.h:
6006         * undo_funcs.h:
6007         * insets/inset.h:
6008         * insets/insettext.h: use ParagraphList_fwd.h rather than
6009         ParagraphList.h.
6010
6011         * paragraph.h: don't forward declare ParagraphList.
6012
6013         * buffer.h:
6014         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6015         rather than ParagraphList.h. paragraph.h is still needed for the
6016         Paragraph::depth_type parameters.
6017
6018         * textcursor.h: enable it to compile stand-alone in light of the
6019         above changes.
6020
6021         * bufferview_funcs.C:
6022         * iterators.C:
6023         * lyxfunc.C:
6024         * lyxrow_funcs.C:
6025         * paragraph.C:
6026         * rowpainter.C:
6027         * text.C:
6028         * text2.C:
6029         * text3.C:
6030         * text_funcs.C:
6031         * textcursor.C:
6032         * undo.C:
6033         * frontends/controllers/ControlParagraph.C:
6034         * frontends/controllers/ControlTabular.C:
6035         * insets/insetmarginal.C:
6036         * insets/insetminipage.C:
6037         * insets/insetnote.C:
6038         * insets/insetoptarg.C: add header files needed to compile again.
6039
6040 2003-09-06  Angus Leeming  <leeming@lyx.org>
6041
6042         * RowList_fwd.h: new file, forward-declaring Row rather than
6043         #including lyxrow.h.
6044
6045         * lyxrow_funcs.h:
6046         * lyxtext.h:
6047         * paragraph.h:
6048         * insets/insettext.h: use it instead of RowList.h
6049
6050         * bufferview_funcs.C:
6051         * lyxfunc.C:
6052         * lyxrow_funcs.C:
6053         * paragraph.C:
6054         * rowpainter.C:
6055         * text.C:
6056         * text2.C:
6057         * text3.C: #include "RowList.h".
6058
6059 2003-09-05  Angus Leeming  <leeming@lyx.org>
6060
6061         * factory.C (createInset):
6062         * vspace.C (c-tor): replace sscanf call with an istringstream.
6063         * ispell.C: re-add missing HP/UX headers.
6064         * lyxserver.C: re-add missing  os2 headers.
6065
6066 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6067
6068         * BranchList.C:
6069         * graph.C:
6070         * ispell.C:
6071         * lastfiles.C:
6072         * lyx_cb.C:
6073         * lyxserver.C:
6074         * texrow.C:
6075         * text3.C: re-add missing system headers, needed for 2.95.2.
6076
6077 2003-09-05  Angus Leeming  <leeming@lyx.org>
6078
6079         Changes most place everywhere due to the removal of using directives
6080         from support/std_sstream.h.
6081
6082 2003-09-05  Angus Leeming  <leeming@lyx.org>
6083
6084         Replace LString.h with support/std_string.h,
6085         Lsstream.h with support/std_sstream.h,
6086         support/LIstream.h with support/std_istream.h,
6087         support/LOstream.h with support/std_ostream.h.
6088
6089         Changes resulting throughout the tree.
6090
6091 2003-09-05  Angus Leeming  <leeming@lyx.org>
6092
6093         * sgml.h: ensure that the header file can be compiled stand-alone.
6094         * *.C: strip out redundant #includes. (320 in total.)
6095
6096 2003-09-04  Angus Leeming  <leeming@lyx.org>
6097
6098         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6099         here (from getPackages).
6100
6101         * debug.[Ch]: add a new EXTERNAL tag.
6102
6103 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6104
6105         * text2.C (cursorEnd): simplify
6106         (setCursor): adjust
6107         (getColumnNearX): adjust
6108
6109         * text.C (computeBidiTables): adjust
6110         (fill): adjust
6111
6112         * rowpainter.C (paintChars): adjust
6113         (paintSelection): adjust
6114         (paintChangeBar): adjust
6115         (paintText): adjust
6116
6117         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6118         lastPos instead.
6119         (numberOfSeparators): adjust
6120
6121 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6122
6123         * LyXAction.C:
6124         * box.[Ch]:
6125         * lfuns.h:
6126         * lyxfunc.C:
6127         * text3.C: Restricts the mouse click functionality
6128         of insets like bibtex, include, toc and floatlist to the visible
6129         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6130         up the dialogs. Cursor has to be in front of the inset (i.e.
6131         start of row) for this to function.
6132
6133 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6134
6135         * bufferview_funcs.C (currentState): output row information
6136
6137 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6138
6139         * bufferview_funcs.C (currentState): output paragraph position
6140
6141 2003-09-04  Angus Leeming  <leeming@lyx.org>
6142
6143         * FloatList.h: move out #include "Floating.h".
6144         * LaTeX.h: move out #include "DepTable.h".
6145         * LyXAction.h: move out #include "funcrequest.h".
6146         * buffer.h: move out #include "author.h", "iterators.h".
6147         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6148         * lyx_main.h: move out #include "errorlist.h".
6149         * lyxfunc.h: move out #include "FuncStatus.h".
6150         * lyxtext: move out #include "lyxcursor.h".
6151         * paragraph_pimpl.h: move out #include "counters.h".
6152
6153 2003-09-03  Angus Leeming  <leeming@lyx.org>
6154
6155         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6156         preamble_snippets list, enabling us to add snippets to the preamble
6157         only if the snippet was not there already.
6158
6159 2003-09-04  Angus Leeming  <leeming@lyx.org>
6160
6161         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6162
6163 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6164
6165         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6166         update
6167
6168 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6169
6170         * BranchList.C: point fix, earlier forgotten
6171
6172 2003-09-02  Angus Leeming  <leeming@lyx.org>
6173
6174         * box.C (contains): renamed from 'contained' after a fantastic
6175         amount of hot air.
6176
6177 2003-09-02  John Levon  <levon@movementarian.org>
6178
6179         * BufferView.C:
6180         * lyxcursor.h:
6181         * lyxcursor.C:
6182         * lyxfunc.C:
6183         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6184
6185 2003-09-02  John Levon  <levon@movementarian.org>
6186
6187         * text2.C: simplification of cursorEnd(), including partial
6188         fix for bug 1376
6189
6190 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * buffer.C (readFile): add a space
6193
6194 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6195
6196         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6197
6198 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * buffer.C (readFile): new function, take a filename and a
6201         ParagraphList::iterator
6202         (readFile): adjust
6203         (readFile): adjust, make it private. don't use setStream, make
6204         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6205         always contain the filename.
6206
6207         * BufferView.C (insertLyXFile): simplify and make it work for
6208         gzipped files.
6209
6210 2003-08-30  John Levon  <levon@movementarian.org>
6211
6212         * Makefile.am: fix dist (from Kayvan)
6213
6214 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6215
6216         * most files: change to use const Buffer refs
6217
6218 2003-08-27  André Pönitz  <poenitz@gmx.net>
6219
6220         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6221         on top of ownerPar().
6222
6223 2003-08-27  John Levon  <levon@movementarian.org>
6224
6225         * funcrequest.C: properly initialise POD members
6226
6227 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6228
6229         * lyxtext.h (top_y): move top_y from here
6230         * text.C:
6231         * text2.C:
6232         * text3.C:
6233         * BufferView.[Ch]:
6234         * BufferView_pimpl.[Ch]: to here
6235         * frontends/screen.C:
6236         * insets/insettabular.C:
6237         * insets/insettext.C: adjust
6238         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6239
6240 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6241
6242         * BufferView.[Ch]:
6243         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6244
6245 2003-08-26  André Pönitz  <poenitz@gmx.net>
6246
6247         * paragraph_func.[Ch] (outerPar): new function
6248
6249         * paragraph.C:
6250         * paragraph_funcs.C:
6251         * paragraph_funcs.h:
6252         * paragraph_pimpl.C:
6253         * text2.C: remove Inset::par_owner
6254
6255 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6256
6257         * lyxrow_funcs.C:
6258         * lyxtext.h:
6259         * text.C:
6260         * text2.C: eliminates the needFullRow/display() stuff
6261         altogether, putting the logic in metrics/draw in the insets.
6262
6263 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6264
6265         * text2.C (redoParagraphInternal, redoParagraphs):
6266         * text.C (redoParagraph): add a call to updateRowPositions at the
6267         end of each 'metrics-like' call. Remove all others.
6268         (getRow): remove the 'y-computing' version.
6269         (getRowNearY): do not compute nor return the real y. Solve the
6270         'y < 0' problem and simplify.
6271
6272 2003-08-22  Angus Leeming  <leeming@lyx.org>
6273
6274         * *.[Ch]: clean-up of licence and author blurbs.
6275         Also move config.h out of a few .h files and into a few .C files.
6276
6277 2003-08-22  André Pönitz  <poenitz@gmx.net>
6278
6279         * lyxrow.[Ch]: add x_ and *fill_ members
6280
6281         * lyxtext.h:
6282         * text.C:
6283         * rowpainter.C:
6284         * text2.C: adjust/remove prepareToPrint() calls
6285
6286 2003-08-22  André Pönitz  <poenitz@gmx.net>
6287
6288         * lyxrow.[Ch]: add  end_ member
6289
6290         * lyxrow_funcs.C: use LyXRow::end_
6291
6292         * lyxtext.h (singleWidth): add LyXFont parameter
6293
6294         * rowpainter.C:
6295         * text2.C: adjust LyXText::singleWidth() calls
6296
6297         * text.C (redoParagraph): simplify row breaking logic
6298
6299
6300 2003-08-19  André Pönitz  <poenitz@gmx.net>
6301
6302         * funcrequest.C: initialize button_ member
6303
6304         * text3.C:
6305         * rowpainter.[Ch]: interface consolidation
6306
6307 2003-08-18  André Pönitz  <poenitz@gmx.net>
6308
6309         * BufferView.C:
6310         * BufferView_pimpl.C:
6311         * lyxfind.C:
6312         * paragraph_funcs.C:
6313         * rowpainter.C:
6314         * text3.C: remove LyXScreen::draw() and fitCursor calls
6315
6316         * BranchList.h: remove spurious semicolons
6317
6318         * MenuBackend.C: fix branchlist related crash
6319
6320 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6321
6322         * BranchList.[Ch]:
6323         * InsetList.[Ch]:
6324         * LColor.[Ch]:
6325         * LyXAction.C:
6326         * Makefile.am:
6327         * MenuBackend.[Ch]:
6328         * bufferparams.[Ch]:
6329         * factory.C:
6330         * lfuns.h:
6331         * lyxfunc.C:
6332         * text3.C: implements the 'branch inset'
6333         idea. This allows the output of various versions of a document
6334         from a single source version, selectively outputing or suppressing
6335         output of parts of the text.
6336         This implementation contains a 'branch list editor' in a separate
6337         tab of the document settings dialog. Branches are user definable
6338         and have a "display colour" to distinguish them on-screen.
6339
6340         ColorHandler was somewhat cleaned up.
6341         (1) make possible a dynamically growing LColor list by allowing
6342         the graphic context cache to grow along (vector);
6343         (2) eliminate an IMHO unnecessary step in colour allocation.
6344
6345 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6346
6347         * BufferView_pimpl.C: compile fix
6348
6349 2003-08-15  André Pönitz  <poenitz@gmx.net>
6350
6351         * rowpainter.C: remove extra metrics calls
6352
6353         * lyxtext.h: merge the two constructors into a single one,
6354           pass reference to owner's par list
6355
6356         * BufferView_pimpl.C:
6357         * text.C:
6358         * text2.C: adjust
6359
6360 2003-08-15  André Pönitz  <poenitz@gmx.net>
6361
6362         * lyxrow_funcs.[Ch]:
6363         * lyxtext.h:
6364         * paragraph.h:
6365         * paragraph_funcs.C:
6366         * rowpainter.C:
6367         * text.C:
6368         * text2.C:
6369         * text3.C:
6370         * text_funcs.C: split LyXText::rowlist_ into individual
6371         Paragraph::rows_ chunks
6372
6373         * BufferView.[Ch]:
6374         * BufferView_pimpl.[Ch]:
6375         * lyxfind.C:
6376         * lyxtext.h:
6377         * text3.C: remove toggleSelection()
6378
6379 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6380
6381         * bufferlist.C: beautify two alerts (shorter text of buttons)
6382         * buffer.C: Remove redundant ' ' from message
6383         * tabular.h:
6384         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6385         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6386         rename VALIGN_CENTER to VALIGN_MIDDLE
6387
6388 2003-08-11  André Pönitz  <poenitz@gmx.net>
6389
6390         * lyxtext.h (getPar):
6391         * text.C: new function
6392
6393 2003-08-11  André Pönitz  <poenitz@gmx.net>
6394
6395         * Makefile.am:
6396         * tracer.[Ch]: remove unneeded files
6397
6398         * InsetList.[Ch]: remove resizeInsetsLyXText()
6399
6400         * lyxtext.h:
6401         * text.C:
6402         * text2.C:
6403         * text3.C: merge insertParagraphs() and appendParagraph()
6404         remove breakAgain(), update()
6405
6406         * BufferView_pimpl.[Ch]:
6407         * bufferview_funcs.[Ch]:
6408         * lyxfunc.C:
6409         * paragraph.[Ch]:
6410         * rowpainter.C:
6411         * tabular.C: adjust after text & InsetList changes.
6412
6413 2003-08-08  André Pönitz  <poenitz@gmx.net>
6414
6415         * text.C (insertChar, backspace): replace rowlist fiddling
6416         with rebreak of full par
6417
6418         * lyxtext.h:
6419         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6420         checkParagraph, updateInset): removed
6421
6422 2003-08-07  André Pönitz  <poenitz@gmx.net>
6423
6424         * paragraph.C:
6425         * text3.C: merge some LFUN handlers, remove dead code
6426
6427 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6428
6429         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6430
6431 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6432
6433         * text2.C (DEPM): fix part of bug 1255 and 1256
6434
6435 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6436
6437         * BufferView_pimpl.C (workAreaDispatch): change to use
6438         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6439         that are no mouse related.
6440
6441 2003-08-05  André Pönitz  <poenitz@gmx.net>
6442
6443         * BufferView.[Ch]:
6444         * BufferView_pimpl.[Ch]:
6445         * bufferview_funcs.C:
6446         * text2.C:
6447         * text3.C: rip out "deep update"
6448
6449         * textcursor.[Ch] (last_sel_cursor): remove unused member
6450
6451 2003-08-04  André Pönitz  <poenitz@gmx.net>
6452
6453         * BufferView.[Ch]:
6454         * BufferView_pimpl.[Ch]:
6455         * ParagraphParameters.C:
6456         * bufferview_funcs.C:
6457         * lyx_cb.C:
6458         * lyxfind.C:
6459         * lyxfunc.C:
6460         * text.C:
6461         * text2.C:
6462         * text3.C: replace "complicated" BufferView::update(...) calls with
6463         simpler ones.
6464
6465         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6466
6467 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6468
6469         * Makefile.am (lyx_SOURCES): add paper.h
6470
6471 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6472
6473         * Makefile.am: move things around so that both lyx-qt and
6474         lyx-xforms can be built (according to --with-frontend). Then lyx
6475         is a symbolic link to lyx-[firstfrontend]
6476
6477 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6478
6479         * Always use std::endl with lyxerr
6480
6481 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6482
6483         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6484
6485 2003-08-01  André Pönitz  <poenitz@gmx.net>
6486
6487         * BufferView.[Ch]:
6488         * BufferView_pimpl.[Ch]:
6489         * lyxfunc.C:
6490         * text3.C: merge BufferView::repaint() and BufferView::update()
6491
6492 2003-08-01  José Matos  <jamatos@lyx.org>
6493
6494         * buffer.[Ch]: file_format is no longer a buffer data element.
6495
6496 2003-08-01  André Pönitz  <poenitz@gmx.net>
6497
6498         * BufferView.C:
6499         * lyxtext.h:
6500         * text.C:
6501         * text2.C: make redoParagraph more independent of current cursor
6502
6503         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6504         * text.C:
6505         * text2.C: remove unneeded members
6506
6507 2003-07-30  André Pönitz  <poenitz@gmx.net>
6508
6509         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6510
6511         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6512           create a single function...
6513
6514         * paragraph_funcs.C (moveItem): ... here.
6515
6516         * text.C:
6517           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6518
6519 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6520
6521         * LColor.[Ch]: Add comment and greyedout logical colors.
6522
6523 2003-07-30  André Pönitz  <poenitz@gmx.net>
6524
6525         * tabular.C: don't use Assert too heavily. This crashes where it
6526           shouldn't
6527
6528 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6529
6530         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6531         is disabled (bug 1232)
6532
6533 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6534
6535         * factory.C: limited 'arg' scope
6536
6537 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6538
6539         * factory.C: fixed Note submenu issues
6540
6541 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6542
6543         * factory.C: submenu for Note/Comment/Greyedout
6544
6545 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6546
6547         * lyx_main.C (LyX):
6548         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6549
6550 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6551
6552         * LaTeXFeatures.C:
6553         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6554         greyedout. Patch provided by Jürgen Spitzmüller.
6555
6556 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6557
6558         * kbmap.C (read): fix error message when reading bind files
6559
6560 2003-07-29  Angus Leeming  <leeming@lyx.org>
6561
6562         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6563         certainly does not do what it purports to do. I am doing it, and
6564         us, a favour by killing it.
6565
6566 2003-07-28  José Matos  <jamatos@lyx.org>
6567
6568         * buffer.C (readBody, do_writeFile):
6569         * paragraph.C(readParagraph): \end_document replaces \the_end.
6570
6571 2003-07-29  André Pönitz  <poenitz@gmx.net>
6572
6573         * BufferView.[Ch]:
6574         * BufferView_pimpl.[Ch]:
6575         * lyxfunc.C:
6576         * text2.C:
6577         * text3.C:
6578         * textcursor.[Ch]: remove toggleToggle & Co
6579
6580 2003-07-28  José Matos  <jamatos@fep.up.pt>
6581
6582         * buffer.C (readParagraph):
6583         * params_func (readParToken, readParagraph):
6584         * paragraph.C (write): \layout -> \begin_layout.
6585
6586 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6587
6588         * lyxlex_pimpl.C (setFile): clean up slightly.
6589
6590         * bufferparams.h: add compressed var
6591
6592         * buffer_funcs.C (readFile): adjust for LyXLex change
6593         (newFile): ditto + simplify
6594
6595         * buffer.C (writeFile): handle writing of compressed files
6596
6597         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6598         Check if the file is compressed and set a bufferparm if so.
6599
6600         * Makefile.am (lyx_LDADD): remove explicit -lz
6601
6602 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6603
6604         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6605         makeDocBookFile): put the real LyX version in the first line of
6606         the file
6607
6608         * version.h:
6609         * version.C.in: remove lyx_docversion
6610
6611         * tabular.C (write_attribute): add a template-based version to
6612         write enums properly
6613
6614 2003-07-28  André Pönitz  <poenitz@gmx.net>
6615
6616         * lyxtext.h:
6617         * text.C:
6618         * text2.C:
6619         * text3.C: use doubles again for x-coordinates. They are needed.
6620
6621 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * messages.C (getLocaleDir): use lyx_localedir()
6624
6625         * lyxlex_pimpl.C (setFile): compress stuff
6626
6627         * buffer.C (writeFile): add some compression stuff
6628         (do_writeFile): new func, dont call expliti close... will this
6629         breake anything?
6630
6631         * Makefile.am (lyx_LDADD): add -lz
6632
6633 2003-07-28  José Matos  <jamatos@fep.up.pt>
6634
6635         * buffer.C: increment file format.
6636         * paragraph_funcs (readParagraph, readParToken):
6637         * paragraph.C (readParagraph): add \end_layout.
6638
6639 2003-07-27  Angus Leeming  <leeming@lyx.org>
6640
6641         * Makefile.am: remove special casing for configure-time setting of
6642         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6643
6644         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6645         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6646
6647 2003-07-26  André Pönitz  <poenitz@gmx.net>
6648
6649         * paragraph_func.[Ch]:
6650         * paragraph.C (realizeFont): inline it whereever it is used
6651
6652         * rowpainter.C:
6653         * text.C:
6654         * text2.C:
6655         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6656
6657
6658 2003-07-26  André Pönitz  <poenitz@gmx.net>
6659
6660         *       lyxtext.h:
6661         * text.C:
6662         * text2.C: get rid of LyXText::need_break_row
6663
6664 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6665
6666         * toc.[Ch]: put namespace toc inside namespace lyx
6667
6668         * MenuBackend.C (expandToc2): adjust for lyx::toc
6669         (expandToc): ditto
6670
6671         * lyxfunc.C (dispatch): adjust for lyx::find
6672
6673         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6674         lyx::find instead. Reorganize a bit.
6675         (LyXReplace): rename to replace
6676         (LyXFind): rename to find
6677
6678         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6679         (dispatch): ditto
6680
6681 2003-07-26  André Pönitz  <poenitz@gmx.net>
6682
6683         * text.C (setHeightOfRow): restrict scope of temporary variable
6684
6685         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6686           code (never has been used?)
6687
6688 2003-07-27  Asger Alstrup  <alstrup@local>
6689
6690         * text.C (fill): Optimise algorithm to exploit that we can reuse
6691         the LyXFont for many characters.
6692         (setHeightOfRow): Same thing.
6693         (rowBreakPoint): Same thing.
6694
6695 2003-07-26  Asger Alstrup  <alstrup@local>
6696
6697         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6698
6699         * text.C (singleWidth): Spurious font copying in hot-spot
6700         singleWidth avoided. Reorder tests for arabic for efficiency.
6701
6702         * text.C (fill): handle empty paragraphs better.
6703
6704 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6705
6706         * ispell.C:
6707         * encoding.h: add includes
6708
6709         * lyxrc.C: remove reading of bind files
6710
6711         * lyx_main.C (init): setup bindings and menus only if we have a
6712         gui.
6713
6714         * kbmap.C (read): new method. Do the actual reading of bind
6715         files.
6716
6717         * converter.C (dvipdfm_options):
6718         * bufferparams.C:
6719         * lyxrc.C (read):
6720         (output): adapt PAPER_* enums.
6721
6722         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6723
6724         * bufferparams.h: remove paper-related enums from there
6725
6726         * paper.h: New file. A trivial header file to hold paper-related
6727         enums. It should later expand to contain many paper-related
6728         horrors access.
6729
6730         * lyxrc.C: declare extern displayTranslator
6731
6732 2003-07-27  José Matos  <jamatos@fep.up.pt>
6733
6734         * tabular.[Ch] (linuxdoc): add support for tables and figures
6735         (linuxdoc).
6736
6737 2003-07-27  José Matos  <jamatos@fep.up.pt>
6738
6739         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6740         consistency in both functions.
6741         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6742
6743 2003-07-26  Asger Alstrup  <alstrup@local>
6744
6745         * rowpainter.C (paintRows): Change algorithm to work directly on
6746         the insets rather than asking every character in the document
6747         whether its an inset.
6748
6749 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6750
6751         * buffer.C (openFileWrite): factorize some code
6752
6753 2003-07-26  Angus Leeming  <leeming@lyx.org>
6754
6755         * lyx_cb.C:
6756         * lyx_main.[Ch]: replace occurances of system_tempdir with
6757         os::getTmpDir().
6758
6759 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * rename Inset to InsetOld
6762
6763 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6764
6765         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6766         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6767         which I think is a bit clearer. EDIT is gone, since it was
6768         premature optimisation, and broken for mathed anyway.
6769         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6770         with cursor positioning in insets as well (math insets still do not
6771         work, but that's a different story anyway.) It mysteriously
6772         crashes sometimes with undo in the first paragraph, but I'm fairly
6773         confident that this is a compiler bug.
6774
6775 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * paragraph.C (Paragraph): adjust for new clone return type
6778         (operator==): ditto
6779         (copyIntoMinibuffer): ditto
6780
6781 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6782
6783         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6784         by not having a special case, and always doing a full rebreak of
6785         the document after undo.
6786
6787 2003-07-23  Angus Leeming  <leeming@lyx.org>
6788
6789         * factory.C (createInset): InsetExternal::setParams now takes a
6790         Buffer const * arg.
6791
6792 2003-07-23  Angus Leeming  <leeming@lyx.org>
6793
6794         * factory.C (createInset): changed interface to the external and
6795         graphics mailers' string2params functions.
6796
6797 2003-07-23  Angus Leeming  <leeming@lyx.org>
6798
6799         * factory.C (createInset): pass a
6800         Buffer const * parameter to InsetExternalMailer's string2params.
6801
6802 2003-07-22  John Levon  <levon@movementarian.org>
6803
6804         * Thesaurus.h: include the right aiksaurus header
6805
6806 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6807
6808         * MenuBackend.C (expand): check menu shortcuts unconditionally
6809
6810 2003-07-21  Angus Leeming  <leeming@lyx.org>
6811
6812         * factory.C (createInset): pass a
6813         buffer_path parameter to InsetGraphicsMailer's string2params.
6814
6815 2003-07-21  Angus Leeming  <leeming@lyx.org>
6816
6817         * BufferView_pimpl.C (buffer):
6818         * buffer.C (d-tor):
6819         * lyx_main.C (LyX):
6820         * lyxfunc.C (dispatch):
6821         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6822         rather than the grfx shortcut.
6823
6824 2003-07-21  André Pönitz  <poenitz@gmx.net>
6825
6826         * rowpainter.C: remove unused variables
6827
6828         * tabular_funcs.C:
6829         * tabular_funcs.h: move to tabular.C
6830         * Makefile.am: adjust
6831
6832         * tabular.[Ch]: basic optical cleaning
6833
6834         * author.h: pass references, not values
6835
6836 2003-07-18  André Pönitz  <poenitz@gmx.net>
6837
6838         * lyxtext.h:
6839         * metricsinfo.C:
6840         * metricsinfo.h:
6841         * rowpainter.C:
6842         * text.C:
6843         * text2.C:
6844         * text3.C: two-phase drawing for InsetText and InsetTabular
6845         some float -> int changes.
6846
6847 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6848
6849         * lyx_main.C: fix the fix
6850
6851 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6852
6853         * lyx_main.C: fix a crash in batch mode if no files specified
6854         * converter.C: ws
6855
6856 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6857
6858         * format.[Ch] (papersize): moved to BufferParams
6859         * converter.[Ch] (dvips_options): moved to BufferParams
6860         (dvipdfm_options): moved to anon namespace
6861         * bufferparams.[Ch]: added above functions.
6862
6863 2003-07-17  André Pönitz  <poenitz@gmx.net>
6864
6865         * lyxtext.h:
6866         * rowpainter.C:
6867         * text2.C: don't call inset->update() anymore
6868
6869         * metricsinfo.[Ch]: add convenience constructor
6870
6871 2003-07-16  André Pönitz  <poenitz@gmx.net>
6872
6873         * lyxcursor.[Ch]:
6874         * lyxfunc.[Ch]:
6875         * text.C:
6876         * text2.C: replace the LyXCursor::irow_ member with
6877          on-demand computation of the value
6878
6879 2003-07-16  John Levon  <levon@movementarian.org>
6880
6881         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6882
6883 2003-07-15  André Pönitz  <poenitz@gmx.net>
6884
6885         * text.C:
6886         * text2.C: remove no more needed refresh_row
6887
6888 2003-07-15  André Pönitz  <poenitz@gmx.net>
6889
6890         * lyxtext.h:
6891         * rowpainter.C:
6892         * text2.C:
6893         * text3.C: refresh_status tristate -> need_update bool
6894
6895 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6896
6897         * lyxtext.h (init): remove reinit argument (act as if always true)
6898         * text2.C: adjust to that
6899
6900 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6901
6902         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6903         * text3.C: use it to delete selections in some cases
6904         (bugs 441, 673, 702, 954).
6905
6906 2003-07-14  André Pönitz  <poenitz@gmx.net>
6907
6908         * rowpainter.[Ch]: reduce interface
6909
6910 2003-07-14  André Pönitz  <poenitz@gmx.net>
6911
6912         * BufferView_pimpl.C:
6913         * text2.C: adjust after removing unused BufferView * argument
6914
6915 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6916
6917         * text2.C (init): fix a crash fired on resize
6918
6919 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6920
6921         * buffer.[Ch]: added new closing signal
6922         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6923         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6924         BufferView::Pimpl via the closing the signal
6925
6926 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6927
6928         * buffer.[Ch]: take out all bv-related from buffer
6929         * BufferView.C:
6930         * BufferView_pimpl.[Ch]: connect to new signals
6931         * CutAndPaste.C: removed useless asserts
6932         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6933         * lyxvc.[Ch]:
6934         * vc-backend.[Ch]:
6935         * lyxfunc.C: moved view-related funciontality from vc here
6936         * paragraph.C: removed outdated comments
6937         * text.C: ws
6938
6939 2003-07-10  André Pönitz  <poenitz@gmx.net>
6940
6941         * BufferView_pimpl.C:
6942         * tabular.h:
6943         * tabular_funcs.C:
6944         * text.C:
6945         * text2.C: remove InsetText::InnerCache, clean up consequences
6946
6947 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6948
6949         * ispell.C: fix two typos in error messages
6950
6951 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6952
6953         * Extend Note inset to other forms of annotation like Comment
6954         and Greyedout. Right button click gives dialog.
6955
6956         Files modified or added (+):
6957
6958         * insetnote.[Ch]
6959         * FormNote.[Ch]      +
6960         * ControlNote.[Ch]   +
6961         * form_note.fd       +
6962         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6963         frontends/controllers
6964         * xforms/Dialogs.C
6965         * factory.C
6966
6967 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6968
6969         * aspell.C: add missing namespace lyx::support
6970
6971 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6972
6973         * BufferView.[Ch] (newFile): Add
6974         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6975         * LaTeX.[Ch] (message): added this signal and use it
6976         * buffer.[Ch] (busy, message): added these signals and use them
6977         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6978         * converter.C:
6979         * exporter.C:
6980         * format.C:
6981         * importer.C: use buffer signals instead of direct bv calling
6982         * lyx_cb.[Ch] (ShowMessage): removed
6983         * lyx_main.C:
6984         * lyxfunc.C:
6985         * paragraph_funcs.C:
6986         * text2.C: use buffer signals
6987
6988 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * introduce namespace lyx::graphics
6991
6992 2003-07-02  André Pönitz  <poenitz@gmx.net>
6993
6994         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6995
6996 2003-07-01  André Pönitz  <poenitz@gmx.net>
6997
6998         * text.C:
6999         * text2.C:
7000         * text3.C:
7001         * text_funcs.[Ch]:
7002         * textcursor.h:
7003         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7004           text*.C to text_func.C
7005
7006 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7007
7008         * introduce namespace lyx::support
7009
7010 2003-06-30  André Pönitz  <poenitz@gmx.net>
7011
7012         * Chktex.C:
7013         * funcrequest.C:
7014         * lyxtext.h:
7015         * text.C: re-enable --with-included-string
7016
7017 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * textcursor.C: add <config.h>
7020
7021         * text.C (getWord): remove const from word_location arg
7022
7023         * lyxvc.C (getLogFile): fix const type order
7024
7025         * lyxtext.h: remove const from word_location arg, add arg name
7026
7027         * lyxlayout.h: currect type on labeltype.
7028
7029         * importer.C: correct \file
7030
7031         * converter.C (intToFormat): use std:: on ret val, ws changes
7032
7033         * bufferlist.h: correct \file
7034
7035         * buffer.C (makeLinuxDocFile): fix const type order
7036         (makeDocBookFile): ditto
7037         (fillWithBibKeys): use std:: on stdlib args.
7038
7039         * CutAndPaste.C: fix authors.
7040         (availableSelections): use std:: on return vector
7041
7042 2003-06-27  André Pönitz  <poenitz@gmx.net>
7043
7044         * BufferView_pimpl.C:
7045         * bufferview_funcs.C:
7046         * lyxcursor.C:
7047         * lyxcursor.h:
7048         * lyxfunc.C:
7049         * lyxtext.h:
7050         * rowpainter.C:
7051         * text.C:
7052         * text2.C:
7053         * text3.C: remove LyXCursor::row_ member
7054
7055         * lyxtext.h:
7056         * text.C: rename fullRebreak() to partialRebreak() and implement
7057           a fullRebreak() that really bereks fully
7058
7059         * textcursor.h: new struct for cursor-related data
7060
7061 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7062
7063         * lyx_main.C (LyX): get full path of document loaded on the
7064         command line
7065
7066 2003-06-26  André Pönitz  <poenitz@gmx.net>
7067
7068         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7069           remove unused/broken operator>,<,>=.
7070
7071         *       text.C: remove only use of broken operator<= in an Assert().
7072
7073 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7074
7075         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7076         moved errorlist_.clear to showErrorList
7077
7078 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7079
7080         * converter.C (scanLog, runLaTeX):
7081         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7082         move the bv->showErrorList call to the callers
7083         * lyxfunc.C: i.e. here...
7084         * text2.C: and here
7085         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7086         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7087         namespace, the second to...
7088         * buffer_funcs (BufferFormat, parseErrors): added
7089         * errorlist.C (ErrorList(TeXErrors const &)): removed
7090
7091 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7092
7093         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7094
7095 2003-06-24  "Garst R. Reese" <reese@isn.net>
7096
7097         * debug.C: fix typo
7098
7099 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7100
7101         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7102
7103         * version.C.in: change docversion to 1.4
7104
7105 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7106
7107         * buffer.C: fix a bug just introduced
7108
7109 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7110
7111         * buffer.[Ch]: added the parseError signal and use it, removed
7112         sgmlError
7113         * BufferView.[Ch] (addError): moved to ...
7114         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7115         to the Buffer::parseError signal to catch (guess what) parse errors
7116         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7117
7118 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7119
7120         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7121         ability to create a buffer and to return an existing one from
7122         the list. Moved these functions to...
7123         * buffer_funcs.[Ch]: added
7124         * BufferView.[Ch] (loadLyXFile): added
7125         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7126         job removed from bufferlist::loadLyXFile.
7127         * buffer.C (setReadOnly): make it work without view
7128         (i.e added an if (users))
7129
7130 2003-06-19  Angus Leeming  <leeming@lyx.org>
7131
7132         * lfuns.h:
7133         * LyXAction.C (init):
7134         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7135         with LFUN_DIALOG_SHOW <name> <data>.
7136
7137 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7138
7139         * CutAndPaste.C (availableSelections): small compilation fix for
7140         ancient (gcc 2.9x) compilers
7141
7142 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7143
7144         * text3.C (cursorNext): add tmp var
7145
7146         * text2.C (updateCounters): for function calling out of for clause
7147         (replaceSelectionWithString): ditto
7148         (insertStringAsParagraphs): ditto
7149         (getColumnNearX): add tmp var
7150         (setCursorFromCoordinates): add tmp var
7151         (cursorDownParagraph): add tmp var
7152         (deleteEmptyParagraphMechanism): add tmp var
7153
7154         * text.C (insertChar): add tmp var
7155
7156         * rowpainter.C (paintDepthBar): add tmp var
7157
7158         * CutAndPaste.C (availableSelections): potentially check all
7159         paragraphs in a cut to fill the shown strings.
7160
7161 2003-06-18  André Pönitz  <poenitz@gmx.net>
7162
7163         * kbmap.[Ch]: use vector<> instead of list<>
7164
7165 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7166
7167         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7168         pasteSelection with index
7169
7170         * text2.C (pasteSelection): modify, call pasteSelection with index
7171
7172         * paragraph.C (asString): reimplement version with no interval to
7173         call the one with interval.
7174
7175         * lyxtext.h: add index arg to pasteSelection
7176
7177         * MenuBackend.C (MenuItem): handle PasteRecent
7178         (Menu::read::Menutags): add md_pasterecent
7179         (read): handle it
7180         (expandPasteRecent): new function
7181         (expand): use it
7182
7183         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7184
7185         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7186         the limited stack
7187         (availableSelections): new function
7188
7189 2003-06-17  Angus Leeming  <leeming@lyx.org>
7190
7191         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7192
7193 2003-06-17  Angus Leeming  <leeming@lyx.org>
7194
7195         * lfuns.h:
7196         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7197
7198         * lyxfunc.C (dispatch): invoke it.
7199
7200 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7201
7202         * iterators.C (operator++, ParPosition): reintroduce some
7203         const_cast for the benefit of older compilers.
7204
7205 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7206
7207         * text3.C (dispatch): do not modify clipboard when doing
7208         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7209         LFUN_DELETE_SKIP on a selection selection
7210
7211 2003-06-16  André Pönitz  <poenitz@gmx.net>
7212
7213         * BufferView.C:
7214         * buffer.C:
7215         * buffer.h:
7216         * paragraph.C:
7217         * tabular.[Ch]: IU of clone() and getLabelList();
7218
7219 2003-06-13  André Pönitz  <poenitz@gmx.net>
7220
7221         * tabular.h: compactification
7222
7223 2003-06-12  André Pönitz  <poenitz@gmx.net>
7224
7225         * tabular.C:
7226         * tabular.h:
7227         * tabular_funcs.h: some renaming plus whitespace
7228
7229 2003-06-12  André Pönitz  <poenitz@gmx.net>
7230
7231         * BufferView.C:
7232         * BufferView_pimpl.C:
7233         * CutAndPaste.C:
7234         * buffer.C:
7235         * iterators.[Ch]:
7236         * lyxfunc.C:
7237         * text.C:
7238         * toc.C: Return a Paragraph & for ParIterator::operator*()
7239
7240 2003-06-11  John Levon  <levon@movementarian.org>
7241
7242         * lyx_main.C:
7243         * ToolbarBackend.h:
7244         * ToolbarBackend.C: add "Toolbars" section and
7245         put the flags there
7246
7247 2003-06-10  Angus Leeming  <leeming@lyx.org>
7248
7249         * lfuns.h:
7250         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7251
7252         * lyxfunc.C (dispatch): invoke it.
7253
7254 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * main.C: protect <ios> with HAVE_IOS
7257         (main): protect sync_with_stdio with HAVE_IOS
7258
7259 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7260
7261         * text2.C (cutSelection): adjust
7262         (pasteSelection): adjust
7263
7264         * messages.C: handle get of empty string
7265
7266         * main.C (main): use sync_with_stdio(false)
7267
7268         * lyxfunc.C (dispatch): adjust
7269
7270         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7271         (WriteAs): remove unneeded BufferView arg.
7272
7273         * bufferparams.h: use correct types on papersize, papersize2 and
7274         paperpackage.
7275
7276         * bufferparams.C (readToken): adjust for type
7277         (writeLaTeX): add missing cases to switch.
7278
7279         * bufferlist.C (quitWriteBuffer): adjust
7280         (close): adjust
7281
7282         * buffer.C (asciiParagraph): remove some commented code.
7283
7284         * CutAndPaste.C: remove current_view extern variable.
7285         (cutSelection): add BufferParams arg.
7286         (eraseSelection): add BufferParams arg.
7287         (pasteSelection): add Buffer const & arg
7288
7289 2003-06-07  John Levon  <levon@movementarian.org>
7290
7291         * buffer.C:
7292         * paragraph_funcs.C:
7293         * paragraph_pimpl.C:
7294         * text.C:
7295         * text2.C:
7296         * paragraph.h:
7297         * paragraph.C: allow InsetERT to freely space lines,
7298         and some consolidation of code
7299
7300 2003-06-06  José Matos  <jamatos@fep.up.pt>
7301
7302         * buffer.C (makeDocBookFile): fix bug #821
7303
7304 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7305
7306         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7307
7308 2003-06-04  Angus Leeming  <leeming@lyx.org>
7309
7310         * buffer.C: bump format to 224.
7311
7312 2003-06-05  André Pönitz  <poenitz@gmx.net>
7313
7314         * text2.C (redoParagraphs): remove two const_cast<>
7315
7316 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7317
7318         * ParagraphList.h: remove last remnants of NO_STD_LIST
7319
7320 2003-06-03  Angus Leeming  <leeming@lyx.org>
7321
7322         * factory.C (createInset): small change to the way InsetExternal's params
7323         are set.
7324
7325 2003-06-04  André Pönitz  <poenitz@gmx.net>
7326
7327         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7328
7329         * paragraph_pimpl.h:
7330         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7331
7332         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7333
7334         * undo_funcs.C: make some simple cases of undo work again
7335
7336 2003-06-03  John Levon  <levon@movementarian.org>
7337
7338         * ispell.C: HPUX doesn't have sys/select.h
7339         (from Albert Chin)
7340
7341 2003-06-03  John Levon  <levon@movementarian.org>
7342
7343         * CutAndPaste.C: update tabular and include inset
7344         buffer references
7345
7346         * buffer.h:
7347         * paragraph.h:
7348         * paragraph.C: remove owningBuffer(), don't pass Buffer
7349         to clone()
7350
7351         * factory.C: insetGraphicsParams changed
7352
7353 2003-06-02  John Levon  <levon@movementarian.org>
7354
7355         * LyXAction.C:
7356         * factory.C:
7357         * lfuns.h:
7358         * lyxfunc.C:
7359         * text3.C: remove insetparent
7360
7361 2003-06-02  John Levon  <levon@movementarian.org>
7362
7363         * buffer.h:
7364         * buffer.C: fix inset_iterator.end(), move out of line
7365         (bug 1149)
7366
7367 2003-06-01  John Levon  <levon@movementarian.org>
7368
7369         * text3.C: use a proper cut/paste when doing inset
7370         insert (from Jürgen Spitzmüller)
7371
7372 2003-06-01  John Levon  <levon@movementarian.org>
7373
7374         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7375
7376 2003-05-30  André Pönitz  <poenitz@gmx.net>
7377
7378         * rowpainter.C: unify second drawing phase
7379
7380 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * trans_mgr.C: remove one case of current_view
7383
7384         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7385
7386         * paragraph_funcs.h: remove paragraph.h include
7387
7388         * paragraph.h: delete NO_STD_LIST stuff
7389
7390         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7391
7392         * buffer.h: remove paragraph.h include
7393
7394         * ParagraphList.C: delete file
7395
7396         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7397
7398         * toc.C (getTocList): adjust
7399
7400         * paragraph_pimpl.C (validate): adjust
7401
7402         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7403
7404         * paragraph.C (Paragraph): adjust
7405         (getPositionOfInset): use const_iterator, adjust
7406         (bibitem): use const_iterator, adjust
7407         (setInsetOwner): adjust
7408
7409         * iterators.C (operator++): adjust
7410
7411         * InsetList.[Ch]: Replace selfmade iterator with standard
7412         vector::iterator also introduce const_iterator. Remove getPos,
7413         getInset and setInset from InsetTable. Adjust accordingly.
7414
7415         * BufferView.C (lockInset): adjust
7416         (ChangeInsets): adjust
7417
7418         * tabular.[Ch]: delete commented same_id functions
7419
7420 2003-05-28  John Levon  <levon@movementarian.org>
7421
7422         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7423
7424 2003-05-28  André Pönitz  <poenitz@gmx.net>
7425
7426         * metricsinfo.[Ch]: remove 'fullredraw' member
7427
7428 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7429
7430         * lyxtextclass.C (operator): remove caching.
7431
7432 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7433
7434         * text3.C: adjust
7435
7436         * text2.C (cursorBottom): adjust
7437         (setCounter): use ParagraphList::find, adjust
7438
7439         * text.C (workWidth): use ParagraphList::find, adjust
7440
7441         * lyxcursor.C (LyXCursor): adjust
7442
7443         * buffer.C (inset_iterator): adjust
7444
7445         * ParagraphList.h: make iterator(value_type) private, make
7446         ParagraphList a friend of iterator.
7447
7448         * ParagraphList.C (find): new function
7449
7450         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7451
7452 2003-05-27  André Pönitz  <poenitz@gmx.net>
7453
7454         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7455
7456 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7457
7458         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7459
7460 2003-05-26  John Levon  <levon@movementarian.org>
7461
7462         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7463
7464 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * remove same_id from function signatures, adjust.
7467
7468 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7471
7472         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7473
7474         * paragraph.C (Paragraph): get rid of same_ids parameter
7475
7476         * ParagraphList.C (insert): adjust
7477         (push_back): adjust
7478
7479 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7480
7481         * paragraph_funcs.C (breakParagraph): adjust
7482         (breakParagraphConservative): adjust
7483
7484         * buffer.C (readParagraph): adjust
7485
7486         * ParagraphList.C (insert): take a reference instead of a pointer
7487         (insert): adjust
7488
7489         * paragraph.[Ch] (id): new function
7490
7491         * bufferlist.C (newFile): adjust
7492
7493         * ParagraphList.C (ParagraphList): adjust
7494         (assign): adjust
7495         (push_back): take a reference instead of a pointer.
7496
7497         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7498
7499         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7500         instead.
7501
7502         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7503         set else use old code.
7504
7505         * ParagraphList.C: remove all NO_NEXT code and only compile this
7506         code of NO_STD_LIST is set.
7507
7508 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7509
7510         * BufferView_pimpl.C:
7511         * TextCache.C:
7512         * TextCache.h:
7513         * bufferlist.C:
7514         * errorlist.h:
7515         * format.C:
7516         * format.h:
7517         * graph.C:
7518         * lyxfunc.C:
7519         * lyxrc.C:
7520         * graphics/GraphicsConverter.C:
7521         * graphics/PreviewLoader.C: header adjustment
7522
7523 2003-05-23  Angus Leeming  <leeming@lyx.org>
7524
7525         * LaTeXFeatures.[Ch] (useBabel): new method.
7526         * bufferparams.C (writeLaTeX): use it.
7527
7528 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7529
7530         * ParagraphList.h (set): remove unused function.
7531
7532 2003-05-23  André Pönitz  <poenitz@gmx.net>
7533
7534         * BufferView.C:
7535         * BufferView_pimpl.C:
7536         * buffer.C:
7537         * buffer.h:
7538         * lyxfunc.C:
7539         * undo_funcs.C: setUndo reworked
7540
7541         * iterators.[Ch]: add access to topmost ParagraphList
7542
7543         * lyxtext.[Ch] (workWidth): add a const
7544
7545 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7546
7547         * texrow.[Ch] (increasePos): remove function
7548         * exporter.C (export): removed unused var and outdated comment
7549
7550 2003-05-23  Angus Leeming  <leeming@lyx.org>
7551
7552         * latexrunparams.h: rename fragile as moving_arg.
7553         * paragraph.C (simpleTeXOnePar): ditto.
7554         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7555
7556 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7557
7558         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7559         (createUndo): ditto
7560         (textUndoOrRedo): comment out a currently unused var.
7561
7562         * paragraph.h (NO_NEXT): enable NO_NEXT
7563
7564         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7565
7566         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7567
7568         * exporter.C (Export): adjust for removeAutoInsets removal.
7569
7570         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7571
7572         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7573
7574         * BufferView.[Ch] (removeAutoInsets): delete function
7575
7576 2003-05-22  Angus Leeming  <leeming@lyx.org>
7577
7578         * latexrunparams.h: add a free_spacing variable.
7579
7580         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7581         to pass moving_arg, as the data is stored in runparams.fragile.
7582
7583         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7584         to Inset::latexOptional or to simpleTeXOnePar.
7585
7586         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7587         free_spacing arg to Inset::latexOptional.
7588
7589         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7590         free_spacing arg.
7591
7592 2003-05-22  Angus Leeming  <leeming@lyx.org>
7593
7594         * latexrunparams.h: add fragile and use_babel variables.
7595
7596         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7597         * buffer.C (makeLaTeXFile): store this returned value in
7598         runparams.use_babel, thus passing it to the inset::latex methods.
7599
7600         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7601         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7602
7603         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7604         longer has a fragile arg, as it is stored in runparams.fragile.
7605
7606         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7607         moving_arg parameter as the data is stored in runparams.fragile.
7608
7609         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7610         a fragile parameter as the data is stored in runparams.fragile.
7611
7612 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7613
7614         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7615
7616 2003-05-22  Angus Leeming  <leeming@lyx.org>
7617
7618         * latexrunparams.h: add a 'bool nice' which defaults to false.
7619
7620         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7621         now encapsulated within runparams.
7622
7623         * bufferlist.C (updateIncludedTeXfiles):
7624         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7625
7626 2003-05-22  Angus Leeming  <leeming@lyx.org>
7627
7628         * latexrunparams.h: new file containing struct LatexRunParams.
7629         * Makefile.am: add new file.
7630
7631         * LaTeX.[Ch] (c-tor, run):
7632         * buffer.[Ch] (makeLaTeXFile):
7633         * bufferlist.[Ch] (updateIncludedTeXfiles):
7634         * converter.C (convert, scanLog):
7635         * converter.[Ch] (runLaTeX):
7636         * exporter.C (Export):
7637         * paragraph.[Ch] (simpleTeXOnePar):
7638         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7639         * paragraph_funcs.[Ch] (latexParagraphs):
7640         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7641         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7642         pass around a LatexRunParams parameter.
7643
7644 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7645
7646         * paragraph.[Ch]: remove unused constructor
7647
7648         * ParagraphList.C (erase): new function, taking two iterators
7649
7650 2003-05-22  André Pönitz  <poenitz@gmx.net>
7651
7652         * undo_funcs.C: remove duplicated code
7653
7654         * iterator.[Ch]: operator=
7655
7656 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * tabular.C (SetMultiColumn): ws changes
7659
7660         * rowpainter.C (paintFirst): get rid of a ->previous
7661
7662         * lyx_cb.C (getPossibleLabel): parlist simplification
7663
7664         * BufferView.C (ChangeInsets): simplify slightly.
7665
7666 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7667
7668         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7669         * lfuns.h: new LFUN_SPACE
7670         * lyxfunc.C: protected space has a new lfun
7671         * paragraph_funcs.C: read new space insets
7672         * text3.C:
7673         * factory.C: handle new space insets
7674
7675 2003-05-22  André Pönitz  <poenitz@gmx.net>
7676
7677         * BufferView.C:
7678         * BufferView_pimpl.C:
7679         * buffer.[Ch]:
7680         * lyxfunc.C:
7681         * undo_funcs.C: return a ParIterator from getParFromID.
7682
7683         * iterators.[Ch]: add two const's
7684
7685 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * toc.C (getTocList): adjust
7688
7689         * iterators.[Ch]: rework for parlist
7690
7691         * buffer.C (par_iterator_begin): adjust
7692         (par_iterator_end): adjust
7693
7694         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7695
7696         * BufferView.C (removeAutoInsets): adjust
7697         (ChangeInsets): adjust
7698
7699 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7700
7701         * text.C (top_y): fix bug 1110
7702
7703 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7704
7705         * errorlist.[Ch]: added
7706         * buffer.C:
7707         * BufferView.[Ch]:
7708         * BufferView_pimpl.C:
7709         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7710         instead
7711
7712 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * Makefile.am: ensure that lyx is relinked upon changes to the
7715         various "convenience" libs.
7716
7717 2003-05-20  Angus Leeming  <leeming@lyx.org>
7718
7719         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7720         files are compiled in alphabetical order again.
7721
7722         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7723
7724 2003-05-19  Angus Leeming  <leeming@lyx.org>
7725
7726         * gettext.[Ch]: remove "char const * _(char const *)".
7727
7728 2003-05-19  André Pönitz  <poenitz@gmx.net>
7729
7730         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7731
7732         * Makefile.am:
7733         * BufferView.C:
7734         * DepTable.h:
7735         * LaTeXFeatures.C:
7736         * buffer.C:
7737         * lyxfont.C:
7738         * lyxlex.h:
7739         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7740
7741 2003-05-19  André Pönitz  <poenitz@gmx.net>
7742
7743         * buffer.C:
7744         * lyxlayout.[Ch]:
7745         * lyxtextclass.[Ch]:
7746         * paragraph.C:
7747         * paragraph_funcs.[Ch]:
7748         * text2.C:
7749         * text3.C: more insetenv work
7750
7751 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7752
7753         * ParagraphParameters.C (params2string): small bug fixed
7754
7755 2003-05-16  André Pönitz  <poenitz@gmx.net>
7756
7757         * debug.C:
7758         * bufferview_funcs.C: patch from Kornel Benko to prevent
7759           crash when _(...) is called twice in a statement
7760
7761 2003-05-16  André Pönitz  <poenitz@gmx.net>
7762
7763         * BufferView.C:
7764         * lyxfunc.C:
7765         * text.C:
7766         * text2.C:
7767         * text3.C:
7768         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7769
7770 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7771
7772         * lyx_main.C (init): remove spurious static_cast
7773
7774 2003-05-14  André Pönitz  <poenitz@gmx.net>
7775
7776         * BufferView.C: fix format string
7777
7778 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7779
7780         * BufferView.[Ch] (insertErrors): removed
7781         * BufferView.[Ch] (showErrorList): added
7782         * buffer.C (runChkTeX):
7783         * converter.C (scanLog): call showErrorList instead of inserterrors
7784
7785 2003-05-13  André Pönitz  <poenitz@gmx.net>
7786
7787         * BufferView_pimpl.C:
7788         * buffer.C:
7789         * bufferview_func.C:
7790         * MenuBackend.C:
7791         * lyxfunc.C:
7792         * lyxrc.C:
7793         * tex-accent.C:
7794         * text3.C:
7795         * toc.C:
7796         * tabular_funcs.h: tostr() from its own header
7797
7798         * ParagraphParameters.C:
7799         * ToolbarBackend.C:
7800         * bufferparams.C:
7801         * format.C:
7802         * lyxlex_pimpl.C:
7803         * text3.C: STRCONV()
7804
7805 2003-05-12  André Pönitz  <poenitz@gmx.net>
7806
7807         * BufferView.C:
7808         * BufferView_pimpl.C:
7809         * CutAndPaste.C:
7810         * LaTeX.C:
7811         * LaTeXFeatures.C:
7812         * ParagraphParameters.C:
7813         * buffer.C:
7814         * bufferlist.C:
7815         * bufferparams.C:
7816         * bufferview_funcs.C:
7817         * converter.C:
7818         * counters.C:
7819         * debug.C:
7820         * exporter.C:
7821         * format.C:
7822         * importer.C:
7823         * lyx_cb.C:
7824         * lyx_main.C:
7825         * lyxfont.C:
7826         * lyxfunc.C:
7827         * lyxvc.C:
7828         * paragraph.C:
7829         * paragraph_funcs.C:
7830         * tabular.C:
7831         * tabular_funcs.C:
7832         * text2.C:
7833         * text3.C:  boost::format -> bformat  all over the place
7834
7835
7836 2003-05-09  André Pönitz  <poenitz@gmx.net>
7837
7838         * LColor.[Ch]: Pimpl the #include <map> away
7839
7840 2003-05-09  John Levon  <levon@movementarian.org>
7841
7842         * bufferlist.C: never remove emergency saves
7843
7844 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * Makefile.am: better lib building
7847
7848 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7851         instead.
7852         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7853         (simpleTeXSpecialChars): adjust
7854         (simpleTeXSpecialChars): adjust
7855         * paragraph.C (simpleTeXOnePar): adjust
7856         * buffer.C (makeLaTeXFile): adjust
7857
7858         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7859
7860         * text2.C (changeDepth): parlist cleanup
7861         (getColumnNearX): ditto
7862
7863         * rowpainter.C (getLabelFont): parlist cleanup
7864
7865         * bufferlist.C (newFile): parlist cleanup
7866
7867         * CutAndPaste.C (eraseSelection): parlist cleanup
7868
7869         * BufferView_pimpl.C (trackChanges): parlist cleanup
7870         (dispatch): ditto
7871
7872         * BufferView.C (lockInset): parlist cleanup.
7873         (ChangeInsets): ditto
7874
7875 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7876
7877         * CutAndPaste.h: Update file header.
7878
7879         * CutAndPaste.C: Update file header.
7880         Store the parts cut out of the Document in a limited_stack.
7881         (copySelection): adjust
7882         (pasteSelection): new function, takes the index in the limited stack.
7883         (nrOfParagraphs): adjust
7884         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7885         simplify error inset insertion.
7886         (checkPastePossible): adjust
7887
7888 2003-05-06  John Levon  <levon@movementarian.org>
7889
7890         * text2.C: don't cast wrap inset to float
7891
7892 2003-05-05  André Pönitz  <poenitz@gmx.net>
7893
7894         * iterator.C:
7895         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7896
7897         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7898           few naked Paragraph *.
7899
7900 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7901
7902         * bufferparams.C: Output warning if a document with missing
7903         TeX document class is loaded
7904         * exporter.C: Disable TeX exports if the document class is missing
7905         * lyxtextclass.C:
7906         * lyxtextclass.h:
7907         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7908         isTeXClassAvailable()
7909
7910 2003-05-03  John Levon  <levon@movementarian.org>
7911
7912         * BufferView.h:
7913         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7914         explicit cursor show/hide
7915
7916         * BufferView_pimpl.h:
7917         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7918         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7919
7920         * lyxfunc.C: hide cursor before dispatching.
7921
7922         * lyx_cb.C:
7923         * lyxfind.C:
7924         * text.C:
7925         * text3.C: remove explicit cursor hides
7926
7927 2003-05-02  André Pönitz  <poenitz@gmx.net>
7928
7929         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7930
7931         * undo_funcs.C:
7932         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7933           linked lists
7934
7935         * text2.C: tiny whitespace
7936
7937 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7938
7939         * undo_funcs.C: almost only ws changes.
7940
7941         * ParagraphList.C (splice): just return if pl is empty.
7942
7943 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7944
7945         * ParagraphList.C (splice): new function.
7946
7947         * CutAndPaste.C (pasteSelection): use it
7948
7949 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7950
7951         * CutAndPaste.C (pasteSelection): remove the last next and
7952         previous from this file.
7953
7954 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7955
7956         * CutAndPaste.C (pasteSelection): more clean up, user proper
7957         ParagraphList functions for pasteing.
7958
7959         * ParagraphList.C (insert): new function, three arg insert
7960
7961 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * ParagraphList.C (insert): new function, three arg insert
7964
7965         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7966         not on paragraphs.
7967
7968 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7971
7972 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7973
7974         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7975
7976 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7977
7978         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7979         (copySelection): clean up a bit.
7980         (pasteSelection): use make_pair
7981
7982         * ParagraphList.C (ParagraphList): implement copy constructor
7983         (operator=): implement, base on copy constructor.
7984         (assign): new func
7985
7986         * paragraph.C (erase): return a bool
7987
7988         * paragraph_pimpl.C (erasePos): remove function, move contents...
7989         (erase): ... here. Return a bool.
7990         (erase): call erase instead of erasePos.
7991
7992 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7993
7994         * ParagraphList.h: define PitPosPair
7995         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7996         ParagraphList, fix a bug on pasting multiple pars
7997         * text2.C: change interface to C&P
7998
7999 2003-04-30  André Pönitz  <poenitz@gmx.net>
8000
8001         * undo_func.C: revert part of yesterday's patch 2
8002
8003 2003-04-30  John Levon  <levon@movementarian.org>
8004
8005         * LColor.C: s/tabular/table/
8006
8007 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8008
8009         * text3.C (dispatch): do not convert iterator -> pointer
8010         * undo_funcs.C (setCursorParUndo): ditto
8011         * text_funcs.C (transposeChars): ditto
8012
8013         * text2.C (setLayout): ws changes only
8014
8015         * text.C (breakParagraph): do not convert iterator -> pointer
8016         (insertChar): ditto
8017         (acceptChange): ditto
8018         (rejectChange): ditto
8019         (changeCase): ditto
8020         (Delete): ditto
8021         (backspace): ditto
8022
8023         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8024         pointer
8025
8026 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8027
8028         * text3.C (gotoInset): YABG (yet another bad getChar)
8029
8030 2003-04-29  André Pönitz  <poenitz@gmx.net>
8031
8032         * paragraph.h: make operator= private unimplemented as long as
8033           it is unusable
8034
8035         * ParagraphList.C: whitespace
8036
8037         * paragraph.[Ch]:
8038         * paragraph_pimpl.[Ch]:
8039         * paragraph_funcs.C:
8040         * CutAndPaste.C:
8041         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8042
8043         * text2.C:
8044           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8045
8046 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8047
8048         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8049         * paragraph.[Ch] (erase):
8050         * paragraph_pimpl.[Ch] (erase): change return type and value
8051         * text2.C (cutSelection): some rework
8052
8053 2003-04-28  John Levon  <levon@movementarian.org>
8054
8055         * bufferlist.C: changes for unsaved changes dialog
8056
8057 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8058
8059         * bufferlist.C (newFile): set language (messages_) for new
8060         documents also.
8061
8062         * buffer.C (readFile): ws changes only.
8063
8064 2003-04-28  André Pönitz  <poenitz@gmx.net>
8065
8066         * undo_funcs.C:
8067         * lyxfunc.C:
8068         * buffer.[Ch]:
8069         * BufferView_pimpl.C:
8070         * BufferView.C: getParFromID related ParagraphList::iterator changes
8071
8072 2003-04-28  André Pönitz  <poenitz@gmx.net>
8073
8074         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8075           Changes
8076
8077 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8078
8079         * messages.C: remove one more localedir class variable.
8080
8081 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8082
8083         * messages.C (getLocaleDir): singleton generation function
8084         (Pimpl): use it.
8085         (Messages): add a default constructor.
8086
8087         * main.C (main): do not setup localedir here, do not call
8088         gettext_init.
8089
8090         * gettext.C (_): use it.
8091         (gettext_init): delete funciton
8092
8093 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * gettext.C (getLyXMessages): new singleton generating function.
8096
8097         * buffer.C (updateDocLang): adjust
8098
8099         * Makefile.am (messages.o): add target
8100         (main.o): remove target
8101
8102 2003-04-27  John Levon  <levon@movementarian.org>
8103
8104         * bufferlist.C:
8105         * lyx_cb.C:
8106         * lyxfunc.C:
8107         * lyxvc.C: specify cancel button in Alert::prompt
8108
8109 2003-04-26  John Levon  <levon@movementarian.org>
8110
8111         * text3.C:
8112         * lyxfunc.C:
8113         * lfuns.h:
8114         * LyXAction.C: add LFUN_INSET_SETTINGS
8115
8116         * lyxfunc.C: don't enable tabular-feature when there's
8117         just any locking inset
8118
8119 2003-04-26  John Levon  <levon@movementarian.org>
8120
8121         * bufferlist.C: re-add Cancel to buffer close question
8122
8123         * lyxfunc.C: fix import UI a bit
8124
8125 2003-04-25  John Levon  <levon@movementarian.org>
8126
8127         * gettext.C: remove the broken asserts for now
8128
8129 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * messages.C: make case where setlocale cannot comply work better.
8132
8133         * buffer.C (updateDocLang): new function
8134         (changeLanguage): use it
8135         (readFile): use it
8136
8137         * text2.C (setCounter): use B_ a bit.
8138
8139         * lyxlayout.C (Read): be sure to trim the label strings.
8140
8141         * messages.C (Messages): fix typo in comment
8142
8143         * buffer.C (readFile): set message_ after file is loaded.
8144         (makeDocBookFile): remove double return
8145         (changeLanguage): reset message_ upon language change.
8146         (B_): new func, use this to get translated buffer strings.
8147
8148         * main.C: add myself and Jean Marc as authors.
8149
8150 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * messages.[hC]: pimplify Messages, and three different pimpls to be
8153         used in different circumstances.
8154
8155         * gettext.[Ch]: change for use with new message code.
8156
8157 2003-04-24 André Pönitz <poenitz@gmx.net>
8158
8159         * factory.C: support for eqref
8160
8161 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * messages.[Ch]: add missing char
8164
8165         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8166
8167         * messages.[Ch]: New files
8168
8169 2003-04-18  John Levon  <levon@movementarian.org>
8170
8171         * BufferView.h:
8172         * BufferView.C:
8173         * BufferView_pimpl.C:
8174         * lfuns.h:
8175         * LyXAction.C:
8176         * lyxtext.h:
8177         * text2.C: remove layout-copy/paste (bug 778)
8178
8179 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8180
8181         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8182
8183 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8184
8185         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8186         if they succeed. Act accordingly.
8187
8188 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8189
8190         * text2.C (setCharFont): adjust
8191         (setCounter): adjust
8192         (insertStringAsLines): adjust
8193
8194         * text.C (leftMargin): adjust
8195         (setHeightOfRow): adjust
8196
8197         * rowpainter.C (paintFirst): adjust
8198         (paintLast): adjust
8199
8200         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8201         (outerHook): ditto
8202         (isFirstInSequence): ditto
8203         (getEndLabel): ditto
8204         (outerFont): adjust
8205
8206         * paragraph.C (getParLanguage): comment out some hard stuff.
8207
8208         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8209         (sgmlError): ditto
8210         (simpleDocBookOnePar): ditto
8211         (makeDocBookFile): use ParagraphList::iterator
8212
8213         * CutAndPaste.C (pasteSelection): adjust
8214
8215 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8216
8217         * text2.C (getFont): adjust
8218         (getLayoutFont): adjust
8219         (getLabelFont): adjust
8220
8221         * paragraph_funcs.C (TeXOnePar): adjust
8222
8223         * buffer.C (simpleLinuxDocOnePar): adjust
8224         (simpleDocBookOnePar): adjust
8225
8226         * CutAndPaste.C (pasteSelection): adjust
8227
8228         * BufferView.C (getEncoding): adjust
8229
8230         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8231
8232 2003-04-16  John Levon  <levon@movementarian.org>
8233
8234         * lyxfind.C: use parlist stuff for search/changes
8235
8236 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8237
8238         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8239
8240         * text2.C (deleteEmptyParagraphMechanism): adjust
8241
8242         * text2.[Ch] (ownerParagraph): delete func (both of them
8243
8244 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8247
8248 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8249
8250         * ParagraphList.C: prepare for NO_NEXT
8251
8252 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8253
8254         * text2.C (getFont): adjust
8255         (getLayoutFont): adjust
8256         (getLabelFont): adjust
8257
8258         * paragraph.C (getFont): adjust
8259         (getLabelFont): adjust
8260         (getLayoutFont): adjust
8261
8262         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8263
8264 2003-04-15  John Levon  <levon@movementarian.org>
8265
8266         From Angus Leeming
8267
8268         * lyx_main.C: handle Include in .ui files
8269
8270 2003-04-15  John Levon  <levon@movementarian.org>
8271
8272         * MenuBackend.C: make the doc files length shorter
8273
8274         * ToolbarBackend.h:
8275         * ToolbarBackend.C: handle toolbar placement flags,
8276         Minibuffer
8277
8278 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8281         adjust
8282
8283         * paragraph_funcs.C (TeXOnePar): adjust
8284
8285         * paragraph.C (getLabelFont): add outerfont arg, adjust
8286         (getLayoutFont): ditto
8287         (simpleTeXOnePar): adjust
8288
8289         * paragraph_pimpl.C (realizeFont): delete func
8290
8291 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8292
8293         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8294         row argument, constify cur argument.
8295
8296 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8297
8298         * text2.C (getFont): adjust
8299         (getLayoutFont): adjust
8300         (getLabelFont): adjust
8301
8302         * paragraph_funcs.C (TeXOnePar): adjust
8303         (outerFont): new func...
8304         (realizeFont): ...moved out from here, changed this to facilitate
8305         transition
8306
8307         * paragraph.C (getFont): take outerfont as arg, adjust
8308         (simpleTeXOnePar): add outerfont arg, adjust
8309
8310         * buffer.C (simpleLinuxDocOnePar): adjust
8311         (simpleDocBookOnePar): adjust
8312
8313         * CutAndPaste.C (pasteSelection): adjust
8314
8315         * BufferView.C (getEncoding): adjust
8316
8317 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8318
8319         * text2.C (setCharFont): adjust
8320         (setCounter): adjust
8321
8322         * text.C (leftMargin): adjust
8323         (setHeightOfRow): adjust
8324
8325         * rowpainter.C (paintFirst): adjust
8326         (paintLast): adjust
8327
8328         * paragraph_pimpl.C (realizeFont): adjust
8329
8330         * paragraph.C (isFirstInSequence): move from here...
8331         * paragraph_funcs.C (isFirstInSequence): ...to here
8332
8333         * paragraph.C (outerHook): move from here...
8334         * paragraph_funcs.C (outerHook): ...to here
8335
8336         * paragraph.C (depthHook): move from here...
8337         * paragraph_funcs.C (depthHook): ...to here
8338
8339         * paragraph.C (getEndLabel): move from here...
8340         * paragraph_funcs.C (getEndLabel): ...to here
8341
8342         * text2.C (realizeFont): move from here...
8343         * paragraph_funcs.C (realizeFont): ...to here
8344
8345 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8346
8347         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8348
8349 2003-04-14  Angus Leeming  <leeming@lyx.org>
8350
8351         * LColor.[Ch]: scrap LColor mathcursor.
8352
8353 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8354
8355         * lyxlex.[Ch] (text): delete function
8356         * trans.C (Load): adjust
8357         * paragraph_funcs.C (readParToken): adjust
8358
8359 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8360
8361         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8362         vector<char> instead of a char[].
8363
8364         * lyxlex_pimpl.C (getString): adjust
8365         (next): adjust
8366         (lex): use getString
8367         (eatLine): adjust
8368         (nextToken): adjust
8369
8370         * lyxlex.C (text): use pimpl_->getString()
8371         (getBool): ditto
8372         (findToken): ditto
8373
8374 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8377         (makeFontEntriesLayoutSpecific): temp var for par.size()
8378         (setLayout): temp var for ownerParagraphs().end()
8379         (fullRebreak): temp var for rows().end()
8380         (selectionAsString): temp var for boost::next(startpit), realize
8381         that the while really is a regular for loop.
8382         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8383         setCursor in one place.
8384         (setParagraph): temp vr for ownerParagraphs().end()
8385         (updateCounters): make the while loop a for loop
8386         (cutSelection): temp var for ownerParagraphs().end()
8387         (updateInset): make the do {} while() a regular for loop
8388         (getCursorX): use temp vars
8389         (setCurrentFont): use temp vars
8390         (getColumnNearX): use temp vars
8391
8392 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8393
8394         * text.C (transformChar): use temp var for getChar
8395         (computeBidiTables): use temp var for row->par()
8396         (fill): move temp vars for row->par() and pit->layout() earlier in
8397         the function.
8398         (labelFill): use temp var for row->par()
8399         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8400         asc and desc, realize that pit never changes and that firstpit is
8401         just a duplicate and not needed. Exchange rit->par() with pit in a
8402         lot of places.
8403         (breakAgain): use a temp var for boost::next(rit)
8404         (breakAgainOneRow): ditto
8405         (breakParagraph): use a temp var for rows().begin()
8406         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8407         (cursorRightOneWord): use temp var for cursor.par() and
8408         cursor.pos(), remove usage of tmpcursor.
8409         (cursorLeftOneWord): use temp var for cursor.par() and
8410         cursor.pos() only set cur at end of function.
8411
8412 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8413
8414         * text.C, text2.C: exchange all usage of Paragraph::next with
8415         boost::next(ParagraphList::iterator)
8416
8417         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8418
8419         * text2.C (cursorTop): simplify implementation
8420         (cursorBottom): ditto
8421         (setParagraph): use ParagraphList::iterator
8422         (setCurrentFont): adjust
8423         (getColumnNearX): adjust
8424         (cursorRight): adjust
8425         (cursorLeft): remove usage of Paragraph::previous
8426         (cursorUpParagraph): ditto
8427         (deleteEmptyParagraphMechanism): slight cleanup
8428
8429         * text.C (isBoundary): take a Paragraph const & instead of a
8430         pointer as arg.
8431         (addressBreakPoint): ditto
8432         (leftMargin): remove usage of Paragraph::previous.
8433         (setHeightOfRow): ditto
8434         (cursorLeftOneWord): ditto
8435         (selectNextWordToSpellcheck): ditto
8436         (Delete): ditto
8437         (backspace): ditto
8438         (breakParagraph): remove one usage of Paragraph::next
8439         (redoParagraph): ditto
8440         (acceptChange): ditto
8441         (insertChar): adjust
8442         (rowBreakPoint): adjust
8443
8444         * bufferview_funcs.C (toggleAndShow): adjust
8445
8446 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8447
8448         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8449         methods to access it.
8450         * lyxtext.h:
8451         * text.C: Added updateRowPositions to compute all row positions.
8452         Make top_y and getRowNearY() to use the cached y position
8453
8454 2003-04-11  John Levon  <levon@movementarian.org>
8455
8456         * text.C (rowBreakPoint): reintroduce the labelEnd
8457         checks, code copied from the row fill stuff. Deep voodoo.
8458
8459         * text.C (fill): add a comment and debugging for the
8460         next poor soul.
8461
8462 2003-04-11  John Levon  <levon@movementarian.org>
8463
8464         * text.C: make sure fullrow insets get wrapped to the next line,
8465         even when they're in a manual label
8466
8467 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * text2.C (insertParagraph): make it take ParagraphList::iterator
8470         as arg.
8471         (setLayout): make it return ParagraphList::iterator
8472         (redoParagraphs): ditto
8473         (setCounter): ditto
8474         (checkParagraph): ditto
8475
8476         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8477
8478         * text2.C: adjust several funcs.
8479         (realizeFont): take a ParagraphList::iterator as arg.
8480         (getLayoutFont): ditto
8481         (getLabelFont): ditto
8482         (setCharFont): ditto
8483
8484         * text.C: adjust several funcs.
8485
8486 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8487
8488         * text.C (selectNextWordToSpellcheck): don't accidentally
8489         skip insets
8490
8491 2003-04-10  John Levon  <levon@movementarian.org>
8492
8493         * ToolbarBackend.C (getIcon): special handling for
8494         LFUN_MATH_DELIM
8495
8496 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8497
8498         * text2.C (cursorRight): a getChar assert fixed
8499
8500 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8501
8502         * text2.C (getFont): change to take a ParagraphList::iterator
8503         instead of Paragraph*
8504         Adjust several functions.
8505
8506         * text.C (transformChar): change to take a ParagraphList::iterator
8507         instead of Paragraph*
8508         (singleWidth): ditto
8509         Adjust several functions.
8510
8511         * rowpainter.C: adjust several functions
8512         * rowpainter.h:store a ParagraphList::iterator and not a
8513         Paragraph&.
8514
8515
8516 2003-04-09  John Levon  <levon@movementarian.org>
8517
8518         * lyxfunc.C:
8519         * lfuns.h:
8520         * LyXAction.h:
8521         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8522         and the "help" bits as well
8523
8524 2003-04-09  John Levon  <levon@movementarian.org>
8525
8526         * ToolbarBackend.h:
8527         * ToolbarBackend.C: allow multiple toolbars
8528
8529 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8530
8531         * undo_funcs.C (setCursorParUndo): adjust
8532
8533         * text_funcs.C (transposeChars): adjust
8534
8535         * text3.C (gotoNextInset): adjust
8536         (dispatch): adjust
8537
8538         * text2.C (setLayout): adjust
8539         (changeDepth): adjust
8540         (setFont): adjust
8541         (redoParagraphs): adjust
8542         (selectionAsString): adjust
8543         (setParagraph): adjust
8544         (insertInset): adjust
8545         (cutSelection): adjust
8546         (copySelection): adjust
8547         (pasteSelection): adjust
8548         (insertStringAsLines): adjust
8549         (updateInset): adjust
8550         (setCursor): change to take a ParagraphList::iterator parameter
8551         (setCursorIntern): change to take a ParagraphList::iterator parameter
8552         (setCurrentFont): adjust
8553         (cursorLeft): adjust
8554         (cursorRight): adjust
8555         (deleteEmptyParagraphMechanism): adjust
8556
8557         * text.C (breakParagraph): adjust
8558         (insertChar): adjust
8559         (acceptChange): adjust
8560         (rejectChange): adjust
8561         (selectNextWordToSpellcheck): adjust
8562         (changeCase): adjust
8563         (Delete): adjust
8564         (backspace): adjust
8565
8566         * lyxfind.C (SearchForward): adjust
8567         (SearchBackward): adjust
8568         (nextChange): adjust
8569
8570         * lyxcursor.C (par): adjust
8571
8572         * lyxcursor.h: store a ParagraphList::iterator instead of a
8573         Paragraph*
8574
8575         * lyx_cb.C (getPossibleLabel): adjust
8576
8577         * bufferview_funcs.C (toggleAndShow): adjust
8578
8579         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8580         (dispatch): adjust
8581
8582         * BufferView.C (removeAutoInsets): adjust
8583         (lockedInsetStoreUndo): adjust
8584
8585 2003-04-09  John Levon  <levon@movementarian.org>
8586
8587         * ToolbarBackend.C: try icon without argument
8588         if with argument fails
8589
8590 2003-04-08  John Levon  <levon@movementarian.org>
8591
8592         * ToolbarBackend.h:
8593         * ToolbarBackend.C: add getIcon(), handle tooltip,
8594         and change from "Icon" to "Item".
8595
8596 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8597
8598         * BufferView.C (lockInset): another bad getchar crunched
8599
8600 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8601
8602         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8603         again)
8604
8605 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8606
8607         * lyxfind.C (searchForward, searchBackwards): bug 782
8608
8609 2003-04-07  John Levon  <levon@movementarian.org>
8610
8611         * paragraph.C: remove dead comment
8612
8613         * text.C: remove troublesome depth-fiddling code
8614         in leftMargin() and rightMargin() (bug 1017)
8615
8616         * text.C: fix breaking of rows in nested lists
8617         (bug 1004)
8618
8619         * text2.C (updateCounters): fix up depth values
8620         (bug 1013)
8621
8622 2003-04-07  John Levon  <levon@movementarian.org>
8623
8624         * BufferView_pimpl.C: clear message when doc finishes resizing,
8625         and after a mouse event
8626
8627         * lyxfunc.C: clear message after exiting inset
8628
8629 2003-04-07  John Levon  <levon@movementarian.org>
8630
8631         * bufferview_funcs.C: show math status not outside
8632         status in the statusbar
8633
8634 2003-04-07  John Levon  <levon@movementarian.org>
8635
8636         * lyxfunc.C: note status changed after a depth change
8637
8638 2003-04-04  Angus Leeming  <leeming@lyx.org>
8639
8640         * LaTeX.h: move AuxInfo operator==, != out of line.
8641         Remove LaTeX virtual destructor; nothing derives from it.
8642         Move operator()() out of public area and rename it startscript().
8643         Change protected for private.
8644
8645 2003-04-04  Angus Leeming  <leeming@lyx.org>
8646
8647         * lyxfunc.C:
8648         * text2.C: remove unneeded #includes.
8649
8650 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8651
8652         * text2.C (dEPM): fix the heigth of the next row
8653
8654 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8655
8656         * text.C: squashed an invalid getChar requester + some ws changes
8657
8658 2003-04-03  John Levon  <levon@movementarian.org>
8659
8660         * bufferview_funcs.h:
8661         * bufferview_funcs.C:
8662         * lyxfunc.C:
8663         * lyxtext.h:
8664         * text2.C: make getStatus work for the env depth lfuns
8665
8666 2003-04-03  John Levon  <levon@movementarian.org>
8667
8668         * bufferview_funcs.h:
8669         * bufferview_funcs.C:
8670         * lyxfunc.C:
8671         * lyxtext.h:
8672         * text2.C: parlistize decDepth(), by merging it with incDepth()
8673
8674 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8675
8676         * lyxrow.h: store a ParagraphList::iterator instead of a
8677         Paragraph* and adjust other class functions to suit.
8678
8679         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8680         above.
8681
8682 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8683
8684         * text2.C (setCursor): do not anchor to cursor row for the time being
8685
8686 2003-04-02  John Levon  <levon@movementarian.org>
8687
8688         * LyXAction.C:
8689         * lfuns.h:
8690         * lyx_main.C:
8691         * lyxtext.h:
8692         * text.C:
8693         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8694
8695 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8696
8697         * paragraph.h: make ParagraphList and ParagraphList::iterator
8698         friends of Paragraph.
8699
8700         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8701
8702         * ParagraphList.C: Use the private next_ and previous_ from
8703         Paragraph.
8704
8705 2003-04-01  John Levon  <levon@movementarian.org>
8706
8707         * ToolbarBackend.h:
8708         * ToolbarBackend.C:
8709         * Makefile.am: rename, remove defaults gunk
8710
8711         * MenuBackend.h:
8712         * MenuBackend.C: remove defaults gunk
8713
8714         * Languages.h:
8715         * Languages.C: remove defaults gunk
8716
8717         * lyx_main.h:
8718         * lyx_main.C: error out if files couldn't be found.
8719
8720 2003-04-02  John Levon  <levon@movementarian.org>
8721
8722         * text2.C: make incDepth() use parlist
8723
8724 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8725
8726         * undo_funcs.C (firstUndoParagraph): adjust
8727
8728         * text3.C (gotoInset): adjust
8729         (dispatch): adjust, and rewrite loop.
8730
8731         * text2.C (init): adjust, and rewrite loop.
8732         (redoParagraphs): adjust
8733         (updateInset): adjust, and rewrite loop.
8734         (deleteEmptyParagraphMechanism): adjust
8735
8736         * tabular.C (LyXTabular): adjust
8737         (SetMultiColumn): adjust
8738         (TeXRow): adjust
8739
8740         * lyxtext.[Ch] (ownerParagraph): delete function
8741         (ownerParagraphs): new function returns a ParagraphList.
8742
8743         * BufferView.C (removeAutoInsets): adjust
8744         (insertErrors): adjust
8745         (setCursorFromRow): adjust
8746
8747 2003-04-01  Angus Leeming  <leeming@lyx.org>
8748
8749         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8750         in the frontends.
8751
8752 2003-04-02  John Levon  <levon@movementarian.org>
8753
8754         * lyxtext.h:
8755         * text.C:
8756         * Makefile.am:
8757         * text_funcs.h:
8758         * text_funcs.C: make transposeChars a free function
8759
8760         * lyxrow_funcs.C: remove wrong comment
8761
8762 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * lyxtext.h: adjust
8765         * rowpainter.C: adjust
8766         * text.C: adjust
8767         * text2.C: adjust
8768         * text3.C: adjust
8769
8770         * lyxrow_funcs. [Ch]: new files
8771
8772         * lyxrow.[Ch]: remove next and previous pointers
8773         (next,previous): remove accessor functions
8774         (isParEnd): move to lyxrow_funcs
8775         (lastPos): move to lyxrow_funcs
8776         (nextRowIsAllInset): move to lyxrow_funcs
8777         (lastPrintablePos): move to lyxrow_funcs
8778         (numberOfSeparators): move to lyxrow_funcs
8779         (numberOfHfills): move to lyxrow_funcs
8780         (numberOfLabelHfills): move to lyxrow_funcs
8781         (hfillExpansion): move to lyxrow_funcs
8782
8783         * lyxfunc.C: adjust
8784
8785         * bufferview_funcs.C (toggleAndShow): adjust
8786
8787         * RowList.h: Remove class RowList from file leave just a
8788         std::list<Row>.
8789
8790         * RowList.C: delete file
8791
8792         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8793         and lyxrow_funcs.h
8794
8795 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8796
8797         * text3.C (cursorPrevious): adjust
8798         (cursorNext): adjust
8799         (dispatch): adjust
8800
8801         * text2.C (redoHeightOfParagraph): adjust
8802         (redoDrawingOfParagraph): adjust
8803         (setCursor): adjust
8804
8805         * text.C (breakParagraph): adjust
8806         (insertChar): adjust
8807         (backspace): adjust
8808
8809         * rowpainter.C (RowPainter): adjust
8810         (leftMargin): simplify and adjust
8811         (most rowpainter functions): adjust.
8812
8813         * rowpainter.h: store the row as RowList::iterator not as Row*
8814
8815         * lyxcursor.C (row): taka RowList::iterator as arg
8816         (irow): ditto
8817
8818         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8819         of Row*.
8820
8821 2003-04-01  Angus Leeming  <leeming@lyx.org>
8822
8823         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8824         stuff like bool Bool.
8825
8826 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8827
8828         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8829         rewrite a loop
8830
8831 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8832
8833         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8834         RowList::iterator.
8835
8836         * lyxtext.h (rows): drop one version and leve a const variant that
8837         returns a RowList::iterator.
8838
8839 2003-03-31  Angus Leeming  <leeming@lyx.org>
8840
8841         * text.C (fill): ensure that the signature is the same as that in the
8842         header file.
8843
8844 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8845
8846         * text2.C (redoParagraphs): adjust
8847         (updateCounters): adjust
8848         (checkParagraph): adjust
8849         (getColumnNearX): adjust and reformat a bit.
8850
8851         * text.C (top_y): adjust
8852         (workWidth): adjust
8853         (leftMargin): adjust
8854         (prepareToPrint): adjust
8855         (getRow): adjust
8856         (getRowNearY): adjust
8857
8858         * lyxtext.h: make rowlist_ mutable.
8859
8860         * RowList.h: add const_iterator
8861         * RowList.C: adjust for RowList::const_iterator.
8862
8863         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8864         adjust.
8865
8866 2003-03-31  John Levon  <levon@movementarian.org>
8867
8868         * lyxrc.h:
8869         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8870
8871         * lyx_main.C: set default fonts from using lyx_gui funcs
8872
8873         * exporter.C: pdf_mode moved from lyxrc
8874
8875         * lyx_cb.C:
8876         * lyxfunc.C: changes from above
8877
8878 2003-03-31  John Levon  <levon@movementarian.org>
8879
8880         * lyx_main.C: fix to the last fix
8881
8882 2003-03-31  John Levon  <levon@movementarian.org>
8883
8884         * bufferlist.C: "Load original" -> "Load Original"
8885
8886         * converter.C:
8887         * exporter.C:
8888         * importer.C:
8889         * lyx_main.C:
8890         * format.C: more Alert cleanups
8891
8892 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8893
8894         * text2.C (removeParagraph): make it take a RowList::iterator as
8895         arg, adjust.
8896         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8897         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8898
8899         * text.C (anchor_row): make it take a RowList::iterator as arg,
8900         adjust.
8901         (computeBidiTables): make it take a const reference to Row instead
8902         of Row pointer, adjust.
8903         (leftMargin): make it take a RowList::iterator as arg, adjust.
8904         (rowBreakPoint): adjust
8905         (breakAgainOneRow): make it take a RowList::iterator as arg,
8906         adjust.
8907         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8908
8909         * bufferview_funcs.C (toggleAndShow): adjust
8910
8911 2003-03-30  John Levon  <levon@movementarian.org>
8912
8913         * Makefile.am:
8914         * BoostFormat.h:
8915         * boost-inst.C: moved to support
8916
8917         * several files: changes as a result
8918
8919 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8920
8921         * text2.C (LyXText): adjust.
8922         (init): adjust
8923         (removeRow): make it take a RowList::iterator as arg, adjust.
8924         (fullRebreak): adjust
8925         (deleteEmptyParagraphMechanism): adjust
8926         (clearPaint): adjust
8927         (postPaint): adjust
8928
8929         * text.C (top_y): adjust
8930         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8931         (breakAgain): make it take a RowList::iterator as arg, adjust.
8932         (breakParagraph): adjust
8933         (insertChar): adjust
8934         (backspace): adjust
8935
8936         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8937         need_break_row, and refresh_row.
8938
8939         * text3.C (dispatch): adjust
8940
8941         * text2.C (checkParagraph): adjust
8942         (setCursor): adjust
8943         (setCursorFromCoordinates): adjust
8944
8945         * text.C (top_y): adjust
8946         (workWidth): adjust
8947         (getRow): make it return a RowList::iterator, adjust
8948         (getRowNearY): make it return a RowList::iterator, adjust
8949
8950         * text2.C (init): adjust
8951         (insertRow): remove function
8952         (insertParagraph): adjust
8953         (redoParagraphs): adjust
8954         (fullRebreak): adjust
8955         (updateCounters): adjust
8956
8957         * text.C (top_y): rewrite to use RowList iterators.
8958         (top_y): adjust
8959         (setHeightOfRow): rewrite to sue RowList iterators.
8960         (appendParagraph): adjust
8961         (breakAgain): adjust
8962         (breakAgainOneRow): adjust
8963         (breakParagraph): adjust
8964         (getRow): adjust
8965         (getRowNearY): adjust, and remove commented code.
8966
8967         * lyxtext.h (firstRow): delete function
8968         (lastRow): delete function
8969         (rows): new function (const and non-const versions.)
8970         (insertRow): delete function
8971
8972         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8973
8974 2003-03-29  John Levon  <levon@movementarian.org>
8975
8976         * BufferView_pimpl.C: always update scrollbar top
8977         because pasting text when we're anchored could mean we
8978         miss an update altogether
8979
8980 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8981
8982         * text2.C (init): use rowlist_.end() and not 0.
8983         (insertRow): change to take a RowList::iterator as arg, adjust
8984         for this.
8985         (insertParagraph): change to take a RowList::iterator as arg,
8986         adjust for this.
8987         (redoParagraphs): remove some debug msgs.
8988
8989         * text.C (appendParagraph): change to take a RowList::iterator
8990         arg, adjust for this.
8991         (breakAgain): add an assert
8992         (breakAgainOneRow): ditto
8993
8994 2003-03-29  John Levon  <levon@movementarian.org>
8995
8996         * text2.C: do not clear selection after inc/decDepth
8997         (bug 550)
8998
8999 2003-03-29  John Levon  <levon@movementarian.org>
9000
9001         * BufferView.C:
9002         * buffer.C: fix broken strerrors according to Lars
9003
9004 2003-03-29  John Levon  <levon@movementarian.org>
9005
9006         * converters.C: more Alert cleanups
9007
9008 2003-03-29  John Levon  <levon@movementarian.org>
9009
9010         * bufferview_funcs.C: remove pointless Alert
9011
9012         * buffer.C: fix confusing error message when
9013         a template is chmoded 000
9014
9015 2003-03-29  John Levon  <levon@movementarian.org>
9016
9017         * BufferView.C:
9018         * BufferView.h:
9019         * BufferView_pimpl.C: Alert fixes
9020
9021         * Makefile.am:
9022         * tabular.C:
9023         * tabular-old.C: remove unused table compat reading
9024
9025 2003-03-29  John Levon  <levon@movementarian.org>
9026
9027         * BufferView.C:
9028         * buffer.C:
9029         * lyx_cb.h:
9030         * lyx_cb.C: more Alert cleanups
9031
9032         * lyxfunc.C: don't allow chktex if not latex document
9033
9034 2003-03-29  John Levon  <levon@movementarian.org>
9035
9036         * lyx_cb.C:
9037         * BufferView.C:
9038         * buffer.C: warnings pushed down from support/,
9039         kill err_alert
9040
9041 2003-03-29  John Levon  <levon@movementarian.org>
9042
9043         * lyxfunc.C: safety check for C-r (revert)
9044
9045 2003-03-29  John Levon  <levon@movementarian.org>
9046
9047         * bufferlist.h:
9048         * bufferlist.C: several UI fixes using Alert::prompt.
9049         Fix the pointless looping quit code. Fix stupid revert
9050         behaviour (bug 938)
9051
9052         * lyxvc.h:
9053         * lyxvc.C:
9054         * lyx_cb.C: use Alert::prompt
9055
9056         * lyx_main.C: remove a silly question
9057
9058         * lyxfunc.C: remove a couple of silly questions,
9059         use Alert::prompt
9060
9061 2003-03-28  John Levon  <levon@movementarian.org>
9062
9063         * text2.C: fix bug 974 (End on empty par)
9064
9065 2003-03-28  John Levon  <levon@movementarian.org>
9066
9067         * BufferView_pimpl.C:
9068         * LyXAction.C:
9069         * lfuns.h: remove do-nothing math greek lfuns
9070
9071 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9072
9073         * lyxgluelength.h (isValidGlueLength): add default arg on
9074         parameter 2. Remove default arg from friend in class.
9075
9076         * lyxlength.h (isValidLength): add default arg on parameter 2.
9077         Remove default arg from friend in class.
9078
9079         * text2.C (LyXText): adjust, initialize refresh_row.
9080         (init): adjust
9081         (removeRow): adjust
9082         (insertRow): adjust
9083         (insertParagraph): adjst
9084         (redoParagraphs): adjust
9085         (fullRebreak): adjust
9086         (updateCounters): adjust
9087         (deleteEmptyParagraphMechanism): first attempt at fixing a
9088         crashing bug.
9089
9090         * text.C (top_y): adjust
9091         (setHeightOfRow): adjust
9092         (getRow): adjust
9093         (getRowNearY): adjust
9094
9095         * lyxtext.h: include RowList.h
9096         (~LyXText): not needed anymore, deleted.
9097         (firstRow): modify for RowList
9098         (lastRow): new function
9099         Delete firstrow and lastrow class variables, add a Rowlist
9100         rowlist_ class variable.
9101
9102         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9103         paragraph is empty.
9104
9105         * RowList.C (insert): fix case where it == begin().
9106
9107 2003-03-26  Angus Leeming  <leeming@lyx.org>
9108
9109         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9110         the thesaurus dialog.
9111
9112 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9113
9114         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9115
9116         * RowList.[Ch]: new files
9117
9118         * ParagraphList.C (erase): handle the case where it == begin
9119         correctly.
9120
9121 2003-03-25  John Levon  <levon@movementarian.org>
9122
9123         * Makefile.am:
9124         * aspell_local.h:
9125         * aspell.C: add new aspell support
9126
9127         * lyxrc.h:
9128         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9129         have it accessible.
9130
9131 2003-03-25  Angus Leeming  <leeming@lyx.org>
9132
9133         * lfuns.h:
9134         * LyXAction.C (init): new LFUN_INSET_INSERT.
9135
9136         * BufferView_pimpl.C (dispatch): split out part of the
9137         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9138
9139         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9140         LFUN_INSET_APPLY.
9141
9142 2003-03-25  Angus Leeming  <leeming@lyx.org>
9143
9144         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9145
9146 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9147
9148         * text2.C:
9149         * text3.C: remove useless row->height(0)
9150
9151 2003-03-25  John Levon  <levon@movementarian.org>
9152
9153         * lyxtext.h:
9154         * text2.C:
9155         * text3.C: rename the refreshing stuff to better names
9156
9157 2003-03-24  John Levon  <levon@movementarian.org>
9158
9159         * BufferView_pimpl.h:
9160         * BufferView_pimpl.C: update layout choice on a mouse
9161         press/release
9162
9163 2003-03-23  John Levon  <levon@movementarian.org>
9164
9165         * Makefile.am: fix commandtags.h reference
9166
9167 2003-03-22  John Levon  <levon@movementarian.org>
9168
9169         * BufferView_pimpl.C:
9170         * lyxtext.h:
9171         * rowpainter.C:
9172         * rowpainter.h:
9173         * text.C:
9174         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9175
9176 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9177
9178         * lyxtext.h:
9179         * text.C: take the rtl methods out of line
9180
9181 2003-03-21 André Pönitz <poenitz@gmx.net>
9182
9183         * metricsinfo.[Ch]: new files containing structures to be passed around
9184         during the two-phase-drawing...
9185
9186 2003-03-21 André Pönitz <poenitz@gmx.net>
9187
9188         * lyxtextclass.C: read 'environment' tag.
9189
9190 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9191
9192         * text2.C (removeRow): fix bug 964
9193
9194 2003-03-20  John Levon  <levon@movementarian.org>
9195
9196         * rowpainter.C:
9197         * text.C:
9198         * text2.C: paint cleanups. Inset::update() dropped font
9199         parameter
9200
9201 2003-03-19  John Levon  <levon@movementarian.org>
9202
9203         * lyxfunc.C: only fitcursor/markDirty if available()
9204
9205 2003-03-19  John Levon  <levon@movementarian.org>
9206
9207         * commandtags.h: rename to ...
9208
9209         * lfuns.h: ... this, and renumber / cleanup
9210
9211 2003-03-19  John Levon  <levon@movementarian.org>
9212
9213         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9214         fit the cursor after an lfun
9215
9216         * BufferView.h:
9217         * BufferView.C:
9218         * BufferView_pimpl.h:
9219         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9220
9221         * LyXAction.C: layout-character should have ReadOnly
9222
9223         * ParagraphParameters.C:
9224         * buffer.C:
9225         * bufferview_funcs.C:
9226         * lyx_cb.C:
9227         * lyxfind.C:
9228         * lyxtext.h:
9229         * text.C:
9230         * text2.C:
9231         * text3.C:
9232         * undo_funcs.C: changes from above
9233
9234 2003-03-18  John Levon  <levon@movementarian.org>
9235
9236         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9237         remove it from update()
9238
9239         * lyxfunc.C: update layout choice after an lfun
9240
9241         * text3.C: remove extra updateLayoutChoice()s
9242
9243 2003-03-18  John Levon  <levon@movementarian.org>
9244
9245         * text.C: top_y change means full repaint, fix
9246         a drawing bug with cursor movement
9247
9248 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9249
9250         * lyxtext.h:
9251         * text.C:
9252         * text2.C: anchor row on setCursor
9253
9254 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9255
9256         * lyxtext.h: remove almost all mutable keywords
9257         * text.C:
9258         * text2.C:
9259         * text3.C: remove const keywords accordingly
9260
9261 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9262
9263         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9264         anon namespace
9265         (TeXEnvironment): ditto
9266         (TeXOnePar): ditto
9267
9268 2003-03-17  John Levon  <levon@movementarian.org>
9269
9270         * text.C (rowBreakPoint): remove attempt to fix displayed
9271         math insets inside a manual label
9272
9273 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9274
9275         * lyxtext.h: remove BufferView* as first arg from almost all class
9276         functions.
9277         * other files: adjust.
9278
9279 2003-03-17  John Levon  <levon@movementarian.org>
9280
9281         * lyxtext.h:
9282         * undo_funcs.C:
9283         * text2.C: more paint cleanups
9284
9285         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9286
9287         * rowpainter.h:
9288         * rowpainter.C: remove "smart" background painting code
9289
9290 2003-03-16  John Levon  <levon@movementarian.org>
9291
9292         * lyxtext.h:
9293         * text.C:
9294         * text2.C:
9295         * text3.C: add helper functions for setting refresh_row/y
9296
9297 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9298
9299         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9300         newline inset which *can* get inserted in the pass_thru layouts.
9301         This is primarily for literate documents.
9302
9303 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9304
9305         * buffer.C: increment LYX_FORMAT to 223
9306
9307 2003-03-14 André Pönitz <poenitz@gmx.net>
9308
9309         * textclass.h: prepare for environment handling, ws changes
9310         * lyxlayout.C: read latexheader and latexfooter tags
9311
9312 2003-03-14  John Levon  <levon@movementarian.org>
9313
9314         * text2.C: rewrite ::status() a bit
9315
9316 2003-03-13  John Levon  <levon@movementarian.org>
9317
9318         * lyxtext.h: add some docs
9319
9320 2003-03-13  John Levon  <levon@movementarian.org>
9321
9322         * lyxtext.h:
9323         * text.C:
9324         * text2.C:
9325         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9326
9327 2003-03-13  John Levon  <levon@movementarian.org>
9328
9329         * text3.C: fix appendix redrawing
9330
9331 2003-03-13  John Levon  <levon@movementarian.org>
9332
9333         * text.C (setHeightOfRow):
9334         * rowpainter.h:
9335         * rowpainter.C: make appendix mark have the text
9336           "Appendix" so the user knows what it is
9337
9338         * LColor.h:
9339         * LColor.C: s/appendixline/appendix/ from above
9340
9341 2003-03-13  John Levon  <levon@movementarian.org>
9342
9343         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9344
9345         * text.C: fix a getChar(pos) bug properly
9346
9347 2003-03-13  Angus Leeming  <leeming@lyx.org>
9348
9349         * commandtags.h:
9350         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9351         Probably only temporary. Let's see how things pan out.
9352
9353         * BufferView.C (unlockInset):
9354         * BufferView_pimpl.C (fitCursor):
9355         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9356
9357         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9358         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9359
9360         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9361         new functions that convert ParagraphParameters to and from a string.
9362
9363         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9364         BufferView::Pimpl's dispatch.
9365         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9366
9367 2003-03-13 André Pönitz <poenitz@gmx.net>
9368
9369         * lyxfunc.C:
9370         * text3.C:
9371         * factory.C: make it aware of InsetEnv
9372
9373 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * text2.C (setCursor): never ask for one past last
9376         (setCursor): add some debugging messages.
9377
9378         * text.C (singleWidth): never ask for one past last
9379         (singleWidth): ditto
9380         (leftMargin): ditto
9381         (rightMargin): ditto
9382         (rowBreakPoint): ditto
9383         (setHeightOfRow): ditto
9384         (prepareToPrint): ditto
9385
9386         * rowpainter.C (paintBackground): never ask for one past last
9387         (paintText): never ask for one past last
9388
9389         * paragraph_pimpl.C (getChar): make the assert stricter, never
9390         allow the one past last pos to be taken
9391
9392         * paragraph.C (getChar): ws changes only
9393
9394         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9395         (numberOfSeparators): ditto
9396         (numberOfHfills): ditto
9397
9398 2003-03-12  John Levon  <levon@movementarian.org>
9399
9400         * author.h:
9401         * author.C:
9402         * bufferparams.h:
9403         * bufferparams.C:
9404         * paragraph_funcs.C: fix per-buffer authorlists
9405
9406 2003-03-12  John Levon  <levon@movementarian.org>
9407
9408         * text.C: fix newline in right address
9409
9410 2003-03-12  Angus Leeming  <leeming@lyx.org>
9411
9412         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9413         duplicate those in LyXFunc::dispatch.
9414
9415         * commandtags.h:
9416         * LyXAction.C:
9417         * ToolbarDefaults.C:
9418         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9419         Add LFUN_FONTFREE_UPDATE.
9420
9421         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9422         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9423
9424         * bufferview_func.[Ch]: several new functions to facilliate
9425         transfer of data to and from the character dialog.
9426
9427 2003-03-12  John Levon  <levon@movementarian.org>
9428
9429         * buffer.C:
9430         * paragraph.h:
9431         * paragraph.C:
9432         * paragraph_funcs.C:
9433         * paragraph_pimpl.C:
9434         * sgml.C:
9435         * tabular.C:
9436         * text.C:
9437         * text3.C: remove META_NEWLINE in favour of an inset
9438
9439         * rowpainter.h:
9440         * rowpainter.C: remove paintNewline (done by inset)
9441
9442 2003-03-12  John Levon  <levon@movementarian.org>
9443
9444         * paragraph_pimpl.C: complain about bad getChar()s
9445         for a while at least
9446
9447 2003-03-12  John Levon  <levon@movementarian.org>
9448
9449         * buffer.h:
9450         * buffer.C: move paragraph read into a separate function,
9451         a little renaming to reflect that.
9452
9453         * bufferparams.h:
9454         * bufferparams.C: remove the author_ids map, not necessary now
9455
9456         * factory.h:
9457         * factory.C: moved Buffer::readInset to here
9458
9459         * paragraph_funcs.h:
9460         * paragraph_funcs.C: readParagraph free function moved from
9461         buffer.C
9462
9463         * tabular.C: name change
9464
9465 2003-03-12  John Levon  <levon@movementarian.org>
9466
9467         * buffer.C:
9468         * ParagraphParameters.C: move par params input to
9469         a read() method
9470
9471         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9472         behave like a normal read from the stream wrt reading
9473         a line vs. a \\token
9474
9475 2003-03-12  John Levon  <levon@movementarian.org>
9476
9477         * paragraph.C:
9478         * ParagraphParameters.h:
9479         * ParagraphParameters.C: move output code to a
9480         ::write() method
9481
9482 2003-03-12  John Levon  <levon@movementarian.org>
9483
9484         * BufferView.C (insertLyXFile):
9485         * buffer.h:
9486         * buffer.C:
9487         * tabular.C: use a parlist iterator for creating the
9488           document.
9489
9490 2003-03-12  John Levon  <levon@movementarian.org>
9491
9492         * buffer.C: make current_change static local not
9493           static file-scope
9494
9495 2003-03-12  John Levon  <levon@movementarian.org>
9496
9497         * buffer.C: fix insertStringAsLines for change tracking
9498
9499 2003-03-12  John Levon  <levon@movementarian.org>
9500
9501         * BufferView.C:
9502         * tabular.C:
9503         * buffer.h:
9504         * buffer.C:
9505         * bufferparams.h:
9506         * bufferparams.C: move author list into params. Rename some
9507           functions. Move the header reading into a separate token
9508           loop. Move the header token reading into BufferParams.
9509
9510 2003-03-12  John Levon  <levon@movementarian.org>
9511
9512         * changes.C: put debug inside lyxerr.debugging() checks
9513
9514 2003-03-11 André Pönitz <poenitz@gmx.net>
9515
9516         * factory.C: make it aware of InsetHFill
9517
9518 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9519
9520         * buffer.C (latexParagraphs): move function from here...
9521         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9522         args.
9523
9524 2003-03-10  Angus Leeming  <leeming@lyx.org>
9525
9526         * LyXAction.C (init): fix bug in poplating array with multiple entries
9527         with the same LFUN (spotted by JMarc).
9528
9529 2003-03-10  John Levon  <levon@movementarian.org>
9530
9531         * text.C:
9532         * text2.C: move getColumnNearX() near its
9533         only call site
9534
9535 2003-03-10  John Levon  <levon@movementarian.org>
9536
9537         * text.C: fix break before a minipage
9538
9539 2003-03-10  John Levon  <levon@movementarian.org>
9540
9541         * text.C: fix the last commit
9542
9543 2003-03-09  John Levon  <levon@movementarian.org>
9544
9545         * lyxtext.h:
9546         * text.C:
9547         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9548         bug 365 (don't break before insets unless needed). Don't
9549         return a value > last under any circumstances.
9550
9551 2003-03-09  Angus Leeming  <leeming@lyx.org>
9552
9553         * BufferView_pimpl.C (trackChanges, dispatch): call
9554         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9555
9556 2003-03-09  Angus Leeming  <leeming@lyx.org>
9557
9558         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9559         than Dialogs::showAboutlyx().
9560
9561 2003-03-09  Angus Leeming  <leeming@lyx.org>
9562
9563         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9564         than Dialogs::showTabularCreate().
9565
9566 2003-03-09  John Levon  <levon@movementarian.org>
9567
9568         * lyxtext.h:
9569         * text.C:
9570         * text2.C: 3rd arg to nextBreakPoint was always the same.
9571           Use references.
9572
9573 2003-03-08  John Levon  <levon@movementarian.org>
9574
9575         * lyxrow.C:
9576         * paragraph.C:
9577         * paragraph.h:
9578         * rowpainter.C:
9579         * text.C:
9580         * text2.C: Remove the "main" bit from the "main body"
9581           notion.
9582
9583 2003-03-08  John Levon  <levon@movementarian.org>
9584
9585         * text.C (leftMargin): The left margin of an empty
9586         manual label paragraph should not include the label width
9587         string length.
9588
9589         * text.C (prepareToPrint): don't attempt to measure hfills
9590         for empty manual label paragraphs - the answer should be 0
9591
9592 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9593
9594         * CutAndPaste.C: remove commented code and reindent.
9595
9596 2003-03-08  John Levon  <levon@movementarian.org>
9597
9598         * lyxfunc.h:
9599         * lyxfunc.C: move reloadBuffer()
9600
9601         * BufferView.h:
9602         * BufferView.C: to here
9603
9604         * lyxvc.C: add comment
9605
9606         * vc-backend.h:
9607         * vc-backend.C: call bv->reload() to avoid
9608           getStatus() check on MENURELOAD
9609
9610 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9611
9612         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9613         to an old format .dep file.
9614
9615 2003-03-07  Angus Leeming  <leeming@lyx.org>
9616
9617         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9618         when the LFUN_MOUSE_RELEASE should have been handled by
9619         inset->localDispatch.
9620
9621 2003-03-07  Angus Leeming  <leeming@lyx.org>
9622
9623         * BufferView_pimpl.C (dispatch):
9624         * LyXAction.C (init):
9625         * ToolbarDefaults.C (init):
9626         * commandtags.h:
9627         * lyxfunc.C (getStatus):
9628         remove LFUN_INSET_GRAPHICS.
9629
9630         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9631
9632 2003-03-07  Angus Leeming  <leeming@lyx.org>
9633
9634         * commandtags.h:
9635         * LyXAction.C (init):
9636         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9637
9638         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9639
9640         * commandtags.h:
9641         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9642
9643         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9644         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9645
9646 2003-03-07  Angus Leeming  <leeming@lyx.org>
9647
9648         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9649         remove "ert".
9650
9651 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9652
9653         * ParagraphList.C (front): new function
9654         (back): implement
9655
9656 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9657
9658         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9659         and top_row_offset_. removed var first_y.
9660         * text.C (top_y):
9661         * text2.C (LyXText, removeRow):
9662         * text3.C:
9663         * BufferView_pimpl.C:
9664         use these methods instead of using first_y
9665
9666 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9667
9668         * text2.C (pasteSelection): adjust for checkPastePossible
9669
9670         * CutAndPaste.C: remove Paragraph * buf and replace with
9671         ParagraphList paragraphs.
9672         (DeleteBuffer): delete
9673         (cutSelection): change the tc type to textclass_type
9674         (copySelection): change the tc type to textclass_type
9675         (copySelection): adjust for ParagraphList
9676         (pasteSelection): change the tc type to textclass_type
9677         (pasteSelection): adjust for Paragraphlist
9678         (nrOfParagraphs): simplify for ParagraphList
9679         (checkPastePossible): simplify for ParagraphList
9680         (checkPastePossible): remove unused arg
9681
9682         * ParagraphList.C (insert): handle the case where there are no
9683         paragraphs yet.
9684
9685         * CutAndPaste.h: make CutAndPaste a namespace.
9686
9687         * text3.C (dispatch): adjust
9688
9689         * text.C (breakParagraph): add a ParagraphList as arg
9690
9691         * paragraph_funcs.C (breakParagraph): change to take a
9692         BufferParams and a ParagraphList as args.
9693         (breakParagraphConservative): ditto
9694         (mergeParagraph): ditto
9695         (TeXDeeper): add a ParagraphList arg
9696         (TeXEnvironment): ditto
9697         (TeXOnePar): ditto
9698
9699         * buffer.C (readLyXformat2): adjust
9700         (insertStringAsLines): adjust
9701         (latexParagraphs): adjust
9702
9703         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9704         (cutSelection): adjust
9705         (pasteSelection): adjust
9706
9707         * BufferView_pimpl.C (insertInset): adjust
9708
9709 2003-03-05  Angus Leeming  <leeming@lyx.org>
9710
9711         * commandtags.h:
9712         * LyXAction.C (init):
9713         * BufferView_pimpl.C (dispatch):
9714         * lyxfunc.C (getStatus):
9715         remove LFUN_CHILD_INSERT.
9716
9717         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9718
9719 2003-03-05  Angus Leeming  <leeming@lyx.org>
9720
9721         * commandtags.h:
9722         * LyXAction.C (init):
9723         * src/factory.C (createInset):
9724         * lyxfunc.C (getStatus):
9725         * text3.C (dispatch):
9726         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9727
9728         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9729
9730 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9731
9732         * ParagraphList.C (insert): handle insert right before end()
9733         (erase): fix cases where it can be first or last paragraph.
9734
9735 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9736
9737         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9738         Paragraph::next and Paragraph::previous
9739         (TeXOnePar): ditto
9740
9741         * text.C (breakParagraph): adjust
9742
9743         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9744         BufferParams& as arg.
9745         (breakParagraph): use ParagraphList::insert
9746         (breakParagraphConservative): take a Buffer* instead of a
9747         BufferParams& as arg.
9748         (breakParagraphConservative): use ParagraphList::insert.
9749
9750         * buffer.C (insertStringAsLines): un-const it
9751         (insertStringAsLines): adjust
9752
9753         * ParagraphList.C (insert): new function
9754
9755         * CutAndPaste.C (pasteSelection): adjust
9756
9757         * text.C (backspace): adjust
9758
9759         * tabular.C (SetMultiColumn): adjust
9760
9761         * CutAndPaste.C (cutSelection): adjust
9762         (pasteSelection): adjust
9763
9764         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9765         Buffer const * as arg
9766
9767         * ParagraphList.C (erase): new function
9768         * paragraph_funcs.C (mergeParagraph): use it
9769         (mergeParagraph): make it take a Buffer* instead of a
9770         BufferParams* as arg
9771
9772         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9773         as arg
9774         (breakParagraphConservative): ditto
9775
9776         * paragraph.h: remove the breakParagraph friend
9777
9778         * paragraph.C (eraseIntern): new function
9779         (setChange): new function
9780
9781         * paragraph_funcs.C (mergeParagraph): make it take a
9782         ParagraphList::iterator instead of a Paragraph *, adjust
9783         accordingly.
9784
9785         * paragraph.h: move an #endif so that the change tracking stuff
9786         also works in the NO_NEXT case.
9787
9788 2003-03-04  Angus Leeming  <leeming@lyx.org>
9789
9790         * commandtags.h:
9791         * LyXAction.C: new LFUN_INSET_MODIFY.
9792
9793         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9794         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9795
9796 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9797
9798         * several files: ws changes only
9799
9800         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9801         (TeXEnvironment): ditto
9802         (TeXDeeper): ditto
9803
9804         * buffer.C (makeLaTeXFile): adjust
9805         (latexParagraphs): make it take ParagraphList::iterator as args
9806
9807 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9808
9809         * buffer.C (latexParagraphs): adjust
9810
9811         * paragraph.C (TeXOnePar): move function...
9812         (optArgInset): move function...
9813         (TeXEnvironment): move function...
9814         * paragraph_pimpl.C (TeXDeeper): move function...
9815         * paragraph_funcs.C: ...here
9816
9817         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9818
9819 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9820
9821         * buffer.C (readInset): remove compability code for old Figure and
9822         InsetInfo insets
9823
9824 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9825
9826         * buffer.C: ws changes
9827         (readInset):
9828
9829         * BufferView_pimpl.C: ditto
9830         * author.C: ditto
9831         * buffer.h: ditto
9832         * bufferlist.h: ditto
9833         * changes.h: ditto
9834         * lyxfunc.C: ditto
9835
9836 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9837
9838         * converter.[Ch]: split into itself +
9839         * graph.[Ch]
9840         * format.[Ch]
9841         * Makefile.am: += graph.[Ch] + format.[Ch]
9842         * MenuBackend.C
9843         * buffer.C
9844         * exporter.C
9845         * importer.C
9846         * lyx_main.C
9847         * lyxfunc.C
9848         * lyxrc.C: added #include "format.h"
9849
9850 2003-02-27  Angus Leeming  <leeming@lyx.org>
9851
9852         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9853           a label.
9854
9855         * factory.C (createInset): add "label" to the factory.
9856
9857         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9858           string and do no more.
9859
9860 2003-02-27  Angus Leeming  <leeming@lyx.org>
9861
9862         * commandtags.h:
9863         * LyXAction.C (init):
9864         * factory.C (createInset):
9865         * BufferView_pimpl.C (dispatch):
9866           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9867
9868         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9869
9870         * lyxfunc.C (dispatch):
9871         * text3.C (dispatch): pass name to params2string.
9872
9873 2003-02-26  Angus Leeming  <leeming@lyx.org>
9874
9875         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9876           blocks together.
9877           Rearrange the ~includes. Strip out the unnecessary ones.
9878
9879         * factory.C (createInset): reformat.
9880           create new insets for the various LFUN_XYZ_APPLY lfuns.
9881
9882 2003-02-26  John Levon  <levon@movementarian.org>
9883
9884         * lyxrow.h:
9885         * lyxrow.C: add isParStart,isParEnd helpers
9886
9887         * paragraph.h: make isInserted/DeletedText take refs
9888
9889         * paragraph_funcs.h:
9890         * paragraph_funcs.C: remove #if 0'd code
9891
9892         * lyxtext.h:
9893         * text3.C:
9894         * text2.C:
9895         * text.C: use lyxrow helpers above.
9896           Move draw and paint routines to RowPainter.
9897           Make several methods use refs not pointers.
9898           Make backgroundColor() const.
9899           Add markChangeInDraw(), isInInset().
9900           Merge changeRegionCase into changeCase.
9901           Make workWidth() shouldn't-happen code into an Assert.
9902
9903         * rowpainter.h:
9904         * rowpainter.C: new class for painting a row.
9905
9906         * vspace.h:
9907         * vspace.C: make inPixels take a ref
9908
9909 2003-02-26  Angus Leeming  <leeming@lyx.org>
9910
9911         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9912         LFUN_REF_APPLY.
9913
9914 2003-02-25  John Levon  <levon@movementarian.org>
9915
9916         * ispell.C: give the forked command a more accurate name
9917
9918 2003-02-22  John Levon  <levon@movementarian.org>
9919
9920         * toc.h:
9921         * toc.C: make TocItem store an id not a Paragraph *
9922           (bug #913)
9923
9924 2003-02-21  Angus Leeming  <leeming@lyx.org>
9925
9926         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9927           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9928           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9929           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9930           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9931           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9932
9933         * BufferView_pimpl.C (dispatch):
9934         * LyXAction.C (init):
9935         * factory.C (createInset):
9936         * lyxfunc.C (getStatus, dispatch):
9937         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9938
9939 2003-02-21  Angus Leeming  <leeming@lyx.org>
9940
9941         * BufferView_pimpl.C (MenuInsertLyXFile):
9942         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9943         * lyxfunc.C (menuNew, open, doImport):
9944           no longer pass a LyXView & to fileDlg.
9945
9946 2003-02-21  Angus Leeming  <leeming@lyx.org>
9947
9948         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9949         * LyXAction.C: change, BIBKEY to BIBITEM.
9950         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9951         Change InsetBibKey to InsetBibitem.
9952         Change BIBKEY_CODE to BIBITEM_CODE.
9953         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9954         * factory.C: replace insetbib.h with insetbibitem.h.
9955         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9956         * paragraph.C: replace insetbib.h with insetbibitem.h.
9957         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9958         Change bibkey() to bibitem().
9959         * text.C: remove insetbib.h.
9960         * text2.C: replace insetbib.h with insetbibitem.h.
9961         change bibkey() to bibitem().
9962         * text3.C: remove insetbib.h.
9963         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9964
9965 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9966
9967         * lyxrc.C (output): enclose user email in quotes (in case there are
9968         several words)
9969
9970 2003-02-18  John Levon  <levon@movementarian.org>
9971
9972         * buffer.h: add std::
9973
9974 2003-02-17  John Levon  <levon@movementarian.org>
9975
9976         * SpellBase.h:
9977         * ispell.h:
9978         * ispell.C:
9979         * pspell.h:
9980         * pspell.C: reworking. Especially in ispell, a large
9981           number of clean ups and bug fixes.
9982
9983         * lyxfunc.C: fix revert to behave sensibly
9984
9985 2003-02-17 André Pönitz <poenitz@gmx.net>
9986
9987         * LyXAction.C:
9988         * commandtags.h: new LFUN_INSERT_BIBKEY
9989
9990         * layout.h:
9991         * lyxlayout.C:
9992         * buffer.C:
9993         * factory.C:
9994         * text.C:
9995         * text2.C:
9996         * text3.C:
9997         * paragraph.[Ch]:
9998         * paragraph_func.C: remove special bibkey handling
9999
10000 2003-02-17  John Levon  <levon@movementarian.org>
10001
10002         * text.C (Delete): fix case where delete at the end of
10003           the very first paragraph would not merge the pars
10004
10005 2003-02-17  John Levon  <levon@movementarian.org>
10006
10007         * lyxrow.C: fix lastPrintablePos()
10008
10009 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10010
10011         * bufferparams.C (writeLaTeX): add a std:here
10012
10013         * buffer.C: and remove a using directive there
10014
10015 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10016
10017         * buffer.C (makeLaTeXFile): move the code that generates the
10018           preamble...
10019
10020         * bufferparams.C (writeLaTeX): ... in this new method
10021
10022         * LaTeXFeatures.C (getEncodingSet): make const
10023           (getLanguages): make const
10024
10025         * MenuBackend.C (binding): returns the binding associated to this
10026           action
10027           (add): sets the status of each item by calling getStatus. Adds
10028           some intelligence.
10029           (read): add support for OptSubMenu
10030           (expand): remove extra separator at the end of expanded menu
10031
10032 2003-02-15  John Levon  <levon@movementarian.org>
10033
10034         * BufferView.C:
10035         * BufferView_pimpl.C:
10036         * bufferlist.h:
10037         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10038           inset code that had no actual effect. Remove unneeded status
10039           code.
10040
10041 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10042
10043         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10044           in preamble
10045
10046 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10047
10048         * text.C (drawLengthMarker): also draw an arrow marker for
10049           symbolic lengths (medskip...)
10050
10051 2003-02-14  John Levon  <levon@movementarian.org>
10052
10053         * tabular.h:
10054         * tabular.C: better method names
10055
10056 2003-02-14  John Levon  <levon@movementarian.org>
10057
10058         * BufferView_pimpl.C:
10059         * bufferlist.C:
10060         * buffer.C:
10061         * converter.C:
10062         * lyx_cb.C:
10063         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10064           it's a more accurate name. Remove some pointless uses.
10065
10066 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10067
10068         * text2.C (LyXText): change order of initilizers to shut off
10069           warnings
10070
10071 2003-02-14  John Levon  <levon@movementarian.org>
10072
10073         * buffer.C: use ParIterator for getParFromID()
10074
10075         * paragraph.h:
10076         * paragraph.C:
10077         * paragraph_pimpl.h:
10078         * paragraph_pimpl.C: remove unused getParFromID()
10079
10080 2003-02-14  John Levon  <levon@movementarian.org>
10081
10082         * buffer.C: remove some very old #if 0'd parse code
10083
10084 2003-02-13  John Levon  <levon@movementarian.org>
10085
10086         * text.h:
10087         * text.C:
10088         * text2.C: move hfillExpansion(), numberOfSeparators(),
10089           rowLast(), rowLastPrintable(), numberofHfills(),
10090           numberOfLabelHfills() ...
10091
10092         * lyxrow.h:
10093         * lyxrow.C: ... to member functions here.
10094
10095         * paragraph.h:
10096         * paragraph.C:
10097         * lyxtext.h:
10098         * text.C: remove LyXText::beginningOfMainBody(), and call
10099           p->beginningOfMainBody() directly. Move the check for
10100           LABEL_MANUAL into the latter.
10101
10102         * text.h:
10103         * text.C:
10104         * text2.C:
10105         * vspace.C:
10106         * BufferView.h:
10107         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10108
10109         * text.h:
10110         * text.C:
10111         * text2.C:
10112         * text3.C:
10113         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10114           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10115
10116 2003-02-13  John Levon  <levon@movementarian.org>
10117
10118         * CutAndPaste.C: remove debug
10119
10120 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10121
10122         * paragraph.C (asString): remove two unused variables
10123
10124         * lyxtextclass.C (readTitleType):
10125           (Read):
10126           (LyXTextClass): handle new members titletype_ and titlename_
10127
10128         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10129
10130 2003-02-09  John Levon  <levon@movementarian.org>
10131
10132         * buffer.h:
10133         * buffer.C: replace hand-coded list with a map for the dep clean
10134
10135 2003-02-08  John Levon  <levon@movementarian.org>
10136
10137         * LaTeX.C: consolidate code into showRunMessage() helper
10138
10139 2003-02-08  John Levon  <levon@movementarian.org>
10140
10141         * lyxfind.C:
10142         * lyxtext.h:
10143         * text2.C:
10144         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10145           and pass the size in explicitly
10146
10147         * BufferView_pimpl.h:
10148         * BufferView_pimpl.C:
10149         * BufferView.h:
10150         * BufferView.C: add getCurrentChange()
10151
10152         * BufferView_pimpl.h:
10153         * BufferView_pimpl.C: handle change lfuns
10154
10155         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10156           for changes. Mark pasted paragraphs as new.
10157
10158         * support/lyxtime.h:
10159         * support/lyxtime.C:
10160         * DepTable.C: abstract time_t as lyx::time_type
10161
10162         * LColor.h:
10163         * LColor.C: add colours for new text, deleted text, changebars
10164
10165         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10166           package use "usenames" option.
10167
10168         * commandtags.h:
10169         * lyxfunc.C:
10170         * LyXAction.C: add change lfuns
10171
10172         * Makefile.am:
10173         * author.h:
10174         * author.C: author handling
10175
10176         * buffer.h:
10177         * buffer.C: add a per-buffer author list, with first entry as
10178           current author. Handle new .lyx tokens for change tracking. Output
10179           author list to .lyx file. Output dvipost stuff to .tex preamble.
10180           Bump lyx format to 222.
10181
10182         * bufferlist.h:
10183         * bufferlist.C: add setCurrentAuthor() to reset current author details
10184           in all buffers.
10185
10186         * bufferparams.h:
10187         * bufferparams.C: add param for tracking
10188
10189         * bufferview_funcs.C: output change info in minibuffer
10190
10191         * Makefile.am:
10192         * changes.h:
10193         * changes.C: add change-tracking structure
10194
10195         * debug.h:
10196         * debug.C: add CHANGES debug flag
10197
10198         * lyxfind.h:
10199         * lyxfind.C: add code for finding the next change piece
10200
10201         * lyxrc.h:
10202         * lyxrc.C: add user_name and user_email
10203
10204         * lyxrow.h:
10205         * lyxrow.C: add a metric for the top of the text line
10206
10207         * lyxtext.h:
10208         * text.C: implement accept/rejectChange()
10209
10210         * lyxtext.h:
10211         * text.C: paint changebars. Paint new/deleted text in the chosen
10212         colours. Strike through deleted text.
10213
10214         * paragraph.h:
10215         * paragraph.C:
10216         * paragraph_pimpl.h:
10217         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10218           in the current change to the insert functions. Rework erase to
10219           mark text as deleted, adding an eraseIntern() and a range-based
10220           erase(). Implement per-paragraph change lookup and
10221           accept/reject.
10222
10223         * paragraph_funcs.C: Fixup paste for change tracking.
10224
10225         * tabular.C: mark added row/columns as new.
10226
10227         * text.C: fix rowLast() to never return -1. Don't allow
10228           spellchecking of deleted text. Track transpose changes. Don't
10229           allow paragraph break or merge where appropriate.
10230
10231         * text2.C: leave cursor at end of selection after a cut.
10232
10233 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10234
10235         * text.C (getLengthMarkerHeight):
10236         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10237         visible on screen too.
10238
10239 2003-02-07  John Levon  <levon@movementarian.org>
10240
10241         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10242
10243 2003-02-05  Angus Leeming  <leeming@lyx.org>
10244
10245         * lyxserver.C (read_ready): revert my patch of 11 September last year
10246         as it sends PC cpu through the roof. Presumably this means that
10247         the lyxserver will no longer run on an Alpha...
10248
10249 2003-01-30  Angus Leeming  <leeming@lyx.org>
10250
10251         * factory.C (createInset): create an InsetCommandParam of type "index"
10252         and use it to 'do the right thing'.
10253
10254         * text2.C (getStringToIndex): ensure that cursor position is always
10255         reset to the reset_cursor position.
10256
10257 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10258
10259         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10260         disabled.
10261
10262 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10263
10264         * bufferview.C:
10265         * lyxcb.C:
10266         * lyxfunc.C: Output messages with identical spelling, punctuation,
10267         and spaces
10268
10269 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10270
10271         * MenuBackend.C (expandFormats): List only viewable export formats
10272         in "View" menu
10273
10274         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10275         message
10276
10277         * lyxfunc.C (getStatus): Make sure that formats other than
10278         "fax" can also be disabled
10279
10280 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10281
10282         * text3.C (dispatch): put the lfuns that insert insets in 3
10283         groups, and call doInsertInset with appropriate arguments.
10284         (doInsertInset): new function, that creates an inset and inserts
10285         it according to some boolean parameters.
10286
10287 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10288
10289         * buffer.C (readFile): remember to pass on 'par' when calling
10290         readFile recursively.
10291
10292 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10293
10294         * MenuBackend.C (expandFormats): add "..." to import formats.
10295
10296 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10297
10298         * paragraph.C (asString): Remove XForms RTL hacks.
10299
10300 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10301         * buffer.C: fix typo
10302
10303 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10304
10305         * Makefile.am (LIBS): delete var
10306         (lyx_LDADD): add @LIBS@ here instead.
10307
10308 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10309
10310         * Clarify the meaning of "wheel mouse jump"
10311
10312 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10313
10314         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10315         tabular in a float
10316
10317 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10318
10319         * importer.C (Loaders): do not preallocate 3 elements in the
10320         vector, since one ends up with 6 elements otherwise
10321
10322 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10323
10324         * DepTable.C (write): write the file name as last element of the
10325         .dep file (because it may contain spaces)
10326         (read): read info in the right order
10327
10328 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10329
10330         * paragraph_pimpl.C (simpleTeXBlanks):
10331         (simpleTeXSpecialChars):
10332         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10333
10334         * tabular.C (latex): add some missing case statements. Reindent.
10335
10336         * MenuBackend.C (expandToc): remove unused variable.
10337
10338 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10339
10340         * LColor.C:
10341         * LaTeX.C:
10342         * LyXAction.C:
10343         * MenuBackend.C:
10344         * buffer.C:
10345         * exporter.C:
10346         * lyxfunc.C:
10347         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10348         and the like.
10349
10350 2003-01-05  John Levon  <levon@movementarian.org>
10351
10352         * BufferView.h:
10353         * BufferView.C: add getEncoding()
10354
10355         * kbsequence.h:
10356         * kbsequence.C: do not store last keypress
10357
10358         * lyxfunc.h:
10359         * lyxfunc.C: store last keypress here instead. Pass encoding
10360           to getISOEncoded()
10361
10362 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10363
10364         * lyx_main.C (init): remove annoying error message when following
10365         symbolic links (bug #780)
10366
10367 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10368
10369         * text.C (insertChar):
10370         * lyxrc.C (getDescription): remove extra spaces
10371
10372 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10373
10374         * lyxrc.C (getDescription): remove extra spaces
10375
10376 2002-12-20  John Levon  <levon@movementarian.org>
10377
10378         * text3.C: hack fix for page up/down across tall rows
10379
10380 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10381
10382         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10383         not been invoked
10384
10385 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10386
10387         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10388         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10389         thesaurus is not compiled in
10390
10391 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10392
10393         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10394
10395 2002-12-16  Angus Leeming  <leeming@lyx.org>
10396
10397         * lyxrc.[Ch]:
10398         * lyx_main.C (init): remove override_x_deadkeys stuff.
10399
10400 2002-12-12  John Levon  <levon@movementarian.org>
10401
10402         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10403           insert. Only remove shift modifier under strict
10404           circumstances.
10405
10406 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10407
10408         * MenuBackend.C (expandToc): fix crash.
10409
10410 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10411
10412         * MenuBackend.C (expandToc): gettext on float names.
10413
10414 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10415
10416         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10417         implement bool empty() [bug 490]
10418
10419 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10420
10421         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10422
10423 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10424
10425         * several files: ws changes
10426
10427 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10428
10429         * text2.C (setCounter): clean up a bit, use boost.format.
10430         (updateCounters): initialize par upon declaration.
10431
10432         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10433         if the layout exists. We do not just store the layout any more.
10434         (SwitchLayoutsBetweenClasses): use boost.format
10435
10436 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10437
10438         * converter.C (convert): if from and to files are the same, use a
10439         temporary files as intermediary
10440
10441 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10442
10443         * commandtags.h:
10444         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10445
10446 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10447
10448         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10449
10450 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10451
10452         * tabular.C (asciiPrintCell): use string(size, char) instead of
10453         explicit loop.
10454
10455         * sgml.C (openTag): fix order of arguments to string constructor
10456         (closeTag): ditto
10457
10458         * lyxfunc.C (dispatch): use boost.format
10459
10460         * lots of files: change "c" -> 'c'
10461
10462 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10463
10464         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10465
10466 2002-11-25  Angus Leeming  <leeming@lyx.org>
10467
10468         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10469
10470         * lyx_main.C (init): compile fix.
10471
10472 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10473
10474         * lyx_cb.C (start): boost.formatify
10475         do not include <iostream>
10476
10477         * lengthcommon.C: ws only
10478
10479         * boost-inst.C,BoostFormat.h: add more explict instantations
10480
10481 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10482
10483         * lots of files: handle USE_BOOST_FORMAT
10484
10485 2002-11-21  John Levon  <levon@movementarian.org>
10486
10487         * pspell.C: fix compile
10488
10489 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10490
10491         * lyxfunc.C (dispatch): use boost::format
10492         (open): ditto
10493         (doImport): ditto
10494
10495         * lyxfont.C (stateText): use boost::format
10496
10497         * lyx_main.C (LyX): use boost::format
10498         (init): ditto
10499         (queryUserLyXDir): ditto
10500         (readRcFile): ditto
10501         (parse_dbg): ditto
10502         (typedef boost::function): use the recommened syntax.
10503
10504         * importer.C (Import): use boost::format
10505
10506         * debug.C (showLevel): use boost::format
10507
10508         * converter.C (view): use boost::format
10509         (convert): ditto
10510         (move): ditto
10511         (scanLog): ditto
10512
10513         * bufferview_funcs.C (currentState): use boost::format
10514
10515         * bufferlist.C (emergencyWrite): use boost::format
10516
10517         * buffer.C (readLyXformat2): use boost::format
10518         (parseSingleLyXformat2Token): ditto
10519
10520         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10521
10522         * LaTeX.C (run): use boost::format
10523
10524         * Chktex.C (scanLogFile): use boost::format
10525
10526         * BufferView_pimpl.C (savePosition): use boost::format
10527         (restorePosition): ditto
10528         (MenuInsertLyXFile): ditto
10529
10530         * BoostFormat.h: help file for explicit instation.
10531
10532 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10533
10534         * tabular.C (latex): Support for block alignment in fixed width
10535         columns.
10536
10537 2002-11-17  John Levon  <levon@movementarian.org>
10538
10539         * BufferView_pimpl.C:
10540         * lyx_cb.C:
10541         * lyxfunc.C: split filedialog into open/save
10542
10543 2002-11-08  Juergen Vigna  <jug@sad.it>
10544
10545         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10546         by my last patch (hopefully).
10547
10548 2002-11-08  John Levon  <levon@movementarian.org>
10549
10550         * iterators.h:
10551         * iterators.C:
10552         * buffer.h:
10553         * buffer.C:
10554         * paragraph.h:
10555         * paragraph.C:
10556         * toc.h:
10557         * toc.C: ParConstIterator, and use it (from Lars)
10558
10559 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10560
10561         * lyxtextclass.[Ch]: revise and add doxygen comments
10562
10563 2002-11-07  John Levon  <levon@movementarian.org>
10564
10565         * text.C: fix progress value for spellchecker
10566
10567         * toc.C: fix navigate menu for insetwrap inside minipage
10568
10569         * paragraph_funcs.C: added FIXME for suspect code
10570
10571 2002-11-07  John Levon  <levon@movementarian.org>
10572
10573         * BufferView_pimpl.C: fix redrawing of insets
10574           on buffer switch
10575
10576 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10577
10578         * text2.C (updateCounters): fix bug 668
10579
10580 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10581
10582         * text3.C (dispatch): Do not make the buffer dirty when moving the
10583         cursor.
10584
10585 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10586
10587         * vc-backend.C: STRCONV
10588         (scanMaster): ditto
10589
10590         * text2.C (setCounter): STRCONV
10591
10592         * paragraph.C (asString): STRCONV
10593
10594         * lyxlength.C (asString): STRCONV
10595         (asLatexString): ditto
10596
10597         * lyxgluelength.C (asString): STRCONV
10598         (asLatexString): ditto
10599
10600         * lyxfunc.C (dispatch): STRCONV
10601         (open): ditto
10602
10603         * lyxfont.C (stateText): STRCONV
10604
10605         * importer.C (Import): STRCONV
10606
10607         * counters.C (labelItem): STRCONV
10608         (numberLabel): ditto
10609         (numberLabel): remove unused ostringstream o
10610
10611         * chset.C: STRCONV
10612         (loadFile): ditto
10613
10614         * bufferview_funcs.C (currentState): STRCONV
10615
10616         * buffer.C (readFile): STRCONV
10617         (asciiParagraph): ditto
10618         (makeLaTeXFile): ditto
10619
10620         * Spacing.C (writeEnvirBegin): STRCONV
10621
10622         * LaTeXFeatures.C (getLanguages): STRCONV
10623         (getPackages): ditto
10624         (getMacros): ditto
10625         (getBabelOptions): ditto
10626         (getTClassPreamble): ditto
10627         (getLyXSGMLEntities): ditto
10628         (getIncludedFiles): ditto
10629
10630         * LaTeX.C: STRCONV
10631         (run): ditto
10632         (scanAuxFile): ditto
10633         (deplog): ditto
10634
10635         * LString.h: add the STRCONV macros
10636
10637         * BufferView_pimpl.C (savePosition): STRCONV
10638         (restorePosition): ditto
10639         (MenuInsertLyXFile): ditto
10640
10641         * vc-backend.C (scanMaster): change from submatch[...] to
10642         submatch.str(...)
10643
10644         * funcrequest.C: include config.h
10645
10646         * factory.C: include config.h
10647
10648         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10649
10650         * box.C: include config.h
10651
10652         * LaTeX.C (scanAuxFile): change from submatch[...] to
10653         submatch.str(...)
10654         (deplog): ditto
10655
10656 2002-10-25  Angus Leeming  <leeming@lyx.org>
10657
10658         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10659
10660         * ispell.[Ch] (setError): new method.
10661         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10662         Use setError() insetead of goto END.
10663
10664         * lyx_cb.C (AutoSave): move out child process into new class
10665         AutoSaveBuffer.
10666
10667 2002-10-30  John Levon  <levon@movementarian.org>
10668
10669         * text3.C: make start appendix undoable
10670
10671 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10672
10673         * lyxlength.C (inPixels): Fix returned value.
10674
10675         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10676         environment.
10677
10678 2002-10-24  Angus Leeming  <leeming@lyx.org>
10679
10680         * lyxgluelength.h: no need to forward declare BufferParams
10681         or BufferView, so don't.
10682
10683 2002-10-21  John Levon  <levon@movementarian.org>
10684
10685         * BufferView.C: menuUndo ->undo, redo
10686
10687         * BufferView.h: document, remove dead, make some methods private
10688
10689         * paragraph_funcs.h:
10690         * paragraph_funcs.C:
10691         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10692
10693         * buffer.h:
10694         * buffer.C:
10695         * sgml.h:
10696         * sgml.C: move sgml open/close tag into sgml.C
10697
10698         * bufferview_funcs.h: unused prototype
10699
10700         * lyxfunc.h:
10701         * lyxfunc.C: remove unused
10702
10703         * lyxtext.h:
10704         * text.C: remove unused
10705
10706 2002-10-21  John Levon  <levon@movementarian.org>
10707
10708         * BufferView.h:
10709         * BufferView.C:
10710         * BufferView_pimpl.h:
10711         * BufferView_pimpl.C: fix mouse wheel handling based on
10712           patch from Darren Freeman
10713
10714 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10715
10716         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10717
10718 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10719
10720         * lyxlength.C (inPixels): Fix hanfling of negative length.
10721         Fix LyXLength::MU case.
10722
10723 2002-10-16  John Levon  <levon@movementarian.org>
10724
10725         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10726
10727 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10728
10729         * converter.C (view): add support for $$i (file name) and $$p
10730         (file path) for the viewer command. If $$i is not specified, then
10731         it is appended to the command (for compatibility with old syntax)
10732
10733 2002-10-14  Juergen Vigna  <jug@sad.it>
10734
10735         * undo_funcs.C (textHandleUndo): alter the order in which the
10736         new undopar is added to the LyXText, as we have to set first
10737         the right prev/next and then add it as otherwise the rebuild of
10738         LyXText is not correct. Also reset the cursor to the right paragraph,
10739         with this IMO we could remove the hack in "redoParagraphs()".
10740
10741 2002-10-09  Angus Leeming  <leeming@lyx.org>
10742
10743         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10744         to turn off an optimisation if a new inset is to be inserted.
10745
10746 2002-10-11 André Pönitz <poenitz@gmx.net>
10747
10748         * lyxtext.h: make some functions public to allow access
10749         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10750
10751 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10752
10753         * text3.C (dispatch): when changing layout, avoid an infinite loop
10754         [bug #652]
10755
10756 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10757
10758         * lyxrc.C (read): treat a viewer or converter command of "none" as
10759         if it were empty.
10760
10761         * MenuBackend.C (expandFormats): for an update, also allow the
10762         formats that are not viewable
10763
10764         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10765         script if it is newer than the lyxrc.defaults in user directory
10766
10767 2002-10-07 André Pönitz <poenitz@gmx.net>
10768
10769         * text.C: Vitaly Lipatov's small i18n fix
10770
10771 2002-09-25  Angus Leeming  <leeming@lyx.org>
10772
10773         * ispell.h: doxygen fix.
10774
10775 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10776
10777         * buffer.h (readFile): Add a new argument to the method, to allow
10778         reading of old-format templates.
10779
10780 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10781
10782         * toc.C (getTocList): Get TOC from InsetWrap.
10783
10784 2002-09-16  John Levon  <levon@movementarian.org>
10785
10786         * lyxfunc.C: check tabular for cut/copy too
10787
10788 2002-09-12  John Levon  <levon@movementarian.org>
10789
10790         * LyXAction.C: tidy
10791
10792         * factory.h:
10793         * factory.C: add header
10794
10795         * paragraph_funcs.h:
10796         * paragraph_funcs.C: cleanup
10797
10798 2002-09-11  John Levon  <levon@movementarian.org>
10799
10800         * PrinterParams.h: odd/even default to true
10801
10802 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10803
10804         * PrinterParams.h: update printer parameters for new xforms dialog
10805
10806 2002-09-11  Angus Leeming  <leeming@lyx.org>
10807
10808         * lyxserver.C (read_ready): re-write to make it more transparent
10809         and to make it work in coherent fashion under Tru64 Unix.
10810
10811 2002-09-11  André Pönitz <poenitz@gmx.net>
10812
10813         * commandtags.h:
10814         * LyXAction.C:
10815         * text3.C: implement LFUN_WORDSEL
10816
10817 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10818
10819         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10820         make floatlist_ a boost::shared_ptr<FloatList>
10821
10822         * lyxtextclass.C: include FloatList.h
10823         (LyXTextClass): initialize floatlist_
10824         (TextClassTags): add TC_NOFLOAT
10825         (Read): match "nofloat" to TC_NOFLOAT and use it.
10826         (readFloat): modify call to floatlist_
10827         (floats): ditto
10828         (floats): ditto
10829
10830         * FloatList.[Ch] (FloatList): remove commented out float
10831         initialization.
10832         (erase): new function
10833
10834 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10835
10836         * MenuBackend.C (expandToc): fix crash when there is no document
10837         open
10838
10839 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10840
10841         * many files: Add insetwrap.
10842
10843 2002-09-09  John Levon  <levon@movementarian.org>
10844
10845         * text2.C: remove confusing and awkward depth wraparound
10846
10847 2002-09-09  John Levon  <levon@movementarian.org>
10848
10849         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10850
10851         * buffer.h:
10852         * buffer.C: remove getIncludeonlyList()
10853
10854         * paragraph.C:
10855         * lyxfunc.C: remove headers
10856
10857 2002-09-09  Juergen Vigna  <jug@sad.it>
10858
10859         * text.C (getColumnNearX): fix form Michael this is most
10860         probably a cut&paste bug.
10861
10862 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10863
10864         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10865
10866         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10867         references, ws changes.
10868
10869         * text2.C (init): update counters after init
10870         (insertParagraph): no need to set counter on idividual paragraphs.
10871         (setCounter): access the counters object in the textclass object
10872         on in the buffer object.
10873         (updateCounters): ditto
10874
10875         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10876         shared_ptr<Counters> to avoid loading counters.h in all
10877         compilation units.
10878         (LyXTextClass): initialize ctrs_
10879         (TextClassTags): add TC_COUNTER, and ...
10880         (Read): use it here.
10881         (CounterTags): new tags
10882         (readCounter): new function
10883         (counters): new funtion
10884         (defaultLayoutName): return a const reference
10885
10886         * counters.C (Counters): remove contructor
10887         (newCounter): remove a couple of unneeded statements.
10888         (newCounter): simplify a bit.
10889         (numberLabel): some small formatting changes.
10890
10891         * buffer.[Ch]: remove all traces of counters, move the Counters
10892         object to the LyXTextClass.
10893
10894 2002-09-06  Alain Castera  <castera@in2p3.fr>
10895
10896         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10897         package to set the horizontal alignment on fixed width columns.
10898
10899         * lyx_sty.C:
10900         * lyx_sty.h: added tabularnewline macro def.
10901
10902         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10903
10904 2002-09-06  John Levon  <levon@movementarian.org>
10905
10906         * LyXAction.C: tooltips for sub/superscript
10907
10908         * MenuBackend.C: a bit more verbose
10909
10910         * lyxfunc.C: tiny clean
10911
10912         * undo_funcs.C: document undo_frozen
10913
10914 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10915
10916         * counters.C (Counters): add missing algorithm counter.
10917
10918         * text2.C (setCounter): lookup the counter with layouts latexname
10919         instead of by section number.
10920         (setCounter): use a hackish way to lookup the correct enum
10921         counter.
10922         a float name->type change
10923         reset enum couners with counter name directly instead of depth value.
10924
10925         * counters.C (Counters): remove the push_backs, change to use the
10926         float type not the float name.
10927         (labelItem): remove unused string, float name->type change
10928
10929         * counters.h: don't include vector, loose the enums and sects vectors
10930
10931 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10932
10933         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10934         (Read): add float->TC_FLOAT to textclassTags
10935         (Read): and handle it in the switch
10936         (readFloat): new function
10937
10938         * FloatList.C (FloatList): comment out the hardcoded float
10939         definitions.
10940
10941         * lyxlayout.h: ws change.
10942
10943 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10944
10945         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10946
10947 2002-09-03  Angus Leeming  <leeming@lyx.org>
10948
10949         * BufferView_pimpl.h: qualified name is not allowed in member
10950         declaration: WorkArea & Pimpl::workarea() const;
10951
10952         * factory.C: added using std::endl directive.
10953
10954         * text3.C: added using std::find and std::vector directives.
10955
10956 2002-08-29  André Pönitz <poenitz@gmx.net>
10957
10958         * lyxtext.h:
10959         * text2.C: remove unused member number_of_rows
10960
10961         * Makefile.am:
10962         * BufferView2.C: remove file, move contents to...
10963         * BufferView.C: ... here
10964
10965         * BufferView_pimpl.C:
10966         * factory.C: move more inset creation to factory
10967
10968         * vspace.C: avoid direct usage of LyXText, ws changes
10969
10970         * BufferView.[Ch]:
10971                 don't provide direct access to WorkArea, use two simple
10972                 acessors haveSelction() and workHeight() instead
10973
10974
10975 2002-08-29  John Levon  <levon@movementarian.org>
10976
10977         * BufferView_pimpl.C (dispatch): do not continue when
10978           no buffer
10979
10980 2002-08-28  André Pönitz <poenitz@gmx.net>
10981
10982         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10983
10984         * BufferView.h:
10985         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10986
10987 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10988
10989         * buffer.C: increment LYX_FORMAT to 221
10990
10991         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10992         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10993
10994         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10995
10996         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10997
10998 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10999
11000         * factory.C (createInset): use LyXTextClass::floats
11001
11002         * MenuBackend.C (expandFloatListInsert):
11003         (expandFloatInsert):
11004         (expandToc):
11005
11006         * text2.C (setCounter):
11007
11008         * LaTeXFeatures.C (useFloat):
11009         (getFloatDefinitions):
11010
11011         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11012
11013         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11014         floatlist_, with accessor floats().
11015
11016         * FloatList.h: remove global FloatList
11017
11018 2002-08-26  André Pönitz <poenitz@gmx.net>
11019
11020         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11021
11022         * BufferView.h:
11023         * BufferView2.C:
11024         * BufferView_pimpl.C:
11025         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11026
11027 2002-08-25  John Levon  <levon@movementarian.org>
11028
11029         * LyXAction.C: fix margin note description
11030
11031 2002-08-24  John Levon  <levon@movementarian.org>
11032
11033         * buffer.C:
11034         * bufferlist.C:
11035         * bufferview_funcs.C:
11036         * lyxfont.C:
11037         * undo_funcs.C: cleanups
11038
11039         * lyxfunc.C: disable CUT/COPY when no selection
11040
11041 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11042
11043         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11044         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11045
11046         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11047         Add backward compatibility to "mono", "gray" and "no".
11048
11049 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11050
11051         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11052         (and file_format >= 200).
11053
11054 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11055
11056         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11057
11058 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11059
11060         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11061
11062 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11063
11064         * BufferView_pimpl.C:
11065         * LyXAction.C:
11066         * buffer.C:
11067         * commandtags.h:
11068         * lyxfunc.C:
11069         * paragraph.[Ch]:
11070         * text2.C:
11071         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11072         inset and code to make it  work with the paragraph code. The inset
11073         can be anywhere in the paragraph, but will only do the expected
11074         thing in LaTeX if the layout file contains the parameter line
11075                         OptionalArgs    1
11076         (or more generally, a nonzero value) for that layout.
11077
11078 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11079
11080         * paragraph.h: remove the declaration of undefined counters class
11081         function.
11082
11083 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11084
11085         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11086         Dr. Richard Hawkins.
11087
11088 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11089
11090         * paragraph_funcs.h: remove some unneeded includes
11091
11092         * text.C (backspace): pasteParagraph now in global scipe
11093
11094         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11095         (pasteSelection): ditto
11096
11097         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11098         * paragraph_funcs.C (pasteParagraph): ... here
11099
11100 2002-08-20  André Pönitz <poenitz@gmx.net>
11101
11102         * commandtags.h: new LFUNs for swapping/copying table row/colums
11103
11104         * LyXAction.C:
11105         * lyxfunc.C: support for new lfuns
11106
11107 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11108
11109         * tabular.C:
11110         * buffer.[Ch]: remove NO_COMPABILITY stuff
11111
11112 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11113
11114         * boost.C (throw_exception): new file, with helper function for
11115         boost compiled without exceptions.
11116
11117         * paragraph.h:
11118         * lyxlength.C:
11119         * buffer.C:
11120         * ParameterStruct.h:
11121         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11122
11123         * bufferlist.C (emergencyWriteAll): use boost bind
11124
11125         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11126
11127         * text.C: include paragraph_funcs.h
11128         (breakParagraph): breakParagraph is now in global scope
11129
11130         * paragraph_funcs.[Ch]: new files
11131
11132         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11133         global scope
11134
11135         * buffer.C: include paragraph_funcs.h
11136         (insertStringAsLines): breakParagraph is now in global scope
11137
11138         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11139         paragraph_funcs.C
11140
11141         * CutAndPaste.C: include paragraph_funcs.h
11142         (cutSelection): breakParagraphConservative is now in global scope
11143         (pasteSelection): ditto
11144
11145         * buffer.h: declare oprator== and operator!= for
11146         Buffer::inset_iterator
11147
11148         * bufferlist.C (emergencyWrite): don't use fmt(...)
11149
11150         * text3.C: add using std::endl
11151
11152         * BufferView.C (moveCursorUpdate): remove default arg
11153
11154 2002-08-20  André Pönitz <poenitz@gmx.net>
11155
11156         * buffer.[Ch]: move inline functions to .C
11157
11158         * BufferView2.C:
11159         * BufferView_pimpl.C:
11160         * text.C:
11161         * buffer.[Ch]: use improved inset_iterator
11162
11163         * buffer.C:
11164         * paragraph.[Ch]: write one paragraph at a time
11165
11166 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11167
11168         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11169         style if style is not specified.
11170
11171 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11172
11173         * text2.C (setCounter): when searching for right label for a
11174         caption, make sure to recurse to parent insets (so that a caption
11175         in a minipage in a figure float works) (bug #568)
11176
11177 2002-08-20  André Pönitz <poenitz@gmx.net>
11178
11179         * text3.C: new file for LyXText::dispatch() and helpers
11180
11181         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11182
11183         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11184
11185 2002-08-19  André Pönitz <poenitz@gmx.net>
11186
11187         * lyxtext.h:
11188         * text.C: new LyXText::dispatch()
11189
11190         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11191
11192 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11193
11194         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11195
11196         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11197         Hebrew text.
11198
11199 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11200
11201         * Makefile.am: use $(variables) instead of @substitutions@
11202
11203 2002-08-15  André Pönitz <poenitz@gmx.net>
11204
11205         * lyxfunc.C:
11206         * BufferView_pimpl.C: streamlining mathed <-> outer world
11207         interaction
11208
11209         * commandtags.h:
11210         * LyXAction.C: remove unused LFUN_MATH
11211
11212 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11213
11214         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11215
11216 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11217
11218         * paragraph.C (Paragraph): reformat a bit
11219         (cutIntoMinibuffer): use builtin InsetList function instad of
11220         doing it manually.
11221         (getInset): ditto
11222
11223         * buffer.C: include boost/bind.hpp, add using std::for_each
11224         (writeFileAscii): use ParagraphList iterators
11225         (validate): use for_each for validate traversal of paragraphs
11226         (getBibkeyList): use ParagraphList iterators
11227         (resizeInsets): use for_each to resizeInsetsLyXText for all
11228         paragraphs.
11229         (getParFromID): use ParagraphList iterators
11230
11231         * BufferView2.C (lockInset): use paragraph list and iterators
11232
11233 2002-08-14  John Levon  <levon@movementarian.org>
11234
11235         * lyxserver.C: remove spurious xforms include
11236
11237 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11238
11239         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11240
11241 2002-08-13  André Pönitz <poenitz@gmx.net>
11242
11243         * LyXAction.[Ch]:
11244         * lyxfunc.C: further cleaning
11245
11246 2002-08-13  André Pönitz <poenitz@gmx.net>
11247
11248         * funcrequest.h: new constructor
11249
11250         * funcrequest.C: move stuff here from .h
11251
11252         * Makefile.am:
11253         * BufferView_pimpl.C:
11254         * LyXAction.C:
11255         * toc.C:
11256         * lyxfunc.C: subsequent changes
11257
11258         * lyxfunc.h: new view() member function
11259
11260         * lyxfunc.C: subsequent changes
11261
11262 2002-08-13  Angus Leeming  <leeming@lyx.org>
11263
11264         * BufferView2.C:
11265         * BufferView_pimpl.C:
11266         * buffer.C:
11267         * converter.C:
11268         * importer.C:
11269         * lyxfunc.C:
11270         * lyxvc.C:
11271         * toc.C:
11272         * vc-backend.C:
11273         changes due to the changed LyXView interface that now returns references
11274         to member variables not pointers.
11275
11276 2002-08-13  Angus Leeming  <leeming@lyx.org>
11277
11278         * WordLangTuple (word, lang_code): return references to strings,
11279         not strings.
11280
11281         * BufferView.h:
11282         * SpellBase.h:
11283         * lyxtext.h: forward-declare WordLangTuple.
11284
11285         * BufferView2.C:
11286         * ispell.C:
11287         * pspell.C:
11288         * text.C: #include "WordLangTuple.h".
11289
11290         * lyxtext.h:
11291         * text.C: (selectNextWordToSpellcheck): constify return type.
11292
11293 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11294
11295         * buffer.C:
11296         * buffer.h:
11297         * lyxtext.h:
11298         * paragraph.C:
11299         * paragraph_pimpl.h:
11300         * text.C:
11301         * text2.C:
11302         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11303         suggested by Angus.
11304         Made updateCounter always count from start of buffer, and removed
11305         second argument (par).
11306         Reverted floats number display to '#'. Perhaps I'll try again when the
11307         code base is sanitized a bit.
11308
11309 2002-08-12  Angus Leeming  <leeming@lyx.org>
11310
11311         * buffer.[Ch] (getLabelList): constify.
11312
11313 2002-08-07  André Pönitz <poenitz@gmx.net>
11314
11315         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11316
11317         * funcrequest.h: extension to keep mouse (x,y) position
11318
11319 2002-08-12  Juergen Vigna  <jug@sad.it>
11320
11321         * BufferView2.C (insertErrors): forbid undo when inserting error
11322         insets.
11323
11324         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11325
11326 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11327
11328         * ParagraphList.[Ch]: new files
11329
11330         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11331
11332         * BufferView2.C (lockInset): ParagraphList changes
11333         * toc.C: ditto
11334         * text2.C: ditto
11335         * bufferlist.C: ditto
11336         * buffer.h: ditto
11337         * buffer.C: ditto
11338
11339 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11340
11341         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11342         unused class variable counter_,
11343
11344         * paragraph.[Ch] (getFirstCounter): delete unused function
11345
11346         * counters.C: include LAssert.h
11347         (reset): add a new function with no arg, change other version to
11348         not have def. arg and to not allow empty arg.
11349
11350         * text2.C (setCounter): remove empty arg from call to Counters::reset
11351
11352 2002-08-11  John Levon  <levon@movementarian.org>
11353
11354         * Makefile.am: add WordLangTuple.h
11355
11356 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11357
11358         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11359         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11360
11361         * insets/insettext.C: InsetList changes
11362
11363         * graphics/GraphicsSupport.C (operator()): InsetList changes
11364
11365         * toc.C (getTocList): InsetList changes
11366
11367         * paragraph_pimpl.[Ch]: InsetList changes
11368
11369         * paragraph.[Ch]: InsetList changes
11370
11371         * buffer.C (inset_iterator): InsetList changes
11372         (setParagraph): ditto
11373         * buffer.h (inset_iterator): ditto
11374         * iterators.C (operator++): ditto
11375         * iterators.h: ditto
11376
11377         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11378
11379         * InsetList.[Ch]: new files, most InsetList handling moved out of
11380         paragraph.C.
11381
11382         * BufferView2.C (removeAutoInsets): InsetList changes
11383         (lockInset): ditto
11384         (ChangeInsets): ditto
11385
11386 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11387
11388         * paragraph_pimpl.h (empty): new function
11389
11390         * paragraph.[Ch] (empty): new function
11391
11392         * other files: use the new Paragraph::empty function
11393
11394 2002-08-09  John Levon  <levon@movementarian.org>
11395
11396         * lyxtext.h: remove unused refresh_height
11397
11398 2002-08-09  John Levon  <levon@movementarian.org>
11399
11400         * Makefile.am:
11401         * sgml.h:
11402         * sgml.C:
11403         * buffer.C:
11404         * paragraph.h:
11405         * paragraph.C: move sgml char escaping out of paragraph
11406
11407         * paragraph.h:
11408         * paragraph.C: remove id setter
11409
11410         * buffer.C:
11411         * paragraph.C:
11412         * paragraph_pimpl.C: remove dead tex_code_break_column
11413
11414         * bufferview_funcs.C: small cleanup
11415
11416         * lyxfunc.C: remove dead proto
11417
11418         * lyxtext.h: make some stuff private. Remove some dead stuff.
11419
11420         * lyxgluelength.C: make as[LyX]String() readable
11421
11422 2002-08-08  John Levon  <levon@movementarian.org>
11423
11424         * LyXAction.h:
11425         * LyXAction.C:
11426         * MenuBackend.C:
11427         * ToolbarDefaults.C:
11428         * lyxfunc.C:
11429         * lyxrc.C:
11430         * toc.C: lyxaction cleanup
11431
11432 2002-08-08  John Levon  <levon@movementarian.org>
11433
11434         * BufferView2.C: small cleanup
11435
11436         * lyxfind.h:
11437         * lyxfind.C: move unnecessary header into the .C
11438
11439 2002-08-08  John Levon  <levon@movementarian.org>
11440
11441         * funcrequest.h: just tedious nonsense
11442
11443         * lyx_main.h:
11444         * lyx_main.C: cleanups
11445
11446         * buffer.C:
11447         * vspace.C: remove dead header lyx_main.h
11448
11449 2002-08-07  Angus Leeming  <leeming@lyx.org>
11450
11451         * Paragraph.[Ch]:
11452         * paragraph_pimpl.h:
11453         Forward declare class Counters in paragraph.h by moving the ctrs member
11454         variable into Paragraph::Pimpl.
11455         (counters): new method, returning a reference to pimpl_->ctrs.
11456
11457         * text2.C: ensuing changes.
11458
11459 2002-08-07  John Levon  <levon@movementarian.org>
11460
11461         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11462
11463         * BufferView_pimpl.C: announce X selection on double/triple
11464           click
11465
11466         * lyx_main.C: use correct bool in batch dispatch
11467
11468         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11469
11470 2002-08-07  André Pönitz <poenitz@gmx.net>
11471
11472         * funcrequest.h: new class to wrap a kb_action and its argument
11473
11474         * BufferView.[Ch]:
11475         * BufferView_pimpl[Ch]:
11476         * LaTeX.C:
11477         * LyXAction.[Ch]:
11478         * lyxfunc.[Ch]:
11479         * lyxrc.C: subsequent changes
11480
11481
11482 2002-08-07  John Levon  <levon@movementarian.org>
11483
11484         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11485           document options change.
11486
11487 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11488
11489         * counters.[Ch]
11490         * text2.C
11491         * paragraph.[Ch]
11492         * makefile.am: move counters functionality over from
11493         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11494
11495 2002-08-06  John Levon  <levon@movementarian.org>
11496
11497         * WordLangTuple.h: new file for word + language code tuple
11498
11499         * SpellBase.h:
11500         * pspell.h:
11501         * pspell.C:
11502         * ispell.h:
11503         * ispell.C:
11504         * lyxtext.h:
11505         * text.C:
11506         * text2.C:
11507         * BufferView.h:
11508         * BufferView2.C: use WordLangTuple
11509
11510         * layout.h:
11511         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11512
11513 2002-08-06  John Levon  <levon@movementarian.org>
11514
11515         * lyx_main.C: fix cmdline batch handling
11516
11517 2002-08-06  André Pönitz <poenitz@gmx.net>
11518
11519         * lyxrc.C: set default for show_banner to true
11520
11521 2002-08-06  John Levon  <levon@movementarian.org>
11522
11523         * pspell.C: fix a crash, and allow new aspell to work
11524
11525 2002-08-06  John Levon  <levon@movementarian.org>
11526
11527         * lyxfunc.C:
11528         * kbmap.C: small cleanup
11529
11530         * vspace.h:
11531         * vspace.C: add const
11532
11533 2002-08-05  John Levon  <levon@movementarian.org>
11534
11535         * LyXAction.C: back to tabular-insert
11536
11537 2002-08-04  John Levon  <levon@movementarian.org>
11538
11539         * BufferView.h:
11540         * BufferView.C: cosmetic change
11541
11542         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11543
11544         * bufferlist.C:
11545         * buffer.h:
11546         * buffer.C:
11547         * lyxcb.h:
11548         * lyxcb.C:
11549         * lyxserver.C:
11550         * lyxvc.C:
11551         * vc-backend.C:
11552         * BufferView2.C: purge all "Lyx" not "LyX" strings
11553
11554         * lyxcursor.h:
11555         * lyxcursor.C: attempt to add some documentation
11556
11557         * lyxfunc.C:
11558         * commandtags.h:
11559         * LyXAction.C:
11560         * ToolbarDefaults.C:
11561         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11562           merge with LFUN_TABULAR_INSERT
11563
11564         * Makefile.am:
11565         * SpellBase.h:
11566         * ispell.h:
11567         * ispell.C:
11568         * pspell.h:
11569         * pspell.C: split up i/pspell implementations into separate
11570           files, many cleanups
11571
11572         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11573
11574         * text2.C: some cleanup
11575
11576         * lyxfunc.C: don't check for isp_command == "none" any more, it
11577           didn't make any sense
11578
11579 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11580
11581         * counters.[Ch]
11582         * text2.C
11583         * paragraph.[Ch]
11584         * makefile.am: move counters functionality over
11585         from text2.C/paragraph.[Ch] to counters.[Ch], and
11586         make proper C++.
11587 2002-08-02  John Levon  <levon@movementarian.org>
11588
11589         * buffer.C: s/lyxconvert/lyx2lyx/
11590
11591 2002-08-02  Angus Leeming  <leeming@lyx.org>
11592
11593         * lyxlex.C: revert John's change as it breaks reading of the user
11594         preamble.
11595
11596 2002-08-02  Angus Leeming  <leeming@lyx.org>
11597
11598         * importer.C (Import):
11599         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11600         changes due to LyXView::view() now returning a boost::shared_ptr.
11601
11602 2002-08-02  John Levon  <levon@movementarian.org>
11603
11604         * lyxlex.C: small cleanup
11605
11606 2002-08-02  John Levon  <levon@movementarian.org>
11607
11608         * text2.C (status): small cleanup, no logic change
11609
11610 2002-08-01  John Levon  <levon@movementarian.org>
11611
11612         * buffer.h:
11613         * buffer.C (writeFile): don't output alerts, caller
11614           handles this
11615
11616         * bufferlist.C:
11617         * lyx_cb.C: from above
11618
11619         * lyxfunc.C: allow to open non-existent files
11620
11621 2002-07-31  John Levon  <levon@movementarian.org>
11622
11623         * lyxserver.C: don't let incidental errors get
11624           in the way (errno)
11625
11626 2002-07-30  John Levon  <levon@movementarian.org>
11627
11628         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11629
11630 2002-07-30  John Levon  <levon@movementarian.org>
11631
11632         * lyxserver.h:
11633         * lyxserver.C: remove I/O callback too
11634
11635 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11636
11637         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11638         log.
11639
11640 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11641
11642         * many files: strip,frontStrip -> trim,ltrim,rtrim
11643
11644 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11645
11646         * PrinterParams.h: remove extern containsOnly, and include
11647         support/lstrings.h instead.
11648
11649         * LaTeX.C (scanAuxFile): modify because of strip changes
11650         (deplog): ditto
11651         * buffer.C (makeLaTeXFile): ditto
11652         * bufferparams.C (writeFile): ditt
11653         * lyxfont.C (stateText): ditto
11654         * lyxserver.C (read_ready): ditto
11655         * vc-backend.C (scanMaster): ditto
11656
11657         * BufferView_pimpl.h: ws changes
11658
11659         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11660
11661 2002-07-26  André Pönitz <poenitz@gmx.net>
11662
11663         * kb_sequence.C: remove unnedred usings
11664
11665 2002-07-26  Juergen Vigna  <jug@sad.it>
11666
11667         * lyxfind.C (LyXReplace): we have to check better if the returned
11668         text is not of theLockingInset()->getLockingInset().
11669
11670 2002-07-25  Juergen Vigna  <jug@sad.it>
11671
11672         * lyxfind.C (LyXReplace): don't replace if we don't get the
11673         right LyXText.
11674
11675         * undo_funcs.C (createUndo): remove debugging code.
11676
11677 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11678
11679         * buffer.C (parseSingleLyXformat2Token): Use default placement
11680         when reading old floats.
11681
11682         * FloatList.C (FloatList): Change the default placement of figure
11683         and tables to "tbp".
11684
11685 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11686
11687         * MenuBackend.C: using std::max
11688
11689 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11690
11691         * MenuBackend.C (expandToc):
11692         (expandToc2): code moved from xforms menu frontend. It is now
11693         generic and TOCs are transparent to menu frontends.
11694
11695 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11696
11697         * toc.C (getTocList): protect against buf=0
11698
11699         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11700         Menu as first parameter. Now, this calls itself recursively to
11701         expand a whole tree (this will be useful for TOC handling)
11702         (expandFloatInsert): remove 'wide' version of floats
11703
11704         * MenuBackend.h (submenuname): returns the name of the submenu.
11705         (submenu): returns the submenu itself, provided it has been
11706         created by MenuBackend::expand
11707
11708 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11709
11710         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11711         insets which have noFontChange == true. (bug #172)
11712
11713 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11714
11715         * BufferView_pimpl.C: add connection objects and use them...
11716         (Pimpl): here.
11717
11718 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11719
11720         * MenuBackend.C (expandLastfiles):
11721         (expandDocuments):
11722         (expandFormats):
11723         (expandFloatListInsert):
11724         (expandFloatInsert):
11725         (expand): split expand in parts
11726
11727 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11728
11729         * lyx_gui.C: use lyx_gui::exit()
11730
11731 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * LyXAction.C: show the failing pseudo action
11734
11735 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11736
11737         * buffer.C (readFile): Run the lyxconvert script in order to read
11738         old files.
11739
11740 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11741
11742         * LyXAction.C:
11743         * commandtags.h:
11744         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11745
11746 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * LyXAction.C:
11749         * commandtags.h:
11750         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11751
11752 2002-07-22  Herbert Voss  <voss@lyx.org>
11753
11754         * lengthcommon.C:
11755         * lyxlength.[Ch]: add support for the vertical lengths
11756
11757 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11758
11759         * toc.[Ch]: std:: fixes
11760
11761 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11762
11763         * lyxrc.C: do not include lyx_main.h
11764
11765         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11766         for layouts
11767
11768         * lyxrc.C:
11769         * encoding.C:
11770         * bufferlist.C:
11771         * BufferView2.C: include "lyxlex.h"
11772
11773         * tabular.h:
11774         * bufferparams.h: do not #include "lyxlex.h"
11775
11776         * lyxtextclasslist.C (Add): remove method
11777         (classlist): renamed to classlist_
11778
11779         * paragraph_pimpl.C:
11780         * paragraph.C:
11781         * text2.C:
11782         * CutAndPaste.C:
11783         * bufferview_funcs.C:
11784         * bufferlist.C:
11785         * text.C:
11786         * LaTeXFeatures.C:
11787         * buffer.C:
11788         * toc.C (getTocList): use BufferParams::getLyXTextClass
11789
11790         * toc.C (getTocList): use InsetFloat::addToToc
11791
11792         * toc.[Ch]: new files, containing helper functions to handle table
11793         of contents
11794
11795         * lyxfunc.C (dispatch): no need to remove spaces around command
11796         given as a string
11797         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11798         first command of the sequence; it is not very clever, but I do not
11799         have a better idea, actually
11800
11801         * LyXAction.C (LookupFunc): make sure to remove space at the
11802         beginning and end of the command
11803
11804 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * MenuBackend.C (getMenubar): new method: return the menubar of
11807         this menu set
11808         (read): treat differently reading of menu and menubar (in
11809         particular, the menubar has no name now)
11810         (Menu::menubar): remove
11811
11812         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11813         saving is finished
11814
11815 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11816
11817         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11818         a bibitem inset in a RTL paragraph.
11819
11820 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11821
11822         * paragraph_pimpl.C: constify
11823
11824         * BufferView_pimpl.C:
11825         * LaTeX.C:
11826         * lyxfunc.C: fix dispatch in a nicer way
11827
11828 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11829
11830         * lyxfunc.C (dispatch):
11831         * BufferView_pimpl.C:
11832         * BufferView_pimpl.h:
11833         * BufferView.C:
11834         * BufferView.h: rename Dispatch() to dispatch()
11835
11836         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11837
11838         * lyxlayout.C (Read): honor DependsOn tag
11839
11840         * lyxlayout.[Ch] (depends_on): new method
11841
11842         * version.C.in: update lyx_docversion
11843
11844         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11845
11846         * paragraph.C (validate): remove from here...
11847         * paragraph_pimpl.C (validate): ... and move here
11848         (isTextAt): make it const
11849
11850         * buffer.C (getLists): ws cleanup
11851
11852 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11853
11854         * language.C (read): Use iso8859-1 encoding in latex_lang
11855         (this prevents LyX from crashing when using iso10646-1 encoding).
11856
11857 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * text2.C (toggleInset): if cursor is inside an inset, close the
11860         inset and leave cursor _after_ it
11861
11862 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11863
11864         * lyxfunc.C: move minibuffer completion handling out of here
11865
11866 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * BufferView_pimpl.C:
11869         * LaTeX.C: fix dispatch calls
11870
11871 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11872
11873         * text.C (drawChars): Fix Arabic text rendering.
11874
11875 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * LyXAction.C:
11878         * commandtags.h:
11879         * lyxfunc.C: remove message-push/pop
11880
11881         * lyxserver.C:
11882         * lyxfunc.h:
11883         * lyxfunc.C: rationalise some code by removing verboseDispatch
11884           in favour of a bool argument to dispatch()
11885
11886 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11887
11888         * lyx_main.C (init): make sure to read symlinks as absolute paths
11889
11890 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11891
11892         * lyxfunc.h:
11893         * lyxfunc.C: no need for commandshortcut to be a member
11894
11895 2002-07-15  André Pönitz <poenitz@gmx.net>
11896
11897         * converter.C: add support for $$s (scripts from lib/scripts dir)
11898         * lyx_main.C: white space
11899
11900 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11901
11902         * bufferlist.C:
11903         * lyxrc.h:
11904         * lyxrc.C: remove second exit confirmation
11905
11906 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * BufferView.h:
11909         * BufferView.C:
11910         * BufferView2.C:
11911         * BufferView_pimpl.h:
11912         * BufferView_pimpl.C:
11913         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11914
11915 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11916
11917         * MenuBackend.C (expand): add numeric shortcuts to document menu
11918
11919         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11920
11921 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * lyxfont.C (setLyXFamily):
11924         (setLyXSeries):
11925         (setLyXShape):
11926         (setLyXSize):
11927         (setLyXMisc):
11928         (lyxRead):
11929         * debug.C (value):
11930         * buffer.C (asciiParagraph): use ascii_lowercase
11931
11932 2002-07-15  Mike Fabian  <mfabian@suse.de>
11933
11934         * lyxlex_pimpl.C (search_kw):
11935         * lyxlex.C (getLongString):
11936         * converter.h (operator<):
11937         * converter.C (operator<):
11938         * buffer.C (parseSingleLyXformat2Token):
11939         (asciiParagraph):
11940         * ToolbarDefaults.C (read):
11941         * MenuBackend.C (checkShortcuts):
11942         (read):
11943         * LColor.C (getFromGUIName):
11944         (getFromLyXName): use the compare_ascii_no_case instead of
11945         compare_no_case, because in turkish, 'i' is not the lowercase
11946         version of 'I', and thus turkish locale breaks parsing of tags.
11947
11948 2002-07-16  Angus Leeming  <leeming@lyx.org>
11949
11950         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11951         now takes a Buffer const & argument.
11952
11953 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * BufferView.C (resize): check there's a buffer to resize
11956
11957 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11958
11959         * lyxfunc.C: remove dead code
11960
11961         * lyxserver.h:
11962         * lyxserver.C: use lyx_guii::set_read_callback
11963
11964 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11965
11966         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11967         an inset in a RTL paragraph.
11968
11969 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * lyxfunc.C: repaint after a font size update
11972
11973 2002-07-15  André Pönitz <poenitz@gmx.net>
11974
11975         * lyxlength.C: inBP should be able to return negative values
11976
11977 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * lyxfunc.C: use lyx_gui::update_fonts()
11980
11981 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11982
11983         * lyxfunc.C: use lyx_gui::update_color()
11984
11985 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11986
11987         * bufferlist.C:
11988         * lyxfunc.h:
11989         * lyxfunc.C:
11990         * lyxrc.h:
11991         * lyxrc.C: remove file->new asks for name option, and let
11992           buffer-new take an argument
11993
11994 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11995
11996         * BufferView_pimpl.C: remove unneeded extra repaint()
11997
11998 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11999
12000         * LyXAction.C: allow command-sequence with NoBuffer
12001
12002         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12003
12004 2002-07-10  Angus Leeming  <leeming@lyx.org>
12005
12006         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12007
12008 2002-07-09  Angus Leeming  <leeming@lyx.org>
12009
12010         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12011
12012 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * lengthcommon.h: whitespace
12015
12016         * lyxfunc.C: update scrollbar after goto paragraph
12017
12018         * lyxtext.h: factor out page break drawing, and fix it so
12019           page break/added space paints as selected nicely
12020
12021 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * BufferView_pimpl.C: add FIXMEs, clean up a little
12024
12025 2002-07-09  André Pönitz <poenitz@gmx.net>
12026
12027         * lyxfont.[Ch]: support for wasy symbols
12028
12029 2002-07-08  André Pönitz <poenitz@gmx.net>
12030
12031         * BufferView_pimpl.C: apply John's patch for #93.
12032
12033 2002-07-05  Angus Leeming  <leeming@lyx.org>
12034
12035         * BufferView_pimpl.C (buffer): generate previews if desired.
12036
12037         * LColor.h: add "preview" to the color enum.
12038
12039         * LColor.C (LColor): add a corresponding entry to the items array.
12040
12041         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12042         with this buffer.
12043
12044 2002-07-05  Angus Leeming  <leeming@lyx.org>
12045
12046         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12047         The body of the code is now in the method that is passed an ostream &
12048         rather than a file name.
12049         Pass an additional only_preamble parameter, useful for the forthcoming
12050         preview stuff.
12051
12052 2002-07-03  André Pönitz <poenitz@gmx.net>
12053
12054         * lyxfunc.C: simplify getStatus() a bit for math stuff
12055
12056 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12057
12058         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12059
12060 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12061
12062         * text.C (changeRegionCase): do not change case of all the
12063         document when region ends at paragraph end (bug #461)
12064
12065 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12066
12067         * paragraph.C (startTeXParParams):
12068         (endTeXParParams): add \protect when necessary
12069
12070 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * BufferView_pimpl.C (workAreaExpose): remove warning
12073
12074 2002-06-27  Angus Leeming  <leeming@lyx.org>
12075
12076         * Makefile.am: add lyxlayout_ptr_fwd.h.
12077
12078 2002-06-26  André Pönitz <poenitz@gmx.net>
12079
12080         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12081
12082 2002-06-25  Angus Leeming  <leeming@lyx.org>
12083
12084         * lyxfunc.C (dispatch): Comment out the call to
12085         grfx::GCache::changeDisplay. The method no longer exists now that the
12086         pixmap generation part of the graphics loader has been moved into
12087         InsetGraphics.
12088
12089 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * text2.C: layout as layout
12092
12093         * text.C: layout as layout
12094
12095         * tabular.C (OldFormatRead): layout as layout
12096
12097         * paragraph_pimpl.C (TeXDeeper): layout as layout
12098         (realizeFont): layout as layout
12099
12100         * paragraph.C (writeFile): layout as layout
12101         (validate): layout as layout
12102         (getFont): layout as layout
12103         (getLabelFont): layout as layout
12104         (getLayoutFont): layout as layout
12105         (breakParagraph): layout as layout
12106         (stripLeadingSpaces): layout as layout
12107         (getEndLabel): layout as layout
12108         (getMaxDepthAfter): layout as layout
12109         (applyLayout): layout as layout
12110         (TeXOnePar): layout as layout
12111         (simpleTeXOnePar): layout as layout
12112         (TeXEnvironment): layout as layout
12113         (layout): layout as layout
12114         (layout): layout as layout
12115
12116         * lyxtextclass.C (compare_name): new functor to work with
12117         shared_ptr, layout as layout
12118         (Read): layout as layout
12119         (hasLayout): layout as layout
12120         (operator): layout as layout
12121         (delete_layout): layout as layout
12122         (defaultLayout): layout as layout
12123
12124         * lyxlayout_ptr_fwd.h: new file
12125
12126         * lyxlayout.C (Read): layout as layout
12127
12128         * lyx_cb.C (MenuInsertLabel): layout as layout
12129
12130         * bufferlist.C (newFile): layout as layout
12131
12132         * buffer.C (readLyXformat2): layout as layout
12133         (parseSingleLyXformat2Token): layout as layout
12134         (insertStringAsLines): layout as layout
12135         (asciiParagraph): layout as layout
12136         (latexParagraphs): layout as layout
12137         (makeLinuxDocFile): layout as layout
12138         (simpleLinuxDocOnePar): layout as layout
12139         (makeDocBookFile): layout as layout
12140         (simpleDocBookOnePar): layout as layout
12141         (getLists): layout as layout
12142
12143         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12144
12145         * CutAndPaste.C (cutSelection): layout as layout
12146         (pasteSelection): layout as layout
12147         (SwitchLayoutsBetweenClasses): layout as layout
12148
12149         * BufferView_pimpl.C (Dispatch): layout as layout
12150         (smartQuote): layout as layout
12151
12152         * BufferView2.C (unlockInset): layout as layout
12153
12154 2002-06-24  André Pönitz <poenitz@gmx.net>
12155
12156         * lyxfunc.C: fix #487
12157
12158 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * lyxrc.h:
12161         * lyxrc.C:
12162         * lyxfunc.C: remove display_shortcuts, show_banner
12163
12164 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12165
12166         * Buffer_pimpl.C: oops, update on resize
12167
12168 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * buffer.C:
12171         * converter.C:
12172         * exporter.C:
12173         * lyxfunc.C:
12174         * BufferView.h:
12175         * BufferView.C: use repaint()
12176
12177         * BufferView_pimpl.h:
12178         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12179           as it's a clearer description. Remove superfluous
12180           redraws.
12181
12182 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * text.C: fix bug 488. Not ideal, but getting
12185           getWord() to work properly for the insets that
12186           matter is more difficult ...
12187
12188 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * BufferView_pimpl.C:
12191         * LyXAction.C:
12192         * commandtags.h:
12193         * lyxfunc.C: remove the six million index lyxfuncs to just
12194           one, and DTRT (bug 458)
12195
12196 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12197
12198         * BufferView.h:
12199         * BufferView.C:
12200         * BufferView_pimpl.h:
12201         * BufferView_pimpl.C: clean up resize() stuff,
12202           and unnecessary updateScreen()s
12203
12204 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * BufferView.h:
12207         * BufferView.C:
12208         * BufferView_pimpl.h:
12209         * BufferView_pimpl.C:
12210         * lyxfind.h:
12211         * lyxfind.C:
12212         * minibuffer.C: remove focus management of workarea,
12213           not needed. Use screen's greyOut()
12214
12215 2002-06-17  Herbert Voss  <voss@lyx.org>
12216
12217         * converter.C: (convert) do not post a message, when converting
12218         fails, let the calling function decide what to do in this case
12219
12220 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * lyxfunc.C: tidy up a little
12223
12224 2002-06-16    <alstrup@diku.dk>
12225
12226         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12227         Got rid of FORMS_H_LOCATION include. Now we are
12228         GUII.
12229
12230 2002-06-15  LyX Development team  <lyx@rilke>
12231
12232         * buffer.[Ch] (sgmlOpenTag):
12233         (sgmlCloseTag): Added support for avoiding pernicious mixed
12234         content. Return number of lines written.
12235
12236         (makeLinuxDocFile):
12237         (makeDocBookFile): Fixed calls to sgml*Tag.
12238         Simple white space clean.
12239
12240         (simpleDocBookOnePar): Simple white space clean.
12241
12242         * tabular.[Ch] (docBook): Renamed to docbook and got another
12243         argument to related with the pernicious mixed content.
12244
12245         (docbookRow): Fixed calls for docbook inset method.
12246
12247 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12248
12249         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12250         so it's X11 independent.
12251
12252         * kb*.[Ch]: ditto.
12253
12254         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12255
12256 2002-06-15  Lyx Development team  <lyx@electronia>
12257
12258         * intl.h: Renamed getTrans to getTransManager.
12259
12260 2002-06-14  Angus Leeming  <leeming@lyx.org>
12261
12262         * Makefile.am: nuke forgotten stl_string_fwd.h.
12263
12264 2002-06-12  Angus Leeming  <leeming@lyx.org>
12265
12266         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12267
12268 2002-06-13  Angus Leeming  <leeming@lyx.org>
12269
12270         * LaTeX.C:
12271         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12272
12273 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12274
12275         * kbmap.C (getiso): add support for cyrillic and greek
12276
12277 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12278
12279         * BufferView.h:
12280         * BufferView.C:
12281         * BufferView_pimpl.h:
12282         * BufferView_pimpl.C: move bogus scrolling logic
12283           to xforms
12284
12285 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12286
12287         * lyxfunc.C:
12288         * BufferView_pimpl.C: view->resize() change
12289
12290 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12291
12292         * BufferView_pimpl.C: topCursorVisible
12293           prototype change
12294
12295 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12296
12297         * Makefile.am:
12298         * lyx_gui.h:
12299         * lyx_gui.C: move to frontends/
12300
12301         * main.C:
12302         * lyx_main.h:
12303         * lyx_main.C: changes from above
12304
12305 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12306
12307         * intl.C:
12308         * intl.h:
12309         * kbmap.C:
12310         * kbsequence.C:
12311         * lyx_cb.C:
12312         * lyx_main.C: minor tidy
12313
12314 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * BufferView_pimpl.h:
12317         * BufferView_pimpl.C:
12318         * BufferView.h:
12319         * BufferView.C: make painter() const,
12320           remove dead code
12321
12322         * BufferView2.C: use screen() accessor
12323
12324         * lyx_main.h:
12325         * lyx_main.C: some minor cleanup
12326
12327 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * BufferView_pimpl.h:
12330         * BufferView_pimpl.C: remove enter/leaveView,
12331           use workHeight()
12332
12333 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * BufferView.h:
12336         * BufferView.C:
12337         * BufferView2.C:
12338         * BufferView_pimpl.h:
12339         * BufferView_pimpl.C: only construct screen once,
12340           rename
12341
12342         * lyxrc.C: remove pointless comment
12343
12344 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * BufferView.h:
12347         * BufferView.C: remove active() and belowMouse()
12348
12349         * BufferView_pimpl.h:
12350         * BufferView_pimpl.C: use workarea() not workarea_,
12351           and make it use a scoped_ptr instead
12352
12353 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12354
12355         * lyx_gui.C: add debug message on BadWindow
12356
12357 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * sp_spell.C: fdopen is not part of the C++ standard.
12360
12361         * paragraph.C (InsetIterator): use >= instead of ==
12362
12363 2002-06-07  Angus Leeming  <leeming@lyx.org>
12364
12365         Fixes needed to compile with Compaq cxx 6.5.
12366         * BufferView_pimpl.C:
12367         * DepTable.C:
12368         * buffer.C:
12369         * converter.C:
12370         * encoding.C:
12371         * lyx_gui.C:
12372         * lyx_main.C:
12373         * lyxtextclasslist.C:
12374         * minibuffer.C:
12375         * sp_spell.C:
12376         * tabular_funcs.C:
12377         * vc-backend.C:
12378         all c-library variables have been moved into namespace std. Wrap
12379         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12380
12381         * lyxlength.C:
12382         * tabular-old.C:
12383         * tabular.C:
12384         Add a using std::abs declaration.
12385
12386         * kbmap.h (modifier_pair):
12387         * paragraph.h (InsetTable, InsetList):
12388         * lyxfont.h (FontBits):
12389         type definition made public.
12390
12391         * bufferlist.C (emergencyWriteAll): the compiler complains that
12392         there is more than one possible lyx::class_fun template to choose from.
12393         I re-named the void specialisation as lyx::void_class_fun.
12394
12395         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12396
12397         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12398         the compiler is is unable to find tostr in write_attribute.
12399
12400 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12401
12402         * buffer.C (sgmlError): hide #warning
12403
12404 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12405
12406         * xtl/*: get rid of xtl, which is not in use anyway
12407
12408         * LyXAction.C (init):
12409         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12410         were unimplemented xtl experimentation
12411
12412 2002-06-04  André Pönitz <poenitz@gmx.net>
12413
12414         * lyxfunc.C: disable array operation on simple formulae
12415
12416 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12417
12418         * converter.C: constify a bit
12419
12420 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * lyx_gui.C: check xforms version correctly
12423
12424 2002-04-30  Herbert Voss  <voss@lyx.org>
12425
12426         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12427         "keep" option
12428
12429 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12432           attempt to register it with a VCS)
12433
12434 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12435
12436         * lyx_main.C (init): honor variables LYX_DIR_13x and
12437         LYX_USERDIR_13x
12438
12439 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12440
12441         * buffer.h:
12442         * buffer.C:
12443         * lyx_main.C: fix a crash on bad command line,
12444           and give a useful exit status on error
12445
12446         * lyxfunc.C (doImport): allow -i lyx to work
12447
12448 2002-03-30  André Pönitz <poenitz@gmx.net>
12449
12450         * lyxfunc.C: mathed font changes
12451
12452 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * LaTeX.C:
12455         * importer.h:
12456         * importer.C:
12457         * lyx_sty.h:
12458         * lyx_sty.C:
12459         * lyxlex.C:
12460         * lyxrow.h:
12461         * lyxtext.h:
12462         * paragraph.h:
12463         * paragraph.C:
12464         * texrow.h:
12465         * texrow.C:
12466         * text.C:
12467         * trans_mgr.h: srcdocs, and some minor cleanups
12468
12469 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12470
12471         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12472         call getFont all the time)
12473
12474 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12475
12476         * switch from SigC signals to boost::signals
12477
12478 2002-05-29  André Pönitz <poenitz@gmx.net>
12479
12480         * paragraph_pimpl.C (getChar): don't call size() too often...
12481
12482 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12483
12484         * paragraph_pimpl.C (insertChar): do not try to update tables when
12485         appending (pos == size())
12486
12487         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12488         in order to reduce drastically the number of comparisons needed to
12489         parse a large document
12490
12491 2002-05-29  André Pönitz <poenitz@gmx.net>
12492
12493         * text.C:
12494         * text2.C:
12495         * lyxtextclass.C:
12496         * sp_pspell.h:
12497         * textclasslist.[Ch]:
12498         * sp_ispell.h: whitespace change
12499
12500 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12501
12502         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12503         lyxaction directly now.
12504
12505 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * trans.C:
12508         * lyxfont.C:
12509         * lyxvc.C: remove unused headers
12510
12511 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12512
12513         * Makefile.am:
12514         * buffer.h:
12515         * undostack.h:
12516         * undostack.C:
12517         * undo_funcs.h:
12518         * undo_funcs.C: some cleanups. Use shared_ptr
12519           and a template for the undo stacks.
12520
12521 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * BufferView_pimpl.h:
12524         * BufferView_pimpl.C:
12525         * kbmap.h:
12526         * kbmap.C:
12527         * kbsequence.h:
12528         * kbsequence.C:
12529         * lyxfunc.h:
12530         * lyxfunc.C:
12531         * text2.C: use key_state/mouse_state
12532
12533 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12534
12535         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12536         and LSubstring
12537
12538         * chset.C: change include order
12539         (loadFile): use boost regex and get rid of LRegex and LSubstring
12540
12541         * Makefile.am (BOOST_LIBS): new variable
12542         (lyx_LDADD): use it
12543
12544         * LaTeX.C: change include order.
12545         (scanAuxFile): use boost regex and get rid of LRegex and
12546         LSubstring
12547         (deplog): ditto
12548
12549 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * ColorHandler.h:
12552         * ColorHandler.C:
12553         * FontInfo.h:
12554         * FontInfo.C: moved to frontends/xforms/
12555
12556         * FontLoader.h:
12557         * FontLoader.C: moved into frontends for GUIIzation
12558
12559         * Makefile.am:
12560         * lyx_gui.C:
12561         * lyxfont.C:
12562         * lyxfunc.C: changes from above
12563
12564 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * LColor.C: remove spurious X include
12567
12568         * BufferView_pimpl.C:
12569         * Makefile.am:
12570         * font.h:
12571         * font.C:
12572         * text.C:
12573         * text2.C: move font metrics to frontends/
12574
12575 2002-05-24  Juergen Vigna  <jug@sad.it>
12576
12577         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12578         setting the undo_cursor.
12579
12580         * ParagraphParameters.h: include local includes first.
12581
12582 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12583
12584         * BufferView_pimpl.C:
12585         * BufferView_pimpl.h:
12586         * Makefile.am:
12587         * WorkArea.h:
12588         * WorkArea.C:
12589         * screen.C: move WorkArea into frontends/
12590
12591         * lyxscreen.h:
12592         * screen.C:
12593         * text.C:
12594         * BufferView.C:
12595         * BufferView2.C: move LyXScreen into frontends/
12596
12597         * lyxlookup.h:
12598         * lyxlookup.C:
12599         * lyx_gui.C: move lyxlookup into frontends/xforms/
12600
12601 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12602
12603         * BufferView2.C:
12604         * BufferView_pimpl.C:
12605         * FontLoader.C:
12606         * LyXView.h:
12607         * LyXView.C:
12608         * Makefile.am:
12609         * WorkArea.C:
12610         * XFormsView.h:
12611         * XFormsView.C:
12612         * buffer.C:
12613         * bufferlist.C:
12614         * bufferview_funcs.C:
12615         * converter.C:
12616         * importer.C:
12617         * lyx_cb.C:
12618         * lyx_gui.C:
12619         * lyx_main.C:
12620         * lyx_find.C:
12621         * lyxfunc.C:
12622         * lyxvc.C:
12623         * minibuffer.C:
12624         * text.C:
12625         * text2.C:
12626         * trans.C:
12627         * vc-backend.C: move LyX/XFormsView into frontends/
12628
12629 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12630
12631         * Makefile.am:
12632         * PainterBase.C:
12633         * PainterBase.h:
12634         * Painter.C:
12635         * Painter.h:
12636         * WorkArea.C:
12637         * WorkArea.h:
12638         * screen.C:
12639         * tabular.C:
12640         * text.C:
12641         * text2.C: move Painter to frontends/
12642
12643 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * buffer.C: comment out some some code that depend upon lyx_format
12646         < 220
12647
12648         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12649         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12650
12651         * buffer.h (NO_COMPABILITY): turn off compability
12652
12653         * ColorHandler.C: include scoped_array.hpp
12654
12655         * font.C: Use more specific smart_ptr header.
12656         * Painter.C: ditto
12657         * gettext.C: ditto
12658         * ShareContainer.h: ditto
12659         * lyx_main.h: ditto
12660         * kbmap.h: ditto
12661         * FontInfo.h: ditto
12662         * BufferView_pimpl.h: ditto
12663         * ColorHandler.h: ditto
12664
12665         * kbmap.C (defkey): change call to shared_ptr::reset
12666
12667 2002-05-21  Juergen Vigna  <jug@sad.it>
12668
12669         * buffer.C (insertErtContents): fix to insert ert asis if it is
12670         non empty. Skip it completely if it contains only whitespaces.
12671
12672 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * BufferView_pimpl.C:
12675         * BufferView2.C: clear selection on paste (bug 393)
12676
12677 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * DepTable.C: include ctime
12680
12681 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12682
12683         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12684
12685 2002-05-14  Juergen Vigna  <jug@sad.it>
12686
12687         * text.C (breakParagraph): fixed function to honor the keepempty
12688         layout in the right maner and also to permit the right breaking
12689         algorithm on empty or non empyt keepempty paragraphs.
12690
12691         * paragraph.C (breakParagraph): we have to check also if the par
12692         is really empty (!size()) for isempty otherwise we do the wrong
12693         paragraph break.
12694
12695 2002-05-10  Juergen Vigna  <jug@sad.it>
12696
12697         * buffer.[Ch] : The following are only changes to the ert
12698         compatibility read reading old LaTeX layout and font stuff and
12699         convert it to ERTInsets.
12700
12701         * buffer.h: added isErtInset().
12702
12703         * buffer.C (struct ErtComp): add a fromlayout bool to check
12704         if we're inside a LaTeX layout.
12705         (isErtInset): new helper function.
12706         (insertErtContents): look for other ert insets before this one
12707         and insert the contents there, so that we don't have subsequent
12708         ERT insets with nothing between them. This way we create only one
12709         inset with multiple paragraphs. Also check if we don't insert only
12710         spaces ' ' as they are ignored anyway afterwards in the .tex file
12711         so if we have only spaces we will ignore this latex part in the
12712         new file.
12713         (parseSingleLyXformat2Token \\layout): better compatibility when
12714         reading layout-latex stuff.
12715         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12716         language tag.
12717         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12718         stuff after reading the inset only get the information back from
12719         the stack.
12720
12721 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12722
12723         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12724
12725         * LaTeXFeatures.C (getBabelOptions): New method.
12726
12727 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * BufferView_pimpl.C (Dispatch): work around missing argument for
12730         'layout'
12731
12732 2002-05-08  Juergen Vigna  <jug@sad.it>
12733
12734         * text.C (leftMargin): handle paragraph leftindent.
12735
12736         * paragraph.C (writeFile): write the new \\leftindent tag.
12737         (validate): handle leftindent code.
12738         (TeXEnvironment): handle paragraphleftindent code again.
12739
12740         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12741
12742         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12743         for paragrap_extra indent code and new token \\leftindent.
12744         (latexParagraphs): handle the leftindent as environment.
12745
12746         * ParameterStruct.h: added leftindent support.
12747
12748         * ParagraphParameters.C (leftIndent): added support functions for
12749         the paragraph left indent.
12750
12751         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12752         more appropriate.
12753
12754 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12755
12756         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12757         inside insetERT.
12758
12759         * text.C (computeBidiTables): No bidi in insetERT.
12760
12761         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12762         in RTL documents.
12763
12764 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12765
12766         * version.C.in: pre 5
12767
12768 2002-05-02  José Matos  <jamatos@fep.up.pt>
12769         * buffer.C (makeDocBookFile): white space changes, add newline to
12770         command styles.
12771         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12772
12773         * tabular.C (docBook): fix typo.
12774
12775 2002-05-03  Juergen Vigna  <jug@sad.it>
12776
12777         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12778         change in LyXText as we can not be sure it was not freed.
12779         (drawOneRow): remove unused code.
12780
12781         * text.C (drawInset): redo the calculation of the need_break_row as
12782         it could have a row which was already freed.
12783         (draw): look at the return value of drawInset and return false if
12784         it also returned false.
12785         (paintRowText): look at the return value of draw and return false if
12786         it also returned false.
12787
12788         * lyxtext.h: added bool return type to drawInset() and draw() so that
12789         if we have a change in the row so that the rowbreak has to be redone
12790         we abort drawing as it will be called again.
12791
12792 2002-05-02  Juergen Vigna  <jug@sad.it>
12793
12794         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12795         a change in the maintext also if we're inside an inset.
12796         (Dispatch): set the cursor again after a break line and after the
12797         screen has been updated as it could be we're in a different row.
12798
12799         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12800         to set the cursor behind the pargraph with > size().
12801         (setCursor): check also for the same paragraph when checking where
12802         to put the cursor if we have a NFR inset.
12803
12804         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12805         parts of layout read further up as it still was in the wrong
12806         position.
12807
12808 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * screen.C (drawFromTo): change sine fullRebreak always return
12811         true.
12812
12813         * buffer.C (parseSingleLyXformat2Token): reindent some
12814
12815         * BufferView_pimpl.C (update): change since fullRebreak always
12816         return true.
12817         (Dispatch): git rid of the last hardcoded "Standard"s.
12818
12819 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12820
12821         * text2.[Ch] (fullRebreak): make it return void now that we always
12822         returned true.
12823
12824 2002-04-30  Juergen Vigna  <jug@sad.it>
12825
12826         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12827         ert compatibility check for "latex" layout.
12828
12829 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12830
12831         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12832         minipages: use col% instead of p%, and also use the current font.
12833         (makeLaTeXFile): Fix use babel condition.
12834         (parseSingleLyXformat2Token): Correct font when reading old floats.
12835
12836 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12837
12838         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12839         inserting list of floats.
12840
12841 2002-04-25  Herbert Voss  <voss@lyx.org>
12842
12843         * MenuBackend.C (expand): don't add the graphics extensions to the
12844         export menu
12845
12846 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12847
12848         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12849         non-existing layout, do not complain if it was the default layout
12850         of the original class (bug #342)
12851
12852 2002-04-24  Juergen Vigna  <jug@sad.it>
12853
12854         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12855         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12856
12857 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12858
12859         * buffer.C (getBibkeyList): If using \bibliography, return the
12860         option field with the reference itself. Enables us to provide natbib
12861         support when using \bibliography.
12862
12863 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12864
12865         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12866
12867         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12868         natbib is provided by the LaTeX class.
12869
12870 2002-04-23  Juergen Vigna  <jug@sad.it>
12871
12872         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12873         Wakeup functions.
12874
12875         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12876
12877 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12878
12879         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12880
12881         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12882         ensuremath around textordmasculine, textordfeminine and
12883         textdegree.
12884
12885 2002-04-19  Juergen Vigna  <jug@sad.it>
12886
12887         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12888         reinitializing the buffer otherwise row-dimensions may be wrong.
12889         (update): reset also the selection cursors if they do exits otherwise
12890         their x/y positions may be wrong.
12891
12892         * text2.C (cursorDown): don't enter the inset if we came from a row
12893         above and are one row over the inset.
12894
12895         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12896         really leaving an inset.
12897
12898 2002-04-18  Juergen Vigna  <jug@sad.it>
12899
12900         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12901         of the selected paragraph does not have the selected layout also if
12902         the last one had!
12903
12904         * text2.C (setLayout): fixed bug which did not change last selected
12905         paragraph.
12906
12907         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12908         changed the read and substituted \\end_float with \\end_inset!
12909
12910         * BufferView_pimpl.C (cursorPrevious):
12911         (cursorNext): fixed to make it work with rows heigher than the work
12912         area without moving the cursor only the draw of the row.
12913         (workAreaMotionNotify): fix jumping over high rows.
12914
12915 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12918         Ressler.
12919
12920 2002-04-16  Juergen Vigna  <jug@sad.it>
12921
12922         * text2.C (setCursor): set also the irow().
12923         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12924         (cursorUp):
12925         (cursorDown): support for locking an inset if the x_fix value goes
12926         inside it. That way I can transverse insets too with cursor up/down.
12927
12928         * lyxrow.h: added irow helper function same as other (i) functions.
12929
12930         * BufferView_pimpl.C (cursorPrevious):
12931         (cursorNext): fixed for insets!
12932
12933 2002-04-15  Juergen Vigna  <jug@sad.it>
12934
12935         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12936         position otherwise it is wrong in some cases.
12937
12938         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12939         inside the inset before the call.
12940
12941 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12942
12943         * buffer.[Ch] (getBibkeyList): make it const.
12944
12945 2002-04-12  Juergen Vigna  <jug@sad.it>
12946
12947         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12948
12949         * text2.C (getCursorX): new helper function
12950         (setCursor): compute also ix_
12951         (setCursorFromCoordinates): set also ix.
12952
12953         * lyxcursor.h: added ix_ and helper functions.
12954
12955         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12956
12957         * buffer.C (insertStringAsLines): dont break paragraph if the this
12958         paragraph is inside an inset which does not permit it!
12959
12960         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12961         also with no chars on this paragraph.
12962         (paintRowText): only paint stuff if it's inside the workarea!
12963
12964         * paragraph.C (breakParagraph): honor keepempty flag and break the
12965         paragraph always below not above.
12966
12967         * BufferView2.C (unlockInset): update the paragraph layout on inset
12968         unlock as we changed paragraph in such a case.
12969
12970         * lyxfind.C (LyXFind): clear the former selection if not found!
12971
12972         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12973         again called in insertChar().
12974
12975         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12976         an inset which uses the whole row!
12977         (rightMargin): ditto.
12978         (insertChar): force a rebreak if we inserted an inset!
12979
12980 2002-03-28  Herbert Voss  <voss@lyx.org>
12981
12982         * lyxlength.[Ch]: add inBP() to get the right PS-point
12983         units (BigPoint). With inPixels we have rounding errors
12984
12985 2002-04-11  Juergen Vigna  <jug@sad.it>
12986
12987         * text2.C (setCursorFromCoordinates): set iy to the right value.
12988         (setCursor): add check if row->previous exists!
12989
12990         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12991         an old float_type as this was the case in the old code!
12992
12993         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12994
12995         * BufferView2.C (showLockedInsetCursor): use iy
12996         (fitLockedInsetCursor): ditto
12997
12998         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12999         locked insets as there we have the right value now.
13000
13001         * lyxcursor.C: added iy_ variable and iy functions to set to the
13002         baseline of cursor-y of the locked inset.
13003
13004         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13005         (setCursor): fixed for insets which need a full row.
13006
13007         * text.C (rowLastPrintable): don't ignore the last space when before
13008         an inset which needs a full row.
13009         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13010         as last character of a row when before a inset which needs a full row.
13011
13012 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13013
13014         * version.C.in: update date
13015
13016         * text2.C (fullRebreak): try to always return true and see what
13017         happens...
13018
13019 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13020
13021         * MenuBackend.C (expand): use Floating::listName
13022
13023         * FloatList.C (FloatList): add listName argument to the built-in
13024         floats
13025
13026         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13027         text associated with the float.
13028
13029 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13030
13031         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13032
13033 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13034
13035         * ShareContainer.h: add a couple of missing typenames.
13036
13037 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13038
13039         * lyxrc.C (getDescription): use _() correctly rather than N_().
13040
13041 2002-03-28  Herbert Voss  <voss@lyx.org>
13042
13043         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13044         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13045
13046 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13047
13048         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13049         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13050
13051 2002-03-29  Juergen Vigna  <jug@sad.it>
13052
13053         * lyxfunc.C (dispatch): add a missing fitCursor call.
13054
13055         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13056         it was scrolled by a cursor move, so return the bool status.
13057
13058         * BufferView.C (fitCursor): return the bool flag also to the outside
13059         world as this is needed.
13060
13061         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13062
13063         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13064         call the edit() as it is not needed (and wrong) IMO.
13065         (workAreaButtonPress): set the screen_first variable before evt.
13066         unlock the inset as this may change screen_first and then we have
13067         a wrong y position for the click!
13068
13069 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13070
13071         * MenuBackend.C (expand): another translation that I missed
13072
13073 2002-03-28  Juergen Vigna  <jug@sad.it>
13074
13075         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13076
13077         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13078
13079 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13080
13081         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13082
13083         * MenuBackend.C (expand): fix export/view/update when there is no
13084         document open.
13085
13086 2002-03-27  Herbert Voss  <voss@lyx.org>
13087
13088         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13089         and text%
13090
13091 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13092
13093         * bufferview_funcs.C (currentState): only show paragraph number
13094         for is DEVEL_VERSION is set.
13095
13096         * lyxfunc.C (dispatch): put warning in INFO channel
13097
13098         * MenuBackend.C (expand): translate the name of floats
13099
13100         * FloatList.C (FloatList): mark the float names for translation
13101
13102         * converter.C (convert): use LibScriptSearch
13103
13104 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13105
13106         * MenuBackend.C (defaults): fix default menu (we might as well get
13107         rid of it...)
13108
13109 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13112         directory.
13113
13114 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13115
13116         * lyxvc.C: reorder includes.
13117
13118 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13119
13120         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13121           properly
13122
13123 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13124
13125         * CutAndPaste.C: change layouts earlier on paste
13126           to avoid crashing when calling getFont()
13127
13128 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13129
13130         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13131         irritating #error.
13132
13133 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * WorkArea.C: remove 'Pending' debug message.
13136
13137         * most files: ws cleanup
13138
13139         * buffer.[Ch]: ws changes
13140
13141         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13142
13143 2002-03-21  Juergen Vigna  <jug@sad.it>
13144
13145         * tabular.C (SetMultiColumn): collapse also the contents of the
13146         cells and set the last border right. Added a Buffer const * param.
13147
13148 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13149
13150         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13151         linking or not.
13152
13153 2002-03-19  Juergen Vigna  <jug@sad.it>
13154
13155         * text2.C (clearSelection): reset also xsel_cache.
13156
13157         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13158         where it needs to be called (John tells us to do so too :)
13159         (selectionLost): reset sel_cache.
13160
13161         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13162
13163 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13164
13165         * text2.C (setCursorIntern): put debuging code in INSETS channel
13166
13167 2002-03-19  André Pönitz <poenitz@gmx.net>
13168
13169         * lyxfunc.C: tiny whitespace change
13170
13171 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13172
13173         * ToolbarDefaults.C (init):
13174         * LyXAction.C (init):
13175         * commandtags.h:
13176         * BufferView_pimpl.C (Dispatch):
13177         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13178
13179 2002-03-19  Allan Rae  <rae@lyx.org>
13180
13181         * exporter.C (Export): removeAutoInsets before doing anything else.
13182         While I've just introduced a dependency on BufferView this really is
13183         the best place to clean the buffer otherwise you need to cleanup in
13184         a dozen places before calling export or cleanup in a dozen functions
13185         that export calls.
13186
13187         * converter.C (runLaTeX):
13188         (scanLog): Better handling of removeAutoInsets and screen updates.
13189
13190         * lyxfunc.C (dispatch): small whitespace changes
13191
13192 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13193
13194         * WorkArea.C (C_WorkAreaEvent): return a value.
13195         (event_cb): return 1 if we handled the event, 0 otherwise.
13196
13197         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13198
13199 2002-03-18  Juergen Vigna  <jug@sad.it>
13200
13201         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13202         (GetAdditionalWidth): ditto.
13203         (RightLine): ditto.
13204         (LeftLine): ditto.
13205
13206         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13207         inset if we're there actually (probably not used right now but this
13208         is the direction to go for unifying code).
13209         (paste): disable code to clear the selection.
13210
13211         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13212         inside an InsetText and move the check further up as it is in the
13213         wrong place.
13214
13215         * text2.C (pasteSelection): set a selection over the pasted text.
13216
13217 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13218
13219         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13220         and libgraphics to build on Cygwin.
13221
13222 2002-03-15  Juergen Vigna  <jug@sad.it>
13223
13224         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13225         inserting an Inset into the paragraph. I know this is not the best
13226         fix but we already use current_view in CutAndPaste so we will remove
13227         all of it's using at the same time.
13228
13229         * buffer.C (sgmlError): deactivated function till it is rewritten in
13230         the right mode, now it can create problems.
13231
13232         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13233         before accessing it.
13234
13235 2002-03-14  Juergen Vigna  <jug@sad.it>
13236
13237         * undo_funcs.C (textHandleUndo): do the right thing when updating
13238         the inset after the undo/redo.
13239
13240         * text2.C (setCursor): just some testcode for #44 not ready yet.
13241
13242         * undo_funcs.C (textHandleUndo): set the next() and previous()
13243         pointers of the paragraph to 0 before deleting otherwise we have
13244         problems with the Paragraph::[destructor].
13245
13246         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13247         on a paragraph insertion.
13248
13249 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13250
13251         * buffer.C (asciiParagraph): use += operator for char append to
13252         string.
13253
13254         * paragraph.C (getFontSettings): compare >= not just >
13255         (highestFontInRange): ditto
13256         (setFont): ditto
13257
13258 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13259
13260         * paragraph.C: change several algorithm to be more appripriate for
13261         the problem domain. This is lookip in FontList and in the InsetList.
13262
13263 2002-03-13  André Pönitz <poenitz@gmx.net>
13264
13265         * commandtags.h:
13266         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13267
13268 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13269
13270         * commandtags.h:
13271         * LyXAction.C:
13272         * lyxfunc.C:
13273         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13274
13275 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13276
13277         * Painter.C (display): anon helper function, adjust code for this
13278         change.
13279         (pixmap): remove function.
13280
13281         * Painter.h: remove private display variable.
13282
13283         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13284
13285 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13286
13287         * WorkArea.[Ch]: remove figinset_canvas cruft.
13288
13289 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13290
13291         * lyxtextclass.C (operator): add one item cache optimization.
13292
13293         * bufferlist.h: doxy changes
13294
13295         * bufferlist.C: ws changes
13296
13297         * DepTable.[Ch] (ext_exist): place const in the right spot.
13298
13299         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13300         call resizeInsets.
13301         (workAreaExpose): call resizeInsets when the with BufferView changes.
13302         (Dispatch): adjust for protectedBlank removal
13303         (specialChar): call updateInset if the insert went ok.
13304
13305         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13306         specialChar instead.
13307
13308         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13309
13310         * BufferView.h: doxy change
13311
13312         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13313
13314         * lyxtextclass.C (operator[]): remove non-const version
13315         (defaultLayout): remove non-const version
13316
13317 2002-03-12  Juergen Vigna  <jug@sad.it>
13318
13319         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13320         did resize the LyXText too.
13321
13322         * buffer.C (readLyXformat2): set layout information on newly allocated
13323         paragraphs.
13324
13325         * tabular.C (OldFormatRead): set layout information on the paragraph.
13326
13327 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13328
13329         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13330
13331 2002-03-11  Juergen Vigna  <jug@sad.it>
13332
13333         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13334         plainly wrong.
13335         (resizeCurrentBuffer): force also the insets to resize themselfes.
13336         (moveCursorUpdate): fixed up for InsetText.
13337
13338 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13339
13340         * commandtags.h:
13341         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13342         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13343         value of Dialogs::tooltipsEnabled().
13344         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13345
13346 2002-03-08  Juergen Vigna  <jug@sad.it>
13347
13348         * BufferView_pimpl.C (updateInset): update inset inside inset also
13349         if it isn't inside theLockingInset().
13350
13351 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * buffer.C (asciiParagraph): redo some of the word and line length
13354         handling.
13355         (getLists): look for Caption instead of caption.
13356
13357 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13358
13359         * buffer.C (Buffer): initialize niceFile to true
13360         (makeLaTeXFile):
13361         (makeLinuxDocFile):
13362         (makeDocBookFile): make sure niceFile is true on exit
13363
13364 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13365
13366         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13367
13368 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13369
13370         * LyXSendto.C: remove.
13371         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13372         * lyx_gui.C: remove now-redundant comment.
13373         * ColorHandler.h: remove forward declaration of class WorkArea.
13374         * lyxfunc.C: remove #include "WorkArea.h".
13375
13376 2002-03-07  Juergen Vigna  <jug@sad.it>
13377
13378         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13379         got moved away with the DEPM and also set the inset_owner always
13380         right which before could have been omitted.
13381
13382 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13383
13384         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13385         wanted layout is not found.
13386
13387 2002-03-07  Juergen Vigna  <jug@sad.it>
13388
13389         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13390
13391 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13392
13393         * paragraph.C (breakParagraph): use default layout not layout of
13394         prev paragraph.
13395         (Paragraph): clear ParagraphParameters.
13396
13397 2002-03-06  Juergen Vigna  <jug@sad.it>
13398
13399         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13400         otherwise it would not be a valid lenght. Fixed a special case in
13401         the minipage compatibility read where we end the document with a
13402         minipage.
13403
13404         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13405         was set as it could be 0 for InsetTexts first entry.
13406
13407 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13408
13409         * paragraph.C (writeFile): if layout is empty write out
13410         defaultLayoutName().
13411
13412         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13413         file without named layout we set layout to defaultLayoutName().
13414
13415 2002-03-06  Juergen Vigna  <jug@sad.it>
13416
13417         * CutAndPaste.C (copySelection): set layout for new paragraph.
13418
13419         * text.C (prepareToPrint): leave ERT inset left aligned
13420         (leftMargin): don't indent paragraphs inside ERT insets
13421
13422 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13423
13424         * paragraph.C (breakParagraph): dont call clear do the work manually
13425
13426         * paragraph.[Ch] (clear): remove function
13427
13428 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * paragraph.C (Paragraph): dont call clear, the work has already
13431         been done.
13432
13433         * lyxtextclass.C (operator): assert if n is empty
13434
13435         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13436         work manually instead.
13437
13438 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13439
13440         * BufferView_pimpl.C: protect selectionLost against text == 0
13441
13442 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13443
13444         * text.C (breakParagraph): fix a setting layout to '0' problem.
13445
13446 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13447
13448         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13449         final location of file, for the included files, and graphics.
13450
13451 2002-03-05  Juergen Vigna  <jug@sad.it>
13452
13453         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13454
13455 2002-03-04  Juergen Vigna  <jug@sad.it>
13456
13457         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13458
13459         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13460         last column of multicolumn cells.
13461         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13462
13463 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13464
13465         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13466         file if it doesn't go to a temporary file.
13467
13468         * buffer.C (sgmlOpenTag):
13469         (sgmlCloseTag):  remove extra newline insertion.
13470
13471 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13472
13473         * text.C (getRowNearY): comment out debug msg
13474
13475 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * text2.C: first -> first_y
13478
13479         * text.C (getRowNearY): add some attemts at a possible
13480         optimization, not working.
13481
13482         * tabular.[Ch]: add BufferParams to several function so that newly
13483         created paragraph can be initialized to he default layotu for the
13484         buffers textclass.
13485
13486         * tabular-old.C (ReadOld): add buf->params to call of Init
13487
13488         * screen.C: rename text->first to text->first_y
13489
13490         * paragraph.C (breakParagraph): always set layout in the broken
13491         paragraph
13492
13493         * lyxtextclass.C (Read): remove lowercase
13494         (hasLayout): ditto
13495         (operator): ditto
13496         (delete_layout): ditto
13497
13498         * lyxtext.h: rename first -> first_y
13499
13500         * lyxlayout.C (Read): remove lowercase
13501         (name): ditto
13502         (setName): ditto
13503         (obsoleted_by): ditto
13504
13505         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13506
13507         * buffer.C (insertErtContents): add params are to InsetERT
13508         (parseSingleLyXformat2Token): add code to check if a paragraphs
13509         layout really exist.
13510         (parseSingleLyXformat2Token): add params to several inset
13511         constructors
13512         (asciiParagraph): remove lowercase, do the layout comparisons with
13513         no_case
13514
13515         * BufferView_pimpl.C (cursorNext): first -> first_y
13516         (resizeCurrentBuffer): first -> first_y
13517         (updateScrollbar): first -> first_y
13518         (scrollCB): first -> first_y
13519         (workAreaMotionNotify): first -> first_y
13520         (workAreaButtonPress): first -> first_y
13521         (checkInsetHit): first -> first_y
13522         (cursorPrevious): first -> first_y
13523         (cursorNext): first -> first_y
13524         (Dispatch): add buffer_->params to severl inset contructors
13525
13526 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * lyxlayout.C (Read): remove some debug info that I forgot.
13529
13530         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13531         clean up the code slightly.
13532         (makeLinuxDocFile): ditto
13533         (makeDocBookFile): ditto
13534
13535         * text2.C: layout as string
13536
13537         * text.C: layout as string
13538
13539         * paragraph_pimpl.C: layout as string
13540
13541         * paragraph.[Ch]: layout as string
13542
13543         * lyxtextclasslist.[Ch]: layout as string
13544
13545         * lyxtextclass.[Ch]: layout as string
13546
13547         * lyxtext.h: layout as string
13548
13549         * lyxlayout.[Ch]: layout as string
13550
13551         * lyx_cb.C: layout as string
13552
13553         * bufferview_funcs.C: layout as string
13554
13555         * bufferparams.C: layout as string
13556
13557         * buffer.C: layout as string
13558
13559         * LyXView.[Ch]: layout as string
13560
13561         * LaTeXFeatures.[Ch]: layout as string
13562
13563         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13564
13565         * BufferView_pimpl.C: change current_layout to string, remove
13566         lyx::layout_type.
13567         (Dispatch):
13568         (smartQuote):
13569         (insertInset):
13570         (workAreaButtonRelease): layout as string
13571
13572         * BufferView2.C (unlockInset): adjust
13573
13574         * vspace.C (asLatexCommand): use an explict temp variable.
13575
13576 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13577
13578         * Makefile.am: use FRONTEND_*
13579
13580 2002-03-01  Juergen Vigna  <jug@sad.it>
13581
13582         * tabular.C (SetWidthOfMulticolCell): changed to something better
13583         I hope but still work in progress.
13584         (recalculateMulticolumnsOfColumn): renamed function from
13585         recalculateMulticolCells as it is more appropriate now.
13586         (SetWidthOfCell): calculate multicols better.
13587
13588 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13589
13590         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13591
13592         * lyxfunc.C (processKeySym): print sequence also if it is
13593         `deleted' (complete)
13594
13595         * kbsequence.C (print): print sequence even if it is deleted
13596         (complete would be a better word, actually).
13597
13598         * lyxfunc.C (dispatch): print complete options after a prefix key
13599
13600         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13601
13602 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13603
13604         * text2.C (setCharFont): eliminate setCharFont code duplication.
13605
13606 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13607
13608         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13609         LFUN_TABULAR_FEATURE (bug #177)
13610
13611 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13612
13613         * Makefile.am: remove figure.h
13614
13615 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13616
13617         * Bufferview_pimpl.C:
13618         * CutAndPasteC:
13619         * LaTeX.C:
13620         * LyXSendto.C:
13621         * buffer.C:
13622         * bufferlist.C:
13623         * converter.C:
13624         * language.C:
13625         * lyxfunc.C:
13626         * lyxvc.C:
13627         * paragraph.C:
13628         * text.C:
13629         * text2.C: remove #include "lyx_gui_misc.h".
13630
13631         * LaTeX.C: added #include <cstdio>
13632
13633 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13634
13635         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13636         that the paragraph following this one can have.
13637
13638         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13639
13640         * vspace.C (asLatexCommand): fix bogus gcc warning
13641
13642         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13643
13644 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13645
13646         * text2.C (setLayout): get rid of redundant code
13647
13648 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13649
13650         * text2.C (incDepth): make sure depth cannot be increased beyond
13651         reasonable values.
13652
13653 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13654
13655         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13656         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13657
13658         * PainterBase.h (image):
13659         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13660         a LyXImage const *.
13661
13662 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13663
13664         * BufferView.C:
13665         * BufferView.h:
13666         * BufferView_pimpl.C:
13667         * BufferView_pimpl.h:
13668         * LaTeXFeatures.C:
13669         * LyXAction.C:
13670         * LyXView.C:
13671         * Makefile.am:
13672         * UpdateList.h:
13673         * UpdateList.C:
13674         * buffer.C:
13675         * figure.h:
13676         * figureForm.C:
13677         * figureForm.h:
13678         * figure_form.C:
13679         * figure_form.h:
13680         * lyx_cb.C:
13681         * lyx_gui.C:
13682         * lyx_gui_misc.C:
13683         * lyxfunc.C:
13684         * sp_base.h:
13685         * sp_ispell.h:
13686         * sp_pspell.h:
13687         * sp_spell.C: remove fig inset, and the crap house of
13688           cards that follows it
13689
13690 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13691
13692         * Makefile.am:
13693         * lyxserver.C:
13694         * os2_defines.h:
13695         * os2_errortable.h:
13696         * nt_defines.h: move .h into support/
13697
13698         * vms_defines.h: remove
13699
13700         * WorkArea.C: add space in debug output
13701
13702         * text2.C:
13703         * paragraph.C:
13704         * buffer.C: add WITH_WARNINGS
13705
13706         * vc-backend.h:
13707         * vc-backend.C:
13708         * bufferlist.C: s/retrive/retrieve/, add docs
13709
13710         * vspace.h:
13711         * vspace.C:
13712         * kbmap.h:
13713         * lyxlength.h:
13714         * lyxgluelength.h:
13715         * length_common.h:
13716         * chset.h:
13717         * chset.C: add docs
13718
13719         * lyxgui.C: add ID to X error handler
13720
13721         * lyxtestclass.c: fix typo
13722
13723 2002-02-26  Juergen Vigna  <jug@sad.it>
13724
13725         * tabular_funcs.C (write_attribute): changed so that some default
13726         attributes are not written at all.
13727         (getTokenValue): set default values before trying to read the
13728         value so we have the return value always set as default if we don't
13729         find the token we search for.
13730
13731         * tabular.C (Write): write bools as bools not as strings!
13732
13733 2002-02-22  Juergen Vigna  <jug@sad.it>
13734
13735         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13736         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13737
13738         * text.C (leftMargin): don't add an indent for paragraphs inside
13739         tabular cells (fix #208).
13740
13741 2002-02-21  José Matos  <jamatos@fep.up.pt>
13742
13743         * tabular.C (docBook): fixed support for long tables.
13744
13745 2002-02-20  Juergen Vigna  <jug@sad.it>
13746
13747         * text2.C (getFont): get the drawing font of the Inset if this
13748         paragraph is inside an inset (only important for InsetERT for now).
13749
13750         * buffer.C (insertErtContents): use new lanugage params in ERT
13751         constructor.
13752
13753         * CutAndPaste.C: commenting out seemingly uneeded code.
13754
13755 2002-02-19  Allan Rae  <rae@lyx.org>
13756
13757         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13758         Iterators might be simple to use but they also get invalidated.
13759         (removeAutoInsets): renamed saved cursor tracking variables and added
13760         some comments to clarify what everything does.
13761
13762 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13763
13764         * Chktex.C:
13765         * LaTeX.C:
13766         * LyXSendto.C:
13767         * converter.C:
13768         * lyx_cb.C:
13769         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13770         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13771
13772         * lyxfunc.C:
13773         * vc-backend.h: remove #include "support/syscall.h"
13774
13775         * LaTeX.C:
13776         * LyXSendto.C:
13777         * converter.C: rearrange #includes in Lars' approved fashion.
13778
13779         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13780         forward declare class Timeout in the header file.
13781
13782         * XFormsView.C: changes due to the above.
13783
13784         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13785         similar to LyXView.
13786
13787         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13788         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13789
13790 2002-02-18  José Matos  <jamatos@fep.up.pt>
13791
13792         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13793         insets contents.
13794
13795 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13796
13797         * a lot of small ws changes
13798         * add a lot of using std::XXX
13799         * use std construcs some places where approp.
13800         * use some exisint stuff from lyxfunctional where approp.
13801         * Make file changes to use partial linking (lets test this now...)
13802
13803 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13804
13805         * Chktex.C:
13806         * buffer.C:
13807         remove #include "support/syscontr.h" as it's redundant. Always has been.
13808
13809         * Chktex.C:
13810         * LaTeX.C:
13811         * LyXSendto.C:
13812         * converter.C:
13813         * lyx_cb.C:
13814         * vc-backend.C:
13815         change Systemcalls::System to Systemcalls::Wait and
13816         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13817         No change of functionality, just reflects the stripped down Systemcalls
13818         class.
13819
13820 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13821
13822         * debug.[Ch]: add a GRAPHICS type to the enum.
13823
13824 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13825
13826         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13827
13828         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13829         there is an inset.
13830
13831 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13832
13833         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13834         match the changes below.
13835
13836         * text2.C (toggleInset): if there is not editable inset at cursor
13837         position, try to see if cursor is _inside_ a collapsable inset
13838         and close it.
13839
13840 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13841
13842         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13843         document menu has a nice checkbox
13844
13845 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13846
13847         * lyxlength.C (asLatexString): change PW to output as percent of
13848         \textwidth.
13849
13850         * lengthcommon.C: change '%' to 't%'
13851
13852         * lyxfunc.C (dispatch): a few comments from Martin
13853
13854 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13855
13856         * WorkArea.h:
13857         * WorkArea.C:
13858         * BufferView_pimpl.h:
13859         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13860           the X selection.
13861
13862 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13863
13864         * vspace.C (inPixels): fix compiler warning
13865
13866 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13867
13868         * lyxfunc.C (getStatus): fix status message for disabled commands.
13869
13870 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13871
13872         * BufferView_pimpl.C: fix crash on close buffer
13873         during selection (#227)
13874
13875 2002-01-27  Herbert Voss  <voss@lyx.org>
13876
13877         * buffer.C: link old Figure to new graphic inset
13878
13879 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13880
13881         * FontLoader.C (getFontinfo): Change the latex font names in order
13882         to match the names of type1inst.
13883
13884 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13885
13886         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13887
13888         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13889         (extchanged): ditto
13890         (ext_exist): ditto
13891         (remove_files_with_extension): ditto
13892         (remove_file): ditto
13893         (write): ditto
13894
13895         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13896         document is smaller than the work area height. Do not initialize
13897         static variables to 0.
13898
13899 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13900
13901         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13902
13903         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13904         LFUN_LAYOUT_PARAGRAPHS.
13905
13906         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13907         tabular. It is possible to provide a possible cell, which will
13908         typically be the actcell from the corresponding insettabular
13909
13910         * lyxfunc.C (getStatus): small cleanup; disable
13911         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13912         true
13913
13914 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13915
13916         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13917
13918         * paragraph.C (startTeXParParams):
13919         (endTeXParParams): new methods. The LaTeX code to
13920         start/end paragraph formatting
13921         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13922         empty (fixes bug #200)
13923
13924         * vspace.C (inPixels): adapt to the change below
13925         (inPixels): [later] more cleanups (remove unused variables)
13926
13927         * lyxlength.C (inPixels): change to use a width and a height as
13928         parameter.
13929
13930 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13931
13932         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13933         Replaced with \paperwidth
13934
13935         * DepTable.C (insert): add std:: qualifier
13936
13937 2002-01-18  Allan Rae  <rae@lyx.org>
13938
13939         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13940         updated also?
13941
13942         * text.C (drawInset): Turned out I didn't know enough about how
13943         rebreaking worked.  This fixes most of the redraw problems.  I see
13944         an occasional cursor trail when a line is broken now and the cursor
13945         placement can seem out by a few pixels also after a rebreak.
13946
13947 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13948
13949         * buffer.C (parseSingleLyXformat2Token): update because minipage
13950         width is now a LyXLength
13951
13952         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13953
13954         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13955         math insets
13956
13957 2002-01-17  Juergen Vigna  <jug@sad.it>
13958
13959         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13960
13961         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13962         is set correctly and the inset is updated correctly.
13963
13964 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13965
13966         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13967         the beginning of the loop.
13968
13969 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13970
13971         * lyxrc.C: improve help for use_scalable_fonts
13972
13973 2002-01-17  Allan Rae  <rae@lyx.org>
13974
13975         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13976
13977 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13978
13979         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13980         make sure to set their inset_owner to the right value (bug #171)
13981
13982 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13983
13984         * DepTable.h
13985         * DepTable.C: Implement mtime checking to reduce time spent doing
13986         CRCs.
13987
13988 2002-01-16  Juergen Vigna  <jug@sad.it>
13989
13990         * tabular.C (GetAdditionalHeight): one of error fixed.
13991
13992         * lyxrc.C (output): small fix in writing use_pspell.
13993
13994 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13995
13996         * sp_base.h: #include LString.h
13997
13998 2002-01-16  Allan Rae  <rae@lyx.org>
13999
14000         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14001         Can someone check this please?
14002
14003         * text.C (drawInset): It was possible that p.row would be removed by
14004         breakAgainOneRow upsetting a few other settings.  There may be another
14005         small tweak possible by setting need_break_row = 0 when p.row has been
14006         removed but I don't know enough about the logic here.
14007
14008 2002-01-15  Allan Rae  <rae@lyx.org>
14009
14010         * text.C (insertChar): removed conditional truism.
14011
14012         * BufferView2.C (removeAutoInsets): More tweaks.
14013         cur_par_prev could be a stray pointer.  Check for trailing empty line
14014         in case last line was cur_par and only had an error inset on it.
14015
14016 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14017
14018         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14019         absolute
14020
14021         * vc-backend.C (most methods):
14022         * exporter.C (Export):
14023         * converter.C (convert):
14024         (runLaTeX):
14025         * LyXSendto.C (SendtoApplyCB):
14026         * lyxfunc.C (dispatch):
14027         (menuNew):
14028         (open):
14029         (doImport):
14030         * lyx_cb.C (AutoSave):
14031         (InsertAsciiFile):
14032         * BufferView_pimpl.C (MenuInsertLyXFile):
14033         * buffer.C (runChktex): use Buffer::filePath().
14034
14035         * buffer.h: rename filename to filename_; rename filepath to
14036         filepath_ and make it private
14037         (filePath): new method
14038
14039         * buffer.C (writeFile): use fileName()
14040         (getLatexName):
14041
14042         * lyx_main.C (init): fix starting  of LyX when the binary is a
14043         link from so,ewhere else.
14044
14045         * minibuffer.C: include <cctype> for isprint
14046
14047 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14048
14049         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14050         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14051         name clash with InsetCollapsable's width function.
14052
14053 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14054
14055         * lastfiles.C: include <iterator>
14056
14057 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14058
14059         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14060         std::count.
14061
14062         * buffer.C (makeLaTeXFile): ditto.
14063         Also make loop operation more transparent.
14064
14065 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14066
14067         * ToolbarDefaults.C: remove trailing comma closing namespace.
14068
14069         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14070
14071         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14072         as in WorkArea.
14073
14074         * trans.C (Load): comment out unused variable, allowed.
14075
14076 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14077
14078         * minibuffer.[Ch] (append_char): new method to recieve input from the
14079         drop-down completion browser. If a key was pressed, then recieve this
14080         char and append it to the existing string.
14081         (peek_event): modify the positioning data passed to the completion
14082         browser so that it can be placed above the minibuffer rather than below.
14083 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14084
14085         * LyXAction.C (init): alloe error-next for readonly documents.
14086
14087         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14088         count.
14089
14090 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14091
14092         * bufferlist.C (readFile): create the buffer _after_ checking that
14093         the file exists.
14094
14095         * lyxfunc.C (verboseDispatch): fix handling of arguments
14096
14097         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14098
14099         * lyxrc.C: use string::erase() instead of initializing to "".
14100
14101
14102 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14103
14104         * BufferView_pimpl.h:
14105         * BufferView_pimpl.C:
14106         * WorkArea.h:
14107         * WorkArea.C:
14108         * text2.C: tell X when we have made a selection for copying
14109
14110 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14111
14112         * BufferView_pimpl.C (MenuInsertLyXFile):
14113         * lyxfunc.C (menuNew):
14114         (open):
14115         (doImport): add shortcuts to directory buttons
14116
14117         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14118         open a float)
14119
14120         * lyxfunc.C (setStatusMessage):
14121         (getStatusMessage): new methods
14122         (getStatus):use setStatusMessage instead of setErrorMessage
14123         (dispatch): when function is disabled, set error message here
14124         [instead of in getStatus previously]
14125
14126         * BufferView_pimpl.C (workAreaButtonRelease): update
14127         toolbar/menubar here too.
14128
14129 2002-01-13  Allan Rae  <rae@lyx.org>
14130
14131         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14132         Now seems indestructible.  Remaining task is to audit all other
14133         code affected by deleteEmptyParagraphMechanism.  One small quirk
14134         left is that an empty document with an error in the preamble can
14135         be made to report an error but no error box appears.  I don't know
14136         where it goes.
14137         (removeAutoInsets): Improved comments.
14138
14139 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14140
14141         * Thesaurus.h:
14142         * Thesaurus.C: update for Aiksaurus 0.14
14143
14144 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14145
14146         * text2.C (firstParagraph): removed member function, all uses
14147         replaces with ownerParagraph
14148         (redoParagraphs): here
14149         (updateInset): here
14150         (toggleAppendix): here
14151         * BufferView2.C (insertErrors): here
14152         (setCursorFromRow): here
14153
14154 2002-01-13  Allan Rae  <rae@lyx.org>
14155
14156         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14157         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14158         There is still a way to segfault this although you may have to do this
14159         multiple times: Have an InsetERT with an unknown command in it.
14160         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14161         <down-arrow>, <Enter> again, View->DVI, BANG!
14162
14163         * text2.C (setCursor):
14164         (deleteEmptyParagraphMechanism):
14165         * lyxtext.h (setCursor):
14166         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14167         Making use of the return value may help fix other bugs.
14168
14169 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14170
14171         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14172
14173         * LyXView.C (updateMenubar): call MenuBar::update here
14174         (updateToolbar): but not here
14175         (showState): do not update toolbar/menubar
14176
14177         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14178         should need to care about that.
14179
14180         * lyxfunc.C (verboseDispatch): simplify a bit
14181         (getStatus): have a version which takes a pseudoaction, and
14182         another which requires a (kb_action,string).
14183
14184         * LyXAction.C (retrieveActionArg): make it work also when action
14185         is not a pseudo-action.
14186         (getActionName): simplify a bit
14187         (helpText):
14188
14189 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14190
14191         * lyxfunc.C (verboseDispatch): new families of methods with
14192         several ways to specify a command and a bool to indicate whether
14193         the command name and shortcut should be displayed in minibuffer
14194         (eventually, we could extend that to a finer bitmask like
14195         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14196         (dispatch): the pristine dispatch command which just, well,
14197         dispatchs! Note it still sets its result to minibuffer; I'm not
14198         sure we want that.
14199
14200         * lyxfunc.h: remove setHintMessage
14201
14202         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14203
14204 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14205
14206         * BufferView_pimpl.C (specialChar): delete new inset if we have
14207         not been able to insert it.
14208
14209         * kbmap.C: revert to using int instead of kb_action, since all we
14210         are dealing with is pseudo-actions.
14211
14212         * LyXAction.C (searchActionArg): change to return int instead of
14213         kb_action, since the result is a pseudoaction.
14214
14215 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14216
14217         * buffer.C (insertErtContents): Fix (partially) the font bug.
14218
14219 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14220
14221         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14222         as the other one is broken on my machine!
14223
14224 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14225
14226         * commandtags.h:
14227         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14228
14229 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14230
14231         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14232         reflect their actual use. Provide compatibility code for older lyxrc
14233         files.
14234
14235         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14236         FL_NORMAL_STYLE.
14237         change names of popup font variables in line with the changes to lyxrc.C
14238
14239 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14240
14241         * buffer.C (asciiParagraph): avoid outputing a word twice after
14242         an inset.
14243
14244         * lyxrc.C (getDescription): document that document_path and
14245         template_path can be empty.
14246
14247 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14248
14249         * LaTeXFeatures.C (getMacros):
14250         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14251
14252         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14253
14254         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14255         getPackages.
14256         (getPackages): rename feature "floats" to "float". Use an array to
14257         iterate over 'simple' features (i.e. just a \usepackage). Add
14258         handling of "amsmath" (renamed from "amsstyle").
14259
14260 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14261
14262         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14263         features list.
14264
14265 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14266
14267         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14268         FuncStaus::FuncStatus & FuncStaus::some_method().
14269
14270 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14271
14272         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14273         of the func_satus stuff. Edited and massaged in various ways by
14274         JMarc.
14275
14276         * lyxfunc.C (getStatus): use FuncStatus
14277
14278 2002-01-08  Juergen Vigna  <jug@sad.it>
14279
14280         * text.C (nextBreakPoint): use function Inset::isChar().
14281
14282         * paragraph.C (TeXOnePar): use function
14283         Inset::forceDefaultParagraphs.
14284
14285         * buffer.C (latexParagraphs): use function
14286         Inset::forceDefaultParagraphs.
14287
14288 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14289
14290         * lyx_gui.C (init): set the style of the menu popups to
14291         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14292
14293 2002-01-07  Juergen Vigna  <jug@sad.it>
14294
14295         * text.C (setHeightOfRow): small fix
14296         (prepareToPrint): don't look at alignment if we don't have the place
14297         for doing it.
14298
14299 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14300
14301         * box.C: New file. Move the Box methods and functions out of box.h,
14302         following Lars' suggestion.
14303
14304 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14305
14306         * box.h: #include "support/LOstream.h", needed for inlined function.
14307
14308         * lyxtextclass.C:
14309         * lyxtextclasslist.C: added some using std declarations.
14310
14311 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14312
14313         * box.h: make signed dimensions to allow insets wider than
14314           the screen (bug #162)
14315
14316         * BufferView_pimpl.C: add some insetHit debug
14317
14318 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14319
14320         * vc-backend.C: add FIXME
14321
14322 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14323
14324         * lyxfunc.C (getStatus): enable code for showing math font status
14325         in toolbar/menu.
14326
14327 2002-01-07  Juergen Vigna  <jug@sad.it>
14328
14329         * text.C (nextBreakPoint): removed debug output not needed anymore.
14330
14331 2002-01-06  Juergen Vigna  <jug@sad.it>
14332
14333         * text.C (nextBreakPoint): fixed up this function we had this bug
14334         since ever but now hopefully we break row better.
14335         (insertChar): we have to check if an inset is the next char as it
14336         could now happen that a large inset is causing a break.
14337
14338 2002-01-05  Juergen Vigna  <jug@sad.it>
14339
14340         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14341         if it doesn't like to be drawed.
14342
14343 2002-01-04  Juergen Vigna  <jug@sad.it>
14344
14345         * BufferView2.C (lockInset): forgot to set a cursor.
14346
14347         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14348
14349 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14350
14351         * FormMathsPanel.C:
14352         * FormMathsPanel.h
14353         * MathsSymbols.C:
14354         * form_maths_panel.C:
14355         * form_maths_panel.h:
14356         * form_maths_panel.fd: implemented sub- and super- buttons in math
14357         panel.
14358
14359         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14360         (or ^ space) to be used as in TeX (req'd by Andr�.
14361
14362         * lyxfunc.C: Allow ^ and _ again to be used both as
14363         super/subscript (mathed) and as themselves (in text).
14364
14365 2002-01-03  Allan Rae  <rae@lyx.org>
14366
14367         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14368         "LyX" or the filename of the current buffer if it has one.  This is a
14369         modified form of John Levon's patch.
14370
14371         * XFormsView.C (setWindowTitle): also set icon title.
14372
14373         * LyXView.h (setWindowTitle): signature changed.
14374         * XFormsView.h (setWindowTitle): ditto.
14375
14376 2002-01-02  Juergen Vigna  <jug@sad.it>
14377
14378         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14379
14380 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14381
14382         * screen.C (topCursorVisible): introduce a temp var for
14383         text->cursor.row(), handle the case where this row is null. (kindo
14384         hachish)
14385
14386         * text2.C (setCursor): add a couple of asserts.
14387
14388         * paragraph.h (inset_iterator): add -> operator
14389
14390         * paragraph.[Ch] (autoDeleteInsets): remove member function
14391
14392         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14393         cursor pos correctly and handle inset deletion by itself.
14394         (insertErrors): move iterator declaration out of for expression
14395
14396         * lyxtextclass.C: add <algorithm>
14397
14398         * Makefile.am: added the new files to sources, removed layout.C
14399
14400         * layout.C: removed file
14401
14402         * layout.h: remove LYX_DUMMY_LAYOUT
14403
14404         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14405         layout.
14406
14407         * lyxlayout.[Ch]:
14408         * lyxtextclass.[Ch]:
14409         * lyxtextclasslist.[Ch]: new files
14410
14411         * include order changes to a lot of files, also changes because of
14412         the six new files.
14413
14414 2001-12-27  Juergen Vigna  <jug@sad.it>
14415
14416         * buffer.C (asciiParagraph): more fixes.
14417
14418         * tabular.C (ascii): make ascii export support export of only the
14419         data separated by a column-delimiter.
14420         (ascii): better support for ascii export.
14421
14422         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14423
14424 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14425
14426         * tabular_funcs.C: use a "using std::getline" instead of the
14427         previous fix from Angus (necessary for cxx + lyxstring)
14428
14429 2001-12-24  Juergen Vigna  <jug@sad.it>
14430
14431         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14432
14433         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14434         problems. First check a minipage also if we have some ert-contents
14435         (not only on par->size(), second set the right depth of the paragraph
14436         on the relink to the root-paragraph-list!
14437
14438         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14439         which then did not anymore update the main paragraphs on undo/redo!
14440
14441 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14442
14443         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14444         code. Support all font-changing funcs (even those which are not in
14445         menu currently). Support for reporting font settings in
14446         mathed (disabled until Andre provides a function on mathed's side).
14447
14448         * func_status.h (toggle): small helper function to set toggle
14449         state on a flag.
14450
14451 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14452
14453         * tabular_funcs.C: getline -> std::getline
14454
14455 2001-12-21  Juergen Vigna  <jug@sad.it>
14456
14457         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14458         accessed and could be 0 (I couldn't generate this but it seems
14459         Michael could!).
14460
14461 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14462
14463         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14464         * tabular_funcs.h: here and include iosfwd
14465
14466 2001-12-20  Juergen Vigna  <jug@sad.it>
14467
14468         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14469         inside inset but undo_par was.
14470
14471 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14472
14473         * Thesaurus.C: always include <config.h> in sources.
14474
14475         * Painter.h:
14476         * lyxlookup.h:
14477         * box.h: do not include <config.h> in header files
14478
14479         * text.C (paintLastRow): remove unused variable
14480
14481         * text.C (transformChar):
14482         (insertChar):
14483         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14484
14485         * Painter.C (text):
14486         * font.C (width): rewrite to use uppercase() instead of
14487         islower/toupper.
14488
14489         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14490
14491 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14492
14493         * lyxfind.C: clean up of find failure position change
14494
14495 2001-12-20  Juergen Vigna  <jug@sad.it>
14496
14497         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14498
14499         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14500         (TeXRow): added to LaTeX a single tabular row.
14501         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14502         (Latex): simplified and finally good LT-h/f support.
14503         (various_functions): just small adaptions for LT-h/f support.
14504
14505         * tabular_funcs.[hC]: added and moved here all not classfunctions
14506         of LyXTabular.
14507
14508 2001-12-19  Juergen Vigna  <jug@sad.it>
14509
14510         * tabular.[Ch]: better support for longtabular options (not finished
14511         yet!)
14512
14513 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14514
14515         * text.C (paintLastRow): use the label font instead of the font of
14516         the last character to compute the size of *_BOX. This makes more
14517         sense and avoids a crash with empty paragraphs.
14518         Use Painter::rectangle to draw EMPTY_BOX.
14519
14520 2001-12-19  Juergen Vigna  <jug@sad.it>
14521
14522         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14523         the paragraphs if the replaced paragraph is not the first one!
14524         Tried to delete not used paragraphs but does not work yet so for
14525         now it's inside #ifdef's and by default off!
14526
14527 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14528
14529         * MenuBackend.C: include "lyx_main.h" instead of declaring
14530         lastfiles (actually was declared as LastFiles* instead of a
14531         scoped_ptr).
14532
14533 2001-12-17  Juergen Vigna  <jug@sad.it>
14534
14535         * tabular.C (AppendColumn): applied John's fix
14536
14537 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14538
14539         * BufferView.h:
14540         * BufferView.C:
14541         * BufferView_pimpl.h:
14542         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14543
14544         * Makefile.am:
14545         * box.h: new start of class for above
14546
14547         * lyxfunc.C: ignore space-only minibuffer dispatches.
14548           Show the command name when it doesn't exist
14549
14550         * minibuffer.C: don't add empty lines to the history
14551
14552         * minibuffer.C: add a space on dropdown completion
14553
14554 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14555
14556         * text.C: fix line above/below drawing in insets
14557
14558 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14559
14560         * lyxlength.C (LyXLength): Initialize private variables.
14561
14562 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14563
14564         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14565         when inserting error insets.
14566
14567 2001-12-13  Juergen Vigna  <jug@sad.it>
14568
14569         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14570         actually sometimes the before-paragraph.
14571         (setUndo): don't clear the redostack if we're not actually undoing!
14572
14573 2001-12-06  Juergen Vigna  <jug@sad.it>
14574
14575         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14576         and fixed redoing of main paragraph, so we can use it now ;)
14577
14578         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14579
14580 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14581
14582         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14583         Juergen's request
14584
14585 2001-12-13  André Pönitz <poenitz@gmx.net>
14586
14587         * undostack.[Ch]:
14588         * undo_func.C: minor cleanup
14589
14590 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14591
14592         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14593         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14594         font in urw-fonts package which is marked as -urw-fontspecific and
14595         does not work (incidentally, changing the encoding in the
14596         fonts.dir of this package to -adobe-fontspecific fixes the
14597         problem).
14598
14599         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14600         is a crash when undoing first paragraph (Juergen, please take a
14601         look). THis does not mean the undo fix is wrong, just that it
14602         uncovers problems.
14603
14604         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14605         the (Paragraph*) version when needed instead of duplicating the
14606         code.
14607
14608         * text.C (workWidth): use Inset::parOwner to find out where the
14609         inset has been inserted. This is a huge performance gain for large
14610         documents with lots of insets. If Inset::parOwner is not set, fall
14611         back on the brute force method
14612
14613         * paragraph_pimpl.C (insertInset):
14614         * paragraph.C (Paragraph):
14615         (cutIntoMinibuffer): set parOwner of insets when
14616         inserting/removing them
14617
14618         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14619
14620 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14621
14622         * commandtags.h:
14623         * LyXAction.C:
14624         * lyx_main.C:
14625         * lyxfunc.C:
14626         * mathed/formulabase.C:
14627         * mathed/math_cursor.[Ch]:
14628         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14629
14630
14631 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14632
14633         * lyxlength.[Ch] (operator!=): new function
14634
14635 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14636
14637         * text.C (workWidth): use Inset::parOwner to find out where the
14638         inset has been inserted. This is a huge performance gain for large
14639         documents with lots of insets. If Inset::parOwner is not set, fall
14640         back on the brute force method
14641
14642         * paragraph_pimpl.C (insertInset):
14643         * paragraph.C (Paragraph):
14644         (cutIntoMinibuffer): set parOwner of insets when
14645         inserting/removing them
14646
14647         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14648
14649 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14650
14651         * tabular-old.C (getTokenValue):
14652         * tabular.C (getTokenValue):
14653         (write_attribute): new versions for LyXLength
14654         (everywhere): adjust the use of widths
14655
14656         * tabular.h: change the type of widths from string to LyXLength
14657
14658 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14659
14660         * paragraph.C: fixed missing line number count when exporting
14661         Environments to LaTeX file
14662
14663         * buffer.C: added informational message for checking line numbers.
14664
14665 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14666
14667         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14668         paragraph, do the 'double space' part, but not the 'empty
14669         paragraph' one.
14670
14671         * text.C (workWidth): small optimization
14672         (getLengthMarkerHeight): use minimal size for negative lengths.
14673
14674 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14675
14676         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14677
14678         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14679
14680 2001-12-11  André Pönitz <poenitz@gmx.net>
14681
14682         * FontLoader.C:
14683         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14684
14685 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14686
14687         * text2.C: keep selection on a setFont()
14688
14689 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14690
14691         * lyx_cb.C: another bv->text misuse, from insert label
14692
14693 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14694
14695         * kbsequence.h:
14696         * kbsequence.C: re-instate nmodifier mask
14697
14698 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14699
14700         * lyx_main.h: make lyxGUI private.
14701
14702 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14703
14704         * lyxfind.C: place the cursor correctly on failed search
14705
14706 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14707
14708         * text.C (getLengthMarkerHeight): for small heights, the arrows
14709         are not always on top/bottom of the text
14710         (drawLengthMarker): smaller arrows; take the left margin in
14711         account; draw also vfills.
14712         (paintFirstRow):
14713         (paintLastRow): remove special code for vfill and standard spaces,
14714         since everything is handled in drawLengthMarker now.
14715
14716 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14717
14718         * buffer.C (insertErtContents): try to handle font and language
14719         interaction a bit better.g
14720
14721         * ColorHandler.C (updateColor): change the hash to cover the whole
14722         LColor enum, ws cleanup
14723         (getGCLinepars): ditto
14724         (getGCLinepars): only lookup in the linecache once.
14725
14726 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14727
14728         * iterators.C (operator++): Make the iterator more robust
14729
14730         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14731         (John's patch)
14732         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14733
14734 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14735
14736         * lyxtext.h:
14737         * text.C: better added space drawing
14738
14739 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14740
14741         * LyXView.C:
14742         * BufferView2.C: fix layout combo update on inset unlock
14743
14744 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14745
14746         * Makefile.am: don't compile unused files
14747
14748 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14749
14750         * lyxfunc.C:
14751         * commandtags.h:
14752         * LyXAction.C: remove old LFUN_LAYOUTNO
14753
14754 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14755
14756         * paragraph_pimpl.h:
14757         * paragraph_pimpl.C: isTextAt() doesn't need font param
14758
14759 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14760
14761         * lyxlex.h:
14762         * lyxlex.C: little cleanup
14763
14764 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14765
14766         * BufferView_pimpl.C: fix insertAscii for insets
14767
14768 2001-12-05  Juergen Vigna  <jug@sad.it>
14769
14770         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14771         set the right font on the "multi" paragraph paste!
14772
14773 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14774
14775         * trans_decl.h:
14776         * trans_mgr.[Ch]:
14777         * trans.[Ch]:
14778         * lyxgluelength.C:
14779         * lyxlength.C: remove out-commented code.
14780
14781         * BufferView_pimpl:
14782         * CutAndPaste.C:
14783         * DepTable.C:
14784         * buffer.C:
14785         * chset.C:
14786         * lastfiles.C:
14787         * lyxlex.C:
14788         * lyxlex_pimpl.C:
14789         * lyxserver.C:
14790         * screen.C:
14791         * tabular-old.C:
14792         * tabular.C:
14793         * text.C:
14794         * trans_mgr.C:
14795         * vc-backend.C: change "while(" to "while ("
14796
14797         * lyxlength.[Ch]: add zero function to check if length is zero or
14798         not
14799         * lyxgluelength.C: use it
14800
14801 2001-12-05  Allan Rae  <rae@lyx.org>
14802
14803         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14804         Works for 2.95.3, from what I understand of Garst's reports this should
14805         work for other g++ versions.  We're screwed if the abs(int) definition
14806         changed between bugfix releases of gcc.
14807
14808 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14809
14810         * text.C: fix chapter label offset !
14811
14812 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14813
14814         * lyxtext.h:
14815         * text.C: fix hfill at end of line, clean up
14816
14817 2001-12-04  Juergen Vigna  <jug@sad.it>
14818
14819         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14820         that we force an update of the inset and it's owners if neccessary.
14821
14822 2001-12-03  Juergen Vigna  <jug@sad.it>
14823
14824         * text.C (rowLast): simplified code
14825
14826 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14827
14828         * lyxfunc.C: fix show options on timeout
14829
14830 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14831
14832         * screen.C (topCursorVisible): scroll half a page when the cursor
14833         reached top of bottom of screen
14834
14835 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14836
14837         * minibuffer.C: deactivate on loss of focus
14838
14839 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14840
14841         * vspace.[Ch] (operator!=): add operator.
14842
14843 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14844
14845         * BufferView_pimpl.C: refuse to open an inset when
14846         there's a selection.
14847
14848 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14849
14850         * BufferView_pimpl.C: allow to click on RHS of full row insets
14851
14852 2001-11-30  Juergen Vigna  <jug@sad.it>
14853
14854         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14855         insets for undo reasons.
14856
14857 2001-11-28  André Pönitz <poenitz@gmx.net>
14858
14859         * vspace.[Ch]: cosmetical changes
14860
14861 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14862
14863         * LyXAction.h:
14864         * LyXAction.C:
14865         * lyxfunc.h:
14866         * lyxfunc.C:
14867         * kbmap.h:
14868         * kbmap.C:
14869         * lyxrc.C:
14870         * kbsequence.h:
14871         * kbsequence.C: part re-write of old kb code
14872
14873         * Painter.C:
14874         * WorkArea.C: remove Lgb_bug_find_hack
14875
14876 2001-11-30  José Matos <jamatos@fep.up.pt>
14877
14878         * buffer.C (makeDocBookFile): add a comment to point a hack.
14879         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14880         Fixed a double write of labels.
14881
14882 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14883
14884         * LaTeX.C:
14885         * LaTeX.h Fixed bug in LaTeX class where it would not
14886         re-run latex if no depfiles were changed, but the .dvi was removed.
14887
14888 2001-11-28  André Pönitz <poenitz@gmx.net>
14889
14890         * all the files from the change on 2001/11/26:
14891         use lyx::layout_type instead of LyXTextClass::size_type
14892         use lyx::textclass_type instead of LyXTextClassList::size_type
14893
14894 2001-11-29  Juergen Vigna  <jug@sad.it>
14895
14896         * text.C: added support for paragraph::isFreeSpacing()
14897
14898         * buffer.C: same as above
14899
14900         * paragraph.h: inserted isFreeSpacing() function to enable
14901         FreeSpacing inside InsetERT.
14902
14903         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14904         of the paragraph's in the cut/copy buffer to 0!
14905
14906         * text2.C (removeRow): remove the assert as it can!
14907
14908         * lyxtext.h: added helper function firstRow returning firstrow and
14909         made firstrow private again.
14910
14911         * BufferView2.C (lockInset): don't relock if we're already locked!
14912
14913         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14914         the only paragraph.
14915         (removeRow): added Assert::(firstrow)
14916
14917         * debug.C: forgot to add INSETTEXT here.
14918
14919 2001-11-28  Juergen Vigna  <jug@sad.it>
14920
14921         * sp_spell.C (initialize): changed error text to more general
14922         spellchecker command use (not only ispell!)
14923
14924         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14925
14926         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14927
14928 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * vspace.C: initialise lyxgluelength on failure
14931
14932 2001-11-28  Allan Rae  <rae@lyx.org>
14933
14934         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14935         declaration & definition that looks like a function declaration.
14936
14937 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14938
14939         * BufferView2.C (copy):
14940         (copyEnvironment): do not clear the selection when doing a copy.
14941
14942         * text.C (paintFirstRow): compilation fix
14943
14944 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14945
14946         * tabular.C (Latex): correct line count when writing latex.
14947
14948 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14949
14950         * paragraph_pimpl.h:
14951         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14952           bug a bit
14953
14954 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14955
14956         * text.C:
14957         * LColor.h:
14958         * LColor.C: change vfillline->added_space
14959
14960         * text.C: add markers and text for added space
14961
14962         * vspace.C: fix comment
14963
14964 2001-11-28  André Pönitz <poenitz@gmx.net>
14965
14966         * paragraph.C: whitespace changes
14967         * all the other files from the change on 2001/11/26:
14968         change *::pos_type into lyx::pos_type
14969
14970 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14971
14972         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14973         language of the document when inserting error insets.
14974
14975 2001-11-26  André Pönitz <poenitz@gmx.net>
14976
14977         * BufferView_pimpl.[Ch]:
14978         *       CutAndPaste.C:
14979         * buffer.[Ch]:
14980         * lyxcursor.[Ch]:
14981         * lyxfind.C:
14982         * lyxfunc.C:
14983         * lyxrow.[Ch]:
14984         * paragraph.[Ch]:
14985         * paragraph_pimpl.[Ch]:
14986         * sp_spell.C:
14987         * text.C:
14988         * text2.C: reduce header dependencies, introduce type for positions
14989
14990 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14991
14992         * <various>: change to use Alert.h
14993
14994 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14995
14996         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14997         when encountering an unknown token.
14998         (readLyXformat2): Show an error message if there were unknown tokens.
14999
15000 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * BufferView2.C:
15003         * BufferView_pimpl.C:
15004         * buffer.C:
15005         * paragraph.h:
15006         * text.C:
15007         * text2.C: use par->isInset()
15008
15009 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15010
15011         * paragraph_pimpl.h:
15012         * paragraph_pimpl.C: cleanup
15013
15014 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15015
15016         * text2.C (removeRow):
15017         * text.C (setHeightOfRow): remove useless (and costly) call to
15018         getRow.
15019
15020 2001-11-20  Allan Rae  <rae@lyx.org>
15021
15022         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15023         Now need Inset*::checkInsertChar() to return true for appropriate
15024         cases so that the characters in the minibuffer will actually be
15025         inserted.
15026
15027 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15028
15029         * text.C: change the order of the includes.
15030         (workWidth): initialize it at once.
15031         (workWidth): make maxw unsigned
15032         (setHeightOfRow): remove unused variable (inset)
15033         (selectSelectedWord): remove unused variable (inset)
15034         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15035
15036 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15037
15038         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15039         server is not running.
15040         (openConnection):
15041         (closeConnection): add debug info when server is disabled.
15042
15043         * ColorHandler.C (getGCForeground): send debug message to GUI
15044         channel.
15045
15046         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15047
15048         * kbmap.C (bind): modify because return conventions of
15049         kb_sequence::parse have changed.
15050
15051         * kbsequence.C (parse): only ignore spaces and not any stupid
15052         control character. This avoids tests like s[i] <= ' ', which are
15053         guaranteed to fail with 8bit characters and signed chars.
15054         Change return code to string::npos when there have been no error
15055         (0 was a bad idea when error is at first character)
15056
15057 2001-11-14  José Matos  <jamatos@fep.up.pt>
15058
15059         * buffer.h:
15060         * buffer.C (simpleDocBookOnePar): removed unused argument.
15061
15062 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15065         insets which are part of a word. Paragraph::isLetter takes care of
15066         that now. Use Paragraph::isInset to identify insets.
15067         (selectSelectedWord): do not test for hyphenation break.
15068
15069         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15070         that protected spaces are considered as spaces.
15071
15072         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15073         Inset::isLetter.
15074
15075 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15076
15077         * lyxserver.h:
15078         * lyxserver.C: fix it. and small cleanup.
15079
15080 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15081
15082         * BufferView_pimpl.C: use inline helpers
15083
15084         * LaTeXFeatures.h:
15085         * LaTeXFeatures.C: fix typos
15086
15087         * Spacing.h:
15088         * Spacing.C: move spacing_string into class
15089
15090         * ToolbarDefaults.C: move stuff into namespace anon
15091
15092         * layout.h: update enum
15093
15094         * lyxfunc.C: use better debug
15095
15096         * minibuffer.h: fix typo
15097
15098         * debug.h:
15099         * debug.C:
15100         * WorkArea.C: add and use Debug::WORKAREA
15101
15102         * lyxtext.h:
15103         * text.C:
15104         * text2.C: code re-organisation, inline helpers
15105
15106 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15107
15108         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15109         std::vector.empty().
15110
15111 2001-11-09  Allan Rae  <rae@lyx.org>
15112
15113         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15114         '\n's after tables.  Tabular and ERT inset work now makes this no
15115         longer necessary.
15116
15117 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15118
15119         * minibuffer.h:
15120         * minibuffer.C: fix crash, improve drop-down completion
15121
15122 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15123
15124         * lyxserver.h:
15125         * lyxserver.C: invalidate fd's when doing endPipe()
15126
15127 2001-11-08  José Matos  <jamatos@fep.up.pt>
15128
15129         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15130         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15131
15132         * paragraph.h:
15133         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15134
15135 2001-11-07  José Matos  <jamatos@fep.up.pt>
15136
15137         * buffer.h:
15138         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15139         const qualifier.
15140
15141         * buffer.C (sgmlOpenTag):
15142         * buffer.C (sgmlCloseTag): removed debug info.
15143
15144         * buffer.h (sgmlOpenTag):
15145         * buffer.h (sgmlCloseTag): made public.
15146
15147 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15148
15149         * buffer.C (saveParamsAsDefaults):
15150         * lyx_cb.C (MenuLayoutSave): remove
15151
15152         * LyXAction.C (init):
15153         * commandtags.h:
15154         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15155
15156 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15157
15158         * buffer.C (setPaperStuff): removed from here...
15159
15160         * bufferparams.C (setPaperStuff): ... and moved there.
15161
15162 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15163
15164         * minibuffer.h:
15165         * minibuffer.C:
15166         * XFormsView.C: add support for drop-down completion
15167
15168 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15169
15170         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15171         commands.
15172
15173 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15174
15175         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15176         disabled.
15177
15178 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15179
15180         * lyx_main.C: change ref to known bugs
15181
15182 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15183
15184         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15185         to work around older babel problems.
15186
15187 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15188
15189         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15190
15191 2001-10-24  Juergen Vigna  <jug@sad.it>
15192
15193         * tabular-old.C (ReadOld): below variable changes reflected.
15194
15195         * tabular.[Ch]: added ltType struct for longtable header/footer
15196         defines and changed all instances where they are used. Added
15197         future support for double top/bottom rows.
15198
15199 2001-10-24  José Matos  <jamatos@fep.up.pt>
15200
15201         * buffer.h (docbookHandleCaption):
15202         * buffer.C (docbookHandleCaption): removed unused function.
15203         (makeDocBookFile): moved docbook supported version to v4.1.
15204
15205 2001-10-24  José Matos  <jamatos@fep.up.pt>
15206
15207         * tabular.h:
15208         * tabular.C (docbookRow): new function to export docbook code of a row.
15209         (DocBook): now honors the longtable flags.
15210
15211 2001-10-23  José Matos  <jamatos@fep.up.pt>
15212
15213         * LaTeXFeatures.h:
15214         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15215         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15216
15217         * buffer.C (makeLinuxDocFile):
15218         (makeDocBookFile): reworked the preamble, more clean, and with
15219         support for lyx defined entities. Changed the document declaration
15220         to be more XML friendly.
15221
15222         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15223         if we need to output XML that should be done with a filter.
15224
15225 2001-10-22  Juergen Vigna  <jug@sad.it>
15226
15227         * sp_pspell.h (class PSpell): add alive function needed in the
15228         controller to see if the spellchecker could be started.
15229
15230 2001-10-22  Juergen Vigna  <jug@sad.it>
15231
15232         * buffer.C (insertStringAsLines): modify the font for inserting
15233         chars in certain conditions by calling checkInsertChar(font).
15234
15235 2001-10-19  Juergen Vigna  <jug@sad.it>
15236
15237         * text.C (workWidth): use getRow instead of wrong algorithm.
15238         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15239
15240 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15241
15242         * lyxserver.h:
15243         * lyxserver.C:
15244         * lyx_main.h:
15245         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15246
15247 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15248
15249         * text.C (workWidth): do not search for the exact row when
15250         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15251         optimization for big documents.
15252
15253 2001-10-18  Juergen Vigna  <jug@sad.it>
15254
15255         * text.C (workWidth): new function with added Inset * parameter.
15256
15257 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15258
15259         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15260
15261         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15262         change return type of getColumnNearX.
15263
15264
15265         * text.C (changeRegionCase): use uppercase/lowercase instead of
15266         toupper/tolower.
15267         (leftMargin):
15268         (rightMargin): simplify code by factoring out the uses of
15269         textclasslist.
15270         (labelFill):
15271         (numberOfHfills):
15272         (setHeightOfRow):
15273         (appendParagraph): use Paragraph::size_type
15274
15275 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15276
15277         * vspace.C (asLatexString): add a missing break
15278
15279 2001-10-15  Herbert Voss  <voss@perce.de>
15280
15281         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15282
15283 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15284
15285         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15286         is not available.
15287
15288 2001-10-10  André Pönitz <poenitz@gmx.net>
15289
15290         * lyxfunc.C: removed greek_kb_flag.
15291
15292 2001-10-10  Herbert Voss  <voss@perce.de>
15293
15294         * lyx_main.C: delete global string help_lyxdir.
15295
15296 2001-10-09  Herbert Voss  <voss@perce.de>
15297
15298         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15299
15300         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15301
15302         * lyx_main.C: added global string help_lyxdir.
15303
15304         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15305
15306 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15307
15308         * lyxrc.C (set_font_norm_type): support iso8859-4
15309
15310 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15311
15312         * LaTeX.C (deplog): add another regex for MikTeX
15313
15314 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15315
15316         * lyxrc.C (set_font_norm_type): support iso8859-3
15317
15318 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15319
15320         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15321
15322         * LaTeXFeatures.C: remove special case of french and index
15323
15324         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15325         before \begin{document}). This solves several incompatibilities.
15326
15327 2001-10-03  Garst Reese  <reese@isn.net>
15328
15329         * lyx_cb.C: change CheckTex error msg.
15330
15331 2001-10-03  José Matos  <jamatos@fep.up.pt>
15332
15333         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15334
15335 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * .cvsignore: update
15338
15339         * lyx_main.C (commandLineVersionInfo): use new style version info.
15340
15341         * buffer.C (writeFile):
15342         (makeLaTeXFile):
15343         (makeLinuxDocFile):
15344         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15345
15346         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15347
15348         * version.h: update to use stuff in version.C
15349
15350         * version.C.in: new file. Contains version information determined
15351         at compile time. This is a merging of version.h and
15352         version_info.h.in.
15353
15354 2001-10-03  Juergen Vigna  <jug@sad.it>
15355
15356         * BufferView_pimpl.C (update): don't change "dirty" status in
15357         updateInset call.
15358
15359 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15360
15361         * WorkArea.C (c-tor): re-position version string slightly.
15362
15363 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15364
15365         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15366         revert to previous code.
15367
15368         WorkArea.[Ch]: (show, destroySplash): methods removed.
15369
15370         WorkArea.C: rework code so that it's an amalgam of the codes before and
15371         after the splash screen was moved to WorkArea.
15372
15373 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15374
15375         * lyxrc.C (read):
15376         * vspace.C (inPixels):
15377         (lyx_advance):
15378         * kbmap.C (bind):
15379         * buffer.C (insertStringAsLines):
15380         (asciiParagraph): fix types to be large enough
15381
15382         * lyxlex_pimpl.h: change member status from short to int
15383
15384         * layout.h: fix type of endlabeltype
15385
15386         * kbmap.C (bind):
15387         * kbsequence.C (parse): change return type to string::size_type
15388
15389         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15390         variable
15391
15392         * Bullet.C (bulletSize):
15393         (bulletEntry): do not use short ints as parameters
15394
15395         * BufferView2.C (insertLyXFile): change a char to an int.
15396
15397         * WorkArea.C (WorkArea): remove unneeded floats in computation
15398
15399 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15400
15401         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15402
15403         * paragraph.C (asString): Do not ignore newline/hfill chars when
15404         copying to the clipboard.
15405
15406 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15407
15408         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15409         after a multi-line inset.
15410
15411 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15412
15413         * paragraph.C (validate): Set NeedLyXFootnoteCode
15414
15415 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15416
15417         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15418         and decrease-error to decrease.
15419
15420 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15421
15422         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15423         it more readable (should be equivalent)
15424
15425 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15426
15427         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15428
15429 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15430
15431         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15432         of a cursor (row, etc.) after a character has been deleted
15433         (deleteEmptyParagraphMechanism): call the method above on _all_
15434         cursors held by the LyXText when a double space has been
15435         detected/deleted.
15436
15437 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15438
15439         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15440         pixmap.
15441         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15442
15443         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15444         background. Use greyOut() and the new show() methods to toggle between
15445         the foreground and background. Add code to remove the splash after
15446         its initial showing.
15447
15448         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15449         (create_forms): no longer call Dialogs::showSplash.
15450
15451 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15452
15453         * .cvsignore: add version_info.h
15454
15455 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15456
15457         * version_info.h.in: new file
15458
15459         * Makefile.am: add version_info.h.in
15460
15461         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15462         version_info.h instead of VERSION_INFO
15463
15464 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15465
15466         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15467         The ERT inset now returns string().
15468
15469 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15470
15471         * lyxtext.h, text.C (selectNextWord): renamed as
15472         selectNextWordToSpellcheck.
15473
15474         * text.C (selectNextWordToSpellcheck): Modified to not select
15475         words inside an ERT inset.
15476
15477 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15478
15479         * lyx_cb.C (MenuLayoutSave): change a bit the question
15480
15481         * sp_base.h: include <sys/types.h>
15482
15483 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15484
15485         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15486
15487 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15488
15489         * several files: fix typos in user-visible strings
15490
15491 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15492
15493         * text2.C (pasteSelection): do not set the selection, since it
15494         will be cleared later. Actually, the intent was to fix the way the
15495         selection was set, but I figured rmoving the code was just as good.
15496
15497 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15498
15499         * FontLoader.C (available): Check if font is available without
15500         loading the font.
15501
15502 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15503
15504         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15505
15506 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15507
15508         * lyxrc.[Ch]: added display_graphics variable and associated code.
15509
15510 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15511
15512         * bufferparams.C (hasClassDefaults): new method. Returns true if
15513         the buffer parameters correspond to known class defaults
15514
15515 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15516
15517         * XFormsView.C (show): set minimum size to the main window.
15518
15519 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15520
15521         * text2.C (copySelection):
15522         (cutSelection):
15523         * lyxfind.C (LyXReplace):
15524         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15525         LyXText::selectionAsString.
15526
15527         * paragraph.C (asString): add "label" argument to the second form
15528
15529         * text2.C (selectionAsString): add "label" argument and pass it to
15530         Paragraph::asString.
15531
15532 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15533
15534         * lyx_main.C (commandLineHelp): remove version information
15535
15536 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15537
15538         * lyx_main.C: add -version commandline option
15539
15540 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15541
15542         * paragraph.h: make the optional constructor arg required instead.
15543         some modifications to other files because of this.
15544
15545         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15546
15547         * lyxserver.C (C_LyXComm_callback): make it static
15548
15549         * lyx_main.C (error_handler): make it static
15550
15551         * lyx_gui.C (LyX_XErrHandler): make it static
15552
15553         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15554
15555         * WorkArea.C: make the extern "C" methods static.
15556
15557         * Makefile.am (lyx_LDADD): simplify
15558
15559 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15560
15561         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15562         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15563
15564         * LyXAction.C (init):
15565         * lyxfunc.C (dispatch): associated code removal.
15566
15567 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15568
15569         * lyxfont.h (isSymbolFont): shut off warning
15570
15571         * text.C (setHeightOfRow):
15572         (getVisibleRow): fix crash with empty paragraphs which have a
15573         bottom line
15574
15575 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15576
15577         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15578         code.
15579
15580 2001-09-04  José Matos  <jamatos@fep.up.pt>
15581         * buffer.C
15582         * buffer.h
15583         * tabular.C (docbook): rename docBook method to docbook.
15584
15585 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15586
15587         * Makefile.am: add dependencies to main.o.
15588
15589 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15590
15591         * FontLoader.C (available): Return false if !lyxrc.use_gui
15592
15593 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15594
15595         * FontInfo.C (query):
15596         * converter.C (view):
15597         * importer.C (Import):
15598         * exporter.C (Export): Can not -> cannot.
15599
15600 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15601
15602         * BufferView_pimpl.C: allow to create index inset even if
15603           string is empty
15604
15605 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15606
15607         * buffer.C (getLists): replace boost::tie code with an explicit pair
15608         as boost::tie can break some compilers.
15609
15610         * iterators.h: Added a std:: declaration to the return type of
15611         ParIterator::size.
15612
15613 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15614
15615         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15616           case.
15617
15618 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15619
15620         * iterators.[Ch]: New files. Provide paragraph iterators.
15621
15622         * buffer.C (changeLanguage): Use paragraph iterators.
15623         (isMultiLingual): ditto
15624
15625         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15626
15627 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15628
15629         * FontLoader.C: Support for cmr font.
15630
15631 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15632
15633         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15634         (available): New method.
15635
15636         * FontInfo.C (getFontname): Use scalable fonts even when
15637         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15638         found.
15639
15640 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15641
15642         * converter.C (Formats::view): reverted! Incorrect fix.
15643
15644 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15645
15646         * converter.C (Formats::view): only output the -paper option
15647         if the dvi viewer is xdvi, thereby fixing bug #233429.
15648
15649 2001-08-23  Herbert Voss  <voss@perce>
15650
15651         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15652
15653 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15654
15655         * Spacing.h (Spacing): Set space to Default on in the default
15656         constructor.
15657
15658 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15659
15660         * vc-backend.h (RCS::versionString): add RCS to version
15661         (CVS::versionString): add CVS to version
15662
15663         * vc-backend.C (scanMaster): do not add CVS to version.
15664         (scanMaster): do not add RCS to version
15665
15666         * lyxvc.C (versionString): new method
15667
15668         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15669
15670 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15671
15672         * Spacing.C (set): initialize fval
15673
15674 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15675
15676         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15677         " or \.
15678
15679 2001-08-16  Juergen Vigna  <jug@sad.it>
15680
15681         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15682
15683 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15684
15685         * BufferView_pimpl.C:
15686         * figureForm.C:
15687         * lyxtext.h:
15688         * text2.C: setParagraph takes linespacing now
15689
15690 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15691
15692         * LyxAction.C: add internal LFUN_CITATION_INSERT
15693
15694         * LyXView.C: actually apply fix
15695
15696         * bufferlist.C: fix open non-existent file
15697
15698         * lyxfind.C: fix indentation
15699
15700         * lyxfunc.C: remove unneeded assert, fix typo
15701
15702 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15703
15704         * MenuBackend.C: use "Floatname List"
15705
15706 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15707
15708         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15709         when converting LaTeX layout to insetERT.
15710         Generate a non-collapsed float when reading old float
15711
15712 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15713
15714         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15715         ERT insets.
15716
15717 2001-08-13  Juergen Vigna  <jug@sad.it>
15718
15719         * text.C (fill): return 0 instead of 20 as this seems to be the more
15720         correct value.
15721
15722 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15723
15724         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15725         lyxrc.font_norm.
15726
15727 2001-08-13  Juergen Vigna  <jug@sad.it>
15728
15729         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15730         casesensitive off.
15731         (SearchBackward): comment out the unlocking of the inset_owner this
15732         should not be needed!
15733
15734 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15735
15736         * Many files: Remove inherit_language, and add latex_language
15737
15738         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15739         collapsible insets.
15740
15741 2001-08-10  Juergen Vigna  <jug@sad.it>
15742
15743         * text.C (prepareToPrint): fixed hfill-width in draw!
15744
15745         * BufferView2.C (selectLastWord): save the selection cursor as this
15746         now is cleared in the function LyXText::clearSelection!
15747
15748 2001-08-08  Juergen Vigna  <jug@sad.it>
15749
15750         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15751         BACKSPACE type functions.
15752
15753         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15754         is only cutted from the document but not put in the cut-buffer, where
15755         still the old stuff should be.
15756
15757         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15758
15759         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15760
15761         * tabular.C (SetWidthOfCell): fixed special case where the width
15762         was not updated!
15763         (LeftLine): handle '|' in align_special.
15764         (RightLine): ditto
15765         (LeftAlreadyDrawed): ditto
15766         (SetWidthOfCell): ditto
15767
15768 2001-08-07  Juergen Vigna  <jug@sad.it>
15769
15770         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15771
15772 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15773
15774         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15775         * lyxlex.[hC]: ditto
15776
15777 2001-08-06  Juergen Vigna  <jug@sad.it>
15778
15779         * text.C (getVisibleRow): fix up row clearing a bit.
15780
15781 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15782
15783         * minibuffer.C: make sure the X server sees the changes in the input.
15784
15785 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15786
15787         * paragraph.C (getFont): split into...
15788         (getLabelFont): this
15789         (getLayoutFont): and this
15790         * paragraph_pimpl.C (realizeFont): calling this
15791
15792         * text2.C (getFont): split into...
15793         (getLayoutFont): this
15794         (getLabelFont): and this
15795         (realizeFont): all three calling this
15796
15797         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15798         files where used.
15799
15800 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15803
15804 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15805
15806         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15807         layouts from the Quote inset insertion.
15808
15809 2001-08-03  Juergen Vigna  <jug@sad.it>
15810
15811         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15812
15813         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15814         only if status not is already CHANGED_IN_DRAW (second level).
15815
15816         * text.C (draw): don't set the need_break_row when inside an
15817         InsetText LyXText.
15818
15819 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15820
15821         * buffer.C (parseSingleLyXformat2Token): handle more latex
15822         conversion cases.
15823
15824         * bufferview_funcs.[hC]: change function names to
15825         begin with small char, adjust other files.
15826
15827 2001-08-02  André Pönitz <poenitz@gmx.net>
15828
15829         * lyxfunc.C:
15830         BufferView_pimpl.C: remove broken special code for math-greek
15831
15832 2001-08-02  Juergen Vigna  <jug@sad.it>
15833
15834         * BufferView_pimpl.C (update): redone this function so that we
15835         update the text again if there was a CHANGE_IN_DRAW.
15836
15837         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15838         (drawFromTo): added a new internal bool which is used by draw() and
15839         redraw() function.
15840         (general): some cursor drawing problems fixed.
15841
15842 2001-08-01  Juergen Vigna  <jug@sad.it>
15843
15844         * lyxfind.C (LyXFind): fixed
15845         (SearchForward): ditto
15846         (SearchBackward): ditto
15847
15848         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15849         spurius drawing of the cursor in the main area.
15850
15851         * text2.C (status): small fix which could lead to a segfault!
15852         (clearSelection): remove unneeded BufferView param.
15853
15854 2001-08-01  André Pönitz <poenitz@gmx.net>
15855
15856         * lyxfunc.C: small change due to changed mathed interface
15857
15858 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15859
15860         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15861
15862 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15863
15864         * lyxfunc.c: fail gracefully if file doesn't exist
15865
15866         * LyXSendto.C:
15867         * buffer.C:
15868         * lyxfunc.C:
15869         * BufferView_pimpl.C: IsDirWriteable() proto changed
15870
15871         * LyXView.C: fix updateWindowTitle() to store the last title
15872
15873 2001-07-31  Juergen Vigna  <jug@sad.it>
15874
15875         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15876         the font (wrong since using of Paragraph::highestFontInRange).
15877
15878         * paragraph.C (highestFontInRange): added a default_size parameter.
15879
15880         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15881         (setHeightOfRow): reformat
15882
15883 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15884
15885         * converter.[hC] + affected files: move to (inital-char)lowercase
15886         function names.
15887
15888         * ParagraphParameters.C (ParagraphParameters): remove commented code
15889
15890         * PainterBase.[Ch]: remove commented code
15891
15892         * LaTeXFeatures.h: add "bool floats" for float.sty
15893
15894         * LaTeXFeatures.C (LaTeXFeatures): init floats
15895         (require): handle float
15896         (getPackages): do it with floats
15897
15898 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15899
15900         * BufferView_pimpl.C (Dispatch): improve handling of
15901         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15902
15903         * commandtags.h: #include lyxfont.h here temporarily to avoid
15904         keybinding bug.
15905
15906         * bufferlist.h: include LString.h here.
15907
15908 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15909
15910         * text2.C (getStringToIndex): new method.
15911
15912 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15913
15914         * *: Reduced header file dependencies all over.
15915
15916 2001-07-30  Baruch Even  <baruch@lyx.org>
15917
15918         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15919
15920 2001-07-29  Baruch Even  <baruch@lyx.org>
15921
15922         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15923
15924 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15925
15926         * ParameterStruct.h (endif): add a default constructor to make
15927         sure that all variables is initialized.
15928
15929         * ParagraphParameters.C (ParagraphParameters): adjust
15930
15931 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15934         index; also, check that there is something to index, and that it
15935         does not span over several paragraphs.
15936         (doubleClick): use WHOLE_WORD_STRICT for double click.
15937
15938         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15939
15940         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15941         scheme.
15942
15943 2001-07-26  Baruch Even  <baruch@lyx.org>
15944
15945         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15946         an InsetFig figure, backwards compatible reading of old figure code.
15947
15948 2001-07-27  Juergen Vigna  <jug@sad.it>
15949
15950         * text2.C: font.realize function adaption.
15951
15952         * text.C (draw): add a warnings lyxerr text if needed.
15953
15954         * layout.C: font.realize function adaption.
15955
15956         * language.C: add inherit_language and implement it's handlings
15957
15958         * bufferview_funcs.C (StyleReset): remove language parameter from
15959         font creation (should be language_inherit now).
15960
15961         * bufferparams.C (writeFile): handle ignore_language.
15962
15963         * paragraph.C (getFontSettings): the language has to be resolved
15964         otherwise we have problems in LyXFont!
15965
15966         * lyxfont.C (lyxWriteChanges): added document_language parameter
15967         (update): removed unneeded language parameter
15968
15969         * paragraph.C (validate): fixed wrong output of color-package when
15970         using interface colors for certain fonts in certain environments,
15971         which should not seen as that on the final output.
15972
15973 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15974
15975         * BufferView_pimpl.C:
15976         * Thesaurus.h:
15977         * Thesaurus.C:
15978         * Makefile.am:
15979         * commandtags.h:
15980         * LyXAction.C: add thesaurus support
15981
15982         * lyxfind.h:
15983         * lyxfind.C: add "once" parameter, for thesaurus, to not
15984           move to the next match
15985
15986 2001-07-26  Juergen Vigna  <jug@sad.it>
15987
15988         * lyxfont.C (realize): honor ignore_language too!
15989         (resolved): ditto.
15990
15991         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15992
15993         * text.C (draw): one place more for ignore_language to not draw
15994         itself!
15995
15996 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15997
15998         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15999
16000 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16001
16002         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16003         the minipage conversion problem.
16004
16005 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16006
16007         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16008         insert an inset.
16009
16010 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16011
16012         * BufferView.h: don't forward declare WorkArea
16013
16014         * BufferView.C: don't include WorkArea.h
16015
16016 2001-07-25  André Pönitz <poenitz@gmx.net>
16017
16018         * commandtags.h:
16019         * LyXAction.C:
16020         * lyxfunc.C:  new LFUN 'math-space'
16021
16022         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16023
16024 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * text2.C (toggleInset): call open/close
16027
16028 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16029
16030         * lyxfunc.C (dispatch): add debug for the disabled case
16031
16032         * font.C (buttonText): make similar to rectText
16033
16034         * buffer.C (readInset): comment out parsing of insetlist and
16035         insttheorem
16036
16037         * PainterBase.C (rectText): small correction
16038
16039         * BufferView_pimpl.C: comment out insettheorem and insetlist
16040         * LyXAction.C: ditto
16041         * commandtags.h: ditto
16042
16043 2001-07-24  Juergen Vigna  <jug@sad.it>
16044
16045         * text.C (draw): honor the ignore_language.
16046
16047         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16048
16049 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16050
16051         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16052         char inset.
16053
16054 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16055
16056         * lyxtext.h: remove unused (and unimplemented) methods
16057
16058 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16059
16060         * text.C (getVisibleRow): honor background color
16061
16062         * PainterBase.h:
16063         * Painter.h: remove default color argument for fillRectangle
16064
16065         * text.C (backgroundColor): new method
16066
16067 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16068
16069         * text.C (getVisibleRow): adjust
16070
16071         * font.[Ch] (rectText): new method, metrics
16072         (buttonText): new method, metrics
16073
16074         * PainterBase.[hC]: make rectText and buttonText always draw and take
16075         fewer paramteres.
16076
16077 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16078
16079         * ToolbarDefaults.C (read):
16080         * MenuBackend.C (read): allow escaping in all strings
16081
16082         * BufferView_pimpl.C (insertAndEditInset): new method.
16083         (Dispatch): use insertAndEditInset whenever appropriate.
16084
16085         * BufferView_pimpl.C (insertNote): removed
16086
16087         * BufferView_pimpl.C (smartQuote): new method, moved from
16088         BufferView; if an insetquote cannot be inserted, insert a '"'
16089         character instead.
16090
16091         * BufferView2.C: remove insertCorrectQuote();
16092
16093         * lyxfunc.C (getStatus): Add support for all remaingin
16094         inset-insert lfuns.
16095
16096         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16097
16098         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16099         command (necessary to pass " as parameter of self-insert.
16100
16101         * text.C (selectWordWhenUnderCursor):
16102         (selectWord): add word_location parameter
16103         (selectWordWhenUnderCursor): same + remove special code for word
16104         boundary.
16105         (selectNextWord): use kind() to guess type of insetspecialchar,
16106         not latex().
16107
16108         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16109         (insertErtContents): create ert insets as collapsed.
16110         (readInset): better compatibility code for Info inset.
16111
16112 2001-07-20  Juergen Vigna  <jug@sad.it>
16113
16114         * lyxfunc.C (dispatch): use always LyXFind now!
16115
16116         * text2.C (init): add a reinit flag so that the LyXText can be
16117         reinited instead of deleted and reallocated (used in InsetText).
16118
16119         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16120
16121         * text.C: ditto
16122
16123         * text2.C: ditto
16124
16125 2001-07-18  Juergen Vigna  <jug@sad.it>
16126
16127         * text.C (selectNextWord): handle insets inside inset by calling
16128         always the bv->text functions so that we can go up the_locking_inset!
16129
16130         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16131         in strange locations when inside an inset!
16132
16133         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16134         handling to include insets.
16135
16136         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16137
16138 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16139
16140         * LyXAction.C (init):
16141         * commandtags.h:
16142         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16143         LIGATURE_BREAK, since the name is so stupid.
16144
16145 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16146
16147         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16148         InsetInfos.
16149
16150         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16151
16152         * sp_form.[Ch]: remove.
16153
16154         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16155
16156         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16157         InsetInfo.
16158
16159         * src/buffer.C (readInset): ditto.
16160
16161 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16162
16163         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16164         menuSeparator(), endOfSentenceDot(), ldots() and
16165         hyphenationPoint(), which are therefore removed.
16166         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16167
16168         * LyXAction.C (init):
16169         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16170
16171         * paragraph.C (getWord): removed.
16172
16173         * BufferView_pimpl.C (Dispatch): use last word or selection for
16174         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16175
16176         * lyx_main.C (queryUserLyXDir): do not ask before creating
16177         user_dir, except if it has been named explicitely.
16178
16179 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16180
16181         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16182         a document of zero size.
16183
16184 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16185
16186         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16187         approriately in the c-tor and in require().
16188         (getPackages): output the appropriate LaTeX for natbib support.
16189
16190         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16191         variables "use_natbib" and "use_numerical_citations" when reading the
16192         LyX file.
16193         (readInset): read the various natbib cite commands.
16194         (validate): white-space change.
16195
16196         * bufferparams.[Ch]: new variables "bool use_natbib" and
16197         "bool use_numerical_citations".
16198         (writeFile): output them in the LyX file.
16199
16200 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16201
16202         * lyxfunc.C (getStatus): add support for all the inset insertion
16203         commands.
16204
16205         * text2.C (insertInset):
16206         * paragraph.C (insetAllowed):
16207         * BufferView_pimpl.C (insertInset): update to take in account the
16208         renaming of insertInsetAllowed
16209
16210         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16211
16212         * text2.C (getInset): new method. returns inset at cursor position.
16213
16214         * BufferView_pimpl.C (Dispatch): changes because of this.
16215
16216         * LyXAction.C (init): rename open-stuff to inset-toggle.
16217
16218         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16219
16220         * text2.C (toggleInset): renamed from openStuff; use
16221         Inset::open().
16222
16223 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16224
16225         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16226
16227         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16228
16229 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16230
16231         * buffer.C (readLyXformat2): Add filename to the error dialog
16232
16233 2001-07-18  Juergen Vigna  <jug@sad.it>
16234
16235         * tabular.C (GetCellNumber): put an assert here instead of the check!
16236
16237 2001-07-17  Juergen Vigna  <jug@sad.it>
16238
16239         * BufferView_pimpl.C (toggleSelection): adapted too.
16240
16241         * text.C (selectNextWord): adapted for use with insets.
16242         (selectSelectedWord): ditto
16243
16244 2001-07-17  Juergen Vigna  <jug@sad.it>
16245
16246         * sp_spell.C (PSpell): fix initialitation order.
16247
16248 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16249
16250         * paragraph.C: spacing
16251
16252 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16253
16254         * sp_spell.C: repair language selection for pspell
16255
16256 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16257
16258         * lyxfunc.h: change more methods to begin with lower char.
16259
16260 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16261
16262         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16263         for unknown layouts.
16264
16265 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16266
16267         * buffer.C (readLyXformat2): Generate an error dialog if there are
16268         unknown layouts.
16269
16270 2001-07-16  Juergen Vigna  <jug@sad.it>
16271
16272         * sp_spell.C: always compile ISpell part.
16273
16274         * lyxrc.C: added use_pspell entry and it's handling.
16275
16276 2001-07-13  Juergen Vigna  <jug@sad.it>
16277
16278         * sp_spell.C: removed double includes.
16279
16280 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16281
16282         Consistent use of Lsstream.h:
16283         * Lsstream.h: added using std::stringstream for consistencies sake.
16284
16285         * buffer.C: removed using std::stringstream
16286
16287         * lyxfont.C (stateText):
16288         * paragraph.C (asString):
16289         * text.C (selectNextWord, selectSelectedWord):
16290         * text2.C (setCounter):
16291         * vspace.C (asString, asLatexString):
16292         std::ostringstream -> ostringstream.
16293
16294 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16295
16296         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16297         * commandtags.h: add LFUN_HELP_ABOUTLYX
16298         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16299
16300 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16301
16302         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16303         cursorToggle()
16304         * lyx_gui_misc.C: remove spellchecker
16305         * lyxfunc.C: showSpellchecker
16306         * sp_base.h: added
16307         * sp_ispell.h: added
16308         * sp_pspell.h: added
16309         * sp_spell.C: added
16310         * sp_form.[Ch]: removed
16311         * spellchecker.[Ch]: removed
16312
16313 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16314
16315         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16316         is set.
16317         (simpleTeXSpecialChars): Simply print the input character without
16318         any special translation if pass_thru is set.
16319
16320         * layout.h: Added bool pass_thru to layout class for being able to
16321         implement pass through of a paragraph for Literate Programming.
16322
16323         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16324         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16325         * layout.C (Read): add "passthru" to list of layout tags and add
16326         code to set the pass_thru boolean when it is read.
16327
16328 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16329
16330         * trans_decl.h: remove allowed from KmodInfo
16331
16332         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16333         remove allowed code
16334         (Load): adjust
16335
16336         * paragraph_pimpl.C (erase): use boost::prior
16337
16338         * Painter.C (text): use data() instead of c_str() when length is
16339         also provided.
16340         * WorkArea.C (putClipboard): ditto
16341         * font.h (width): ditto
16342
16343         * BufferView2.C: use it-> instead of (*it). for iterators
16344         * texrow.C: ditto
16345         * paragraph_pimpl.C: ditto
16346         * paragraph.C: ditto
16347         * minibuffer.C: ditto
16348         * language.C: ditto
16349         * kbmap.C: ditto
16350         * encoding.C: ditto
16351         * counters.C: ditto
16352         * converter.C: ditto
16353         * chset.C: ditto
16354         * Variables.C: ditto
16355         * TextCache.C: ditto
16356         * MenuBackend.C: ditto
16357         * LyXAction.C: ditto
16358         * LColor.C: ditto
16359         * FloatList.C: ditto
16360         * DepTable.C: ditto
16361         * ColorHandler.C (LyXColorHandler): ditto
16362
16363 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16364
16365         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16366
16367         * text2.C (openStuff): reintroduce this method (which had been
16368         nuked in NEW_INSETS frenzy).
16369
16370         * lyxfunc.C (Dispatch): when an action has not been handled, use
16371         its name in the error message, not its number.
16372
16373         * paragraph.C (inInset): change method name to begin with lowercase.
16374
16375         * undo_funcs.C:
16376         * text2.C: updates because of this.
16377
16378 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16379
16380         * ToolbarDefaults.C (add): add spaces in error message
16381
16382 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16383
16384         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16385         (readLyXformat2): rename return_par to first_par, use lyxlex's
16386         pushToken and remove the manual push handling.
16387         (parseSingleLyXformat2Token): add another ert comp. variable:
16388         in_tabular, rename return_par to first_par. handle newlines better
16389
16390 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16391
16392         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16393
16394 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16395
16396         * text2.C (getParFromID): removed
16397
16398         * buffer.C (getParFromID): new method moved form lyxtext.
16399         * BufferView2.C (insertErrors): adjust
16400         (setCursorFromRow): adjust
16401         * BufferView_pimpl.C (restorePosition): adjust
16402         * lyxfunc.C (Dispatch): adjust
16403         * undo_funcs.C (textUndo): adjust
16404         (textRedo): adjust
16405         (textHandleUndo): adjust
16406         (textHandleUndo): adjust
16407
16408 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16409
16410         * buffer.C: up' the LYX_FORMAT
16411
16412         * lyxfont.h: turn NO_LATEX on as default
16413
16414         * buffer.C (insertErtContents): new methods of tex style compability.
16415         (parseSingleLyXformat2Token): use it several places.
16416         * tabular.C (OldFormatRead): and here
16417
16418 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16419
16420         * text2.C: remove some commented code.
16421         reindent file.
16422
16423         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16424         * trans.C: changes because of the above.
16425
16426 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16427
16428         * text2.C (setCounter): Fix counters bug with bibliography layout.
16429
16430 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16431
16432         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16433         own member functions
16434         (simpleTeXSpecialChars): ditto
16435
16436 2001-07-06  Juergen Vigna  <jug@sad.it>
16437
16438         * a lot of files: changed the access to LyXText::status and the
16439         call of undo-functions.
16440
16441         * undo.[Ch]: added a inset_id to the undo informations.
16442
16443         * undo_funcs.[Ch]: added and moved here all undo functions.
16444
16445         * lyxtext.h: give the status enum a weight, made status_ a private
16446         variable and made accessor functions for it, removed the whole bunch
16447         of undo-functions as they are now in their own file, make some
16448         functions publically available. Added function ownerParagraph with
16449         int parameter.
16450
16451         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16452         made InInset() a const function, added getParFromID() function.
16453
16454         * buffer.[Ch]: added const version for inset_iterator functions,
16455         added getInsetFromID() function.
16456
16457         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16458         changed undo functions for new version.
16459
16460 2001-07-05  Juergen Vigna  <jug@sad.it>
16461
16462         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16463         unknow mechanism does not call the proper constructor but only this
16464         one also if I request the other!?
16465
16466 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16467
16468         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16469
16470         * text2.C (LyXText): use initialization lists.
16471
16472         * lyxtext.h (Selection): initialize set_ and mark_
16473         (init): remove method
16474
16475 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16476
16477         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16478
16479 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16480
16481         * screen.[Ch]: change method names to begin with lowercase
16482
16483         * BufferView_pimpl.C (updateScrollbar): simplify further and
16484         hopefully make it a bit faster.
16485
16486 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16487
16488         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16489         calling directly xforms functions.
16490
16491         * Painter.C (Painter):
16492         * lyx_cb.C (MenuWrite):
16493         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16494         fl_display.
16495
16496         * lyx_gui.C: remove bogus guiruntime extern declaration.
16497
16498 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16499
16500         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16501         in NEW_INSETS
16502         (redoDrawingOfParagraph): ditto
16503         (redoParagraphs): ditto
16504         (cutSelection): don't create a object for CutAndPaste use the
16505         static method directly
16506         (pasteSelection): ditto
16507
16508         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16509         LyXview (+ rename)
16510
16511 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16512
16513         * modifications to some other files because of this.
16514
16515         * Makefile.am (lyx_SOURCES): add XFormsView
16516
16517         * XFormsView.[Ch]: new files
16518
16519         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16520         the main window. Move the gui dependent stuff to XFormsView
16521
16522 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16523
16524         * tabular.C (GetCellInset): update cur_cell also in the row/col
16525         version of this function.
16526
16527         * lyxfunc.C: no need to include figure_form.h here.
16528
16529         * FontLoader.h:
16530         * lyxfunc.h:
16531         * lyxscreen.h:
16532         * text2.C:
16533         * lyxvc.C: no need to include forms.h here.
16534
16535 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16536
16537         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16538
16539         * lyxfunc.C (Dispatch):
16540         * Spacing.C (set):
16541         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16542         constructor argument.
16543
16544 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16545
16546         * paragraph.C (Paragraph): dont't clear, and just set layout.
16547         (makeSameLayout): use params's copy contructor.
16548
16549         * ParagraphParameters.[Ch] (makeSame): delete method
16550
16551 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16552
16553         * Variables.[Ch]: fix indentation, rename set to isSet
16554
16555 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16556
16557         * lyxfunc.C (Dispatch): fix typo
16558
16559 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16560
16561         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16562         upper_bound.
16563
16564         * bufferlist.C: include assert.h for emergencyWrite().
16565
16566 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16567
16568         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16569           give up at last (bug #425202) !
16570
16571 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16572
16573         * lyx_gui_misc.C:
16574         * sp_form.h:
16575         * sp_form.C:
16576         * spellchecker.h:
16577         * spellchecker.C: strip spellchecker options and bring up
16578           preferences tab instead
16579
16580 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16581
16582         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16583         the istringstream constructor
16584
16585 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16586
16587         * paragraph.C (getLayout): fix return value
16588
16589         * paragraph.h: do not declare getLayout as inline.
16590
16591         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16592
16593 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16594
16595         * lyxcursor.h (operator<): new func
16596         (operator>): new func
16597         (operator>=): new func
16598         (operator<=): new func
16599
16600         * text.C (changeCase): use selection.start and selection.end
16601         (changeRegionCase): require from to be <= to. Require par to be a
16602         valid paragraph.
16603
16604         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16605
16606 2001-06-27  Juergen Vigna  <jug@sad.it>
16607
16608         * text.C (cursorLeftOneWord): changed to return the cursor and added
16609         overlay with BufferView * parameter which calls this one.
16610         (getWord): added
16611         (selectWord): use new getWord function.
16612         (changeCase): renamed from changeWordCase as and extended to work
16613         also on selections.
16614
16615         * lyxtext.h: added enum word_location
16616
16617         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16618         changeCase as this operates now also on selections.
16619
16620 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16621
16622         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16623
16624         * many files: send debug output to Debug::INFO instead of
16625         Debug::ANY.
16626
16627         * converter.C (View):
16628         (Convert):
16629         (Move): send debug output to Debug::FILES instead of console.
16630
16631 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16632
16633         * lyxfunc.C (getStatus): use func_status
16634
16635         * func_status.h: new header, describing the results of
16636         LyXFunc::getStatus;
16637
16638         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16639         LFUN_MATH_HALIGN.
16640
16641 2001-06-25  The LyX Project  <jug@sad.it>
16642
16643         * buffer.C (sgmlOpenTag):
16644         (sgmlCloseTag):
16645         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16646
16647 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16648
16649         * text2.C: remove some dead code
16650
16651         * tabular.C (GetCellInset): store the last cell checked (gotten)
16652
16653         * tabular.h: add the helper for the speedup
16654
16655         * lyxtext.h: remove some dead code
16656
16657 2001-06-26  The LyX Project  <Asger>
16658
16659         * paragraph.C: Change export to LaTeX of alignment to
16660         \begin{center} and family for better roundtrip work with reLyX.
16661
16662         * Tune the math drawing a bit.
16663
16664 2001-06-25  The LyX Project  <Asger>
16665
16666         * LColor.C (LColor): New color for math background. New color
16667         for buttons.
16668
16669 2001-06-25  The LyX Project  <jug@sad.it>
16670
16671         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16672
16673         * lyxfunc.C (Open):
16674         * bufferlist.C (newFile): do not restrict to files ending with
16675         .lyx
16676
16677         * BufferView_pimpl.C (MenuInsertLyXFile):
16678
16679 2001-06-24  The LyX Project  <jug@sad.it>
16680
16681         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16682         of compare_no_case
16683
16684 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16685
16686         * lyxtext.h: rename most methods to begin with a small char.
16687         Lots of changes because of this.
16688
16689         * paragraph.C (Paragraph): do not call fitToSize
16690         (erase): call Pimpl::erase
16691         (insertChar): call Pimpl::insertChar
16692         (insertInset): call Pipl::insertInset
16693         (breakParagraph): do not call fitToSize
16694         (breakParagraphConservative): do not call fitToSize
16695         (fitToSize): remove method
16696
16697         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16698
16699 2001-06-24  The LyX Project  <Asger>
16700
16701         * Fix Qt compilation^2
16702
16703 2001-06-24  The LyX Project  <jug@sad.it>
16704
16705         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16706         depthHook(getDepth()-1).
16707
16708         * paragraph.h:
16709         * ParagraphParameters.h:
16710         * ParameterStruct.h: change type of depth to unsigned int ==
16711         depth_type. Many adaptations to other files before of that.
16712
16713 2001-06-24  The LyX Project  <Asger>
16714
16715         * Fix Qt compilation.
16716
16717 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16718
16719         * paragraph.h: renamed several methods to begin with small letter.
16720         several changes to many parts of the code because of this.
16721
16722 2001-06-23  The LyX Project  <jug@sad.it>
16723
16724         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16725         rewritten to discard all double spaces when KeepEmpty is off
16726         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16727         to only handle newlines but not fiddle with spaces and friends.
16728
16729         * lyxfunc.C (MenuNew): when doing 'new from template', use
16730         template_path as default directory
16731
16732 2001-06-23  The LyX Project  <Asger>
16733
16734         * Clean-up of header file includes all over
16735         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16736
16737 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16738
16739         * paragraph.h: renamed from lyxparagraph.h
16740
16741 2001-06-23  Asger  <lyx@violet.home.sad.it>
16742
16743         * Buffer.h: Removed Buffer::resize
16744         * BufferList.h: Removed BufferList::resize
16745         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16746         the document lazily when we change the width, or the font settings.
16747
16748 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16749
16750         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16751
16752 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16753
16754         * buffer.h: remove out of date comment
16755
16756 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16757
16758         * lyxscreen.h:
16759         * screen.C: fix "theoretical" GC leak
16760
16761 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16762
16763         * LaTeX.C (scanAuxFile):
16764         (deplog): remove trailing \r when reading stream (useful under
16765         win32)
16766
16767 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16768
16769         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16770         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16771         and BufferView::theLockingInset(Inset*), so should use them and not
16772         access bv_->text->the_locking_inset directly.
16773
16774         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16775
16776 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16777
16778         * Makefile.am:
16779         * tex-defs.h: remove old unused file
16780
16781 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16782
16783         * BufferView_pimpl.C: fix typo, remove minibuffer message
16784           when buffer has loaded
16785
16786 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16787
16788         * lyxfunc.C (Dispatch): use stringstream
16789         (MenuNew): use stringstream
16790         (Open): use stringstream
16791
16792         * importer.C (Import): use stringstream
16793
16794         * bufferview_funcs.C (CurrentState): use stringstream
16795
16796         * LaTeX.C (run): use stringstream
16797
16798         * BufferView_pimpl.C (savePosition): use stringstream
16799         (restorePosition): use stringstream
16800         (MenuInsertLyXFile): use stringstream
16801
16802 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16803
16804         * BufferView.C:
16805         * Bullet.C:
16806         * ColorHandler.C:
16807         * FontInfo.C:
16808         * FontLoader.C:
16809         * LColor.C:
16810         * LaTeXFeatures.C:
16811         * Painter.C:
16812         * gettext.C:
16813         * lyx_gui_misc.C:
16814         * lyxserver.C:
16815         * vspace.C: removed // -*- C++ -*- as first line.
16816
16817         * lyxfind.h:
16818         * version.h: added // -*- C++ -*- as first line.
16819
16820 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16821
16822         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16823
16824         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16825         of string
16826
16827 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16828
16829         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16830         of floats.
16831
16832 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16833
16834         * gettext.C: include LString.h even when --disable-nls is on.
16835
16836 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16837
16838         * converter.h (Get): changed argument type from int to
16839         FormatList::size_type to avoid unnecessary conversion.
16840
16841         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16842         before using it.
16843
16844 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16845
16846         * gettext.h: include LString.h even when --disable-nls is on.
16847
16848 2001-06-07  Juergen Vigna  <jug@sad.it>
16849
16850         * text.C (BreakAgain): subst spaces with tabs.
16851
16852         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16853         (resizeInsetsLyXText): set force on resizeLyXText.
16854
16855 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16856
16857         * gettext.h (gettext_init):
16858         (locale_init): use a real definition instead of a macro
16859
16860 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16861
16862         * Bufferview_pimpl.C:
16863         * LColor.h:
16864         * LColor.C: further lcolor tidies
16865
16866 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16867
16868         * BufferView_pimpl.C (updateScrollbar): simplify.
16869
16870         * BufferView2.C: don't include insets/insetinfo.h, change
16871         prototype for insertInset and call the Pimpl version. let
16872         updateInset call Pimpl version.
16873
16874         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16875         gotoInset to BufferView::Pimpl
16876
16877 2001-06-01  Juergen Vigna  <jug@sad.it>
16878
16879         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16880         inside a LockingInset (is the update needed at all?).
16881
16882 2001-05-31  Juergen Vigna  <jug@sad.it>
16883
16884         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16885         here not the old one otherwise how should we compare it afterwards
16886         if it's the same!
16887
16888 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16889
16890         * lyxfont.C:
16891         * tabular.C:
16892         * tabular-old.C:
16893         * FontInfo.C: bring C functions into global namespace when
16894         necessary
16895
16896 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16897
16898         * LString.h: make sure config.h has been loaded before LString.h.
16899
16900         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16901         (one for each char read by EatLine!).
16902
16903         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16904         variables.
16905
16906 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16907
16908         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16909         to the same as the par we break from
16910
16911 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16912
16913         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16914
16915         * MenuBackend.C (expand): also create menu entries for wide
16916         versions of the floats.
16917
16918         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16919
16920         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16921
16922         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16923         frontends/Makefile.am
16924
16925         * text2.C: adjust
16926         * text.C: adjust
16927
16928
16929         * tabular.C (getTokenValue): add std::
16930
16931         * tabular-old.C (getTokenValue): add std::
16932         (getTokenValue): ditto
16933         (getTokenValue): ditto
16934
16935         * screen.C (ToggleSelection): adjust
16936
16937         * lyxtext.h: put selection cursors inside a Selection struct.
16938
16939         * lyxfunc.C (moveCursorUpdate): adjust
16940
16941         * lyxfont.C (latexWriteStartChanges): add std::
16942
16943         * lyxfind.C: adjust
16944
16945         * font.h: delete with(char const *, LyXFont const &)
16946
16947         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16948
16949         * FontInfo.C (getFontname): add std::
16950
16951         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16952         (workAreaButtonPress): adjust
16953         (tripleClick): adjust
16954         (update): adjust
16955         (moveCursorUpdate): adjust
16956         (Dispatch): adjust
16957
16958         * BufferView2.C (gotoInset): adjust
16959
16960 2001-05-30  Juergen Vigna  <jug@sad.it>
16961
16962         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16963         to check pspell I add this as default as I now have new pspell
16964         libraries and they seem to use this.
16965
16966 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16967
16968         * text2.C (CutSelection): make the cursor valid before the call to
16969         ClearSelection.
16970
16971 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16972
16973         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16974         relied on 0 terminated strings and other horrors. Bug found due to
16975         the new assert in lyxstring!
16976
16977         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16978         KP_ keys.
16979
16980 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16981
16982         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16983         to latinkeys.bind.
16984
16985         * lyxfunc.C (processKeySym): change method of getting to the
16986         self-insert char.
16987
16988         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16989         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16990         * BufferView_pimpl.[Ch]: here as private methods.
16991
16992 2001-05-28  Juergen Vigna  <jug@sad.it>
16993
16994         * text.C (SetHeightOfRow): added the update() call again as it is
16995         needed to initialize inset dimensions!
16996
16997 2001-05-16  Juergen Vigna  <jug@sad.it>
16998
16999         * text2.C (SetCharFont): Add new function with BufferView * and
17000         bool toggleall parameters for setting insets internal fonts.
17001         (SetFont): Freeze the undo as we may change fonts in Insets and
17002         all this change should be inside only one Undo!
17003
17004         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17005         setting font's in insets as for them we have the SetFont function!
17006
17007 2001-05-15  Juergen Vigna  <jug@sad.it>
17008
17009         * text2.C (ClearSelection): to be sure we REALLY don't have any
17010         selection anymore!
17011
17012         * tabular.C (TeXCellPreamble): fixed the left border problem for
17013         multicolumn cells.
17014
17015 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17016
17017         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17018         dependancy file
17019
17020 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17021
17022         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17023         LFUN_BREAKPARAGRAPH.
17024
17025         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17026         help test to "internal only", similar for LFUN_INSERT_URL
17027
17028         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17029         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17030         auto_region_delete and deadkeys.
17031
17032 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17033
17034         * LColor.h:
17035         * LColor.C: remove some dead entries, tidy a little
17036
17037 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17038
17039         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17040         commented code.
17041         (Dispatch): implement LFUN_ESCAPE
17042
17043         * commandtags.h: add LFUN_ESCAPE
17044
17045         * LyXAction.C (init): add entry for LFUN_ESCAPE
17046
17047         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17048         Remove commented code.
17049         (insertNote): moved here
17050         (open_new_inset): moved here
17051
17052         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17053         BufferView_pimpl
17054
17055 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17056
17057         * kbmap.C (findbinding): clean it up and make it work correctly.
17058
17059         * lyx_main.C (init): do not pass argc and argv as parameters
17060
17061 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17062
17063         * buffer.C: fix path for OS/2 & Win32
17064
17065         * lyx_gui.C:
17066         * lyx_main:
17067         * lyx_main.C: Added os:: class.
17068
17069         * os2_defines.h: update
17070
17071 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17072
17073         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17074         better by trying again with reduced state.
17075
17076 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17077
17078         * lyxrc.C (read): print error about invalid key sequence only when
17079         debugging (because not all latinX keysyms are known to some X
17080         servers)
17081
17082         * kbsequence.C (getiso): add a few std:: qualifiers
17083         (getiso): comment out extra return statement.
17084
17085 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17086
17087         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17088         handling.
17089         (Dispatch): enhance the accent inset a bit. (not perfect)
17090
17091 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17092
17093         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17094
17095 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17096
17097         * bufferlist.C (emergencyWrite): fix assert() call
17098
17099 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17100
17101         * text.C (InsertChar): Added trivial patch to only send the "you
17102         can not do multiple spaces this way" message once during a
17103         session.
17104
17105 2001-05-08  Baruch Even  <baruch@lyx.org>
17106
17107         * Makefile.am: Changed order of libraries to get LyX to link properly
17108         with the gnome frontend.
17109
17110 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17111
17112         * LaTeXFeatures.h: add a std:: qualifier
17113
17114 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17115
17116         * paragraph.C (String): use stringstream
17117
17118 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17119
17120         * paragraph.C (writeFile): remove footflag arg
17121
17122         * buffer.C (makeLaTeXFile): use stringstream
17123         (latexParagraphs): remove footnot gurba
17124
17125         * LaTeXFeatures.C (getPackages): use stringstream
17126         (getMacros): likewise
17127         (getTClassPreamble): likewise
17128         (getFloatDefinitions): new method
17129
17130         * paragraph.C (writeFile): reindent
17131         (Erase): reindent
17132
17133         * WorkArea.h: revert the xpos + etc changes.
17134
17135         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17136
17137         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17138
17139         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17140         (pasteSelection): likewise
17141         * text2.C (CreateUndo): likewise
17142
17143 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17144
17145         * minibuffer.C (peek_event): temporarily reduce the functionality
17146         of the minibuffer (to allow args on lfuns)
17147
17148         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17149         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17150
17151         * buffer.C (readInset): add compability reading of old float
17152         lists, add reading of new style float list.
17153         (readInset): avoid reevaluation of inscmd.getCmdName()
17154         (getLists): reindent
17155
17156         * MenuBackend.C (MenuItem): implement parsing of
17157         md_floatlistinsert and md_floatinsert.
17158         (expand::LastFiles): move initalizaton of iterators out of loop,
17159         avoid reevaluation.
17160         (expand::Documents): introduce typdedef vector<string> Strings,
17161         and use it.
17162         (expand::ExportFormats): introduce typedef vector<Format const *>
17163         Formats, and use it.
17164         (expand): implement FloatListInsert and FloatInsert.
17165
17166         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17167         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17168         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17169
17170         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17171         handling.
17172         (Dispatch::LFUN_FLOAT_LIST): implement
17173
17174 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17175
17176         * LaTeX.C (run): Fix problem with --export code.
17177
17178 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17179
17180         * BufferView.[Ch] (workarea): removed.
17181         (getClipboard) new method; wrapper for workarea()->getClipboard()
17182
17183         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17184         bug.
17185
17186         * WorkArea.h (width, height, xpos, ypos): These methods all
17187         returned the dimensions of the work_area sub-area of WorkArea,
17188         resulting in a position error if the WorkArea were resized. Now
17189         return the dimensions of the entire WorkArea.
17190
17191         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17192
17193 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17194
17195         * LaTeX.C (deplog): correct the syntax of regex reg1
17196
17197 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17198
17199         * undo.C: remove !NEW_INSETS cruft
17200
17201 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17202
17203         * text2.C: remove !NEW_INSETS cruft
17204
17205         * text.C: remove !NEW_INSETS cruft
17206
17207         * tabular.C: remove !NEW_INSETS cruft
17208
17209         * spellchecker.C: remove !NEW_INSETS cruft
17210
17211         * lyxtext.h: remove !NEW_INSETS cruft
17212
17213         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17214
17215         * lyxfunc.C: remove !NEW_INSETS cruft
17216
17217         * lyxfind.C: remove !NEW_INSETS cruft
17218
17219         * lyx_cb.C: remove !NEW_INSETS cruft
17220
17221         * figureForm.C: remove  !NEW_INSETS cruft
17222
17223         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17224
17225         * buffer.[Ch]: remove !NEW_INSETS cruft
17226
17227         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17228
17229         * CutAndPaste.C: remove !NEW_INSETS cruft
17230
17231         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17232
17233         * BufferView2.C: remove !NEW_INSETS cruft
17234
17235         * BufferView.h: remove !NEW_INSETS cruft
17236
17237 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17238
17239         * Lsstream.h: include LString.h before the sstream headers to
17240         fix problem with gcc 2.95.3 and lyxstring
17241
17242 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17243
17244         * lyx_main.C: add using directives when needed for C functions
17245         declared in std:: namespace.
17246
17247 2001-04-27  Juergen Vigna  <jug@sad.it>
17248
17249         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17250         (SetHeightOfRow): comment out the update call should not be needed!
17251
17252 2001-04-13  Juergen Vigna  <jug@sad.it>
17253
17254         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17255         (LyXTabular): tried to minimize operator= operations (and realized
17256         hopfully Lars wish).
17257
17258 2001-04-27  Juergen Vigna  <jug@sad.it>
17259
17260         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17261
17262 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17263
17264         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17265
17266         * buffer.C (readInset): hack to make listof algorithm work
17267
17268         * BufferView_pimpl.C: hack to make listof algorithm work
17269
17270 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17271
17272         * LyXAction.C: removed all !NEW_INSETS cruft
17273         (init): moved lfun_item in method
17274
17275         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17276
17277 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17278
17279         * BufferView2.C (theLockingInset): white space.
17280
17281 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17282
17283         * minibuffer.C: include <iostream>
17284
17285         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17286
17287         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17288
17289         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17290
17291         * text.[Ch] (TransposeChars): new method
17292
17293 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17294
17295         * call message directly through LyXView instead of through LyXFunc
17296         * BufferView2.C: adjust
17297         * BufferView_pimpl.C: adjust
17298         * FontLoader.C: adjust
17299         * buffer.C: adjust
17300         * bufferview_funcs.C: adjust
17301         * converter.C: adjust
17302         * figureForm.C: adjust
17303         * importer.C: adjust
17304         * lyx_cb.C: adjust
17305         * lyx_gui_misc.C: adjust
17306         * lyxfunc.C: adjust
17307         * lyxvc.C: adjust
17308         * text2.C: adjust
17309         + more files in subdirs
17310
17311         * lyxparagraph.h (size): move up int file
17312         (GetLayout): ditto
17313
17314         * adjust all uses of Assert to lyx::Assert.
17315
17316         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17317         lyxfunctional in namespace lyx
17318         * layout.C (hasLayout): ditto
17319         (GetLayout): ditto
17320         (GetLayout): ditto
17321         (delete_layout): ditto
17322         (NumberOfClass): ditto
17323         * converter.C (GetFormat): ditto
17324         (GetNumber): ditto
17325         (Add): ditto
17326         (Delete): ditto
17327         (SetViewer): ditto
17328         * bufferlist.C (getFileNames): ditto
17329         (emergencyWriteAll): ditto
17330         (exists): ditto
17331         (getBuffer): ditto
17332         * MenuBackend.C (hasSubmenu): ditto
17333         (hasMenu): ditto
17334         (getMenu): ditto
17335         * BufferView_pimpl.C (getInsetByCode): ditto
17336
17337 2001-04-18  Juergen Vigna  <jug@sad.it>
17338
17339         * vspace.C (asLatexString): fixed the 100% problem.
17340
17341 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17342
17343         * lyxfunc.C (Dispatch):
17344         * minibuffer.C:
17345         * minibuffer.h: add a few std:: qualifiers
17346
17347 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17348
17349         * minibuffer.[Ch]: reimplement so that commands is initiated and
17350         run from lyxfunc, simplified som handling, and made the completion
17351         and history code for complete. wip.
17352
17353         * lyxfunc.C (processKeySym): call message
17354         (miniDispatch): new temporary method
17355         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17356         (LFUN_MESSAGE): implement
17357         (LFUN_MESSAGE_PUSH): implement
17358         (LFUN_MESSAGE_POP): implement
17359         (initMiniBuffer): the initial/defualt minibuffer message.
17360
17361         * lyxfont.[Ch]: inline some more getters
17362
17363         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17364
17365         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17366
17367         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17368         (AutoSave): use LFUN_MESSAGE
17369         (Reconfigure): ditto
17370
17371         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17372
17373         * figureForm.C: use LFUN_MESSAGE
17374
17375         * converter.C (runLaTeX): use LFUN_MESSAGE
17376
17377         * bufferview_funcs.C: use LFUN_MESSAGE
17378         (Melt): ditto
17379         (changeDepth): ditto
17380
17381         * bufferparams.h: use boost::
17382
17383         * bufferlist.h: inherit privately from noncopyable
17384
17385         * bufferlist.C (loadLyXFile): remove some commented code.
17386
17387         * buffer.C (runChktex): use LFUN_MESSAGE
17388
17389         * ShareContainer.h: inherit privately from noncopyable
17390
17391         * ParagraphParameters.[hC] (depth): inline it.
17392
17393         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17394         methods.
17395         (message): new method
17396         (messagePush): ditto
17397         (messagePop): ditto
17398         (show): init minibuffer
17399         (showState): direct call
17400
17401         * LaTeX.[Ch]: inherit privately from noncopyable
17402         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17403         instead of WriteStatus.
17404
17405         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17406
17407         * BufferView_pimpl.C (buffer): don't init minibuffer
17408         (workAreaButtonPress): use LFUN_MESSAGE
17409         (workAreaButtonRelease): ditto
17410         (savePosition): ditto
17411         (restorePosition): ditto
17412         (MenuInsertLyXFile): ditto
17413         (workAreaExpose): don't init minibuffer
17414         (update): remove commented code, simplify
17415
17416         * BufferView2.C (openStuff): use LFUN_MESSAGE
17417         (toggleFloat): ditto
17418         (menuUndo): ditto
17419         (menuRedo): ditto
17420         (copyEnvironment): ditto
17421         (pasteEnvironment): ditto
17422         (copy): ditto
17423         (cut): ditto
17424         (paste): ditto
17425         (gotoInset): ditto
17426         (updateInset): remove some commented code
17427
17428         * lastfiles.h: inherit privately from noncopyable
17429         * layout.h: ditto
17430         * lyx_gui.h: ditto
17431         * lyx_main.h: ditto
17432         * lyxlex.h: ditto
17433         * lyxlex_pimpl.h: ditto
17434
17435         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17436         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17437         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17438
17439         * LyXAction.h: inherit privately from noncopyable, add methods
17440         func_begin, func_end, returning iterators to the func map.
17441
17442         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17443         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17444         (func_begin): new method
17445         (func_end): new method
17446
17447         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17448         and not)
17449         (copySelection): ditto
17450         (pasteSelection): ditto
17451
17452         * BufferView.C: whitespace change
17453         * BufferView.h: inherit privately from noncopyable
17454
17455 2001-04-16  Allan Rae  <rae@lyx.org>
17456
17457         * tabular-old.C (l_getline):
17458         * spellchecker.C (sc_check_word):
17459         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17460         an unrecognised preprocessor directive.  So ensure they're wrapped.
17461
17462 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17463
17464         * src/exporter.C (Export): Give an error message when path to file
17465         contains spaces.
17466
17467 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17468
17469         * LaTeX.C (deplog): Always check that foundfile exists.
17470
17471 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17472
17473         * lyx_main.h:
17474         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17475
17476 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17477
17478         * tabular.[Ch] (getLabelList): implement new method
17479
17480         * minibuffer.h: comment ouf setTiimer
17481
17482         * minibuffer.C (ExecutingCB): constify res
17483         (peek_event): constify s
17484         (Set): constify ntext
17485         (Init): constify nicename
17486
17487         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17488
17489         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17490         (savePosition): use two params to Minibuffer::Set
17491         (restorePosition): ditto
17492
17493 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17494
17495         * lyx_main.C: include language.h
17496
17497         * Makefile.am (lyx_main.o): add language.h
17498
17499 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17500
17501         * exporter.C:
17502         * paragraph.C:
17503         * screen.C:
17504         * tabular.C:
17505         * CutAndPaste.C: include gettext.h
17506
17507         * lyxfont.h: remove old hack with ON and OFF.
17508
17509         * lyxparagraph.h:
17510         * lyxfont.h: do not include language.h...
17511
17512         * BufferView2.C:
17513         * LaTeXFeatures.C:
17514         * Painter.C:
17515         * bufferview_funcs.C:
17516         * font.C:
17517         * lyxfont.C:
17518         * text.C:
17519         * text2.C:
17520         * trans_mgr.C:
17521         * paragraph.C: ... but do it here instead
17522
17523 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17524
17525         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17526
17527         * tabular.C: small reformat
17528
17529         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17530         NEW_INSETS version
17531         (GetChar): ditto
17532         (BreakParagraph): ditto
17533         (SetOnlyLayout): ditto
17534         (SetLayout): ditto
17535
17536         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17537         with one arg less.
17538
17539         * lastfiles.C: removed most using decl, add std:: where needed
17540
17541         * buffer.C: ws changes
17542
17543         * MenuBackend.C (class compare_format): put into anon namespace
17544         (expand): constify label, names, action, action2
17545         (expand):
17546
17547         * text.C (SingleWidth): constify font
17548         (IsBoundary): constify rtl2
17549         (GetVisibleRow): constify ww
17550
17551         * LaTeX.C (deplog): constify logfile
17552
17553         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17554         start_x, end_x
17555         (workAreaExpose): constify widthChange, heightChange
17556
17557         * lyxrow.C (par): moved
17558         (height): moved
17559         (next): moved
17560         * lyxrow.h: as inlines here
17561
17562         * lyxfont.h (shape): moved from lyxfont.C
17563         (emph): moved from lyxfont.C
17564
17565         * lyxfont.C (LyXFont): use initialization list for all
17566         constructors
17567         (shape): move to lyxfont.h as inline
17568         (emph): move to lyxfont.h as inline
17569
17570
17571 2001-04-04  Juergen Vigna  <jug@sad.it>
17572
17573         * vspace.C: had to include stdio.h for use of sscanf
17574
17575 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17576
17577         * BufferView.h:
17578         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17579         independent of xforms.
17580
17581 2001-04-02  Juergen Vigna  <jug@sad.it>
17582
17583         * spellchecker.C: fixed namespace placing!
17584
17585 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17586
17587         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17588         the LyXParagraph * is 0.
17589
17590 2001-03-29  Juergen Vigna  <jug@sad.it>
17591
17592         * vspace.C: added support for %, c%, p%, l%.
17593         (stringFromUnit): added helper function.
17594         (asLatexString): changed to give right results for the %-values.
17595
17596         * buffer.C: convert the widthp in a width%.
17597
17598 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17599
17600         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17601         figureForm.[Ch].
17602
17603         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17604         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17605
17606         * lyx_cb.[Ch]: see above.
17607
17608         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17609         form1.[Ch].
17610
17611         * form1.[Ch]:
17612         * lyx.[Ch]: replaced by figure_form.[Ch].
17613
17614         * lyx_gui.C:
17615         * lyx_gui_misc.C:
17616         * lyxfunc.C: changed headers associated with above changes.
17617
17618 2001-03-27  Juergen Vigna  <jug@sad.it>
17619
17620         * BufferView_pimpl.C: set the temporary cursor right!
17621
17622 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17623
17624         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17625
17626 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17627
17628         * LString.h: removed "using std::getline"!
17629
17630         * BufferView_pimpl.C (Dispatch): changes due to changes in
17631         InsetInclude::Params.
17632
17633         * buffer.C (tag_name): removed redundant break statements as they were
17634         producing lots of warnings with my compiler.
17635
17636 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17637
17638         * LString.h: add "using std::getline" when using the real <string>.
17639
17640 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17641
17642         * buffer.C: removed bitset usage.
17643         PAR_TAG moved to an anonymous name space.
17644         (tag_name): new funtion, also in the anonymous namespace.
17645         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17646         (makeDocBookFile): clean code. Completed transition from string arrays
17647         to string vectors.
17648         (SimpleDocBookOnePar): code clean.
17649
17650 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17651
17652         * tabular.C: add some comments.
17653
17654 2001-03-22  Juergen Vigna  <jug@sad.it>
17655
17656         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17657         compatibility read a bit and fixed bug with minipage in different
17658         depth.
17659
17660 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17661
17662         * buffer.C (pop_tag): removed.
17663         (push_tag): removed.
17664         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17665         array replaced with vector. Added support for CDATA sections.
17666         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17667         at any nest level.
17668         (makeDocBookFile): XML conformant declaration of CDATA section,
17669         fixed bug related to <emphasis> in the first paragraph char.
17670         (sgmlOpenTag): exclude empty tags.
17671         (sgmlCloseTag): ditto.
17672
17673         * buffer.h (pop_tag): removed.
17674         (push_tag): removed.
17675
17676 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17677
17678         * language.h (Languages): added size_type and size().
17679
17680 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17681
17682         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17683         response on compability reading of minipages. One probliem is that
17684         the old usage of minipages was flertydig
17685
17686         * several files here and in subdirs: don't use static at file
17687         scope use anon namespaces instead.
17688
17689 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17690
17691         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17692         LaTeX output. This is necessary for Literate document
17693         processing.
17694
17695 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17696
17697         * buffer.C: insert hfill when needed.
17698
17699         * tabular.C (l_getline): use string::erase, small whitespace change.
17700
17701         * BufferView_pimpl.C: try the anon namespace.
17702         * WorkArea.C: ditto
17703
17704 2001-03-16  Juergen Vigna  <jug@sad.it>
17705
17706         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17707         otherwise it won't open options-dialogs.
17708
17709         * buffer.C: honor pextraWidth(p) on converting minipages.
17710
17711         * tabular.C (l_getline): changed the functions to strip trailing \r.
17712
17713 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17714
17715         * BufferView_pimpl.C:
17716         * minibuffer..C: added "using SigC::slot" declaration.
17717
17718 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17719
17720         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17721
17722         * text2.C: ditto
17723
17724         * text.C: ditto
17725
17726         * paragraph.C: ditto
17727
17728         * lyxtext.h: NO_PEXTRA
17729
17730         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17731
17732         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17733         * ParameterStruct.h: ditto
17734         * ParagraphParameters.h: ditto
17735         * lyxparagraph.h: ditto
17736
17737 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17738
17739         * buffer.C: add compability for minipage alignment.
17740         (latexParagraphs): remove unwanted pextra check.
17741
17742         * several files: remove CXX_WORKING_NAMESPACES
17743
17744         * buffer.C (pop_tag): tie is in namespace boost
17745
17746         * BufferView.h: noncopyable is in namespace boost
17747         * lyxlex.h: ditto
17748         * lyx_main.h: ditto
17749         * lyx_gui.h: ditto
17750         * layout.h: ditto
17751         * lastfiles.h: ditto
17752         * bufferlist.h: ditto
17753         * ShareContainer.h: ditto
17754         * LyXView.h: ditto
17755         * LyXAction.h: ditto
17756         * LaTeX.h: ditto
17757
17758 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17759
17760         * Merging changes from BRANCH_MVC back into HEAD.
17761
17762         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17763
17764 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17765
17766         * BufferView_pimpl.C: change from intl.C
17767
17768         * combox.h:
17769         * combox.C:
17770         * Makefile.am: move combox.*
17771
17772         * form1.h:
17773         * form1.C:
17774         * lyx_gui.C:
17775         * intl.h:
17776         * intl.C: remove dialog (covered by prefs)
17777
17778 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17779
17780         * lyxfunc.C (Dispatch): removed redundant break statement.
17781
17782 2001-03-14  Juergen Vigna  <jug@sad.it>
17783
17784         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17785
17786 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17787
17788         * buffer.C: add hack to fix compability reading of minipages.
17789
17790 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17791
17792         * buffer.C (getLists): Cleanup.
17793
17794 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17795
17796         * lyxfont.C (update): don't honor toggleall on font size.
17797
17798 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17799
17800         * bmtable.c:
17801         * bmtable.h:
17802         * Makefile.am: moved to frontends/xforms/
17803
17804         * lyx_gui_misc.C:
17805         * lyxfunc.C:
17806         * BufferView_pimpl.C: changes for moved mathpanel
17807
17808 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17809
17810         * gettext.h: fix gettext_init() in --disable-nls
17811
17812 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17813
17814         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17815
17816 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17817
17818         * lyx.C:
17819         * lyx.h: strip external form
17820
17821 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17822
17823         * BufferView_pimpl.C: add comment, destroySplash()
17824
17825 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17826
17827         * BufferView_pimpl.C:
17828         * LyXAction.C:
17829         * buffer.C:
17830         * commandtags.h:
17831         * lyxfunc.C: use re-worked insetinclude
17832
17833 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17834
17835         * buffer.C: add using std::stringstream.
17836
17837         * lyx_cb.C: readd using std::ios.
17838
17839         * buffer.C: add using std::map.
17840
17841         * BufferView_pimpl.C: add using std::vector.
17842
17843         * ShareContainer.h: add std:: to swap.
17844
17845         * buffer.h: add some typedefs
17846         * buffer.C (getLists): use them
17847         (getLists): renamed from getTocList.
17848         add a counter for the different float types and use it in the
17849         generated string.
17850         (getLists): use the same counter for the NEW_INSETS and the "non"
17851         NEW_INSETS
17852
17853         * lyx_cb.h: remove unused items, includes, using etc.
17854
17855         * ShareContainer.h: remove some commented code, add more comments
17856         and "documentation".
17857
17858 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17859
17860         * buffer.C (getTocList): make the list also when NEW_INSETS is
17861         defined.
17862
17863         * buffer.h: remove TocType
17864
17865         * buffer.C (getTocList): change to return a map<string,
17866         vector<TocItem> >, implement for dynamic number of list.
17867
17868         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17869         * text2.C (PasteSelection): adjust
17870         * CutAndPaste.C (pasteSelection): adjust
17871
17872         * FloatList.C (FloatList): update from the new_insets branch.
17873         * Floating.[Ch]: ditto
17874         * LaTeXFeatures.C: ditto
17875         * buffer.C: ditto
17876         * lyxlex_pimpl.C: ditto
17877
17878         * paragraph.C (Last): remove when NEW_INSETS is defined.
17879
17880         * other file: changes because of the above.
17881
17882 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17883
17884         * lyxparagraph.h: rename next to next_, previous to previous_,
17885         make them private for NEW_INSETS. Rename Next() to next(),
17886         Previous() to previous().
17887
17888         * other files: changes because of the above.
17889
17890 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17891
17892         * BufferView.h:
17893         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17894         problem.
17895
17896 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17897
17898         * main.C (main): pass lyx_localedir to gettext_init().
17899
17900         * gettext.h: remove locale_init and gettext_init macros
17901
17902         * gettext.C (locale_init): new function
17903         (gettext_init): new function
17904
17905         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17906         setlocale().
17907
17908 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17909
17910         * Moved credits to frontends:
17911         * credits.[Ch]: removed
17912         * credits_form.[Ch]: removed
17913         * lyx_gui_misc.C: remove credits stuff
17914         * Makefile.am:
17915
17916 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17917
17918         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17919
17920         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17921         unneeded destructor.
17922
17923         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17924         a standalone pointer again.
17925
17926         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17927
17928 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17929
17930         * Makefile.am:
17931         * filedlg.h:
17932         * filedlg.C:
17933         * LyXAction.C:
17934         * ToolbarDefaults.C:
17935         * bufferlist.C:
17936         * commandtags.h:
17937         * form1.C:
17938         * form1.h:
17939         * lyx_cb.C:
17940         * lyx_cb.h:
17941         * lyxfunc.h:
17942         * lyxfunc.C:
17943         * BufferView_pimpl.C: use new file dialog in GUII
17944
17945         * lyx_cb.h:
17946         * lyx_cb.C: remove LayoutsCB to Toolbar
17947
17948 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17949
17950         * ShareContainer.h (get): add std:: qualifier
17951
17952 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17953
17954         * ShareContainer.h: define a proper ShareContainer::value_type
17955         type (and use typename to please compaq cxx)
17956
17957 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17958
17959         * lyxparagraph.h: move serveral local vars to
17960         ParameterStruct/ParagraphParameters., use ShareContainer in
17961         FontTable., make vars in FontTable private and add getter and
17962         setter.
17963
17964         * paragraph.C: changes because of the above.
17965
17966         * lyxfont.h: remove copy constructor and copy assignment. (the
17967         default ones is ok), move number inside FontBits. move inlines to
17968         lyxfont.C
17969
17970         * lyxfont.C: add number to initializaton of statics, move several
17971         inlines here. constify several local vars. some whitespace
17972         cleanup. Dont hide outerscope variables.
17973
17974         * Spacing.h: add two new constructors to match the set methods.
17975
17976         * ShareContainer.h: new file, will perhaps be moved to support
17977
17978         * ParameterStruct.h: new file
17979
17980         * ParagraphParameters.h: new file
17981
17982         * ParagraphParameters.C: new file
17983
17984         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17985         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17986
17987         * BufferView_pimpl.C: ParagraphParameter changes.
17988         * buffer.C: Likewise.
17989         * bufferview_funcs.C: Likewise.
17990         * text.C: Likewise.
17991         * text2.C: Likewise.
17992
17993 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17994
17995         * lyxfind.C (LyXReplace): do not redefine default argument in
17996         implementation.
17997         (IsStringInText): ditto
17998         (SearchForward): ditto
17999         (SearchBackward): ditto
18000
18001 2001-03-06  Juergen Vigna  <jug@sad.it>
18002
18003         * lyxfind.C (IsStringInText): put parentes around expressions.
18004
18005 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18006
18007         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18008
18009 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18010
18011         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18012
18013         * stl_string_fwd.h: add comment
18014
18015         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18016
18017         * tabular.h:
18018         * tabular.C: remove unused DocBook methods
18019
18020         * intl.C:
18021         * language.C:
18022         * paragraph.C:
18023         * buffer.C:
18024         killed DO_USE_DEFAULT_LANGUAGE
18025
18026 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18027
18028         * lyx_gui.C: do not include language.h.
18029
18030         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18031         arguments in function implementation.
18032
18033 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18034
18035         * BufferView_pimpl.C: add <ctime>
18036
18037 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18038
18039         * BufferView_pimpl.C: add using std::find_if
18040
18041 2001-02-27  José Matos  <jamatos@fep.up.pt>
18042
18043         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18044         by OnlyPath.
18045
18046 2001-02-11  José Matos  <jamatos@fep.up.pt>
18047
18048         * buffer.C (makeDocBookFile): command styles now have a parameter as
18049         "title" by default.
18050
18051 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18052
18053         * layout_forms.[Ch]: removed
18054         * lyx_cb.[Ch]: out character
18055         * lyx_gui.C: out character
18056         * lyx_gui_misc.C: out character
18057         * bufferview_funcs.C: : out character,
18058         added toggleall as parameter in ToggleAndShow
18059
18060 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18061
18062         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18063
18064         * text2.C (SetCurrentFont): Disable number property at boundary.
18065
18066 2001-02-26  Juergen Vigna  <jug@sad.it>
18067
18068         * lyxfunc.C (getStatus): added a string argument override function so
18069         that this is correctly called from LyXFunc::Dispatch if it contains a
18070         do_not_use_argument which is used!
18071         (Dispatch): added check for "custom" export and call appropriate func.
18072
18073 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18074
18075         * lyxrc.C: Add language_command_local, language_use_babel and
18076         language_global_options.
18077
18078         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18079
18080         * buffer.C (makeLaTeXFile): Use language_use_babel and
18081         language_global_options.
18082
18083 2001-02-23  Juergen Vigna  <jug@sad.it>
18084
18085         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18086         which works with LyXText and putted it inside BufferView. Here now we
18087         only call for that part the BufferView::Dispatch() function.
18088
18089         * BufferView.C (Dispatch): added.
18090
18091         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18092         functions which needs to use a LyXText over from LyXFunc.
18093         (MenuInsertLyXFile): added
18094         (getInsetByCode): added
18095         (moveCursorUpdate): added
18096         (static TEXT): added
18097
18098 2001-02-22  Juergen Vigna  <jug@sad.it>
18099
18100         * BufferView_pimpl.C (update): call a status update to see if LyXText
18101         needs it.
18102
18103 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18104
18105         * vc-backend.C (revert): implement for CVS
18106         (getLog): implement for CVS
18107
18108 2001-02-20  Juergen Vigna  <jug@sad.it>
18109
18110         * text2.C (ClearSelection): added BufferView param for inset_owner call
18111
18112         * lyxfunc.C (TEXT): added this function and use it instead of
18113         directly owner->view()-text of getLyXText().
18114
18115 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18116
18117         * src/layout_forms.C: out preamble
18118         * src/layout_forms.h: out preamble
18119         * src/lyx_cb.C: out preamble
18120         * src/lyx_cb.h: out preamble
18121         * src/lyx_gui.C: out preamble
18122         * src/lyx_gui_misc.C: out preamble
18123         * src/lyxfunc.C: connect with guii preamble
18124
18125 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18126
18127         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18128
18129 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18130
18131         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18132         whether to run bibtex.
18133
18134 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18135
18136         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18137
18138 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18139
18140         * Makefile.am (lyx_SOURCES): removed bibforms.h
18141
18142         * vspace.h: doxygen
18143
18144         * text.C (GetVisibleRow): make several local vars const
18145
18146         * tabular.C: small cleanup.
18147
18148         * lyxserver.C (callback): use compare instead of strncmp
18149
18150         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18151         inlines to after class or to paragraph.C
18152
18153         * lyxfont.h: remove friend operator!=
18154
18155         * converter.h: move friend bool operator< to non friend and after
18156         class def.
18157
18158         * combox.h: small cleanup
18159
18160         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18161         to inlines after class def.
18162
18163         * buffer.C (pop_tag): use string operations instead of strcmp
18164
18165         * bmtable.c: doxygen, small cleanup
18166
18167         * LaTeX.h: remove friend operator==
18168
18169 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18170
18171         * screen.C:
18172         * lyxrc.[Ch]:
18173         * lyxfunc.C:
18174         * lyxfont.[Ch]:
18175         * lyx_cb.C:
18176         * intl.[Ch]:
18177         * commandtags.h:
18178         * buffer.C:
18179         * WorkArea.[Ch]:
18180         * LyXAction.C:
18181         * BufferView_pimpl.C:
18182         * BufferView.[Ch]: remove cruft
18183
18184 2001-02-14  Juergen Vigna  <jug@sad.it>
18185
18186         * lyxfunc.C: removed #if 0 unused code
18187
18188         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18189
18190         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18191
18192         * text2.C (SetSelection): added a BufferView * parameter
18193
18194 2001-02-13  Juergen Vigna  <jug@sad.it>
18195
18196         * lyxfunc.C (Dispatch): fixed protected blank problem.
18197         * BufferView2.C (protectedBlank): added LyxText * parameter.
18198
18199         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18200         (AppendColumn): same as above for column_info.
18201
18202         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18203         (moveCursorUpdate): use a LyXText param for support of InsetText.
18204
18205         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18206         (tripleClick): ditto
18207
18208         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18209
18210         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18211
18212         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18213
18214         * text2.C (SetSelection): set correct update status if inset_owner
18215         (ToggleFree): ditto
18216
18217 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18218
18219         * tabular.C: remove some commented code.
18220
18221 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18222
18223         * BufferView_pimpl.C: call hideSplash()
18224
18225         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18226
18227         * include_form.h:
18228         * bibforms.h: remove
18229
18230         * lyxfunc.C:
18231         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18232           add LFUN_CHILD_CREATE
18233
18234         * counters.h: fix tiny typo
18235
18236         * lyx_cb.C:
18237         * lyx.h:
18238         * lyx_gui.C:
18239         * lyx.C: move splash to frontends/xforms/
18240
18241         * lyx_gui_misc.C: move Include and Bibform to frontends
18242
18243         * lyxvc.h: clarify comment
18244
18245         * vspace.C: tiny housekeeping
18246
18247 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18248
18249         * text.C (PrepareToPrint): RTL Fix.
18250
18251         * paragraph.C (GetUChar): New method.
18252         (String):  Use GetUChar.
18253
18254         * buffer.C (asciiParagraph): Use GetUChar.
18255
18256 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18257
18258         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18259
18260 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18261
18262         * buffer.h:
18263         * buffer.C: rename to getLogName(), handle
18264           build log / latex log nicely
18265
18266 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18267
18268         * MenuBackend.C:
18269         * MenuBackend.h: remove support for reference menuitem type.
18270
18271 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18272
18273         * BufferView_pimpl.C: housekeeping
18274         * BufferView_pimpl.h:
18275         * LyXView.h:
18276         * Makefile.am:
18277         * Timeout.C:
18278         * Timeout.h:
18279         * minibuffer.h: move Timeout GUI-I
18280
18281 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18282
18283         * lyxrc.C (read): Update converters data-structures.
18284
18285 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18286
18287         * LaTeX.h (operator!=): add operator != for Aux_Info
18288
18289 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18290
18291         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18292
18293         * LaTeXLog.C: deleted, useful code moved to Buffer
18294
18295         * buffer.h:
18296         * buffer.C: new function getLatexLogName()
18297
18298         * lyx_gui_misc.C:
18299         * lyx_gui.C:
18300         * lyxvc.C:
18301         * lyxvc.h:
18302         * lyxfunc.C: use frontends for LaTeX and VC logs
18303
18304 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18305
18306         * LaTeX.h: yet another std:: that Allan forgot.
18307
18308         * Variables.C (set): renamed from isset(), because this clashes
18309         with some HP-UX macros (grr).
18310
18311 2001-02-06  Allan Rae  <rae@lyx.org>
18312
18313         * LaTeX.h: Another bug fix.  Missing std:: this time.
18314
18315 2001-02-04  Allan Rae  <rae@lyx.org>
18316
18317         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18318         floats problem. I've left it commented out because it's not quite
18319         correct.  It should also test that the current object is a table or
18320         figure inset.  But I haven't gotten around to figuring out how to do
18321         that.  I *think* it'll be something like: "table" == inset.type()
18322
18323         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18324         bool.
18325
18326 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18327
18328         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18329         all the citation/databases/styles in the auxilary file.
18330         (run): Rerun latex if there was a babel language error.
18331
18332 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18333
18334         * text.C (Backspace): Preserve the font when changing newline char
18335         with a space.
18336         (BreakParagraph): If the cursor is before a space, delete the space.
18337
18338         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18339
18340 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18341
18342         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18343         new argument (code).
18344         (ChangeCitationsIfUnique): New method.
18345
18346         * paragraph.C (GetPositionOfInset): Handle bibkey.
18347
18348 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18349
18350         * BufferView_pimpl.h: change type of Position::par_pos to
18351         LyXParagraph::size_type.
18352
18353 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18354
18355         * BufferView_pimpl.C (savePosition, restorePosition): Write
18356         messages to minibuffer.
18357
18358 2001-01-28  José Matos  <jamatos@fep.up.pt>
18359
18360         * buffer.C (makeDocBookFile): adds support for document language.
18361         A silly restriction on the name of LatexCommand types where removed.
18362         Added support for CDATA sections, allows to chars unescaped, used
18363         among others in code, to avoid escape < and >.
18364
18365 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18366
18367         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18368         saved positions instrad of a stack. Furthermore, a position is
18369         stored using paragraph id/paragraph position.
18370
18371         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18372         Remove LFUN_REF_BACK.
18373
18374 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18375
18376         * converter.C (dvipdfm_options): New method.
18377
18378 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18379
18380         * vspace.C (isValidLength): Fix for empty input string.
18381
18382 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18383
18384         * LyXAction.C (init): change description of LFUN_FIGURE to
18385         "Insert Graphics"
18386
18387 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18388
18389         * LaTeX.C: add using directive
18390
18391 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18392
18393         * MenuBackend.C (expand): Fix the sorting of the formats.
18394
18395 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18396
18397         * lyx_main.C: tiny error message fix
18398
18399 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18400
18401         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18402         calling fl_initialize(). This fixes the problem with ',' as
18403         decimal separator in text files.
18404
18405 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18406
18407         * trans.C (process): Fix the keymap bug.
18408
18409 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18410
18411         * LaTeX.C (scanAuxFiles): New method. Provides support for
18412         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18413         (scanLogFile) Scan for "run BibTeX" messages.
18414
18415         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18416         OT1 font encoding. Also, load the aecompl package if the ae
18417         package is loaded.
18418
18419         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18420
18421 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18422
18423         * texrow.C (increasePos): turn two error messages into debug
18424         messages.
18425
18426 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18427
18428         * LaTeX.C (scanAux): Handle the \@input macro.
18429         (runBibTeX): Use scanAux().
18430
18431         * language.C (latex_options_): New field.
18432
18433         * LaTeXFeatures.C (getMacros): Add language macros.
18434
18435         * buffer.C (makeLaTeXFile): Small fix.
18436
18437 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18438
18439         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18440
18441         * text2.C: add a using directive.
18442
18443 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18444
18445         * BufferView2.C:
18446         * lyx_gui_misc.h:
18447         * lyxfr1.C:
18448         * lyxfunc.C: kill LyXBell.
18449
18450 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18451
18452         * text.C (IsBoundary): Remove the error message
18453
18454         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18455
18456         * lyxrc.C (setDefaults): Correct initialization value for
18457         font_norm_type.
18458
18459 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18460
18461         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18462         gotoError().
18463
18464         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18465         and GotoNextNote().
18466
18467         * src/LyXAction.C: Added reference-next.
18468
18469         * text.C (InsertChar): Use contains instead of strchr.
18470
18471         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18472
18473 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18474
18475         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18476         alignment commands (when needed).
18477
18478         * text.C (InsertChar): Add ':' to number separator chars.