]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Force update on paragraph merge
[lyx.git] / src / ChangeLog
1 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * lyxtext.h:
4         * text.C:
5         * text3.C (Delete, backspace): force update when merging paragraphs
6
7 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * BufferView.C (mouseSetCursor): clear the selection properly (bug
10         2163). 
11
12 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
13
14         * text.C (redoParagraph): honor inset->noFontChange()
15         * rowpainter.C (paintInset): ditto
16
17 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
18
19         * lyx_main.C (priv_exec): don't initialize Math on startup 
20         (initMath() has been moved to math_hullinset).
21
22 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
23
24         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
25         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
26         * paper.h: dispose dead PAPER_PACKAGES enum.
27
28 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
31         without X support.
32
33 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
34
35         * exporter.C (Export): Don't try to copy a file if it does not exist
36         (bug 1888)
37
38 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * text2.C (makeFontEntriesLayoutSpecific): remove.
41         (setLayout): adapt.
42
43         * text.C (insertChar): remove bogus caching of fonts (did not do
44         anything). 
45
46         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
47         ALL_SANE). (bug 2146)
48
49 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
50
51         * rowpainter.C (paintFirst): fix centering of
52         LABEL_CENTERED_TOP_ENVIRONMENT. 
53
54 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
55
56         * BufferView.C (mouseSetCursor): new method. Calls
57         deleteEmptyParagraphMechanism if necessary.
58
59         * lyxtext.h: make deleteEmptyParagraphMechanism public.
60
61         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
62         BufferView::mouseSetCursor (bug 2109).
63         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
64
65 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
66
67         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
68         do not remove it (this inset behaves differently from the others).
69
70 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         Fix bug 2096.
73         
74         * BufferView_pimpl.C (getStatus): it is only possible to insert a
75         file in a text inset.
76
77         * buffer.C (readDocument): remove pit argument and code releated
78         to it; set the inset owner correctly (unrelated, but useful).
79         (readFile): get rid of pit argument.
80
81         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
82         textclass instead of a selection index.
83         (pasteParagraphList): new function.
84         (pasteSelection): make it a wrapper around pasteParagraphList.
85
86         * BufferView_pimpl.C (MenuInsertLyXFile): use
87         cap::pasteParagraphList to insert a file.
88
89 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
90
91         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
92
93 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
94
95         * exporter.C: fix typo in text message
96
97 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
98
99         * text2.C (setLayout): move recUndo call to other setLayout method
100         * tabular.C (toggleFixedWidth): new, handle cell width changes
101         * tabular.C (setColumnPWidth): move some code from insettabular.C here
102         and use toggleFixedWidth
103         * tabular.C (setMColumnPWidth): ditto
104
105 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
106
107         * paragraph.C (asString): use new inset->textString method (fix
108         bug 2089) 
109
110 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * CutAndPaste.C (numberOfSelections): new helper function.
113
114         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
115
116         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
117         LyXFunc::getStatus; implement LFUN_PASTE.
118
119 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
120
121         * dociterator.[Ch]: new member realInset() that returns the cell
122         for tabulars and the inset for the rest (bug 1952).
123         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
124         (bug 1952).
125
126 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
129
130 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
131
132         * lyxfunc.C:
133         * paragraph.C:
134         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
135         argument.
136
137 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
138
139         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
140         line after typing ctrl-enter
141
142 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
143
144         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
145         math insets do not return a proper editable() state yet (bug 2124).
146
147 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
148
149         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
150         docs containing very large paragraphs.
151
152 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
153
154         * cursor.C (selectionBegin, selectionEnd):
155         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
156         cursor at different depths.
157
158 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
159
160         * bufferview_funcs.C (coordOffset): do not call cursorPos
161         for collapsed collapsables (fix bug 2094).
162
163 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * paragraph.C (fontSpan): make sure that the FontSpan does not
166         span across beginOfBody (bug 1947).
167
168 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
171
172 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
173
174         * messages.C: fix crash and localization on MinGW/Windows platform
175
176 2005-11-02  Angus Leeming  <leeming@lyx.org>
177
178         * Bidi.C:
179         * lyxtextclass.C: trivial fixes to some MSVS warnings.
180
181 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * text3.C (getStatus): re-enable disabled code. (bug 2081)
184
185         * BranchList.h (empty): constify.
186
187 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * text3.C (getStatus): 
190         * MenuBackend.C (expandBranches): take the branch list from the
191         master document (bug 2092).
192         
193         * MenuBackend.C (expandBranches): 
194         * bufferparams.C (writeFile): use BranchList type.
195
196 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * text3.C (dispatch, getStatus): 
199         * LyXAction.C (init): 
200         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
201
202 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
205
206 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * text.C (insertChar): do not reset boundary (bug 2061)
209
210 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         * dociterator.C (updateInsets): new method. Updates the inset_
213         cache of all the slices of the iterator.
214
215         * text2.C (deleteEmptyParagraphMechanism): compare also containing
216         insets when comparing pit/pos; pass the right cursor to
217         recordUndo; when a paragraph has been deleted, compare `old.top()' to
218         the right cursor slice of `cur'; use updateInsets on cur to make
219         sure that the inset caches are correct; general cleanup.
220
221 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
224         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
225         containg inset. If this does not work, the same command will be
226         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
227
228         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
229         a dispatch.
230
231 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
232
233         * lyxtextclass.C (Read): convert layout file if the format is wrong
234         * lyxtextclass.C (layout2layout): new, needed for the above
235
236 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * messages.C: do not forget to include <cerrno>.
239
240 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
241
242         * dociterator.h (StableDocIterator): add access to pos().
243         * undo.C (samePar): new method to check if two
244         iterators are in the same paragraph
245         * undo.C (recordUndo): check for samePar instead of cell identity
246         (which includes pos() and is too strict) (fixes bug 2097)
247
248 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * text.C (setCursorFromCoordinates): return a bool telling whether
251         dEPM triggered.
252
253         * text3.C (cursorPrevious): update if needed after
254         setCursorFromCoordinates (when dEPM triggered).
255
256         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
257         (otherwise the anchor may be completely wrong and make dEPM assert).
258
259 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
260
261         * buffer.C: version upgrade to 245.
262         * bufferparams.C: remove \quotes_times (bug 2090).
263         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
264         quotation marks as default.
265
266 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
267
268         * CutAndPaste.C (nrOfParagraphs): remove (unused)
269         * CutAndPaste.C (cutSelection): Remove debug message
270         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
271         undo information and only copy if this is a real cut
272         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
273         call
274         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
275         (bug 2059)
276         * CutAndPaste.C (eraseSelection): prevent cursor corruption
277         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
278         superflous cur.selection() setting
279         * CutAndPaste.[Ch] (grabSelection): take a const cursor
280         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
281
282 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
283
284         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
285         change anything.
286
287 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
288
289         * BufferView_pimpl.C: comment layout change
290
291 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
292
293         * LyXAction.C:
294         * lfuns.h:
295         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
296         by bibliography managers (bug 2071).
297
298 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
299
300         * BufferView_pimpl.C (update): choose arguments to update call so
301         that single-par update works most times
302         * text3.C (dispatch): carefully tune updating separately for
303         whole-screen and current-paragraph
304         * rowpainter.C (paintText): 1) replace painting by caching for
305         the two extra paragraphs, because we can;
306         2) suppress greying out of areas below/above drawn area in case of
307         single-par refresh
308         * lyxfunc.C (dispatch): remove superfluous update
309         * LyXAction.[Ch]: introduce SingleParUpdate
310
311 2005-10-05  Angus Leeming  <leeming@lyx.org>
312
313         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
314         always initialised before use.
315
316         * text.C (setHeightOfRow): squash warning about comparison
317         of signed and unsigned types.
318
319 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
320
321         * text.C (cursorX): two fixes involving RtL text drawing
322
323 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
324
325         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
326         items, not only large ones (part of bug 2057)
327
328 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
329
330         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
331         argument, use "newcommand".
332
333 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
334
335         * cursor.C (setSelection): do not open collapsable insets;
336         the insets do by themselves now (autoopen).
337
338 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
339
340         * buffer.C: format is up to 244.
341
342 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
343
344         * text.C (redoParagraph): fix calcultation of inset width wrt 
345         leftMargin (bug 1957).
346
347         * text3.C (dispatch): leave inset to the right when hitting ESC 
348         (bug 2034).
349
350 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * text2.C: 
353         * text.C: 
354         * factory.C:
355         * messages.C: include <boost/current_function.hpp> 
356
357 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
360         when command is internal. (bug 1941)
361
362 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * text2.C (cursorRight): do not honor boundary when at the end of
365         a paragraph. (bug 2010 again)
366
367 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
370
371 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
372
373         * rowpainter.C (paintText): fix RtL space width display bug (2029)
374
375 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * text2.C (setCursor): remove the unused 'boundary' parameter for
378         the CursorSlice version; adapt the LCursor version.
379
380         * lyxrc.C (write): 
381         * paragraph_pimpl.C (markErased): 
382         * cursor.C (bruteFind2, bruteFond3): fix warnings.
383
384 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
385
386         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
387         as is already done for "chapter".
388
389 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
390
391         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
392         textclass; do not record undo if nothing is changed.
393
394 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
395
396         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
397
398 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
399
400         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
401
402 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
403
404         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
405         combox, it is necessary to search for the topmost paragraph in the
406         cursor stack (bug 1926)
407
408 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
411         end of paragraph. (bug 2010)
412
413 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
414
415         * text.C (leftMargin): check for inInset == 0
416
417 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
418
419         * text.C (leftMargin): test for insetbase's new neverIndent()
420         bool instead of listing each and every inset that does not
421         wish par indendation.
422
423 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         * buffer_funcs.C (setCounter): put the code to compute enum label
426         here (where it belongs).
427
428         * counters.C (enumLabel): move code to buffer_funcs.C.
429
430 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
431
432         * outputparams.[Ch]: store local_font instead of local_language
433         * paragraph.C (simpleTeXOnePar): adapt to the change above
434
435 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
436
437         * buffer_funcs.C:
438         * counters.[Ch]: clean up special code for Hebrew.
439
440 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
443         than 2.
444
445 2005-09-08  Angus Leeming  <leeming@lyx.org>
446
447         * ispell.C:
448         * lyxrc.C: correct grammar describing invocation of the
449         spellchecker.
450
451 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
452
453         * text.C (read): remove unused variable.
454         (readParToken): remove static Change variable (never good in
455         recursive settings...); add it as a parameter instead.
456
457         * paragraph_pimpl.C (acceptChange): make debug info conditional.
458
459         * metricsinfo.C (PainterInfo): add new member erased_.
460
461         * rowpainter.C (RowPainter): add erased_ member, initialized from
462         PainterInfo. 
463         (paintInset): pass erased_ to Inset::draw.
464
465         * lyxfunc.C (lookupChange): new function. Tells whether change 
466         tracking is disabled at a given postion.
467         (getStatus): disable some actions when in deleted text with change
468         tracking. 
469
470 2005-08-03  John Levon  <levon@movementarian.org>
471         
472         * tabular.C (appendColumn, setMultiColumn): adapt to change to
473         InsetText::clear().
474
475         * paragraph_pimpl.C (markErased): add bool argument and handle it.
476         Also make sure to mark insets recursively.
477         (rejectChange, erase): be recursive
478
479         * paragraph.C (markErased): add bool argument.
480 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * lyxfind.C (findNextChange): tiny cleanup.
483
484         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
485         change tracking with the cursor in an inset; make sure the first
486         change is not skipped.
487
488 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
489
490         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
491         tabularStackDirty to work around bug 1919 (tabular needs
492         to know whether its own cell paste buffer or the one of 
493         texted is newer.
494         * CutAndPaste.C: mark tabular_stack_ clean after copy.
495
496 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
497
498         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
499
500 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
501
502         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
503         use old deleteion algorithm when changetracking is on.
504
505 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
506
507         * messages.C (get): add debug output.
508
509 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
510
511         * text.C (cursorX): fix bug 1965: cursor movement at
512         line end broken in RtL.
513         (drawSelection): fix bug 1970: drawing of single-line 
514         selection broken for RtL.
515
516 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         bug 465.
519
520         * dociterator.h (clear, push_back, pop_back): change from
521         protected to public.
522
523         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
524         and changed to just return the value of the item depth; take a
525         ParIterator as argument; take the itemdepth at outer nesting level
526         in account if necessary; cleanup and comment the code.
527         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
528         and changed to just return true if reset is needed; take a
529         ParIterator as argument; cleanup and comment the code.
530         (setCounter): adapt to above changes.
531
532 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * text3.C (dispatch): make debug message optional
535
536 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
539         inset. (bug 1963)
540
541 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
542
543         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
544
545 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
546
547         * text.C (insertChar):
548         * text2.C (deleteEmptyParagraphMechanism): take care whether 
549         a blank has been deleted (in change tracking mode) (bug 1254).
550
551 2005-07-20  John Levon  <levon@movementarian.org>
552
553         * text2.C (insertStringAsLines): remove old dubious code,
554         fixing bug 1939.
555
556 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
557
558         * MenuBackend.C (expandToc): use Floating::listName() as title of
559         the floats submenus.
560
561 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
562
563         * toc.[Ch]: Do not use translatable strings (bug 1870).
564
565 2005-07-20  John Levon  <levon@movementarian.org>
566
567         * tabular.C: fix 1748 - setting multicolumn adds
568           left line to the first cell
569
570 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
571
572         bug 1920
573         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
574         pars in one go.
575
576 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
577
578         * messages.C: supress some lyxerr messages
579
580 2005-07-18  Juergen Vigna  <jug@lyx.org>
581
582         * text.C (drawSelection): honor boundary when asking for cursorX.
583
584 2005-07-17  José Matos  <jamatos@fc.up.pt>
585
586         * tabular.C (recalculateMulticolumns): fix handling of one column
587         tables.
588
589 2005-07-17  Juergen Vigna  <jug@lyx.org>
590
591         * text.C (Delete, backspace): fixed so that paragraph with the
592         same layout can be merged by Delete/Backspace.
593
594 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
595
596         * text.C (readParToken): fix spelling.
597
598 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
599
600         * text2.C: fix counter update for DEPM problem reported by
601         Georg Baum
602
603 2005-07-17  Juergen Vigna  <jug@lyx.org>
604
605         * BufferView_pimpl.C (setBuffer): save/restore the
606         cursor/selection when switching buffers
607
608         * buffer.h: 
609         * buffer.C (saveCursor): add saveDocumentIterators to save the
610         cursor when switching buffer.
611
612 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
613
614         * debug.C: fix typo
615         * buffer.C: clarify message
616         
617 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
618
619         * dociterator.C (DocIterator): fix initialization order
620
621 2005-07-17  Juergen Vigna  <jug@lyx.org>
622
623         * text2.C (cursorHome): 
624         * text.C (drawSelection, cursorX): 
625         * dociterator.C (textRow): add boundary to getRow() call
626
627         * paragraph.C (getRow): implementation of below
628
629         * paragraph.h: add parameter boundary for getRow() function
630
631 2005-07-17  José Matos  <jamatos@fc.up.pt>
632
633         * buffer.C:
634         * bufferparams.[Ch]:
635         * tex-strings.[Ch]: new file format, remove support for a4.sty,
636         a4wide.sty and a4widemargins.
637
638 2005-07-17  Juergen Vigna  <jug@lyx.org>
639
640         * text2.C (cursorLeft): fix one of error
641
642 2005-07-17  Juergen Vigna  <jug@lyx.org>
643
644         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
645                    cursorEnd):
646         more fixes for boundary handling
647
648         * text3.C (dispatch): don't reset cursor if boundary has changed
649         on cursor movement.
650
651 2005-07-16  Juergen Vigna  <jug@lyx.org>
652
653         * text2.C (getColumnNearX): hopefully got it right now,
654         check if we are on column 0 for special case.
655
656 2005-07-16  Juergen Vigna  <jug@lyx.org>
657
658         * text2.C (getColumnNearX): handle special case Newline Inset
659
660         * text.C (singleWidth): Just remove bogus check
661
662 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
663
664         * funcrequest.C (split): avoid reading uninitialized char c
665
666 2005-07-16  José Matos  <jamatos@fc.up.pt>
667
668         * buffer.C:
669         * converter.C:
670         * lyxrc.C:
671         * paper.h:
672         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
673         single papersize variable.
674
675 2005-07-16  Juergen Vigna  <jug@lyx.org>
676
677         * text3.C (dispatch): honor boundary when checking if a cursor
678         movement has been done
679
680         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
681         (setCursor, setCursorIntern): fix cursor movement with boundary
682
683 2005-07-16  Juergen Vigna  <jug@lyx.org>
684
685         * text.C (currentState): output the actual Boundary
686
687 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         * factory.C (createInset): fix bad logic for tabular creation
690
691 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
692
693         * lyx_main.C (init): change some reLyX reference to tex2lyx
694
695 2005-07-16  Juergen Vigna  <jug@lyx.org>
696
697         * dociterator.C (DocIterator): initialize boundary
698
699 2005-07-16  Juergen Vigna  <jug@lyx.org>
700
701         * text2.C (getColumnNearX): Consider rows without trailing blank.  
702
703 2005-07-16  André Pönitz  <poenitz@gmx.net>
704
705         * lyxfont.h: Change order of declarations to give the compiler
706         a better chance to inline things
707
708         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
709         questions on unsaved docs for better scritability
710
711 2005-07-16  André Pönitz  <poenitz@gmx.net>
712
713         * paragraph.h (getChar): remove asserts as the same kind of security
714         can be achieved by using a suitable standard library implementation
715         and the function was in the critical path (25.9% in profiler)
716
717 2005-07-16  Juergen Vigna  <jug@lyx.org>
718
719         * cursor.C (bruteFind2):
720         * bufferview_funcs.C (coordOffset): 
721         * text.C (cursorX,cursorY): Handle cursor position after last char
722         in row before a inset which uses a whole row.
723
724 2005-07-15  José Matos <jamatos@lyx.org>
725
726         * output_plaintext.[Ch] (writeFileAscii): control reference title
727         printing.
728         (asciiParagraph): noparbreak was already deal and was incorrectly
729         used.
730
731 2005-07-15  Juergen Vigna <jug@lyx.org>
732
733         * lyxfunc.C (dispatch): save and restore the cursor after a
734         textclass switch.
735
736 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
737
738         * text.C (backspace): bug 806 for empty keepempty paragraphs we
739         change the layout to default before letting DEPM do its thing.
740
741         * paragraph_funcs.C (breakParagraph): dont reset the layout on
742         keepEmpty paragraphs
743
744         * text.C (setCursorFromCoordinates): add a debug statement
745
746         * text2.C (getColumnNearX): bug 1825 make sure that we don't
747         return a pos that is not on the row
748
749         * output_latex.C (TeXDeeper): get rid of potential dereferencing
750         of past the end iterator
751
752 2005-07-14  André Pönitz  <poenitz@gmx.net>
753
754         * undo.C (recordUndoFullBuffer): implement undo for
755         textclass switches
756
757 2005-07-14  André Pönitz  <poenitz@gmx.net>
758
759         * cursor.C (setSelection): open insets when selection is set there
760         to avoid crashs with cold coord cache
761
762 2005-07-14  André Pönitz  <poenitz@gmx.net>
763
764         * trans_mgr.C (insert): move cursor to the right after inserting
765         a char.
766
767 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
768
769         * BufferView_pimpl.C (update): dampen some of the debug blabbering
770         * factory.C (readInset): ditto
771         * text.C, text2.C: ditto
772
773 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
774
775         * buffer.C: format incremented to 242. There is no file format per
776         se, but the "frenchb" language has been removed from lib/language
777         and has to be translated to "french" by lyx2lyx.
778
779 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
780
781         * cursor_slice.h, dociterator.h: add some documentation
782         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
783
784 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
785
786         * text.C (leftMargin): do not add identation to display() style
787         insets, because they are always centered (bug 1293).
788
789 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
790
791         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
792         formatted_time methods in support/lyxtime.
793
794 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
795
796         * toc.[Ch]: new method getGuiName, which is used by the frontends 
797         to set the toc combo (fixes bug 1870). Make TOC string translatable.
798
799 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
800
801         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
802         StableDocIterator const &)
803         * undo.C (recordUndo): use the above instead of cell.size() comparison
804         (fixes bug 1808; instructed by Andr�.
805
806 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
807
808         * cursor_slice.h: 
809         * dociterator.h: Fix the assert when copying rows/cols in math
810
811 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
812
813         * BufferView_pimpl.C:
814         * LyXAction.C:
815         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
816
817         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
818         (findInset): new functions, refactored from goto Inset that return 
819         the position of a certain inset without setting the buffer's cursor
820         (by Jean-Marc); 
821         (gotoInset): rewrite to call findInset and then set the cursor
822         (by Jean-Marc).
823
824 2005-06-16  Angus Leeming  <leeming@lyx.org>
825
826         * lyxrc.C (output, read): wrap all input and output of paths with
827         calls to os::internal_path and os::external_path, respectively.
828         (output): wrap bind_file inside quotes.
829
830         * format.C (view): enable the viewer to use the '$$s' placeholder.
831
832 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
833
834         * LColor.[Ch] (getFromLaTeXName): new
835
836 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
837
838         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
839
840 2005-06-14  Angus Leeming  <leeming@lyx.org>
841
842         * lyx_main.C (init): ensure that the LyX binary dir is the first
843         element in the PATH on non-POSIX builds.
844
845 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
846
847         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
848
849 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
850
851         * rowpainter.C (paintInset, paintHebrewComposeChar)
852         (paintArabicComposeChar, paintChars): add a LyXFont argument.
853         (paintChars): use getFontSpan to reduce calls to getFont to a
854         minimum; use Paragraph::lookupChange instead of isXXXText.
855         (paintForeignMark): rename LyXFont argument.
856         (paintFromPos): pass a LyXFont object to the various paintXXX
857         methods.
858
859         * FontIterator.C (FontIterator, operator++): use
860         Paragraph::getFontSpan
861
862         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
863         version that returns the font span as a pair.
864
865 2005-06-09  Angus Leeming  <leeming@lyx.org>
866
867         * converter.C (convert): Don't forget "outfile = real_outfile" as
868         the final step in a conversion where the input and output file names
869         are the same. Otherwise, future conversion steps won't work...
870
871 2005-06-09  Angus Leeming  <leeming@lyx.org>
872
873         * lyxsocket.C: remove stub code as it isn't needed by
874         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
875
876 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
877
878         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
879         effectively disabled -x
880
881 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
882
883         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
884         when it actually makes sense.
885
886 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
887
888         * BufferView_pimpl.C: revert to showCursor in connection with
889         Lars's front-end stack
890
891 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
892
893         * text.C (redoParagraph): move cursor right after a bibitem
894         has been inserted.
895
896         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
897
898 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
899
900         * buffer_funcs.C (bufferErrors): fix computation of the end of an
901         error range.
902
903 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
904
905         * BufferView.[Ch] (update):
906         * BufferView_pimpl.[Ch] (update, metrics):
907         * dimension.h (operator==):
908         * lyxfunc.C (dispatch):
909         * metricsinfo.h (ViewMetricsInfo):
910         * rowpainter.C (paintText):
911         * lyxtext.h:
912         * text.C (redoParagraph):
913         * text3.C (dispatch): Make LyX only repaint current paragraph in
914         case of character insert --> speedup. Also fix cursor draw
915         artifacts
916
917 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
920         avoid a crash (bug 1891)
921
922 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
923
924         Fix bug 1892:
925
926         * text2.C (getStringToIndex): constify cur argument.
927
928         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
929         argument has been given
930         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
931         try to invoke LFUN_INSET_APPLY).
932
933         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
934         if no inset was created by doInsertInset
935         (doInsertInset): return true if an inset has been inserted.
936
937 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         * vspace.C (asGUIName): new method. A version of the space
940         suitable for showing on screen.
941
942 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
943
944         * MenuBackend.C:
945         * lyxrc.C: rename "ASCII" to "Plain Text"
946
947 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
948
949         * buffer_funcs.C (expandLabel): take a Buffer as argument;
950         translate the labelstring.
951         (setCounter): translate labelstring as needed.
952
953         * output_docbook.C (makeCommand): fix expandLabel invokation
954
955 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
956
957         * BufferView.C: fix dialog title
958
959 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
960
961         * lyx_main.C (priv_exec): fix logic error with help from Angus
962         * lyx_main.C (parse_execute): set is_gui = false and remove now
963         obsolete comment about a segfault
964
965 2005-05-18  Angus Leeming  <leeming@lyx.org>
966
967         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
968
969 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
970
971         * tabular.[hC]: added setCellInset to fix tabular paste.
972
973 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
974
975         * buffer.C (save): check if destination is writable before trying
976         to copy a file
977
978 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
979
980         * BufferView_pimpl.C (update): fix processEvents -caused update
981         recursion bug
982
983 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * buffer_funcs.C (setCounter): fix test for numbering of
986         environments.
987
988         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
989         depth correctly; use optional argument when it exists
990
991         * lyxtextclass.C: remove unused MaxCounterTags enum
992         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
993         (max_toclevel, min_toclevel): new methods.
994
995         * MenuBackend.C (expandToc2): fix case where depth is smaller than
996         the smallest depth in toc.
997
998         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
999         layouts that should not appear in a table of contents.
1000
1001 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1002
1003         * cursor.h (undispatched, noUpdate): add comments from Andr�
1004 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1005
1006         * lfuns.h:
1007         * LyXAction.C:
1008         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1009
1010 2005-05-07  André Pönitz  <poenitz@gmx.net>
1011
1012         * cursor.[Ch] (leaveInset): new function
1013
1014 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1015
1016         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1017
1018 2005-05-04  Angus Leeming  <leeming@lyx.org>
1019
1020         * lyxfunc.C (getStatus): disable the spell checker dialog if
1021         none of USE_[AIP]SPELL are defined.
1022
1023 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1024
1025         * tabular.C (setWidthOfCell): remove obsolete comment
1026
1027 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1028
1029         * paragraph.C (bibitem):
1030         * buffer_funcs.C (setCounter):
1031         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1032
1033 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1034
1035         * text3.C (getStatus): immediately return after setOnOff
1036
1037         * rowpainter.C: fix drawing of appendix start
1038
1039 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1040
1041         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1042         SwitchBetweenClasses and remove the unused return value.
1043         Handle character styles, too
1044
1045 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1046
1047         * factory.C (createInset): handle undefined character styles
1048
1049 2005-05-02  Angus Leeming  <leeming@lyx.org>
1050
1051         * buffer.C: protect the #include of utime.h with a preprocessor
1052         guard.
1053
1054 2005-05-02  Angus Leeming  <leeming@lyx.org>
1055
1056         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1057         function so that auto-saving works, albeit in a blocking manner.
1058
1059         * Makefile.am: make compilation of the client sub directory, of
1060         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1061         on conditionals set at configure time.
1062
1063         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1064         it can be compiled in its own right but has no-op functionality.
1065
1066         * aspell.C, pspell.C: remove preprocessor guards. The files should
1067         be compiled only if the necessary functionality exists.
1068
1069         * lyxserver.C, lyxsocket.C: disable on Windows.
1070
1071 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1072
1073         * text.C (leftMargin): Fix the parindent use bug (1764)
1074         by dirty trick
1075
1076 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1077
1078         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1079         argument.
1080
1081 2005-04-25  Angus Leeming  <leeming@lyx.org>
1082
1083         * Bidi.[Ch]:
1084         * coordcache.[Ch]:
1085         * ispell.C:
1086         * lyxserver.C:
1087         * mover.C:
1088         * pch.h:
1089         include <config.h> in .C files, not .h ones.
1090         add licence blurb.
1091         protect headers inside preprocessor guards.
1092
1093 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1094
1095         * FuncStatus.h (StatusCodes): document
1096
1097 2005-04-21  André Pönitz  <poenitz@gmx.net>
1098
1099         * FuncStatus.h (enabled, onoff): document
1100
1101 2005-04-19  Angus Leeming  <leeming@lyx.org>
1102
1103         * BufferView_pimpl.C (cursorToggle): no longer test whether
1104         any child processes have been reaped before calling
1105         handleCompletedProcesses().
1106
1107 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1108
1109         * text3.C (dispatch): fix, finally fix, the language problem in
1110         new lyxtexts, without disabling on-the-fly font changes (Helge's
1111         bug report)
1112
1113 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1114
1115         * text3.C (dispatch): set cursor on double/triple click events
1116         (bug 1811)
1117
1118 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1119
1120         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1121         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1122
1123         * rowpainter.C (paintFirst): simplify the code a little bit. In
1124         particular, remove the test for secnumdepth.
1125         * text.C (setHeightOfRow): only allocate space for chapter number
1126         when updateCounters provided an actual label, instead of looking
1127         at secnumdepth directly.
1128
1129         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1130
1131         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1132         paragraphs when secnumdepth is large enough or, for environments,
1133         when they are not the first in a sequence.
1134
1135 2005-04-17  Angus Leeming  <leeming@lyx.org>
1136
1137         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1138         containing space and '~' characters with a call to latex_path().
1139
1140 2005-04-17  Angus Leeming  <leeming@lyx.org>
1141
1142         * converter.C (convert): protect all args of convertDefault.sh
1143         script with quotes.
1144
1145 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1146
1147         * text3.C (dispatch): change the layout to "Caption" after inserting
1148         a float.
1149
1150 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1151
1152         * text3.C (dispatch): fix language problem in newly created
1153         textinsets (and main text) in non-english docs
1154
1155 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1156
1157         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1158         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1159         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1160
1161 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1162
1163         * lyxtext.h:
1164         * text.C (metrics):
1165         * text2.C (getFont):
1166         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1167         fonts fix
1168
1169 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1170
1171         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1172         output of \item arguments without trailing text.
1173
1174 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1175
1176         * FontIterator.C (operator*): avoid a copy of the font.
1177
1178 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1179
1180         * rowpainter.C (getFont): fix language bug from previous fix
1181
1182 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1183
1184         * rowpainter.C (RowPainter, getFont): fix font inside inset
1185         (bugs 1766, 1809)
1186
1187 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1188
1189         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1190         preventing inserted font, deco, delim insets jumping to start of
1191         surrounding inset.
1192
1193 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * lyxfunc.C (dispatch): translate message before sending it to the
1196         minibuffer.
1197
1198 2005-03-29  Angus Leeming  <leeming@lyx.org>
1199
1200         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1201         to LyX on the command line.
1202
1203 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1204
1205         * vc-backend.C: use QuoteName to protect file names wherever
1206         necessary.
1207
1208 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1209
1210         * buffer.[Ch]:
1211         * BranchList.h: fix bugs 1844,1845: document settings don't
1212         stick
1213
1214 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1215
1216         * lyxrc.C (setDefaults, read, output, getDescription): add support
1217         for tex_allows_spaces.
1218
1219         * exporter.C (Export): allows files in directory containing spaces
1220         if tex_allows_spaces is true.
1221
1222         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1223         output it in double quotes.
1224
1225 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1226
1227         * rowpainter.C: use default text height for drawing change tracker
1228         strikeout lines.
1229
1230 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1231
1232         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1233
1234 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1235
1236         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1237         directory is missing.
1238
1239 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1240
1241         * text2.C: fixed the fix, extended to other case.
1242
1243 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1244
1245         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1246
1247 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1248
1249         * text2.C (cursorUp): get rid of a crash
1250         * text.C (x2pos): add an assert
1251
1252 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1253
1254         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1255
1256         * text3.C:
1257         * lyxfunc.C:
1258         * dociterator.C: include <boost/current_function.hpp>, which is
1259         needed when assertions are disabled.
1260
1261 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1262
1263         * text2.C: fix for stuck cursor when traversing two
1264         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1265
1266 2005-02-25  Andreas Vox  <avox@arcor.de>
1267
1268         * output_docbook.C (makeParagraph): suppress trailing newline
1269         after a run of paragraphs
1270
1271 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1272
1273         * paragraph.C: fix for confused change tracker when pasting
1274         text that begins with a lineseparator. [bug 1827]
1275         (setChange(0, Change::INSERTED);)
1276
1277         * paragraph_funcs.C: fix for lost changes on triple-paste
1278         in change tracking mode [bug 1827] (par.setChange()).
1279
1280 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1281
1282         * text2.C (updateCounters, setCounter, expandLabel): move to
1283         buffer_funcs.
1284
1285         * buffer_funcs.C (updateCounters): turn into a free standing
1286         function and add a buffer parameter. Remove dead code for tracking
1287         labelstring change.
1288         (setCounter): change into a free-standing function which gets a
1289         dociterator as argument. Use this iterator to fix captions in a
1290         simple way. When no float is found above the caption, use the
1291         labelstring of the caption layout as default.
1292
1293         * text.C (breakParagraph, backspace):
1294         * text2.C (init, setLayout, changeDepth):
1295         * text3.C (dispatch):
1296         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1297         updateCounters.
1298
1299         * dociterator.C (forwardPar): make it much faster by calling
1300         forwardPos() only when really necessary.
1301
1302         * output_docbook.C (makeCommand): adapt to expandLabel move.
1303
1304         * cursor.C: remove unused variable
1305
1306 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1307
1308         * paragraph_funcs.C: fix crash when pasting insets in change
1309         tracking mode [bug 1277] (honour change type in moveItem).
1310
1311 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1312
1313         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1314
1315 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1316
1317         * BufferView.C (setCursor): change to use a DocIterator.
1318         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1319         (putSelectionAt): adapt to BufferView::setCursor change.
1320
1321         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1322         moved here from LyXText and rewritten to use proper cursor
1323         methods. Fixes bug 1787, 616 and 835.
1324
1325         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1326         when inside an inset (part of bug 781).
1327         (dispatch): adapt to change of BufferView::setCursor.
1328         (getStatus, dispatch): handle LFUN_GOTOERROR,
1329         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1330
1331         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1332         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1333         * text3.C (gotoNextInset, gotoInset): removed.
1334
1335 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1336
1337         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1338
1339 2005-02-15  Angus Leeming  <leeming@lyx.org>
1340
1341         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1342         can be used meaningfully in a comparison.
1343
1344 2005-02-13  André Pönitz  <poenitz@gmx.net>
1345
1346         * bufferview_funcs.C (coordOffset): improve cursor drawing
1347
1348 2005-02-13  André Pönitz  <poenitz@gmx.net>
1349
1350         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1351         * Cursor.C (dispatch): use fixIfBroken
1352         * lyxfunc.C (getStatus): use fixIfBroken
1353
1354 2005-02-15  Angus Leeming  <leeming@lyx.org>
1355
1356         * lyx_main.C (error_handler):
1357         * lyxfunc.C:
1358         * lyxrc.C (setDefaults):
1359         s/GetEnv/getEnv/.
1360         #include "environment.h".
1361
1362         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1363
1364 2005-02-15  Angus Leeming  <leeming@lyx.org>
1365
1366         * lyxserver.C (startPipe): squash MSVC warning "local variable
1367         'fd' used without having been initialized".
1368
1369 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1370
1371         * BufferView_pimpl.C: revert accidental commit.
1372
1373 2005-02-14  André Pönitz  <poenitz@gmx.net>
1374
1375         * dociterator.[Ch]: new member forwardPosNoDescent(),
1376         which doesn't enter nested insets.
1377         * text2.C (setFont): use forwardPosNoDescent() instead
1378         of ForwardPos() (fixes crash on font change).
1379
1380 2005-02-13  Angus Leeming  <leeming@lyx.org>
1381
1382         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1383         only if lyxrc.path_prefix is not empty.
1384
1385 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1386
1387         * bufferparams.C (readGraphicsDriver): prevent crash
1388
1389 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1390
1391         * text2.C (setCounter): check for inInset() == 0
1392
1393 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1394
1395         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1396         but use update() to get correct screen display; use convert
1397         instead of istringstream.
1398         (getStatus): handle LFUN_GOTO_PARAGRAPH
1399
1400         * lyxfunc.C (dispatch, getStatus): do not handle
1401         LFUN_GOTO_PARAGRAPH here.
1402
1403 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1404
1405         * text3.C (dispatch): size() -> depth()
1406
1407         * text2.C: remove some debug output
1408
1409         * paragraph.C: ws changes only
1410
1411         * lyxfunc.C (getStatus): size() -> depth()
1412
1413         * dociterator.h (clear, push_back, pop_back, internalData,
1414         operator[], resize, empty): new functions
1415         Make StableDocIterator and operator== be friends. Don't inherit
1416         from std::vector use a privat class variable slices_ instead.
1417         Modify to fit.
1418
1419         * dociterator.C: update because of not inheriting from std::vector
1420         anymore. Call explictly to slices_ instead. Use depth() instead of
1421         size() and top() instead of back()
1422
1423         * cursor.C: chagne size() -> depth and back() -> top(). Also
1424         remove some direct operator[](i) calls in favour of foo[i]
1425         (getFont): remove some dead code
1426
1427         * bufferview_funcs.C (coordOffset): size() -> depth()
1428
1429         * buffer.C: ws changes only
1430
1431         * CutAndPaste.C (eraseSelection): back() -> top()
1432
1433         * BufferView_pimpl.C (selectionRequested): back() -> top()
1434
1435         * BufferView.C (setCursor): size() -> depth()
1436
1437 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1438
1439         * text3.C (cursorPrevious): return true if depm changed something
1440         (cursorNext): ditto
1441         (dispatch): rename sl to oldTopSlice, remove moving use the new
1442         NoUpdate func attrib instead. Make sure that needsUpdate is set
1443         for function that have NoUpdate, but where depm might have changed
1444         the buffer anyway.
1445
1446         * text2.C (cursorLeft): make us return true if depm changed
1447         something
1448         (cursorRight): ditto
1449         (cursorUpParagraph): ditto
1450         (curosrDownParagraph): ditto
1451         (cursorUp, cursorDown): ditto, make sure to read comments in code
1452         (deleteEmptyParagraphMechanism): remove an assert, also return
1453         true if just a single char was deleted.
1454
1455         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1456         cursor that we modify, to avoid modifying an active cursor before
1457         we call setCursor. This allows depm to run. Also return true if
1458         depm deleted something.
1459
1460         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1461         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1462         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1463         something was changed in the buffer because of them (ie. depm run)
1464
1465         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1466         debug messages. Make update by default be false. Make sure that
1467         the result of update is retained throught several calls down to
1468         dispatch.
1469
1470         * LyXAction.h: add a new func_attrib: NoUpdate
1471
1472         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1473         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1474         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1475         and LFUN_WORDLEFT
1476         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1477
1478 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1479
1480         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1481         bv_->owner(), bv_->buffer() by direct references to the private
1482         members.
1483         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1484         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1485         (fitCursor): center() is in BufferView::Pimpl.
1486         (getStatus, trackChanges, dispatch): no need for a temporary buf
1487         variable
1488         (fitCursor, workAreaDispatch): use workarea().workheight()
1489
1490 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1491
1492         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1493
1494 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1495
1496         * buffer.C: format up to 241.
1497         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1498         break if pasting into ERT
1499         * lyxfunc.C (getStatus): suppress mathpanel and
1500         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1501
1502 2005-02-01  Angus Leeming  <leeming@lyx.org>
1503
1504         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1505
1506 2005-02-01  Angus Leeming  <leeming@lyx.org>
1507
1508         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1509         calling fs::is_directory().
1510
1511 2005-01-31  Angus Leeming  <leeming@lyx.org>
1512
1513         * lyx_main.C (priv_exec): specify explicitly the relative location
1514         of the top level build directory when run in-place.
1515
1516 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1517
1518         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1519         LyXText containing the cursor, not the top-level one.
1520
1521         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1522         true.
1523         (insertStringAsLines): rename par to pit; use temporary variable
1524         par to hold a Paragraph; do not store par.layout() in a variable,
1525         since the pointer may die when breaking paragraphs; pass pars to
1526         breakParagraph() instead of Buffer::paragraphs().
1527
1528 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1529
1530         * lyxlex_pimpl.h: #include <fstream>.
1531
1532         * BufferView.[Ch] (getLyXText): add a const version.
1533
1534         * BufferView_pimpl.C: add debug aids.
1535
1536         * RowList_fwd.h:
1537         * buffer.h:
1538         * lyxrow.h:
1539         * paragraph_funcs.h: add commentary explaining what the class does.
1540
1541
1542         * coordcache.[Ch]: add lots of commentary.
1543         (startUpdating, doneUpdating): debug aids.
1544         (arrays, insets, parPos, getParPos): accessors to private data.
1545
1546         * cursor_slice.[Ch] (text): add a const version.
1547         * dociterator.[Ch] (text, innerText): add const versions.
1548
1549         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1550         bool.
1551
1552         * paragraph.C (getRow, pos2ros): add asserts.
1553
1554         * paragraph.h: add commentary. Lots of.
1555
1556         * paragraph.[Ch] (metrucs, draw): removed.
1557
1558         * cursor.C:
1559         * rowpainter.[Ch]: const-correct changes.
1560
1561         * text.C: various obvious clean-ups. Removal of ancient cruft.
1562         Bug fixes, even.
1563
1564 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1565
1566         * vc-backend.C (find_file): rewrite to use boost.filesystem
1567         (scanMaster): ditto
1568
1569         * main.C (main): set default name check for boost.filesystem to
1570         no check
1571
1572         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1573         (open): ditto
1574         (doImport): ditto
1575         (actOnUpdatedPrefs): ditto
1576
1577         * lyx_main.C (init): rewrite to use boost.filesystem
1578         (queryUserLyXDir): ditto
1579
1580         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1581         (getContentsOfAsciiFile): ditto
1582
1583         * lastfiles.C (readFile): rewrite to use boost.filesystem
1584
1585         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1586
1587         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1588         (loadLyXFile): ditto
1589
1590         * buffer.C (Buffer): adjust for destroydir
1591         (getLogName): rewrite to use boost.filesystem
1592         (setFileName): ditto
1593         (save): use fs::copy_file (from fs_extras)
1594
1595         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1596
1597         * LaTeX.C (run): rewrite to use boost.filesystem
1598         (scanAuxFiles): ditto
1599         (handleFoundFile): ditto
1600
1601 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1602
1603         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1604
1605         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1606
1607 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1608
1609         * lyxlayout.[Ch]: change some vars from float to double
1610
1611         * buffer.C (readFile): make a local var const
1612
1613         * Several files: use convert<> instead of atoi,strToXXX and friends
1614
1615 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1616
1617         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1618         holds the contents of packages.lst. New functions getAvailable
1619         and isAvailable to parse and check that list, resp.
1620
1621         * LyXAction.C:
1622         * lfuns.h:
1623         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1624
1625         * bufferparams.[Ch]: new param output_changes.
1626
1627         * Buffer.C: increase file format to 240.
1628         Use output_changes and isVailable.
1629
1630         * changes.[Ch]:
1631         * paragraph.C:
1632         * paragraph_pimpl.C: Use output_changes and isVailable.
1633
1634 2005-01-23  Angus Leeming  <leeming@lyx.org>
1635
1636         * output_latex.C: #include "insetbibitem.h", rather than
1637         forward declare function bibitemWidest.
1638
1639 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1640
1641         * lyx_main.C (init): make it compile on the Mac.
1642
1643 2005-01-20  Angus Leeming  <leeming@lyx.org>
1644
1645         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1646         (setLyXMisc): (char string literal) != (char string literal) is
1647         performing a comparison on the addresses. Convert one operand
1648         explicitly to string to guarantee expected behaviour.
1649         From MSVC warning.
1650
1651 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1652
1653         * buffer.C:
1654         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1655
1656         * output_plaintext.C: remove unneeded #include gzstream.h.
1657
1658 2005-01-20  Angus Leeming  <leeming@lyx.org>
1659
1660         * SpellBase.h: rename some of the elements of the Result enum.
1661
1662         * aspell_local.h:
1663         * ispell.h:
1664         * pspell.h:
1665         * aspell.C (check):
1666         * ispell.C (check):
1667         * pspell.C (check): ditto
1668
1669 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1670
1671         * buffer.C: add #include <fstream>.
1672
1673         * lyx_main.C (init): Compile fix.
1674
1675         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1676
1677 2005-01-20  Angus Leeming  <leeming@lyx.org>
1678
1679         * mover.h: change commentary to reflect the changed meaning of
1680         the $$s placeholder.
1681
1682 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1683
1684         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1685
1686         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1687
1688 2005-01-20  Angus Leeming  <leeming@lyx.org>
1689
1690         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1691         printing diagnostic data by not dereferecing an iterator past the
1692         end.
1693
1694 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1695
1696         * buffer.C (readHeader): use "&&" rather than "and".
1697
1698         * lyxserver.h (inPipeName, outPipeName): make these const.
1699
1700 2005-01-19  Angus Leeming  <leeming@lyx.org>
1701
1702         * lyx_main.C (error_handler, init): protect SIGHUP with
1703         #ifdef SIGHUP guards.
1704
1705 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1706
1707         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1708
1709 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1710
1711         * text.C (setHeightOfRow): add a margin at the top and bottom of
1712         the document (bug 1761)
1713
1714 2005-01-17  Angus Leeming  <leeming@lyx.org>
1715
1716         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1717         with "python ". Workaround for a brain-dead Windows.
1718
1719 2005-01-16  Angus Leeming  <leeming@lyx.org>
1720
1721         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1722         for MacOSX and Windows to use prependEnvPath.
1723         Strip out the hard-coded block to add elements to the PATH for
1724         MacOSX and replace it with a call to prependEnvPath using the
1725         contents of LyXRC::path_prefix.
1726         (queryUserLyXDir): strip out the code to run reconfigure, instead
1727         returning a boolean indicating the necessity to do so.
1728         (reconfigureUserLyXDir): contains the code to reconfigure the
1729         user support directory. Is now called after the various LyXRC data
1730         files have been read.
1731
1732         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1733
1734 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1735
1736         * converter.[Ch] (convert): take a new parameter try_default. Use
1737         a default converter (imagemagick) if try_default is true.
1738
1739 2005-01-13  Angus Leeming  <leeming@lyx.org>
1740
1741         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1742         os::cygwin_path_fix.
1743         (write): output LyXRC::cygwin_path_fix as necessary.
1744
1745 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1746
1747         * lyxrc.h:
1748         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1749
1750 2005-01-12  Angus Leeming  <leeming@lyx.org>
1751
1752         * lyx_main.C (init): set the PATH variable to include the
1753         directory containing the LyX binary when running on Mac or Windows.
1754
1755 2005-01-12  Angus Leeming  <leeming@lyx.org>
1756
1757         * lyx_main.C (init): remove cruft that purports to set the locale
1758         dir. It doesn't and is not needed anyway.
1759
1760 2005-01-10  Angus Leeming  <leeming@lyx.org>
1761
1762         * Makefile.am: remove the lyx_main.C special casing.
1763
1764         * BufferView_pimpl.C:
1765         * bufferlist.C:
1766         * exporter.C:
1767         * lyx_cb.C:
1768         * lyx_main.C:
1769         * lyxfunc.C:
1770         * messages.C: use support/package.h to provide the paths to the
1771         various directories used by LyX.
1772
1773 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1774
1775         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1776         layout if pasting into an empty paragraph)
1777
1778 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1779
1780         * tex-accent.C: add <string>
1781
1782 2005-01-06  José Matos  <jamatos@lyx.org>
1783
1784         * ParagraphParameters.C (write): put every parameter in its own line.
1785         * paragraph.C (write): reduce number of consecutive empty lines exported.
1786         * buffer.C (LYX_FORMAT): increase file format to 239.
1787
1788 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1789
1790         * everywhere: change support/tostr.h -> support/convert.h
1791
1792         * tabular.C: make all write_attributes templates, tostr -> convert
1793
1794         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1795         (emptyTag): and -> &&, and fix type for ret from getChar
1796         (getFirstWord): fix type for ret from getChar
1797         (onlyText): and -> &&
1798         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1799         getChar
1800
1801         * toc.C (goTo, action):
1802         * text3.C (dispatch):
1803         * text.C (currentState):
1804         * tex-accent.C (DoAccent):
1805         * sgml.C:
1806         * lyxrc.C:
1807         * lyxfunc.C (menuNew):
1808         * lyxfinc.C (replace):
1809         * counters.C (laberItem):
1810         * bufferview_funcs.C (font2string):
1811         * bufferparams.C (writeFile):
1812         * buffer.C (readFile):
1813         * Spacing.C (set):
1814         * MenuBackend.C: tostr -> convert
1815
1816         * LaTeX.C (runMessage): fix format
1817         (scanAuxFiles): tostr -> convert
1818
1819         * BufferView_pimpl.C (savePosition): fix format
1820         (restorePosition): ditto
1821         (dispatch): ditto
1822
1823 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1824
1825         * Spacing.[Ch]: New method getValueAsString().
1826
1827         * Spacing.[Ch]:
1828         * bufferparams.C:
1829         * ParagraphParameters.C:
1830         * lyxlayout.C:
1831         * text.C:
1832         * text3.C: store/read spacing value as string.
1833
1834         * rowpainter.C: change float value (spacing_val) to double.
1835
1836         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1837         broken custom document spacing).
1838
1839 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1840
1841         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1842         namespace, also more use of temp references and const
1843
1844         * cursor.[Ch] (getStatus): move to lyxfunc.C
1845
1846         * bufferparams.C: reformat slightly
1847
1848         * bufferview_funcs.C (font2string): constify arg
1849
1850         * changes.C:
1851         * converter.C:
1852         * counters.C:
1853         * bufferlist.C:
1854         * buffer_funcs.C: (many funcs): constify arg on function
1855         definitions, also make more local vars const, also add ASSERTS on
1856         pointer args.
1857
1858         * buffer.C (LYX_FORMAT): put const in correct place
1859         (many funcs): constify arg on function definitions, also make
1860         more local vars const
1861
1862         * aspell_local.h: remove "struct" from typdef setup
1863
1864         * aspell.C (check): make word_ok const
1865         (nextMiss): simplify slightly
1866         (error): ditto
1867
1868 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1869
1870         * lyxrc.[Ch]: store all float values as strings.
1871         use int (not float) for lyxrc.dpi.
1872
1873 2005-01-04  Angus Leeming  <leeming@lyx.org>
1874
1875         * lyx_cb.C (Reconfigure):
1876         * lyx_main.C (queryUserLyXDir):
1877         to run the <system_lyxdir>/configure correctly on Windows, prefix
1878         the path to the script with "sh " when generating the string that
1879         is passed to system().
1880
1881 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1882
1883         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1884
1885 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1886
1887         * lyxlength.C (asLatexString): get rid of setprecision
1888
1889 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1890
1891         * text2.C (setLayout): remove unused variable endpit.
1892         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1893
1894         * paragraph.C (onlyText): remove unused variable style.
1895
1896         * cursor.C (bruteFind): remove unused variables beg and end.
1897
1898         * Makefile.am (dist_noinset_DATA): not needed anymore
1899
1900         * cheaders/*: remove.
1901
1902 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1903
1904         * text3.C: fix LFUN_MATH_MODE.
1905
1906 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1907
1908         * buffer_funcs.C (countWords): new function. Counts words between
1909         two iterators.
1910
1911         * BufferView_pimpl.C (getStatus, dispatch): handle
1912         LFUN_WORDS_COUNT.
1913
1914         * LyXAction.C (init):
1915         * lfuns.h: add LFUN_WORDS_COUNT.
1916
1917 2004-12-19  Angus Leeming  <leeming@lyx.org>
1918
1919         * buffer.C (save): s/slashify_path/internal_path/.
1920
1921 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1922
1923         * lyxfind.C (findChange): do not search for end of pars, because
1924         the change tracker cannot handle this (fixes bug 1719).
1925
1926 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1927
1928         * paragraph.[Ch] (autoBreakRows): remove
1929
1930         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1931
1932         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1933         avoid using the paragraph one
1934
1935         * text2.C (LyXText, insertStringAsLines): adjust
1936
1937 2004-12-16  Angus Leeming  <leeming@lyx.org>
1938
1939         * bufferlist.C:
1940         * lyx_main.C:
1941         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1942
1943 2004-12-14  Angus Leeming  <leeming@lyx.org>
1944
1945         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1946
1947         * bufferlist.C (emergencyWrite):
1948         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1949         GetEnvPath("HOME").
1950
1951 2004-12-14  Angus Leeming  <leeming@lyx.org>
1952
1953         * main.C: (main): no longer pass pointers to os::init.
1954
1955 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1956
1957         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1958         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1959
1960 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1961
1962         * lyxfunc.C:
1963         * text3.C: remove selection_possible global flag
1964
1965 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1966
1967         * text2.C (getSelectionSpan): remove
1968         (changeDepth, changeDepthAllowed): adjust
1969
1970 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1971
1972         * Makefile.am (BOOST_LIBS): use boost variables
1973
1974 2004-12-03  José Matos  <jamatos@lyx.org>
1975
1976         * buffer.C: format up to 238.
1977
1978 2004-12-03  José Matos  <jamatos@lyx.org>
1979
1980         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1981
1982 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1983
1984         * cursor.C (goUpDown): remove call to idxUpDown2
1985
1986 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1987
1988         * tabular.[Ch]: use size_t-like types for cell, row and column
1989         indices
1990
1991 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1992
1993         * lyxfunc.C (getStatus): do not lose previous information when
1994         calling BufferView::getStatus; do not set a default "Command
1995         disabled" message at the beginning, but just before returning.
1996
1997 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1998
1999         * cursor.h (getStatus): add better comment from src/cursor.C
2000
2001 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2002
2003         * text3.C (getStatus): return false when the lfun is not handled
2004
2005 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2006
2007         * broken_headers.h: remove
2008
2009         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2010
2011 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2012
2013         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2014         offset_ref accessors
2015
2016         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2017         top_y_, merge fitcursor with update
2018         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2019         coord scheme
2020         (metrics): introduce
2021         (workAreaDispatch): adapt to new coord scheme
2022         (redoCurrentBuffer): remove
2023
2024         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2025
2026         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2027         CurStatus enum.
2028
2029         * coordcache.[Ch]: add paragraph cache and helpers
2030
2031         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2032         adjust everywhere
2033
2034         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2035         (targetX, setTargetX): introduce
2036
2037         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2038         baseline -> ascent, as the rest of lyx
2039
2040         * lyxtext.h: remove redoParagraphs, updateParPositions,
2041         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2042         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2043         have ascent/descent (ascent is ascent of first par)
2044
2045         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2046         step of BufferView
2047
2048         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2049
2050         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2051
2052         * pariterator.C: fix infinite loop introduced in par->pit renaming
2053
2054         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2055         in insets and LyXText, draw two off-screen paragraphs using
2056         NullPainter, and adapt to new coord scheme
2057
2058         * text.C:
2059         * text2.C:
2060         * text3.C: adapt lfun handlers to the new coord scheme, which
2061         means: there's only guaranteed coord information for onscreen pars
2062         plus one above and one below. This implies that one can do search
2063         from y coordinates in the range [-1,workHeight]
2064
2065 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2066
2067         * rename a lot of InsetOld to InsetBase
2068
2069 2004-11-25  Angus Leeming  <leeming@lyx.org>
2070
2071         * BufferView_pimpl.C:
2072         * lyx_cb.C:
2073         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2074
2075 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2076
2077         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2078         call BufferView::getStatus if LCursor::getStatus did nothing
2079         (setStatusMessage, getStatusMessage): removed.
2080
2081         * FuncStatus.C (message): new methods. Used to provide an error
2082         message indicating why a command is disabled.
2083         (clear, |=, FuncStatus): update for message.
2084
2085 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2086
2087         * lyxfunc.C (dispatch): always call sendDispatchMessage
2088
2089 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2090
2091         * BufferView.C:
2092         * BufferView_pimpl.C:
2093         * CutAndPaste.C:
2094         * FontIterator.C:
2095         * buffer.C:
2096         * cursor.C:
2097         * cursor_slice.[Ch]:
2098         * dociterator.[Ch]:
2099         * lyxfind.C:
2100         * paragraph_funcs.C:
2101         * pariterator.C:
2102         * rowpainter.C:
2103         * text.C:
2104         * text2.C:
2105         * text3.C:
2106         * undo.C: par->pit renaming
2107
2108 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2109
2110         * tabular.C (cellstruct): use initialization, store a shared_ptr
2111         to insettext instead of the insettext directly, adjust to fit.
2112         (operator=):  new function
2113         (swap): new function
2114         (rowstruct): use initialization
2115         (columnstruct): use initialization
2116         (ltType): use initialization
2117
2118
2119         * lyxlength.h (swap): new function
2120
2121         * LColor.[Ch] (operator=): use the common semantics
2122
2123 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2124
2125         * lyxfind.C (findNextChange): update the bufferview after setting
2126         the selection.
2127
2128 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2129
2130         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2131         number of InsetOptArgs has already been inserted.
2132
2133         * output_latex.C (latexOptArgInsets): new method. This outputs all
2134         the optarg insets, up to the limit defined in the layout file.
2135         (optArgInset): removed
2136         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2137
2138 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2139
2140         * paragraph.C (isLetter): remove special spellchecker-related
2141         code; return true also for digits
2142         (isWord, isKomma): remove
2143
2144         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2145         * lyxfind.C (MatchString()): use isLetter instead of isWord
2146
2147 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2148
2149         * pariterator.h (operatir=): comment out un-implemented member
2150         function.
2151
2152         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2153         static cast.
2154
2155 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2156
2157         * lyxfont.h: include LColor.h to satisfy concept checks.
2158
2159 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2160
2161         * pariterator.h: add typdefs for value_type, difference_type,
2162         pointer and reference to satisfy concept checks. Also add default
2163         constructor for same reason.
2164
2165         * pariterator.C (operator++): add post-increment operator to
2166         satisfy concept checks.
2167
2168         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2169         checks.
2170
2171         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2172
2173         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2174         checks. Also rename base_type to BaseType to follow naming
2175         standard better.
2176
2177         * FloatList.h: include Floating.h to satisfy concept checks.
2178
2179 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         * lyxfunc.C (getStatus): when the origin of the request is menu or
2182         toolbar, and the LyXView does not have focus, do as if there was
2183         no buffer (bug 1720)
2184
2185         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2186         FuncRequest to individual entries of LFUN_SEQUENCE
2187
2188 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2189
2190         * output_latex.C (TeXOnePar): override runparams.moving_arg
2191         according to the needprotect value of the current paragraph (bug
2192         1739)
2193
2194         * paragraph.C (simpleTeXOnePar): no need to override
2195         runparams.moving_args here
2196
2197 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2198
2199         * vspace.C: fix off-by-one-error, related to fix #1682
2200
2201 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2202
2203         * lengthcommon.C: a more general fix for bug 1682
2204
2205 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2206
2207         * text.C (backspace): fix crash
2208
2209 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2210
2211         * format.[Ch] (getFormatFromFile): new method
2212         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2213
2214 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2215
2216         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2217
2218 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2219
2220         * lyxfunc.C (dispatch): remove the verbose argument
2221         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2222         instead
2223
2224         * kbmap.C (defkey): set the origin of func to KEYBOARD
2225
2226         * MenuBackend.C (MenuItem):
2227         * ToolbarBackend.C (add): set the origin of func to UI
2228
2229         * funcrequest.[Ch]: add origin member, which indicates which part
2230         of LyX requests an action
2231
2232 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2233
2234         * converter.C (move): don't lie in the error message
2235         * converter.h (isReachable, move): document
2236
2237 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2238
2239         * buffer.C: remove unused using lyx::support::atoi
2240         * paragraph_funcs.C: ditto
2241
2242 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2243
2244         * bufferlist.C (exists): use bind and equal_to instead of
2245         compare_memfun
2246         (getBuffer): ditto
2247         * lyxtextclasslist.C (NumberOfClass): ditto
2248
2249         * cursor.C (insert): use for_each instead of explicit for loop
2250
2251         * bufferlist.C (getFileNames): use std::transform and
2252         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2253
2254         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2255         for loop
2256
2257         * buffer.C (changeLanguage): use for_each instead of explicit for
2258         loop
2259         (hasParWithID): implement using getParFromID
2260
2261         * LaTeXFeatures.C: ws change only
2262
2263         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2264         to cleanup a bit.
2265
2266         * BufferView_pimpl.C (trackChanges): use for_each instead of
2267         expilicit for loop
2268
2269 2004-11-04  André Pönitz  <poenitz@gmx.net>
2270
2271         * undo.h:
2272         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2273
2274         * dociterator.C (asDocIterator): use hard assert again.
2275
2276 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2277
2278         * lyxlength.C (asLatexString): rewrite so that it does not use
2279         snprintf anymore
2280
2281 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2282
2283         * text3.C (specialChar, dispatch): make sure cursor moves to the
2284         right after inserting an inset
2285
2286 2004-11-02  José Matos  <jamatos@lyx.org>
2287
2288         * output_docbook.C (docbook):
2289         * paragraph.C (getID):
2290         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2291         garantee that the output is always legal.
2292
2293         * tabular.C (docbook):
2294         * outputprams.[Ch]: remove mixed contents.
2295
2296 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2297
2298         * text2.C (setCounter): prevent endless loop
2299
2300 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2301
2302         * exporter.C (copyFile): use the mover instead of support::copy()
2303         * exporter.C (Export): pass format and latex name to copyFile()
2304         * exporter.h (addExternalFile): document
2305         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2306
2307 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2308
2309         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2310
2311 2004-10-30  José Matos  <jamatos@lyx.org>
2312
2313         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2314         text and no inset or font change. This allows to use CDATA
2315         sections just for the whole paragraph.
2316
2317 2004-10-30  José Matos  <jamatos@lyx.org>
2318
2319         * paragraph.C (getFirstWord): remove unused variable.
2320
2321 2004-10-30  José Matos  <jamatos@lyx.org>
2322
2323         * paragraph.C (getFirstWord): the content should always be escaped
2324         there.
2325         (simpleDocBookOnePar):
2326         * output_docbook.C (makeEnvironment): replace reference to CDATA
2327         to style pass_thru.
2328
2329 2004-10-30  José Matos  <jamatos@lyx.org>
2330
2331         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2332
2333 2004-10-30  José Matos  <jamatos@lyx.org>
2334
2335         * output_docbook.C (makeParagraphs):
2336         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2337         standard paragraph has only a given type of content drop the wrapper.
2338
2339 2004-10-29  José Matos  <jamatos@lyx.org>
2340
2341         * output_docbook.C (makeEnvironment):
2342         * sgml.C (openTag):
2343         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2344
2345 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2346
2347         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2348         (cleanID): sanitize any id.
2349
2350 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2351
2352         * buffer.C, lyxlex_pimpl.C:
2353         * lyxlex_pimpl.C (setFile):
2354         s/getExtFromContents/getFormatFromContents/
2355
2356 2004-10-28  José Matos  <jamatos@lyx.org>
2357
2358         * output_docbook.C (makeEnvironment): move id to broadest possible
2359         scope.
2360
2361         * sgml.C (openTag): apply substitution of <> for all attributes.
2362
2363 2004-10-28  José Matos  <jamatos@lyx.org>
2364
2365         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2366         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2367         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2368
2369         * sgml.[Ch]: new version for open and closeTag for paragraph and
2370         for strings. Now they handle the ids of paragraphs.
2371
2372 2004-10-26  Angus Leeming  <leeming@lyx.org>
2373
2374         * Makefile.am: add mover.[Ch].
2375
2376         * converter.C (convert, move): use the new Movers to move external
2377         files to the temp directory.
2378
2379         * lyx_main.C (init): ensure that the global system_movers data
2380         is initialised.
2381
2382         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2383         preferences file.
2384
2385         * mover.[Ch]: new files, defining a Mover as a utility to move an
2386         external file between directories and, if necessary, manipulate this
2387         file using a helper script.
2388
2389 2004-10-25  José Matos  <jamatos@lyx.org>
2390
2391         * output_docbook.C (makeCommand): merge two if's that tested the
2392         same condition.
2393
2394 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2395
2396         * sgml.C (escapeString): fix warning in a better way
2397
2398 2004-10-25  José Matos  <jamatos@lyx.org>
2399
2400         * sgml.C (escapeString): import the require boosts header file for
2401         tie, and avoid a signed unsigned comparison.
2402
2403 2004-10-25  José Matos  <jamatos@lyx.org>
2404
2405         * sgml.h: add #include <string>
2406
2407 2004-10-25  José Matos  <jamatos@lyx.org>
2408
2409         * sgml.[Ch] (escapeString): new function to escape all the string.
2410
2411 2004-10-24  José Matos  <jamatos@lyx.org>
2412
2413         * paragraph.[Ch] (getFirstWord): new function to get the first
2414         word. Useful for description.
2415         (simpleDocBookOnePar): remove depth argument, add another that
2416         says where to start the paragraph.
2417
2418         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2419         use the new functions to fix cleanly the support for descriptions.
2420
2421 2004-10-24  José Matos  <jamatos@lyx.org>
2422
2423         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2424         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2425         * output_linuxdoc.C (linuxdocParagraphs):
2426         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2427         add buffer as argument.
2428
2429 2004-10-24  José Matos  <jamatos@lyx.org>
2430
2431         * output_docbook.C (makeEnvironment, searchEnvironment): place
2432         CDATA inside paragraphs and fix scope for listitems.
2433
2434 2004-10-24  José Matos  <jamatos@lyx.org>
2435
2436         * output_docbook.C: remove using statement for stack.
2437
2438 2004-10-23  José Matos  <jamatos@lyx.org>
2439
2440         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2441         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2442         docbook. The new scheme is recursive and makes use of iterators, the
2443         same as latex export works.
2444         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2445         directly with the paragraph contents. This code was moved up to
2446         output_docbook.C (docbookParagraphs).
2447         * sgml.C (openTag, closeTag): removed unneeded newlines.
2448         (closeEnvTags) removed.
2449
2450 2004-10-23  André Pönitz  <poenitz@gmx.net>
2451
2452         * undo.C (textUndoOrRedo):
2453         * dociterator.C (asDocIterator): work around crash
2454
2455         * cursor.C (getStatus): replace ASSERT by more verbose error message
2456           and manual correction of the problem. Should increase stability
2457           while providing more sensible information.
2458
2459 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2460
2461         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2462
2463         * bufferlist.C (previous, next): new methods
2464
2465         * lfuns.h:
2466         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2467
2468 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2469
2470         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2471         entities to preamble.
2472
2473 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2474
2475         * messages.C (Pimpl): strip off translation context information
2476
2477 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2478
2479         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2480         the cursor is correct (bug 1694)
2481
2482 2004-10-13  José Matos  <jamatos@lyx.org>
2483
2484         * output_docbook.C (docbookParagraphs): fix closing tags in the
2485         end of the document.
2486
2487 2004-10-09  José Matos  <jamatos@lyx.org>
2488
2489         * buffer.C: format up to 237.
2490         * bufferparams.C (write): use tostr to convert booleans to strings.
2491
2492 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2493
2494         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2495
2496 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2497
2498         * LaTeX.C: implement use of babel language in xindy.
2499
2500 2004-10-05  José Matos  <jamatos@lyx.org>
2501
2502         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2503         Add new translators to help reading and writing the lyx file.
2504
2505 2004-10-05  José Matos  <jamatos@lyx.org>
2506
2507         * ParagraphParameters.C (read):
2508         * text.C (readParToken): replace nexToken by more appropriate lex
2509         methods.
2510
2511 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2512
2513         * LaTeX.C (runMakeIndex):
2514         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2515         (usually 'makeindex') configurable.
2516
2517         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2518         with a variable rather than with a number.
2519
2520 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2521
2522         * output_latex.C (TeXOnePar): make sure font setting is the first
2523         thing that gets output (and the last at the end). Should fix bug
2524         1404.
2525
2526 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2527
2528         * pch.h: use proper signal include
2529
2530         * LaTeX.h: Use preferred calling of Boost.Signal
2531         * buffer.h: ditto
2532
2533 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2534
2535         * pch.h: dont include <boost/function/function0.hpp>
2536
2537         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2538
2539         * paragraph_pimpl.h: remove usage of ShareContainer
2540
2541         * paragraph_pimpl.C: remove initialization of ShareContainer.
2542
2543 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2544
2545         Fix bug #1666
2546
2547         * BufferView.C (putSelectionAt): change the semantics when
2548         backwards == true: now, this just swaps cursor and anchor wrt the
2549         forward case
2550
2551         * BufferView.h (putSelectionAt): add some documentation
2552
2553         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2554         make sure backwardChar is done at least once (to avoid getting
2555         stuck)
2556         (findNextChange): use putSelectionAt in the forward direction
2557         (operator()): use Paragraph::isWord
2558
2559 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2560
2561         * Spacing.C (set): c_str fix
2562
2563 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2564
2565         * lyx_cb.C (Reconfigure): quote the name of configure script in
2566         case it contains spaces
2567
2568 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2569
2570         * client: new dir
2571
2572         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2573         (BOOST_LIBS): use top_buildir when looking for the file
2574
2575 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * pch.h: do not use include boost/format.hpp, multiple symbols
2578                 will result (gcc bug)
2579
2580
2581 2004-08-23  José Matos  <jamatos@lyx.org>
2582
2583         * bufferparams.C (readToken): fix reading of the author field.
2584
2585 2004-08-20  José Matos  <jamatos@lyx.org>
2586
2587         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2588
2589 2004-08-20  José Matos  <jamatos@lyx.org>
2590
2591         * lyxlex.[Ch] (findToken): remove function.
2592
2593         * ParagraphParameters.C (findToken):
2594         * bufferparams.C (findToken): replace call for previous function
2595         with local copy. This local function has one more argument, the
2596         read string argument.
2597
2598 2004-08-16  José Matos  <jamatos@lyx.org>
2599
2600         * ParagraphParameters.C (write):
2601         * Spacing.C (writeFile):
2602         * bufferparams.C (writeLaTeX):
2603         * lyx_cb.C (Reconfigure):
2604         * paragraph.C (write):
2605         * tabular.C (write): remove unnecessary space at end of line.
2606
2607
2608 2004-08-16  José Matos  <jamatos@lyx.org>
2609
2610         * text.C (readParagraph): remove debug message.
2611
2612 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2613
2614         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2615         crash
2616
2617         * output_plaintext.C (asciiParagraph): set depth correctly
2618
2619         * outputparams.h: add member depth
2620
2621         * paragraph_funcs.C (ownerPar): remove.
2622
2623         * text2.C (setCounter): remove first_pit; comment out some
2624         non-working code that uses ownerPar
2625
2626         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2627         uses ownerPar
2628
2629 2004-08-16  José Matos  <jamatos@lyx.org>
2630
2631         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2632         For the same level of importance use the same chanel to report problems.
2633         (read): add code to deal with \begin_body and \end_body.
2634
2635
2636 2004-08-15  José Matos  <jamatos@lyx.org>
2637
2638         * lyxlex.C (getString): fix comment, buffer::readBody is now
2639         buffer:readDocument.
2640
2641         * tex-strings.C (string_papersize): Default -> default,
2642         Custom -> custom, for consistency with other options.
2643
2644 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2645
2646         * pch.h: new file
2647
2648         * Makefile.am: support pch
2649
2650 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2651
2652         * text.C (readParToken): remove the static LyXFont variable and
2653         pass it as a parameter instead. This fixes a nasty bug where an
2654         inset will be inserted with a bad font in some situations
2655         (readParagraph): adapt
2656
2657         * text2.C (setCounter): reduce number of calls to pars_[pit]
2658
2659         * text.C (singleWidth): add an assert, fix a test
2660
2661         * rowpainter.C (paintText): reduce number of calls to singleWidth
2662
2663         * paragraph.C (isHfill):
2664         (isNewline): ws only
2665
2666 2004-08-14  André Pönitz  <poenitz@gmx.net>
2667
2668         * text.C:
2669         * text2.C:
2670         * rowpainter.C:
2671         * lyxtext.h (several functions): use a Paragraph & argument
2672         instead of par_type
2673
2674 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2675
2676         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2677
2678         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2679
2680         * text.C (singleWidth): remove useless test
2681
2682 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2683
2684         * tabular.h: remove bogus comments
2685
2686         * tabular.C (getDescentOfRow):
2687         (isPartOfMultiColumn): add assertions
2688
2689         * lyxlength.C (inPixels): remove #warning
2690
2691 2004-08-14  André Pönitz  <poenitz@gmx.net>
2692
2693         * paragraph.h: inline getChar()
2694
2695         * BufferView.h: remove unused declarations
2696
2697 2004-08-14  José Matos  <jamatos@lyx.org>
2698
2699         * Buffer.[Ch] (readDocument): new name for old readBody.
2700         * Buffer.C: new file format, new keywords: \begin_document,
2701         \begin_header, \begin_body, \end_body.
2702
2703         * bufferparams.C (readToken): replace all calls to lex.nextToken
2704         by lex.next(). Do the same to eatLine except where really needed.
2705
2706         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2707         line when writing to the lyx file.
2708
2709         * output_plaintext.C (asciiParagraph): fix Bibliography style
2710         handling.
2711
2712         * text.C (read): fix end of file handling.
2713
2714 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2715
2716         * MenuBackend.C (Menu::operator[]): new method to access
2717         individual menu items
2718         (Menu::hasFunc): new method. search for an item that corresponds
2719         to a given func
2720         (MenuBackend::specialMenu): new method
2721         (MenuBackend::expand): if a special menu has been set, skip
2722         entries whose func() appears in this menu
2723
2724 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2725
2726         * text3.C: use Debug::DEBUG a bit more
2727
2728         * text.C (leftMargin): try to simplify a tiny bit change var x to
2729         l_margin. Dont output the wide margins always.
2730         (rightMargin): no margin in inner texts
2731
2732         * rowpainter.h (nestMargin): new func
2733         (changebarMargin): new func
2734         (rightMargin): new func
2735
2736         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2737         now functions.
2738         (paintLast): ditto
2739
2740         * factory.C (createInset): modify setDrawFrame
2741
2742         * cursor.C: use Debug::DEBUG a bit more
2743
2744 2004-08-14  André Pönitz  <poenitz@gmx.net>
2745
2746         * coordcache.[Ch]:
2747         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2748         cache for all insets in (at least partially) visible (top-level)
2749         paragraphs.
2750
2751         * BufferView_pimpl.C: reset external coord cache before every update.
2752         This means the coord cache only contains valid entries.
2753
2754 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2755
2756         bug 1096
2757         * BufferView_pimpl.C (getInsetByCode): move function out of class
2758         and change in to a template in anon namespace. Also fix to do what
2759         suits us better.
2760
2761 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2762
2763         bug 1305
2764         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2765         of char
2766         (breakParagraph): rename par to par_offset and use a local
2767         reference. Add code to keep the language over a rebreak.
2768         (breakParagraphConservative): rename par to par_offset, use a
2769         local reference
2770         (mergeParagraph): ditto
2771         (outerHook): ditto
2772         (isFirstInSequence): ditto
2773         (outerFont): rename pit to par_offset
2774
2775         * paragraph.C: ws change
2776         * paragraph.h: ditto
2777         * text3.C: ditto
2778         * text.C: ditto
2779
2780 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2781
2782         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2783         treatment for ']'
2784
2785         * paragraph.C (simpleTeXOnePar): when we have a \item with
2786         optional argument, enclose the argument with curly brackets (in
2787         case it contains a closing square bracket)
2788
2789         * text2.C (editXY):
2790         * text2.C (editXY):
2791         * text3.C (checkInsetHit): constify
2792
2793 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2794
2795         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2796         documents (bug 1629)
2797
2798 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2799
2800         Fix toggling of collapsable insets with the mouse (bug 1558)
2801
2802         * lyxfunc.C (dispatch): adapt to LCursor changes
2803
2804         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2805         make sure that dispatch is not invoked twice
2806
2807         * cursor.C (needsUpdate): new method
2808         (dispatch): return void
2809         (result): new method, to access the DispatchResult of the cursor.
2810
2811 2004-08-13  José Matos  <jamatos@lyx.org>
2812
2813         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2814
2815 2004-08-13  André Pönitz  <poenitz@gmx.net>
2816
2817         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2818
2819         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2820           multiple cells
2821
2822 2004-08-12  André Pönitz  <poenitz@gmx.net>
2823
2824         * text3.C: take out the 'cursor right' form insertInset and only
2825         do it in those places when it is really needed. Fixes crash on
2826         C-m...
2827
2828 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2829
2830         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2831
2832         * BufferView_pimpl.C (setBuffer): initialize the current font of
2833         the underlying LyXText
2834
2835 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2836
2837         * kbsequence.C (print): use UI native formatting for menu
2838         shortcuts
2839
2840         * text.C (insertChar): call Paragraph::insertChar with a font
2841         argument (cosmetic)
2842
2843         * paragraph.C (insertInset, insertChar): the version that takes a
2844         LyXFont argument is now a wrapper around the other one (the
2845         opposite used to be true).
2846
2847         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2848         argument. Font setting is done in Paragraph now.
2849
2850 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2851
2852         * outputparams.h: add new members intitle and lang.
2853
2854         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2855         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2856
2857 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * text3.C (dispatch): remove special handling of button 4 and 5,
2860         it is now taken care of in the frontend code.
2861
2862 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2863
2864         * Spacing.h: add <string> (STLPort compile fix)
2865
2866 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2867
2868         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2869
2870 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2871
2872         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2873         to bool.
2874
2875         * converter.C (showMessage): inherit from unary_function, make
2876         operator() const.
2877
2878         * buffer.C (writeFile): initialize retval
2879
2880         * InsetList.h: rename private variable list to list_
2881         * InsetList.[Ch]: adjust accordingly.
2882
2883 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2886         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2887         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2888         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2889         * ParagraphParameters.C, LaTeXFeatures.C: replace
2890         "support/std_sstream.h" with <sstream>
2891
2892 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2893
2894         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2895         * lyxsocket.C (LyXServerSocket): ditto
2896         (serverCallback): ditto
2897
2898 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2899
2900         * LaTeXFeatures.C: check release date when loading jurabib.
2901
2902 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * lyxserver.C (startPipe): call register_socket_callback
2905         (endPipe): call unregister_socket_callback
2906
2907 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2910         (LyXServerSocket): register the callback
2911         (LyXServerSocket): unregister the callback
2912         (fd): delete function
2913         (serverCallback): improve error checking and setup the callbacks.
2914         (dataCallback): change arg to fd.
2915         (writeln): new func (copied fro the client socket) used for server
2916         write to client.
2917         (LyXDataSocket): simplify
2918         (~LyXDataSocket): close ann unregiser callback
2919         (server): delete function
2920         (fd): delete function
2921         (readln): small changes, improve some std::string usage
2922         (writeln): constify a bit
2923
2924 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2925
2926         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2927         Qt frontend
2928
2929 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2930
2931         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2932         after it has been populated
2933
2934 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2935
2936         * text2.C (insertInset): move cursor when inserting inset.
2937
2938 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2939
2940         * kbmap.C (findbindings): a couple of new methods. returns a
2941         container of kb_sequence objects. The real work is done by the
2942         private recursive version
2943         (printbindings): uses findbindings to print out a bracketed list
2944         of bindings (renamed from findbinding).
2945
2946         * MenuBackend.C (binding): use kb_keymap::findbindings
2947
2948         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2949
2950 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2951
2952         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2953
2954 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2955
2956         * paragraph.C (isWord): return true on insets that report
2957         isLetter().
2958
2959         * text.C (getWord): use Paragraph::isWord to decide what is in a
2960         word and what is not; fix bug 1609.
2961
2962 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2963
2964         * tex-strings.C: add "none" to string_paperpackages[], fixes
2965         off-by-one-error in the paperpackage selection.
2966
2967         * lyxlex.[Ch]:
2968         * tex-strings.[Ch]: char const * string[n]
2969         -> char const * const string[]
2970
2971 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2972
2973         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2974         command, return early.
2975
2976 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2977
2978         * debug.h: add DEBUG to enum and fix size of ANY.
2979
2980         * debug.C: add support for Debug::DEBUG
2981         (showTags): cast errorTags.level to unsigned int
2982
2983         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2984         (redoCurrentBuffer): ditto
2985         (updateScrollbar): ditto
2986         * cursor.C (dispatch): ditto
2987         * text2.C (setLayout): ditto
2988         (setFont): ditto
2989         (updateCounters): ditto
2990         (editXY): ditto
2991         (deleteEmptyParagraphMechanism): ditto
2992
2993 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2994
2995         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2996         annotations to cleanup the Makefile slightly.
2997
2998 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2999
3000         * lyxrc.C: do not set user_email to a default value but use empty
3001         instead. The entry used to be translated, which does not work
3002         since at the point where lyxrc is constructed there is no
3003         translation service available
3004
3005         * messages.C (getLocaleDir): remove and use directly
3006         lyx_localedir() instead
3007
3008 2004-06-02  Angus Leeming  <leeming@lyx.org>
3009
3010         Fix crash caused by dereferencing null pointer 'exportdata' in
3011         OutputParams by creating a new ExportData variable on the heap,
3012         storing it in a boost::shared_ptr.
3013         The crash was triggered when generating an Instant Preview
3014         of an external inset.
3015
3016         * Makefile.am: add outputparams.C
3017
3018         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3019         (c-tor): allocate memory to it.
3020
3021         * exporter.C (c-tor): associated changes.
3022
3023 2004-06-01  Angus Leeming  <leeming@lyx.org>
3024
3025         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3026         contains data before calling isInset(0). (Bug 1513.)
3027
3028 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3029
3030         * exporter.C (checkOverwrite): new method
3031         * exporter.C (copyFile): new method
3032         * exporter.C (Export): copy referenced files to the document dir
3033         * exporter.[Ch]: new class ExportedFile
3034         * exporter.[Ch]: new class ExportData. Contains currently the
3035         names of referenced external files
3036         * outputparams.h: add exportdata member.
3037
3038 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3039
3040         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3041         version.C-tmp
3042
3043 2004-05-19  Angus Leeming  <leeming@lyx.org>
3044
3045         * LaTeXFeatures.C:
3046         * ToolbarBackend.C:
3047         * bufferparams.C:
3048         * lyxfunc.C: small changes due to the introduction of namespace
3049         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3050
3051 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3052
3053         * text3.C (dispatch): supress update when only moving the cursor
3054         * cursor.C (selHandle): remove commented code
3055
3056 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3057
3058         * paragraph.C (startTeXParParams): correct column count
3059         * CutAndPaste.C (pasteSelection): remove const_cast
3060         * output_docbook.C (docbookParagraphs): remove const_cast
3061         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3062         const_cast and return ParagraphList::const_iterator
3063         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3064         * output_plaintext.C (writeFileAscii): remove const_cast
3065         * paragraph.[Ch] (simpleTeXOnePar): make const
3066         * paragraph_funcs.C (outerPar): use const iterators
3067         * paragraph_pimpl.C (validate): use const iterators
3068         * text.C (setHeightOfRow): use const iterators
3069
3070 2004-05-17  Angus Leeming  <leeming@lyx.org>
3071
3072         * lfuns.h:
3073         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3074
3075         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3076         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3077         if the citation engine has changed.
3078
3079 2004-05-14  José Matos  <jamatos@lyx.org>
3080
3081         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3082         if the textclass does not provide it. Have it different for sgml and
3083         xml.
3084         support the language of document.
3085         * output_docbook.C (docbookParagraphs):
3086         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3087         first anchor as the id of the paragraph, remove special case code.
3088         * sgml.C (escapeChar): escape only < & >.
3089
3090 2004-05-14  Angus Leeming  <leeming@lyx.org>
3091
3092         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3093         dependencies on src/frontends/controllers/biblio.h. Define a
3094         CiteEngine_enum wrapper class to enable the enum to be forward
3095         declared.
3096
3097 2004-05-12  Angus Leeming  <leeming@lyx.org>
3098
3099         * buffer.C: up LYX_FORMAT to 234.
3100         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3101         use_numerical_citations with a single biblio::CiteEngine cite_engine
3102         variable.
3103         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3104
3105 2004-05-13  José Matos  <jamatos@lyx.org>
3106
3107         * converter.h:
3108         * converter.C (Converter, readFlags): add xml member.
3109         * outputparams.h: add XML flavor.
3110         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3111
3112 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3113
3114         * lyxfunc.C (dispatch):
3115         (getStatus): fix handling of LFUN_SEQUENCE
3116
3117 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3118
3119         * debug.C (showLevel): do not forget the end-of-line marker
3120
3121 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3122
3123         * kbmap.C (read): do not stop parsing a bind file when an error
3124         occurs (bug 1575)
3125
3126 2004-04-29  Angus Leeming  <leeming@lyx.org>
3127
3128         * cursor.C:
3129         * factory.C:
3130         * pariterator.C:
3131         * text2.C: wrap a bunch of #warning statements
3132         inside #ifdef WITH_WARNINGS blocks.
3133
3134 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3135
3136         * buffer.C: increment format to 233.
3137
3138 2004-04-28  Angus Leeming  <leeming@lyx.org>
3139
3140         * BufferView_pimpl.C:
3141         * lyxfunc.C:
3142         * text3.C:
3143         s/updateToolbar()/updateToolbars()/
3144         s/Toolbar.h/Toolbars.h/
3145
3146 2004-04-28  Angus Leeming  <leeming@lyx.org>
3147
3148         * BufferView.[Ch] (c-tor):
3149         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3150         No longer passes these data to the WorkArea generator.
3151
3152 2004-04-28  Angus Leeming  <leeming@lyx.org>
3153
3154         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3155
3156 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3157
3158         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3159
3160 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3161
3162         * output_latex.C (TeXEnvironment): make sure that there is a line
3163         break before \end{foo} for the last paragraph of a document
3164         (TeXOnePar): if the paragraph is at the end of the document (or
3165         inset) and the language has to be reset, then make sure that the
3166         line break is _before_ the language command, not after (fixes bug
3167         1225); also make sure that the language reset command is the first
3168         thing after the paragraph (to ensure proper nesting of
3169         environments and thus fix bug 1404)
3170
3171 2004-04-21  John Levon  <levon@movementarian.org>
3172
3173         * ToolbarBackend.h:
3174         * ToolbarBackend.C: make "name" be a programmatic name
3175         and a gui_name field.
3176
3177         * lyxfunc.C: display the minibuffer on M-x
3178
3179 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3180
3181         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3182         (bug 1526)
3183
3184 2004-04-19  Angus Leeming  <leeming@lyx.org>
3185
3186         * BufferView_pimpl.C (setBuffer): changed preview interface.
3187
3188         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3189         possible values.
3190
3191 2004-04-19  John Levon  <levon@movementarian.org>
3192
3193         * BufferView_pimpl.C:
3194         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3195
3196 2004-04-05  Angus Leeming  <leeming@lyx.org>
3197
3198         * text.C (redoParagraphs): add call to updateCounters(), thereby
3199         fixing the missing "Figure #:" label from the caption of a
3200         figure float.
3201
3202 2004-04-13  Angus Leeming  <leeming@lyx.org>
3203
3204         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3205         cursor is clicked out of an inset.
3206
3207 2004-04-13  Angus Leeming  <leeming@lyx.org>
3208
3209         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3210         than an InsetOld one.
3211
3212 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3213
3214         * format.[Ch]: add editor to Format
3215         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3216         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3217
3218 2004-04-08  André Pönitz  <poenitz@gmx.net>
3219
3220         * metricsinfo.h: remove PainterInfo::width member
3221
3222 2004-04-08  Angus Leeming  <leeming@lyx.org>
3223
3224         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3225         "\providecommand" rather than "\newcommand", thereby preventing
3226         clashes with packages that define "\boldsymbol" themselves.
3227         Eg, beamer.
3228
3229 2004-04-08  Angus Leeming  <leeming@lyx.org>
3230
3231         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3232         thereby squashing an unnecessary warning.
3233
3234 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3235
3236         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3237         setBuffer()
3238
3239 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3240
3241         * BufferView.C (setCursor): call redoParagraph (some insets could
3242         have been opened)
3243         (putSelectionAt): remove the 'double update' trick
3244
3245         * BufferView_pimpl.C (fitCursor): call refreshPar
3246         (workAreaDispatch): remove an uneeded update call
3247         (dispatch): remove some manual update calls
3248
3249         * cursor.[Ch]: remove cached_y_, updatePos
3250         (selHandle): set noUpdate when appropriate
3251
3252         * lyxfunc.C (dispatch): track if we need an update
3253
3254         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3255
3256         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3257         (paintSelection): cheap optimization, do not call cursorX when not
3258         needed
3259         (paintPars): change signature
3260         (refreshPar): add
3261         (paintText): adjust
3262         (paintTextInset): adjust
3263
3264         * text.C: adjust
3265
3266 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3267
3268         * lengthcommon.C: compilation fix: remove explicit array size from
3269         unit_name[] and friends
3270
3271 2004-04-05  Angus Leeming  <leeming@lyx.org>
3272
3273         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3274
3275         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3276         present only for the preferences dialog.
3277         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3278
3279 2004-04-05  Angus Leeming  <leeming@lyx.org>
3280
3281         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3282         to enable the frontends to export changes to lyxrc correctly.
3283
3284         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3285
3286 2004-04-07  André Pönitz  <poenitz@gmx.net>
3287
3288         * cursor.[Ch] (selClear, adjust): remove math
3289
3290         * cursor_slice.C: more agressive assert
3291
3292         * lyxfunc.C:
3293         * BufferView_pimpl.C: rework mouse event dispatch
3294
3295         * dociterator.C:
3296         * paragraph.C:
3297         * text2.C:
3298         * text3.C: adjust
3299
3300 2004-04-05  André Pönitz  <poenitz@gmx.net>
3301
3302         * cursor.[Ch] (valign, halign...): remove unneeded functions
3303
3304 2004-04-05  Angus Leeming  <leeming@lyx.org>
3305
3306         * lyxlength.[Ch] (unit_name et al.): const-correct.
3307
3308 2004-04-05  Angus Leeming  <leeming@lyx.org>
3309
3310         * BufferView_pimpl.C:
3311         * buffer.C:
3312         * counters.C:
3313         * cursor.C:
3314         * lyxfunc.C
3315         * paragraph.C:
3316         * pariterator.C:
3317         * text.C:
3318         * text2.C:
3319         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3320
3321 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3322
3323         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3324
3325 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3326
3327         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3328         * BufferView_pimpl.[Ch] (getStatus)
3329         * BufferView.[Ch] (getStatus): add
3330         * lyxfunc.C (getStatus): move lfuns handled in
3331         BufferView::dispatch to te function above
3332         * Cursor.C (setSelection): set selection() = true
3333
3334 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3335
3336         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3337
3338 2004-03-31  Angus Leeming  <leeming@lyx.org>
3339
3340         * lyxfunc.C (dispatch): Fall through to the generic
3341         Dialogs::show("preamble").
3342
3343 2004-03-31  Angus Leeming  <leeming@lyx.org>
3344
3345         * lyxfunc.C (dispatch): Fall through to the generic
3346         Dialogs::show("spellchecker").
3347
3348 2004-03-31  Angus Leeming  <leeming@lyx.org>
3349
3350         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3351         preferences dialog.
3352
3353 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3354
3355         * BufferView.C
3356         * cursor.[Ch]
3357         * dociterator.[Ch]:
3358         * insetiterator.[Ch]:
3359         * lyxfind.C:
3360         * lyxfunc.C:
3361         * pariterator.[Ch]:
3362         * text2.C:
3363         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3364
3365 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3366
3367         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3368         insets where we are putting the cursor.
3369
3370 2004-03-31  Angus Leeming  <leeming@lyx.org>
3371
3372         * lfuns.h:
3373         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3374
3375         * lyxrc.[Ch] (read, write): overloaded member functions taking
3376         a std::[io]stream arguments.
3377
3378         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3379
3380 2004-03-31  Angus Leeming  <leeming@lyx.org>
3381
3382         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3383         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3384
3385         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3386         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3387
3388 2004-03-31  Angus Leeming  <leeming@lyx.org>
3389
3390         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3391         the LFUN_ALL_INSETS_TOGGLE code.
3392
3393 2004-03-30  Angus Leeming  <leeming@lyx.org>
3394
3395         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3396         has died. Fall through to the generic Dialogs::show("document").
3397
3398 2004-03-30  Angus Leeming  <leeming@lyx.org>
3399
3400         * lfuns.h:
3401         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3402         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3403
3404         * lyxfunc.C (getStatus, dispatch): define the actions for these
3405         lfuns. Little more than a cut and pste job from ControlDocument.C
3406
3407         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3408
3409 2004-03-30  Angus Leeming  <leeming@lyx.org>
3410
3411         * lfuns.h:
3412         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3413         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3414
3415         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3416         open/closed state of ollapsable insets. Usage:
3417
3418         all-inset-toggle <state> <name>, where
3419         <state> == "open" || "closed" || "toggle" and
3420         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3421
3422         * lyxtext.h, text2.C (toggleInset): removed.
3423
3424         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3425         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3426         now passes LFUN_INSET_TOGGLE to the found inset.
3427
3428         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3429         is now invoked as "all-insets-toggle toggle branch".
3430
3431 2004-03-30  Angus Leeming  <leeming@lyx.org>
3432
3433         * dociterator.C:
3434         * insetiterator.C:
3435         * pariterator.[Ch]: added/corrected header blurb.
3436
3437 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3438
3439         * dociterator.[Ch]: add an inset_ member
3440         (backwardPos): implemented
3441         (backwardPos, forwardPos): use inset_ when the stack is empty.
3442         (doc_iterator_begin, doc_iterator_end): implemented
3443         * pariterator.[Ch]: adjust, add begin, end
3444         * insetiterator.[Ch]: adjust, add begin, end
3445         * cursor.C:
3446         * document.C:
3447         * BufferView.C:
3448         * BufferView_pimpl.C:
3449         * CutAndPaste.C: adjust
3450
3451 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3452
3453         * buffer.C: increment file format to 232.
3454         * LaTeXFeatures.C: add bibtopic package.
3455         * bufferparams.[Ch]: param \use_bibtopic.
3456
3457         * lyxrc.[Ch]: add lyxrc bibtex_command
3458         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3459
3460         * buffer.C: increment file format to 231.
3461
3462 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3463
3464         * dociterator.C: implement forwardPar
3465         * iterators.[Ch]: remove, replaced by
3466         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3467         * BufferView.C:
3468         * BufferView_pimpl.C:
3469         * CutAndPaste.C:
3470         * buffer.C:
3471         * bufferview_funcs.C:
3472         * cursor.C:
3473         * lyxfind.C
3474         * lyxfunc.C
3475         * paragraph_funcs.C
3476         * toc.C:
3477         * Makefile.am: adjust
3478
3479 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3480
3481         * CutAndPaste.C (pasteSelection): fix 2 crashes
3482         (eraseSelection): fix a crash
3483         * paragraph_funcs.C: remove a warning
3484
3485 2004-03-28  Angus Leeming  <leeming@lyx.org>
3486
3487         * lfuns.h:
3488         * LyXAction.C (init): new LFUN_PRINT.
3489
3490         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3491
3492 2004-03-27  Angus Leeming  <leeming@lyx.org>
3493
3494         * lfuns.h:
3495         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3496
3497         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3498
3499 2004-03-27  Angus Leeming  <leeming@lyx.org>
3500
3501         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3502         insetlist always contains non-null pointers to insets.
3503
3504 2004-03-26  Angus Leeming  <leeming@lyx.org>
3505
3506         * src/BufferView_pimpl.C:
3507         * src/CutAndPaste.C:
3508         * src/buffer.C:
3509         * src/iterators.C:
3510         * src/output_plaintext.C:
3511         * src/outputparams.h:
3512         * src/paragraph_funcs.C:
3513         * src/rowpainter.C:
3514         * src/text.C:
3515         * src/text2.C:
3516         * src/frontends/controllers/ControlErrorList.C:
3517         * src/frontends/gtk/FileDialogPrivate.C:
3518         * src/frontends/gtk/GPainter.C:
3519         * src/frontends/gtk/GToolbar.C:
3520         * src/frontends/qt2/QRef.C:
3521         * src/mathed/math_scriptinset.C: squash compiler warnings.
3522
3523 2004-03-26  Angus Leeming  <leeming@lyx.org>
3524
3525         * ispell.C (LaunchIspell::start):
3526         * lyx_cb.C (AutoSaveBuffer::start):
3527         invoke run(DontWait) rather than runNonBlocking().
3528
3529 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3530
3531         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3532
3533 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3534
3535         * kbsequence.C (print): adjust
3536
3537         * kbmap.C (printKeySym): rename and change signature
3538         (printKey): use LyXKeySym::print()
3539
3540 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3541
3542         * undo.C: add using std::advance to compile for stlport
3543
3544 2004-03-24  Angus Leeming  <leeming@lyx.org>
3545
3546         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3547         it leads to a crash when no buffer is present.
3548
3549 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3550             Martin Vermeer  <martin.vermeer@hut.fi>
3551
3552         * lyxfunc.C (dispatch):
3553         * bufferparams.C (readToken): use the new LColor::setColor
3554
3555         * LColor.[Ch] (setColor): new version that takes two strings as
3556         argument and creates a new color entry if necessary
3557
3558 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3559
3560         * buffer.C (makeLaTeXFile): if the main latex file that is
3561         processed is usually a subdocument of some master, then pretend
3562         for a while that it is actually the master
3563
3564 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3565
3566         * buffer.C (getLabelList):
3567         (getBibkeyList): use getMasterBuffer()
3568         (getMasterBuffer): new method. Returns the main document in the
3569         case where one is using included documents.
3570
3571 2004-03-25  André Pönitz  <poenitz@gmx.net>
3572
3573         * Makefile.am:
3574         * iterators.[Ch]:
3575         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3576
3577         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3578
3579         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3580         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3581
3582         * ParameterStruct.h: merge with ParagraphParameters
3583
3584         * lyxtext.h: remove LyXText::parOffset() and getPar()
3585
3586         * text3.C: Remove all 'manual' update calls. We do now one per user
3587         interaction which is completely sufficient.
3588
3589         * Bidi.C:
3590         * BufferView.[Ch]:
3591         * BufferView_pimpl.C:
3592         * FontIterator.[Ch]:
3593         * MenuBackend.C:
3594         * ParagraphParameters.[Ch]:
3595         * buffer.C:
3596         * buffer.h:
3597         * bufferlist.C:
3598         * cursor.[Ch]:
3599         * cursor_slice.[Ch]:
3600         * dociterator.[Ch]:
3601         * errorlist.[Ch]:
3602         * factory.C:
3603         * lfuns.h:
3604         * lyxfind.C:
3605         * lyxfunc.C:
3606         * output_docbook.[Ch]:
3607         * output_latex.[Ch]:
3608         * output_linuxdoc.[Ch]:
3609         * output_plaintext.[Ch]:
3610         * paragraph.[Ch]:
3611         * paragraph_funcs.[Ch]:
3612         * paragraph_pimpl.[Ch]:
3613         * rowpainter.C:
3614         * tabular.[Ch]:
3615         * text.C:
3616         * text2.C:
3617         * toc.C:
3618         * undo.[Ch]: adjust
3619
3620         * frontends/controllers/ControlDocument.C:
3621         * frontends/controllers/ControlErrorList.C:
3622         * frontends/controllers/ControlSpellchecker.C:
3623         * insets/inset.C:
3624         * insets/inset.h:
3625         * insets/insetbase.h:
3626         * insets/insetbibitem.C:
3627         * insets/insetbox.C:
3628         * insets/insetbranch.C:
3629         * insets/insetcaption.C:
3630         * insets/insetcharstyle.C:
3631         * insets/insetcharstyle.h:
3632         * insets/insetcollapsable.C:
3633         * insets/insetcollapsable.h:
3634         * insets/insetert.C:
3635         * insets/insetfloat.C:
3636         * insets/insetfoot.C:
3637         * insets/insetmarginal.C:
3638         * insets/insetnote.C:
3639         * insets/insetoptarg.C:
3640         * insets/insettabular.C:
3641         * insets/insettext.C:
3642         * insets/insettext.h:
3643         * insets/insetwrap.C:
3644         * mathed/math_mboxinset.C:
3645         * mathed/math_nestinset.C:
3646         * mathed/math_scriptinset.C:
3647         * mathed/math_scriptinset.h:
3648         * support/types.h:
3649
3650 2004-03-24  Angus Leeming  <leeming@lyx.org>
3651
3652         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3653         deal with any child processes that have finished but are waiting to
3654         communicate this fact to the rest of LyX.
3655
3656 2004-03-24  Angus Leeming  <leeming@lyx.org>
3657
3658         64-bit compile fixes.
3659
3660         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3661         (c-tor): pass lyx::pos_types rather than ints.
3662
3663         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3664         lyx::pos_type.
3665
3666         * text.C (Delete): compile fix.
3667         (getPar): ensure that function declaration is the same as that in
3668         the header file.
3669
3670 2004-03-23  Angus Leeming  <leeming@lyx.org>
3671
3672         * ispell.C (LaunchIspell):
3673         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3674         a boost::shred_ptr rather than a std::auto_ptr.
3675
3676 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3677
3678         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3679         handle LFUN_FILE_INSERT_*
3680
3681         * lyxrc.C (setDefaults, getDescription, output, read):
3682         * lyxrc.h: remove ps_command
3683
3684 2004-03-22  Angus Leeming  <leeming@lyx.org>
3685
3686         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3687         Ensure that error_handler is processed once only and that all data
3688         is saved before attempting to output any warning messages.
3689
3690         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3691
3692 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3693
3694         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3695
3696 2004-03-19  André Pönitz  <poenitz@gmx.net>
3697
3698         * cursor.[Ch] (reset): take main text inset as argument
3699
3700         * BufferView: adjust
3701         * BufferView_pimpl.C: adjust
3702
3703         * paragraph.[Ch]: fix completely broken operator=()
3704
3705 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3706
3707         * LColor.C (getFromLyXName): make sure that the color name is used
3708         as lowercase.
3709
3710 2004-03-17  Angus Leeming  <leeming@lyx.org>
3711
3712         * lfuns.h:
3713         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3714
3715         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3716         dialog and to kill a forked process.
3717
3718 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3719
3720         * text2.C (setCursorFromCoordinates): fix font problem
3721
3722 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3723
3724         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3725         bogus "rebuild cursor" code
3726
3727 2004-03-11  André Pönitz  <poenitz@gmx.net>
3728
3729         * buffer.[Ch]: use InsetText instead of LyXText as container for
3730         the main lyx text.
3731
3732         * dociterator.[Ch]: drop the BufferView * member which is not needed
3733         anymore after the change to buffer.C
3734
3735         * paragraph_funcs.C:
3736         * text.C:
3737         * text2.C:
3738         * BufferView.[Ch]:
3739         * BufferView_pimpl.[Ch]:
3740         * cursor.[Ch]:
3741         * cursor_slice.[Ch]: adjust
3742
3743         * text3.C: fix bug in mathDispatch
3744
3745 2004-03-08  André Pönitz  <poenitz@gmx.net>
3746
3747         * undo.[Ch]: use 'StableDocumentIterator' as base for
3748         the Undo struct.
3749
3750 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3751
3752         * LaTeXFeatures.C:
3753         * bufferparams.[Ch]: add jurabib support and param.
3754
3755         * LaTeX.C: add FIXME/comment.
3756
3757 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3758
3759         * buffer.C: increment file format to 230.
3760
3761 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3762
3763         * cursor.C (dispatch): avoid infinite loops
3764
3765 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3766
3767         * rowpainter.C (paintSelection): fix x coordinates
3768
3769 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3770
3771         * text.C (rowBreakPoint): fix breaking before displayed insets
3772
3773 2004-03-01  André Pönitz  <poenitz@gmx.net>
3774
3775         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3776
3777         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3778
3779         * Makefile.am:
3780         * BufferView.C:
3781         * BufferView_pimpl.C:
3782         * buffer.C:
3783         * lyxfind.C:
3784         * lyxfunc.C:
3785         * text.C:
3786         * text2.C:
3787         * text3.C: adjust
3788
3789 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3790
3791         * lyxtext.h:
3792         * text.C:
3793         * text2.C:
3794         * rowpainter.C:
3795         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3796         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3797
3798 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3799
3800         * Bidi.[Ch] (computeTables): const correctness
3801         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3802         fill_hfill, fill_label_hfill and x from Row
3803         * lyxtext.h: prepareToPrint returns a RowMetrics
3804         * rowPainter.C: adjust
3805         * text.C (prepareToPrint): use width, not textWidth. adjust
3806         (redoParagraphInternal, cursorX): adjust
3807         * text2.C (getColumnNearX): adjust
3808         (init): put a default value to the top LyXText::width
3809
3810 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3811
3812         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3813
3814 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3815
3816         * lyxtext.h: add FontIterator class
3817
3818         * text.C (FontIterator, operator*, operator->, operator++): add
3819         (rowBreakPoint, setRowWidth): adjust (fixing a
3820         rebreaking bug)
3821
3822 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3823
3824         * BufferView_pimpl.C (workAreaDispatch): allow also
3825         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3826
3827 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3828
3829         * text.C (rowBreakPoint): fix a bug showing with very large insets
3830
3831 2004-02-25  André Pönitz  <poenitz@gmx.net>
3832
3833         * text3.C:
3834         * cursor.[Ch]: move some mathed specific code to mathed
3835
3836 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3837
3838         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3839         use_tempdir in preferences
3840         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3841         tempfile creation
3842         * lyx_main.C: ensure that tempdir is valid
3843         * lyxlex.h: correct typo
3844         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3845         * paragraph.[Ch] (isMultiLingual): make const
3846         * cursor.[Ch] (openable): make const
3847
3848 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3849
3850         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3851
3852 2004-02-20  André Pönitz  <poenitz@gmx.net>
3853
3854         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3855
3856         * cursor.[Ch]: prepare for localized getStatus()
3857
3858         * lyxtext.h:
3859         * tabular.C:
3860         * text.C:
3861         * text2.C:
3862         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3863
3864 2004-02-20  André Pönitz  <poenitz@gmx.net>
3865
3866         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3867
3868 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3869
3870         * text2.C (setCursorFromCoordinates): switch to absolute coords
3871         (cursorUp): adjust
3872         (cursorDown): adjust
3873         * text3.C (dispatch): adjust
3874
3875 2004-02-16  André Pönitz  <poenitz@gmx.net>
3876
3877         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3878           insets/ChangeLog)
3879
3880         * cursor_slice.[Ch]: remove unneeded acessor function
3881
3882         * lyxtext.h: rename rtl() to isRTL()
3883
3884         * rowpainter.C:
3885         * tabular.C:
3886         * text.C:
3887         * text2.C:
3888         * text3.C: adjust
3889
3890 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3891
3892         * rowpainter.C (paintSelection): coord fix
3893
3894 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3895
3896         * Spacing.C: compile fix
3897
3898 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3899
3900         * cursor.C (dispatch): restore current_ before returning
3901
3902 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3903
3904         * text2.C (cursorUp, cursorDown): fix coords
3905         (moveUp): fix crash
3906
3907 2004-02-12  André Pönitz  <poenitz@gmx.net>
3908
3909         * lyxtext.h:
3910         * text.C:
3911         * text2.C:
3912         * text3.C: add LCursor & parameter to most cursor movement functions
3913           remove usage of LyXText::cursorRow() and cursorPar()
3914
3915         * cursor.[Ch]: add textRow() needed members
3916
3917         * BufferView.C:
3918         * BufferView_pimpl.C:
3919         * paragraph.[Ch]:
3920         * BufferView.C:
3921         * BufferView_pimpl.C: adjust
3922
3923 2004-02-11  André Pönitz  <poenitz@gmx.net>
3924
3925         * lyxfunc.C:
3926         * BufferView.[Ch]:
3927         * BufferView_pimpl.C: shift undo/redo handling
3928
3929         * cursor.[Ch]: fix mathed crash
3930
3931         * lyxfind.C:
3932         * lyxtext.h: move selectionAsText to LCursor
3933
3934         * output_latex.C:
3935         * paragraph.C:
3936         * text.C:
3937         * text2.C:
3938         * text3.C: adjust
3939
3940         * rowpainter.C: fix excessive drawing
3941
3942 2004-02-06  André Pönitz  <poenitz@gmx.net>
3943
3944         * BufferView.[Ch]:
3945         * BufferView_pimpl.[Ch]:
3946         * text3.C: move some text specific LFUN handling
3947
3948 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3949
3950         * text3.C (checkInsetHit): adjust coords
3951         * text2.C (getColumnNearX): adjust coords
3952         (edit): adjust coords
3953         * text.C (getRowNearY): add two asserts
3954
3955 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3956
3957         * converter.C:
3958         * format.C: add using std::distance to compile on gcc 2.95/stlport
3959
3960 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3961
3962         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3963
3964 2004-02-04  André Pönitz  <poenitz@gmx.net>
3965
3966         * BufferView.[Ch] (insertInset):
3967         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3968
3969         * text2.C:
3970         * text3.C: adjust
3971
3972 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3973
3974         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3975         on the default clause of the switch
3976         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3977         wasn't catched by LCursor::dispatch
3978
3979 2004-02-03  André Pönitz  <poenitz@gmx.net>
3980
3981         * BufferView.C:
3982         * cursor.[Ch]: some additional asserts
3983
3984         * undo.[Ch]: remove LyXText dependency in interface
3985
3986         * lyxfunc.C: adjust
3987
3988         * lyxtext.h (firstPar, lastPar): remove dead functions
3989
3990         * text.C:
3991         * text2.C:
3992         * text3.C:
3993         * paragraph.[Ch]: adjust
3994
3995 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3996
3997         * lyxfind.C (find): fix argument order in call to ::find
3998
3999 2004-02-02  André Pönitz  <poenitz@gmx.net>
4000
4001         * cursor.[Ch]: remove direct access to anchor
4002
4003         * text.C: remove findText() hack
4004
4005 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4006
4007         * iterators.[Ch] (lockPath): remove in favour of...
4008         * BufferView.[Ch] (setCursor): this addition
4009         * BufferView.C (putSelectionAt): adjust
4010         * undo.C (performUndoOrRedo): adjust
4011         * lyxfunc.C (dispatch): adjust
4012
4013 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4014
4015         * iterators.C (lockPath): add a missing slice
4016         * undo.C (performUndoOrRedo): remove redundant positioning code
4017
4018 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * vc-backend.C (scanMaster): ";" -> ';'
4021
4022 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4023
4024         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4025         std::binary_function
4026
4027         * lyxtextclass.C (compare_name): rename to...
4028         (LayoutNamesEqual): ...this
4029
4030         * lyxlex_pimpl.C (compare_tags): inherit from
4031         std::binary_function, put back into anon namespace
4032
4033         * lyxfind.C (MatchString): inherig from std::binary_function
4034         (findChange): use empty() istead of !size()
4035
4036         * format.C (FormatNamesEqual): new functor
4037         (getFormat): use it
4038         (getNumber): use it
4039         (add): use it
4040         (erase): use it
4041         (setViewer): use it
4042
4043         * converter.C (compare_Converter): rename to...
4044         (ConverterEqual): ...this, and fixup a bit.
4045         (getConverter): use it, and make function const
4046         (getNumber): use it, and make function const
4047         (add): use it
4048         (erase): use it:
4049
4050         * bufferlist.C: add using boost::bind
4051
4052         * MenuBackend.C (MenuNamesEqual): new functor
4053         (hasMenu): use it, and make function const
4054         (hasSubmenu): use nested bind to get rid of compare_memfun.
4055
4056 2004-01-30  André Pönitz  <poenitz@gmx.net>
4057
4058         * BufferView_pimpl.C:
4059         * cursor.C:
4060         * cursor.h:
4061         * cursor_slice.[Ch]:
4062         * lyxfunc.C:
4063         * lyxtext.h:
4064         * paragraph_funcs.C:
4065         * paragraph_funcs.h:
4066         * rowpainter.C:
4067         * text.C:
4068         * text2.C:
4069         * text3.C: move some of the edit(x,y) handling to the insets
4070         some coordinate changes.
4071
4072 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4073
4074         * text.C: add using statements for std::advance and std::distance
4075
4076         * paragraph.C: add using statement for std::distance
4077
4078         * lyxfind.C: add using statement for std::advance
4079
4080         * cursor.C (region): remove std:: from swap
4081         (openable): use nucleus in stead of operator->
4082
4083         * BufferView.C: add using statements for std::distance and std::swap
4084
4085 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * iterators.C: Remove the pimple, move the needed structures to
4088         the header file. Create accessor for the positions stack.
4089         (asPosIterator): remove function
4090
4091         * PosIterator.C (PosIterator): move constructors to top of file
4092         (PosIterator): reimplement the constructor taking a ParIterator in
4093         terms of setFrom.
4094         (setFrom): new function
4095         (operator!=): inline it
4096
4097 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4098
4099         * lyxfind.C (replaceAll): use std::advance
4100
4101         * iterators.h: inherit from std::iterator.
4102
4103         * PosIterator.C (advance, distance): remove
4104         * PosIterator.h: interit from std::iterator.
4105
4106 2004-01-26  André Pönitz  <poenitz@gmx.net>
4107
4108         * BufferView.[Ch]:
4109         * BufferView_pimpl.[Ch]:
4110         * InsetList.[Ch]:
4111         * PosIterator.[Ch]:
4112         * buffer.h:
4113         * bufferview_funcs.C:
4114         * cursor.[Ch]:
4115         * cursor_slice.h:
4116         * factory.[Ch]:
4117         * iterators.[Ch]:
4118         * lyxfind.C:
4119         * lyxfunc.C:
4120         * lyxtext.h:
4121         * output_docbook.C:
4122         * output_latex.C:
4123         * output_linuxdoc.C:
4124         * output_plaintext.C:
4125         * paragraph.[Ch]:
4126         * paragraph_funcs.[Ch]:
4127         * paragraph_pimpl.[Ch]:
4128         * rowpainter.C:
4129         * tabular.C:
4130         * tabular.h:
4131         * text.C:
4132         * text2.C:
4133         * text3.C: more IU:  dumps most of the rest of the mathcursor
4134     implementation into cursor.[Ch]; "globalize" a bit of it.
4135
4136 2004-01-25  Angus Leeming  <leeming@lyx.org>
4137
4138         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4139
4140 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4141
4142         * LaTeXFeatures.h: add nice_ and nice() const
4143         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4144
4145 2004-01-20  André Pönitz  <poenitz@gmx.net>
4146
4147         * BufferView.[Ch]:
4148         * BufferView_pimpl.C:
4149         * PosIterator.C:
4150         * bufferview_funcs.C:
4151         * cursor.[Ch]:
4152         * cursor_slice.[Ch]:
4153         * factory.C:
4154         * iterators.C:
4155         * lyx_cb.C:
4156         * lyxfind.C:
4157         * lyxfunc.C:
4158         * lyxtext.h:
4159         * rowpainter.C:
4160         * text.C:
4161         * text2.C:
4162         * text3.C:
4163         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4164           LCursor and mathcursor parts to LCursor and InsetBase.
4165
4166 2004-01-15  André Pönitz  <poenitz@gmx.net>
4167
4168         * cursor_slice.[Ch]: add a few covienience functions
4169
4170         * funcrequest.[Ch]: remove BufferView * member
4171
4172         * BufferView_pimpl.C:
4173         * cursor.C:
4174         * factory.[Ch]:
4175         * lyxfind.[Ch]:
4176         * lyxfunc.C:
4177         * lyxtext.h:
4178         * text3.C:
4179         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4180
4181 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4182
4183         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4184         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4185
4186 2004-01-13  André Pönitz  <poenitz@gmx.net>
4187
4188         * textcursor.[Ch]:
4189         * lyxtext.h: hide cursor and selection anchor behind accessor function
4190
4191         * BufferView.C:
4192         * BufferView_pimpl.[Ch]:
4193         * PosIterator.C:
4194         * bufferview_funcs.C:
4195         * cursor.h:
4196         * lyxfind.C:
4197         * lyxfunc.C:
4198         * text.C:
4199         * text2.C:
4200         * text3.C:
4201         * undo.C: adjust
4202
4203         * cursor.h:
4204         * cursor_slice.[Ch]: some integer type changes for inset unification
4205
4206         * lyxcursor.[hC]: remove, it's CursorSlice now.
4207
4208         * Makefile.am:
4209         * BufferView_pimpl.[Ch]:
4210         * bufferview_funcs.C:
4211         * cursor_slice.C:
4212         * lyxtext.h:
4213         * text.C:
4214         * text2.C:
4215         * text3.C:
4216         * textcursor.[Ch]: adjust
4217
4218 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4219
4220         * text2.C (undoSpan): add and use
4221         * text.C (breakParagraph): use undoSpan (fix bug 578)
4222         * lyxtext.h: adjust
4223
4224 2004-01-08  Angus Leeming  <leeming@lyx.org>
4225
4226         * BufferView_pimpl.C (MenuInsertLyXFile):
4227         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4228         * lyxfunc.C (menuNew, open, doImport):
4229         FileFilterList change to the FileDialog open and save functions.
4230
4231 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4232
4233         * ShareContainer.h: make isEqual and isUnique adaptable
4234
4235         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4236
4237 2004-01-07  Angus Leeming  <leeming@lyx.org>
4238
4239         * LyXAction.C:
4240         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4241
4242         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4243
4244         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4245         functions replacing find, replace and replaceAll.
4246
4247         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4248         LFUN_WORDFIND(FORWARD|BACKWARD).
4249
4250 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4251
4252         * text.C (breakParagraph): remove an outdated #warning
4253
4254 2004-01-07  André Pönitz  <poenitz@gmx.net>
4255
4256         * lyxfind.C: somewhat clearer logic
4257
4258         * text.C: prevent crash in cursorX on unitialized row cache
4259
4260 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4261
4262         * lyxcursor.[Ch] (operator>): add
4263         * textcursor.C (selStart, selEnd): use std::min and std::max
4264
4265 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4266
4267         * Chktex.C: include boost/format.hpp
4268
4269 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * InsetList.C: replace functor MathcIt with adaptable functor
4272         InsetTablePosLess
4273         (insetIterator): modify accordingly
4274
4275         * BranchList.h: move the BranchNamesEqual functor here from...
4276         * BranchList.C: ... to here
4277
4278         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4279         SameName and match.
4280         (add): replace a finding loop with std::find_if.
4281
4282 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4283
4284         * output_docbook.C: moving LatexParam functionality into
4285         .layout files
4286
4287 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4288
4289         * buffer.C: increment format to 229.
4290
4291 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4292
4293         * LaTeXFeatures.C:
4294         * lyx_sty.[Ch]: remove minipageindent_def
4295
4296         * LyXAction.C:
4297         * factory.C:
4298         * lfuns.h:
4299         * lyxfunc.C:
4300         * text3.C: remove LFUN_INSET_MINIPAGE
4301
4302 2003-12-28  Angus Leeming  <leeming@lyx.org>
4303
4304         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4305
4306 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4307
4308         * text2.C (setParagraph): fix off-by-one crash
4309
4310 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4311
4312         * output_docbook.C: header stuff for AGU
4313
4314 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4315
4316         * text2.C (redoCursor): remove
4317         * text.C:
4318         * text3.C:
4319         * BufferView_pimpl.C: remove calls to redoCursor and
4320         setCursor(cursor.par(), cursor.pos()) all around
4321
4322 2003-12-15  Angus Leeming  <leeming@lyx.org>
4323
4324         * buffer.C: up the format to 228.
4325
4326 2003-12-15  André Pönitz  <poenitz@gmx.net>
4327
4328         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4329         slices
4330
4331         * Makefile.am:
4332
4333         * BufferView_pimpl.C:
4334         * cursor.[Ch]:
4335         * lyxcursor.[Ch]:
4336         * rowpainter.[Ch]:
4337         * lyxtext.h:
4338         * text.C:
4339         * text2.C:
4340         * text3.C: adjust
4341
4342 2003-12-15  Angus Leeming  <leeming@lyx.org>
4343
4344         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4345         than getFromGUIName to manipulate the color.
4346
4347 2003-12-14  Angus Leeming  <leeming@lyx.org>
4348
4349         * BranchList.[Ch]: minimize the API.
4350         (Branch::getBranch, getColor): now return a 'const &'.
4351         (Branch::setSelected) now returns a bool set to true if the
4352         selection status changes.
4353         (BranchList::clear, size, getColor, setColor, setSelected,
4354         allBranches, allSelected, separator): removed.
4355         (BranchList::find): new functions, returning the Branch with
4356         the given name.
4357         (BranchList::add, remove): return a bool indicating that
4358         the operation was successful.
4359
4360         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4361         new InsetBranch::isBranchSlected member function.
4362
4363         * LColor.[Ch]: mimimize the API.
4364         (fill): renamed as addColor and made private.
4365         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4366         versions of these functions taking a string arg have been removed.
4367
4368         * bufferparams.C (readToken):
4369         * lyxfunc.C (dispatch):
4370         * lyxrc.C (read): changes due to the altered BranchList and
4371         LColor APIs.
4372
4373         * factory.C (createInset, readInset): changes due to altered
4374         InsetBranch c-tor.
4375
4376 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4377
4378         * factory.C:
4379         * lyxfunc.C: remove insetminipage. "minipage-insert"
4380         now produces a frameless minipage box inset.
4381
4382 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4383
4384         * textcursor.[Ch] (selStart,selEnd): add new methods
4385         remove selection::start, end, use LyXCursor::operator<
4386         * lyxcursor.[Ch] (operator<): add
4387         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4388         * BufferView.[Ch] (unsetXSel): add
4389         * text2.C (clearSelection): use unsetXSel,adjust
4390         * text.C: adjust
4391         * text3.C: adjust
4392         * rowpainter.C: adjust
4393         * bufferview_funcs.C (put_selection_at): adjust
4394
4395 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4396
4397         * BufferView_pimpl.C: small coord. correction
4398
4399 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4400
4401         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4402         dragging over the splash screen.
4403
4404 2003-12-11  Angus Leeming  <leeming@lyx.org>
4405
4406         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4407         as it is now handled in LyXText::dispatch.
4408
4409         * text3.C (doInsertInset): remove a level of nesting.
4410
4411 2003-12-11  Angus Leeming  <leeming@lyx.org>
4412
4413         * factory.C (createInset): changes due to the changed interface to
4414         InsetCommandMailer::string2params.
4415
4416 2003-12-10  Angus Leeming  <leeming@lyx.org>
4417
4418         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4419         'dialog-show-new-inset <inset name>'
4420
4421 2003-12-10  Angus Leeming  <leeming@lyx.org>
4422
4423         * buffer.C: up the format to 227.
4424
4425         * factory.C: the box inset is now identified simply by 'Box'.
4426
4427 2003-12-10  Angus Leeming  <leeming@lyx.org>
4428
4429         * buffer.C: up the format to 226.
4430
4431         * factory.C: the note inset is now identified simply by 'Note'.
4432
4433 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4436         when a pit is enough. Standarize a couple of loops.
4437
4438 2003-12-05  Angus Leeming  <leeming@lyx.org>
4439
4440         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4441         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4442         data to the re-worked "log" dialog.
4443
4444 2003-12-03  André Pönitz  <poenitz@gmx.net>
4445
4446         * PosIterator.C:
4447         * iterators.C:
4448         * lyxtext.h:
4449         * output_latex.C:
4450         * paragraph_funcs.C:
4451         * text.C:
4452         * text2.C: use Inset::getText instead of Inset::getParagraph
4453
4454 2003-12-03  André Pönitz  <poenitz@gmx.net>
4455
4456         * buffer.[Ch]:
4457         * lyxtext.h:
4458         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4459         InsetText::read() as LyXText::read()
4460
4461 2003-12-02  Angus Leeming  <leeming@lyx.org>
4462
4463         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4464         type. Add a comment in the implementation that the function uses
4465         the stream's bad() function rather than fail() as the std::streams
4466         would do.
4467
4468 2003-12-02  André Pönitz  <poenitz@gmx.net>
4469
4470         * lyxlex.[Ch]: make interface more similar to std::stream
4471
4472         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4473
4474 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4475
4476         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4477
4478 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4479
4480         * vspace.[Ch]: remove VSpace::NONE
4481
4482 2003-12-01  André Pönitz  <poenitz@gmx.net>
4483
4484         * buffer.[Ch]:
4485         * lyxtext.h: move ParagraphList member to LyXText
4486         rename LyXText::ownerParagraphs to LyXText::paragraph
4487
4488         * CutAndPaste.C:
4489         * bufferview_funcs.C:
4490         * iterators.[Ch]:
4491         * lyx_cb.C:
4492         * paragraph.C:
4493         * rowpainter.C:
4494         * tabular.C:
4495         * text.C:
4496         * text2.C:
4497         * text3.C: adjust
4498
4499         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4500
4501         * undo.C: fix cursor positioning
4502
4503 2003-12-01  John Levon  <levon@movementarian.org>
4504
4505         * BufferView_pimpl.C: fix a crash on exit with
4506         a buffer open
4507
4508 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4509
4510         * BranchList.C: fix setSelected() method.
4511
4512 2003-11-28  André Pönitz  <poenitz@gmx.net>
4513
4514         * ParagraphParameters.[Ch]:
4515         * ParameterStruct.h: remove space above/below from Paragraph to
4516          InsetVSpace
4517
4518         * BufferView_pimpl.C:
4519         * factory.C:
4520         * lyxfunc.C:
4521         * lyxtext.h:
4522         * output_latex.C:
4523         * paragraph.C:
4524         * paragraph_funcs.C:
4525         * rowpainter.[Ch]:
4526         * text.C:
4527         * text2.C:
4528         * text3.C: adjust
4529
4530 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4531
4532         * factory.C: Syntax change for CharStyles
4533
4534 2003-11-28  André Pönitz  <poenitz@gmx.net>
4535
4536         * BufferView.[Ch]:
4537         * BufferView.[Ch]:
4538         * buffer.[Ch]:
4539         * buffer.[Ch]: move LyXText member
4540
4541 2003-11-28  André Pönitz  <poenitz@gmx.net>
4542
4543         * BufferView.[Ch]: make LyXText * text a private member
4544
4545         * BufferView_pimpl.C:
4546         * cursor.C:
4547         * iterators.C:
4548         * lyx_cb.C:
4549         * lyxfind.C:
4550         * lyxtext.h:
4551         * rowpainter.[Ch]:
4552         * text.C:
4553         * text2.C:
4554         * undo.C: adjust
4555
4556         * output_plaintext.C: cleanup
4557
4558 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4559
4560         * buffer.C:
4561         * lyxtextclass.[Ch]: parametrize SGML document header
4562
4563 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4564
4565         * converter.[Ch]:
4566         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4567         getFlavor().
4568
4569 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4570
4571         * text2.C (setFont): rework using PosIterator (no more recursive)
4572         (setCharFont): no more needed
4573         (setLayout): no more selection cursors fiddling (done by redoCursor)
4574         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4575         destroy remaining ones)
4576
4577 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4578
4579         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4580         * lyxtext.h: ditto
4581         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4582         selection cursors
4583         * lyxfunc.C: adjust
4584         * text3.C: adjust + re-allow multi par depth changes
4585         * textcursor.C: simplify a bit
4586
4587 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4588
4589         * src/buffer.C:
4590         * src/lyxlayout.C:
4591         * src/lyxlayout.h:
4592         * src/lyxtext.h:
4593         * src/output_docbook.C:
4594         * src/output_latex.C:
4595         * src/paragraph.C:
4596         * src/paragraph.h:
4597         * src/sgml.C:
4598         * src/sgml.h:
4599         * src/text2.C: Introducing a number of tags parametrizing various
4600         XML formats that we may want to support
4601
4602 2003-11-25  André Pönitz  <poenitz@gmx.net>
4603
4604         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4605
4606         * lyxtext.h (leftMargin/rightMargin): simplify interface
4607
4608         * rowpainter.C:
4609         * text.C:
4610         * text2.C:
4611         * text3.C: adjust
4612
4613 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4614
4615         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4616         master file to any child files. Fixes bug 546.
4617
4618 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4619
4620         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4621
4622 2003-11-24  André Pönitz  <poenitz@gmx.net>
4623
4624         * rowpainter.C: simplification
4625
4626         * text2.C (updateCounters): remove call to redoParagraph on
4627         changed labels as this is far too expensive.
4628
4629 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4630
4631         * converter.C (convert): fix a crash: this function gets
4632         called with buffer == 0 from importer code.
4633
4634 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4635
4636         * text3.C (cursorPrevious): make sure that we do not compare
4637         iterators form different containers.
4638         (cursorNext): ditto
4639
4640         * rowpainter.C (paintSelection): make sure that we do not compare
4641         iterators from different containers.
4642
4643         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4644         iterators from different ParagraphList containers.
4645         [NEXT] ditto
4646
4647         * text2.C (LyXText): change order of initialization slightly
4648         (operator=): new function. copy all variables except cache_par_
4649         (moveUp): make sure that we do not compare iterators from
4650         different ParagraphList constainers.
4651         (moveDown): ditto
4652
4653         * text.C (firstPar): new function
4654         (lastPar): new function
4655         (endPar): new function
4656
4657         * lyxtext.h: move things around and group public functions, public
4658         variables, private functions, private variables
4659
4660 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4661
4662         * factory.C: change call to InsetERT constructor to avoid
4663         additional invocation of method status
4664         * text2.C (toggleInset): remove redundant update() call
4665         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4666         instead of a Bufferview pointer
4667
4668 2003-11-21  André Pönitz  <poenitz@gmx.net>
4669
4670         * rowpainter.C: simplification
4671
4672 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4673
4674         * text3.C (dispatch): make possible to extend a word/row selection
4675         with the mouse
4676
4677 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4678
4679         * lyxtext.h: x0_,y0_ -> xo_,yo_
4680         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4681         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4682         * rowpainter.C (paintRows): paint full paragraphs
4683
4684 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4685
4686         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4687         screen coordinates)
4688
4689 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4690
4691         * lyxtext.h: add x0_, y0_
4692         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4693         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4694
4695 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4696
4697         * text2.C (setCursorIntern): move the x_target update here *
4698         * text3.C: change some bv() to true/false in calls to
4699         cursorUp/Down/Right/Left
4700         * cursor.C: use helper function.
4701
4702 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4703
4704         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4705         * paragraph_funcs.[Ch]: correct comment
4706         * rowpainter.C: do not paint selections away from bv->cursor()
4707         Fix a long standing selection painting bug.
4708         * text3.C: generalize mouse-selection code to LyXTexts other that
4709         top one
4710         * textcursor.C: do not use y coords if we can use par offsets
4711
4712 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4713
4714         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4715         cursor position after e.g. inset insert)
4716
4717 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4718
4719         * lyxfind.C (replace): adjust to locking removal + some
4720         code simplification
4721
4722 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4723
4724         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4725         of the path
4726
4727 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4728
4729         * lyxlayout.[Ch]:
4730         * output_docbook.C: XML sanitation: new layout
4731         parameters InnerTag and CommandDepth
4732
4733 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4734
4735         * BufferView_pimpl.C:
4736         * factory.C:
4737         * text3.C: Fix the insertion and modification of button-style
4738         insets
4739
4740 2003-11-13  André Pönitz  <poenitz@gmx.net>
4741
4742         * InsetList.[Ch]: remove deleteLyXText
4743
4744         * paragraph.[Ch]: cache beginOfBody position
4745
4746         * Bidi.C:
4747         * text.C:
4748         * text2.C:
4749         * text3.C: remove superfluous update() calls
4750
4751         * vspace.C: cleanup
4752
4753 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4754
4755         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4756         * BufferView.C (fitLockedInsetCursor): remove
4757         * cursor.[Ch] (getDim): add
4758         * text.C (getRowNearY): add faster version
4759         * text3.C: remove some update calls
4760
4761 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4762
4763         * LaTeXFeatures.C:
4764         * LyXAction.C:
4765         * MenuBackend.C:
4766         * MenuBackend.h:
4767         * dispatchresult.h:
4768         * factory.C:
4769         * lfuns.h:
4770         * lyxfunc.C:
4771         * lyxtextclass.C:
4772         * lyxtextclass.h:
4773         * text3.C: The Character Style /XML short element patch.
4774
4775 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4776
4777         * text3.C:
4778         * factory.C: Small step to solving 'unable to insert some insets'
4779         problem
4780
4781 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4782
4783         * cursor.[Ch] (updatePos): new function for updating the y
4784         position of the tip inset
4785         * bufferview_funcs.C (put_selection_at):
4786         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4787
4788 2003-11-11  André Pönitz  <poenitz@gmx.net>
4789
4790         * text.C: remove big comment on invalid Paragraph pointers as it is
4791         not valid anymore
4792
4793 2003-11-11  André Pönitz  <poenitz@gmx.net>
4794
4795         * text_funcs.[Ch]: merge with ...
4796
4797         * text.C: ... this
4798
4799         * lyxtext.h:
4800         * text2.C:
4801         * text3.C: adjust
4802
4803         * Makefile.am: remove text_funcs.[Ch]
4804
4805 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4806
4807         * cursor.C (getPos): return absolute cached y coord
4808
4809         * BufferView_pimpl.C (fitCursor): new simplistic code
4810         (workAreaDispatch): add a fitCursor call
4811
4812 2003-11-10  André Pönitz  <poenitz@gmx.net>
4813
4814         * BufferView.[Ch]:
4815         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4816
4817 2003-11-10  André Pönitz  <poenitz@gmx.net>
4818
4819         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4820         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4821         indicate that the cursor needs to leave an inset
4822
4823         * lyxtext.h: remove inset locking
4824
4825         * cursor.[Ch]: re-implement functionality provided by inset locking
4826
4827         * BufferView.[Ch]:
4828         * BufferView_pimpl.[Ch]:
4829         * LyXAction.C:
4830         * bufferview_funcs.[Ch]:
4831         * factory.C:
4832         * funcrequest.[Ch]:
4833         * iterators.C:
4834         * lyx_cb.C:
4835         * lyxfind.C:
4836         * lyxfunc.C:
4837         * text.C:
4838         * text2.C:
4839         * text3.C:
4840         * undo.C: adjust
4841
4842 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4843
4844         * PosIterator.[Ch]: replace the stack with a vector, add inset
4845         accesor
4846         * iterators.[C]: adjust
4847
4848 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4849
4850         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4851         replaced
4852         * paragraph_funcs.C (readParToken): put the correct id in the
4853         error item, not the id of the top paragraph
4854
4855 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4856
4857         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4858         * bufferview_funcs.C (put_selection_at): use the above
4859
4860 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4861
4862         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4863
4864 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4865
4866         * output_linuxdoc.h:
4867         * output_plaintext.h:
4868         * output.h:
4869         * output_docbook.h: add #include statements
4870
4871 2003-11-05  José Matos  <jamatos@lyx.org>
4872
4873         * output_docbook.[Ch]:
4874         * output_latex.[Ch]:
4875         * output_linuxdoc.[Ch]:
4876         * output_plaintext.[Ch]: New files for output formats.
4877         * output.[Ch]: New file for helper functions.
4878
4879         * buffer.[Ch]:
4880         * paragraph_funcs.[Ch]: output functions moved to new files.
4881
4882         * outputparams.h: rename of latexrunparams.h
4883
4884         * LaTeX.[Ch]:
4885         * buffer.[Ch]:
4886         * bufferlist.[Ch]:
4887         * converter.[Ch]:
4888         * exporter.C:
4889         * paragraph.[Ch]:
4890         * paragraph_funcs.[Ch]:
4891         * paragraph_pimpl.[Ch]:
4892         * tabular.[Ch]: rename ascii to plaintext
4893         and LatexRunParams to OutputParams.
4894
4895 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4896
4897         * iterators.[Ch] (text): require bv argument
4898         * undo.C (recordUndo):
4899         * lyxfunc.C (dispatch):
4900         * bufferview_funcs.C (put_selection_at): adjust
4901
4902 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4903
4904         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4905
4906 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4907
4908         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4909         nestings
4910
4911 2003-11-04  André Pönitz  <poenitz@gmx.net>
4912
4913         * cursor.[Ch]: restructure
4914
4915         * BufferView.[Ch]:
4916         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4917
4918         * iterators.[Ch] (asCursor): remove
4919
4920         * lfuns.h: remove LFUN_INSET_EDIT
4921
4922         * lyxfunc.C:
4923         * tabular.C:
4924         * text.C:
4925         * text2.C:
4926         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4927
4928 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4929
4930         * lyxfind.[Ch]: complete overhaul
4931         * BufferView_pimpl.C:
4932         * lyxfunc.C: adjust
4933         * paragraph.[Ch] (insert): add
4934
4935 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4936
4937         * BufferView.[Ch]:
4938         * lyxtext.h:
4939         * text.C: remove dead spellcheck code
4940
4941 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4942
4943         * dispatchresult.h: add a val setter
4944
4945         * cursor.C (dispatch): use a tempvar for data_[i]
4946
4947 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4948
4949         * PosIterator.[Ch]: compile fix
4950
4951 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4952
4953         * text.C (cursorPar): deactivate the cursor cache
4954
4955 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4956
4957         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4958
4959 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * text3.C (dispatch): adjust for new DisptchResult semantics.
4962
4963         * lyxfunc.C (dispatch): handle update when return from
4964         Cursor::dispatch, adjust for new DispatchResult semantics.
4965
4966         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4967         DispatchResult(true) mean to not update. Add class functions for
4968         setting dispatched and update, as well as reading.
4969
4970         * cursor.C (dispatch): don't handle update here
4971
4972 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4973
4974         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4975         * trans_mgr.C: adjust
4976
4977         * paragraph_funcs.C (readParToken): exception safety
4978
4979         * lyxvc.h: store the vcs pointer in a scoped_ptr
4980         * lyxvc.C: adjust
4981
4982         * lyxsocket.C (serverCallback): exception safety
4983
4984         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4985
4986         * ispell.C (clone): make it return a auto_ptr
4987
4988         * factory.C (createInset): exception safety
4989         (readInset): exception safety
4990
4991         * bufferlist.C (newBuffer): exception safety
4992
4993         * Thesaurus.C (Thesaurus): use initialization for aik_
4994
4995         * MenuBackend.C (expandToc): exception safety.
4996
4997 2003-11-03  André Pönitz  <poenitz@gmx.net>
4998
4999         * buffer.C:
5000         * buffer.h:
5001         * bufferview_funcs.C: remove getInsetFromId()
5002
5003         * lyxcursor.[Ch]:
5004         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5005
5006         * lyxfunc.C:
5007         * text2.C:
5008         * text3.C: adjust
5009
5010 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5011
5012         * PosIterator.C (distance, advance): new
5013         * bufferview_funcs.[Ch] (put_selection_at): new
5014         * iterators.[Ch] (lockPath): new
5015
5016 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5017
5018         * iterators.[Ch] (asPosIterator): added
5019         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5020         * PosIterator.[Ch]: added
5021
5022 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * text3.C:
5025         * lyxfunc.C:
5026         * cursor.C (dispatch):
5027         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5028
5029         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5030         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5031         contructor, add a class function dispatched. Remove operator>=
5032
5033 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5034
5035         * debug.C: only use the default constructor for debugstream
5036         (lyxerr) here.
5037
5038         * main.C (main): include debug.h and setup the lyxerr streambuf
5039         here.
5040
5041 2003-10-31  José Matos  <jamatos@lyx.org>
5042
5043         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5044
5045         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5046         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5047         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5048         * paragraph_pimpl.C (simpleTeXSpecialC):
5049         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5050         add LatexRunParams argument.
5051
5052         * exporter.C (Export): change call accordingly.
5053
5054         * latexrunparams.h: add new member to take care of the other backends.
5055 2003-10-30  José Matos  <jamatos@lyx.org>
5056
5057         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5058         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5059         factorise code for paragraph output.
5060         * buffer.[Ch]:
5061         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5062         move functions.
5063
5064 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5065
5066         * text3.C (dispatch):
5067         * lyxfunc.C (dispatch):
5068         * cursor.C (dispatch):
5069         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5070
5071         * dispatchresult.h: make the dispatch_result_t ctor explicit
5072
5073 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5074
5075         * sgml.[Ch]:
5076         * buffer.C: small refactoring of docbook stuff
5077
5078 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5079
5080         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5081         meaning.
5082
5083 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5084
5085         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5086         operator dispatch_result_t, and operators for == != and >=
5087
5088         * cursor.C (dispatch): adjust for operator dispatch_result_t
5089         removal. comment out call to update
5090
5091         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5092
5093 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * text3.C:
5096         * text2.C:
5097         * text.C:
5098         * lyxtext.h:
5099         * lyxfunc.C:
5100         * cursor.C:
5101         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5102         (dispatch):
5103
5104         * dispatchresult.h: new file, DispatchResult broken out of
5105         insets/insetbase.h
5106
5107         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5108
5109 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5110
5111         * text.C (rowBreakPoint): put a hack inside #if 0
5112
5113 2003-10-28  André Pönitz  <poenitz@gmx.net>
5114
5115         * lyxtext.h:
5116         * metricsinfo.C:
5117         * paragraph_funcs.C:
5118         * rowpainter.C:
5119         * text.C:
5120         * text2.C: general cleanup (lots of small stuff)
5121
5122 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5123
5124         * text2.C (cursorEnd): simple fix to the "end key goes to one
5125         before the end on last row" bug
5126
5127 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5128
5129         * text.C (backspace): fix the "zombie characters"
5130
5131 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5132
5133         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5134
5135 2003-10-27  André Pönitz  <poenitz@gmx.net>
5136
5137         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5138
5139         * factory.C: handle new InsetPagebreak, InsetLine
5140
5141         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5142         and move handling into new InsetPagebreak, InsetLine
5143
5144         * BufferView_pimpl.C:
5145         * LyXAction.C:
5146         * ParagraphParameters.C:
5147         * ParameterStruct.h:
5148         * lyxfunc.C:
5149         * lyxtext.h:
5150         * paragraph.C:
5151         * paragraph.h:
5152         * paragraph_funcs.C:
5153         * paragraph_pimpl.C:
5154         * rowpainter.C:
5155         * text.C:
5156         * text2.C:
5157         * text3.C: adjust
5158
5159 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * text.C:
5162         * lyxrow_funcs.[Ch]:
5163         * Bidi.C:
5164         * paragraph.C:
5165         * lyxtext.h:
5166         * rowpainter.C:
5167         * text2.C:
5168         * text3.C: remove lastPos uses in favour of Row::endpos
5169
5170 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5171
5172         * undo.C (performUndoOrRedo): fix two crashes by setting a
5173         cursor by hand and reordering some calls. Use bv->lockInset instead
5174         of inset->edit because the latter loses cursor information
5175
5176 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5177
5178         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5179         by Martin
5180         (rowBreakPoint): fix width. change point to point + 1.
5181         Add a missing check.
5182
5183 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5184
5185         * MenuBackend.C:
5186         * lyxfunc.C: fix (at least partly) the problems
5187         with the Nav menu and headers inside branch insets
5188         reported by Kayvan
5189
5190 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5191
5192         * paragraph.C (getChar): add strong asserts
5193
5194         * lyxrow_funcs.C (lastPos): remove hideous hack
5195
5196         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5197         (fill): adjust to that (avoid an infinite loop)
5198
5199 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5200
5201         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5202
5203 2003-10-23  André Pönitz  <poenitz@gmx.net>
5204
5205         * RowList_fwd.h: change list<> to vector<> to gain speed
5206         after suggestion from Alfredo
5207
5208 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5209
5210         * lyxtext.h: move the bidi stuff from here...
5211         * text.C: and here
5212         * text2.C: and here
5213         * Bidi.[Ch]: ... to here
5214
5215 2003-10-23  André Pönitz  <poenitz@gmx.net>
5216
5217         * lyxtext.h:
5218         * text.C (isLastRow, isFirstRow): new functions
5219
5220         * paragraph.h: new width cache member
5221
5222         * rowpainter.C: replace RowList::iterator with Row & where possible
5223
5224         * lyxfunc.C: replace several view()->text with a single call
5225
5226         * toc.C: fix 'unused' warning
5227
5228 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5231         when woring with stream::pos_type
5232         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5233
5234 2003-10-22  André Pönitz  <poenitz@gmx.net>
5235
5236         * lyxtext.h:
5237         * text.C: use Row & instead of RowList::iterator
5238
5239         * lyxrow.h: rename end() to endpos()
5240
5241         * rowpainter.C:
5242         * text.C:
5243         * text2.C: adjust
5244
5245 2003-10-22  Angus Leeming  <leeming@lyx.org>
5246
5247         * buffer.[Ch] (fully_loaded): new member function, returning true
5248         only when the file has been loaded fully.
5249         Used to prevent the premature generation of previews and by the
5250         citation inset to prevent computation of the natbib-style label.
5251
5252         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5253         templates are all set up.
5254
5255         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5256
5257 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5258
5259         * text.C: fixed an "oops" in the "is a bit silly"
5260         bug fix
5261
5262 2003-10-21  André Pönitz  <poenitz@gmx.net>
5263
5264         * FuncStatus.[Ch]: small stuff, whitespace
5265
5266         * lyxfont.[Ch]: operator<<() for debug reasons
5267
5268         * lyxfunc.C:
5269         * lyxrow_funcs.C:
5270         * lyxtext.h: whitespace, spelling
5271
5272         * paragraph.C: naming of variables
5273
5274         * text.C:
5275         * text2.C: small stuff
5276
5277
5278 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5279
5280         * text.C: (1) finish off the inset display() work;
5281         (2) fix the "is a bit silly" bug (accessing char
5282         past end of par).
5283
5284 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5285
5286         * text.C: re-introduce display() for insets, fixing the
5287         various bugs (stretch of line above, math inset
5288         positioning, ...)
5289
5290 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5291
5292         * text.C (rightMargin): remove spurious semicolon
5293
5294         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5295         1415)
5296
5297 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5298
5299         * text3.C: fix one crash due to wrong cursor def
5300
5301 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5302
5303         * vc-backend.C (scanMaster): make the regex static
5304
5305         * LaTeX.C (scanAuxFile): make the regexs static
5306
5307         * text3.C (doInsertInset, dispatch, dispatch):
5308         * text2.C (cursorUp, cursorDown):
5309         * text.C (selectNextWordToSpellcheck):
5310         * BufferView_pimpl.C (dispatch):
5311         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5312
5313 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5314
5315         * lyxsocket.C: include <cerrno>
5316
5317 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * lyxfunc.C (dispatch): remove textcache stuff
5320
5321         * bufferlist.C (release): remove textcache stuff
5322         (closeAll): ditto
5323
5324         * TextCache.C: delete file
5325         * TextCache.h: delete file
5326
5327         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5328
5329         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5330         delete of the bv_->text.
5331         (resizeCurrentBuffer): remove texcache stuff
5332         (workAreaResize): ditto
5333
5334 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5335
5336         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5337         action.
5338
5339 2003-10-16  André Pönitz  <poenitz@gmx.net>
5340
5341         * lyxrow.[Ch]:
5342         * paragraph.h:
5343         * rowpainter.C:
5344         * text.C:
5345         * text2.C:
5346         * text3.C: speed up by storing y positions per paragraph plus per-row
5347         offset instead of having a 'full' y position in the row.
5348
5349 2003-10-15  André Pönitz  <poenitz@gmx.net>
5350
5351         * iterators.[Ch]:
5352         * iterators.[Ch]:
5353         * undo.[Ch]: make undo aware of inner insets
5354
5355 2003-10-14  Angus Leeming  <leeming@lyx.org>
5356
5357         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5358         static member functions LyX::ref() and LyX::cref.
5359         (lastfiles): new accessor functions for the new lastfiles_ member var.
5360         (addLyXView, views_): add a new LyXView to the list of views_.
5361         (updateInset): loop over all LyXViews to call their own updateInset
5362         member function, returning a pointer to the Buffer owning the inset.
5363
5364         * BufferView_pimpl.C (loadLyXFile):
5365         * MenuBackend.C (expandLastfiles):
5366         * bufferlist.C (MenuWrite, QuitLyX):
5367         lastfiles is no longer a global variable.
5368         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5369
5370         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5371         static function. Access through LyX::cref().emergencyCleanup().
5372
5373 2003-10-14  André Pönitz  <poenitz@gmx.net>
5374
5375         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5376
5377         * undo.[Ch]: restoring part of 'undo in insets'
5378
5379         * Makefile.am:
5380         * undo_funcs.[Ch]: merge with undo.[Ch]
5381
5382         * tabular.C: small cleansing stuff
5383
5384 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5385
5386         * paragraph_funcs.C (readParToken): report unknown insets as error
5387         boxes. Use the outer paragraph as location (also for unknown
5388         tokens).
5389
5390         * factory.C (readInset): do not abort on reading an unknown inset.
5391         Eat it and return 0.
5392
5393 2003-10-13  Angus Leeming  <leeming@lyx.org>
5394
5395         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5396
5397         * lyxrc.C: displayTranslator is now a function,
5398         declared in GraphicsTypes.h.
5399
5400 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5401
5402         * format.C: new placeholder $$a to pass the socket address.
5403
5404         * bufferlist.[Ch]: new function getBufferFromTmp.
5405
5406         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5407           files in the temporary dir.
5408
5409 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5410
5411         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5412
5413         * Makefile.am: add lyxsocket.[Ch].
5414
5415         * lyx_main.C (error_handler): handle SIGPIPE.
5416
5417 2003-10-13  André Pönitz  <poenitz@gmx.net>
5418
5419         * BufferView_pimpl.C:
5420         * lyxtext.h:
5421         * text.C:
5422         * text2.C:
5423         * text3.C:
5424         * undo_funcs.[Ch]: use paroffset_type instead of
5425           ParagraphList::iterators to prevent multiple conversion
5426           (and get a more robust interface)
5427
5428 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5431         * lyxtext.h: ditto
5432         * text3.C (dispatch): ditto
5433
5434 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5435
5436         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5437         move the onlyfile, use onlyfile instead of foundfile in a couple
5438         of places.
5439
5440         * DepTable.C (update): flush the error stream a bit more
5441
5442 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * lyxserver.C (callback): adjust
5445
5446         * lyxfunc.C (getStatus): add a missing brace in commented code
5447         (ensureBufferClean): reindent
5448         (dispatch): delete version taking a string
5449
5450 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5451
5452         * LaTeX.C (deplog): move found file handlig from here...
5453         (handleFoundFile): .. to new function here.
5454         (deplog): make sure to discover several files mentioned on the
5455         same log line.
5456
5457 2003-10-10  André Pönitz  <poenitz@gmx.net>
5458
5459         * lyxfunc.C:
5460         * lyxtext.h:
5461         * tabular.C:
5462         * text.C:
5463         * text2.C:
5464         * text3.C: fix some of the tabular crashes
5465
5466 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5467
5468         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5469
5470         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5471
5472 2003-10-09  André Pönitz  <poenitz@gmx.net>
5473
5474         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5475
5476         * BufferView.C:
5477         * BufferView_pimpl.C:
5478         * bufferview_funcs.C:
5479         * lyx_cb.C:
5480         * lyxcursor.C:
5481         * lyxfind.C:
5482         * lyxfunc.C:
5483         * lyxtext.h:
5484         * text.C:
5485         * text2.C:
5486         * text3.C:
5487         * text_funcs.[Ch]:
5488         * textcursor.[Ch]:
5489         * undo_funcs.C: adjust
5490
5491 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * text2.C (incrementItemDepth): new function, use a backtracking
5494         algorithm to discover the correct item depth.
5495         (resetEnumCounterIfNeeded): new function, use a backtracking
5496         algorithm to discover if counter reset is needed.
5497         (setCounter): use them. Simplify a bit. Add different labels for
5498         different item depths for itemize.
5499
5500         * paragraph.C (Paragraph): remove initialization of enumdepth
5501         (operator=): ditto
5502
5503         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5504         enumerate and itemize. Change the type of itemdepth to signed char.
5505
5506 2003-10-08  André Pönitz  <poenitz@gmx.net>
5507
5508         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5509           thing assignable.
5510         * text.C:
5511         * text2.C: adjust
5512
5513         * tabular.[Ch]: fix crash after 'row-insert'
5514
5515 2003-10-08  Angus Leeming  <leeming@lyx.org>
5516
5517         Fix doxygen warnings.
5518
5519         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5520         Remove CutAndPaste:: prefix from header file declaration.
5521
5522         * LColor.h (fill): remove LColor:: prefix from declaration.
5523
5524         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5525         use lyx::depth_type rather than Paragraph::depth_type so that
5526         header file and .C file match.
5527
5528         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5529
5530         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5531         * aspell.C: \file aspell_local.C -> \file aspell.C
5532         * gettext.C: \file gettext.C -> \file src/gettext.C
5533         * gettext.h: \file gettext.h -> \file src/gettext.h
5534         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5535         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5536         * text.C: \file text.C -> \file src/text.C
5537
5538         * toc.C: move comment so that doxygen is not confused.
5539
5540 2003-10-07  Angus Leeming  <leeming@lyx.org>
5541
5542         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5543
5544 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5545
5546         * aspell.C:
5547         * aspell_local.h: add forgotten std::string's.
5548
5549 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5550
5551         * LaTeXFeatures.C:
5552         * LyXAction.C:
5553         * factory.C:
5554         * lfuns.h:
5555         * lyxfunc.C:
5556         * text3.C: The Box patch. Fancybox support, minipage, parbox
5557
5558 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5559
5560         * CutAndPaste.h:
5561         * DepTable.h:
5562         * FloatList.h:
5563         * LaTeXFeatures.h:
5564         * ParagraphParameters.h:
5565         * TextCache.h:
5566         * Thesaurus.h:
5567         * bufferlist.h:
5568         * exporter.h:
5569         * importer.h:
5570         * lastfiles.h:
5571         * lyxfind.h:
5572         * lyxfont.h:
5573         * lyxlex.h:
5574         * lyxtextclasslist.h:
5575         * messages.h:
5576         * paragraph.h:
5577         * paragraph_pimpl.C:
5578         * textcursor.h: add <string> and other small fixes to make Lars'
5579         std::string patch compile with STLport.
5580
5581 2003-10-06  Angus Leeming  <leeming@lyx.org>
5582
5583         * LColor.h: Add missing #include <string>.
5584
5585 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * All most all file in all subdirs: Make <string> be the prefered
5588         way of getting to std::string, add using declarations.
5589
5590 2003-10-06  André Pönitz  <poenitz@gmx.net>
5591
5592         * metricsinfo.C: initialize LyXFont before changing attribute.
5593         (fixes the 'math in \emph is upright' bug)
5594
5595 2003-10-06  André Pönitz  <poenitz@gmx.net>
5596
5597         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5598
5599 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5600
5601         * graph.C:
5602         * paragraph_pimpl.C: Small fixes to build using STLport
5603
5604 2003-10-02  André Pönitz  <poenitz@gmx.net>
5605
5606         * lyxfunc.C:
5607         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5608
5609 2003-10-01  André Pönitz  <poenitz@gmx.net>
5610
5611         * factory.C: assert early
5612
5613 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5614
5615         * lyx_main.C: remove the global debug object
5616
5617         * debug.h: adjust for new debugstream
5618
5619         * debug.C: adjust for new debugstream and keep the global debug
5620         object here.
5621
5622 2003-09-22  Angus Leeming  <leeming@lyx.org>
5623
5624         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5625         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5626         an incomplete class LyXFont.
5627
5628 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5629
5630         * factory.C: bug fix in branches
5631
5632 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * lyxfunc.C (processKeySym): adjust
5635         (dispatch): adjust
5636         (dispatch): change arg name from ev to func, adjust
5637         (sendDispatchMessage): ditto
5638
5639         * lyx_main.C (defaultKeyBindings): adjust keybindings
5640         (deadKeyBindings): ditto
5641
5642         * kbsequence.C (addkey): return a FuncRequest
5643
5644         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5645
5646         * kbmap.C (bind): take a FuncRequest as arg, adjust
5647         (read): adjust
5648         (lookup): adjust
5649         (defkey): change to take a FuncRequest as arg, adjust
5650         (findbinding): take a FuncRequest as arg, adjust.
5651
5652         * funcrequest.h (operator=): added
5653
5654         * funcrequest.C (FuncRequest): default kb_action changed from
5655         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5656
5657         * buffer.C (dispatch): simplify
5658         (dispatch): adjust to take a FuncRequest as arg, adjust
5659
5660         * boost.C (assertion_failed): change assertion message slightly
5661
5662         * ToolbarBackend.C (read): simplify
5663
5664         * MenuBackend.C (binding): adjust call to findbinding, add a
5665         message if no binding is found.
5666         (read): simplify
5667         (expandToc): correct by adding a empty FuncRequest
5668
5669         * LyXAction.C: include <boost/assert.hpp>
5670         (isPseudoAction): delete function
5671         (LookupFunc): change name to...
5672         (lookupFunc): this. change return type to FuncRequest.
5673         (getActionName): take kb_action as arg, simplify
5674         (funcHasFlag): add an assert, simplify.
5675
5676 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5677
5678         * toc.C (action): return a FuncRequest, simplify
5679
5680         * lyxfunc.C (processKeySym): adjust
5681         (getStatus): delete version that takes an int.
5682         (getStatus): adjust
5683         (dispatch): delete version that takes action as int
5684         (dispatch): adjust
5685         (sendDispatchMessage): simplify and adjust
5686
5687         * funcrequest.C (getArg): take unsigned int as arg
5688
5689         * ToolbarBackend.C (read): adjust
5690         (add): delete version that takes func as a string.
5691         (getIton): take a FuncRequest as arg
5692
5693         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5694         action.
5695
5696         * MenuBackend.C (MenuItem): add a new construct that only takes a
5697         Kind, simplify the constructor use for submenus.
5698         (add): adjust
5699         (expandLastfiles): adjust
5700         (expandDocuments): adjust
5701         (expandFormats): adjust
5702         (expandFloatListInsert): adjust
5703         (expandFloatInsert): adjust
5704         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5705
5706         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5707         Remove class variables lyx_pseudo_map and lyx_arg_map
5708
5709         * LyXAction.C (searchActionArg): delete function
5710         (getPseudoAction): delete function
5711         (retrieveActionArg): delete function
5712         (LookupFunc): make it return kb_action, simplify.
5713         (getActionName): simplify
5714
5715         * factory.C (createInset): fix new bug
5716
5717 2003-09-19  Angus Leeming  <leeming@lyx.org>
5718
5719         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5720         masterFilename_ parameter in the include inset.
5721
5722         * factory.C (createInset): changes due to the changes to InsetInclude.
5723
5724 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5725
5726         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5727
5728 2003-09-18  Angus Leeming  <leeming@lyx.org>
5729
5730         * buffer.C:
5731         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5732         Inset::fillWithBibKeys.
5733         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5734
5735 2003-09-18  Angus Leeming  <leeming@lyx.org>
5736
5737         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5738         variables.
5739         (ctor): pass and store a 'Buffer const &'
5740         (buffer): new member function.
5741
5742         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5743         '*this' to the LaTeXFeatures ctor.
5744
5745 2003-09-18  Angus Leeming  <leeming@lyx.org>
5746
5747         * LColor.h:
5748         * lyxfont.C:
5749         * lyxfont.h:
5750         * lyxtext.h:
5751         * text.C: rename EnumLColor as LColor_color.
5752
5753 2003-09-18  Angus Leeming  <leeming@lyx.org>
5754
5755         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5756         remove #include "insets/insetbase.h" from cursor.h.
5757
5758 2003-09-18  Angus Leeming  <leeming@lyx.org>
5759
5760         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5761         InsetOld_code to remove #include "inset.h".
5762
5763         * iterators.C: add #include "insets/inset.h"
5764
5765 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5766
5767         * BufferView.C: remove more locking stuff that apparently doesn't
5768         do anything sensible.
5769
5770 2003-09-16  André Pönitz  <poenitz@gmx.net>
5771
5772         * paragraph.[Ch]:
5773         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5774           performance boost.
5775
5776 2003-09-16  Angus Leeming  <leeming@lyx.org>
5777
5778         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5779
5780         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5781         arg/return type.
5782
5783         * paragraph.h: remove #include "lyxfont.h". Forward declare
5784         LyXFont_size.
5785
5786 2003-09-16  Angus Leeming  <leeming@lyx.org>
5787
5788         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5789         of support/textutils.h.
5790         (isWord): move the contents of support/textutils.h's IsWordChar here.
5791
5792         * buffer.C:
5793         * lyxfind.C:
5794         * rowpainter.C:
5795         * text.C:
5796         * text2.C: add #include "paragraph.h".
5797
5798         * rowpainter.C:
5799         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5800
5801 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5802
5803         * main.C:
5804         * lyx_main.C:
5805         * lyx_cb.C:
5806         * buffer.C:
5807         * LaTeX.C: use namespace alias for lyx::support::os
5808
5809 2003-09-16  Angus Leeming  <leeming@lyx.org>
5810
5811         * bufferparams.C:
5812         * bufferview_funcs.C:
5813         * factory.C:
5814         * lyxfunc.C:
5815         * paragraph_pimpl.C:
5816         * rowpainter.C:
5817         * text.C: add #include "LColor.h".
5818
5819 2003-09-16  Angus Leeming  <leeming@lyx.org>
5820
5821         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5822         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5823         return LyXFont &.
5824         Store the FontBits::color variable as an int rather than as an
5825         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5826         file.
5827
5828         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5829         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5830         string calls together.
5831
5832         * lyxrc.C: add #include "LColor.h".
5833
5834 2003-09-15  Angus Leeming  <leeming@lyx.org>
5835
5836         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5837         a cow_ptr.
5838
5839 2003-09-15  Angus Leeming  <leeming@lyx.org>
5840
5841         * LColor.h: add an EnumLColor wrapper for LColor::color.
5842
5843         * lyxfont.[Ch] (color, setColor, realColor):
5844         * lyxtext.h, text.C (backgroundColor):
5845         pass EnumLColor args to/from the functions, rather than LColor::color
5846         ones.
5847
5848         * lyxfont.h:
5849         * lyxtext.h: forward declare EnumLColor.
5850
5851         * lyx_main.C: add #include "LColor.h".
5852
5853 2003-09-15  Angus Leeming  <leeming@lyx.org>
5854
5855         * .cvsignore: add lyx-gtk.
5856
5857 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5858
5859         * Chktex.C
5860         * LaTeX.C
5861         * LaTeXFeatures.C
5862         * ParagraphParameters.C
5863         * Spacing.C
5864         * buffer.C
5865         * bufferparams.C
5866         * bufferview_funcs.C
5867         * chset.C
5868         * counters.C
5869         * funcrequest.C
5870         * lyxfont.C
5871         * lyxgluelength.C
5872         * lyxlength.C
5873         * paragraph.C
5874         * paragraph_funcs.C
5875         * text3.C
5876         * vc-backend.C: remove usage of STRCONV
5877
5878 2003-09-15  Angus Leeming  <leeming@lyx.org>
5879
5880         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5881         explicitly define the color passed to the painter.
5882
5883 2003-09-15  Angus Leeming  <leeming@lyx.org>
5884
5885         * bufferparams.C (BufferParams): reorder member initializers to avoid
5886         compiler warning.
5887
5888 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5889
5890         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5891         * text.C (updateRowPositions): remove an unusual nop
5892
5893 2003-09-12  André Pönitz  <poenitz@gmx.net>
5894
5895         * BufferView_pimpl.C:
5896         * Bullet.C:
5897         * layout.h:
5898         * lyxfunc.C:
5899         * lyxlayout.[Ch]:
5900         * lyxtextclass.C:
5901         * rowpainter.C:
5902         * text.C:
5903         * text2.C:
5904         * Counters.[Ch]: finish the 'automatic counters' job
5905
5906 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5907
5908         * aspell.C: include <boost/assert.cpp> (compile fix)
5909
5910 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5911
5912         * boost.C (assertion_failed): use lyx::support::abort instead of
5913         assert.
5914
5915 2003-09-10  Angus Leeming  <leeming@lyx.org>
5916
5917         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5918         with their _fwd progeny.
5919
5920 2003-09-09  Angus Leeming  <leeming@lyx.org>
5921
5922         134 files throughtout the source tree: replace 'using namespace abc;'
5923         directives with the appropriate 'using abc::xyz;' declarations.
5924
5925 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5926
5927         * boost.C (emergencyCleanup): moved here from LAssert.c
5928         (assertion_failed): new function, called by BOOST_ASSERT
5929
5930         * several files: change Assert to BOOST_ASSERT
5931
5932 2003-09-09  Angus Leeming  <leeming@lyx.org>
5933
5934         * buffer.[Ch]: Add an Impl class and move Buffer's member
5935         variables into it. As a result move several header files out of
5936         buffer.h.
5937
5938         Add header files to lots of .C files all over the tree as a result.
5939
5940 2003-09-09  Angus Leeming  <leeming@lyx.org>
5941
5942         * buffer.[Ch]: make Buffer's member variables private. Add
5943         accessor functions.
5944
5945         Lots of changes all over the tree as a result.
5946
5947 2003-09-08  Angus Leeming  <leeming@lyx.org>
5948
5949         * graph.C: #include <config.h>.
5950
5951 2003-09-08  Angus Leeming  <leeming@lyx.org>
5952
5953         * BranchList.C:
5954         * BufferView.C:
5955         * BufferView_pimpl.C:
5956         * CutAndPaste.C:
5957         * DepTable.C:
5958         * LaTeX.C:
5959         * LaTeXFeatures.C:
5960         * LyXAction.C:
5961         * MenuBackend.C:
5962         * TextCache.C:
5963         * aspell.C:
5964         * buffer.C:
5965         * bufferlist.C:
5966         * changes.C:
5967         * chset.C:
5968         * converter.C:
5969         * counters.C:
5970         * debug.C:
5971         * graph.C:
5972         * ispell.C:
5973         * lyx_cb.C:
5974         * lyxfind.C:
5975         * lyxfunc.C:
5976         * lyxlex_pimpl.C:
5977         * lyxrc.C:
5978         * lyxrow.C:
5979         * paragraph.C:
5980         * rowpainter.C:
5981         * texrow.C:
5982         * text.C:
5983         * text2.C:
5984         * toc.C: remove redundant using directives.
5985
5986 2003-09-07  Angus Leeming  <leeming@lyx.org>
5987
5988         * LaTeXFeatures.h: remove #include "support/types.h".
5989         * ToolbarBackend.h: remove #include <algorithm>.
5990         * changes.h: remove #include <ctime>.
5991         * debug.h: remove #include <iosfwd>.
5992         * graph.h: remove #include "support/std_string.h".
5993         * lyx_main.h: remove #include <csignal>.
5994         * lyxlex_pimpl.h: remove #include <fstream>.
5995         * sgml.h: remove #include <algorithm>, <utility>.
5996         * toc.h: remove #include "support/std_ostream.h".
5997         Add #include <iosfwd>.
5998
5999 2003-09-07  Angus Leeming  <leeming@lyx.org>
6000
6001         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6002
6003         * converter.h: forward declare LatexRunParams.
6004         * encoding.h: remove #include "lyxrc.h".
6005         * lyxtext.h: remove #include "LColor.h".
6006         * lyxtextclass.h: remove #include "support/types.h".
6007         * trans.h: remove #include "tex-accent.h".
6008         * trans_mgr.h: remove #include "tex-accent.h".
6009         * insets/inset.h: remove #include "support/types.h", <vector>.
6010         * insets/insetcollapsable.h: remove #include "LColor.h".
6011         * insets/insetinclude.h: remove #include "dimension.h".
6012         * insets/insetlatexaccent.h: remove #include "dimension.h".
6013         * insets/insetoptarg.h:: remove #include "insettext.h".
6014         * insets/insettext.h: remove #include "dimension.h",
6015         <boost/shared_ptr.hpp>
6016
6017         * insets/renderers.h: add #include "dimension.h".
6018         * insets/updatableinset.h: add #include "support/types.h".
6019
6020         * many .C files: Associated changes.
6021
6022 2003-09-06  Angus Leeming  <leeming@lyx.org>
6023
6024         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6025         one, inside testInvariant.
6026
6027         * PrinterParams.C: new file.
6028         * PrinterParams.[Ch]: move the function bodies out of line.
6029
6030 2003-09-06  Angus Leeming  <leeming@lyx.org>
6031
6032         * ParagraphParameters.h: forward declare ParameterStruct rather than
6033         including its header file.
6034         (depth): moved out-of-line.
6035
6036 2003-09-06  Angus Leeming  <leeming@lyx.org>
6037
6038         * BufferView_pimpl.h:
6039         * kbmap.h:
6040         * kbsequence.h:
6041         * lyxfunc.h: forward declare LyXKeySym rather than
6042         #include "frontends/LyXKeySym.h".
6043
6044         * BufferView_pimpl.C:
6045         * kbmap.C:
6046         * kbsequence.C:
6047         * lyxfunc.C: associated changes.
6048
6049 2003-09-06  Angus Leeming  <leeming@lyx.org>
6050
6051         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6052         As a result, can remove the #include "insets/inset.h" from BufferView.h
6053
6054 2003-09-06  Angus Leeming  <leeming@lyx.org>
6055
6056         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6057         As a result, can remove the #include "insets/inset.h" from BufferView.h
6058
6059 2003-09-06  Angus Leeming  <leeming@lyx.org>
6060
6061         * buffer_funcs.C:
6062         * buffer.h:
6063         * bufferlist.C:
6064         * BufferView.C:
6065         * bufferview_funcs.C:
6066         * BufferView_pimpl.C:
6067         * CutAndPaste.C:
6068         * lyx_cb.C:
6069         * lyxfunc.C:
6070         * paragraph.h:
6071         * ParagraphParameters.C:
6072         * tabular.C:
6073         * text3.C:
6074         * toc.C:
6075         * undo_funcs.C:
6076         * frontends/controllers/ControlDocument.C:
6077         * insets/insetcaption.C: rearrange the #includes into some sort of
6078         coherent order.
6079
6080         * buffer.h: remove #includes ErrorList.h, undo.h
6081
6082 2003-09-06  Angus Leeming  <leeming@lyx.org>
6083
6084         * support/types.h: add a 'depth_type' typedef, used to store the
6085         nesting depth of a paragraph.
6086
6087         * paragraph.h:
6088         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6089         defining explicitly.
6090
6091         * buffer.h:
6092         * paragraph_funcs.h:
6093         * ParagraphParameters.h:
6094         * sgml.h: use lyx::depth_type rather than Paragraph or
6095         ParameterStruct's depth_type.
6096
6097         * buffer.h
6098         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6099
6100         * BufferView.C:
6101         * BufferView_pimpl.C:
6102         * CutAndPaste.C:
6103         * ParagraphParameters.C:
6104         * buffer_funcs.C:
6105         * bufferlist.C:
6106         * bufferview_funcs.C:
6107         * lyx_cb.C:
6108         * lyxfunc.C:
6109         * tabular.C:
6110         * text3.C:
6111         * toc.C:
6112         * undo_funcs.C:
6113         * frontends/LyXView.C:
6114         * frontends/controllers/ControlDocument.C:
6115         * frontends/controllers/ControlErrorList.C:
6116         * insets/insetbibitem.C:
6117         * insets/insetbranch.C:
6118         * insets/insetcaption.C:
6119         * insets/insetcollapsable.C:
6120         * insets/insetenv.C:
6121         * insets/insetert.C:
6122         * insets/insetfloat.C:
6123         * insets/insetfoot.C:
6124         * insets/insetfootlike.C:
6125         * insets/insetnewline.C:
6126         * insets/insetquotes.C:
6127         * insets/insettabular.C:
6128         * insets/insettext.C:
6129         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6130
6131         * frontends/controllers/ControlChanges.C: #include "changes.h".
6132
6133 2003-09-06  Angus Leeming  <leeming@lyx.org>
6134
6135         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6136         than #including paragraph.h.
6137
6138         * ParagraphList.h:
6139         * RowList.h: deleted. Superfluous.
6140
6141         * CutAndPaste.h:
6142         * iterators.h:
6143         * lyxcursor.h:
6144         * lyxtext.h:
6145         * text_funcs.h:
6146         * undo.h:
6147         * undo_funcs.h:
6148         * insets/inset.h:
6149         * insets/insettext.h: use ParagraphList_fwd.h rather than
6150         ParagraphList.h.
6151
6152         * paragraph.h: don't forward declare ParagraphList.
6153
6154         * buffer.h:
6155         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6156         rather than ParagraphList.h. paragraph.h is still needed for the
6157         Paragraph::depth_type parameters.
6158
6159         * textcursor.h: enable it to compile stand-alone in light of the
6160         above changes.
6161
6162         * bufferview_funcs.C:
6163         * iterators.C:
6164         * lyxfunc.C:
6165         * lyxrow_funcs.C:
6166         * paragraph.C:
6167         * rowpainter.C:
6168         * text.C:
6169         * text2.C:
6170         * text3.C:
6171         * text_funcs.C:
6172         * textcursor.C:
6173         * undo.C:
6174         * frontends/controllers/ControlParagraph.C:
6175         * frontends/controllers/ControlTabular.C:
6176         * insets/insetmarginal.C:
6177         * insets/insetminipage.C:
6178         * insets/insetnote.C:
6179         * insets/insetoptarg.C: add header files needed to compile again.
6180
6181 2003-09-06  Angus Leeming  <leeming@lyx.org>
6182
6183         * RowList_fwd.h: new file, forward-declaring Row rather than
6184         #including lyxrow.h.
6185
6186         * lyxrow_funcs.h:
6187         * lyxtext.h:
6188         * paragraph.h:
6189         * insets/insettext.h: use it instead of RowList.h
6190
6191         * bufferview_funcs.C:
6192         * lyxfunc.C:
6193         * lyxrow_funcs.C:
6194         * paragraph.C:
6195         * rowpainter.C:
6196         * text.C:
6197         * text2.C:
6198         * text3.C: #include "RowList.h".
6199
6200 2003-09-05  Angus Leeming  <leeming@lyx.org>
6201
6202         * factory.C (createInset):
6203         * vspace.C (c-tor): replace sscanf call with an istringstream.
6204         * ispell.C: re-add missing HP/UX headers.
6205         * lyxserver.C: re-add missing  os2 headers.
6206
6207 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6208
6209         * BranchList.C:
6210         * graph.C:
6211         * ispell.C:
6212         * lastfiles.C:
6213         * lyx_cb.C:
6214         * lyxserver.C:
6215         * texrow.C:
6216         * text3.C: re-add missing system headers, needed for 2.95.2.
6217
6218 2003-09-05  Angus Leeming  <leeming@lyx.org>
6219
6220         Changes most place everywhere due to the removal of using directives
6221         from support/std_sstream.h.
6222
6223 2003-09-05  Angus Leeming  <leeming@lyx.org>
6224
6225         Replace LString.h with support/std_string.h,
6226         Lsstream.h with support/std_sstream.h,
6227         support/LIstream.h with support/std_istream.h,
6228         support/LOstream.h with support/std_ostream.h.
6229
6230         Changes resulting throughout the tree.
6231
6232 2003-09-05  Angus Leeming  <leeming@lyx.org>
6233
6234         * sgml.h: ensure that the header file can be compiled stand-alone.
6235         * *.C: strip out redundant #includes. (320 in total.)
6236
6237 2003-09-04  Angus Leeming  <leeming@lyx.org>
6238
6239         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6240         here (from getPackages).
6241
6242         * debug.[Ch]: add a new EXTERNAL tag.
6243
6244 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6245
6246         * text2.C (cursorEnd): simplify
6247         (setCursor): adjust
6248         (getColumnNearX): adjust
6249
6250         * text.C (computeBidiTables): adjust
6251         (fill): adjust
6252
6253         * rowpainter.C (paintChars): adjust
6254         (paintSelection): adjust
6255         (paintChangeBar): adjust
6256         (paintText): adjust
6257
6258         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6259         lastPos instead.
6260         (numberOfSeparators): adjust
6261
6262 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6263
6264         * LyXAction.C:
6265         * box.[Ch]:
6266         * lfuns.h:
6267         * lyxfunc.C:
6268         * text3.C: Restricts the mouse click functionality
6269         of insets like bibtex, include, toc and floatlist to the visible
6270         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6271         up the dialogs. Cursor has to be in front of the inset (i.e.
6272         start of row) for this to function.
6273
6274 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6275
6276         * bufferview_funcs.C (currentState): output row information
6277
6278 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6279
6280         * bufferview_funcs.C (currentState): output paragraph position
6281
6282 2003-09-04  Angus Leeming  <leeming@lyx.org>
6283
6284         * FloatList.h: move out #include "Floating.h".
6285         * LaTeX.h: move out #include "DepTable.h".
6286         * LyXAction.h: move out #include "funcrequest.h".
6287         * buffer.h: move out #include "author.h", "iterators.h".
6288         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6289         * lyx_main.h: move out #include "errorlist.h".
6290         * lyxfunc.h: move out #include "FuncStatus.h".
6291         * lyxtext: move out #include "lyxcursor.h".
6292         * paragraph_pimpl.h: move out #include "counters.h".
6293
6294 2003-09-03  Angus Leeming  <leeming@lyx.org>
6295
6296         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6297         preamble_snippets list, enabling us to add snippets to the preamble
6298         only if the snippet was not there already.
6299
6300 2003-09-04  Angus Leeming  <leeming@lyx.org>
6301
6302         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6303
6304 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6307         update
6308
6309 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6310
6311         * BranchList.C: point fix, earlier forgotten
6312
6313 2003-09-02  Angus Leeming  <leeming@lyx.org>
6314
6315         * box.C (contains): renamed from 'contained' after a fantastic
6316         amount of hot air.
6317
6318 2003-09-02  John Levon  <levon@movementarian.org>
6319
6320         * BufferView.C:
6321         * lyxcursor.h:
6322         * lyxcursor.C:
6323         * lyxfunc.C:
6324         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6325
6326 2003-09-02  John Levon  <levon@movementarian.org>
6327
6328         * text2.C: simplification of cursorEnd(), including partial
6329         fix for bug 1376
6330
6331 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6332
6333         * buffer.C (readFile): add a space
6334
6335 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6336
6337         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6338
6339 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6340
6341         * buffer.C (readFile): new function, take a filename and a
6342         ParagraphList::iterator
6343         (readFile): adjust
6344         (readFile): adjust, make it private. don't use setStream, make
6345         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6346         always contain the filename.
6347
6348         * BufferView.C (insertLyXFile): simplify and make it work for
6349         gzipped files.
6350
6351 2003-08-30  John Levon  <levon@movementarian.org>
6352
6353         * Makefile.am: fix dist (from Kayvan)
6354
6355 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * most files: change to use const Buffer refs
6358
6359 2003-08-27  André Pönitz  <poenitz@gmx.net>
6360
6361         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6362         on top of ownerPar().
6363
6364 2003-08-27  John Levon  <levon@movementarian.org>
6365
6366         * funcrequest.C: properly initialise POD members
6367
6368 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6369
6370         * lyxtext.h (top_y): move top_y from here
6371         * text.C:
6372         * text2.C:
6373         * text3.C:
6374         * BufferView.[Ch]:
6375         * BufferView_pimpl.[Ch]: to here
6376         * frontends/screen.C:
6377         * insets/insettabular.C:
6378         * insets/insettext.C: adjust
6379         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6380
6381 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6382
6383         * BufferView.[Ch]:
6384         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6385
6386 2003-08-26  André Pönitz  <poenitz@gmx.net>
6387
6388         * paragraph_func.[Ch] (outerPar): new function
6389
6390         * paragraph.C:
6391         * paragraph_funcs.C:
6392         * paragraph_funcs.h:
6393         * paragraph_pimpl.C:
6394         * text2.C: remove Inset::par_owner
6395
6396 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6397
6398         * lyxrow_funcs.C:
6399         * lyxtext.h:
6400         * text.C:
6401         * text2.C: eliminates the needFullRow/display() stuff
6402         altogether, putting the logic in metrics/draw in the insets.
6403
6404 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6405
6406         * text2.C (redoParagraphInternal, redoParagraphs):
6407         * text.C (redoParagraph): add a call to updateRowPositions at the
6408         end of each 'metrics-like' call. Remove all others.
6409         (getRow): remove the 'y-computing' version.
6410         (getRowNearY): do not compute nor return the real y. Solve the
6411         'y < 0' problem and simplify.
6412
6413 2003-08-22  Angus Leeming  <leeming@lyx.org>
6414
6415         * *.[Ch]: clean-up of licence and author blurbs.
6416         Also move config.h out of a few .h files and into a few .C files.
6417
6418 2003-08-22  André Pönitz  <poenitz@gmx.net>
6419
6420         * lyxrow.[Ch]: add x_ and *fill_ members
6421
6422         * lyxtext.h:
6423         * text.C:
6424         * rowpainter.C:
6425         * text2.C: adjust/remove prepareToPrint() calls
6426
6427 2003-08-22  André Pönitz  <poenitz@gmx.net>
6428
6429         * lyxrow.[Ch]: add  end_ member
6430
6431         * lyxrow_funcs.C: use LyXRow::end_
6432
6433         * lyxtext.h (singleWidth): add LyXFont parameter
6434
6435         * rowpainter.C:
6436         * text2.C: adjust LyXText::singleWidth() calls
6437
6438         * text.C (redoParagraph): simplify row breaking logic
6439
6440
6441 2003-08-19  André Pönitz  <poenitz@gmx.net>
6442
6443         * funcrequest.C: initialize button_ member
6444
6445         * text3.C:
6446         * rowpainter.[Ch]: interface consolidation
6447
6448 2003-08-18  André Pönitz  <poenitz@gmx.net>
6449
6450         * BufferView.C:
6451         * BufferView_pimpl.C:
6452         * lyxfind.C:
6453         * paragraph_funcs.C:
6454         * rowpainter.C:
6455         * text3.C: remove LyXScreen::draw() and fitCursor calls
6456
6457         * BranchList.h: remove spurious semicolons
6458
6459         * MenuBackend.C: fix branchlist related crash
6460
6461 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6462
6463         * BranchList.[Ch]:
6464         * InsetList.[Ch]:
6465         * LColor.[Ch]:
6466         * LyXAction.C:
6467         * Makefile.am:
6468         * MenuBackend.[Ch]:
6469         * bufferparams.[Ch]:
6470         * factory.C:
6471         * lfuns.h:
6472         * lyxfunc.C:
6473         * text3.C: implements the 'branch inset'
6474         idea. This allows the output of various versions of a document
6475         from a single source version, selectively outputing or suppressing
6476         output of parts of the text.
6477         This implementation contains a 'branch list editor' in a separate
6478         tab of the document settings dialog. Branches are user definable
6479         and have a "display colour" to distinguish them on-screen.
6480
6481         ColorHandler was somewhat cleaned up.
6482         (1) make possible a dynamically growing LColor list by allowing
6483         the graphic context cache to grow along (vector);
6484         (2) eliminate an IMHO unnecessary step in colour allocation.
6485
6486 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6487
6488         * BufferView_pimpl.C: compile fix
6489
6490 2003-08-15  André Pönitz  <poenitz@gmx.net>
6491
6492         * rowpainter.C: remove extra metrics calls
6493
6494         * lyxtext.h: merge the two constructors into a single one,
6495           pass reference to owner's par list
6496
6497         * BufferView_pimpl.C:
6498         * text.C:
6499         * text2.C: adjust
6500
6501 2003-08-15  André Pönitz  <poenitz@gmx.net>
6502
6503         * lyxrow_funcs.[Ch]:
6504         * lyxtext.h:
6505         * paragraph.h:
6506         * paragraph_funcs.C:
6507         * rowpainter.C:
6508         * text.C:
6509         * text2.C:
6510         * text3.C:
6511         * text_funcs.C: split LyXText::rowlist_ into individual
6512         Paragraph::rows_ chunks
6513
6514         * BufferView.[Ch]:
6515         * BufferView_pimpl.[Ch]:
6516         * lyxfind.C:
6517         * lyxtext.h:
6518         * text3.C: remove toggleSelection()
6519
6520 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6521
6522         * bufferlist.C: beautify two alerts (shorter text of buttons)
6523         * buffer.C: Remove redundant ' ' from message
6524         * tabular.h:
6525         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6526         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6527         rename VALIGN_CENTER to VALIGN_MIDDLE
6528
6529 2003-08-11  André Pönitz  <poenitz@gmx.net>
6530
6531         * lyxtext.h (getPar):
6532         * text.C: new function
6533
6534 2003-08-11  André Pönitz  <poenitz@gmx.net>
6535
6536         * Makefile.am:
6537         * tracer.[Ch]: remove unneeded files
6538
6539         * InsetList.[Ch]: remove resizeInsetsLyXText()
6540
6541         * lyxtext.h:
6542         * text.C:
6543         * text2.C:
6544         * text3.C: merge insertParagraphs() and appendParagraph()
6545         remove breakAgain(), update()
6546
6547         * BufferView_pimpl.[Ch]:
6548         * bufferview_funcs.[Ch]:
6549         * lyxfunc.C:
6550         * paragraph.[Ch]:
6551         * rowpainter.C:
6552         * tabular.C: adjust after text & InsetList changes.
6553
6554 2003-08-08  André Pönitz  <poenitz@gmx.net>
6555
6556         * text.C (insertChar, backspace): replace rowlist fiddling
6557         with rebreak of full par
6558
6559         * lyxtext.h:
6560         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6561         checkParagraph, updateInset): removed
6562
6563 2003-08-07  André Pönitz  <poenitz@gmx.net>
6564
6565         * paragraph.C:
6566         * text3.C: merge some LFUN handlers, remove dead code
6567
6568 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6569
6570         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6571
6572 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6573
6574         * text2.C (DEPM): fix part of bug 1255 and 1256
6575
6576 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6577
6578         * BufferView_pimpl.C (workAreaDispatch): change to use
6579         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6580         that are no mouse related.
6581
6582 2003-08-05  André Pönitz  <poenitz@gmx.net>
6583
6584         * BufferView.[Ch]:
6585         * BufferView_pimpl.[Ch]:
6586         * bufferview_funcs.C:
6587         * text2.C:
6588         * text3.C: rip out "deep update"
6589
6590         * textcursor.[Ch] (last_sel_cursor): remove unused member
6591
6592 2003-08-04  André Pönitz  <poenitz@gmx.net>
6593
6594         * BufferView.[Ch]:
6595         * BufferView_pimpl.[Ch]:
6596         * ParagraphParameters.C:
6597         * bufferview_funcs.C:
6598         * lyx_cb.C:
6599         * lyxfind.C:
6600         * lyxfunc.C:
6601         * text.C:
6602         * text2.C:
6603         * text3.C: replace "complicated" BufferView::update(...) calls with
6604         simpler ones.
6605
6606         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6607
6608 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6609
6610         * Makefile.am (lyx_SOURCES): add paper.h
6611
6612 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6613
6614         * Makefile.am: move things around so that both lyx-qt and
6615         lyx-xforms can be built (according to --with-frontend). Then lyx
6616         is a symbolic link to lyx-[firstfrontend]
6617
6618 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6619
6620         * Always use std::endl with lyxerr
6621
6622 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6623
6624         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6625
6626 2003-08-01  André Pönitz  <poenitz@gmx.net>
6627
6628         * BufferView.[Ch]:
6629         * BufferView_pimpl.[Ch]:
6630         * lyxfunc.C:
6631         * text3.C: merge BufferView::repaint() and BufferView::update()
6632
6633 2003-08-01  José Matos  <jamatos@lyx.org>
6634
6635         * buffer.[Ch]: file_format is no longer a buffer data element.
6636
6637 2003-08-01  André Pönitz  <poenitz@gmx.net>
6638
6639         * BufferView.C:
6640         * lyxtext.h:
6641         * text.C:
6642         * text2.C: make redoParagraph more independent of current cursor
6643
6644         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6645         * text.C:
6646         * text2.C: remove unneeded members
6647
6648 2003-07-30  André Pönitz  <poenitz@gmx.net>
6649
6650         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6651
6652         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6653           create a single function...
6654
6655         * paragraph_funcs.C (moveItem): ... here.
6656
6657         * text.C:
6658           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6659
6660 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6661
6662         * LColor.[Ch]: Add comment and greyedout logical colors.
6663
6664 2003-07-30  André Pönitz  <poenitz@gmx.net>
6665
6666         * tabular.C: don't use Assert too heavily. This crashes where it
6667           shouldn't
6668
6669 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6670
6671         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6672         is disabled (bug 1232)
6673
6674 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6675
6676         * factory.C: limited 'arg' scope
6677
6678 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6679
6680         * factory.C: fixed Note submenu issues
6681
6682 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6683
6684         * factory.C: submenu for Note/Comment/Greyedout
6685
6686 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6687
6688         * lyx_main.C (LyX):
6689         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6690
6691 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6692
6693         * LaTeXFeatures.C:
6694         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6695         greyedout. Patch provided by Jürgen Spitzmüller.
6696
6697 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6698
6699         * kbmap.C (read): fix error message when reading bind files
6700
6701 2003-07-29  Angus Leeming  <leeming@lyx.org>
6702
6703         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6704         certainly does not do what it purports to do. I am doing it, and
6705         us, a favour by killing it.
6706
6707 2003-07-28  José Matos  <jamatos@lyx.org>
6708
6709         * buffer.C (readBody, do_writeFile):
6710         * paragraph.C(readParagraph): \end_document replaces \the_end.
6711
6712 2003-07-29  André Pönitz  <poenitz@gmx.net>
6713
6714         * BufferView.[Ch]:
6715         * BufferView_pimpl.[Ch]:
6716         * lyxfunc.C:
6717         * text2.C:
6718         * text3.C:
6719         * textcursor.[Ch]: remove toggleToggle & Co
6720
6721 2003-07-28  José Matos  <jamatos@fep.up.pt>
6722
6723         * buffer.C (readParagraph):
6724         * params_func (readParToken, readParagraph):
6725         * paragraph.C (write): \layout -> \begin_layout.
6726
6727 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6728
6729         * lyxlex_pimpl.C (setFile): clean up slightly.
6730
6731         * bufferparams.h: add compressed var
6732
6733         * buffer_funcs.C (readFile): adjust for LyXLex change
6734         (newFile): ditto + simplify
6735
6736         * buffer.C (writeFile): handle writing of compressed files
6737
6738         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6739         Check if the file is compressed and set a bufferparm if so.
6740
6741         * Makefile.am (lyx_LDADD): remove explicit -lz
6742
6743 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6744
6745         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6746         makeDocBookFile): put the real LyX version in the first line of
6747         the file
6748
6749         * version.h:
6750         * version.C.in: remove lyx_docversion
6751
6752         * tabular.C (write_attribute): add a template-based version to
6753         write enums properly
6754
6755 2003-07-28  André Pönitz  <poenitz@gmx.net>
6756
6757         * lyxtext.h:
6758         * text.C:
6759         * text2.C:
6760         * text3.C: use doubles again for x-coordinates. They are needed.
6761
6762 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6763
6764         * messages.C (getLocaleDir): use lyx_localedir()
6765
6766         * lyxlex_pimpl.C (setFile): compress stuff
6767
6768         * buffer.C (writeFile): add some compression stuff
6769         (do_writeFile): new func, dont call expliti close... will this
6770         breake anything?
6771
6772         * Makefile.am (lyx_LDADD): add -lz
6773
6774 2003-07-28  José Matos  <jamatos@fep.up.pt>
6775
6776         * buffer.C: increment file format.
6777         * paragraph_funcs (readParagraph, readParToken):
6778         * paragraph.C (readParagraph): add \end_layout.
6779
6780 2003-07-27  Angus Leeming  <leeming@lyx.org>
6781
6782         * Makefile.am: remove special casing for configure-time setting of
6783         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6784
6785         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6786         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6787
6788 2003-07-26  André Pönitz  <poenitz@gmx.net>
6789
6790         * paragraph_func.[Ch]:
6791         * paragraph.C (realizeFont): inline it whereever it is used
6792
6793         * rowpainter.C:
6794         * text.C:
6795         * text2.C:
6796         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6797
6798
6799 2003-07-26  André Pönitz  <poenitz@gmx.net>
6800
6801         *       lyxtext.h:
6802         * text.C:
6803         * text2.C: get rid of LyXText::need_break_row
6804
6805 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6806
6807         * toc.[Ch]: put namespace toc inside namespace lyx
6808
6809         * MenuBackend.C (expandToc2): adjust for lyx::toc
6810         (expandToc): ditto
6811
6812         * lyxfunc.C (dispatch): adjust for lyx::find
6813
6814         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6815         lyx::find instead. Reorganize a bit.
6816         (LyXReplace): rename to replace
6817         (LyXFind): rename to find
6818
6819         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6820         (dispatch): ditto
6821
6822 2003-07-26  André Pönitz  <poenitz@gmx.net>
6823
6824         * text.C (setHeightOfRow): restrict scope of temporary variable
6825
6826         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6827           code (never has been used?)
6828
6829 2003-07-27  Asger Alstrup  <alstrup@local>
6830
6831         * text.C (fill): Optimise algorithm to exploit that we can reuse
6832         the LyXFont for many characters.
6833         (setHeightOfRow): Same thing.
6834         (rowBreakPoint): Same thing.
6835
6836 2003-07-26  Asger Alstrup  <alstrup@local>
6837
6838         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6839
6840         * text.C (singleWidth): Spurious font copying in hot-spot
6841         singleWidth avoided. Reorder tests for arabic for efficiency.
6842
6843         * text.C (fill): handle empty paragraphs better.
6844
6845 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6846
6847         * ispell.C:
6848         * encoding.h: add includes
6849
6850         * lyxrc.C: remove reading of bind files
6851
6852         * lyx_main.C (init): setup bindings and menus only if we have a
6853         gui.
6854
6855         * kbmap.C (read): new method. Do the actual reading of bind
6856         files.
6857
6858         * converter.C (dvipdfm_options):
6859         * bufferparams.C:
6860         * lyxrc.C (read):
6861         (output): adapt PAPER_* enums.
6862
6863         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6864
6865         * bufferparams.h: remove paper-related enums from there
6866
6867         * paper.h: New file. A trivial header file to hold paper-related
6868         enums. It should later expand to contain many paper-related
6869         horrors access.
6870
6871         * lyxrc.C: declare extern displayTranslator
6872
6873 2003-07-27  José Matos  <jamatos@fep.up.pt>
6874
6875         * tabular.[Ch] (linuxdoc): add support for tables and figures
6876         (linuxdoc).
6877
6878 2003-07-27  José Matos  <jamatos@fep.up.pt>
6879
6880         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6881         consistency in both functions.
6882         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6883
6884 2003-07-26  Asger Alstrup  <alstrup@local>
6885
6886         * rowpainter.C (paintRows): Change algorithm to work directly on
6887         the insets rather than asking every character in the document
6888         whether its an inset.
6889
6890 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6891
6892         * buffer.C (openFileWrite): factorize some code
6893
6894 2003-07-26  Angus Leeming  <leeming@lyx.org>
6895
6896         * lyx_cb.C:
6897         * lyx_main.[Ch]: replace occurances of system_tempdir with
6898         os::getTmpDir().
6899
6900 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * rename Inset to InsetOld
6903
6904 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6905
6906         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6907         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6908         which I think is a bit clearer. EDIT is gone, since it was
6909         premature optimisation, and broken for mathed anyway.
6910         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6911         with cursor positioning in insets as well (math insets still do not
6912         work, but that's a different story anyway.) It mysteriously
6913         crashes sometimes with undo in the first paragraph, but I'm fairly
6914         confident that this is a compiler bug.
6915
6916 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * paragraph.C (Paragraph): adjust for new clone return type
6919         (operator==): ditto
6920         (copyIntoMinibuffer): ditto
6921
6922 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6923
6924         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6925         by not having a special case, and always doing a full rebreak of
6926         the document after undo.
6927
6928 2003-07-23  Angus Leeming  <leeming@lyx.org>
6929
6930         * factory.C (createInset): InsetExternal::setParams now takes a
6931         Buffer const * arg.
6932
6933 2003-07-23  Angus Leeming  <leeming@lyx.org>
6934
6935         * factory.C (createInset): changed interface to the external and
6936         graphics mailers' string2params functions.
6937
6938 2003-07-23  Angus Leeming  <leeming@lyx.org>
6939
6940         * factory.C (createInset): pass a
6941         Buffer const * parameter to InsetExternalMailer's string2params.
6942
6943 2003-07-22  John Levon  <levon@movementarian.org>
6944
6945         * Thesaurus.h: include the right aiksaurus header
6946
6947 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6948
6949         * MenuBackend.C (expand): check menu shortcuts unconditionally
6950
6951 2003-07-21  Angus Leeming  <leeming@lyx.org>
6952
6953         * factory.C (createInset): pass a
6954         buffer_path parameter to InsetGraphicsMailer's string2params.
6955
6956 2003-07-21  Angus Leeming  <leeming@lyx.org>
6957
6958         * BufferView_pimpl.C (buffer):
6959         * buffer.C (d-tor):
6960         * lyx_main.C (LyX):
6961         * lyxfunc.C (dispatch):
6962         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6963         rather than the grfx shortcut.
6964
6965 2003-07-21  André Pönitz  <poenitz@gmx.net>
6966
6967         * rowpainter.C: remove unused variables
6968
6969         * tabular_funcs.C:
6970         * tabular_funcs.h: move to tabular.C
6971         * Makefile.am: adjust
6972
6973         * tabular.[Ch]: basic optical cleaning
6974
6975         * author.h: pass references, not values
6976
6977 2003-07-18  André Pönitz  <poenitz@gmx.net>
6978
6979         * lyxtext.h:
6980         * metricsinfo.C:
6981         * metricsinfo.h:
6982         * rowpainter.C:
6983         * text.C:
6984         * text2.C:
6985         * text3.C: two-phase drawing for InsetText and InsetTabular
6986         some float -> int changes.
6987
6988 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6989
6990         * lyx_main.C: fix the fix
6991
6992 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6993
6994         * lyx_main.C: fix a crash in batch mode if no files specified
6995         * converter.C: ws
6996
6997 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6998
6999         * format.[Ch] (papersize): moved to BufferParams
7000         * converter.[Ch] (dvips_options): moved to BufferParams
7001         (dvipdfm_options): moved to anon namespace
7002         * bufferparams.[Ch]: added above functions.
7003
7004 2003-07-17  André Pönitz  <poenitz@gmx.net>
7005
7006         * lyxtext.h:
7007         * rowpainter.C:
7008         * text2.C: don't call inset->update() anymore
7009
7010         * metricsinfo.[Ch]: add convenience constructor
7011
7012 2003-07-16  André Pönitz  <poenitz@gmx.net>
7013
7014         * lyxcursor.[Ch]:
7015         * lyxfunc.[Ch]:
7016         * text.C:
7017         * text2.C: replace the LyXCursor::irow_ member with
7018          on-demand computation of the value
7019
7020 2003-07-16  John Levon  <levon@movementarian.org>
7021
7022         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7023
7024 2003-07-15  André Pönitz  <poenitz@gmx.net>
7025
7026         * text.C:
7027         * text2.C: remove no more needed refresh_row
7028
7029 2003-07-15  André Pönitz  <poenitz@gmx.net>
7030
7031         * lyxtext.h:
7032         * rowpainter.C:
7033         * text2.C:
7034         * text3.C: refresh_status tristate -> need_update bool
7035
7036 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7037
7038         * lyxtext.h (init): remove reinit argument (act as if always true)
7039         * text2.C: adjust to that
7040
7041 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7042
7043         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7044         * text3.C: use it to delete selections in some cases
7045         (bugs 441, 673, 702, 954).
7046
7047 2003-07-14  André Pönitz  <poenitz@gmx.net>
7048
7049         * rowpainter.[Ch]: reduce interface
7050
7051 2003-07-14  André Pönitz  <poenitz@gmx.net>
7052
7053         * BufferView_pimpl.C:
7054         * text2.C: adjust after removing unused BufferView * argument
7055
7056 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7057
7058         * text2.C (init): fix a crash fired on resize
7059
7060 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7061
7062         * buffer.[Ch]: added new closing signal
7063         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7064         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7065         BufferView::Pimpl via the closing the signal
7066
7067 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7068
7069         * buffer.[Ch]: take out all bv-related from buffer
7070         * BufferView.C:
7071         * BufferView_pimpl.[Ch]: connect to new signals
7072         * CutAndPaste.C: removed useless asserts
7073         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7074         * lyxvc.[Ch]:
7075         * vc-backend.[Ch]:
7076         * lyxfunc.C: moved view-related funciontality from vc here
7077         * paragraph.C: removed outdated comments
7078         * text.C: ws
7079
7080 2003-07-10  André Pönitz  <poenitz@gmx.net>
7081
7082         * BufferView_pimpl.C:
7083         * tabular.h:
7084         * tabular_funcs.C:
7085         * text.C:
7086         * text2.C: remove InsetText::InnerCache, clean up consequences
7087
7088 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7089
7090         * ispell.C: fix two typos in error messages
7091
7092 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7093
7094         * Extend Note inset to other forms of annotation like Comment
7095         and Greyedout. Right button click gives dialog.
7096
7097         Files modified or added (+):
7098
7099         * insetnote.[Ch]
7100         * FormNote.[Ch]      +
7101         * ControlNote.[Ch]   +
7102         * form_note.fd       +
7103         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7104         frontends/controllers
7105         * xforms/Dialogs.C
7106         * factory.C
7107
7108 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7109
7110         * aspell.C: add missing namespace lyx::support
7111
7112 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7113
7114         * BufferView.[Ch] (newFile): Add
7115         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7116         * LaTeX.[Ch] (message): added this signal and use it
7117         * buffer.[Ch] (busy, message): added these signals and use them
7118         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7119         * converter.C:
7120         * exporter.C:
7121         * format.C:
7122         * importer.C: use buffer signals instead of direct bv calling
7123         * lyx_cb.[Ch] (ShowMessage): removed
7124         * lyx_main.C:
7125         * lyxfunc.C:
7126         * paragraph_funcs.C:
7127         * text2.C: use buffer signals
7128
7129 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7130
7131         * introduce namespace lyx::graphics
7132
7133 2003-07-02  André Pönitz  <poenitz@gmx.net>
7134
7135         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7136
7137 2003-07-01  André Pönitz  <poenitz@gmx.net>
7138
7139         * text.C:
7140         * text2.C:
7141         * text3.C:
7142         * text_funcs.[Ch]:
7143         * textcursor.h:
7144         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7145           text*.C to text_func.C
7146
7147 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * introduce namespace lyx::support
7150
7151 2003-06-30  André Pönitz  <poenitz@gmx.net>
7152
7153         * Chktex.C:
7154         * funcrequest.C:
7155         * lyxtext.h:
7156         * text.C: re-enable --with-included-string
7157
7158 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7159
7160         * textcursor.C: add <config.h>
7161
7162         * text.C (getWord): remove const from word_location arg
7163
7164         * lyxvc.C (getLogFile): fix const type order
7165
7166         * lyxtext.h: remove const from word_location arg, add arg name
7167
7168         * lyxlayout.h: currect type on labeltype.
7169
7170         * importer.C: correct \file
7171
7172         * converter.C (intToFormat): use std:: on ret val, ws changes
7173
7174         * bufferlist.h: correct \file
7175
7176         * buffer.C (makeLinuxDocFile): fix const type order
7177         (makeDocBookFile): ditto
7178         (fillWithBibKeys): use std:: on stdlib args.
7179
7180         * CutAndPaste.C: fix authors.
7181         (availableSelections): use std:: on return vector
7182
7183 2003-06-27  André Pönitz  <poenitz@gmx.net>
7184
7185         * BufferView_pimpl.C:
7186         * bufferview_funcs.C:
7187         * lyxcursor.C:
7188         * lyxcursor.h:
7189         * lyxfunc.C:
7190         * lyxtext.h:
7191         * rowpainter.C:
7192         * text.C:
7193         * text2.C:
7194         * text3.C: remove LyXCursor::row_ member
7195
7196         * lyxtext.h:
7197         * text.C: rename fullRebreak() to partialRebreak() and implement
7198           a fullRebreak() that really bereks fully
7199
7200         * textcursor.h: new struct for cursor-related data
7201
7202 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7203
7204         * lyx_main.C (LyX): get full path of document loaded on the
7205         command line
7206
7207 2003-06-26  André Pönitz  <poenitz@gmx.net>
7208
7209         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7210           remove unused/broken operator>,<,>=.
7211
7212         *       text.C: remove only use of broken operator<= in an Assert().
7213
7214 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7215
7216         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7217         moved errorlist_.clear to showErrorList
7218
7219 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7220
7221         * converter.C (scanLog, runLaTeX):
7222         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7223         move the bv->showErrorList call to the callers
7224         * lyxfunc.C: i.e. here...
7225         * text2.C: and here
7226         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7227         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7228         namespace, the second to...
7229         * buffer_funcs (BufferFormat, parseErrors): added
7230         * errorlist.C (ErrorList(TeXErrors const &)): removed
7231
7232 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7233
7234         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7235
7236 2003-06-24  "Garst R. Reese" <reese@isn.net>
7237
7238         * debug.C: fix typo
7239
7240 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7241
7242         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7243
7244         * version.C.in: change docversion to 1.4
7245
7246 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7247
7248         * buffer.C: fix a bug just introduced
7249
7250 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7251
7252         * buffer.[Ch]: added the parseError signal and use it, removed
7253         sgmlError
7254         * BufferView.[Ch] (addError): moved to ...
7255         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7256         to the Buffer::parseError signal to catch (guess what) parse errors
7257         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7258
7259 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7260
7261         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7262         ability to create a buffer and to return an existing one from
7263         the list. Moved these functions to...
7264         * buffer_funcs.[Ch]: added
7265         * BufferView.[Ch] (loadLyXFile): added
7266         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7267         job removed from bufferlist::loadLyXFile.
7268         * buffer.C (setReadOnly): make it work without view
7269         (i.e added an if (users))
7270
7271 2003-06-19  Angus Leeming  <leeming@lyx.org>
7272
7273         * lfuns.h:
7274         * LyXAction.C (init):
7275         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7276         with LFUN_DIALOG_SHOW <name> <data>.
7277
7278 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7279
7280         * CutAndPaste.C (availableSelections): small compilation fix for
7281         ancient (gcc 2.9x) compilers
7282
7283 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7284
7285         * text3.C (cursorNext): add tmp var
7286
7287         * text2.C (updateCounters): for function calling out of for clause
7288         (replaceSelectionWithString): ditto
7289         (insertStringAsParagraphs): ditto
7290         (getColumnNearX): add tmp var
7291         (setCursorFromCoordinates): add tmp var
7292         (cursorDownParagraph): add tmp var
7293         (deleteEmptyParagraphMechanism): add tmp var
7294
7295         * text.C (insertChar): add tmp var
7296
7297         * rowpainter.C (paintDepthBar): add tmp var
7298
7299         * CutAndPaste.C (availableSelections): potentially check all
7300         paragraphs in a cut to fill the shown strings.
7301
7302 2003-06-18  André Pönitz  <poenitz@gmx.net>
7303
7304         * kbmap.[Ch]: use vector<> instead of list<>
7305
7306 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7307
7308         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7309         pasteSelection with index
7310
7311         * text2.C (pasteSelection): modify, call pasteSelection with index
7312
7313         * paragraph.C (asString): reimplement version with no interval to
7314         call the one with interval.
7315
7316         * lyxtext.h: add index arg to pasteSelection
7317
7318         * MenuBackend.C (MenuItem): handle PasteRecent
7319         (Menu::read::Menutags): add md_pasterecent
7320         (read): handle it
7321         (expandPasteRecent): new function
7322         (expand): use it
7323
7324         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7325
7326         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7327         the limited stack
7328         (availableSelections): new function
7329
7330 2003-06-17  Angus Leeming  <leeming@lyx.org>
7331
7332         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7333
7334 2003-06-17  Angus Leeming  <leeming@lyx.org>
7335
7336         * lfuns.h:
7337         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7338
7339         * lyxfunc.C (dispatch): invoke it.
7340
7341 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7342
7343         * iterators.C (operator++, ParPosition): reintroduce some
7344         const_cast for the benefit of older compilers.
7345
7346 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7347
7348         * text3.C (dispatch): do not modify clipboard when doing
7349         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7350         LFUN_DELETE_SKIP on a selection selection
7351
7352 2003-06-16  André Pönitz  <poenitz@gmx.net>
7353
7354         * BufferView.C:
7355         * buffer.C:
7356         * buffer.h:
7357         * paragraph.C:
7358         * tabular.[Ch]: IU of clone() and getLabelList();
7359
7360 2003-06-13  André Pönitz  <poenitz@gmx.net>
7361
7362         * tabular.h: compactification
7363
7364 2003-06-12  André Pönitz  <poenitz@gmx.net>
7365
7366         * tabular.C:
7367         * tabular.h:
7368         * tabular_funcs.h: some renaming plus whitespace
7369
7370 2003-06-12  André Pönitz  <poenitz@gmx.net>
7371
7372         * BufferView.C:
7373         * BufferView_pimpl.C:
7374         * CutAndPaste.C:
7375         * buffer.C:
7376         * iterators.[Ch]:
7377         * lyxfunc.C:
7378         * text.C:
7379         * toc.C: Return a Paragraph & for ParIterator::operator*()
7380
7381 2003-06-11  John Levon  <levon@movementarian.org>
7382
7383         * lyx_main.C:
7384         * ToolbarBackend.h:
7385         * ToolbarBackend.C: add "Toolbars" section and
7386         put the flags there
7387
7388 2003-06-10  Angus Leeming  <leeming@lyx.org>
7389
7390         * lfuns.h:
7391         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7392
7393         * lyxfunc.C (dispatch): invoke it.
7394
7395 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7396
7397         * main.C: protect <ios> with HAVE_IOS
7398         (main): protect sync_with_stdio with HAVE_IOS
7399
7400 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7401
7402         * text2.C (cutSelection): adjust
7403         (pasteSelection): adjust
7404
7405         * messages.C: handle get of empty string
7406
7407         * main.C (main): use sync_with_stdio(false)
7408
7409         * lyxfunc.C (dispatch): adjust
7410
7411         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7412         (WriteAs): remove unneeded BufferView arg.
7413
7414         * bufferparams.h: use correct types on papersize, papersize2 and
7415         paperpackage.
7416
7417         * bufferparams.C (readToken): adjust for type
7418         (writeLaTeX): add missing cases to switch.
7419
7420         * bufferlist.C (quitWriteBuffer): adjust
7421         (close): adjust
7422
7423         * buffer.C (asciiParagraph): remove some commented code.
7424
7425         * CutAndPaste.C: remove current_view extern variable.
7426         (cutSelection): add BufferParams arg.
7427         (eraseSelection): add BufferParams arg.
7428         (pasteSelection): add Buffer const & arg
7429
7430 2003-06-07  John Levon  <levon@movementarian.org>
7431
7432         * buffer.C:
7433         * paragraph_funcs.C:
7434         * paragraph_pimpl.C:
7435         * text.C:
7436         * text2.C:
7437         * paragraph.h:
7438         * paragraph.C: allow InsetERT to freely space lines,
7439         and some consolidation of code
7440
7441 2003-06-06  José Matos  <jamatos@fep.up.pt>
7442
7443         * buffer.C (makeDocBookFile): fix bug #821
7444
7445 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7446
7447         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7448
7449 2003-06-04  Angus Leeming  <leeming@lyx.org>
7450
7451         * buffer.C: bump format to 224.
7452
7453 2003-06-05  André Pönitz  <poenitz@gmx.net>
7454
7455         * text2.C (redoParagraphs): remove two const_cast<>
7456
7457 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7458
7459         * ParagraphList.h: remove last remnants of NO_STD_LIST
7460
7461 2003-06-03  Angus Leeming  <leeming@lyx.org>
7462
7463         * factory.C (createInset): small change to the way InsetExternal's params
7464         are set.
7465
7466 2003-06-04  André Pönitz  <poenitz@gmx.net>
7467
7468         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7469
7470         * paragraph_pimpl.h:
7471         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7472
7473         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7474
7475         * undo_funcs.C: make some simple cases of undo work again
7476
7477 2003-06-03  John Levon  <levon@movementarian.org>
7478
7479         * ispell.C: HPUX doesn't have sys/select.h
7480         (from Albert Chin)
7481
7482 2003-06-03  John Levon  <levon@movementarian.org>
7483
7484         * CutAndPaste.C: update tabular and include inset
7485         buffer references
7486
7487         * buffer.h:
7488         * paragraph.h:
7489         * paragraph.C: remove owningBuffer(), don't pass Buffer
7490         to clone()
7491
7492         * factory.C: insetGraphicsParams changed
7493
7494 2003-06-02  John Levon  <levon@movementarian.org>
7495
7496         * LyXAction.C:
7497         * factory.C:
7498         * lfuns.h:
7499         * lyxfunc.C:
7500         * text3.C: remove insetparent
7501
7502 2003-06-02  John Levon  <levon@movementarian.org>
7503
7504         * buffer.h:
7505         * buffer.C: fix inset_iterator.end(), move out of line
7506         (bug 1149)
7507
7508 2003-06-01  John Levon  <levon@movementarian.org>
7509
7510         * text3.C: use a proper cut/paste when doing inset
7511         insert (from Jürgen Spitzmüller)
7512
7513 2003-06-01  John Levon  <levon@movementarian.org>
7514
7515         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7516
7517 2003-05-30  André Pönitz  <poenitz@gmx.net>
7518
7519         * rowpainter.C: unify second drawing phase
7520
7521 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7522
7523         * trans_mgr.C: remove one case of current_view
7524
7525         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7526
7527         * paragraph_funcs.h: remove paragraph.h include
7528
7529         * paragraph.h: delete NO_STD_LIST stuff
7530
7531         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7532
7533         * buffer.h: remove paragraph.h include
7534
7535         * ParagraphList.C: delete file
7536
7537         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7538
7539         * toc.C (getTocList): adjust
7540
7541         * paragraph_pimpl.C (validate): adjust
7542
7543         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7544
7545         * paragraph.C (Paragraph): adjust
7546         (getPositionOfInset): use const_iterator, adjust
7547         (bibitem): use const_iterator, adjust
7548         (setInsetOwner): adjust
7549
7550         * iterators.C (operator++): adjust
7551
7552         * InsetList.[Ch]: Replace selfmade iterator with standard
7553         vector::iterator also introduce const_iterator. Remove getPos,
7554         getInset and setInset from InsetTable. Adjust accordingly.
7555
7556         * BufferView.C (lockInset): adjust
7557         (ChangeInsets): adjust
7558
7559         * tabular.[Ch]: delete commented same_id functions
7560
7561 2003-05-28  John Levon  <levon@movementarian.org>
7562
7563         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7564
7565 2003-05-28  André Pönitz  <poenitz@gmx.net>
7566
7567         * metricsinfo.[Ch]: remove 'fullredraw' member
7568
7569 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7570
7571         * lyxtextclass.C (operator): remove caching.
7572
7573 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * text3.C: adjust
7576
7577         * text2.C (cursorBottom): adjust
7578         (setCounter): use ParagraphList::find, adjust
7579
7580         * text.C (workWidth): use ParagraphList::find, adjust
7581
7582         * lyxcursor.C (LyXCursor): adjust
7583
7584         * buffer.C (inset_iterator): adjust
7585
7586         * ParagraphList.h: make iterator(value_type) private, make
7587         ParagraphList a friend of iterator.
7588
7589         * ParagraphList.C (find): new function
7590
7591         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7592
7593 2003-05-27  André Pönitz  <poenitz@gmx.net>
7594
7595         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7596
7597 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7598
7599         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7600
7601 2003-05-26  John Levon  <levon@movementarian.org>
7602
7603         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7604
7605 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * remove same_id from function signatures, adjust.
7608
7609 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7610
7611         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7612
7613         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7614
7615         * paragraph.C (Paragraph): get rid of same_ids parameter
7616
7617         * ParagraphList.C (insert): adjust
7618         (push_back): adjust
7619
7620 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * paragraph_funcs.C (breakParagraph): adjust
7623         (breakParagraphConservative): adjust
7624
7625         * buffer.C (readParagraph): adjust
7626
7627         * ParagraphList.C (insert): take a reference instead of a pointer
7628         (insert): adjust
7629
7630         * paragraph.[Ch] (id): new function
7631
7632         * bufferlist.C (newFile): adjust
7633
7634         * ParagraphList.C (ParagraphList): adjust
7635         (assign): adjust
7636         (push_back): take a reference instead of a pointer.
7637
7638         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7639
7640         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7641         instead.
7642
7643         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7644         set else use old code.
7645
7646         * ParagraphList.C: remove all NO_NEXT code and only compile this
7647         code of NO_STD_LIST is set.
7648
7649 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7650
7651         * BufferView_pimpl.C:
7652         * TextCache.C:
7653         * TextCache.h:
7654         * bufferlist.C:
7655         * errorlist.h:
7656         * format.C:
7657         * format.h:
7658         * graph.C:
7659         * lyxfunc.C:
7660         * lyxrc.C:
7661         * graphics/GraphicsConverter.C:
7662         * graphics/PreviewLoader.C: header adjustment
7663
7664 2003-05-23  Angus Leeming  <leeming@lyx.org>
7665
7666         * LaTeXFeatures.[Ch] (useBabel): new method.
7667         * bufferparams.C (writeLaTeX): use it.
7668
7669 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7670
7671         * ParagraphList.h (set): remove unused function.
7672
7673 2003-05-23  André Pönitz  <poenitz@gmx.net>
7674
7675         * BufferView.C:
7676         * BufferView_pimpl.C:
7677         * buffer.C:
7678         * buffer.h:
7679         * lyxfunc.C:
7680         * undo_funcs.C: setUndo reworked
7681
7682         * iterators.[Ch]: add access to topmost ParagraphList
7683
7684         * lyxtext.[Ch] (workWidth): add a const
7685
7686 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7687
7688         * texrow.[Ch] (increasePos): remove function
7689         * exporter.C (export): removed unused var and outdated comment
7690
7691 2003-05-23  Angus Leeming  <leeming@lyx.org>
7692
7693         * latexrunparams.h: rename fragile as moving_arg.
7694         * paragraph.C (simpleTeXOnePar): ditto.
7695         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7696
7697 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7700         (createUndo): ditto
7701         (textUndoOrRedo): comment out a currently unused var.
7702
7703         * paragraph.h (NO_NEXT): enable NO_NEXT
7704
7705         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7706
7707         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7708
7709         * exporter.C (Export): adjust for removeAutoInsets removal.
7710
7711         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7712
7713         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7714
7715         * BufferView.[Ch] (removeAutoInsets): delete function
7716
7717 2003-05-22  Angus Leeming  <leeming@lyx.org>
7718
7719         * latexrunparams.h: add a free_spacing variable.
7720
7721         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7722         to pass moving_arg, as the data is stored in runparams.fragile.
7723
7724         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7725         to Inset::latexOptional or to simpleTeXOnePar.
7726
7727         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7728         free_spacing arg to Inset::latexOptional.
7729
7730         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7731         free_spacing arg.
7732
7733 2003-05-22  Angus Leeming  <leeming@lyx.org>
7734
7735         * latexrunparams.h: add fragile and use_babel variables.
7736
7737         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7738         * buffer.C (makeLaTeXFile): store this returned value in
7739         runparams.use_babel, thus passing it to the inset::latex methods.
7740
7741         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7742         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7743
7744         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7745         longer has a fragile arg, as it is stored in runparams.fragile.
7746
7747         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7748         moving_arg parameter as the data is stored in runparams.fragile.
7749
7750         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7751         a fragile parameter as the data is stored in runparams.fragile.
7752
7753 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7754
7755         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7756
7757 2003-05-22  Angus Leeming  <leeming@lyx.org>
7758
7759         * latexrunparams.h: add a 'bool nice' which defaults to false.
7760
7761         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7762         now encapsulated within runparams.
7763
7764         * bufferlist.C (updateIncludedTeXfiles):
7765         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7766
7767 2003-05-22  Angus Leeming  <leeming@lyx.org>
7768
7769         * latexrunparams.h: new file containing struct LatexRunParams.
7770         * Makefile.am: add new file.
7771
7772         * LaTeX.[Ch] (c-tor, run):
7773         * buffer.[Ch] (makeLaTeXFile):
7774         * bufferlist.[Ch] (updateIncludedTeXfiles):
7775         * converter.C (convert, scanLog):
7776         * converter.[Ch] (runLaTeX):
7777         * exporter.C (Export):
7778         * paragraph.[Ch] (simpleTeXOnePar):
7779         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7780         * paragraph_funcs.[Ch] (latexParagraphs):
7781         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7782         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7783         pass around a LatexRunParams parameter.
7784
7785 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7786
7787         * paragraph.[Ch]: remove unused constructor
7788
7789         * ParagraphList.C (erase): new function, taking two iterators
7790
7791 2003-05-22  André Pönitz  <poenitz@gmx.net>
7792
7793         * undo_funcs.C: remove duplicated code
7794
7795         * iterator.[Ch]: operator=
7796
7797 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7798
7799         * tabular.C (SetMultiColumn): ws changes
7800
7801         * rowpainter.C (paintFirst): get rid of a ->previous
7802
7803         * lyx_cb.C (getPossibleLabel): parlist simplification
7804
7805         * BufferView.C (ChangeInsets): simplify slightly.
7806
7807 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7808
7809         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7810         * lfuns.h: new LFUN_SPACE
7811         * lyxfunc.C: protected space has a new lfun
7812         * paragraph_funcs.C: read new space insets
7813         * text3.C:
7814         * factory.C: handle new space insets
7815
7816 2003-05-22  André Pönitz  <poenitz@gmx.net>
7817
7818         * BufferView.C:
7819         * BufferView_pimpl.C:
7820         * buffer.[Ch]:
7821         * lyxfunc.C:
7822         * undo_funcs.C: return a ParIterator from getParFromID.
7823
7824         * iterators.[Ch]: add two const's
7825
7826 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7827
7828         * toc.C (getTocList): adjust
7829
7830         * iterators.[Ch]: rework for parlist
7831
7832         * buffer.C (par_iterator_begin): adjust
7833         (par_iterator_end): adjust
7834
7835         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7836
7837         * BufferView.C (removeAutoInsets): adjust
7838         (ChangeInsets): adjust
7839
7840 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7841
7842         * text.C (top_y): fix bug 1110
7843
7844 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7845
7846         * errorlist.[Ch]: added
7847         * buffer.C:
7848         * BufferView.[Ch]:
7849         * BufferView_pimpl.C:
7850         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7851         instead
7852
7853 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7854
7855         * Makefile.am: ensure that lyx is relinked upon changes to the
7856         various "convenience" libs.
7857
7858 2003-05-20  Angus Leeming  <leeming@lyx.org>
7859
7860         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7861         files are compiled in alphabetical order again.
7862
7863         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7864
7865 2003-05-19  Angus Leeming  <leeming@lyx.org>
7866
7867         * gettext.[Ch]: remove "char const * _(char const *)".
7868
7869 2003-05-19  André Pönitz  <poenitz@gmx.net>
7870
7871         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7872
7873         * Makefile.am:
7874         * BufferView.C:
7875         * DepTable.h:
7876         * LaTeXFeatures.C:
7877         * buffer.C:
7878         * lyxfont.C:
7879         * lyxlex.h:
7880         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7881
7882 2003-05-19  André Pönitz  <poenitz@gmx.net>
7883
7884         * buffer.C:
7885         * lyxlayout.[Ch]:
7886         * lyxtextclass.[Ch]:
7887         * paragraph.C:
7888         * paragraph_funcs.[Ch]:
7889         * text2.C:
7890         * text3.C: more insetenv work
7891
7892 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7893
7894         * ParagraphParameters.C (params2string): small bug fixed
7895
7896 2003-05-16  André Pönitz  <poenitz@gmx.net>
7897
7898         * debug.C:
7899         * bufferview_funcs.C: patch from Kornel Benko to prevent
7900           crash when _(...) is called twice in a statement
7901
7902 2003-05-16  André Pönitz  <poenitz@gmx.net>
7903
7904         * BufferView.C:
7905         * lyxfunc.C:
7906         * text.C:
7907         * text2.C:
7908         * text3.C:
7909         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7910
7911 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7912
7913         * lyx_main.C (init): remove spurious static_cast
7914
7915 2003-05-14  André Pönitz  <poenitz@gmx.net>
7916
7917         * BufferView.C: fix format string
7918
7919 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7920
7921         * BufferView.[Ch] (insertErrors): removed
7922         * BufferView.[Ch] (showErrorList): added
7923         * buffer.C (runChkTeX):
7924         * converter.C (scanLog): call showErrorList instead of inserterrors
7925
7926 2003-05-13  André Pönitz  <poenitz@gmx.net>
7927
7928         * BufferView_pimpl.C:
7929         * buffer.C:
7930         * bufferview_func.C:
7931         * MenuBackend.C:
7932         * lyxfunc.C:
7933         * lyxrc.C:
7934         * tex-accent.C:
7935         * text3.C:
7936         * toc.C:
7937         * tabular_funcs.h: tostr() from its own header
7938
7939         * ParagraphParameters.C:
7940         * ToolbarBackend.C:
7941         * bufferparams.C:
7942         * format.C:
7943         * lyxlex_pimpl.C:
7944         * text3.C: STRCONV()
7945
7946 2003-05-12  André Pönitz  <poenitz@gmx.net>
7947
7948         * BufferView.C:
7949         * BufferView_pimpl.C:
7950         * CutAndPaste.C:
7951         * LaTeX.C:
7952         * LaTeXFeatures.C:
7953         * ParagraphParameters.C:
7954         * buffer.C:
7955         * bufferlist.C:
7956         * bufferparams.C:
7957         * bufferview_funcs.C:
7958         * converter.C:
7959         * counters.C:
7960         * debug.C:
7961         * exporter.C:
7962         * format.C:
7963         * importer.C:
7964         * lyx_cb.C:
7965         * lyx_main.C:
7966         * lyxfont.C:
7967         * lyxfunc.C:
7968         * lyxvc.C:
7969         * paragraph.C:
7970         * paragraph_funcs.C:
7971         * tabular.C:
7972         * tabular_funcs.C:
7973         * text2.C:
7974         * text3.C:  boost::format -> bformat  all over the place
7975
7976
7977 2003-05-09  André Pönitz  <poenitz@gmx.net>
7978
7979         * LColor.[Ch]: Pimpl the #include <map> away
7980
7981 2003-05-09  John Levon  <levon@movementarian.org>
7982
7983         * bufferlist.C: never remove emergency saves
7984
7985 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986
7987         * Makefile.am: better lib building
7988
7989 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7990
7991         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7992         instead.
7993         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7994         (simpleTeXSpecialChars): adjust
7995         (simpleTeXSpecialChars): adjust
7996         * paragraph.C (simpleTeXOnePar): adjust
7997         * buffer.C (makeLaTeXFile): adjust
7998
7999         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8000
8001         * text2.C (changeDepth): parlist cleanup
8002         (getColumnNearX): ditto
8003
8004         * rowpainter.C (getLabelFont): parlist cleanup
8005
8006         * bufferlist.C (newFile): parlist cleanup
8007
8008         * CutAndPaste.C (eraseSelection): parlist cleanup
8009
8010         * BufferView_pimpl.C (trackChanges): parlist cleanup
8011         (dispatch): ditto
8012
8013         * BufferView.C (lockInset): parlist cleanup.
8014         (ChangeInsets): ditto
8015
8016 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8017
8018         * CutAndPaste.h: Update file header.
8019
8020         * CutAndPaste.C: Update file header.
8021         Store the parts cut out of the Document in a limited_stack.
8022         (copySelection): adjust
8023         (pasteSelection): new function, takes the index in the limited stack.
8024         (nrOfParagraphs): adjust
8025         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8026         simplify error inset insertion.
8027         (checkPastePossible): adjust
8028
8029 2003-05-06  John Levon  <levon@movementarian.org>
8030
8031         * text2.C: don't cast wrap inset to float
8032
8033 2003-05-05  André Pönitz  <poenitz@gmx.net>
8034
8035         * iterator.C:
8036         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8037
8038         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8039           few naked Paragraph *.
8040
8041 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8042
8043         * bufferparams.C: Output warning if a document with missing
8044         TeX document class is loaded
8045         * exporter.C: Disable TeX exports if the document class is missing
8046         * lyxtextclass.C:
8047         * lyxtextclass.h:
8048         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8049         isTeXClassAvailable()
8050
8051 2003-05-03  John Levon  <levon@movementarian.org>
8052
8053         * BufferView.h:
8054         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8055         explicit cursor show/hide
8056
8057         * BufferView_pimpl.h:
8058         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8059         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8060
8061         * lyxfunc.C: hide cursor before dispatching.
8062
8063         * lyx_cb.C:
8064         * lyxfind.C:
8065         * text.C:
8066         * text3.C: remove explicit cursor hides
8067
8068 2003-05-02  André Pönitz  <poenitz@gmx.net>
8069
8070         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8071
8072         * undo_funcs.C:
8073         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8074           linked lists
8075
8076         * text2.C: tiny whitespace
8077
8078 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8079
8080         * undo_funcs.C: almost only ws changes.
8081
8082         * ParagraphList.C (splice): just return if pl is empty.
8083
8084 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8085
8086         * ParagraphList.C (splice): new function.
8087
8088         * CutAndPaste.C (pasteSelection): use it
8089
8090 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8091
8092         * CutAndPaste.C (pasteSelection): remove the last next and
8093         previous from this file.
8094
8095 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8096
8097         * CutAndPaste.C (pasteSelection): more clean up, user proper
8098         ParagraphList functions for pasteing.
8099
8100         * ParagraphList.C (insert): new function, three arg insert
8101
8102 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8103
8104         * ParagraphList.C (insert): new function, three arg insert
8105
8106         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8107         not on paragraphs.
8108
8109 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8112
8113 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8114
8115         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8116
8117 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8118
8119         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8120         (copySelection): clean up a bit.
8121         (pasteSelection): use make_pair
8122
8123         * ParagraphList.C (ParagraphList): implement copy constructor
8124         (operator=): implement, base on copy constructor.
8125         (assign): new func
8126
8127         * paragraph.C (erase): return a bool
8128
8129         * paragraph_pimpl.C (erasePos): remove function, move contents...
8130         (erase): ... here. Return a bool.
8131         (erase): call erase instead of erasePos.
8132
8133 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8134
8135         * ParagraphList.h: define PitPosPair
8136         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8137         ParagraphList, fix a bug on pasting multiple pars
8138         * text2.C: change interface to C&P
8139
8140 2003-04-30  André Pönitz  <poenitz@gmx.net>
8141
8142         * undo_func.C: revert part of yesterday's patch 2
8143
8144 2003-04-30  John Levon  <levon@movementarian.org>
8145
8146         * LColor.C: s/tabular/table/
8147
8148 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * text3.C (dispatch): do not convert iterator -> pointer
8151         * undo_funcs.C (setCursorParUndo): ditto
8152         * text_funcs.C (transposeChars): ditto
8153
8154         * text2.C (setLayout): ws changes only
8155
8156         * text.C (breakParagraph): do not convert iterator -> pointer
8157         (insertChar): ditto
8158         (acceptChange): ditto
8159         (rejectChange): ditto
8160         (changeCase): ditto
8161         (Delete): ditto
8162         (backspace): ditto
8163
8164         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8165         pointer
8166
8167 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8168
8169         * text3.C (gotoInset): YABG (yet another bad getChar)
8170
8171 2003-04-29  André Pönitz  <poenitz@gmx.net>
8172
8173         * paragraph.h: make operator= private unimplemented as long as
8174           it is unusable
8175
8176         * ParagraphList.C: whitespace
8177
8178         * paragraph.[Ch]:
8179         * paragraph_pimpl.[Ch]:
8180         * paragraph_funcs.C:
8181         * CutAndPaste.C:
8182         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8183
8184         * text2.C:
8185           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8186
8187 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8188
8189         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8190         * paragraph.[Ch] (erase):
8191         * paragraph_pimpl.[Ch] (erase): change return type and value
8192         * text2.C (cutSelection): some rework
8193
8194 2003-04-28  John Levon  <levon@movementarian.org>
8195
8196         * bufferlist.C: changes for unsaved changes dialog
8197
8198 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8199
8200         * bufferlist.C (newFile): set language (messages_) for new
8201         documents also.
8202
8203         * buffer.C (readFile): ws changes only.
8204
8205 2003-04-28  André Pönitz  <poenitz@gmx.net>
8206
8207         * undo_funcs.C:
8208         * lyxfunc.C:
8209         * buffer.[Ch]:
8210         * BufferView_pimpl.C:
8211         * BufferView.C: getParFromID related ParagraphList::iterator changes
8212
8213 2003-04-28  André Pönitz  <poenitz@gmx.net>
8214
8215         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8216           Changes
8217
8218 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * messages.C: remove one more localedir class variable.
8221
8222 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8223
8224         * messages.C (getLocaleDir): singleton generation function
8225         (Pimpl): use it.
8226         (Messages): add a default constructor.
8227
8228         * main.C (main): do not setup localedir here, do not call
8229         gettext_init.
8230
8231         * gettext.C (_): use it.
8232         (gettext_init): delete funciton
8233
8234 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * gettext.C (getLyXMessages): new singleton generating function.
8237
8238         * buffer.C (updateDocLang): adjust
8239
8240         * Makefile.am (messages.o): add target
8241         (main.o): remove target
8242
8243 2003-04-27  John Levon  <levon@movementarian.org>
8244
8245         * bufferlist.C:
8246         * lyx_cb.C:
8247         * lyxfunc.C:
8248         * lyxvc.C: specify cancel button in Alert::prompt
8249
8250 2003-04-26  John Levon  <levon@movementarian.org>
8251
8252         * text3.C:
8253         * lyxfunc.C:
8254         * lfuns.h:
8255         * LyXAction.C: add LFUN_INSET_SETTINGS
8256
8257         * lyxfunc.C: don't enable tabular-feature when there's
8258         just any locking inset
8259
8260 2003-04-26  John Levon  <levon@movementarian.org>
8261
8262         * bufferlist.C: re-add Cancel to buffer close question
8263
8264         * lyxfunc.C: fix import UI a bit
8265
8266 2003-04-25  John Levon  <levon@movementarian.org>
8267
8268         * gettext.C: remove the broken asserts for now
8269
8270 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8271
8272         * messages.C: make case where setlocale cannot comply work better.
8273
8274         * buffer.C (updateDocLang): new function
8275         (changeLanguage): use it
8276         (readFile): use it
8277
8278         * text2.C (setCounter): use B_ a bit.
8279
8280         * lyxlayout.C (Read): be sure to trim the label strings.
8281
8282         * messages.C (Messages): fix typo in comment
8283
8284         * buffer.C (readFile): set message_ after file is loaded.
8285         (makeDocBookFile): remove double return
8286         (changeLanguage): reset message_ upon language change.
8287         (B_): new func, use this to get translated buffer strings.
8288
8289         * main.C: add myself and Jean Marc as authors.
8290
8291 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8292
8293         * messages.[hC]: pimplify Messages, and three different pimpls to be
8294         used in different circumstances.
8295
8296         * gettext.[Ch]: change for use with new message code.
8297
8298 2003-04-24 André Pönitz <poenitz@gmx.net>
8299
8300         * factory.C: support for eqref
8301
8302 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8303
8304         * messages.[Ch]: add missing char
8305
8306         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8307
8308         * messages.[Ch]: New files
8309
8310 2003-04-18  John Levon  <levon@movementarian.org>
8311
8312         * BufferView.h:
8313         * BufferView.C:
8314         * BufferView_pimpl.C:
8315         * lfuns.h:
8316         * LyXAction.C:
8317         * lyxtext.h:
8318         * text2.C: remove layout-copy/paste (bug 778)
8319
8320 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8321
8322         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8323
8324 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8325
8326         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8327         if they succeed. Act accordingly.
8328
8329 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * text2.C (setCharFont): adjust
8332         (setCounter): adjust
8333         (insertStringAsLines): adjust
8334
8335         * text.C (leftMargin): adjust
8336         (setHeightOfRow): adjust
8337
8338         * rowpainter.C (paintFirst): adjust
8339         (paintLast): adjust
8340
8341         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8342         (outerHook): ditto
8343         (isFirstInSequence): ditto
8344         (getEndLabel): ditto
8345         (outerFont): adjust
8346
8347         * paragraph.C (getParLanguage): comment out some hard stuff.
8348
8349         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8350         (sgmlError): ditto
8351         (simpleDocBookOnePar): ditto
8352         (makeDocBookFile): use ParagraphList::iterator
8353
8354         * CutAndPaste.C (pasteSelection): adjust
8355
8356 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8357
8358         * text2.C (getFont): adjust
8359         (getLayoutFont): adjust
8360         (getLabelFont): adjust
8361
8362         * paragraph_funcs.C (TeXOnePar): adjust
8363
8364         * buffer.C (simpleLinuxDocOnePar): adjust
8365         (simpleDocBookOnePar): adjust
8366
8367         * CutAndPaste.C (pasteSelection): adjust
8368
8369         * BufferView.C (getEncoding): adjust
8370
8371         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8372
8373 2003-04-16  John Levon  <levon@movementarian.org>
8374
8375         * lyxfind.C: use parlist stuff for search/changes
8376
8377 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8378
8379         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8380
8381         * text2.C (deleteEmptyParagraphMechanism): adjust
8382
8383         * text2.[Ch] (ownerParagraph): delete func (both of them
8384
8385 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8386
8387         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8388
8389 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * ParagraphList.C: prepare for NO_NEXT
8392
8393 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * text2.C (getFont): adjust
8396         (getLayoutFont): adjust
8397         (getLabelFont): adjust
8398
8399         * paragraph.C (getFont): adjust
8400         (getLabelFont): adjust
8401         (getLayoutFont): adjust
8402
8403         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8404
8405 2003-04-15  John Levon  <levon@movementarian.org>
8406
8407         From Angus Leeming
8408
8409         * lyx_main.C: handle Include in .ui files
8410
8411 2003-04-15  John Levon  <levon@movementarian.org>
8412
8413         * MenuBackend.C: make the doc files length shorter
8414
8415         * ToolbarBackend.h:
8416         * ToolbarBackend.C: handle toolbar placement flags,
8417         Minibuffer
8418
8419 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8420
8421         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8422         adjust
8423
8424         * paragraph_funcs.C (TeXOnePar): adjust
8425
8426         * paragraph.C (getLabelFont): add outerfont arg, adjust
8427         (getLayoutFont): ditto
8428         (simpleTeXOnePar): adjust
8429
8430         * paragraph_pimpl.C (realizeFont): delete func
8431
8432 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8433
8434         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8435         row argument, constify cur argument.
8436
8437 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * text2.C (getFont): adjust
8440         (getLayoutFont): adjust
8441         (getLabelFont): adjust
8442
8443         * paragraph_funcs.C (TeXOnePar): adjust
8444         (outerFont): new func...
8445         (realizeFont): ...moved out from here, changed this to facilitate
8446         transition
8447
8448         * paragraph.C (getFont): take outerfont as arg, adjust
8449         (simpleTeXOnePar): add outerfont arg, adjust
8450
8451         * buffer.C (simpleLinuxDocOnePar): adjust
8452         (simpleDocBookOnePar): adjust
8453
8454         * CutAndPaste.C (pasteSelection): adjust
8455
8456         * BufferView.C (getEncoding): adjust
8457
8458 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8459
8460         * text2.C (setCharFont): adjust
8461         (setCounter): adjust
8462
8463         * text.C (leftMargin): adjust
8464         (setHeightOfRow): adjust
8465
8466         * rowpainter.C (paintFirst): adjust
8467         (paintLast): adjust
8468
8469         * paragraph_pimpl.C (realizeFont): adjust
8470
8471         * paragraph.C (isFirstInSequence): move from here...
8472         * paragraph_funcs.C (isFirstInSequence): ...to here
8473
8474         * paragraph.C (outerHook): move from here...
8475         * paragraph_funcs.C (outerHook): ...to here
8476
8477         * paragraph.C (depthHook): move from here...
8478         * paragraph_funcs.C (depthHook): ...to here
8479
8480         * paragraph.C (getEndLabel): move from here...
8481         * paragraph_funcs.C (getEndLabel): ...to here
8482
8483         * text2.C (realizeFont): move from here...
8484         * paragraph_funcs.C (realizeFont): ...to here
8485
8486 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8487
8488         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8489
8490 2003-04-14  Angus Leeming  <leeming@lyx.org>
8491
8492         * LColor.[Ch]: scrap LColor mathcursor.
8493
8494 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8495
8496         * lyxlex.[Ch] (text): delete function
8497         * trans.C (Load): adjust
8498         * paragraph_funcs.C (readParToken): adjust
8499
8500 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8501
8502         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8503         vector<char> instead of a char[].
8504
8505         * lyxlex_pimpl.C (getString): adjust
8506         (next): adjust
8507         (lex): use getString
8508         (eatLine): adjust
8509         (nextToken): adjust
8510
8511         * lyxlex.C (text): use pimpl_->getString()
8512         (getBool): ditto
8513         (findToken): ditto
8514
8515 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8516
8517         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8518         (makeFontEntriesLayoutSpecific): temp var for par.size()
8519         (setLayout): temp var for ownerParagraphs().end()
8520         (fullRebreak): temp var for rows().end()
8521         (selectionAsString): temp var for boost::next(startpit), realize
8522         that the while really is a regular for loop.
8523         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8524         setCursor in one place.
8525         (setParagraph): temp vr for ownerParagraphs().end()
8526         (updateCounters): make the while loop a for loop
8527         (cutSelection): temp var for ownerParagraphs().end()
8528         (updateInset): make the do {} while() a regular for loop
8529         (getCursorX): use temp vars
8530         (setCurrentFont): use temp vars
8531         (getColumnNearX): use temp vars
8532
8533 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8534
8535         * text.C (transformChar): use temp var for getChar
8536         (computeBidiTables): use temp var for row->par()
8537         (fill): move temp vars for row->par() and pit->layout() earlier in
8538         the function.
8539         (labelFill): use temp var for row->par()
8540         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8541         asc and desc, realize that pit never changes and that firstpit is
8542         just a duplicate and not needed. Exchange rit->par() with pit in a
8543         lot of places.
8544         (breakAgain): use a temp var for boost::next(rit)
8545         (breakAgainOneRow): ditto
8546         (breakParagraph): use a temp var for rows().begin()
8547         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8548         (cursorRightOneWord): use temp var for cursor.par() and
8549         cursor.pos(), remove usage of tmpcursor.
8550         (cursorLeftOneWord): use temp var for cursor.par() and
8551         cursor.pos() only set cur at end of function.
8552
8553 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8554
8555         * text.C, text2.C: exchange all usage of Paragraph::next with
8556         boost::next(ParagraphList::iterator)
8557
8558         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8559
8560         * text2.C (cursorTop): simplify implementation
8561         (cursorBottom): ditto
8562         (setParagraph): use ParagraphList::iterator
8563         (setCurrentFont): adjust
8564         (getColumnNearX): adjust
8565         (cursorRight): adjust
8566         (cursorLeft): remove usage of Paragraph::previous
8567         (cursorUpParagraph): ditto
8568         (deleteEmptyParagraphMechanism): slight cleanup
8569
8570         * text.C (isBoundary): take a Paragraph const & instead of a
8571         pointer as arg.
8572         (addressBreakPoint): ditto
8573         (leftMargin): remove usage of Paragraph::previous.
8574         (setHeightOfRow): ditto
8575         (cursorLeftOneWord): ditto
8576         (selectNextWordToSpellcheck): ditto
8577         (Delete): ditto
8578         (backspace): ditto
8579         (breakParagraph): remove one usage of Paragraph::next
8580         (redoParagraph): ditto
8581         (acceptChange): ditto
8582         (insertChar): adjust
8583         (rowBreakPoint): adjust
8584
8585         * bufferview_funcs.C (toggleAndShow): adjust
8586
8587 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8588
8589         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8590         methods to access it.
8591         * lyxtext.h:
8592         * text.C: Added updateRowPositions to compute all row positions.
8593         Make top_y and getRowNearY() to use the cached y position
8594
8595 2003-04-11  John Levon  <levon@movementarian.org>
8596
8597         * text.C (rowBreakPoint): reintroduce the labelEnd
8598         checks, code copied from the row fill stuff. Deep voodoo.
8599
8600         * text.C (fill): add a comment and debugging for the
8601         next poor soul.
8602
8603 2003-04-11  John Levon  <levon@movementarian.org>
8604
8605         * text.C: make sure fullrow insets get wrapped to the next line,
8606         even when they're in a manual label
8607
8608 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8609
8610         * text2.C (insertParagraph): make it take ParagraphList::iterator
8611         as arg.
8612         (setLayout): make it return ParagraphList::iterator
8613         (redoParagraphs): ditto
8614         (setCounter): ditto
8615         (checkParagraph): ditto
8616
8617         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8618
8619         * text2.C: adjust several funcs.
8620         (realizeFont): take a ParagraphList::iterator as arg.
8621         (getLayoutFont): ditto
8622         (getLabelFont): ditto
8623         (setCharFont): ditto
8624
8625         * text.C: adjust several funcs.
8626
8627 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8628
8629         * text.C (selectNextWordToSpellcheck): don't accidentally
8630         skip insets
8631
8632 2003-04-10  John Levon  <levon@movementarian.org>
8633
8634         * ToolbarBackend.C (getIcon): special handling for
8635         LFUN_MATH_DELIM
8636
8637 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8638
8639         * text2.C (cursorRight): a getChar assert fixed
8640
8641 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8642
8643         * text2.C (getFont): change to take a ParagraphList::iterator
8644         instead of Paragraph*
8645         Adjust several functions.
8646
8647         * text.C (transformChar): change to take a ParagraphList::iterator
8648         instead of Paragraph*
8649         (singleWidth): ditto
8650         Adjust several functions.
8651
8652         * rowpainter.C: adjust several functions
8653         * rowpainter.h:store a ParagraphList::iterator and not a
8654         Paragraph&.
8655
8656
8657 2003-04-09  John Levon  <levon@movementarian.org>
8658
8659         * lyxfunc.C:
8660         * lfuns.h:
8661         * LyXAction.h:
8662         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8663         and the "help" bits as well
8664
8665 2003-04-09  John Levon  <levon@movementarian.org>
8666
8667         * ToolbarBackend.h:
8668         * ToolbarBackend.C: allow multiple toolbars
8669
8670 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8671
8672         * undo_funcs.C (setCursorParUndo): adjust
8673
8674         * text_funcs.C (transposeChars): adjust
8675
8676         * text3.C (gotoNextInset): adjust
8677         (dispatch): adjust
8678
8679         * text2.C (setLayout): adjust
8680         (changeDepth): adjust
8681         (setFont): adjust
8682         (redoParagraphs): adjust
8683         (selectionAsString): adjust
8684         (setParagraph): adjust
8685         (insertInset): adjust
8686         (cutSelection): adjust
8687         (copySelection): adjust
8688         (pasteSelection): adjust
8689         (insertStringAsLines): adjust
8690         (updateInset): adjust
8691         (setCursor): change to take a ParagraphList::iterator parameter
8692         (setCursorIntern): change to take a ParagraphList::iterator parameter
8693         (setCurrentFont): adjust
8694         (cursorLeft): adjust
8695         (cursorRight): adjust
8696         (deleteEmptyParagraphMechanism): adjust
8697
8698         * text.C (breakParagraph): adjust
8699         (insertChar): adjust
8700         (acceptChange): adjust
8701         (rejectChange): adjust
8702         (selectNextWordToSpellcheck): adjust
8703         (changeCase): adjust
8704         (Delete): adjust
8705         (backspace): adjust
8706
8707         * lyxfind.C (SearchForward): adjust
8708         (SearchBackward): adjust
8709         (nextChange): adjust
8710
8711         * lyxcursor.C (par): adjust
8712
8713         * lyxcursor.h: store a ParagraphList::iterator instead of a
8714         Paragraph*
8715
8716         * lyx_cb.C (getPossibleLabel): adjust
8717
8718         * bufferview_funcs.C (toggleAndShow): adjust
8719
8720         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8721         (dispatch): adjust
8722
8723         * BufferView.C (removeAutoInsets): adjust
8724         (lockedInsetStoreUndo): adjust
8725
8726 2003-04-09  John Levon  <levon@movementarian.org>
8727
8728         * ToolbarBackend.C: try icon without argument
8729         if with argument fails
8730
8731 2003-04-08  John Levon  <levon@movementarian.org>
8732
8733         * ToolbarBackend.h:
8734         * ToolbarBackend.C: add getIcon(), handle tooltip,
8735         and change from "Icon" to "Item".
8736
8737 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8738
8739         * BufferView.C (lockInset): another bad getchar crunched
8740
8741 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8742
8743         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8744         again)
8745
8746 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8747
8748         * lyxfind.C (searchForward, searchBackwards): bug 782
8749
8750 2003-04-07  John Levon  <levon@movementarian.org>
8751
8752         * paragraph.C: remove dead comment
8753
8754         * text.C: remove troublesome depth-fiddling code
8755         in leftMargin() and rightMargin() (bug 1017)
8756
8757         * text.C: fix breaking of rows in nested lists
8758         (bug 1004)
8759
8760         * text2.C (updateCounters): fix up depth values
8761         (bug 1013)
8762
8763 2003-04-07  John Levon  <levon@movementarian.org>
8764
8765         * BufferView_pimpl.C: clear message when doc finishes resizing,
8766         and after a mouse event
8767
8768         * lyxfunc.C: clear message after exiting inset
8769
8770 2003-04-07  John Levon  <levon@movementarian.org>
8771
8772         * bufferview_funcs.C: show math status not outside
8773         status in the statusbar
8774
8775 2003-04-07  John Levon  <levon@movementarian.org>
8776
8777         * lyxfunc.C: note status changed after a depth change
8778
8779 2003-04-04  Angus Leeming  <leeming@lyx.org>
8780
8781         * LaTeX.h: move AuxInfo operator==, != out of line.
8782         Remove LaTeX virtual destructor; nothing derives from it.
8783         Move operator()() out of public area and rename it startscript().
8784         Change protected for private.
8785
8786 2003-04-04  Angus Leeming  <leeming@lyx.org>
8787
8788         * lyxfunc.C:
8789         * text2.C: remove unneeded #includes.
8790
8791 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8792
8793         * text2.C (dEPM): fix the heigth of the next row
8794
8795 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8796
8797         * text.C: squashed an invalid getChar requester + some ws changes
8798
8799 2003-04-03  John Levon  <levon@movementarian.org>
8800
8801         * bufferview_funcs.h:
8802         * bufferview_funcs.C:
8803         * lyxfunc.C:
8804         * lyxtext.h:
8805         * text2.C: make getStatus work for the env depth lfuns
8806
8807 2003-04-03  John Levon  <levon@movementarian.org>
8808
8809         * bufferview_funcs.h:
8810         * bufferview_funcs.C:
8811         * lyxfunc.C:
8812         * lyxtext.h:
8813         * text2.C: parlistize decDepth(), by merging it with incDepth()
8814
8815 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * lyxrow.h: store a ParagraphList::iterator instead of a
8818         Paragraph* and adjust other class functions to suit.
8819
8820         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8821         above.
8822
8823 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8824
8825         * text2.C (setCursor): do not anchor to cursor row for the time being
8826
8827 2003-04-02  John Levon  <levon@movementarian.org>
8828
8829         * LyXAction.C:
8830         * lfuns.h:
8831         * lyx_main.C:
8832         * lyxtext.h:
8833         * text.C:
8834         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8835
8836 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8837
8838         * paragraph.h: make ParagraphList and ParagraphList::iterator
8839         friends of Paragraph.
8840
8841         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8842
8843         * ParagraphList.C: Use the private next_ and previous_ from
8844         Paragraph.
8845
8846 2003-04-01  John Levon  <levon@movementarian.org>
8847
8848         * ToolbarBackend.h:
8849         * ToolbarBackend.C:
8850         * Makefile.am: rename, remove defaults gunk
8851
8852         * MenuBackend.h:
8853         * MenuBackend.C: remove defaults gunk
8854
8855         * Languages.h:
8856         * Languages.C: remove defaults gunk
8857
8858         * lyx_main.h:
8859         * lyx_main.C: error out if files couldn't be found.
8860
8861 2003-04-02  John Levon  <levon@movementarian.org>
8862
8863         * text2.C: make incDepth() use parlist
8864
8865 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8866
8867         * undo_funcs.C (firstUndoParagraph): adjust
8868
8869         * text3.C (gotoInset): adjust
8870         (dispatch): adjust, and rewrite loop.
8871
8872         * text2.C (init): adjust, and rewrite loop.
8873         (redoParagraphs): adjust
8874         (updateInset): adjust, and rewrite loop.
8875         (deleteEmptyParagraphMechanism): adjust
8876
8877         * tabular.C (LyXTabular): adjust
8878         (SetMultiColumn): adjust
8879         (TeXRow): adjust
8880
8881         * lyxtext.[Ch] (ownerParagraph): delete function
8882         (ownerParagraphs): new function returns a ParagraphList.
8883
8884         * BufferView.C (removeAutoInsets): adjust
8885         (insertErrors): adjust
8886         (setCursorFromRow): adjust
8887
8888 2003-04-01  Angus Leeming  <leeming@lyx.org>
8889
8890         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8891         in the frontends.
8892
8893 2003-04-02  John Levon  <levon@movementarian.org>
8894
8895         * lyxtext.h:
8896         * text.C:
8897         * Makefile.am:
8898         * text_funcs.h:
8899         * text_funcs.C: make transposeChars a free function
8900
8901         * lyxrow_funcs.C: remove wrong comment
8902
8903 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8904
8905         * lyxtext.h: adjust
8906         * rowpainter.C: adjust
8907         * text.C: adjust
8908         * text2.C: adjust
8909         * text3.C: adjust
8910
8911         * lyxrow_funcs. [Ch]: new files
8912
8913         * lyxrow.[Ch]: remove next and previous pointers
8914         (next,previous): remove accessor functions
8915         (isParEnd): move to lyxrow_funcs
8916         (lastPos): move to lyxrow_funcs
8917         (nextRowIsAllInset): move to lyxrow_funcs
8918         (lastPrintablePos): move to lyxrow_funcs
8919         (numberOfSeparators): move to lyxrow_funcs
8920         (numberOfHfills): move to lyxrow_funcs
8921         (numberOfLabelHfills): move to lyxrow_funcs
8922         (hfillExpansion): move to lyxrow_funcs
8923
8924         * lyxfunc.C: adjust
8925
8926         * bufferview_funcs.C (toggleAndShow): adjust
8927
8928         * RowList.h: Remove class RowList from file leave just a
8929         std::list<Row>.
8930
8931         * RowList.C: delete file
8932
8933         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8934         and lyxrow_funcs.h
8935
8936 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8937
8938         * text3.C (cursorPrevious): adjust
8939         (cursorNext): adjust
8940         (dispatch): adjust
8941
8942         * text2.C (redoHeightOfParagraph): adjust
8943         (redoDrawingOfParagraph): adjust
8944         (setCursor): adjust
8945
8946         * text.C (breakParagraph): adjust
8947         (insertChar): adjust
8948         (backspace): adjust
8949
8950         * rowpainter.C (RowPainter): adjust
8951         (leftMargin): simplify and adjust
8952         (most rowpainter functions): adjust.
8953
8954         * rowpainter.h: store the row as RowList::iterator not as Row*
8955
8956         * lyxcursor.C (row): taka RowList::iterator as arg
8957         (irow): ditto
8958
8959         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8960         of Row*.
8961
8962 2003-04-01  Angus Leeming  <leeming@lyx.org>
8963
8964         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8965         stuff like bool Bool.
8966
8967 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8968
8969         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8970         rewrite a loop
8971
8972 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8973
8974         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8975         RowList::iterator.
8976
8977         * lyxtext.h (rows): drop one version and leve a const variant that
8978         returns a RowList::iterator.
8979
8980 2003-03-31  Angus Leeming  <leeming@lyx.org>
8981
8982         * text.C (fill): ensure that the signature is the same as that in the
8983         header file.
8984
8985 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8986
8987         * text2.C (redoParagraphs): adjust
8988         (updateCounters): adjust
8989         (checkParagraph): adjust
8990         (getColumnNearX): adjust and reformat a bit.
8991
8992         * text.C (top_y): adjust
8993         (workWidth): adjust
8994         (leftMargin): adjust
8995         (prepareToPrint): adjust
8996         (getRow): adjust
8997         (getRowNearY): adjust
8998
8999         * lyxtext.h: make rowlist_ mutable.
9000
9001         * RowList.h: add const_iterator
9002         * RowList.C: adjust for RowList::const_iterator.
9003
9004         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9005         adjust.
9006
9007 2003-03-31  John Levon  <levon@movementarian.org>
9008
9009         * lyxrc.h:
9010         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9011
9012         * lyx_main.C: set default fonts from using lyx_gui funcs
9013
9014         * exporter.C: pdf_mode moved from lyxrc
9015
9016         * lyx_cb.C:
9017         * lyxfunc.C: changes from above
9018
9019 2003-03-31  John Levon  <levon@movementarian.org>
9020
9021         * lyx_main.C: fix to the last fix
9022
9023 2003-03-31  John Levon  <levon@movementarian.org>
9024
9025         * bufferlist.C: "Load original" -> "Load Original"
9026
9027         * converter.C:
9028         * exporter.C:
9029         * importer.C:
9030         * lyx_main.C:
9031         * format.C: more Alert cleanups
9032
9033 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9034
9035         * text2.C (removeParagraph): make it take a RowList::iterator as
9036         arg, adjust.
9037         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9038         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9039
9040         * text.C (anchor_row): make it take a RowList::iterator as arg,
9041         adjust.
9042         (computeBidiTables): make it take a const reference to Row instead
9043         of Row pointer, adjust.
9044         (leftMargin): make it take a RowList::iterator as arg, adjust.
9045         (rowBreakPoint): adjust
9046         (breakAgainOneRow): make it take a RowList::iterator as arg,
9047         adjust.
9048         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9049
9050         * bufferview_funcs.C (toggleAndShow): adjust
9051
9052 2003-03-30  John Levon  <levon@movementarian.org>
9053
9054         * Makefile.am:
9055         * BoostFormat.h:
9056         * boost-inst.C: moved to support
9057
9058         * several files: changes as a result
9059
9060 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9061
9062         * text2.C (LyXText): adjust.
9063         (init): adjust
9064         (removeRow): make it take a RowList::iterator as arg, adjust.
9065         (fullRebreak): adjust
9066         (deleteEmptyParagraphMechanism): adjust
9067         (clearPaint): adjust
9068         (postPaint): adjust
9069
9070         * text.C (top_y): adjust
9071         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9072         (breakAgain): make it take a RowList::iterator as arg, adjust.
9073         (breakParagraph): adjust
9074         (insertChar): adjust
9075         (backspace): adjust
9076
9077         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9078         need_break_row, and refresh_row.
9079
9080         * text3.C (dispatch): adjust
9081
9082         * text2.C (checkParagraph): adjust
9083         (setCursor): adjust
9084         (setCursorFromCoordinates): adjust
9085
9086         * text.C (top_y): adjust
9087         (workWidth): adjust
9088         (getRow): make it return a RowList::iterator, adjust
9089         (getRowNearY): make it return a RowList::iterator, adjust
9090
9091         * text2.C (init): adjust
9092         (insertRow): remove function
9093         (insertParagraph): adjust
9094         (redoParagraphs): adjust
9095         (fullRebreak): adjust
9096         (updateCounters): adjust
9097
9098         * text.C (top_y): rewrite to use RowList iterators.
9099         (top_y): adjust
9100         (setHeightOfRow): rewrite to sue RowList iterators.
9101         (appendParagraph): adjust
9102         (breakAgain): adjust
9103         (breakAgainOneRow): adjust
9104         (breakParagraph): adjust
9105         (getRow): adjust
9106         (getRowNearY): adjust, and remove commented code.
9107
9108         * lyxtext.h (firstRow): delete function
9109         (lastRow): delete function
9110         (rows): new function (const and non-const versions.)
9111         (insertRow): delete function
9112
9113         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9114
9115 2003-03-29  John Levon  <levon@movementarian.org>
9116
9117         * BufferView_pimpl.C: always update scrollbar top
9118         because pasting text when we're anchored could mean we
9119         miss an update altogether
9120
9121 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9122
9123         * text2.C (init): use rowlist_.end() and not 0.
9124         (insertRow): change to take a RowList::iterator as arg, adjust
9125         for this.
9126         (insertParagraph): change to take a RowList::iterator as arg,
9127         adjust for this.
9128         (redoParagraphs): remove some debug msgs.
9129
9130         * text.C (appendParagraph): change to take a RowList::iterator
9131         arg, adjust for this.
9132         (breakAgain): add an assert
9133         (breakAgainOneRow): ditto
9134
9135 2003-03-29  John Levon  <levon@movementarian.org>
9136
9137         * text2.C: do not clear selection after inc/decDepth
9138         (bug 550)
9139
9140 2003-03-29  John Levon  <levon@movementarian.org>
9141
9142         * BufferView.C:
9143         * buffer.C: fix broken strerrors according to Lars
9144
9145 2003-03-29  John Levon  <levon@movementarian.org>
9146
9147         * converters.C: more Alert cleanups
9148
9149 2003-03-29  John Levon  <levon@movementarian.org>
9150
9151         * bufferview_funcs.C: remove pointless Alert
9152
9153         * buffer.C: fix confusing error message when
9154         a template is chmoded 000
9155
9156 2003-03-29  John Levon  <levon@movementarian.org>
9157
9158         * BufferView.C:
9159         * BufferView.h:
9160         * BufferView_pimpl.C: Alert fixes
9161
9162         * Makefile.am:
9163         * tabular.C:
9164         * tabular-old.C: remove unused table compat reading
9165
9166 2003-03-29  John Levon  <levon@movementarian.org>
9167
9168         * BufferView.C:
9169         * buffer.C:
9170         * lyx_cb.h:
9171         * lyx_cb.C: more Alert cleanups
9172
9173         * lyxfunc.C: don't allow chktex if not latex document
9174
9175 2003-03-29  John Levon  <levon@movementarian.org>
9176
9177         * lyx_cb.C:
9178         * BufferView.C:
9179         * buffer.C: warnings pushed down from support/,
9180         kill err_alert
9181
9182 2003-03-29  John Levon  <levon@movementarian.org>
9183
9184         * lyxfunc.C: safety check for C-r (revert)
9185
9186 2003-03-29  John Levon  <levon@movementarian.org>
9187
9188         * bufferlist.h:
9189         * bufferlist.C: several UI fixes using Alert::prompt.
9190         Fix the pointless looping quit code. Fix stupid revert
9191         behaviour (bug 938)
9192
9193         * lyxvc.h:
9194         * lyxvc.C:
9195         * lyx_cb.C: use Alert::prompt
9196
9197         * lyx_main.C: remove a silly question
9198
9199         * lyxfunc.C: remove a couple of silly questions,
9200         use Alert::prompt
9201
9202 2003-03-28  John Levon  <levon@movementarian.org>
9203
9204         * text2.C: fix bug 974 (End on empty par)
9205
9206 2003-03-28  John Levon  <levon@movementarian.org>
9207
9208         * BufferView_pimpl.C:
9209         * LyXAction.C:
9210         * lfuns.h: remove do-nothing math greek lfuns
9211
9212 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9213
9214         * lyxgluelength.h (isValidGlueLength): add default arg on
9215         parameter 2. Remove default arg from friend in class.
9216
9217         * lyxlength.h (isValidLength): add default arg on parameter 2.
9218         Remove default arg from friend in class.
9219
9220         * text2.C (LyXText): adjust, initialize refresh_row.
9221         (init): adjust
9222         (removeRow): adjust
9223         (insertRow): adjust
9224         (insertParagraph): adjst
9225         (redoParagraphs): adjust
9226         (fullRebreak): adjust
9227         (updateCounters): adjust
9228         (deleteEmptyParagraphMechanism): first attempt at fixing a
9229         crashing bug.
9230
9231         * text.C (top_y): adjust
9232         (setHeightOfRow): adjust
9233         (getRow): adjust
9234         (getRowNearY): adjust
9235
9236         * lyxtext.h: include RowList.h
9237         (~LyXText): not needed anymore, deleted.
9238         (firstRow): modify for RowList
9239         (lastRow): new function
9240         Delete firstrow and lastrow class variables, add a Rowlist
9241         rowlist_ class variable.
9242
9243         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9244         paragraph is empty.
9245
9246         * RowList.C (insert): fix case where it == begin().
9247
9248 2003-03-26  Angus Leeming  <leeming@lyx.org>
9249
9250         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9251         the thesaurus dialog.
9252
9253 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9254
9255         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9256
9257         * RowList.[Ch]: new files
9258
9259         * ParagraphList.C (erase): handle the case where it == begin
9260         correctly.
9261
9262 2003-03-25  John Levon  <levon@movementarian.org>
9263
9264         * Makefile.am:
9265         * aspell_local.h:
9266         * aspell.C: add new aspell support
9267
9268         * lyxrc.h:
9269         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9270         have it accessible.
9271
9272 2003-03-25  Angus Leeming  <leeming@lyx.org>
9273
9274         * lfuns.h:
9275         * LyXAction.C (init): new LFUN_INSET_INSERT.
9276
9277         * BufferView_pimpl.C (dispatch): split out part of the
9278         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9279
9280         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9281         LFUN_INSET_APPLY.
9282
9283 2003-03-25  Angus Leeming  <leeming@lyx.org>
9284
9285         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9286
9287 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9288
9289         * text2.C:
9290         * text3.C: remove useless row->height(0)
9291
9292 2003-03-25  John Levon  <levon@movementarian.org>
9293
9294         * lyxtext.h:
9295         * text2.C:
9296         * text3.C: rename the refreshing stuff to better names
9297
9298 2003-03-24  John Levon  <levon@movementarian.org>
9299
9300         * BufferView_pimpl.h:
9301         * BufferView_pimpl.C: update layout choice on a mouse
9302         press/release
9303
9304 2003-03-23  John Levon  <levon@movementarian.org>
9305
9306         * Makefile.am: fix commandtags.h reference
9307
9308 2003-03-22  John Levon  <levon@movementarian.org>
9309
9310         * BufferView_pimpl.C:
9311         * lyxtext.h:
9312         * rowpainter.C:
9313         * rowpainter.h:
9314         * text.C:
9315         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9316
9317 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9318
9319         * lyxtext.h:
9320         * text.C: take the rtl methods out of line
9321
9322 2003-03-21 André Pönitz <poenitz@gmx.net>
9323
9324         * metricsinfo.[Ch]: new files containing structures to be passed around
9325         during the two-phase-drawing...
9326
9327 2003-03-21 André Pönitz <poenitz@gmx.net>
9328
9329         * lyxtextclass.C: read 'environment' tag.
9330
9331 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9332
9333         * text2.C (removeRow): fix bug 964
9334
9335 2003-03-20  John Levon  <levon@movementarian.org>
9336
9337         * rowpainter.C:
9338         * text.C:
9339         * text2.C: paint cleanups. Inset::update() dropped font
9340         parameter
9341
9342 2003-03-19  John Levon  <levon@movementarian.org>
9343
9344         * lyxfunc.C: only fitcursor/markDirty if available()
9345
9346 2003-03-19  John Levon  <levon@movementarian.org>
9347
9348         * commandtags.h: rename to ...
9349
9350         * lfuns.h: ... this, and renumber / cleanup
9351
9352 2003-03-19  John Levon  <levon@movementarian.org>
9353
9354         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9355         fit the cursor after an lfun
9356
9357         * BufferView.h:
9358         * BufferView.C:
9359         * BufferView_pimpl.h:
9360         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9361
9362         * LyXAction.C: layout-character should have ReadOnly
9363
9364         * ParagraphParameters.C:
9365         * buffer.C:
9366         * bufferview_funcs.C:
9367         * lyx_cb.C:
9368         * lyxfind.C:
9369         * lyxtext.h:
9370         * text.C:
9371         * text2.C:
9372         * text3.C:
9373         * undo_funcs.C: changes from above
9374
9375 2003-03-18  John Levon  <levon@movementarian.org>
9376
9377         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9378         remove it from update()
9379
9380         * lyxfunc.C: update layout choice after an lfun
9381
9382         * text3.C: remove extra updateLayoutChoice()s
9383
9384 2003-03-18  John Levon  <levon@movementarian.org>
9385
9386         * text.C: top_y change means full repaint, fix
9387         a drawing bug with cursor movement
9388
9389 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9390
9391         * lyxtext.h:
9392         * text.C:
9393         * text2.C: anchor row on setCursor
9394
9395 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9396
9397         * lyxtext.h: remove almost all mutable keywords
9398         * text.C:
9399         * text2.C:
9400         * text3.C: remove const keywords accordingly
9401
9402 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9403
9404         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9405         anon namespace
9406         (TeXEnvironment): ditto
9407         (TeXOnePar): ditto
9408
9409 2003-03-17  John Levon  <levon@movementarian.org>
9410
9411         * text.C (rowBreakPoint): remove attempt to fix displayed
9412         math insets inside a manual label
9413
9414 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9415
9416         * lyxtext.h: remove BufferView* as first arg from almost all class
9417         functions.
9418         * other files: adjust.
9419
9420 2003-03-17  John Levon  <levon@movementarian.org>
9421
9422         * lyxtext.h:
9423         * undo_funcs.C:
9424         * text2.C: more paint cleanups
9425
9426         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9427
9428         * rowpainter.h:
9429         * rowpainter.C: remove "smart" background painting code
9430
9431 2003-03-16  John Levon  <levon@movementarian.org>
9432
9433         * lyxtext.h:
9434         * text.C:
9435         * text2.C:
9436         * text3.C: add helper functions for setting refresh_row/y
9437
9438 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9439
9440         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9441         newline inset which *can* get inserted in the pass_thru layouts.
9442         This is primarily for literate documents.
9443
9444 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9445
9446         * buffer.C: increment LYX_FORMAT to 223
9447
9448 2003-03-14 André Pönitz <poenitz@gmx.net>
9449
9450         * textclass.h: prepare for environment handling, ws changes
9451         * lyxlayout.C: read latexheader and latexfooter tags
9452
9453 2003-03-14  John Levon  <levon@movementarian.org>
9454
9455         * text2.C: rewrite ::status() a bit
9456
9457 2003-03-13  John Levon  <levon@movementarian.org>
9458
9459         * lyxtext.h: add some docs
9460
9461 2003-03-13  John Levon  <levon@movementarian.org>
9462
9463         * lyxtext.h:
9464         * text.C:
9465         * text2.C:
9466         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9467
9468 2003-03-13  John Levon  <levon@movementarian.org>
9469
9470         * text3.C: fix appendix redrawing
9471
9472 2003-03-13  John Levon  <levon@movementarian.org>
9473
9474         * text.C (setHeightOfRow):
9475         * rowpainter.h:
9476         * rowpainter.C: make appendix mark have the text
9477           "Appendix" so the user knows what it is
9478
9479         * LColor.h:
9480         * LColor.C: s/appendixline/appendix/ from above
9481
9482 2003-03-13  John Levon  <levon@movementarian.org>
9483
9484         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9485
9486         * text.C: fix a getChar(pos) bug properly
9487
9488 2003-03-13  Angus Leeming  <leeming@lyx.org>
9489
9490         * commandtags.h:
9491         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9492         Probably only temporary. Let's see how things pan out.
9493
9494         * BufferView.C (unlockInset):
9495         * BufferView_pimpl.C (fitCursor):
9496         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9497
9498         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9499         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9500
9501         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9502         new functions that convert ParagraphParameters to and from a string.
9503
9504         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9505         BufferView::Pimpl's dispatch.
9506         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9507
9508 2003-03-13 André Pönitz <poenitz@gmx.net>
9509
9510         * lyxfunc.C:
9511         * text3.C:
9512         * factory.C: make it aware of InsetEnv
9513
9514 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9515
9516         * text2.C (setCursor): never ask for one past last
9517         (setCursor): add some debugging messages.
9518
9519         * text.C (singleWidth): never ask for one past last
9520         (singleWidth): ditto
9521         (leftMargin): ditto
9522         (rightMargin): ditto
9523         (rowBreakPoint): ditto
9524         (setHeightOfRow): ditto
9525         (prepareToPrint): ditto
9526
9527         * rowpainter.C (paintBackground): never ask for one past last
9528         (paintText): never ask for one past last
9529
9530         * paragraph_pimpl.C (getChar): make the assert stricter, never
9531         allow the one past last pos to be taken
9532
9533         * paragraph.C (getChar): ws changes only
9534
9535         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9536         (numberOfSeparators): ditto
9537         (numberOfHfills): ditto
9538
9539 2003-03-12  John Levon  <levon@movementarian.org>
9540
9541         * author.h:
9542         * author.C:
9543         * bufferparams.h:
9544         * bufferparams.C:
9545         * paragraph_funcs.C: fix per-buffer authorlists
9546
9547 2003-03-12  John Levon  <levon@movementarian.org>
9548
9549         * text.C: fix newline in right address
9550
9551 2003-03-12  Angus Leeming  <leeming@lyx.org>
9552
9553         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9554         duplicate those in LyXFunc::dispatch.
9555
9556         * commandtags.h:
9557         * LyXAction.C:
9558         * ToolbarDefaults.C:
9559         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9560         Add LFUN_FONTFREE_UPDATE.
9561
9562         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9563         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9564
9565         * bufferview_func.[Ch]: several new functions to facilliate
9566         transfer of data to and from the character dialog.
9567
9568 2003-03-12  John Levon  <levon@movementarian.org>
9569
9570         * buffer.C:
9571         * paragraph.h:
9572         * paragraph.C:
9573         * paragraph_funcs.C:
9574         * paragraph_pimpl.C:
9575         * sgml.C:
9576         * tabular.C:
9577         * text.C:
9578         * text3.C: remove META_NEWLINE in favour of an inset
9579
9580         * rowpainter.h:
9581         * rowpainter.C: remove paintNewline (done by inset)
9582
9583 2003-03-12  John Levon  <levon@movementarian.org>
9584
9585         * paragraph_pimpl.C: complain about bad getChar()s
9586         for a while at least
9587
9588 2003-03-12  John Levon  <levon@movementarian.org>
9589
9590         * buffer.h:
9591         * buffer.C: move paragraph read into a separate function,
9592         a little renaming to reflect that.
9593
9594         * bufferparams.h:
9595         * bufferparams.C: remove the author_ids map, not necessary now
9596
9597         * factory.h:
9598         * factory.C: moved Buffer::readInset to here
9599
9600         * paragraph_funcs.h:
9601         * paragraph_funcs.C: readParagraph free function moved from
9602         buffer.C
9603
9604         * tabular.C: name change
9605
9606 2003-03-12  John Levon  <levon@movementarian.org>
9607
9608         * buffer.C:
9609         * ParagraphParameters.C: move par params input to
9610         a read() method
9611
9612         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9613         behave like a normal read from the stream wrt reading
9614         a line vs. a \\token
9615
9616 2003-03-12  John Levon  <levon@movementarian.org>
9617
9618         * paragraph.C:
9619         * ParagraphParameters.h:
9620         * ParagraphParameters.C: move output code to a
9621         ::write() method
9622
9623 2003-03-12  John Levon  <levon@movementarian.org>
9624
9625         * BufferView.C (insertLyXFile):
9626         * buffer.h:
9627         * buffer.C:
9628         * tabular.C: use a parlist iterator for creating the
9629           document.
9630
9631 2003-03-12  John Levon  <levon@movementarian.org>
9632
9633         * buffer.C: make current_change static local not
9634           static file-scope
9635
9636 2003-03-12  John Levon  <levon@movementarian.org>
9637
9638         * buffer.C: fix insertStringAsLines for change tracking
9639
9640 2003-03-12  John Levon  <levon@movementarian.org>
9641
9642         * BufferView.C:
9643         * tabular.C:
9644         * buffer.h:
9645         * buffer.C:
9646         * bufferparams.h:
9647         * bufferparams.C: move author list into params. Rename some
9648           functions. Move the header reading into a separate token
9649           loop. Move the header token reading into BufferParams.
9650
9651 2003-03-12  John Levon  <levon@movementarian.org>
9652
9653         * changes.C: put debug inside lyxerr.debugging() checks
9654
9655 2003-03-11 André Pönitz <poenitz@gmx.net>
9656
9657         * factory.C: make it aware of InsetHFill
9658
9659 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9660
9661         * buffer.C (latexParagraphs): move function from here...
9662         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9663         args.
9664
9665 2003-03-10  Angus Leeming  <leeming@lyx.org>
9666
9667         * LyXAction.C (init): fix bug in poplating array with multiple entries
9668         with the same LFUN (spotted by JMarc).
9669
9670 2003-03-10  John Levon  <levon@movementarian.org>
9671
9672         * text.C:
9673         * text2.C: move getColumnNearX() near its
9674         only call site
9675
9676 2003-03-10  John Levon  <levon@movementarian.org>
9677
9678         * text.C: fix break before a minipage
9679
9680 2003-03-10  John Levon  <levon@movementarian.org>
9681
9682         * text.C: fix the last commit
9683
9684 2003-03-09  John Levon  <levon@movementarian.org>
9685
9686         * lyxtext.h:
9687         * text.C:
9688         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9689         bug 365 (don't break before insets unless needed). Don't
9690         return a value > last under any circumstances.
9691
9692 2003-03-09  Angus Leeming  <leeming@lyx.org>
9693
9694         * BufferView_pimpl.C (trackChanges, dispatch): call
9695         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9696
9697 2003-03-09  Angus Leeming  <leeming@lyx.org>
9698
9699         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9700         than Dialogs::showAboutlyx().
9701
9702 2003-03-09  Angus Leeming  <leeming@lyx.org>
9703
9704         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9705         than Dialogs::showTabularCreate().
9706
9707 2003-03-09  John Levon  <levon@movementarian.org>
9708
9709         * lyxtext.h:
9710         * text.C:
9711         * text2.C: 3rd arg to nextBreakPoint was always the same.
9712           Use references.
9713
9714 2003-03-08  John Levon  <levon@movementarian.org>
9715
9716         * lyxrow.C:
9717         * paragraph.C:
9718         * paragraph.h:
9719         * rowpainter.C:
9720         * text.C:
9721         * text2.C: Remove the "main" bit from the "main body"
9722           notion.
9723
9724 2003-03-08  John Levon  <levon@movementarian.org>
9725
9726         * text.C (leftMargin): The left margin of an empty
9727         manual label paragraph should not include the label width
9728         string length.
9729
9730         * text.C (prepareToPrint): don't attempt to measure hfills
9731         for empty manual label paragraphs - the answer should be 0
9732
9733 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9734
9735         * CutAndPaste.C: remove commented code and reindent.
9736
9737 2003-03-08  John Levon  <levon@movementarian.org>
9738
9739         * lyxfunc.h:
9740         * lyxfunc.C: move reloadBuffer()
9741
9742         * BufferView.h:
9743         * BufferView.C: to here
9744
9745         * lyxvc.C: add comment
9746
9747         * vc-backend.h:
9748         * vc-backend.C: call bv->reload() to avoid
9749           getStatus() check on MENURELOAD
9750
9751 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9752
9753         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9754         to an old format .dep file.
9755
9756 2003-03-07  Angus Leeming  <leeming@lyx.org>
9757
9758         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9759         when the LFUN_MOUSE_RELEASE should have been handled by
9760         inset->localDispatch.
9761
9762 2003-03-07  Angus Leeming  <leeming@lyx.org>
9763
9764         * BufferView_pimpl.C (dispatch):
9765         * LyXAction.C (init):
9766         * ToolbarDefaults.C (init):
9767         * commandtags.h:
9768         * lyxfunc.C (getStatus):
9769         remove LFUN_INSET_GRAPHICS.
9770
9771         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9772
9773 2003-03-07  Angus Leeming  <leeming@lyx.org>
9774
9775         * commandtags.h:
9776         * LyXAction.C (init):
9777         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9778
9779         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9780
9781         * commandtags.h:
9782         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9783
9784         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9785         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9786
9787 2003-03-07  Angus Leeming  <leeming@lyx.org>
9788
9789         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9790         remove "ert".
9791
9792 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9793
9794         * ParagraphList.C (front): new function
9795         (back): implement
9796
9797 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9798
9799         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9800         and top_row_offset_. removed var first_y.
9801         * text.C (top_y):
9802         * text2.C (LyXText, removeRow):
9803         * text3.C:
9804         * BufferView_pimpl.C:
9805         use these methods instead of using first_y
9806
9807 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9808
9809         * text2.C (pasteSelection): adjust for checkPastePossible
9810
9811         * CutAndPaste.C: remove Paragraph * buf and replace with
9812         ParagraphList paragraphs.
9813         (DeleteBuffer): delete
9814         (cutSelection): change the tc type to textclass_type
9815         (copySelection): change the tc type to textclass_type
9816         (copySelection): adjust for ParagraphList
9817         (pasteSelection): change the tc type to textclass_type
9818         (pasteSelection): adjust for Paragraphlist
9819         (nrOfParagraphs): simplify for ParagraphList
9820         (checkPastePossible): simplify for ParagraphList
9821         (checkPastePossible): remove unused arg
9822
9823         * ParagraphList.C (insert): handle the case where there are no
9824         paragraphs yet.
9825
9826         * CutAndPaste.h: make CutAndPaste a namespace.
9827
9828         * text3.C (dispatch): adjust
9829
9830         * text.C (breakParagraph): add a ParagraphList as arg
9831
9832         * paragraph_funcs.C (breakParagraph): change to take a
9833         BufferParams and a ParagraphList as args.
9834         (breakParagraphConservative): ditto
9835         (mergeParagraph): ditto
9836         (TeXDeeper): add a ParagraphList arg
9837         (TeXEnvironment): ditto
9838         (TeXOnePar): ditto
9839
9840         * buffer.C (readLyXformat2): adjust
9841         (insertStringAsLines): adjust
9842         (latexParagraphs): adjust
9843
9844         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9845         (cutSelection): adjust
9846         (pasteSelection): adjust
9847
9848         * BufferView_pimpl.C (insertInset): adjust
9849
9850 2003-03-05  Angus Leeming  <leeming@lyx.org>
9851
9852         * commandtags.h:
9853         * LyXAction.C (init):
9854         * BufferView_pimpl.C (dispatch):
9855         * lyxfunc.C (getStatus):
9856         remove LFUN_CHILD_INSERT.
9857
9858         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9859
9860 2003-03-05  Angus Leeming  <leeming@lyx.org>
9861
9862         * commandtags.h:
9863         * LyXAction.C (init):
9864         * src/factory.C (createInset):
9865         * lyxfunc.C (getStatus):
9866         * text3.C (dispatch):
9867         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9868
9869         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9870
9871 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9872
9873         * ParagraphList.C (insert): handle insert right before end()
9874         (erase): fix cases where it can be first or last paragraph.
9875
9876 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9877
9878         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9879         Paragraph::next and Paragraph::previous
9880         (TeXOnePar): ditto
9881
9882         * text.C (breakParagraph): adjust
9883
9884         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9885         BufferParams& as arg.
9886         (breakParagraph): use ParagraphList::insert
9887         (breakParagraphConservative): take a Buffer* instead of a
9888         BufferParams& as arg.
9889         (breakParagraphConservative): use ParagraphList::insert.
9890
9891         * buffer.C (insertStringAsLines): un-const it
9892         (insertStringAsLines): adjust
9893
9894         * ParagraphList.C (insert): new function
9895
9896         * CutAndPaste.C (pasteSelection): adjust
9897
9898         * text.C (backspace): adjust
9899
9900         * tabular.C (SetMultiColumn): adjust
9901
9902         * CutAndPaste.C (cutSelection): adjust
9903         (pasteSelection): adjust
9904
9905         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9906         Buffer const * as arg
9907
9908         * ParagraphList.C (erase): new function
9909         * paragraph_funcs.C (mergeParagraph): use it
9910         (mergeParagraph): make it take a Buffer* instead of a
9911         BufferParams* as arg
9912
9913         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9914         as arg
9915         (breakParagraphConservative): ditto
9916
9917         * paragraph.h: remove the breakParagraph friend
9918
9919         * paragraph.C (eraseIntern): new function
9920         (setChange): new function
9921
9922         * paragraph_funcs.C (mergeParagraph): make it take a
9923         ParagraphList::iterator instead of a Paragraph *, adjust
9924         accordingly.
9925
9926         * paragraph.h: move an #endif so that the change tracking stuff
9927         also works in the NO_NEXT case.
9928
9929 2003-03-04  Angus Leeming  <leeming@lyx.org>
9930
9931         * commandtags.h:
9932         * LyXAction.C: new LFUN_INSET_MODIFY.
9933
9934         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9935         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9936
9937 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9938
9939         * several files: ws changes only
9940
9941         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9942         (TeXEnvironment): ditto
9943         (TeXDeeper): ditto
9944
9945         * buffer.C (makeLaTeXFile): adjust
9946         (latexParagraphs): make it take ParagraphList::iterator as args
9947
9948 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9949
9950         * buffer.C (latexParagraphs): adjust
9951
9952         * paragraph.C (TeXOnePar): move function...
9953         (optArgInset): move function...
9954         (TeXEnvironment): move function...
9955         * paragraph_pimpl.C (TeXDeeper): move function...
9956         * paragraph_funcs.C: ...here
9957
9958         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9959
9960 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9961
9962         * buffer.C (readInset): remove compability code for old Figure and
9963         InsetInfo insets
9964
9965 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9966
9967         * buffer.C: ws changes
9968         (readInset):
9969
9970         * BufferView_pimpl.C: ditto
9971         * author.C: ditto
9972         * buffer.h: ditto
9973         * bufferlist.h: ditto
9974         * changes.h: ditto
9975         * lyxfunc.C: ditto
9976
9977 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9978
9979         * converter.[Ch]: split into itself +
9980         * graph.[Ch]
9981         * format.[Ch]
9982         * Makefile.am: += graph.[Ch] + format.[Ch]
9983         * MenuBackend.C
9984         * buffer.C
9985         * exporter.C
9986         * importer.C
9987         * lyx_main.C
9988         * lyxfunc.C
9989         * lyxrc.C: added #include "format.h"
9990
9991 2003-02-27  Angus Leeming  <leeming@lyx.org>
9992
9993         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9994           a label.
9995
9996         * factory.C (createInset): add "label" to the factory.
9997
9998         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9999           string and do no more.
10000
10001 2003-02-27  Angus Leeming  <leeming@lyx.org>
10002
10003         * commandtags.h:
10004         * LyXAction.C (init):
10005         * factory.C (createInset):
10006         * BufferView_pimpl.C (dispatch):
10007           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10008
10009         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10010
10011         * lyxfunc.C (dispatch):
10012         * text3.C (dispatch): pass name to params2string.
10013
10014 2003-02-26  Angus Leeming  <leeming@lyx.org>
10015
10016         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10017           blocks together.
10018           Rearrange the ~includes. Strip out the unnecessary ones.
10019
10020         * factory.C (createInset): reformat.
10021           create new insets for the various LFUN_XYZ_APPLY lfuns.
10022
10023 2003-02-26  John Levon  <levon@movementarian.org>
10024
10025         * lyxrow.h:
10026         * lyxrow.C: add isParStart,isParEnd helpers
10027
10028         * paragraph.h: make isInserted/DeletedText take refs
10029
10030         * paragraph_funcs.h:
10031         * paragraph_funcs.C: remove #if 0'd code
10032
10033         * lyxtext.h:
10034         * text3.C:
10035         * text2.C:
10036         * text.C: use lyxrow helpers above.
10037           Move draw and paint routines to RowPainter.
10038           Make several methods use refs not pointers.
10039           Make backgroundColor() const.
10040           Add markChangeInDraw(), isInInset().
10041           Merge changeRegionCase into changeCase.
10042           Make workWidth() shouldn't-happen code into an Assert.
10043
10044         * rowpainter.h:
10045         * rowpainter.C: new class for painting a row.
10046
10047         * vspace.h:
10048         * vspace.C: make inPixels take a ref
10049
10050 2003-02-26  Angus Leeming  <leeming@lyx.org>
10051
10052         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10053         LFUN_REF_APPLY.
10054
10055 2003-02-25  John Levon  <levon@movementarian.org>
10056
10057         * ispell.C: give the forked command a more accurate name
10058
10059 2003-02-22  John Levon  <levon@movementarian.org>
10060
10061         * toc.h:
10062         * toc.C: make TocItem store an id not a Paragraph *
10063           (bug #913)
10064
10065 2003-02-21  Angus Leeming  <leeming@lyx.org>
10066
10067         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10068           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10069           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10070           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10071           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10072           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10073
10074         * BufferView_pimpl.C (dispatch):
10075         * LyXAction.C (init):
10076         * factory.C (createInset):
10077         * lyxfunc.C (getStatus, dispatch):
10078         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10079
10080 2003-02-21  Angus Leeming  <leeming@lyx.org>
10081
10082         * BufferView_pimpl.C (MenuInsertLyXFile):
10083         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10084         * lyxfunc.C (menuNew, open, doImport):
10085           no longer pass a LyXView & to fileDlg.
10086
10087 2003-02-21  Angus Leeming  <leeming@lyx.org>
10088
10089         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10090         * LyXAction.C: change, BIBKEY to BIBITEM.
10091         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10092         Change InsetBibKey to InsetBibitem.
10093         Change BIBKEY_CODE to BIBITEM_CODE.
10094         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10095         * factory.C: replace insetbib.h with insetbibitem.h.
10096         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10097         * paragraph.C: replace insetbib.h with insetbibitem.h.
10098         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10099         Change bibkey() to bibitem().
10100         * text.C: remove insetbib.h.
10101         * text2.C: replace insetbib.h with insetbibitem.h.
10102         change bibkey() to bibitem().
10103         * text3.C: remove insetbib.h.
10104         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10105
10106 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10107
10108         * lyxrc.C (output): enclose user email in quotes (in case there are
10109         several words)
10110
10111 2003-02-18  John Levon  <levon@movementarian.org>
10112
10113         * buffer.h: add std::
10114
10115 2003-02-17  John Levon  <levon@movementarian.org>
10116
10117         * SpellBase.h:
10118         * ispell.h:
10119         * ispell.C:
10120         * pspell.h:
10121         * pspell.C: reworking. Especially in ispell, a large
10122           number of clean ups and bug fixes.
10123
10124         * lyxfunc.C: fix revert to behave sensibly
10125
10126 2003-02-17 André Pönitz <poenitz@gmx.net>
10127
10128         * LyXAction.C:
10129         * commandtags.h: new LFUN_INSERT_BIBKEY
10130
10131         * layout.h:
10132         * lyxlayout.C:
10133         * buffer.C:
10134         * factory.C:
10135         * text.C:
10136         * text2.C:
10137         * text3.C:
10138         * paragraph.[Ch]:
10139         * paragraph_func.C: remove special bibkey handling
10140
10141 2003-02-17  John Levon  <levon@movementarian.org>
10142
10143         * text.C (Delete): fix case where delete at the end of
10144           the very first paragraph would not merge the pars
10145
10146 2003-02-17  John Levon  <levon@movementarian.org>
10147
10148         * lyxrow.C: fix lastPrintablePos()
10149
10150 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10151
10152         * bufferparams.C (writeLaTeX): add a std:here
10153
10154         * buffer.C: and remove a using directive there
10155
10156 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10157
10158         * buffer.C (makeLaTeXFile): move the code that generates the
10159           preamble...
10160
10161         * bufferparams.C (writeLaTeX): ... in this new method
10162
10163         * LaTeXFeatures.C (getEncodingSet): make const
10164           (getLanguages): make const
10165
10166         * MenuBackend.C (binding): returns the binding associated to this
10167           action
10168           (add): sets the status of each item by calling getStatus. Adds
10169           some intelligence.
10170           (read): add support for OptSubMenu
10171           (expand): remove extra separator at the end of expanded menu
10172
10173 2003-02-15  John Levon  <levon@movementarian.org>
10174
10175         * BufferView.C:
10176         * BufferView_pimpl.C:
10177         * bufferlist.h:
10178         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10179           inset code that had no actual effect. Remove unneeded status
10180           code.
10181
10182 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10183
10184         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10185           in preamble
10186
10187 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10188
10189         * text.C (drawLengthMarker): also draw an arrow marker for
10190           symbolic lengths (medskip...)
10191
10192 2003-02-14  John Levon  <levon@movementarian.org>
10193
10194         * tabular.h:
10195         * tabular.C: better method names
10196
10197 2003-02-14  John Levon  <levon@movementarian.org>
10198
10199         * BufferView_pimpl.C:
10200         * bufferlist.C:
10201         * buffer.C:
10202         * converter.C:
10203         * lyx_cb.C:
10204         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10205           it's a more accurate name. Remove some pointless uses.
10206
10207 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10208
10209         * text2.C (LyXText): change order of initilizers to shut off
10210           warnings
10211
10212 2003-02-14  John Levon  <levon@movementarian.org>
10213
10214         * buffer.C: use ParIterator for getParFromID()
10215
10216         * paragraph.h:
10217         * paragraph.C:
10218         * paragraph_pimpl.h:
10219         * paragraph_pimpl.C: remove unused getParFromID()
10220
10221 2003-02-14  John Levon  <levon@movementarian.org>
10222
10223         * buffer.C: remove some very old #if 0'd parse code
10224
10225 2003-02-13  John Levon  <levon@movementarian.org>
10226
10227         * text.h:
10228         * text.C:
10229         * text2.C: move hfillExpansion(), numberOfSeparators(),
10230           rowLast(), rowLastPrintable(), numberofHfills(),
10231           numberOfLabelHfills() ...
10232
10233         * lyxrow.h:
10234         * lyxrow.C: ... to member functions here.
10235
10236         * paragraph.h:
10237         * paragraph.C:
10238         * lyxtext.h:
10239         * text.C: remove LyXText::beginningOfMainBody(), and call
10240           p->beginningOfMainBody() directly. Move the check for
10241           LABEL_MANUAL into the latter.
10242
10243         * text.h:
10244         * text.C:
10245         * text2.C:
10246         * vspace.C:
10247         * BufferView.h:
10248         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10249
10250         * text.h:
10251         * text.C:
10252         * text2.C:
10253         * text3.C:
10254         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10255           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10256
10257 2003-02-13  John Levon  <levon@movementarian.org>
10258
10259         * CutAndPaste.C: remove debug
10260
10261 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * paragraph.C (asString): remove two unused variables
10264
10265         * lyxtextclass.C (readTitleType):
10266           (Read):
10267           (LyXTextClass): handle new members titletype_ and titlename_
10268
10269         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10270
10271 2003-02-09  John Levon  <levon@movementarian.org>
10272
10273         * buffer.h:
10274         * buffer.C: replace hand-coded list with a map for the dep clean
10275
10276 2003-02-08  John Levon  <levon@movementarian.org>
10277
10278         * LaTeX.C: consolidate code into showRunMessage() helper
10279
10280 2003-02-08  John Levon  <levon@movementarian.org>
10281
10282         * lyxfind.C:
10283         * lyxtext.h:
10284         * text2.C:
10285         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10286           and pass the size in explicitly
10287
10288         * BufferView_pimpl.h:
10289         * BufferView_pimpl.C:
10290         * BufferView.h:
10291         * BufferView.C: add getCurrentChange()
10292
10293         * BufferView_pimpl.h:
10294         * BufferView_pimpl.C: handle change lfuns
10295
10296         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10297           for changes. Mark pasted paragraphs as new.
10298
10299         * support/lyxtime.h:
10300         * support/lyxtime.C:
10301         * DepTable.C: abstract time_t as lyx::time_type
10302
10303         * LColor.h:
10304         * LColor.C: add colours for new text, deleted text, changebars
10305
10306         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10307           package use "usenames" option.
10308
10309         * commandtags.h:
10310         * lyxfunc.C:
10311         * LyXAction.C: add change lfuns
10312
10313         * Makefile.am:
10314         * author.h:
10315         * author.C: author handling
10316
10317         * buffer.h:
10318         * buffer.C: add a per-buffer author list, with first entry as
10319           current author. Handle new .lyx tokens for change tracking. Output
10320           author list to .lyx file. Output dvipost stuff to .tex preamble.
10321           Bump lyx format to 222.
10322
10323         * bufferlist.h:
10324         * bufferlist.C: add setCurrentAuthor() to reset current author details
10325           in all buffers.
10326
10327         * bufferparams.h:
10328         * bufferparams.C: add param for tracking
10329
10330         * bufferview_funcs.C: output change info in minibuffer
10331
10332         * Makefile.am:
10333         * changes.h:
10334         * changes.C: add change-tracking structure
10335
10336         * debug.h:
10337         * debug.C: add CHANGES debug flag
10338
10339         * lyxfind.h:
10340         * lyxfind.C: add code for finding the next change piece
10341
10342         * lyxrc.h:
10343         * lyxrc.C: add user_name and user_email
10344
10345         * lyxrow.h:
10346         * lyxrow.C: add a metric for the top of the text line
10347
10348         * lyxtext.h:
10349         * text.C: implement accept/rejectChange()
10350
10351         * lyxtext.h:
10352         * text.C: paint changebars. Paint new/deleted text in the chosen
10353         colours. Strike through deleted text.
10354
10355         * paragraph.h:
10356         * paragraph.C:
10357         * paragraph_pimpl.h:
10358         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10359           in the current change to the insert functions. Rework erase to
10360           mark text as deleted, adding an eraseIntern() and a range-based
10361           erase(). Implement per-paragraph change lookup and
10362           accept/reject.
10363
10364         * paragraph_funcs.C: Fixup paste for change tracking.
10365
10366         * tabular.C: mark added row/columns as new.
10367
10368         * text.C: fix rowLast() to never return -1. Don't allow
10369           spellchecking of deleted text. Track transpose changes. Don't
10370           allow paragraph break or merge where appropriate.
10371
10372         * text2.C: leave cursor at end of selection after a cut.
10373
10374 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10375
10376         * text.C (getLengthMarkerHeight):
10377         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10378         visible on screen too.
10379
10380 2003-02-07  John Levon  <levon@movementarian.org>
10381
10382         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10383
10384 2003-02-05  Angus Leeming  <leeming@lyx.org>
10385
10386         * lyxserver.C (read_ready): revert my patch of 11 September last year
10387         as it sends PC cpu through the roof. Presumably this means that
10388         the lyxserver will no longer run on an Alpha...
10389
10390 2003-01-30  Angus Leeming  <leeming@lyx.org>
10391
10392         * factory.C (createInset): create an InsetCommandParam of type "index"
10393         and use it to 'do the right thing'.
10394
10395         * text2.C (getStringToIndex): ensure that cursor position is always
10396         reset to the reset_cursor position.
10397
10398 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10399
10400         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10401         disabled.
10402
10403 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10404
10405         * bufferview.C:
10406         * lyxcb.C:
10407         * lyxfunc.C: Output messages with identical spelling, punctuation,
10408         and spaces
10409
10410 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10411
10412         * MenuBackend.C (expandFormats): List only viewable export formats
10413         in "View" menu
10414
10415         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10416         message
10417
10418         * lyxfunc.C (getStatus): Make sure that formats other than
10419         "fax" can also be disabled
10420
10421 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10422
10423         * text3.C (dispatch): put the lfuns that insert insets in 3
10424         groups, and call doInsertInset with appropriate arguments.
10425         (doInsertInset): new function, that creates an inset and inserts
10426         it according to some boolean parameters.
10427
10428 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10429
10430         * buffer.C (readFile): remember to pass on 'par' when calling
10431         readFile recursively.
10432
10433 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10434
10435         * MenuBackend.C (expandFormats): add "..." to import formats.
10436
10437 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10438
10439         * paragraph.C (asString): Remove XForms RTL hacks.
10440
10441 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10442         * buffer.C: fix typo
10443
10444 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10445
10446         * Makefile.am (LIBS): delete var
10447         (lyx_LDADD): add @LIBS@ here instead.
10448
10449 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10450
10451         * Clarify the meaning of "wheel mouse jump"
10452
10453 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10454
10455         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10456         tabular in a float
10457
10458 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10459
10460         * importer.C (Loaders): do not preallocate 3 elements in the
10461         vector, since one ends up with 6 elements otherwise
10462
10463 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10464
10465         * DepTable.C (write): write the file name as last element of the
10466         .dep file (because it may contain spaces)
10467         (read): read info in the right order
10468
10469 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10470
10471         * paragraph_pimpl.C (simpleTeXBlanks):
10472         (simpleTeXSpecialChars):
10473         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10474
10475         * tabular.C (latex): add some missing case statements. Reindent.
10476
10477         * MenuBackend.C (expandToc): remove unused variable.
10478
10479 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10480
10481         * LColor.C:
10482         * LaTeX.C:
10483         * LyXAction.C:
10484         * MenuBackend.C:
10485         * buffer.C:
10486         * exporter.C:
10487         * lyxfunc.C:
10488         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10489         and the like.
10490
10491 2003-01-05  John Levon  <levon@movementarian.org>
10492
10493         * BufferView.h:
10494         * BufferView.C: add getEncoding()
10495
10496         * kbsequence.h:
10497         * kbsequence.C: do not store last keypress
10498
10499         * lyxfunc.h:
10500         * lyxfunc.C: store last keypress here instead. Pass encoding
10501           to getISOEncoded()
10502
10503 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10504
10505         * lyx_main.C (init): remove annoying error message when following
10506         symbolic links (bug #780)
10507
10508 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10509
10510         * text.C (insertChar):
10511         * lyxrc.C (getDescription): remove extra spaces
10512
10513 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10514
10515         * lyxrc.C (getDescription): remove extra spaces
10516
10517 2002-12-20  John Levon  <levon@movementarian.org>
10518
10519         * text3.C: hack fix for page up/down across tall rows
10520
10521 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10522
10523         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10524         not been invoked
10525
10526 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10527
10528         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10529         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10530         thesaurus is not compiled in
10531
10532 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10533
10534         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10535
10536 2002-12-16  Angus Leeming  <leeming@lyx.org>
10537
10538         * lyxrc.[Ch]:
10539         * lyx_main.C (init): remove override_x_deadkeys stuff.
10540
10541 2002-12-12  John Levon  <levon@movementarian.org>
10542
10543         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10544           insert. Only remove shift modifier under strict
10545           circumstances.
10546
10547 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10548
10549         * MenuBackend.C (expandToc): fix crash.
10550
10551 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10552
10553         * MenuBackend.C (expandToc): gettext on float names.
10554
10555 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10556
10557         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10558         implement bool empty() [bug 490]
10559
10560 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10561
10562         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10563
10564 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10565
10566         * several files: ws changes
10567
10568 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10569
10570         * text2.C (setCounter): clean up a bit, use boost.format.
10571         (updateCounters): initialize par upon declaration.
10572
10573         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10574         if the layout exists. We do not just store the layout any more.
10575         (SwitchLayoutsBetweenClasses): use boost.format
10576
10577 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10578
10579         * converter.C (convert): if from and to files are the same, use a
10580         temporary files as intermediary
10581
10582 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10583
10584         * commandtags.h:
10585         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10586
10587 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10588
10589         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10590
10591 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10592
10593         * tabular.C (asciiPrintCell): use string(size, char) instead of
10594         explicit loop.
10595
10596         * sgml.C (openTag): fix order of arguments to string constructor
10597         (closeTag): ditto
10598
10599         * lyxfunc.C (dispatch): use boost.format
10600
10601         * lots of files: change "c" -> 'c'
10602
10603 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10604
10605         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10606
10607 2002-11-25  Angus Leeming  <leeming@lyx.org>
10608
10609         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10610
10611         * lyx_main.C (init): compile fix.
10612
10613 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10614
10615         * lyx_cb.C (start): boost.formatify
10616         do not include <iostream>
10617
10618         * lengthcommon.C: ws only
10619
10620         * boost-inst.C,BoostFormat.h: add more explict instantations
10621
10622 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10623
10624         * lots of files: handle USE_BOOST_FORMAT
10625
10626 2002-11-21  John Levon  <levon@movementarian.org>
10627
10628         * pspell.C: fix compile
10629
10630 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * lyxfunc.C (dispatch): use boost::format
10633         (open): ditto
10634         (doImport): ditto
10635
10636         * lyxfont.C (stateText): use boost::format
10637
10638         * lyx_main.C (LyX): use boost::format
10639         (init): ditto
10640         (queryUserLyXDir): ditto
10641         (readRcFile): ditto
10642         (parse_dbg): ditto
10643         (typedef boost::function): use the recommened syntax.
10644
10645         * importer.C (Import): use boost::format
10646
10647         * debug.C (showLevel): use boost::format
10648
10649         * converter.C (view): use boost::format
10650         (convert): ditto
10651         (move): ditto
10652         (scanLog): ditto
10653
10654         * bufferview_funcs.C (currentState): use boost::format
10655
10656         * bufferlist.C (emergencyWrite): use boost::format
10657
10658         * buffer.C (readLyXformat2): use boost::format
10659         (parseSingleLyXformat2Token): ditto
10660
10661         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10662
10663         * LaTeX.C (run): use boost::format
10664
10665         * Chktex.C (scanLogFile): use boost::format
10666
10667         * BufferView_pimpl.C (savePosition): use boost::format
10668         (restorePosition): ditto
10669         (MenuInsertLyXFile): ditto
10670
10671         * BoostFormat.h: help file for explicit instation.
10672
10673 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10674
10675         * tabular.C (latex): Support for block alignment in fixed width
10676         columns.
10677
10678 2002-11-17  John Levon  <levon@movementarian.org>
10679
10680         * BufferView_pimpl.C:
10681         * lyx_cb.C:
10682         * lyxfunc.C: split filedialog into open/save
10683
10684 2002-11-08  Juergen Vigna  <jug@sad.it>
10685
10686         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10687         by my last patch (hopefully).
10688
10689 2002-11-08  John Levon  <levon@movementarian.org>
10690
10691         * iterators.h:
10692         * iterators.C:
10693         * buffer.h:
10694         * buffer.C:
10695         * paragraph.h:
10696         * paragraph.C:
10697         * toc.h:
10698         * toc.C: ParConstIterator, and use it (from Lars)
10699
10700 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10701
10702         * lyxtextclass.[Ch]: revise and add doxygen comments
10703
10704 2002-11-07  John Levon  <levon@movementarian.org>
10705
10706         * text.C: fix progress value for spellchecker
10707
10708         * toc.C: fix navigate menu for insetwrap inside minipage
10709
10710         * paragraph_funcs.C: added FIXME for suspect code
10711
10712 2002-11-07  John Levon  <levon@movementarian.org>
10713
10714         * BufferView_pimpl.C: fix redrawing of insets
10715           on buffer switch
10716
10717 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10718
10719         * text2.C (updateCounters): fix bug 668
10720
10721 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10722
10723         * text3.C (dispatch): Do not make the buffer dirty when moving the
10724         cursor.
10725
10726 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10727
10728         * vc-backend.C: STRCONV
10729         (scanMaster): ditto
10730
10731         * text2.C (setCounter): STRCONV
10732
10733         * paragraph.C (asString): STRCONV
10734
10735         * lyxlength.C (asString): STRCONV
10736         (asLatexString): ditto
10737
10738         * lyxgluelength.C (asString): STRCONV
10739         (asLatexString): ditto
10740
10741         * lyxfunc.C (dispatch): STRCONV
10742         (open): ditto
10743
10744         * lyxfont.C (stateText): STRCONV
10745
10746         * importer.C (Import): STRCONV
10747
10748         * counters.C (labelItem): STRCONV
10749         (numberLabel): ditto
10750         (numberLabel): remove unused ostringstream o
10751
10752         * chset.C: STRCONV
10753         (loadFile): ditto
10754
10755         * bufferview_funcs.C (currentState): STRCONV
10756
10757         * buffer.C (readFile): STRCONV
10758         (asciiParagraph): ditto
10759         (makeLaTeXFile): ditto
10760
10761         * Spacing.C (writeEnvirBegin): STRCONV
10762
10763         * LaTeXFeatures.C (getLanguages): STRCONV
10764         (getPackages): ditto
10765         (getMacros): ditto
10766         (getBabelOptions): ditto
10767         (getTClassPreamble): ditto
10768         (getLyXSGMLEntities): ditto
10769         (getIncludedFiles): ditto
10770
10771         * LaTeX.C: STRCONV
10772         (run): ditto
10773         (scanAuxFile): ditto
10774         (deplog): ditto
10775
10776         * LString.h: add the STRCONV macros
10777
10778         * BufferView_pimpl.C (savePosition): STRCONV
10779         (restorePosition): ditto
10780         (MenuInsertLyXFile): ditto
10781
10782         * vc-backend.C (scanMaster): change from submatch[...] to
10783         submatch.str(...)
10784
10785         * funcrequest.C: include config.h
10786
10787         * factory.C: include config.h
10788
10789         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10790
10791         * box.C: include config.h
10792
10793         * LaTeX.C (scanAuxFile): change from submatch[...] to
10794         submatch.str(...)
10795         (deplog): ditto
10796
10797 2002-10-25  Angus Leeming  <leeming@lyx.org>
10798
10799         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10800
10801         * ispell.[Ch] (setError): new method.
10802         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10803         Use setError() insetead of goto END.
10804
10805         * lyx_cb.C (AutoSave): move out child process into new class
10806         AutoSaveBuffer.
10807
10808 2002-10-30  John Levon  <levon@movementarian.org>
10809
10810         * text3.C: make start appendix undoable
10811
10812 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10813
10814         * lyxlength.C (inPixels): Fix returned value.
10815
10816         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10817         environment.
10818
10819 2002-10-24  Angus Leeming  <leeming@lyx.org>
10820
10821         * lyxgluelength.h: no need to forward declare BufferParams
10822         or BufferView, so don't.
10823
10824 2002-10-21  John Levon  <levon@movementarian.org>
10825
10826         * BufferView.C: menuUndo ->undo, redo
10827
10828         * BufferView.h: document, remove dead, make some methods private
10829
10830         * paragraph_funcs.h:
10831         * paragraph_funcs.C:
10832         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10833
10834         * buffer.h:
10835         * buffer.C:
10836         * sgml.h:
10837         * sgml.C: move sgml open/close tag into sgml.C
10838
10839         * bufferview_funcs.h: unused prototype
10840
10841         * lyxfunc.h:
10842         * lyxfunc.C: remove unused
10843
10844         * lyxtext.h:
10845         * text.C: remove unused
10846
10847 2002-10-21  John Levon  <levon@movementarian.org>
10848
10849         * BufferView.h:
10850         * BufferView.C:
10851         * BufferView_pimpl.h:
10852         * BufferView_pimpl.C: fix mouse wheel handling based on
10853           patch from Darren Freeman
10854
10855 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10856
10857         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10858
10859 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10860
10861         * lyxlength.C (inPixels): Fix hanfling of negative length.
10862         Fix LyXLength::MU case.
10863
10864 2002-10-16  John Levon  <levon@movementarian.org>
10865
10866         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10867
10868 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10869
10870         * converter.C (view): add support for $$i (file name) and $$p
10871         (file path) for the viewer command. If $$i is not specified, then
10872         it is appended to the command (for compatibility with old syntax)
10873
10874 2002-10-14  Juergen Vigna  <jug@sad.it>
10875
10876         * undo_funcs.C (textHandleUndo): alter the order in which the
10877         new undopar is added to the LyXText, as we have to set first
10878         the right prev/next and then add it as otherwise the rebuild of
10879         LyXText is not correct. Also reset the cursor to the right paragraph,
10880         with this IMO we could remove the hack in "redoParagraphs()".
10881
10882 2002-10-09  Angus Leeming  <leeming@lyx.org>
10883
10884         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10885         to turn off an optimisation if a new inset is to be inserted.
10886
10887 2002-10-11 André Pönitz <poenitz@gmx.net>
10888
10889         * lyxtext.h: make some functions public to allow access
10890         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10891
10892 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10893
10894         * text3.C (dispatch): when changing layout, avoid an infinite loop
10895         [bug #652]
10896
10897 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10898
10899         * lyxrc.C (read): treat a viewer or converter command of "none" as
10900         if it were empty.
10901
10902         * MenuBackend.C (expandFormats): for an update, also allow the
10903         formats that are not viewable
10904
10905         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10906         script if it is newer than the lyxrc.defaults in user directory
10907
10908 2002-10-07 André Pönitz <poenitz@gmx.net>
10909
10910         * text.C: Vitaly Lipatov's small i18n fix
10911
10912 2002-09-25  Angus Leeming  <leeming@lyx.org>
10913
10914         * ispell.h: doxygen fix.
10915
10916 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10917
10918         * buffer.h (readFile): Add a new argument to the method, to allow
10919         reading of old-format templates.
10920
10921 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10922
10923         * toc.C (getTocList): Get TOC from InsetWrap.
10924
10925 2002-09-16  John Levon  <levon@movementarian.org>
10926
10927         * lyxfunc.C: check tabular for cut/copy too
10928
10929 2002-09-12  John Levon  <levon@movementarian.org>
10930
10931         * LyXAction.C: tidy
10932
10933         * factory.h:
10934         * factory.C: add header
10935
10936         * paragraph_funcs.h:
10937         * paragraph_funcs.C: cleanup
10938
10939 2002-09-11  John Levon  <levon@movementarian.org>
10940
10941         * PrinterParams.h: odd/even default to true
10942
10943 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10944
10945         * PrinterParams.h: update printer parameters for new xforms dialog
10946
10947 2002-09-11  Angus Leeming  <leeming@lyx.org>
10948
10949         * lyxserver.C (read_ready): re-write to make it more transparent
10950         and to make it work in coherent fashion under Tru64 Unix.
10951
10952 2002-09-11  André Pönitz <poenitz@gmx.net>
10953
10954         * commandtags.h:
10955         * LyXAction.C:
10956         * text3.C: implement LFUN_WORDSEL
10957
10958 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10959
10960         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10961         make floatlist_ a boost::shared_ptr<FloatList>
10962
10963         * lyxtextclass.C: include FloatList.h
10964         (LyXTextClass): initialize floatlist_
10965         (TextClassTags): add TC_NOFLOAT
10966         (Read): match "nofloat" to TC_NOFLOAT and use it.
10967         (readFloat): modify call to floatlist_
10968         (floats): ditto
10969         (floats): ditto
10970
10971         * FloatList.[Ch] (FloatList): remove commented out float
10972         initialization.
10973         (erase): new function
10974
10975 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10976
10977         * MenuBackend.C (expandToc): fix crash when there is no document
10978         open
10979
10980 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10981
10982         * many files: Add insetwrap.
10983
10984 2002-09-09  John Levon  <levon@movementarian.org>
10985
10986         * text2.C: remove confusing and awkward depth wraparound
10987
10988 2002-09-09  John Levon  <levon@movementarian.org>
10989
10990         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10991
10992         * buffer.h:
10993         * buffer.C: remove getIncludeonlyList()
10994
10995         * paragraph.C:
10996         * lyxfunc.C: remove headers
10997
10998 2002-09-09  Juergen Vigna  <jug@sad.it>
10999
11000         * text.C (getColumnNearX): fix form Michael this is most
11001         probably a cut&paste bug.
11002
11003 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11004
11005         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11006
11007         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11008         references, ws changes.
11009
11010         * text2.C (init): update counters after init
11011         (insertParagraph): no need to set counter on idividual paragraphs.
11012         (setCounter): access the counters object in the textclass object
11013         on in the buffer object.
11014         (updateCounters): ditto
11015
11016         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11017         shared_ptr<Counters> to avoid loading counters.h in all
11018         compilation units.
11019         (LyXTextClass): initialize ctrs_
11020         (TextClassTags): add TC_COUNTER, and ...
11021         (Read): use it here.
11022         (CounterTags): new tags
11023         (readCounter): new function
11024         (counters): new funtion
11025         (defaultLayoutName): return a const reference
11026
11027         * counters.C (Counters): remove contructor
11028         (newCounter): remove a couple of unneeded statements.
11029         (newCounter): simplify a bit.
11030         (numberLabel): some small formatting changes.
11031
11032         * buffer.[Ch]: remove all traces of counters, move the Counters
11033         object to the LyXTextClass.
11034
11035 2002-09-06  Alain Castera  <castera@in2p3.fr>
11036
11037         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11038         package to set the horizontal alignment on fixed width columns.
11039
11040         * lyx_sty.C:
11041         * lyx_sty.h: added tabularnewline macro def.
11042
11043         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11044
11045 2002-09-06  John Levon  <levon@movementarian.org>
11046
11047         * LyXAction.C: tooltips for sub/superscript
11048
11049         * MenuBackend.C: a bit more verbose
11050
11051         * lyxfunc.C: tiny clean
11052
11053         * undo_funcs.C: document undo_frozen
11054
11055 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11056
11057         * counters.C (Counters): add missing algorithm counter.
11058
11059         * text2.C (setCounter): lookup the counter with layouts latexname
11060         instead of by section number.
11061         (setCounter): use a hackish way to lookup the correct enum
11062         counter.
11063         a float name->type change
11064         reset enum couners with counter name directly instead of depth value.
11065
11066         * counters.C (Counters): remove the push_backs, change to use the
11067         float type not the float name.
11068         (labelItem): remove unused string, float name->type change
11069
11070         * counters.h: don't include vector, loose the enums and sects vectors
11071
11072 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11073
11074         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11075         (Read): add float->TC_FLOAT to textclassTags
11076         (Read): and handle it in the switch
11077         (readFloat): new function
11078
11079         * FloatList.C (FloatList): comment out the hardcoded float
11080         definitions.
11081
11082         * lyxlayout.h: ws change.
11083
11084 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11085
11086         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11087
11088 2002-09-03  Angus Leeming  <leeming@lyx.org>
11089
11090         * BufferView_pimpl.h: qualified name is not allowed in member
11091         declaration: WorkArea & Pimpl::workarea() const;
11092
11093         * factory.C: added using std::endl directive.
11094
11095         * text3.C: added using std::find and std::vector directives.
11096
11097 2002-08-29  André Pönitz <poenitz@gmx.net>
11098
11099         * lyxtext.h:
11100         * text2.C: remove unused member number_of_rows
11101
11102         * Makefile.am:
11103         * BufferView2.C: remove file, move contents to...
11104         * BufferView.C: ... here
11105
11106         * BufferView_pimpl.C:
11107         * factory.C: move more inset creation to factory
11108
11109         * vspace.C: avoid direct usage of LyXText, ws changes
11110
11111         * BufferView.[Ch]:
11112                 don't provide direct access to WorkArea, use two simple
11113                 acessors haveSelction() and workHeight() instead
11114
11115
11116 2002-08-29  John Levon  <levon@movementarian.org>
11117
11118         * BufferView_pimpl.C (dispatch): do not continue when
11119           no buffer
11120
11121 2002-08-28  André Pönitz <poenitz@gmx.net>
11122
11123         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11124
11125         * BufferView.h:
11126         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11127
11128 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11129
11130         * buffer.C: increment LYX_FORMAT to 221
11131
11132         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11133         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11134
11135         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11136
11137         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11138
11139 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11140
11141         * factory.C (createInset): use LyXTextClass::floats
11142
11143         * MenuBackend.C (expandFloatListInsert):
11144         (expandFloatInsert):
11145         (expandToc):
11146
11147         * text2.C (setCounter):
11148
11149         * LaTeXFeatures.C (useFloat):
11150         (getFloatDefinitions):
11151
11152         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11153
11154         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11155         floatlist_, with accessor floats().
11156
11157         * FloatList.h: remove global FloatList
11158
11159 2002-08-26  André Pönitz <poenitz@gmx.net>
11160
11161         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11162
11163         * BufferView.h:
11164         * BufferView2.C:
11165         * BufferView_pimpl.C:
11166         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11167
11168 2002-08-25  John Levon  <levon@movementarian.org>
11169
11170         * LyXAction.C: fix margin note description
11171
11172 2002-08-24  John Levon  <levon@movementarian.org>
11173
11174         * buffer.C:
11175         * bufferlist.C:
11176         * bufferview_funcs.C:
11177         * lyxfont.C:
11178         * undo_funcs.C: cleanups
11179
11180         * lyxfunc.C: disable CUT/COPY when no selection
11181
11182 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11183
11184         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11185         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11186
11187         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11188         Add backward compatibility to "mono", "gray" and "no".
11189
11190 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11191
11192         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11193         (and file_format >= 200).
11194
11195 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11196
11197         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11198
11199 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11200
11201         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11202
11203 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11204
11205         * BufferView_pimpl.C:
11206         * LyXAction.C:
11207         * buffer.C:
11208         * commandtags.h:
11209         * lyxfunc.C:
11210         * paragraph.[Ch]:
11211         * text2.C:
11212         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11213         inset and code to make it  work with the paragraph code. The inset
11214         can be anywhere in the paragraph, but will only do the expected
11215         thing in LaTeX if the layout file contains the parameter line
11216                         OptionalArgs    1
11217         (or more generally, a nonzero value) for that layout.
11218
11219 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11220
11221         * paragraph.h: remove the declaration of undefined counters class
11222         function.
11223
11224 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11225
11226         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11227         Dr. Richard Hawkins.
11228
11229 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11230
11231         * paragraph_funcs.h: remove some unneeded includes
11232
11233         * text.C (backspace): pasteParagraph now in global scipe
11234
11235         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11236         (pasteSelection): ditto
11237
11238         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11239         * paragraph_funcs.C (pasteParagraph): ... here
11240
11241 2002-08-20  André Pönitz <poenitz@gmx.net>
11242
11243         * commandtags.h: new LFUNs for swapping/copying table row/colums
11244
11245         * LyXAction.C:
11246         * lyxfunc.C: support for new lfuns
11247
11248 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11249
11250         * tabular.C:
11251         * buffer.[Ch]: remove NO_COMPABILITY stuff
11252
11253 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11254
11255         * boost.C (throw_exception): new file, with helper function for
11256         boost compiled without exceptions.
11257
11258         * paragraph.h:
11259         * lyxlength.C:
11260         * buffer.C:
11261         * ParameterStruct.h:
11262         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11263
11264         * bufferlist.C (emergencyWriteAll): use boost bind
11265
11266         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11267
11268         * text.C: include paragraph_funcs.h
11269         (breakParagraph): breakParagraph is now in global scope
11270
11271         * paragraph_funcs.[Ch]: new files
11272
11273         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11274         global scope
11275
11276         * buffer.C: include paragraph_funcs.h
11277         (insertStringAsLines): breakParagraph is now in global scope
11278
11279         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11280         paragraph_funcs.C
11281
11282         * CutAndPaste.C: include paragraph_funcs.h
11283         (cutSelection): breakParagraphConservative is now in global scope
11284         (pasteSelection): ditto
11285
11286         * buffer.h: declare oprator== and operator!= for
11287         Buffer::inset_iterator
11288
11289         * bufferlist.C (emergencyWrite): don't use fmt(...)
11290
11291         * text3.C: add using std::endl
11292
11293         * BufferView.C (moveCursorUpdate): remove default arg
11294
11295 2002-08-20  André Pönitz <poenitz@gmx.net>
11296
11297         * buffer.[Ch]: move inline functions to .C
11298
11299         * BufferView2.C:
11300         * BufferView_pimpl.C:
11301         * text.C:
11302         * buffer.[Ch]: use improved inset_iterator
11303
11304         * buffer.C:
11305         * paragraph.[Ch]: write one paragraph at a time
11306
11307 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11308
11309         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11310         style if style is not specified.
11311
11312 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11313
11314         * text2.C (setCounter): when searching for right label for a
11315         caption, make sure to recurse to parent insets (so that a caption
11316         in a minipage in a figure float works) (bug #568)
11317
11318 2002-08-20  André Pönitz <poenitz@gmx.net>
11319
11320         * text3.C: new file for LyXText::dispatch() and helpers
11321
11322         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11323
11324         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11325
11326 2002-08-19  André Pönitz <poenitz@gmx.net>
11327
11328         * lyxtext.h:
11329         * text.C: new LyXText::dispatch()
11330
11331         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11332
11333 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11334
11335         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11336
11337         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11338         Hebrew text.
11339
11340 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * Makefile.am: use $(variables) instead of @substitutions@
11343
11344 2002-08-15  André Pönitz <poenitz@gmx.net>
11345
11346         * lyxfunc.C:
11347         * BufferView_pimpl.C: streamlining mathed <-> outer world
11348         interaction
11349
11350         * commandtags.h:
11351         * LyXAction.C: remove unused LFUN_MATH
11352
11353 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11354
11355         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11356
11357 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11358
11359         * paragraph.C (Paragraph): reformat a bit
11360         (cutIntoMinibuffer): use builtin InsetList function instad of
11361         doing it manually.
11362         (getInset): ditto
11363
11364         * buffer.C: include boost/bind.hpp, add using std::for_each
11365         (writeFileAscii): use ParagraphList iterators
11366         (validate): use for_each for validate traversal of paragraphs
11367         (getBibkeyList): use ParagraphList iterators
11368         (resizeInsets): use for_each to resizeInsetsLyXText for all
11369         paragraphs.
11370         (getParFromID): use ParagraphList iterators
11371
11372         * BufferView2.C (lockInset): use paragraph list and iterators
11373
11374 2002-08-14  John Levon  <levon@movementarian.org>
11375
11376         * lyxserver.C: remove spurious xforms include
11377
11378 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11379
11380         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11381
11382 2002-08-13  André Pönitz <poenitz@gmx.net>
11383
11384         * LyXAction.[Ch]:
11385         * lyxfunc.C: further cleaning
11386
11387 2002-08-13  André Pönitz <poenitz@gmx.net>
11388
11389         * funcrequest.h: new constructor
11390
11391         * funcrequest.C: move stuff here from .h
11392
11393         * Makefile.am:
11394         * BufferView_pimpl.C:
11395         * LyXAction.C:
11396         * toc.C:
11397         * lyxfunc.C: subsequent changes
11398
11399         * lyxfunc.h: new view() member function
11400
11401         * lyxfunc.C: subsequent changes
11402
11403 2002-08-13  Angus Leeming  <leeming@lyx.org>
11404
11405         * BufferView2.C:
11406         * BufferView_pimpl.C:
11407         * buffer.C:
11408         * converter.C:
11409         * importer.C:
11410         * lyxfunc.C:
11411         * lyxvc.C:
11412         * toc.C:
11413         * vc-backend.C:
11414         changes due to the changed LyXView interface that now returns references
11415         to member variables not pointers.
11416
11417 2002-08-13  Angus Leeming  <leeming@lyx.org>
11418
11419         * WordLangTuple (word, lang_code): return references to strings,
11420         not strings.
11421
11422         * BufferView.h:
11423         * SpellBase.h:
11424         * lyxtext.h: forward-declare WordLangTuple.
11425
11426         * BufferView2.C:
11427         * ispell.C:
11428         * pspell.C:
11429         * text.C: #include "WordLangTuple.h".
11430
11431         * lyxtext.h:
11432         * text.C: (selectNextWordToSpellcheck): constify return type.
11433
11434 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11435
11436         * buffer.C:
11437         * buffer.h:
11438         * lyxtext.h:
11439         * paragraph.C:
11440         * paragraph_pimpl.h:
11441         * text.C:
11442         * text2.C:
11443         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11444         suggested by Angus.
11445         Made updateCounter always count from start of buffer, and removed
11446         second argument (par).
11447         Reverted floats number display to '#'. Perhaps I'll try again when the
11448         code base is sanitized a bit.
11449
11450 2002-08-12  Angus Leeming  <leeming@lyx.org>
11451
11452         * buffer.[Ch] (getLabelList): constify.
11453
11454 2002-08-07  André Pönitz <poenitz@gmx.net>
11455
11456         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11457
11458         * funcrequest.h: extension to keep mouse (x,y) position
11459
11460 2002-08-12  Juergen Vigna  <jug@sad.it>
11461
11462         * BufferView2.C (insertErrors): forbid undo when inserting error
11463         insets.
11464
11465         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11466
11467 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11468
11469         * ParagraphList.[Ch]: new files
11470
11471         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11472
11473         * BufferView2.C (lockInset): ParagraphList changes
11474         * toc.C: ditto
11475         * text2.C: ditto
11476         * bufferlist.C: ditto
11477         * buffer.h: ditto
11478         * buffer.C: ditto
11479
11480 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11481
11482         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11483         unused class variable counter_,
11484
11485         * paragraph.[Ch] (getFirstCounter): delete unused function
11486
11487         * counters.C: include LAssert.h
11488         (reset): add a new function with no arg, change other version to
11489         not have def. arg and to not allow empty arg.
11490
11491         * text2.C (setCounter): remove empty arg from call to Counters::reset
11492
11493 2002-08-11  John Levon  <levon@movementarian.org>
11494
11495         * Makefile.am: add WordLangTuple.h
11496
11497 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11498
11499         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11500         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11501
11502         * insets/insettext.C: InsetList changes
11503
11504         * graphics/GraphicsSupport.C (operator()): InsetList changes
11505
11506         * toc.C (getTocList): InsetList changes
11507
11508         * paragraph_pimpl.[Ch]: InsetList changes
11509
11510         * paragraph.[Ch]: InsetList changes
11511
11512         * buffer.C (inset_iterator): InsetList changes
11513         (setParagraph): ditto
11514         * buffer.h (inset_iterator): ditto
11515         * iterators.C (operator++): ditto
11516         * iterators.h: ditto
11517
11518         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11519
11520         * InsetList.[Ch]: new files, most InsetList handling moved out of
11521         paragraph.C.
11522
11523         * BufferView2.C (removeAutoInsets): InsetList changes
11524         (lockInset): ditto
11525         (ChangeInsets): ditto
11526
11527 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11528
11529         * paragraph_pimpl.h (empty): new function
11530
11531         * paragraph.[Ch] (empty): new function
11532
11533         * other files: use the new Paragraph::empty function
11534
11535 2002-08-09  John Levon  <levon@movementarian.org>
11536
11537         * lyxtext.h: remove unused refresh_height
11538
11539 2002-08-09  John Levon  <levon@movementarian.org>
11540
11541         * Makefile.am:
11542         * sgml.h:
11543         * sgml.C:
11544         * buffer.C:
11545         * paragraph.h:
11546         * paragraph.C: move sgml char escaping out of paragraph
11547
11548         * paragraph.h:
11549         * paragraph.C: remove id setter
11550
11551         * buffer.C:
11552         * paragraph.C:
11553         * paragraph_pimpl.C: remove dead tex_code_break_column
11554
11555         * bufferview_funcs.C: small cleanup
11556
11557         * lyxfunc.C: remove dead proto
11558
11559         * lyxtext.h: make some stuff private. Remove some dead stuff.
11560
11561         * lyxgluelength.C: make as[LyX]String() readable
11562
11563 2002-08-08  John Levon  <levon@movementarian.org>
11564
11565         * LyXAction.h:
11566         * LyXAction.C:
11567         * MenuBackend.C:
11568         * ToolbarDefaults.C:
11569         * lyxfunc.C:
11570         * lyxrc.C:
11571         * toc.C: lyxaction cleanup
11572
11573 2002-08-08  John Levon  <levon@movementarian.org>
11574
11575         * BufferView2.C: small cleanup
11576
11577         * lyxfind.h:
11578         * lyxfind.C: move unnecessary header into the .C
11579
11580 2002-08-08  John Levon  <levon@movementarian.org>
11581
11582         * funcrequest.h: just tedious nonsense
11583
11584         * lyx_main.h:
11585         * lyx_main.C: cleanups
11586
11587         * buffer.C:
11588         * vspace.C: remove dead header lyx_main.h
11589
11590 2002-08-07  Angus Leeming  <leeming@lyx.org>
11591
11592         * Paragraph.[Ch]:
11593         * paragraph_pimpl.h:
11594         Forward declare class Counters in paragraph.h by moving the ctrs member
11595         variable into Paragraph::Pimpl.
11596         (counters): new method, returning a reference to pimpl_->ctrs.
11597
11598         * text2.C: ensuing changes.
11599
11600 2002-08-07  John Levon  <levon@movementarian.org>
11601
11602         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11603
11604         * BufferView_pimpl.C: announce X selection on double/triple
11605           click
11606
11607         * lyx_main.C: use correct bool in batch dispatch
11608
11609         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11610
11611 2002-08-07  André Pönitz <poenitz@gmx.net>
11612
11613         * funcrequest.h: new class to wrap a kb_action and its argument
11614
11615         * BufferView.[Ch]:
11616         * BufferView_pimpl[Ch]:
11617         * LaTeX.C:
11618         * LyXAction.[Ch]:
11619         * lyxfunc.[Ch]:
11620         * lyxrc.C: subsequent changes
11621
11622
11623 2002-08-07  John Levon  <levon@movementarian.org>
11624
11625         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11626           document options change.
11627
11628 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11629
11630         * counters.[Ch]
11631         * text2.C
11632         * paragraph.[Ch]
11633         * makefile.am: move counters functionality over from
11634         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11635
11636 2002-08-06  John Levon  <levon@movementarian.org>
11637
11638         * WordLangTuple.h: new file for word + language code tuple
11639
11640         * SpellBase.h:
11641         * pspell.h:
11642         * pspell.C:
11643         * ispell.h:
11644         * ispell.C:
11645         * lyxtext.h:
11646         * text.C:
11647         * text2.C:
11648         * BufferView.h:
11649         * BufferView2.C: use WordLangTuple
11650
11651         * layout.h:
11652         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11653
11654 2002-08-06  John Levon  <levon@movementarian.org>
11655
11656         * lyx_main.C: fix cmdline batch handling
11657
11658 2002-08-06  André Pönitz <poenitz@gmx.net>
11659
11660         * lyxrc.C: set default for show_banner to true
11661
11662 2002-08-06  John Levon  <levon@movementarian.org>
11663
11664         * pspell.C: fix a crash, and allow new aspell to work
11665
11666 2002-08-06  John Levon  <levon@movementarian.org>
11667
11668         * lyxfunc.C:
11669         * kbmap.C: small cleanup
11670
11671         * vspace.h:
11672         * vspace.C: add const
11673
11674 2002-08-05  John Levon  <levon@movementarian.org>
11675
11676         * LyXAction.C: back to tabular-insert
11677
11678 2002-08-04  John Levon  <levon@movementarian.org>
11679
11680         * BufferView.h:
11681         * BufferView.C: cosmetic change
11682
11683         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11684
11685         * bufferlist.C:
11686         * buffer.h:
11687         * buffer.C:
11688         * lyxcb.h:
11689         * lyxcb.C:
11690         * lyxserver.C:
11691         * lyxvc.C:
11692         * vc-backend.C:
11693         * BufferView2.C: purge all "Lyx" not "LyX" strings
11694
11695         * lyxcursor.h:
11696         * lyxcursor.C: attempt to add some documentation
11697
11698         * lyxfunc.C:
11699         * commandtags.h:
11700         * LyXAction.C:
11701         * ToolbarDefaults.C:
11702         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11703           merge with LFUN_TABULAR_INSERT
11704
11705         * Makefile.am:
11706         * SpellBase.h:
11707         * ispell.h:
11708         * ispell.C:
11709         * pspell.h:
11710         * pspell.C: split up i/pspell implementations into separate
11711           files, many cleanups
11712
11713         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11714
11715         * text2.C: some cleanup
11716
11717         * lyxfunc.C: don't check for isp_command == "none" any more, it
11718           didn't make any sense
11719
11720 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11721
11722         * counters.[Ch]
11723         * text2.C
11724         * paragraph.[Ch]
11725         * makefile.am: move counters functionality over
11726         from text2.C/paragraph.[Ch] to counters.[Ch], and
11727         make proper C++.
11728 2002-08-02  John Levon  <levon@movementarian.org>
11729
11730         * buffer.C: s/lyxconvert/lyx2lyx/
11731
11732 2002-08-02  Angus Leeming  <leeming@lyx.org>
11733
11734         * lyxlex.C: revert John's change as it breaks reading of the user
11735         preamble.
11736
11737 2002-08-02  Angus Leeming  <leeming@lyx.org>
11738
11739         * importer.C (Import):
11740         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11741         changes due to LyXView::view() now returning a boost::shared_ptr.
11742
11743 2002-08-02  John Levon  <levon@movementarian.org>
11744
11745         * lyxlex.C: small cleanup
11746
11747 2002-08-02  John Levon  <levon@movementarian.org>
11748
11749         * text2.C (status): small cleanup, no logic change
11750
11751 2002-08-01  John Levon  <levon@movementarian.org>
11752
11753         * buffer.h:
11754         * buffer.C (writeFile): don't output alerts, caller
11755           handles this
11756
11757         * bufferlist.C:
11758         * lyx_cb.C: from above
11759
11760         * lyxfunc.C: allow to open non-existent files
11761
11762 2002-07-31  John Levon  <levon@movementarian.org>
11763
11764         * lyxserver.C: don't let incidental errors get
11765           in the way (errno)
11766
11767 2002-07-30  John Levon  <levon@movementarian.org>
11768
11769         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11770
11771 2002-07-30  John Levon  <levon@movementarian.org>
11772
11773         * lyxserver.h:
11774         * lyxserver.C: remove I/O callback too
11775
11776 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11777
11778         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11779         log.
11780
11781 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11782
11783         * many files: strip,frontStrip -> trim,ltrim,rtrim
11784
11785 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11786
11787         * PrinterParams.h: remove extern containsOnly, and include
11788         support/lstrings.h instead.
11789
11790         * LaTeX.C (scanAuxFile): modify because of strip changes
11791         (deplog): ditto
11792         * buffer.C (makeLaTeXFile): ditto
11793         * bufferparams.C (writeFile): ditt
11794         * lyxfont.C (stateText): ditto
11795         * lyxserver.C (read_ready): ditto
11796         * vc-backend.C (scanMaster): ditto
11797
11798         * BufferView_pimpl.h: ws changes
11799
11800         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11801
11802 2002-07-26  André Pönitz <poenitz@gmx.net>
11803
11804         * kb_sequence.C: remove unnedred usings
11805
11806 2002-07-26  Juergen Vigna  <jug@sad.it>
11807
11808         * lyxfind.C (LyXReplace): we have to check better if the returned
11809         text is not of theLockingInset()->getLockingInset().
11810
11811 2002-07-25  Juergen Vigna  <jug@sad.it>
11812
11813         * lyxfind.C (LyXReplace): don't replace if we don't get the
11814         right LyXText.
11815
11816         * undo_funcs.C (createUndo): remove debugging code.
11817
11818 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11819
11820         * buffer.C (parseSingleLyXformat2Token): Use default placement
11821         when reading old floats.
11822
11823         * FloatList.C (FloatList): Change the default placement of figure
11824         and tables to "tbp".
11825
11826 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * MenuBackend.C: using std::max
11829
11830 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11831
11832         * MenuBackend.C (expandToc):
11833         (expandToc2): code moved from xforms menu frontend. It is now
11834         generic and TOCs are transparent to menu frontends.
11835
11836 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11837
11838         * toc.C (getTocList): protect against buf=0
11839
11840         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11841         Menu as first parameter. Now, this calls itself recursively to
11842         expand a whole tree (this will be useful for TOC handling)
11843         (expandFloatInsert): remove 'wide' version of floats
11844
11845         * MenuBackend.h (submenuname): returns the name of the submenu.
11846         (submenu): returns the submenu itself, provided it has been
11847         created by MenuBackend::expand
11848
11849 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11850
11851         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11852         insets which have noFontChange == true. (bug #172)
11853
11854 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11855
11856         * BufferView_pimpl.C: add connection objects and use them...
11857         (Pimpl): here.
11858
11859 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11860
11861         * MenuBackend.C (expandLastfiles):
11862         (expandDocuments):
11863         (expandFormats):
11864         (expandFloatListInsert):
11865         (expandFloatInsert):
11866         (expand): split expand in parts
11867
11868 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * lyx_gui.C: use lyx_gui::exit()
11871
11872 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * LyXAction.C: show the failing pseudo action
11875
11876 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11877
11878         * buffer.C (readFile): Run the lyxconvert script in order to read
11879         old files.
11880
11881 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * LyXAction.C:
11884         * commandtags.h:
11885         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11886
11887 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * LyXAction.C:
11890         * commandtags.h:
11891         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11892
11893 2002-07-22  Herbert Voss  <voss@lyx.org>
11894
11895         * lengthcommon.C:
11896         * lyxlength.[Ch]: add support for the vertical lengths
11897
11898 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * toc.[Ch]: std:: fixes
11901
11902 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11903
11904         * lyxrc.C: do not include lyx_main.h
11905
11906         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11907         for layouts
11908
11909         * lyxrc.C:
11910         * encoding.C:
11911         * bufferlist.C:
11912         * BufferView2.C: include "lyxlex.h"
11913
11914         * tabular.h:
11915         * bufferparams.h: do not #include "lyxlex.h"
11916
11917         * lyxtextclasslist.C (Add): remove method
11918         (classlist): renamed to classlist_
11919
11920         * paragraph_pimpl.C:
11921         * paragraph.C:
11922         * text2.C:
11923         * CutAndPaste.C:
11924         * bufferview_funcs.C:
11925         * bufferlist.C:
11926         * text.C:
11927         * LaTeXFeatures.C:
11928         * buffer.C:
11929         * toc.C (getTocList): use BufferParams::getLyXTextClass
11930
11931         * toc.C (getTocList): use InsetFloat::addToToc
11932
11933         * toc.[Ch]: new files, containing helper functions to handle table
11934         of contents
11935
11936         * lyxfunc.C (dispatch): no need to remove spaces around command
11937         given as a string
11938         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11939         first command of the sequence; it is not very clever, but I do not
11940         have a better idea, actually
11941
11942         * LyXAction.C (LookupFunc): make sure to remove space at the
11943         beginning and end of the command
11944
11945 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11946
11947         * MenuBackend.C (getMenubar): new method: return the menubar of
11948         this menu set
11949         (read): treat differently reading of menu and menubar (in
11950         particular, the menubar has no name now)
11951         (Menu::menubar): remove
11952
11953         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11954         saving is finished
11955
11956 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11957
11958         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11959         a bibitem inset in a RTL paragraph.
11960
11961 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * paragraph_pimpl.C: constify
11964
11965         * BufferView_pimpl.C:
11966         * LaTeX.C:
11967         * lyxfunc.C: fix dispatch in a nicer way
11968
11969 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11970
11971         * lyxfunc.C (dispatch):
11972         * BufferView_pimpl.C:
11973         * BufferView_pimpl.h:
11974         * BufferView.C:
11975         * BufferView.h: rename Dispatch() to dispatch()
11976
11977         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11978
11979         * lyxlayout.C (Read): honor DependsOn tag
11980
11981         * lyxlayout.[Ch] (depends_on): new method
11982
11983         * version.C.in: update lyx_docversion
11984
11985         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11986
11987         * paragraph.C (validate): remove from here...
11988         * paragraph_pimpl.C (validate): ... and move here
11989         (isTextAt): make it const
11990
11991         * buffer.C (getLists): ws cleanup
11992
11993 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11994
11995         * language.C (read): Use iso8859-1 encoding in latex_lang
11996         (this prevents LyX from crashing when using iso10646-1 encoding).
11997
11998 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * text2.C (toggleInset): if cursor is inside an inset, close the
12001         inset and leave cursor _after_ it
12002
12003 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12004
12005         * lyxfunc.C: move minibuffer completion handling out of here
12006
12007 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12008
12009         * BufferView_pimpl.C:
12010         * LaTeX.C: fix dispatch calls
12011
12012 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12013
12014         * text.C (drawChars): Fix Arabic text rendering.
12015
12016 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * LyXAction.C:
12019         * commandtags.h:
12020         * lyxfunc.C: remove message-push/pop
12021
12022         * lyxserver.C:
12023         * lyxfunc.h:
12024         * lyxfunc.C: rationalise some code by removing verboseDispatch
12025           in favour of a bool argument to dispatch()
12026
12027 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12028
12029         * lyx_main.C (init): make sure to read symlinks as absolute paths
12030
12031 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * lyxfunc.h:
12034         * lyxfunc.C: no need for commandshortcut to be a member
12035
12036 2002-07-15  André Pönitz <poenitz@gmx.net>
12037
12038         * converter.C: add support for $$s (scripts from lib/scripts dir)
12039         * lyx_main.C: white space
12040
12041 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * bufferlist.C:
12044         * lyxrc.h:
12045         * lyxrc.C: remove second exit confirmation
12046
12047 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * BufferView.h:
12050         * BufferView.C:
12051         * BufferView2.C:
12052         * BufferView_pimpl.h:
12053         * BufferView_pimpl.C:
12054         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12055
12056 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12057
12058         * MenuBackend.C (expand): add numeric shortcuts to document menu
12059
12060         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12061
12062 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12063
12064         * lyxfont.C (setLyXFamily):
12065         (setLyXSeries):
12066         (setLyXShape):
12067         (setLyXSize):
12068         (setLyXMisc):
12069         (lyxRead):
12070         * debug.C (value):
12071         * buffer.C (asciiParagraph): use ascii_lowercase
12072
12073 2002-07-15  Mike Fabian  <mfabian@suse.de>
12074
12075         * lyxlex_pimpl.C (search_kw):
12076         * lyxlex.C (getLongString):
12077         * converter.h (operator<):
12078         * converter.C (operator<):
12079         * buffer.C (parseSingleLyXformat2Token):
12080         (asciiParagraph):
12081         * ToolbarDefaults.C (read):
12082         * MenuBackend.C (checkShortcuts):
12083         (read):
12084         * LColor.C (getFromGUIName):
12085         (getFromLyXName): use the compare_ascii_no_case instead of
12086         compare_no_case, because in turkish, 'i' is not the lowercase
12087         version of 'I', and thus turkish locale breaks parsing of tags.
12088
12089 2002-07-16  Angus Leeming  <leeming@lyx.org>
12090
12091         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12092         now takes a Buffer const & argument.
12093
12094 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * BufferView.C (resize): check there's a buffer to resize
12097
12098 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * lyxfunc.C: remove dead code
12101
12102         * lyxserver.h:
12103         * lyxserver.C: use lyx_guii::set_read_callback
12104
12105 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12106
12107         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12108         an inset in a RTL paragraph.
12109
12110 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12111
12112         * lyxfunc.C: repaint after a font size update
12113
12114 2002-07-15  André Pönitz <poenitz@gmx.net>
12115
12116         * lyxlength.C: inBP should be able to return negative values
12117
12118 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12119
12120         * lyxfunc.C: use lyx_gui::update_fonts()
12121
12122 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * lyxfunc.C: use lyx_gui::update_color()
12125
12126 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * bufferlist.C:
12129         * lyxfunc.h:
12130         * lyxfunc.C:
12131         * lyxrc.h:
12132         * lyxrc.C: remove file->new asks for name option, and let
12133           buffer-new take an argument
12134
12135 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12136
12137         * BufferView_pimpl.C: remove unneeded extra repaint()
12138
12139 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * LyXAction.C: allow command-sequence with NoBuffer
12142
12143         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12144
12145 2002-07-10  Angus Leeming  <leeming@lyx.org>
12146
12147         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12148
12149 2002-07-09  Angus Leeming  <leeming@lyx.org>
12150
12151         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12152
12153 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * lengthcommon.h: whitespace
12156
12157         * lyxfunc.C: update scrollbar after goto paragraph
12158
12159         * lyxtext.h: factor out page break drawing, and fix it so
12160           page break/added space paints as selected nicely
12161
12162 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * BufferView_pimpl.C: add FIXMEs, clean up a little
12165
12166 2002-07-09  André Pönitz <poenitz@gmx.net>
12167
12168         * lyxfont.[Ch]: support for wasy symbols
12169
12170 2002-07-08  André Pönitz <poenitz@gmx.net>
12171
12172         * BufferView_pimpl.C: apply John's patch for #93.
12173
12174 2002-07-05  Angus Leeming  <leeming@lyx.org>
12175
12176         * BufferView_pimpl.C (buffer): generate previews if desired.
12177
12178         * LColor.h: add "preview" to the color enum.
12179
12180         * LColor.C (LColor): add a corresponding entry to the items array.
12181
12182         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12183         with this buffer.
12184
12185 2002-07-05  Angus Leeming  <leeming@lyx.org>
12186
12187         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12188         The body of the code is now in the method that is passed an ostream &
12189         rather than a file name.
12190         Pass an additional only_preamble parameter, useful for the forthcoming
12191         preview stuff.
12192
12193 2002-07-03  André Pönitz <poenitz@gmx.net>
12194
12195         * lyxfunc.C: simplify getStatus() a bit for math stuff
12196
12197 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12200
12201 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12202
12203         * text.C (changeRegionCase): do not change case of all the
12204         document when region ends at paragraph end (bug #461)
12205
12206 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12207
12208         * paragraph.C (startTeXParParams):
12209         (endTeXParParams): add \protect when necessary
12210
12211 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12212
12213         * BufferView_pimpl.C (workAreaExpose): remove warning
12214
12215 2002-06-27  Angus Leeming  <leeming@lyx.org>
12216
12217         * Makefile.am: add lyxlayout_ptr_fwd.h.
12218
12219 2002-06-26  André Pönitz <poenitz@gmx.net>
12220
12221         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12222
12223 2002-06-25  Angus Leeming  <leeming@lyx.org>
12224
12225         * lyxfunc.C (dispatch): Comment out the call to
12226         grfx::GCache::changeDisplay. The method no longer exists now that the
12227         pixmap generation part of the graphics loader has been moved into
12228         InsetGraphics.
12229
12230 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * text2.C: layout as layout
12233
12234         * text.C: layout as layout
12235
12236         * tabular.C (OldFormatRead): layout as layout
12237
12238         * paragraph_pimpl.C (TeXDeeper): layout as layout
12239         (realizeFont): layout as layout
12240
12241         * paragraph.C (writeFile): layout as layout
12242         (validate): layout as layout
12243         (getFont): layout as layout
12244         (getLabelFont): layout as layout
12245         (getLayoutFont): layout as layout
12246         (breakParagraph): layout as layout
12247         (stripLeadingSpaces): layout as layout
12248         (getEndLabel): layout as layout
12249         (getMaxDepthAfter): layout as layout
12250         (applyLayout): layout as layout
12251         (TeXOnePar): layout as layout
12252         (simpleTeXOnePar): layout as layout
12253         (TeXEnvironment): layout as layout
12254         (layout): layout as layout
12255         (layout): layout as layout
12256
12257         * lyxtextclass.C (compare_name): new functor to work with
12258         shared_ptr, layout as layout
12259         (Read): layout as layout
12260         (hasLayout): layout as layout
12261         (operator): layout as layout
12262         (delete_layout): layout as layout
12263         (defaultLayout): layout as layout
12264
12265         * lyxlayout_ptr_fwd.h: new file
12266
12267         * lyxlayout.C (Read): layout as layout
12268
12269         * lyx_cb.C (MenuInsertLabel): layout as layout
12270
12271         * bufferlist.C (newFile): layout as layout
12272
12273         * buffer.C (readLyXformat2): layout as layout
12274         (parseSingleLyXformat2Token): layout as layout
12275         (insertStringAsLines): layout as layout
12276         (asciiParagraph): layout as layout
12277         (latexParagraphs): layout as layout
12278         (makeLinuxDocFile): layout as layout
12279         (simpleLinuxDocOnePar): layout as layout
12280         (makeDocBookFile): layout as layout
12281         (simpleDocBookOnePar): layout as layout
12282         (getLists): layout as layout
12283
12284         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12285
12286         * CutAndPaste.C (cutSelection): layout as layout
12287         (pasteSelection): layout as layout
12288         (SwitchLayoutsBetweenClasses): layout as layout
12289
12290         * BufferView_pimpl.C (Dispatch): layout as layout
12291         (smartQuote): layout as layout
12292
12293         * BufferView2.C (unlockInset): layout as layout
12294
12295 2002-06-24  André Pönitz <poenitz@gmx.net>
12296
12297         * lyxfunc.C: fix #487
12298
12299 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12300
12301         * lyxrc.h:
12302         * lyxrc.C:
12303         * lyxfunc.C: remove display_shortcuts, show_banner
12304
12305 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12306
12307         * Buffer_pimpl.C: oops, update on resize
12308
12309 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * buffer.C:
12312         * converter.C:
12313         * exporter.C:
12314         * lyxfunc.C:
12315         * BufferView.h:
12316         * BufferView.C: use repaint()
12317
12318         * BufferView_pimpl.h:
12319         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12320           as it's a clearer description. Remove superfluous
12321           redraws.
12322
12323 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * text.C: fix bug 488. Not ideal, but getting
12326           getWord() to work properly for the insets that
12327           matter is more difficult ...
12328
12329 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12330
12331         * BufferView_pimpl.C:
12332         * LyXAction.C:
12333         * commandtags.h:
12334         * lyxfunc.C: remove the six million index lyxfuncs to just
12335           one, and DTRT (bug 458)
12336
12337 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * BufferView.h:
12340         * BufferView.C:
12341         * BufferView_pimpl.h:
12342         * BufferView_pimpl.C: clean up resize() stuff,
12343           and unnecessary updateScreen()s
12344
12345 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * BufferView.h:
12348         * BufferView.C:
12349         * BufferView_pimpl.h:
12350         * BufferView_pimpl.C:
12351         * lyxfind.h:
12352         * lyxfind.C:
12353         * minibuffer.C: remove focus management of workarea,
12354           not needed. Use screen's greyOut()
12355
12356 2002-06-17  Herbert Voss  <voss@lyx.org>
12357
12358         * converter.C: (convert) do not post a message, when converting
12359         fails, let the calling function decide what to do in this case
12360
12361 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12362
12363         * lyxfunc.C: tidy up a little
12364
12365 2002-06-16    <alstrup@diku.dk>
12366
12367         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12368         Got rid of FORMS_H_LOCATION include. Now we are
12369         GUII.
12370
12371 2002-06-15  LyX Development team  <lyx@rilke>
12372
12373         * buffer.[Ch] (sgmlOpenTag):
12374         (sgmlCloseTag): Added support for avoiding pernicious mixed
12375         content. Return number of lines written.
12376
12377         (makeLinuxDocFile):
12378         (makeDocBookFile): Fixed calls to sgml*Tag.
12379         Simple white space clean.
12380
12381         (simpleDocBookOnePar): Simple white space clean.
12382
12383         * tabular.[Ch] (docBook): Renamed to docbook and got another
12384         argument to related with the pernicious mixed content.
12385
12386         (docbookRow): Fixed calls for docbook inset method.
12387
12388 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12389
12390         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12391         so it's X11 independent.
12392
12393         * kb*.[Ch]: ditto.
12394
12395         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12396
12397 2002-06-15  Lyx Development team  <lyx@electronia>
12398
12399         * intl.h: Renamed getTrans to getTransManager.
12400
12401 2002-06-14  Angus Leeming  <leeming@lyx.org>
12402
12403         * Makefile.am: nuke forgotten stl_string_fwd.h.
12404
12405 2002-06-12  Angus Leeming  <leeming@lyx.org>
12406
12407         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12408
12409 2002-06-13  Angus Leeming  <leeming@lyx.org>
12410
12411         * LaTeX.C:
12412         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12413
12414 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12415
12416         * kbmap.C (getiso): add support for cyrillic and greek
12417
12418 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12419
12420         * BufferView.h:
12421         * BufferView.C:
12422         * BufferView_pimpl.h:
12423         * BufferView_pimpl.C: move bogus scrolling logic
12424           to xforms
12425
12426 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * lyxfunc.C:
12429         * BufferView_pimpl.C: view->resize() change
12430
12431 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12432
12433         * BufferView_pimpl.C: topCursorVisible
12434           prototype change
12435
12436 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12437
12438         * Makefile.am:
12439         * lyx_gui.h:
12440         * lyx_gui.C: move to frontends/
12441
12442         * main.C:
12443         * lyx_main.h:
12444         * lyx_main.C: changes from above
12445
12446 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * intl.C:
12449         * intl.h:
12450         * kbmap.C:
12451         * kbsequence.C:
12452         * lyx_cb.C:
12453         * lyx_main.C: minor tidy
12454
12455 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12456
12457         * BufferView_pimpl.h:
12458         * BufferView_pimpl.C:
12459         * BufferView.h:
12460         * BufferView.C: make painter() const,
12461           remove dead code
12462
12463         * BufferView2.C: use screen() accessor
12464
12465         * lyx_main.h:
12466         * lyx_main.C: some minor cleanup
12467
12468 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12469
12470         * BufferView_pimpl.h:
12471         * BufferView_pimpl.C: remove enter/leaveView,
12472           use workHeight()
12473
12474 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12475
12476         * BufferView.h:
12477         * BufferView.C:
12478         * BufferView2.C:
12479         * BufferView_pimpl.h:
12480         * BufferView_pimpl.C: only construct screen once,
12481           rename
12482
12483         * lyxrc.C: remove pointless comment
12484
12485 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * BufferView.h:
12488         * BufferView.C: remove active() and belowMouse()
12489
12490         * BufferView_pimpl.h:
12491         * BufferView_pimpl.C: use workarea() not workarea_,
12492           and make it use a scoped_ptr instead
12493
12494 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * lyx_gui.C: add debug message on BadWindow
12497
12498 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12499
12500         * sp_spell.C: fdopen is not part of the C++ standard.
12501
12502         * paragraph.C (InsetIterator): use >= instead of ==
12503
12504 2002-06-07  Angus Leeming  <leeming@lyx.org>
12505
12506         Fixes needed to compile with Compaq cxx 6.5.
12507         * BufferView_pimpl.C:
12508         * DepTable.C:
12509         * buffer.C:
12510         * converter.C:
12511         * encoding.C:
12512         * lyx_gui.C:
12513         * lyx_main.C:
12514         * lyxtextclasslist.C:
12515         * minibuffer.C:
12516         * sp_spell.C:
12517         * tabular_funcs.C:
12518         * vc-backend.C:
12519         all c-library variables have been moved into namespace std. Wrap
12520         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12521
12522         * lyxlength.C:
12523         * tabular-old.C:
12524         * tabular.C:
12525         Add a using std::abs declaration.
12526
12527         * kbmap.h (modifier_pair):
12528         * paragraph.h (InsetTable, InsetList):
12529         * lyxfont.h (FontBits):
12530         type definition made public.
12531
12532         * bufferlist.C (emergencyWriteAll): the compiler complains that
12533         there is more than one possible lyx::class_fun template to choose from.
12534         I re-named the void specialisation as lyx::void_class_fun.
12535
12536         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12537
12538         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12539         the compiler is is unable to find tostr in write_attribute.
12540
12541 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12542
12543         * buffer.C (sgmlError): hide #warning
12544
12545 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12546
12547         * xtl/*: get rid of xtl, which is not in use anyway
12548
12549         * LyXAction.C (init):
12550         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12551         were unimplemented xtl experimentation
12552
12553 2002-06-04  André Pönitz <poenitz@gmx.net>
12554
12555         * lyxfunc.C: disable array operation on simple formulae
12556
12557 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12558
12559         * converter.C: constify a bit
12560
12561 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * lyx_gui.C: check xforms version correctly
12564
12565 2002-04-30  Herbert Voss  <voss@lyx.org>
12566
12567         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12568         "keep" option
12569
12570 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12573           attempt to register it with a VCS)
12574
12575 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12576
12577         * lyx_main.C (init): honor variables LYX_DIR_13x and
12578         LYX_USERDIR_13x
12579
12580 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * buffer.h:
12583         * buffer.C:
12584         * lyx_main.C: fix a crash on bad command line,
12585           and give a useful exit status on error
12586
12587         * lyxfunc.C (doImport): allow -i lyx to work
12588
12589 2002-03-30  André Pönitz <poenitz@gmx.net>
12590
12591         * lyxfunc.C: mathed font changes
12592
12593 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * LaTeX.C:
12596         * importer.h:
12597         * importer.C:
12598         * lyx_sty.h:
12599         * lyx_sty.C:
12600         * lyxlex.C:
12601         * lyxrow.h:
12602         * lyxtext.h:
12603         * paragraph.h:
12604         * paragraph.C:
12605         * texrow.h:
12606         * texrow.C:
12607         * text.C:
12608         * trans_mgr.h: srcdocs, and some minor cleanups
12609
12610 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12611
12612         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12613         call getFont all the time)
12614
12615 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12616
12617         * switch from SigC signals to boost::signals
12618
12619 2002-05-29  André Pönitz <poenitz@gmx.net>
12620
12621         * paragraph_pimpl.C (getChar): don't call size() too often...
12622
12623 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12624
12625         * paragraph_pimpl.C (insertChar): do not try to update tables when
12626         appending (pos == size())
12627
12628         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12629         in order to reduce drastically the number of comparisons needed to
12630         parse a large document
12631
12632 2002-05-29  André Pönitz <poenitz@gmx.net>
12633
12634         * text.C:
12635         * text2.C:
12636         * lyxtextclass.C:
12637         * sp_pspell.h:
12638         * textclasslist.[Ch]:
12639         * sp_ispell.h: whitespace change
12640
12641 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12642
12643         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12644         lyxaction directly now.
12645
12646 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12647
12648         * trans.C:
12649         * lyxfont.C:
12650         * lyxvc.C: remove unused headers
12651
12652 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12653
12654         * Makefile.am:
12655         * buffer.h:
12656         * undostack.h:
12657         * undostack.C:
12658         * undo_funcs.h:
12659         * undo_funcs.C: some cleanups. Use shared_ptr
12660           and a template for the undo stacks.
12661
12662 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12663
12664         * BufferView_pimpl.h:
12665         * BufferView_pimpl.C:
12666         * kbmap.h:
12667         * kbmap.C:
12668         * kbsequence.h:
12669         * kbsequence.C:
12670         * lyxfunc.h:
12671         * lyxfunc.C:
12672         * text2.C: use key_state/mouse_state
12673
12674 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12675
12676         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12677         and LSubstring
12678
12679         * chset.C: change include order
12680         (loadFile): use boost regex and get rid of LRegex and LSubstring
12681
12682         * Makefile.am (BOOST_LIBS): new variable
12683         (lyx_LDADD): use it
12684
12685         * LaTeX.C: change include order.
12686         (scanAuxFile): use boost regex and get rid of LRegex and
12687         LSubstring
12688         (deplog): ditto
12689
12690 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12691
12692         * ColorHandler.h:
12693         * ColorHandler.C:
12694         * FontInfo.h:
12695         * FontInfo.C: moved to frontends/xforms/
12696
12697         * FontLoader.h:
12698         * FontLoader.C: moved into frontends for GUIIzation
12699
12700         * Makefile.am:
12701         * lyx_gui.C:
12702         * lyxfont.C:
12703         * lyxfunc.C: changes from above
12704
12705 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * LColor.C: remove spurious X include
12708
12709         * BufferView_pimpl.C:
12710         * Makefile.am:
12711         * font.h:
12712         * font.C:
12713         * text.C:
12714         * text2.C: move font metrics to frontends/
12715
12716 2002-05-24  Juergen Vigna  <jug@sad.it>
12717
12718         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12719         setting the undo_cursor.
12720
12721         * ParagraphParameters.h: include local includes first.
12722
12723 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12724
12725         * BufferView_pimpl.C:
12726         * BufferView_pimpl.h:
12727         * Makefile.am:
12728         * WorkArea.h:
12729         * WorkArea.C:
12730         * screen.C: move WorkArea into frontends/
12731
12732         * lyxscreen.h:
12733         * screen.C:
12734         * text.C:
12735         * BufferView.C:
12736         * BufferView2.C: move LyXScreen into frontends/
12737
12738         * lyxlookup.h:
12739         * lyxlookup.C:
12740         * lyx_gui.C: move lyxlookup into frontends/xforms/
12741
12742 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * BufferView2.C:
12745         * BufferView_pimpl.C:
12746         * FontLoader.C:
12747         * LyXView.h:
12748         * LyXView.C:
12749         * Makefile.am:
12750         * WorkArea.C:
12751         * XFormsView.h:
12752         * XFormsView.C:
12753         * buffer.C:
12754         * bufferlist.C:
12755         * bufferview_funcs.C:
12756         * converter.C:
12757         * importer.C:
12758         * lyx_cb.C:
12759         * lyx_gui.C:
12760         * lyx_main.C:
12761         * lyx_find.C:
12762         * lyxfunc.C:
12763         * lyxvc.C:
12764         * minibuffer.C:
12765         * text.C:
12766         * text2.C:
12767         * trans.C:
12768         * vc-backend.C: move LyX/XFormsView into frontends/
12769
12770 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12771
12772         * Makefile.am:
12773         * PainterBase.C:
12774         * PainterBase.h:
12775         * Painter.C:
12776         * Painter.h:
12777         * WorkArea.C:
12778         * WorkArea.h:
12779         * screen.C:
12780         * tabular.C:
12781         * text.C:
12782         * text2.C: move Painter to frontends/
12783
12784 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * buffer.C: comment out some some code that depend upon lyx_format
12787         < 220
12788
12789         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12790         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12791
12792         * buffer.h (NO_COMPABILITY): turn off compability
12793
12794         * ColorHandler.C: include scoped_array.hpp
12795
12796         * font.C: Use more specific smart_ptr header.
12797         * Painter.C: ditto
12798         * gettext.C: ditto
12799         * ShareContainer.h: ditto
12800         * lyx_main.h: ditto
12801         * kbmap.h: ditto
12802         * FontInfo.h: ditto
12803         * BufferView_pimpl.h: ditto
12804         * ColorHandler.h: ditto
12805
12806         * kbmap.C (defkey): change call to shared_ptr::reset
12807
12808 2002-05-21  Juergen Vigna  <jug@sad.it>
12809
12810         * buffer.C (insertErtContents): fix to insert ert asis if it is
12811         non empty. Skip it completely if it contains only whitespaces.
12812
12813 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12814
12815         * BufferView_pimpl.C:
12816         * BufferView2.C: clear selection on paste (bug 393)
12817
12818 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * DepTable.C: include ctime
12821
12822 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12823
12824         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12825
12826 2002-05-14  Juergen Vigna  <jug@sad.it>
12827
12828         * text.C (breakParagraph): fixed function to honor the keepempty
12829         layout in the right maner and also to permit the right breaking
12830         algorithm on empty or non empyt keepempty paragraphs.
12831
12832         * paragraph.C (breakParagraph): we have to check also if the par
12833         is really empty (!size()) for isempty otherwise we do the wrong
12834         paragraph break.
12835
12836 2002-05-10  Juergen Vigna  <jug@sad.it>
12837
12838         * buffer.[Ch] : The following are only changes to the ert
12839         compatibility read reading old LaTeX layout and font stuff and
12840         convert it to ERTInsets.
12841
12842         * buffer.h: added isErtInset().
12843
12844         * buffer.C (struct ErtComp): add a fromlayout bool to check
12845         if we're inside a LaTeX layout.
12846         (isErtInset): new helper function.
12847         (insertErtContents): look for other ert insets before this one
12848         and insert the contents there, so that we don't have subsequent
12849         ERT insets with nothing between them. This way we create only one
12850         inset with multiple paragraphs. Also check if we don't insert only
12851         spaces ' ' as they are ignored anyway afterwards in the .tex file
12852         so if we have only spaces we will ignore this latex part in the
12853         new file.
12854         (parseSingleLyXformat2Token \\layout): better compatibility when
12855         reading layout-latex stuff.
12856         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12857         language tag.
12858         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12859         stuff after reading the inset only get the information back from
12860         the stack.
12861
12862 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12863
12864         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12865
12866         * LaTeXFeatures.C (getBabelOptions): New method.
12867
12868 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12869
12870         * BufferView_pimpl.C (Dispatch): work around missing argument for
12871         'layout'
12872
12873 2002-05-08  Juergen Vigna  <jug@sad.it>
12874
12875         * text.C (leftMargin): handle paragraph leftindent.
12876
12877         * paragraph.C (writeFile): write the new \\leftindent tag.
12878         (validate): handle leftindent code.
12879         (TeXEnvironment): handle paragraphleftindent code again.
12880
12881         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12882
12883         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12884         for paragrap_extra indent code and new token \\leftindent.
12885         (latexParagraphs): handle the leftindent as environment.
12886
12887         * ParameterStruct.h: added leftindent support.
12888
12889         * ParagraphParameters.C (leftIndent): added support functions for
12890         the paragraph left indent.
12891
12892         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12893         more appropriate.
12894
12895 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12896
12897         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12898         inside insetERT.
12899
12900         * text.C (computeBidiTables): No bidi in insetERT.
12901
12902         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12903         in RTL documents.
12904
12905 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12906
12907         * version.C.in: pre 5
12908
12909 2002-05-02  José Matos  <jamatos@fep.up.pt>
12910         * buffer.C (makeDocBookFile): white space changes, add newline to
12911         command styles.
12912         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12913
12914         * tabular.C (docBook): fix typo.
12915
12916 2002-05-03  Juergen Vigna  <jug@sad.it>
12917
12918         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12919         change in LyXText as we can not be sure it was not freed.
12920         (drawOneRow): remove unused code.
12921
12922         * text.C (drawInset): redo the calculation of the need_break_row as
12923         it could have a row which was already freed.
12924         (draw): look at the return value of drawInset and return false if
12925         it also returned false.
12926         (paintRowText): look at the return value of draw and return false if
12927         it also returned false.
12928
12929         * lyxtext.h: added bool return type to drawInset() and draw() so that
12930         if we have a change in the row so that the rowbreak has to be redone
12931         we abort drawing as it will be called again.
12932
12933 2002-05-02  Juergen Vigna  <jug@sad.it>
12934
12935         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12936         a change in the maintext also if we're inside an inset.
12937         (Dispatch): set the cursor again after a break line and after the
12938         screen has been updated as it could be we're in a different row.
12939
12940         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12941         to set the cursor behind the pargraph with > size().
12942         (setCursor): check also for the same paragraph when checking where
12943         to put the cursor if we have a NFR inset.
12944
12945         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12946         parts of layout read further up as it still was in the wrong
12947         position.
12948
12949 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12950
12951         * screen.C (drawFromTo): change sine fullRebreak always return
12952         true.
12953
12954         * buffer.C (parseSingleLyXformat2Token): reindent some
12955
12956         * BufferView_pimpl.C (update): change since fullRebreak always
12957         return true.
12958         (Dispatch): git rid of the last hardcoded "Standard"s.
12959
12960 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12961
12962         * text2.[Ch] (fullRebreak): make it return void now that we always
12963         returned true.
12964
12965 2002-04-30  Juergen Vigna  <jug@sad.it>
12966
12967         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12968         ert compatibility check for "latex" layout.
12969
12970 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12971
12972         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12973         minipages: use col% instead of p%, and also use the current font.
12974         (makeLaTeXFile): Fix use babel condition.
12975         (parseSingleLyXformat2Token): Correct font when reading old floats.
12976
12977 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12978
12979         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12980         inserting list of floats.
12981
12982 2002-04-25  Herbert Voss  <voss@lyx.org>
12983
12984         * MenuBackend.C (expand): don't add the graphics extensions to the
12985         export menu
12986
12987 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12988
12989         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12990         non-existing layout, do not complain if it was the default layout
12991         of the original class (bug #342)
12992
12993 2002-04-24  Juergen Vigna  <jug@sad.it>
12994
12995         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12996         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12997
12998 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12999
13000         * buffer.C (getBibkeyList): If using \bibliography, return the
13001         option field with the reference itself. Enables us to provide natbib
13002         support when using \bibliography.
13003
13004 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13005
13006         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13007
13008         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13009         natbib is provided by the LaTeX class.
13010
13011 2002-04-23  Juergen Vigna  <jug@sad.it>
13012
13013         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13014         Wakeup functions.
13015
13016         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13017
13018 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13019
13020         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13021
13022         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13023         ensuremath around textordmasculine, textordfeminine and
13024         textdegree.
13025
13026 2002-04-19  Juergen Vigna  <jug@sad.it>
13027
13028         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13029         reinitializing the buffer otherwise row-dimensions may be wrong.
13030         (update): reset also the selection cursors if they do exits otherwise
13031         their x/y positions may be wrong.
13032
13033         * text2.C (cursorDown): don't enter the inset if we came from a row
13034         above and are one row over the inset.
13035
13036         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13037         really leaving an inset.
13038
13039 2002-04-18  Juergen Vigna  <jug@sad.it>
13040
13041         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13042         of the selected paragraph does not have the selected layout also if
13043         the last one had!
13044
13045         * text2.C (setLayout): fixed bug which did not change last selected
13046         paragraph.
13047
13048         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13049         changed the read and substituted \\end_float with \\end_inset!
13050
13051         * BufferView_pimpl.C (cursorPrevious):
13052         (cursorNext): fixed to make it work with rows heigher than the work
13053         area without moving the cursor only the draw of the row.
13054         (workAreaMotionNotify): fix jumping over high rows.
13055
13056 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13059         Ressler.
13060
13061 2002-04-16  Juergen Vigna  <jug@sad.it>
13062
13063         * text2.C (setCursor): set also the irow().
13064         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13065         (cursorUp):
13066         (cursorDown): support for locking an inset if the x_fix value goes
13067         inside it. That way I can transverse insets too with cursor up/down.
13068
13069         * lyxrow.h: added irow helper function same as other (i) functions.
13070
13071         * BufferView_pimpl.C (cursorPrevious):
13072         (cursorNext): fixed for insets!
13073
13074 2002-04-15  Juergen Vigna  <jug@sad.it>
13075
13076         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13077         position otherwise it is wrong in some cases.
13078
13079         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13080         inside the inset before the call.
13081
13082 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13083
13084         * buffer.[Ch] (getBibkeyList): make it const.
13085
13086 2002-04-12  Juergen Vigna  <jug@sad.it>
13087
13088         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13089
13090         * text2.C (getCursorX): new helper function
13091         (setCursor): compute also ix_
13092         (setCursorFromCoordinates): set also ix.
13093
13094         * lyxcursor.h: added ix_ and helper functions.
13095
13096         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13097
13098         * buffer.C (insertStringAsLines): dont break paragraph if the this
13099         paragraph is inside an inset which does not permit it!
13100
13101         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13102         also with no chars on this paragraph.
13103         (paintRowText): only paint stuff if it's inside the workarea!
13104
13105         * paragraph.C (breakParagraph): honor keepempty flag and break the
13106         paragraph always below not above.
13107
13108         * BufferView2.C (unlockInset): update the paragraph layout on inset
13109         unlock as we changed paragraph in such a case.
13110
13111         * lyxfind.C (LyXFind): clear the former selection if not found!
13112
13113         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13114         again called in insertChar().
13115
13116         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13117         an inset which uses the whole row!
13118         (rightMargin): ditto.
13119         (insertChar): force a rebreak if we inserted an inset!
13120
13121 2002-03-28  Herbert Voss  <voss@lyx.org>
13122
13123         * lyxlength.[Ch]: add inBP() to get the right PS-point
13124         units (BigPoint). With inPixels we have rounding errors
13125
13126 2002-04-11  Juergen Vigna  <jug@sad.it>
13127
13128         * text2.C (setCursorFromCoordinates): set iy to the right value.
13129         (setCursor): add check if row->previous exists!
13130
13131         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13132         an old float_type as this was the case in the old code!
13133
13134         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13135
13136         * BufferView2.C (showLockedInsetCursor): use iy
13137         (fitLockedInsetCursor): ditto
13138
13139         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13140         locked insets as there we have the right value now.
13141
13142         * lyxcursor.C: added iy_ variable and iy functions to set to the
13143         baseline of cursor-y of the locked inset.
13144
13145         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13146         (setCursor): fixed for insets which need a full row.
13147
13148         * text.C (rowLastPrintable): don't ignore the last space when before
13149         an inset which needs a full row.
13150         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13151         as last character of a row when before a inset which needs a full row.
13152
13153 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * version.C.in: update date
13156
13157         * text2.C (fullRebreak): try to always return true and see what
13158         happens...
13159
13160 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13161
13162         * MenuBackend.C (expand): use Floating::listName
13163
13164         * FloatList.C (FloatList): add listName argument to the built-in
13165         floats
13166
13167         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13168         text associated with the float.
13169
13170 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13171
13172         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13173
13174 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13175
13176         * ShareContainer.h: add a couple of missing typenames.
13177
13178 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13179
13180         * lyxrc.C (getDescription): use _() correctly rather than N_().
13181
13182 2002-03-28  Herbert Voss  <voss@lyx.org>
13183
13184         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13185         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13186
13187 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13188
13189         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13190         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13191
13192 2002-03-29  Juergen Vigna  <jug@sad.it>
13193
13194         * lyxfunc.C (dispatch): add a missing fitCursor call.
13195
13196         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13197         it was scrolled by a cursor move, so return the bool status.
13198
13199         * BufferView.C (fitCursor): return the bool flag also to the outside
13200         world as this is needed.
13201
13202         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13203
13204         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13205         call the edit() as it is not needed (and wrong) IMO.
13206         (workAreaButtonPress): set the screen_first variable before evt.
13207         unlock the inset as this may change screen_first and then we have
13208         a wrong y position for the click!
13209
13210 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13211
13212         * MenuBackend.C (expand): another translation that I missed
13213
13214 2002-03-28  Juergen Vigna  <jug@sad.it>
13215
13216         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13217
13218         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13219
13220 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13221
13222         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13223
13224         * MenuBackend.C (expand): fix export/view/update when there is no
13225         document open.
13226
13227 2002-03-27  Herbert Voss  <voss@lyx.org>
13228
13229         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13230         and text%
13231
13232 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13233
13234         * bufferview_funcs.C (currentState): only show paragraph number
13235         for is DEVEL_VERSION is set.
13236
13237         * lyxfunc.C (dispatch): put warning in INFO channel
13238
13239         * MenuBackend.C (expand): translate the name of floats
13240
13241         * FloatList.C (FloatList): mark the float names for translation
13242
13243         * converter.C (convert): use LibScriptSearch
13244
13245 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13246
13247         * MenuBackend.C (defaults): fix default menu (we might as well get
13248         rid of it...)
13249
13250 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13251
13252         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13253         directory.
13254
13255 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13256
13257         * lyxvc.C: reorder includes.
13258
13259 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13260
13261         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13262           properly
13263
13264 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13265
13266         * CutAndPaste.C: change layouts earlier on paste
13267           to avoid crashing when calling getFont()
13268
13269 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13270
13271         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13272         irritating #error.
13273
13274 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * WorkArea.C: remove 'Pending' debug message.
13277
13278         * most files: ws cleanup
13279
13280         * buffer.[Ch]: ws changes
13281
13282         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13283
13284 2002-03-21  Juergen Vigna  <jug@sad.it>
13285
13286         * tabular.C (SetMultiColumn): collapse also the contents of the
13287         cells and set the last border right. Added a Buffer const * param.
13288
13289 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13290
13291         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13292         linking or not.
13293
13294 2002-03-19  Juergen Vigna  <jug@sad.it>
13295
13296         * text2.C (clearSelection): reset also xsel_cache.
13297
13298         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13299         where it needs to be called (John tells us to do so too :)
13300         (selectionLost): reset sel_cache.
13301
13302         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13303
13304 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13305
13306         * text2.C (setCursorIntern): put debuging code in INSETS channel
13307
13308 2002-03-19  André Pönitz <poenitz@gmx.net>
13309
13310         * lyxfunc.C: tiny whitespace change
13311
13312 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13313
13314         * ToolbarDefaults.C (init):
13315         * LyXAction.C (init):
13316         * commandtags.h:
13317         * BufferView_pimpl.C (Dispatch):
13318         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13319
13320 2002-03-19  Allan Rae  <rae@lyx.org>
13321
13322         * exporter.C (Export): removeAutoInsets before doing anything else.
13323         While I've just introduced a dependency on BufferView this really is
13324         the best place to clean the buffer otherwise you need to cleanup in
13325         a dozen places before calling export or cleanup in a dozen functions
13326         that export calls.
13327
13328         * converter.C (runLaTeX):
13329         (scanLog): Better handling of removeAutoInsets and screen updates.
13330
13331         * lyxfunc.C (dispatch): small whitespace changes
13332
13333 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13334
13335         * WorkArea.C (C_WorkAreaEvent): return a value.
13336         (event_cb): return 1 if we handled the event, 0 otherwise.
13337
13338         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13339
13340 2002-03-18  Juergen Vigna  <jug@sad.it>
13341
13342         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13343         (GetAdditionalWidth): ditto.
13344         (RightLine): ditto.
13345         (LeftLine): ditto.
13346
13347         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13348         inset if we're there actually (probably not used right now but this
13349         is the direction to go for unifying code).
13350         (paste): disable code to clear the selection.
13351
13352         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13353         inside an InsetText and move the check further up as it is in the
13354         wrong place.
13355
13356         * text2.C (pasteSelection): set a selection over the pasted text.
13357
13358 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13359
13360         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13361         and libgraphics to build on Cygwin.
13362
13363 2002-03-15  Juergen Vigna  <jug@sad.it>
13364
13365         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13366         inserting an Inset into the paragraph. I know this is not the best
13367         fix but we already use current_view in CutAndPaste so we will remove
13368         all of it's using at the same time.
13369
13370         * buffer.C (sgmlError): deactivated function till it is rewritten in
13371         the right mode, now it can create problems.
13372
13373         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13374         before accessing it.
13375
13376 2002-03-14  Juergen Vigna  <jug@sad.it>
13377
13378         * undo_funcs.C (textHandleUndo): do the right thing when updating
13379         the inset after the undo/redo.
13380
13381         * text2.C (setCursor): just some testcode for #44 not ready yet.
13382
13383         * undo_funcs.C (textHandleUndo): set the next() and previous()
13384         pointers of the paragraph to 0 before deleting otherwise we have
13385         problems with the Paragraph::[destructor].
13386
13387         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13388         on a paragraph insertion.
13389
13390 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13391
13392         * buffer.C (asciiParagraph): use += operator for char append to
13393         string.
13394
13395         * paragraph.C (getFontSettings): compare >= not just >
13396         (highestFontInRange): ditto
13397         (setFont): ditto
13398
13399 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13400
13401         * paragraph.C: change several algorithm to be more appripriate for
13402         the problem domain. This is lookip in FontList and in the InsetList.
13403
13404 2002-03-13  André Pönitz <poenitz@gmx.net>
13405
13406         * commandtags.h:
13407         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13408
13409 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13410
13411         * commandtags.h:
13412         * LyXAction.C:
13413         * lyxfunc.C:
13414         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13415
13416 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13417
13418         * Painter.C (display): anon helper function, adjust code for this
13419         change.
13420         (pixmap): remove function.
13421
13422         * Painter.h: remove private display variable.
13423
13424         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13425
13426 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13427
13428         * WorkArea.[Ch]: remove figinset_canvas cruft.
13429
13430 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13431
13432         * lyxtextclass.C (operator): add one item cache optimization.
13433
13434         * bufferlist.h: doxy changes
13435
13436         * bufferlist.C: ws changes
13437
13438         * DepTable.[Ch] (ext_exist): place const in the right spot.
13439
13440         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13441         call resizeInsets.
13442         (workAreaExpose): call resizeInsets when the with BufferView changes.
13443         (Dispatch): adjust for protectedBlank removal
13444         (specialChar): call updateInset if the insert went ok.
13445
13446         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13447         specialChar instead.
13448
13449         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13450
13451         * BufferView.h: doxy change
13452
13453         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13454
13455         * lyxtextclass.C (operator[]): remove non-const version
13456         (defaultLayout): remove non-const version
13457
13458 2002-03-12  Juergen Vigna  <jug@sad.it>
13459
13460         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13461         did resize the LyXText too.
13462
13463         * buffer.C (readLyXformat2): set layout information on newly allocated
13464         paragraphs.
13465
13466         * tabular.C (OldFormatRead): set layout information on the paragraph.
13467
13468 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13469
13470         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13471
13472 2002-03-11  Juergen Vigna  <jug@sad.it>
13473
13474         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13475         plainly wrong.
13476         (resizeCurrentBuffer): force also the insets to resize themselfes.
13477         (moveCursorUpdate): fixed up for InsetText.
13478
13479 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13480
13481         * commandtags.h:
13482         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13483         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13484         value of Dialogs::tooltipsEnabled().
13485         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13486
13487 2002-03-08  Juergen Vigna  <jug@sad.it>
13488
13489         * BufferView_pimpl.C (updateInset): update inset inside inset also
13490         if it isn't inside theLockingInset().
13491
13492 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13493
13494         * buffer.C (asciiParagraph): redo some of the word and line length
13495         handling.
13496         (getLists): look for Caption instead of caption.
13497
13498 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13499
13500         * buffer.C (Buffer): initialize niceFile to true
13501         (makeLaTeXFile):
13502         (makeLinuxDocFile):
13503         (makeDocBookFile): make sure niceFile is true on exit
13504
13505 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13506
13507         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13508
13509 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * LyXSendto.C: remove.
13512         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13513         * lyx_gui.C: remove now-redundant comment.
13514         * ColorHandler.h: remove forward declaration of class WorkArea.
13515         * lyxfunc.C: remove #include "WorkArea.h".
13516
13517 2002-03-07  Juergen Vigna  <jug@sad.it>
13518
13519         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13520         got moved away with the DEPM and also set the inset_owner always
13521         right which before could have been omitted.
13522
13523 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13526         wanted layout is not found.
13527
13528 2002-03-07  Juergen Vigna  <jug@sad.it>
13529
13530         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13531
13532 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13533
13534         * paragraph.C (breakParagraph): use default layout not layout of
13535         prev paragraph.
13536         (Paragraph): clear ParagraphParameters.
13537
13538 2002-03-06  Juergen Vigna  <jug@sad.it>
13539
13540         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13541         otherwise it would not be a valid lenght. Fixed a special case in
13542         the minipage compatibility read where we end the document with a
13543         minipage.
13544
13545         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13546         was set as it could be 0 for InsetTexts first entry.
13547
13548 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * paragraph.C (writeFile): if layout is empty write out
13551         defaultLayoutName().
13552
13553         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13554         file without named layout we set layout to defaultLayoutName().
13555
13556 2002-03-06  Juergen Vigna  <jug@sad.it>
13557
13558         * CutAndPaste.C (copySelection): set layout for new paragraph.
13559
13560         * text.C (prepareToPrint): leave ERT inset left aligned
13561         (leftMargin): don't indent paragraphs inside ERT insets
13562
13563 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * paragraph.C (breakParagraph): dont call clear do the work manually
13566
13567         * paragraph.[Ch] (clear): remove function
13568
13569 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13570
13571         * paragraph.C (Paragraph): dont call clear, the work has already
13572         been done.
13573
13574         * lyxtextclass.C (operator): assert if n is empty
13575
13576         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13577         work manually instead.
13578
13579 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13580
13581         * BufferView_pimpl.C: protect selectionLost against text == 0
13582
13583 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13584
13585         * text.C (breakParagraph): fix a setting layout to '0' problem.
13586
13587 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13588
13589         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13590         final location of file, for the included files, and graphics.
13591
13592 2002-03-05  Juergen Vigna  <jug@sad.it>
13593
13594         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13595
13596 2002-03-04  Juergen Vigna  <jug@sad.it>
13597
13598         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13599
13600         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13601         last column of multicolumn cells.
13602         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13603
13604 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13605
13606         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13607         file if it doesn't go to a temporary file.
13608
13609         * buffer.C (sgmlOpenTag):
13610         (sgmlCloseTag):  remove extra newline insertion.
13611
13612 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13613
13614         * text.C (getRowNearY): comment out debug msg
13615
13616 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13617
13618         * text2.C: first -> first_y
13619
13620         * text.C (getRowNearY): add some attemts at a possible
13621         optimization, not working.
13622
13623         * tabular.[Ch]: add BufferParams to several function so that newly
13624         created paragraph can be initialized to he default layotu for the
13625         buffers textclass.
13626
13627         * tabular-old.C (ReadOld): add buf->params to call of Init
13628
13629         * screen.C: rename text->first to text->first_y
13630
13631         * paragraph.C (breakParagraph): always set layout in the broken
13632         paragraph
13633
13634         * lyxtextclass.C (Read): remove lowercase
13635         (hasLayout): ditto
13636         (operator): ditto
13637         (delete_layout): ditto
13638
13639         * lyxtext.h: rename first -> first_y
13640
13641         * lyxlayout.C (Read): remove lowercase
13642         (name): ditto
13643         (setName): ditto
13644         (obsoleted_by): ditto
13645
13646         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13647
13648         * buffer.C (insertErtContents): add params are to InsetERT
13649         (parseSingleLyXformat2Token): add code to check if a paragraphs
13650         layout really exist.
13651         (parseSingleLyXformat2Token): add params to several inset
13652         constructors
13653         (asciiParagraph): remove lowercase, do the layout comparisons with
13654         no_case
13655
13656         * BufferView_pimpl.C (cursorNext): first -> first_y
13657         (resizeCurrentBuffer): first -> first_y
13658         (updateScrollbar): first -> first_y
13659         (scrollCB): first -> first_y
13660         (workAreaMotionNotify): first -> first_y
13661         (workAreaButtonPress): first -> first_y
13662         (checkInsetHit): first -> first_y
13663         (cursorPrevious): first -> first_y
13664         (cursorNext): first -> first_y
13665         (Dispatch): add buffer_->params to severl inset contructors
13666
13667 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * lyxlayout.C (Read): remove some debug info that I forgot.
13670
13671         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13672         clean up the code slightly.
13673         (makeLinuxDocFile): ditto
13674         (makeDocBookFile): ditto
13675
13676         * text2.C: layout as string
13677
13678         * text.C: layout as string
13679
13680         * paragraph_pimpl.C: layout as string
13681
13682         * paragraph.[Ch]: layout as string
13683
13684         * lyxtextclasslist.[Ch]: layout as string
13685
13686         * lyxtextclass.[Ch]: layout as string
13687
13688         * lyxtext.h: layout as string
13689
13690         * lyxlayout.[Ch]: layout as string
13691
13692         * lyx_cb.C: layout as string
13693
13694         * bufferview_funcs.C: layout as string
13695
13696         * bufferparams.C: layout as string
13697
13698         * buffer.C: layout as string
13699
13700         * LyXView.[Ch]: layout as string
13701
13702         * LaTeXFeatures.[Ch]: layout as string
13703
13704         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13705
13706         * BufferView_pimpl.C: change current_layout to string, remove
13707         lyx::layout_type.
13708         (Dispatch):
13709         (smartQuote):
13710         (insertInset):
13711         (workAreaButtonRelease): layout as string
13712
13713         * BufferView2.C (unlockInset): adjust
13714
13715         * vspace.C (asLatexCommand): use an explict temp variable.
13716
13717 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13718
13719         * Makefile.am: use FRONTEND_*
13720
13721 2002-03-01  Juergen Vigna  <jug@sad.it>
13722
13723         * tabular.C (SetWidthOfMulticolCell): changed to something better
13724         I hope but still work in progress.
13725         (recalculateMulticolumnsOfColumn): renamed function from
13726         recalculateMulticolCells as it is more appropriate now.
13727         (SetWidthOfCell): calculate multicols better.
13728
13729 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13730
13731         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13732
13733         * lyxfunc.C (processKeySym): print sequence also if it is
13734         `deleted' (complete)
13735
13736         * kbsequence.C (print): print sequence even if it is deleted
13737         (complete would be a better word, actually).
13738
13739         * lyxfunc.C (dispatch): print complete options after a prefix key
13740
13741         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13742
13743 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13744
13745         * text2.C (setCharFont): eliminate setCharFont code duplication.
13746
13747 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13748
13749         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13750         LFUN_TABULAR_FEATURE (bug #177)
13751
13752 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13753
13754         * Makefile.am: remove figure.h
13755
13756 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13757
13758         * Bufferview_pimpl.C:
13759         * CutAndPasteC:
13760         * LaTeX.C:
13761         * LyXSendto.C:
13762         * buffer.C:
13763         * bufferlist.C:
13764         * converter.C:
13765         * language.C:
13766         * lyxfunc.C:
13767         * lyxvc.C:
13768         * paragraph.C:
13769         * text.C:
13770         * text2.C: remove #include "lyx_gui_misc.h".
13771
13772         * LaTeX.C: added #include <cstdio>
13773
13774 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13775
13776         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13777         that the paragraph following this one can have.
13778
13779         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13780
13781         * vspace.C (asLatexCommand): fix bogus gcc warning
13782
13783         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13784
13785 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13786
13787         * text2.C (setLayout): get rid of redundant code
13788
13789 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13790
13791         * text2.C (incDepth): make sure depth cannot be increased beyond
13792         reasonable values.
13793
13794 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13795
13796         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13797         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13798
13799         * PainterBase.h (image):
13800         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13801         a LyXImage const *.
13802
13803 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13804
13805         * BufferView.C:
13806         * BufferView.h:
13807         * BufferView_pimpl.C:
13808         * BufferView_pimpl.h:
13809         * LaTeXFeatures.C:
13810         * LyXAction.C:
13811         * LyXView.C:
13812         * Makefile.am:
13813         * UpdateList.h:
13814         * UpdateList.C:
13815         * buffer.C:
13816         * figure.h:
13817         * figureForm.C:
13818         * figureForm.h:
13819         * figure_form.C:
13820         * figure_form.h:
13821         * lyx_cb.C:
13822         * lyx_gui.C:
13823         * lyx_gui_misc.C:
13824         * lyxfunc.C:
13825         * sp_base.h:
13826         * sp_ispell.h:
13827         * sp_pspell.h:
13828         * sp_spell.C: remove fig inset, and the crap house of
13829           cards that follows it
13830
13831 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13832
13833         * Makefile.am:
13834         * lyxserver.C:
13835         * os2_defines.h:
13836         * os2_errortable.h:
13837         * nt_defines.h: move .h into support/
13838
13839         * vms_defines.h: remove
13840
13841         * WorkArea.C: add space in debug output
13842
13843         * text2.C:
13844         * paragraph.C:
13845         * buffer.C: add WITH_WARNINGS
13846
13847         * vc-backend.h:
13848         * vc-backend.C:
13849         * bufferlist.C: s/retrive/retrieve/, add docs
13850
13851         * vspace.h:
13852         * vspace.C:
13853         * kbmap.h:
13854         * lyxlength.h:
13855         * lyxgluelength.h:
13856         * length_common.h:
13857         * chset.h:
13858         * chset.C: add docs
13859
13860         * lyxgui.C: add ID to X error handler
13861
13862         * lyxtestclass.c: fix typo
13863
13864 2002-02-26  Juergen Vigna  <jug@sad.it>
13865
13866         * tabular_funcs.C (write_attribute): changed so that some default
13867         attributes are not written at all.
13868         (getTokenValue): set default values before trying to read the
13869         value so we have the return value always set as default if we don't
13870         find the token we search for.
13871
13872         * tabular.C (Write): write bools as bools not as strings!
13873
13874 2002-02-22  Juergen Vigna  <jug@sad.it>
13875
13876         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13877         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13878
13879         * text.C (leftMargin): don't add an indent for paragraphs inside
13880         tabular cells (fix #208).
13881
13882 2002-02-21  José Matos  <jamatos@fep.up.pt>
13883
13884         * tabular.C (docBook): fixed support for long tables.
13885
13886 2002-02-20  Juergen Vigna  <jug@sad.it>
13887
13888         * text2.C (getFont): get the drawing font of the Inset if this
13889         paragraph is inside an inset (only important for InsetERT for now).
13890
13891         * buffer.C (insertErtContents): use new lanugage params in ERT
13892         constructor.
13893
13894         * CutAndPaste.C: commenting out seemingly uneeded code.
13895
13896 2002-02-19  Allan Rae  <rae@lyx.org>
13897
13898         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13899         Iterators might be simple to use but they also get invalidated.
13900         (removeAutoInsets): renamed saved cursor tracking variables and added
13901         some comments to clarify what everything does.
13902
13903 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13904
13905         * Chktex.C:
13906         * LaTeX.C:
13907         * LyXSendto.C:
13908         * converter.C:
13909         * lyx_cb.C:
13910         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13911         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13912
13913         * lyxfunc.C:
13914         * vc-backend.h: remove #include "support/syscall.h"
13915
13916         * LaTeX.C:
13917         * LyXSendto.C:
13918         * converter.C: rearrange #includes in Lars' approved fashion.
13919
13920         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13921         forward declare class Timeout in the header file.
13922
13923         * XFormsView.C: changes due to the above.
13924
13925         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13926         similar to LyXView.
13927
13928         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13929         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13930
13931 2002-02-18  José Matos  <jamatos@fep.up.pt>
13932
13933         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13934         insets contents.
13935
13936 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13937
13938         * a lot of small ws changes
13939         * add a lot of using std::XXX
13940         * use std construcs some places where approp.
13941         * use some exisint stuff from lyxfunctional where approp.
13942         * Make file changes to use partial linking (lets test this now...)
13943
13944 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13945
13946         * Chktex.C:
13947         * buffer.C:
13948         remove #include "support/syscontr.h" as it's redundant. Always has been.
13949
13950         * Chktex.C:
13951         * LaTeX.C:
13952         * LyXSendto.C:
13953         * converter.C:
13954         * lyx_cb.C:
13955         * vc-backend.C:
13956         change Systemcalls::System to Systemcalls::Wait and
13957         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13958         No change of functionality, just reflects the stripped down Systemcalls
13959         class.
13960
13961 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13962
13963         * debug.[Ch]: add a GRAPHICS type to the enum.
13964
13965 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13966
13967         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13968
13969         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13970         there is an inset.
13971
13972 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13973
13974         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13975         match the changes below.
13976
13977         * text2.C (toggleInset): if there is not editable inset at cursor
13978         position, try to see if cursor is _inside_ a collapsable inset
13979         and close it.
13980
13981 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13982
13983         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13984         document menu has a nice checkbox
13985
13986 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13987
13988         * lyxlength.C (asLatexString): change PW to output as percent of
13989         \textwidth.
13990
13991         * lengthcommon.C: change '%' to 't%'
13992
13993         * lyxfunc.C (dispatch): a few comments from Martin
13994
13995 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13996
13997         * WorkArea.h:
13998         * WorkArea.C:
13999         * BufferView_pimpl.h:
14000         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14001           the X selection.
14002
14003 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14004
14005         * vspace.C (inPixels): fix compiler warning
14006
14007 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14008
14009         * lyxfunc.C (getStatus): fix status message for disabled commands.
14010
14011 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14012
14013         * BufferView_pimpl.C: fix crash on close buffer
14014         during selection (#227)
14015
14016 2002-01-27  Herbert Voss  <voss@lyx.org>
14017
14018         * buffer.C: link old Figure to new graphic inset
14019
14020 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14021
14022         * FontLoader.C (getFontinfo): Change the latex font names in order
14023         to match the names of type1inst.
14024
14025 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14026
14027         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14028
14029         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14030         (extchanged): ditto
14031         (ext_exist): ditto
14032         (remove_files_with_extension): ditto
14033         (remove_file): ditto
14034         (write): ditto
14035
14036         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14037         document is smaller than the work area height. Do not initialize
14038         static variables to 0.
14039
14040 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14041
14042         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14043
14044         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14045         LFUN_LAYOUT_PARAGRAPHS.
14046
14047         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14048         tabular. It is possible to provide a possible cell, which will
14049         typically be the actcell from the corresponding insettabular
14050
14051         * lyxfunc.C (getStatus): small cleanup; disable
14052         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14053         true
14054
14055 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14056
14057         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14058
14059         * paragraph.C (startTeXParParams):
14060         (endTeXParParams): new methods. The LaTeX code to
14061         start/end paragraph formatting
14062         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14063         empty (fixes bug #200)
14064
14065         * vspace.C (inPixels): adapt to the change below
14066         (inPixels): [later] more cleanups (remove unused variables)
14067
14068         * lyxlength.C (inPixels): change to use a width and a height as
14069         parameter.
14070
14071 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14072
14073         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14074         Replaced with \paperwidth
14075
14076         * DepTable.C (insert): add std:: qualifier
14077
14078 2002-01-18  Allan Rae  <rae@lyx.org>
14079
14080         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14081         updated also?
14082
14083         * text.C (drawInset): Turned out I didn't know enough about how
14084         rebreaking worked.  This fixes most of the redraw problems.  I see
14085         an occasional cursor trail when a line is broken now and the cursor
14086         placement can seem out by a few pixels also after a rebreak.
14087
14088 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14089
14090         * buffer.C (parseSingleLyXformat2Token): update because minipage
14091         width is now a LyXLength
14092
14093         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14094
14095         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14096         math insets
14097
14098 2002-01-17  Juergen Vigna  <jug@sad.it>
14099
14100         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14101
14102         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14103         is set correctly and the inset is updated correctly.
14104
14105 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14106
14107         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14108         the beginning of the loop.
14109
14110 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14111
14112         * lyxrc.C: improve help for use_scalable_fonts
14113
14114 2002-01-17  Allan Rae  <rae@lyx.org>
14115
14116         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14117
14118 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14119
14120         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14121         make sure to set their inset_owner to the right value (bug #171)
14122
14123 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14124
14125         * DepTable.h
14126         * DepTable.C: Implement mtime checking to reduce time spent doing
14127         CRCs.
14128
14129 2002-01-16  Juergen Vigna  <jug@sad.it>
14130
14131         * tabular.C (GetAdditionalHeight): one of error fixed.
14132
14133         * lyxrc.C (output): small fix in writing use_pspell.
14134
14135 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14136
14137         * sp_base.h: #include LString.h
14138
14139 2002-01-16  Allan Rae  <rae@lyx.org>
14140
14141         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14142         Can someone check this please?
14143
14144         * text.C (drawInset): It was possible that p.row would be removed by
14145         breakAgainOneRow upsetting a few other settings.  There may be another
14146         small tweak possible by setting need_break_row = 0 when p.row has been
14147         removed but I don't know enough about the logic here.
14148
14149 2002-01-15  Allan Rae  <rae@lyx.org>
14150
14151         * text.C (insertChar): removed conditional truism.
14152
14153         * BufferView2.C (removeAutoInsets): More tweaks.
14154         cur_par_prev could be a stray pointer.  Check for trailing empty line
14155         in case last line was cur_par and only had an error inset on it.
14156
14157 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14158
14159         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14160         absolute
14161
14162         * vc-backend.C (most methods):
14163         * exporter.C (Export):
14164         * converter.C (convert):
14165         (runLaTeX):
14166         * LyXSendto.C (SendtoApplyCB):
14167         * lyxfunc.C (dispatch):
14168         (menuNew):
14169         (open):
14170         (doImport):
14171         * lyx_cb.C (AutoSave):
14172         (InsertAsciiFile):
14173         * BufferView_pimpl.C (MenuInsertLyXFile):
14174         * buffer.C (runChktex): use Buffer::filePath().
14175
14176         * buffer.h: rename filename to filename_; rename filepath to
14177         filepath_ and make it private
14178         (filePath): new method
14179
14180         * buffer.C (writeFile): use fileName()
14181         (getLatexName):
14182
14183         * lyx_main.C (init): fix starting  of LyX when the binary is a
14184         link from so,ewhere else.
14185
14186         * minibuffer.C: include <cctype> for isprint
14187
14188 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14189
14190         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14191         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14192         name clash with InsetCollapsable's width function.
14193
14194 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14195
14196         * lastfiles.C: include <iterator>
14197
14198 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14199
14200         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14201         std::count.
14202
14203         * buffer.C (makeLaTeXFile): ditto.
14204         Also make loop operation more transparent.
14205
14206 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14207
14208         * ToolbarDefaults.C: remove trailing comma closing namespace.
14209
14210         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14211
14212         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14213         as in WorkArea.
14214
14215         * trans.C (Load): comment out unused variable, allowed.
14216
14217 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14218
14219         * minibuffer.[Ch] (append_char): new method to recieve input from the
14220         drop-down completion browser. If a key was pressed, then recieve this
14221         char and append it to the existing string.
14222         (peek_event): modify the positioning data passed to the completion
14223         browser so that it can be placed above the minibuffer rather than below.
14224 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14225
14226         * LyXAction.C (init): alloe error-next for readonly documents.
14227
14228         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14229         count.
14230
14231 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14232
14233         * bufferlist.C (readFile): create the buffer _after_ checking that
14234         the file exists.
14235
14236         * lyxfunc.C (verboseDispatch): fix handling of arguments
14237
14238         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14239
14240         * lyxrc.C: use string::erase() instead of initializing to "".
14241
14242
14243 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14244
14245         * BufferView_pimpl.h:
14246         * BufferView_pimpl.C:
14247         * WorkArea.h:
14248         * WorkArea.C:
14249         * text2.C: tell X when we have made a selection for copying
14250
14251 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14252
14253         * BufferView_pimpl.C (MenuInsertLyXFile):
14254         * lyxfunc.C (menuNew):
14255         (open):
14256         (doImport): add shortcuts to directory buttons
14257
14258         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14259         open a float)
14260
14261         * lyxfunc.C (setStatusMessage):
14262         (getStatusMessage): new methods
14263         (getStatus):use setStatusMessage instead of setErrorMessage
14264         (dispatch): when function is disabled, set error message here
14265         [instead of in getStatus previously]
14266
14267         * BufferView_pimpl.C (workAreaButtonRelease): update
14268         toolbar/menubar here too.
14269
14270 2002-01-13  Allan Rae  <rae@lyx.org>
14271
14272         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14273         Now seems indestructible.  Remaining task is to audit all other
14274         code affected by deleteEmptyParagraphMechanism.  One small quirk
14275         left is that an empty document with an error in the preamble can
14276         be made to report an error but no error box appears.  I don't know
14277         where it goes.
14278         (removeAutoInsets): Improved comments.
14279
14280 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14281
14282         * Thesaurus.h:
14283         * Thesaurus.C: update for Aiksaurus 0.14
14284
14285 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14286
14287         * text2.C (firstParagraph): removed member function, all uses
14288         replaces with ownerParagraph
14289         (redoParagraphs): here
14290         (updateInset): here
14291         (toggleAppendix): here
14292         * BufferView2.C (insertErrors): here
14293         (setCursorFromRow): here
14294
14295 2002-01-13  Allan Rae  <rae@lyx.org>
14296
14297         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14298         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14299         There is still a way to segfault this although you may have to do this
14300         multiple times: Have an InsetERT with an unknown command in it.
14301         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14302         <down-arrow>, <Enter> again, View->DVI, BANG!
14303
14304         * text2.C (setCursor):
14305         (deleteEmptyParagraphMechanism):
14306         * lyxtext.h (setCursor):
14307         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14308         Making use of the return value may help fix other bugs.
14309
14310 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14311
14312         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14313
14314         * LyXView.C (updateMenubar): call MenuBar::update here
14315         (updateToolbar): but not here
14316         (showState): do not update toolbar/menubar
14317
14318         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14319         should need to care about that.
14320
14321         * lyxfunc.C (verboseDispatch): simplify a bit
14322         (getStatus): have a version which takes a pseudoaction, and
14323         another which requires a (kb_action,string).
14324
14325         * LyXAction.C (retrieveActionArg): make it work also when action
14326         is not a pseudo-action.
14327         (getActionName): simplify a bit
14328         (helpText):
14329
14330 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14331
14332         * lyxfunc.C (verboseDispatch): new families of methods with
14333         several ways to specify a command and a bool to indicate whether
14334         the command name and shortcut should be displayed in minibuffer
14335         (eventually, we could extend that to a finer bitmask like
14336         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14337         (dispatch): the pristine dispatch command which just, well,
14338         dispatchs! Note it still sets its result to minibuffer; I'm not
14339         sure we want that.
14340
14341         * lyxfunc.h: remove setHintMessage
14342
14343         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14344
14345 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14346
14347         * BufferView_pimpl.C (specialChar): delete new inset if we have
14348         not been able to insert it.
14349
14350         * kbmap.C: revert to using int instead of kb_action, since all we
14351         are dealing with is pseudo-actions.
14352
14353         * LyXAction.C (searchActionArg): change to return int instead of
14354         kb_action, since the result is a pseudoaction.
14355
14356 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14357
14358         * buffer.C (insertErtContents): Fix (partially) the font bug.
14359
14360 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14361
14362         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14363         as the other one is broken on my machine!
14364
14365 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14366
14367         * commandtags.h:
14368         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14369
14370 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14373         reflect their actual use. Provide compatibility code for older lyxrc
14374         files.
14375
14376         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14377         FL_NORMAL_STYLE.
14378         change names of popup font variables in line with the changes to lyxrc.C
14379
14380 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14381
14382         * buffer.C (asciiParagraph): avoid outputing a word twice after
14383         an inset.
14384
14385         * lyxrc.C (getDescription): document that document_path and
14386         template_path can be empty.
14387
14388 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14389
14390         * LaTeXFeatures.C (getMacros):
14391         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14392
14393         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14394
14395         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14396         getPackages.
14397         (getPackages): rename feature "floats" to "float". Use an array to
14398         iterate over 'simple' features (i.e. just a \usepackage). Add
14399         handling of "amsmath" (renamed from "amsstyle").
14400
14401 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14402
14403         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14404         features list.
14405
14406 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14407
14408         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14409         FuncStaus::FuncStatus & FuncStaus::some_method().
14410
14411 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14412
14413         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14414         of the func_satus stuff. Edited and massaged in various ways by
14415         JMarc.
14416
14417         * lyxfunc.C (getStatus): use FuncStatus
14418
14419 2002-01-08  Juergen Vigna  <jug@sad.it>
14420
14421         * text.C (nextBreakPoint): use function Inset::isChar().
14422
14423         * paragraph.C (TeXOnePar): use function
14424         Inset::forceDefaultParagraphs.
14425
14426         * buffer.C (latexParagraphs): use function
14427         Inset::forceDefaultParagraphs.
14428
14429 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14430
14431         * lyx_gui.C (init): set the style of the menu popups to
14432         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14433
14434 2002-01-07  Juergen Vigna  <jug@sad.it>
14435
14436         * text.C (setHeightOfRow): small fix
14437         (prepareToPrint): don't look at alignment if we don't have the place
14438         for doing it.
14439
14440 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14441
14442         * box.C: New file. Move the Box methods and functions out of box.h,
14443         following Lars' suggestion.
14444
14445 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14446
14447         * box.h: #include "support/LOstream.h", needed for inlined function.
14448
14449         * lyxtextclass.C:
14450         * lyxtextclasslist.C: added some using std declarations.
14451
14452 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14453
14454         * box.h: make signed dimensions to allow insets wider than
14455           the screen (bug #162)
14456
14457         * BufferView_pimpl.C: add some insetHit debug
14458
14459 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * vc-backend.C: add FIXME
14462
14463 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14464
14465         * lyxfunc.C (getStatus): enable code for showing math font status
14466         in toolbar/menu.
14467
14468 2002-01-07  Juergen Vigna  <jug@sad.it>
14469
14470         * text.C (nextBreakPoint): removed debug output not needed anymore.
14471
14472 2002-01-06  Juergen Vigna  <jug@sad.it>
14473
14474         * text.C (nextBreakPoint): fixed up this function we had this bug
14475         since ever but now hopefully we break row better.
14476         (insertChar): we have to check if an inset is the next char as it
14477         could now happen that a large inset is causing a break.
14478
14479 2002-01-05  Juergen Vigna  <jug@sad.it>
14480
14481         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14482         if it doesn't like to be drawed.
14483
14484 2002-01-04  Juergen Vigna  <jug@sad.it>
14485
14486         * BufferView2.C (lockInset): forgot to set a cursor.
14487
14488         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14489
14490 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14491
14492         * FormMathsPanel.C:
14493         * FormMathsPanel.h
14494         * MathsSymbols.C:
14495         * form_maths_panel.C:
14496         * form_maths_panel.h:
14497         * form_maths_panel.fd: implemented sub- and super- buttons in math
14498         panel.
14499
14500         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14501         (or ^ space) to be used as in TeX (req'd by Andr�.
14502
14503         * lyxfunc.C: Allow ^ and _ again to be used both as
14504         super/subscript (mathed) and as themselves (in text).
14505
14506 2002-01-03  Allan Rae  <rae@lyx.org>
14507
14508         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14509         "LyX" or the filename of the current buffer if it has one.  This is a
14510         modified form of John Levon's patch.
14511
14512         * XFormsView.C (setWindowTitle): also set icon title.
14513
14514         * LyXView.h (setWindowTitle): signature changed.
14515         * XFormsView.h (setWindowTitle): ditto.
14516
14517 2002-01-02  Juergen Vigna  <jug@sad.it>
14518
14519         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14520
14521 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14522
14523         * screen.C (topCursorVisible): introduce a temp var for
14524         text->cursor.row(), handle the case where this row is null. (kindo
14525         hachish)
14526
14527         * text2.C (setCursor): add a couple of asserts.
14528
14529         * paragraph.h (inset_iterator): add -> operator
14530
14531         * paragraph.[Ch] (autoDeleteInsets): remove member function
14532
14533         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14534         cursor pos correctly and handle inset deletion by itself.
14535         (insertErrors): move iterator declaration out of for expression
14536
14537         * lyxtextclass.C: add <algorithm>
14538
14539         * Makefile.am: added the new files to sources, removed layout.C
14540
14541         * layout.C: removed file
14542
14543         * layout.h: remove LYX_DUMMY_LAYOUT
14544
14545         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14546         layout.
14547
14548         * lyxlayout.[Ch]:
14549         * lyxtextclass.[Ch]:
14550         * lyxtextclasslist.[Ch]: new files
14551
14552         * include order changes to a lot of files, also changes because of
14553         the six new files.
14554
14555 2001-12-27  Juergen Vigna  <jug@sad.it>
14556
14557         * buffer.C (asciiParagraph): more fixes.
14558
14559         * tabular.C (ascii): make ascii export support export of only the
14560         data separated by a column-delimiter.
14561         (ascii): better support for ascii export.
14562
14563         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14564
14565 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14566
14567         * tabular_funcs.C: use a "using std::getline" instead of the
14568         previous fix from Angus (necessary for cxx + lyxstring)
14569
14570 2001-12-24  Juergen Vigna  <jug@sad.it>
14571
14572         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14573
14574         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14575         problems. First check a minipage also if we have some ert-contents
14576         (not only on par->size(), second set the right depth of the paragraph
14577         on the relink to the root-paragraph-list!
14578
14579         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14580         which then did not anymore update the main paragraphs on undo/redo!
14581
14582 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14583
14584         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14585         code. Support all font-changing funcs (even those which are not in
14586         menu currently). Support for reporting font settings in
14587         mathed (disabled until Andre provides a function on mathed's side).
14588
14589         * func_status.h (toggle): small helper function to set toggle
14590         state on a flag.
14591
14592 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14593
14594         * tabular_funcs.C: getline -> std::getline
14595
14596 2001-12-21  Juergen Vigna  <jug@sad.it>
14597
14598         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14599         accessed and could be 0 (I couldn't generate this but it seems
14600         Michael could!).
14601
14602 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14603
14604         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14605         * tabular_funcs.h: here and include iosfwd
14606
14607 2001-12-20  Juergen Vigna  <jug@sad.it>
14608
14609         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14610         inside inset but undo_par was.
14611
14612 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14613
14614         * Thesaurus.C: always include <config.h> in sources.
14615
14616         * Painter.h:
14617         * lyxlookup.h:
14618         * box.h: do not include <config.h> in header files
14619
14620         * text.C (paintLastRow): remove unused variable
14621
14622         * text.C (transformChar):
14623         (insertChar):
14624         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14625
14626         * Painter.C (text):
14627         * font.C (width): rewrite to use uppercase() instead of
14628         islower/toupper.
14629
14630         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14631
14632 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14633
14634         * lyxfind.C: clean up of find failure position change
14635
14636 2001-12-20  Juergen Vigna  <jug@sad.it>
14637
14638         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14639
14640         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14641         (TeXRow): added to LaTeX a single tabular row.
14642         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14643         (Latex): simplified and finally good LT-h/f support.
14644         (various_functions): just small adaptions for LT-h/f support.
14645
14646         * tabular_funcs.[hC]: added and moved here all not classfunctions
14647         of LyXTabular.
14648
14649 2001-12-19  Juergen Vigna  <jug@sad.it>
14650
14651         * tabular.[Ch]: better support for longtabular options (not finished
14652         yet!)
14653
14654 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14655
14656         * text.C (paintLastRow): use the label font instead of the font of
14657         the last character to compute the size of *_BOX. This makes more
14658         sense and avoids a crash with empty paragraphs.
14659         Use Painter::rectangle to draw EMPTY_BOX.
14660
14661 2001-12-19  Juergen Vigna  <jug@sad.it>
14662
14663         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14664         the paragraphs if the replaced paragraph is not the first one!
14665         Tried to delete not used paragraphs but does not work yet so for
14666         now it's inside #ifdef's and by default off!
14667
14668 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14669
14670         * MenuBackend.C: include "lyx_main.h" instead of declaring
14671         lastfiles (actually was declared as LastFiles* instead of a
14672         scoped_ptr).
14673
14674 2001-12-17  Juergen Vigna  <jug@sad.it>
14675
14676         * tabular.C (AppendColumn): applied John's fix
14677
14678 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14679
14680         * BufferView.h:
14681         * BufferView.C:
14682         * BufferView_pimpl.h:
14683         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14684
14685         * Makefile.am:
14686         * box.h: new start of class for above
14687
14688         * lyxfunc.C: ignore space-only minibuffer dispatches.
14689           Show the command name when it doesn't exist
14690
14691         * minibuffer.C: don't add empty lines to the history
14692
14693         * minibuffer.C: add a space on dropdown completion
14694
14695 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14696
14697         * text.C: fix line above/below drawing in insets
14698
14699 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14700
14701         * lyxlength.C (LyXLength): Initialize private variables.
14702
14703 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14704
14705         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14706         when inserting error insets.
14707
14708 2001-12-13  Juergen Vigna  <jug@sad.it>
14709
14710         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14711         actually sometimes the before-paragraph.
14712         (setUndo): don't clear the redostack if we're not actually undoing!
14713
14714 2001-12-06  Juergen Vigna  <jug@sad.it>
14715
14716         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14717         and fixed redoing of main paragraph, so we can use it now ;)
14718
14719         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14720
14721 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14722
14723         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14724         Juergen's request
14725
14726 2001-12-13  André Pönitz <poenitz@gmx.net>
14727
14728         * undostack.[Ch]:
14729         * undo_func.C: minor cleanup
14730
14731 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14732
14733         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14734         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14735         font in urw-fonts package which is marked as -urw-fontspecific and
14736         does not work (incidentally, changing the encoding in the
14737         fonts.dir of this package to -adobe-fontspecific fixes the
14738         problem).
14739
14740         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14741         is a crash when undoing first paragraph (Juergen, please take a
14742         look). THis does not mean the undo fix is wrong, just that it
14743         uncovers problems.
14744
14745         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14746         the (Paragraph*) version when needed instead of duplicating the
14747         code.
14748
14749         * text.C (workWidth): use Inset::parOwner to find out where the
14750         inset has been inserted. This is a huge performance gain for large
14751         documents with lots of insets. If Inset::parOwner is not set, fall
14752         back on the brute force method
14753
14754         * paragraph_pimpl.C (insertInset):
14755         * paragraph.C (Paragraph):
14756         (cutIntoMinibuffer): set parOwner of insets when
14757         inserting/removing them
14758
14759         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14760
14761 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14762
14763         * commandtags.h:
14764         * LyXAction.C:
14765         * lyx_main.C:
14766         * lyxfunc.C:
14767         * mathed/formulabase.C:
14768         * mathed/math_cursor.[Ch]:
14769         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14770
14771
14772 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14773
14774         * lyxlength.[Ch] (operator!=): new function
14775
14776 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14777
14778         * text.C (workWidth): use Inset::parOwner to find out where the
14779         inset has been inserted. This is a huge performance gain for large
14780         documents with lots of insets. If Inset::parOwner is not set, fall
14781         back on the brute force method
14782
14783         * paragraph_pimpl.C (insertInset):
14784         * paragraph.C (Paragraph):
14785         (cutIntoMinibuffer): set parOwner of insets when
14786         inserting/removing them
14787
14788         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14789
14790 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14791
14792         * tabular-old.C (getTokenValue):
14793         * tabular.C (getTokenValue):
14794         (write_attribute): new versions for LyXLength
14795         (everywhere): adjust the use of widths
14796
14797         * tabular.h: change the type of widths from string to LyXLength
14798
14799 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14800
14801         * paragraph.C: fixed missing line number count when exporting
14802         Environments to LaTeX file
14803
14804         * buffer.C: added informational message for checking line numbers.
14805
14806 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14807
14808         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14809         paragraph, do the 'double space' part, but not the 'empty
14810         paragraph' one.
14811
14812         * text.C (workWidth): small optimization
14813         (getLengthMarkerHeight): use minimal size for negative lengths.
14814
14815 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14816
14817         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14818
14819         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14820
14821 2001-12-11  André Pönitz <poenitz@gmx.net>
14822
14823         * FontLoader.C:
14824         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14825
14826 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14827
14828         * text2.C: keep selection on a setFont()
14829
14830 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14831
14832         * lyx_cb.C: another bv->text misuse, from insert label
14833
14834 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14835
14836         * kbsequence.h:
14837         * kbsequence.C: re-instate nmodifier mask
14838
14839 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14840
14841         * lyx_main.h: make lyxGUI private.
14842
14843 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14844
14845         * lyxfind.C: place the cursor correctly on failed search
14846
14847 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14848
14849         * text.C (getLengthMarkerHeight): for small heights, the arrows
14850         are not always on top/bottom of the text
14851         (drawLengthMarker): smaller arrows; take the left margin in
14852         account; draw also vfills.
14853         (paintFirstRow):
14854         (paintLastRow): remove special code for vfill and standard spaces,
14855         since everything is handled in drawLengthMarker now.
14856
14857 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14858
14859         * buffer.C (insertErtContents): try to handle font and language
14860         interaction a bit better.g
14861
14862         * ColorHandler.C (updateColor): change the hash to cover the whole
14863         LColor enum, ws cleanup
14864         (getGCLinepars): ditto
14865         (getGCLinepars): only lookup in the linecache once.
14866
14867 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14868
14869         * iterators.C (operator++): Make the iterator more robust
14870
14871         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14872         (John's patch)
14873         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14874
14875 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14876
14877         * lyxtext.h:
14878         * text.C: better added space drawing
14879
14880 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14881
14882         * LyXView.C:
14883         * BufferView2.C: fix layout combo update on inset unlock
14884
14885 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14886
14887         * Makefile.am: don't compile unused files
14888
14889 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14890
14891         * lyxfunc.C:
14892         * commandtags.h:
14893         * LyXAction.C: remove old LFUN_LAYOUTNO
14894
14895 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14896
14897         * paragraph_pimpl.h:
14898         * paragraph_pimpl.C: isTextAt() doesn't need font param
14899
14900 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14901
14902         * lyxlex.h:
14903         * lyxlex.C: little cleanup
14904
14905 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14906
14907         * BufferView_pimpl.C: fix insertAscii for insets
14908
14909 2001-12-05  Juergen Vigna  <jug@sad.it>
14910
14911         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14912         set the right font on the "multi" paragraph paste!
14913
14914 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14915
14916         * trans_decl.h:
14917         * trans_mgr.[Ch]:
14918         * trans.[Ch]:
14919         * lyxgluelength.C:
14920         * lyxlength.C: remove out-commented code.
14921
14922         * BufferView_pimpl:
14923         * CutAndPaste.C:
14924         * DepTable.C:
14925         * buffer.C:
14926         * chset.C:
14927         * lastfiles.C:
14928         * lyxlex.C:
14929         * lyxlex_pimpl.C:
14930         * lyxserver.C:
14931         * screen.C:
14932         * tabular-old.C:
14933         * tabular.C:
14934         * text.C:
14935         * trans_mgr.C:
14936         * vc-backend.C: change "while(" to "while ("
14937
14938         * lyxlength.[Ch]: add zero function to check if length is zero or
14939         not
14940         * lyxgluelength.C: use it
14941
14942 2001-12-05  Allan Rae  <rae@lyx.org>
14943
14944         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14945         Works for 2.95.3, from what I understand of Garst's reports this should
14946         work for other g++ versions.  We're screwed if the abs(int) definition
14947         changed between bugfix releases of gcc.
14948
14949 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14950
14951         * text.C: fix chapter label offset !
14952
14953 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14954
14955         * lyxtext.h:
14956         * text.C: fix hfill at end of line, clean up
14957
14958 2001-12-04  Juergen Vigna  <jug@sad.it>
14959
14960         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14961         that we force an update of the inset and it's owners if neccessary.
14962
14963 2001-12-03  Juergen Vigna  <jug@sad.it>
14964
14965         * text.C (rowLast): simplified code
14966
14967 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14968
14969         * lyxfunc.C: fix show options on timeout
14970
14971 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14972
14973         * screen.C (topCursorVisible): scroll half a page when the cursor
14974         reached top of bottom of screen
14975
14976 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14977
14978         * minibuffer.C: deactivate on loss of focus
14979
14980 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14981
14982         * vspace.[Ch] (operator!=): add operator.
14983
14984 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14985
14986         * BufferView_pimpl.C: refuse to open an inset when
14987         there's a selection.
14988
14989 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14990
14991         * BufferView_pimpl.C: allow to click on RHS of full row insets
14992
14993 2001-11-30  Juergen Vigna  <jug@sad.it>
14994
14995         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14996         insets for undo reasons.
14997
14998 2001-11-28  André Pönitz <poenitz@gmx.net>
14999
15000         * vspace.[Ch]: cosmetical changes
15001
15002 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15003
15004         * LyXAction.h:
15005         * LyXAction.C:
15006         * lyxfunc.h:
15007         * lyxfunc.C:
15008         * kbmap.h:
15009         * kbmap.C:
15010         * lyxrc.C:
15011         * kbsequence.h:
15012         * kbsequence.C: part re-write of old kb code
15013
15014         * Painter.C:
15015         * WorkArea.C: remove Lgb_bug_find_hack
15016
15017 2001-11-30  José Matos <jamatos@fep.up.pt>
15018
15019         * buffer.C (makeDocBookFile): add a comment to point a hack.
15020         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15021         Fixed a double write of labels.
15022
15023 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15024
15025         * LaTeX.C:
15026         * LaTeX.h Fixed bug in LaTeX class where it would not
15027         re-run latex if no depfiles were changed, but the .dvi was removed.
15028
15029 2001-11-28  André Pönitz <poenitz@gmx.net>
15030
15031         * all the files from the change on 2001/11/26:
15032         use lyx::layout_type instead of LyXTextClass::size_type
15033         use lyx::textclass_type instead of LyXTextClassList::size_type
15034
15035 2001-11-29  Juergen Vigna  <jug@sad.it>
15036
15037         * text.C: added support for paragraph::isFreeSpacing()
15038
15039         * buffer.C: same as above
15040
15041         * paragraph.h: inserted isFreeSpacing() function to enable
15042         FreeSpacing inside InsetERT.
15043
15044         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15045         of the paragraph's in the cut/copy buffer to 0!
15046
15047         * text2.C (removeRow): remove the assert as it can!
15048
15049         * lyxtext.h: added helper function firstRow returning firstrow and
15050         made firstrow private again.
15051
15052         * BufferView2.C (lockInset): don't relock if we're already locked!
15053
15054         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15055         the only paragraph.
15056         (removeRow): added Assert::(firstrow)
15057
15058         * debug.C: forgot to add INSETTEXT here.
15059
15060 2001-11-28  Juergen Vigna  <jug@sad.it>
15061
15062         * sp_spell.C (initialize): changed error text to more general
15063         spellchecker command use (not only ispell!)
15064
15065         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15066
15067         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15068
15069 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15070
15071         * vspace.C: initialise lyxgluelength on failure
15072
15073 2001-11-28  Allan Rae  <rae@lyx.org>
15074
15075         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15076         declaration & definition that looks like a function declaration.
15077
15078 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15079
15080         * BufferView2.C (copy):
15081         (copyEnvironment): do not clear the selection when doing a copy.
15082
15083         * text.C (paintFirstRow): compilation fix
15084
15085 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15086
15087         * tabular.C (Latex): correct line count when writing latex.
15088
15089 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15090
15091         * paragraph_pimpl.h:
15092         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15093           bug a bit
15094
15095 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15096
15097         * text.C:
15098         * LColor.h:
15099         * LColor.C: change vfillline->added_space
15100
15101         * text.C: add markers and text for added space
15102
15103         * vspace.C: fix comment
15104
15105 2001-11-28  André Pönitz <poenitz@gmx.net>
15106
15107         * paragraph.C: whitespace changes
15108         * all the other files from the change on 2001/11/26:
15109         change *::pos_type into lyx::pos_type
15110
15111 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15112
15113         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15114         language of the document when inserting error insets.
15115
15116 2001-11-26  André Pönitz <poenitz@gmx.net>
15117
15118         * BufferView_pimpl.[Ch]:
15119         *       CutAndPaste.C:
15120         * buffer.[Ch]:
15121         * lyxcursor.[Ch]:
15122         * lyxfind.C:
15123         * lyxfunc.C:
15124         * lyxrow.[Ch]:
15125         * paragraph.[Ch]:
15126         * paragraph_pimpl.[Ch]:
15127         * sp_spell.C:
15128         * text.C:
15129         * text2.C: reduce header dependencies, introduce type for positions
15130
15131 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15132
15133         * <various>: change to use Alert.h
15134
15135 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15136
15137         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15138         when encountering an unknown token.
15139         (readLyXformat2): Show an error message if there were unknown tokens.
15140
15141 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15142
15143         * BufferView2.C:
15144         * BufferView_pimpl.C:
15145         * buffer.C:
15146         * paragraph.h:
15147         * text.C:
15148         * text2.C: use par->isInset()
15149
15150 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15151
15152         * paragraph_pimpl.h:
15153         * paragraph_pimpl.C: cleanup
15154
15155 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15156
15157         * text2.C (removeRow):
15158         * text.C (setHeightOfRow): remove useless (and costly) call to
15159         getRow.
15160
15161 2001-11-20  Allan Rae  <rae@lyx.org>
15162
15163         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15164         Now need Inset*::checkInsertChar() to return true for appropriate
15165         cases so that the characters in the minibuffer will actually be
15166         inserted.
15167
15168 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15169
15170         * text.C: change the order of the includes.
15171         (workWidth): initialize it at once.
15172         (workWidth): make maxw unsigned
15173         (setHeightOfRow): remove unused variable (inset)
15174         (selectSelectedWord): remove unused variable (inset)
15175         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15176
15177 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15178
15179         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15180         server is not running.
15181         (openConnection):
15182         (closeConnection): add debug info when server is disabled.
15183
15184         * ColorHandler.C (getGCForeground): send debug message to GUI
15185         channel.
15186
15187         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15188
15189         * kbmap.C (bind): modify because return conventions of
15190         kb_sequence::parse have changed.
15191
15192         * kbsequence.C (parse): only ignore spaces and not any stupid
15193         control character. This avoids tests like s[i] <= ' ', which are
15194         guaranteed to fail with 8bit characters and signed chars.
15195         Change return code to string::npos when there have been no error
15196         (0 was a bad idea when error is at first character)
15197
15198 2001-11-14  José Matos  <jamatos@fep.up.pt>
15199
15200         * buffer.h:
15201         * buffer.C (simpleDocBookOnePar): removed unused argument.
15202
15203 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15204
15205         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15206         insets which are part of a word. Paragraph::isLetter takes care of
15207         that now. Use Paragraph::isInset to identify insets.
15208         (selectSelectedWord): do not test for hyphenation break.
15209
15210         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15211         that protected spaces are considered as spaces.
15212
15213         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15214         Inset::isLetter.
15215
15216 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15217
15218         * lyxserver.h:
15219         * lyxserver.C: fix it. and small cleanup.
15220
15221 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15222
15223         * BufferView_pimpl.C: use inline helpers
15224
15225         * LaTeXFeatures.h:
15226         * LaTeXFeatures.C: fix typos
15227
15228         * Spacing.h:
15229         * Spacing.C: move spacing_string into class
15230
15231         * ToolbarDefaults.C: move stuff into namespace anon
15232
15233         * layout.h: update enum
15234
15235         * lyxfunc.C: use better debug
15236
15237         * minibuffer.h: fix typo
15238
15239         * debug.h:
15240         * debug.C:
15241         * WorkArea.C: add and use Debug::WORKAREA
15242
15243         * lyxtext.h:
15244         * text.C:
15245         * text2.C: code re-organisation, inline helpers
15246
15247 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15248
15249         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15250         std::vector.empty().
15251
15252 2001-11-09  Allan Rae  <rae@lyx.org>
15253
15254         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15255         '\n's after tables.  Tabular and ERT inset work now makes this no
15256         longer necessary.
15257
15258 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15259
15260         * minibuffer.h:
15261         * minibuffer.C: fix crash, improve drop-down completion
15262
15263 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15264
15265         * lyxserver.h:
15266         * lyxserver.C: invalidate fd's when doing endPipe()
15267
15268 2001-11-08  José Matos  <jamatos@fep.up.pt>
15269
15270         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15271         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15272
15273         * paragraph.h:
15274         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15275
15276 2001-11-07  José Matos  <jamatos@fep.up.pt>
15277
15278         * buffer.h:
15279         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15280         const qualifier.
15281
15282         * buffer.C (sgmlOpenTag):
15283         * buffer.C (sgmlCloseTag): removed debug info.
15284
15285         * buffer.h (sgmlOpenTag):
15286         * buffer.h (sgmlCloseTag): made public.
15287
15288 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15289
15290         * buffer.C (saveParamsAsDefaults):
15291         * lyx_cb.C (MenuLayoutSave): remove
15292
15293         * LyXAction.C (init):
15294         * commandtags.h:
15295         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15296
15297 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15298
15299         * buffer.C (setPaperStuff): removed from here...
15300
15301         * bufferparams.C (setPaperStuff): ... and moved there.
15302
15303 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15304
15305         * minibuffer.h:
15306         * minibuffer.C:
15307         * XFormsView.C: add support for drop-down completion
15308
15309 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15310
15311         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15312         commands.
15313
15314 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15315
15316         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15317         disabled.
15318
15319 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15320
15321         * lyx_main.C: change ref to known bugs
15322
15323 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15324
15325         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15326         to work around older babel problems.
15327
15328 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15329
15330         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15331
15332 2001-10-24  Juergen Vigna  <jug@sad.it>
15333
15334         * tabular-old.C (ReadOld): below variable changes reflected.
15335
15336         * tabular.[Ch]: added ltType struct for longtable header/footer
15337         defines and changed all instances where they are used. Added
15338         future support for double top/bottom rows.
15339
15340 2001-10-24  José Matos  <jamatos@fep.up.pt>
15341
15342         * buffer.h (docbookHandleCaption):
15343         * buffer.C (docbookHandleCaption): removed unused function.
15344         (makeDocBookFile): moved docbook supported version to v4.1.
15345
15346 2001-10-24  José Matos  <jamatos@fep.up.pt>
15347
15348         * tabular.h:
15349         * tabular.C (docbookRow): new function to export docbook code of a row.
15350         (DocBook): now honors the longtable flags.
15351
15352 2001-10-23  José Matos  <jamatos@fep.up.pt>
15353
15354         * LaTeXFeatures.h:
15355         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15356         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15357
15358         * buffer.C (makeLinuxDocFile):
15359         (makeDocBookFile): reworked the preamble, more clean, and with
15360         support for lyx defined entities. Changed the document declaration
15361         to be more XML friendly.
15362
15363         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15364         if we need to output XML that should be done with a filter.
15365
15366 2001-10-22  Juergen Vigna  <jug@sad.it>
15367
15368         * sp_pspell.h (class PSpell): add alive function needed in the
15369         controller to see if the spellchecker could be started.
15370
15371 2001-10-22  Juergen Vigna  <jug@sad.it>
15372
15373         * buffer.C (insertStringAsLines): modify the font for inserting
15374         chars in certain conditions by calling checkInsertChar(font).
15375
15376 2001-10-19  Juergen Vigna  <jug@sad.it>
15377
15378         * text.C (workWidth): use getRow instead of wrong algorithm.
15379         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15380
15381 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15382
15383         * lyxserver.h:
15384         * lyxserver.C:
15385         * lyx_main.h:
15386         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15387
15388 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15389
15390         * text.C (workWidth): do not search for the exact row when
15391         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15392         optimization for big documents.
15393
15394 2001-10-18  Juergen Vigna  <jug@sad.it>
15395
15396         * text.C (workWidth): new function with added Inset * parameter.
15397
15398 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15399
15400         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15401
15402         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15403         change return type of getColumnNearX.
15404
15405
15406         * text.C (changeRegionCase): use uppercase/lowercase instead of
15407         toupper/tolower.
15408         (leftMargin):
15409         (rightMargin): simplify code by factoring out the uses of
15410         textclasslist.
15411         (labelFill):
15412         (numberOfHfills):
15413         (setHeightOfRow):
15414         (appendParagraph): use Paragraph::size_type
15415
15416 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15417
15418         * vspace.C (asLatexString): add a missing break
15419
15420 2001-10-15  Herbert Voss  <voss@perce.de>
15421
15422         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15423
15424 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15425
15426         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15427         is not available.
15428
15429 2001-10-10  André Pönitz <poenitz@gmx.net>
15430
15431         * lyxfunc.C: removed greek_kb_flag.
15432
15433 2001-10-10  Herbert Voss  <voss@perce.de>
15434
15435         * lyx_main.C: delete global string help_lyxdir.
15436
15437 2001-10-09  Herbert Voss  <voss@perce.de>
15438
15439         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15440
15441         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15442
15443         * lyx_main.C: added global string help_lyxdir.
15444
15445         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15446
15447 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15448
15449         * lyxrc.C (set_font_norm_type): support iso8859-4
15450
15451 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15452
15453         * LaTeX.C (deplog): add another regex for MikTeX
15454
15455 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15456
15457         * lyxrc.C (set_font_norm_type): support iso8859-3
15458
15459 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15460
15461         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15462
15463         * LaTeXFeatures.C: remove special case of french and index
15464
15465         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15466         before \begin{document}). This solves several incompatibilities.
15467
15468 2001-10-03  Garst Reese  <reese@isn.net>
15469
15470         * lyx_cb.C: change CheckTex error msg.
15471
15472 2001-10-03  José Matos  <jamatos@fep.up.pt>
15473
15474         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15475
15476 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15477
15478         * .cvsignore: update
15479
15480         * lyx_main.C (commandLineVersionInfo): use new style version info.
15481
15482         * buffer.C (writeFile):
15483         (makeLaTeXFile):
15484         (makeLinuxDocFile):
15485         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15486
15487         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15488
15489         * version.h: update to use stuff in version.C
15490
15491         * version.C.in: new file. Contains version information determined
15492         at compile time. This is a merging of version.h and
15493         version_info.h.in.
15494
15495 2001-10-03  Juergen Vigna  <jug@sad.it>
15496
15497         * BufferView_pimpl.C (update): don't change "dirty" status in
15498         updateInset call.
15499
15500 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15501
15502         * WorkArea.C (c-tor): re-position version string slightly.
15503
15504 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15505
15506         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15507         revert to previous code.
15508
15509         WorkArea.[Ch]: (show, destroySplash): methods removed.
15510
15511         WorkArea.C: rework code so that it's an amalgam of the codes before and
15512         after the splash screen was moved to WorkArea.
15513
15514 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515
15516         * lyxrc.C (read):
15517         * vspace.C (inPixels):
15518         (lyx_advance):
15519         * kbmap.C (bind):
15520         * buffer.C (insertStringAsLines):
15521         (asciiParagraph): fix types to be large enough
15522
15523         * lyxlex_pimpl.h: change member status from short to int
15524
15525         * layout.h: fix type of endlabeltype
15526
15527         * kbmap.C (bind):
15528         * kbsequence.C (parse): change return type to string::size_type
15529
15530         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15531         variable
15532
15533         * Bullet.C (bulletSize):
15534         (bulletEntry): do not use short ints as parameters
15535
15536         * BufferView2.C (insertLyXFile): change a char to an int.
15537
15538         * WorkArea.C (WorkArea): remove unneeded floats in computation
15539
15540 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15541
15542         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15543
15544         * paragraph.C (asString): Do not ignore newline/hfill chars when
15545         copying to the clipboard.
15546
15547 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15548
15549         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15550         after a multi-line inset.
15551
15552 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15553
15554         * paragraph.C (validate): Set NeedLyXFootnoteCode
15555
15556 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15557
15558         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15559         and decrease-error to decrease.
15560
15561 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15562
15563         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15564         it more readable (should be equivalent)
15565
15566 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15567
15568         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15569
15570 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15571
15572         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15573         of a cursor (row, etc.) after a character has been deleted
15574         (deleteEmptyParagraphMechanism): call the method above on _all_
15575         cursors held by the LyXText when a double space has been
15576         detected/deleted.
15577
15578 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15579
15580         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15581         pixmap.
15582         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15583
15584         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15585         background. Use greyOut() and the new show() methods to toggle between
15586         the foreground and background. Add code to remove the splash after
15587         its initial showing.
15588
15589         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15590         (create_forms): no longer call Dialogs::showSplash.
15591
15592 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15593
15594         * .cvsignore: add version_info.h
15595
15596 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15597
15598         * version_info.h.in: new file
15599
15600         * Makefile.am: add version_info.h.in
15601
15602         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15603         version_info.h instead of VERSION_INFO
15604
15605 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15606
15607         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15608         The ERT inset now returns string().
15609
15610 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15611
15612         * lyxtext.h, text.C (selectNextWord): renamed as
15613         selectNextWordToSpellcheck.
15614
15615         * text.C (selectNextWordToSpellcheck): Modified to not select
15616         words inside an ERT inset.
15617
15618 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15619
15620         * lyx_cb.C (MenuLayoutSave): change a bit the question
15621
15622         * sp_base.h: include <sys/types.h>
15623
15624 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15625
15626         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15627
15628 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15629
15630         * several files: fix typos in user-visible strings
15631
15632 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15633
15634         * text2.C (pasteSelection): do not set the selection, since it
15635         will be cleared later. Actually, the intent was to fix the way the
15636         selection was set, but I figured rmoving the code was just as good.
15637
15638 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15639
15640         * FontLoader.C (available): Check if font is available without
15641         loading the font.
15642
15643 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15644
15645         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15646
15647 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15648
15649         * lyxrc.[Ch]: added display_graphics variable and associated code.
15650
15651 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15652
15653         * bufferparams.C (hasClassDefaults): new method. Returns true if
15654         the buffer parameters correspond to known class defaults
15655
15656 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15657
15658         * XFormsView.C (show): set minimum size to the main window.
15659
15660 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * text2.C (copySelection):
15663         (cutSelection):
15664         * lyxfind.C (LyXReplace):
15665         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15666         LyXText::selectionAsString.
15667
15668         * paragraph.C (asString): add "label" argument to the second form
15669
15670         * text2.C (selectionAsString): add "label" argument and pass it to
15671         Paragraph::asString.
15672
15673 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15674
15675         * lyx_main.C (commandLineHelp): remove version information
15676
15677 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15678
15679         * lyx_main.C: add -version commandline option
15680
15681 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15682
15683         * paragraph.h: make the optional constructor arg required instead.
15684         some modifications to other files because of this.
15685
15686         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15687
15688         * lyxserver.C (C_LyXComm_callback): make it static
15689
15690         * lyx_main.C (error_handler): make it static
15691
15692         * lyx_gui.C (LyX_XErrHandler): make it static
15693
15694         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15695
15696         * WorkArea.C: make the extern "C" methods static.
15697
15698         * Makefile.am (lyx_LDADD): simplify
15699
15700 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15701
15702         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15703         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15704
15705         * LyXAction.C (init):
15706         * lyxfunc.C (dispatch): associated code removal.
15707
15708 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15709
15710         * lyxfont.h (isSymbolFont): shut off warning
15711
15712         * text.C (setHeightOfRow):
15713         (getVisibleRow): fix crash with empty paragraphs which have a
15714         bottom line
15715
15716 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15717
15718         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15719         code.
15720
15721 2001-09-04  José Matos  <jamatos@fep.up.pt>
15722         * buffer.C
15723         * buffer.h
15724         * tabular.C (docbook): rename docBook method to docbook.
15725
15726 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15727
15728         * Makefile.am: add dependencies to main.o.
15729
15730 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15731
15732         * FontLoader.C (available): Return false if !lyxrc.use_gui
15733
15734 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15735
15736         * FontInfo.C (query):
15737         * converter.C (view):
15738         * importer.C (Import):
15739         * exporter.C (Export): Can not -> cannot.
15740
15741 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15742
15743         * BufferView_pimpl.C: allow to create index inset even if
15744           string is empty
15745
15746 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15747
15748         * buffer.C (getLists): replace boost::tie code with an explicit pair
15749         as boost::tie can break some compilers.
15750
15751         * iterators.h: Added a std:: declaration to the return type of
15752         ParIterator::size.
15753
15754 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15755
15756         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15757           case.
15758
15759 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15760
15761         * iterators.[Ch]: New files. Provide paragraph iterators.
15762
15763         * buffer.C (changeLanguage): Use paragraph iterators.
15764         (isMultiLingual): ditto
15765
15766         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15767
15768 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15769
15770         * FontLoader.C: Support for cmr font.
15771
15772 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15773
15774         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15775         (available): New method.
15776
15777         * FontInfo.C (getFontname): Use scalable fonts even when
15778         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15779         found.
15780
15781 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15782
15783         * converter.C (Formats::view): reverted! Incorrect fix.
15784
15785 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15786
15787         * converter.C (Formats::view): only output the -paper option
15788         if the dvi viewer is xdvi, thereby fixing bug #233429.
15789
15790 2001-08-23  Herbert Voss  <voss@perce>
15791
15792         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15793
15794 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15795
15796         * Spacing.h (Spacing): Set space to Default on in the default
15797         constructor.
15798
15799 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15800
15801         * vc-backend.h (RCS::versionString): add RCS to version
15802         (CVS::versionString): add CVS to version
15803
15804         * vc-backend.C (scanMaster): do not add CVS to version.
15805         (scanMaster): do not add RCS to version
15806
15807         * lyxvc.C (versionString): new method
15808
15809         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15810
15811 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15812
15813         * Spacing.C (set): initialize fval
15814
15815 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15816
15817         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15818         " or \.
15819
15820 2001-08-16  Juergen Vigna  <jug@sad.it>
15821
15822         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15823
15824 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15825
15826         * BufferView_pimpl.C:
15827         * figureForm.C:
15828         * lyxtext.h:
15829         * text2.C: setParagraph takes linespacing now
15830
15831 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15832
15833         * LyxAction.C: add internal LFUN_CITATION_INSERT
15834
15835         * LyXView.C: actually apply fix
15836
15837         * bufferlist.C: fix open non-existent file
15838
15839         * lyxfind.C: fix indentation
15840
15841         * lyxfunc.C: remove unneeded assert, fix typo
15842
15843 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15844
15845         * MenuBackend.C: use "Floatname List"
15846
15847 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15848
15849         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15850         when converting LaTeX layout to insetERT.
15851         Generate a non-collapsed float when reading old float
15852
15853 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15854
15855         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15856         ERT insets.
15857
15858 2001-08-13  Juergen Vigna  <jug@sad.it>
15859
15860         * text.C (fill): return 0 instead of 20 as this seems to be the more
15861         correct value.
15862
15863 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15864
15865         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15866         lyxrc.font_norm.
15867
15868 2001-08-13  Juergen Vigna  <jug@sad.it>
15869
15870         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15871         casesensitive off.
15872         (SearchBackward): comment out the unlocking of the inset_owner this
15873         should not be needed!
15874
15875 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15876
15877         * Many files: Remove inherit_language, and add latex_language
15878
15879         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15880         collapsible insets.
15881
15882 2001-08-10  Juergen Vigna  <jug@sad.it>
15883
15884         * text.C (prepareToPrint): fixed hfill-width in draw!
15885
15886         * BufferView2.C (selectLastWord): save the selection cursor as this
15887         now is cleared in the function LyXText::clearSelection!
15888
15889 2001-08-08  Juergen Vigna  <jug@sad.it>
15890
15891         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15892         BACKSPACE type functions.
15893
15894         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15895         is only cutted from the document but not put in the cut-buffer, where
15896         still the old stuff should be.
15897
15898         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15899
15900         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15901
15902         * tabular.C (SetWidthOfCell): fixed special case where the width
15903         was not updated!
15904         (LeftLine): handle '|' in align_special.
15905         (RightLine): ditto
15906         (LeftAlreadyDrawed): ditto
15907         (SetWidthOfCell): ditto
15908
15909 2001-08-07  Juergen Vigna  <jug@sad.it>
15910
15911         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15912
15913 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15914
15915         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15916         * lyxlex.[hC]: ditto
15917
15918 2001-08-06  Juergen Vigna  <jug@sad.it>
15919
15920         * text.C (getVisibleRow): fix up row clearing a bit.
15921
15922 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15923
15924         * minibuffer.C: make sure the X server sees the changes in the input.
15925
15926 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15927
15928         * paragraph.C (getFont): split into...
15929         (getLabelFont): this
15930         (getLayoutFont): and this
15931         * paragraph_pimpl.C (realizeFont): calling this
15932
15933         * text2.C (getFont): split into...
15934         (getLayoutFont): this
15935         (getLabelFont): and this
15936         (realizeFont): all three calling this
15937
15938         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15939         files where used.
15940
15941 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15942
15943         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15944
15945 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15946
15947         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15948         layouts from the Quote inset insertion.
15949
15950 2001-08-03  Juergen Vigna  <jug@sad.it>
15951
15952         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15953
15954         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15955         only if status not is already CHANGED_IN_DRAW (second level).
15956
15957         * text.C (draw): don't set the need_break_row when inside an
15958         InsetText LyXText.
15959
15960 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15961
15962         * buffer.C (parseSingleLyXformat2Token): handle more latex
15963         conversion cases.
15964
15965         * bufferview_funcs.[hC]: change function names to
15966         begin with small char, adjust other files.
15967
15968 2001-08-02  André Pönitz <poenitz@gmx.net>
15969
15970         * lyxfunc.C:
15971         BufferView_pimpl.C: remove broken special code for math-greek
15972
15973 2001-08-02  Juergen Vigna  <jug@sad.it>
15974
15975         * BufferView_pimpl.C (update): redone this function so that we
15976         update the text again if there was a CHANGE_IN_DRAW.
15977
15978         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15979         (drawFromTo): added a new internal bool which is used by draw() and
15980         redraw() function.
15981         (general): some cursor drawing problems fixed.
15982
15983 2001-08-01  Juergen Vigna  <jug@sad.it>
15984
15985         * lyxfind.C (LyXFind): fixed
15986         (SearchForward): ditto
15987         (SearchBackward): ditto
15988
15989         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15990         spurius drawing of the cursor in the main area.
15991
15992         * text2.C (status): small fix which could lead to a segfault!
15993         (clearSelection): remove unneeded BufferView param.
15994
15995 2001-08-01  André Pönitz <poenitz@gmx.net>
15996
15997         * lyxfunc.C: small change due to changed mathed interface
15998
15999 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16000
16001         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16002
16003 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16004
16005         * lyxfunc.c: fail gracefully if file doesn't exist
16006
16007         * LyXSendto.C:
16008         * buffer.C:
16009         * lyxfunc.C:
16010         * BufferView_pimpl.C: IsDirWriteable() proto changed
16011
16012         * LyXView.C: fix updateWindowTitle() to store the last title
16013
16014 2001-07-31  Juergen Vigna  <jug@sad.it>
16015
16016         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16017         the font (wrong since using of Paragraph::highestFontInRange).
16018
16019         * paragraph.C (highestFontInRange): added a default_size parameter.
16020
16021         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16022         (setHeightOfRow): reformat
16023
16024 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * converter.[hC] + affected files: move to (inital-char)lowercase
16027         function names.
16028
16029         * ParagraphParameters.C (ParagraphParameters): remove commented code
16030
16031         * PainterBase.[Ch]: remove commented code
16032
16033         * LaTeXFeatures.h: add "bool floats" for float.sty
16034
16035         * LaTeXFeatures.C (LaTeXFeatures): init floats
16036         (require): handle float
16037         (getPackages): do it with floats
16038
16039 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16040
16041         * BufferView_pimpl.C (Dispatch): improve handling of
16042         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16043
16044         * commandtags.h: #include lyxfont.h here temporarily to avoid
16045         keybinding bug.
16046
16047         * bufferlist.h: include LString.h here.
16048
16049 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16050
16051         * text2.C (getStringToIndex): new method.
16052
16053 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16054
16055         * *: Reduced header file dependencies all over.
16056
16057 2001-07-30  Baruch Even  <baruch@lyx.org>
16058
16059         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16060
16061 2001-07-29  Baruch Even  <baruch@lyx.org>
16062
16063         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16064
16065 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16066
16067         * ParameterStruct.h (endif): add a default constructor to make
16068         sure that all variables is initialized.
16069
16070         * ParagraphParameters.C (ParagraphParameters): adjust
16071
16072 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16073
16074         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16075         index; also, check that there is something to index, and that it
16076         does not span over several paragraphs.
16077         (doubleClick): use WHOLE_WORD_STRICT for double click.
16078
16079         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16080
16081         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16082         scheme.
16083
16084 2001-07-26  Baruch Even  <baruch@lyx.org>
16085
16086         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16087         an InsetFig figure, backwards compatible reading of old figure code.
16088
16089 2001-07-27  Juergen Vigna  <jug@sad.it>
16090
16091         * text2.C: font.realize function adaption.
16092
16093         * text.C (draw): add a warnings lyxerr text if needed.
16094
16095         * layout.C: font.realize function adaption.
16096
16097         * language.C: add inherit_language and implement it's handlings
16098
16099         * bufferview_funcs.C (StyleReset): remove language parameter from
16100         font creation (should be language_inherit now).
16101
16102         * bufferparams.C (writeFile): handle ignore_language.
16103
16104         * paragraph.C (getFontSettings): the language has to be resolved
16105         otherwise we have problems in LyXFont!
16106
16107         * lyxfont.C (lyxWriteChanges): added document_language parameter
16108         (update): removed unneeded language parameter
16109
16110         * paragraph.C (validate): fixed wrong output of color-package when
16111         using interface colors for certain fonts in certain environments,
16112         which should not seen as that on the final output.
16113
16114 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16115
16116         * BufferView_pimpl.C:
16117         * Thesaurus.h:
16118         * Thesaurus.C:
16119         * Makefile.am:
16120         * commandtags.h:
16121         * LyXAction.C: add thesaurus support
16122
16123         * lyxfind.h:
16124         * lyxfind.C: add "once" parameter, for thesaurus, to not
16125           move to the next match
16126
16127 2001-07-26  Juergen Vigna  <jug@sad.it>
16128
16129         * lyxfont.C (realize): honor ignore_language too!
16130         (resolved): ditto.
16131
16132         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16133
16134         * text.C (draw): one place more for ignore_language to not draw
16135         itself!
16136
16137 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16138
16139         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16140
16141 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16142
16143         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16144         the minipage conversion problem.
16145
16146 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16147
16148         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16149         insert an inset.
16150
16151 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16152
16153         * BufferView.h: don't forward declare WorkArea
16154
16155         * BufferView.C: don't include WorkArea.h
16156
16157 2001-07-25  André Pönitz <poenitz@gmx.net>
16158
16159         * commandtags.h:
16160         * LyXAction.C:
16161         * lyxfunc.C:  new LFUN 'math-space'
16162
16163         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16164
16165 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16166
16167         * text2.C (toggleInset): call open/close
16168
16169 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16170
16171         * lyxfunc.C (dispatch): add debug for the disabled case
16172
16173         * font.C (buttonText): make similar to rectText
16174
16175         * buffer.C (readInset): comment out parsing of insetlist and
16176         insttheorem
16177
16178         * PainterBase.C (rectText): small correction
16179
16180         * BufferView_pimpl.C: comment out insettheorem and insetlist
16181         * LyXAction.C: ditto
16182         * commandtags.h: ditto
16183
16184 2001-07-24  Juergen Vigna  <jug@sad.it>
16185
16186         * text.C (draw): honor the ignore_language.
16187
16188         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16189
16190 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16191
16192         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16193         char inset.
16194
16195 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16196
16197         * lyxtext.h: remove unused (and unimplemented) methods
16198
16199 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16200
16201         * text.C (getVisibleRow): honor background color
16202
16203         * PainterBase.h:
16204         * Painter.h: remove default color argument for fillRectangle
16205
16206         * text.C (backgroundColor): new method
16207
16208 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16209
16210         * text.C (getVisibleRow): adjust
16211
16212         * font.[Ch] (rectText): new method, metrics
16213         (buttonText): new method, metrics
16214
16215         * PainterBase.[hC]: make rectText and buttonText always draw and take
16216         fewer paramteres.
16217
16218 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16219
16220         * ToolbarDefaults.C (read):
16221         * MenuBackend.C (read): allow escaping in all strings
16222
16223         * BufferView_pimpl.C (insertAndEditInset): new method.
16224         (Dispatch): use insertAndEditInset whenever appropriate.
16225
16226         * BufferView_pimpl.C (insertNote): removed
16227
16228         * BufferView_pimpl.C (smartQuote): new method, moved from
16229         BufferView; if an insetquote cannot be inserted, insert a '"'
16230         character instead.
16231
16232         * BufferView2.C: remove insertCorrectQuote();
16233
16234         * lyxfunc.C (getStatus): Add support for all remaingin
16235         inset-insert lfuns.
16236
16237         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16238
16239         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16240         command (necessary to pass " as parameter of self-insert.
16241
16242         * text.C (selectWordWhenUnderCursor):
16243         (selectWord): add word_location parameter
16244         (selectWordWhenUnderCursor): same + remove special code for word
16245         boundary.
16246         (selectNextWord): use kind() to guess type of insetspecialchar,
16247         not latex().
16248
16249         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16250         (insertErtContents): create ert insets as collapsed.
16251         (readInset): better compatibility code for Info inset.
16252
16253 2001-07-20  Juergen Vigna  <jug@sad.it>
16254
16255         * lyxfunc.C (dispatch): use always LyXFind now!
16256
16257         * text2.C (init): add a reinit flag so that the LyXText can be
16258         reinited instead of deleted and reallocated (used in InsetText).
16259
16260         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16261
16262         * text.C: ditto
16263
16264         * text2.C: ditto
16265
16266 2001-07-18  Juergen Vigna  <jug@sad.it>
16267
16268         * text.C (selectNextWord): handle insets inside inset by calling
16269         always the bv->text functions so that we can go up the_locking_inset!
16270
16271         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16272         in strange locations when inside an inset!
16273
16274         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16275         handling to include insets.
16276
16277         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16278
16279 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16280
16281         * LyXAction.C (init):
16282         * commandtags.h:
16283         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16284         LIGATURE_BREAK, since the name is so stupid.
16285
16286 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16287
16288         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16289         InsetInfos.
16290
16291         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16292
16293         * sp_form.[Ch]: remove.
16294
16295         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16296
16297         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16298         InsetInfo.
16299
16300         * src/buffer.C (readInset): ditto.
16301
16302 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16303
16304         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16305         menuSeparator(), endOfSentenceDot(), ldots() and
16306         hyphenationPoint(), which are therefore removed.
16307         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16308
16309         * LyXAction.C (init):
16310         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16311
16312         * paragraph.C (getWord): removed.
16313
16314         * BufferView_pimpl.C (Dispatch): use last word or selection for
16315         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16316
16317         * lyx_main.C (queryUserLyXDir): do not ask before creating
16318         user_dir, except if it has been named explicitely.
16319
16320 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16321
16322         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16323         a document of zero size.
16324
16325 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16326
16327         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16328         approriately in the c-tor and in require().
16329         (getPackages): output the appropriate LaTeX for natbib support.
16330
16331         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16332         variables "use_natbib" and "use_numerical_citations" when reading the
16333         LyX file.
16334         (readInset): read the various natbib cite commands.
16335         (validate): white-space change.
16336
16337         * bufferparams.[Ch]: new variables "bool use_natbib" and
16338         "bool use_numerical_citations".
16339         (writeFile): output them in the LyX file.
16340
16341 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16342
16343         * lyxfunc.C (getStatus): add support for all the inset insertion
16344         commands.
16345
16346         * text2.C (insertInset):
16347         * paragraph.C (insetAllowed):
16348         * BufferView_pimpl.C (insertInset): update to take in account the
16349         renaming of insertInsetAllowed
16350
16351         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16352
16353         * text2.C (getInset): new method. returns inset at cursor position.
16354
16355         * BufferView_pimpl.C (Dispatch): changes because of this.
16356
16357         * LyXAction.C (init): rename open-stuff to inset-toggle.
16358
16359         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16360
16361         * text2.C (toggleInset): renamed from openStuff; use
16362         Inset::open().
16363
16364 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16365
16366         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16367
16368         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16369
16370 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16371
16372         * buffer.C (readLyXformat2): Add filename to the error dialog
16373
16374 2001-07-18  Juergen Vigna  <jug@sad.it>
16375
16376         * tabular.C (GetCellNumber): put an assert here instead of the check!
16377
16378 2001-07-17  Juergen Vigna  <jug@sad.it>
16379
16380         * BufferView_pimpl.C (toggleSelection): adapted too.
16381
16382         * text.C (selectNextWord): adapted for use with insets.
16383         (selectSelectedWord): ditto
16384
16385 2001-07-17  Juergen Vigna  <jug@sad.it>
16386
16387         * sp_spell.C (PSpell): fix initialitation order.
16388
16389 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16390
16391         * paragraph.C: spacing
16392
16393 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16394
16395         * sp_spell.C: repair language selection for pspell
16396
16397 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16398
16399         * lyxfunc.h: change more methods to begin with lower char.
16400
16401 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16402
16403         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16404         for unknown layouts.
16405
16406 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16407
16408         * buffer.C (readLyXformat2): Generate an error dialog if there are
16409         unknown layouts.
16410
16411 2001-07-16  Juergen Vigna  <jug@sad.it>
16412
16413         * sp_spell.C: always compile ISpell part.
16414
16415         * lyxrc.C: added use_pspell entry and it's handling.
16416
16417 2001-07-13  Juergen Vigna  <jug@sad.it>
16418
16419         * sp_spell.C: removed double includes.
16420
16421 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16422
16423         Consistent use of Lsstream.h:
16424         * Lsstream.h: added using std::stringstream for consistencies sake.
16425
16426         * buffer.C: removed using std::stringstream
16427
16428         * lyxfont.C (stateText):
16429         * paragraph.C (asString):
16430         * text.C (selectNextWord, selectSelectedWord):
16431         * text2.C (setCounter):
16432         * vspace.C (asString, asLatexString):
16433         std::ostringstream -> ostringstream.
16434
16435 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16436
16437         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16438         * commandtags.h: add LFUN_HELP_ABOUTLYX
16439         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16440
16441 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16442
16443         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16444         cursorToggle()
16445         * lyx_gui_misc.C: remove spellchecker
16446         * lyxfunc.C: showSpellchecker
16447         * sp_base.h: added
16448         * sp_ispell.h: added
16449         * sp_pspell.h: added
16450         * sp_spell.C: added
16451         * sp_form.[Ch]: removed
16452         * spellchecker.[Ch]: removed
16453
16454 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16455
16456         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16457         is set.
16458         (simpleTeXSpecialChars): Simply print the input character without
16459         any special translation if pass_thru is set.
16460
16461         * layout.h: Added bool pass_thru to layout class for being able to
16462         implement pass through of a paragraph for Literate Programming.
16463
16464         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16465         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16466         * layout.C (Read): add "passthru" to list of layout tags and add
16467         code to set the pass_thru boolean when it is read.
16468
16469 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16470
16471         * trans_decl.h: remove allowed from KmodInfo
16472
16473         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16474         remove allowed code
16475         (Load): adjust
16476
16477         * paragraph_pimpl.C (erase): use boost::prior
16478
16479         * Painter.C (text): use data() instead of c_str() when length is
16480         also provided.
16481         * WorkArea.C (putClipboard): ditto
16482         * font.h (width): ditto
16483
16484         * BufferView2.C: use it-> instead of (*it). for iterators
16485         * texrow.C: ditto
16486         * paragraph_pimpl.C: ditto
16487         * paragraph.C: ditto
16488         * minibuffer.C: ditto
16489         * language.C: ditto
16490         * kbmap.C: ditto
16491         * encoding.C: ditto
16492         * counters.C: ditto
16493         * converter.C: ditto
16494         * chset.C: ditto
16495         * Variables.C: ditto
16496         * TextCache.C: ditto
16497         * MenuBackend.C: ditto
16498         * LyXAction.C: ditto
16499         * LColor.C: ditto
16500         * FloatList.C: ditto
16501         * DepTable.C: ditto
16502         * ColorHandler.C (LyXColorHandler): ditto
16503
16504 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16505
16506         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16507
16508         * text2.C (openStuff): reintroduce this method (which had been
16509         nuked in NEW_INSETS frenzy).
16510
16511         * lyxfunc.C (Dispatch): when an action has not been handled, use
16512         its name in the error message, not its number.
16513
16514         * paragraph.C (inInset): change method name to begin with lowercase.
16515
16516         * undo_funcs.C:
16517         * text2.C: updates because of this.
16518
16519 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16520
16521         * ToolbarDefaults.C (add): add spaces in error message
16522
16523 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16524
16525         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16526         (readLyXformat2): rename return_par to first_par, use lyxlex's
16527         pushToken and remove the manual push handling.
16528         (parseSingleLyXformat2Token): add another ert comp. variable:
16529         in_tabular, rename return_par to first_par. handle newlines better
16530
16531 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16532
16533         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16534
16535 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16536
16537         * text2.C (getParFromID): removed
16538
16539         * buffer.C (getParFromID): new method moved form lyxtext.
16540         * BufferView2.C (insertErrors): adjust
16541         (setCursorFromRow): adjust
16542         * BufferView_pimpl.C (restorePosition): adjust
16543         * lyxfunc.C (Dispatch): adjust
16544         * undo_funcs.C (textUndo): adjust
16545         (textRedo): adjust
16546         (textHandleUndo): adjust
16547         (textHandleUndo): adjust
16548
16549 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16550
16551         * buffer.C: up' the LYX_FORMAT
16552
16553         * lyxfont.h: turn NO_LATEX on as default
16554
16555         * buffer.C (insertErtContents): new methods of tex style compability.
16556         (parseSingleLyXformat2Token): use it several places.
16557         * tabular.C (OldFormatRead): and here
16558
16559 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16560
16561         * text2.C: remove some commented code.
16562         reindent file.
16563
16564         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16565         * trans.C: changes because of the above.
16566
16567 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16568
16569         * text2.C (setCounter): Fix counters bug with bibliography layout.
16570
16571 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16572
16573         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16574         own member functions
16575         (simpleTeXSpecialChars): ditto
16576
16577 2001-07-06  Juergen Vigna  <jug@sad.it>
16578
16579         * a lot of files: changed the access to LyXText::status and the
16580         call of undo-functions.
16581
16582         * undo.[Ch]: added a inset_id to the undo informations.
16583
16584         * undo_funcs.[Ch]: added and moved here all undo functions.
16585
16586         * lyxtext.h: give the status enum a weight, made status_ a private
16587         variable and made accessor functions for it, removed the whole bunch
16588         of undo-functions as they are now in their own file, make some
16589         functions publically available. Added function ownerParagraph with
16590         int parameter.
16591
16592         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16593         made InInset() a const function, added getParFromID() function.
16594
16595         * buffer.[Ch]: added const version for inset_iterator functions,
16596         added getInsetFromID() function.
16597
16598         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16599         changed undo functions for new version.
16600
16601 2001-07-05  Juergen Vigna  <jug@sad.it>
16602
16603         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16604         unknow mechanism does not call the proper constructor but only this
16605         one also if I request the other!?
16606
16607 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16608
16609         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16610
16611         * text2.C (LyXText): use initialization lists.
16612
16613         * lyxtext.h (Selection): initialize set_ and mark_
16614         (init): remove method
16615
16616 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16617
16618         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16619
16620 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16621
16622         * screen.[Ch]: change method names to begin with lowercase
16623
16624         * BufferView_pimpl.C (updateScrollbar): simplify further and
16625         hopefully make it a bit faster.
16626
16627 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16628
16629         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16630         calling directly xforms functions.
16631
16632         * Painter.C (Painter):
16633         * lyx_cb.C (MenuWrite):
16634         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16635         fl_display.
16636
16637         * lyx_gui.C: remove bogus guiruntime extern declaration.
16638
16639 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16640
16641         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16642         in NEW_INSETS
16643         (redoDrawingOfParagraph): ditto
16644         (redoParagraphs): ditto
16645         (cutSelection): don't create a object for CutAndPaste use the
16646         static method directly
16647         (pasteSelection): ditto
16648
16649         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16650         LyXview (+ rename)
16651
16652 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16653
16654         * modifications to some other files because of this.
16655
16656         * Makefile.am (lyx_SOURCES): add XFormsView
16657
16658         * XFormsView.[Ch]: new files
16659
16660         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16661         the main window. Move the gui dependent stuff to XFormsView
16662
16663 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16664
16665         * tabular.C (GetCellInset): update cur_cell also in the row/col
16666         version of this function.
16667
16668         * lyxfunc.C: no need to include figure_form.h here.
16669
16670         * FontLoader.h:
16671         * lyxfunc.h:
16672         * lyxscreen.h:
16673         * text2.C:
16674         * lyxvc.C: no need to include forms.h here.
16675
16676 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16677
16678         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16679
16680         * lyxfunc.C (Dispatch):
16681         * Spacing.C (set):
16682         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16683         constructor argument.
16684
16685 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16686
16687         * paragraph.C (Paragraph): dont't clear, and just set layout.
16688         (makeSameLayout): use params's copy contructor.
16689
16690         * ParagraphParameters.[Ch] (makeSame): delete method
16691
16692 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16693
16694         * Variables.[Ch]: fix indentation, rename set to isSet
16695
16696 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16697
16698         * lyxfunc.C (Dispatch): fix typo
16699
16700 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16701
16702         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16703         upper_bound.
16704
16705         * bufferlist.C: include assert.h for emergencyWrite().
16706
16707 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16708
16709         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16710           give up at last (bug #425202) !
16711
16712 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16713
16714         * lyx_gui_misc.C:
16715         * sp_form.h:
16716         * sp_form.C:
16717         * spellchecker.h:
16718         * spellchecker.C: strip spellchecker options and bring up
16719           preferences tab instead
16720
16721 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16722
16723         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16724         the istringstream constructor
16725
16726 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16727
16728         * paragraph.C (getLayout): fix return value
16729
16730         * paragraph.h: do not declare getLayout as inline.
16731
16732         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16733
16734 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16735
16736         * lyxcursor.h (operator<): new func
16737         (operator>): new func
16738         (operator>=): new func
16739         (operator<=): new func
16740
16741         * text.C (changeCase): use selection.start and selection.end
16742         (changeRegionCase): require from to be <= to. Require par to be a
16743         valid paragraph.
16744
16745         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16746
16747 2001-06-27  Juergen Vigna  <jug@sad.it>
16748
16749         * text.C (cursorLeftOneWord): changed to return the cursor and added
16750         overlay with BufferView * parameter which calls this one.
16751         (getWord): added
16752         (selectWord): use new getWord function.
16753         (changeCase): renamed from changeWordCase as and extended to work
16754         also on selections.
16755
16756         * lyxtext.h: added enum word_location
16757
16758         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16759         changeCase as this operates now also on selections.
16760
16761 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16762
16763         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16764
16765         * many files: send debug output to Debug::INFO instead of
16766         Debug::ANY.
16767
16768         * converter.C (View):
16769         (Convert):
16770         (Move): send debug output to Debug::FILES instead of console.
16771
16772 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16773
16774         * lyxfunc.C (getStatus): use func_status
16775
16776         * func_status.h: new header, describing the results of
16777         LyXFunc::getStatus;
16778
16779         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16780         LFUN_MATH_HALIGN.
16781
16782 2001-06-25  The LyX Project  <jug@sad.it>
16783
16784         * buffer.C (sgmlOpenTag):
16785         (sgmlCloseTag):
16786         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16787
16788 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16789
16790         * text2.C: remove some dead code
16791
16792         * tabular.C (GetCellInset): store the last cell checked (gotten)
16793
16794         * tabular.h: add the helper for the speedup
16795
16796         * lyxtext.h: remove some dead code
16797
16798 2001-06-26  The LyX Project  <Asger>
16799
16800         * paragraph.C: Change export to LaTeX of alignment to
16801         \begin{center} and family for better roundtrip work with reLyX.
16802
16803         * Tune the math drawing a bit.
16804
16805 2001-06-25  The LyX Project  <Asger>
16806
16807         * LColor.C (LColor): New color for math background. New color
16808         for buttons.
16809
16810 2001-06-25  The LyX Project  <jug@sad.it>
16811
16812         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16813
16814         * lyxfunc.C (Open):
16815         * bufferlist.C (newFile): do not restrict to files ending with
16816         .lyx
16817
16818         * BufferView_pimpl.C (MenuInsertLyXFile):
16819
16820 2001-06-24  The LyX Project  <jug@sad.it>
16821
16822         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16823         of compare_no_case
16824
16825 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16826
16827         * lyxtext.h: rename most methods to begin with a small char.
16828         Lots of changes because of this.
16829
16830         * paragraph.C (Paragraph): do not call fitToSize
16831         (erase): call Pimpl::erase
16832         (insertChar): call Pimpl::insertChar
16833         (insertInset): call Pipl::insertInset
16834         (breakParagraph): do not call fitToSize
16835         (breakParagraphConservative): do not call fitToSize
16836         (fitToSize): remove method
16837
16838         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16839
16840 2001-06-24  The LyX Project  <Asger>
16841
16842         * Fix Qt compilation^2
16843
16844 2001-06-24  The LyX Project  <jug@sad.it>
16845
16846         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16847         depthHook(getDepth()-1).
16848
16849         * paragraph.h:
16850         * ParagraphParameters.h:
16851         * ParameterStruct.h: change type of depth to unsigned int ==
16852         depth_type. Many adaptations to other files before of that.
16853
16854 2001-06-24  The LyX Project  <Asger>
16855
16856         * Fix Qt compilation.
16857
16858 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16859
16860         * paragraph.h: renamed several methods to begin with small letter.
16861         several changes to many parts of the code because of this.
16862
16863 2001-06-23  The LyX Project  <jug@sad.it>
16864
16865         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16866         rewritten to discard all double spaces when KeepEmpty is off
16867         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16868         to only handle newlines but not fiddle with spaces and friends.
16869
16870         * lyxfunc.C (MenuNew): when doing 'new from template', use
16871         template_path as default directory
16872
16873 2001-06-23  The LyX Project  <Asger>
16874
16875         * Clean-up of header file includes all over
16876         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16877
16878 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16879
16880         * paragraph.h: renamed from lyxparagraph.h
16881
16882 2001-06-23  Asger  <lyx@violet.home.sad.it>
16883
16884         * Buffer.h: Removed Buffer::resize
16885         * BufferList.h: Removed BufferList::resize
16886         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16887         the document lazily when we change the width, or the font settings.
16888
16889 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16890
16891         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16892
16893 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16894
16895         * buffer.h: remove out of date comment
16896
16897 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16898
16899         * lyxscreen.h:
16900         * screen.C: fix "theoretical" GC leak
16901
16902 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16903
16904         * LaTeX.C (scanAuxFile):
16905         (deplog): remove trailing \r when reading stream (useful under
16906         win32)
16907
16908 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16909
16910         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16911         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16912         and BufferView::theLockingInset(Inset*), so should use them and not
16913         access bv_->text->the_locking_inset directly.
16914
16915         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16916
16917 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16918
16919         * Makefile.am:
16920         * tex-defs.h: remove old unused file
16921
16922 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16923
16924         * BufferView_pimpl.C: fix typo, remove minibuffer message
16925           when buffer has loaded
16926
16927 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16928
16929         * lyxfunc.C (Dispatch): use stringstream
16930         (MenuNew): use stringstream
16931         (Open): use stringstream
16932
16933         * importer.C (Import): use stringstream
16934
16935         * bufferview_funcs.C (CurrentState): use stringstream
16936
16937         * LaTeX.C (run): use stringstream
16938
16939         * BufferView_pimpl.C (savePosition): use stringstream
16940         (restorePosition): use stringstream
16941         (MenuInsertLyXFile): use stringstream
16942
16943 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16944
16945         * BufferView.C:
16946         * Bullet.C:
16947         * ColorHandler.C:
16948         * FontInfo.C:
16949         * FontLoader.C:
16950         * LColor.C:
16951         * LaTeXFeatures.C:
16952         * Painter.C:
16953         * gettext.C:
16954         * lyx_gui_misc.C:
16955         * lyxserver.C:
16956         * vspace.C: removed // -*- C++ -*- as first line.
16957
16958         * lyxfind.h:
16959         * version.h: added // -*- C++ -*- as first line.
16960
16961 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16962
16963         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16964
16965         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16966         of string
16967
16968 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16969
16970         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16971         of floats.
16972
16973 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16974
16975         * gettext.C: include LString.h even when --disable-nls is on.
16976
16977 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16978
16979         * converter.h (Get): changed argument type from int to
16980         FormatList::size_type to avoid unnecessary conversion.
16981
16982         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16983         before using it.
16984
16985 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16986
16987         * gettext.h: include LString.h even when --disable-nls is on.
16988
16989 2001-06-07  Juergen Vigna  <jug@sad.it>
16990
16991         * text.C (BreakAgain): subst spaces with tabs.
16992
16993         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16994         (resizeInsetsLyXText): set force on resizeLyXText.
16995
16996 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16997
16998         * gettext.h (gettext_init):
16999         (locale_init): use a real definition instead of a macro
17000
17001 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17002
17003         * Bufferview_pimpl.C:
17004         * LColor.h:
17005         * LColor.C: further lcolor tidies
17006
17007 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17008
17009         * BufferView_pimpl.C (updateScrollbar): simplify.
17010
17011         * BufferView2.C: don't include insets/insetinfo.h, change
17012         prototype for insertInset and call the Pimpl version. let
17013         updateInset call Pimpl version.
17014
17015         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17016         gotoInset to BufferView::Pimpl
17017
17018 2001-06-01  Juergen Vigna  <jug@sad.it>
17019
17020         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17021         inside a LockingInset (is the update needed at all?).
17022
17023 2001-05-31  Juergen Vigna  <jug@sad.it>
17024
17025         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17026         here not the old one otherwise how should we compare it afterwards
17027         if it's the same!
17028
17029 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17030
17031         * lyxfont.C:
17032         * tabular.C:
17033         * tabular-old.C:
17034         * FontInfo.C: bring C functions into global namespace when
17035         necessary
17036
17037 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17038
17039         * LString.h: make sure config.h has been loaded before LString.h.
17040
17041         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17042         (one for each char read by EatLine!).
17043
17044         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17045         variables.
17046
17047 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17048
17049         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17050         to the same as the par we break from
17051
17052 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17053
17054         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17055
17056         * MenuBackend.C (expand): also create menu entries for wide
17057         versions of the floats.
17058
17059         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17060
17061         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17062
17063         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17064         frontends/Makefile.am
17065
17066         * text2.C: adjust
17067         * text.C: adjust
17068
17069
17070         * tabular.C (getTokenValue): add std::
17071
17072         * tabular-old.C (getTokenValue): add std::
17073         (getTokenValue): ditto
17074         (getTokenValue): ditto
17075
17076         * screen.C (ToggleSelection): adjust
17077
17078         * lyxtext.h: put selection cursors inside a Selection struct.
17079
17080         * lyxfunc.C (moveCursorUpdate): adjust
17081
17082         * lyxfont.C (latexWriteStartChanges): add std::
17083
17084         * lyxfind.C: adjust
17085
17086         * font.h: delete with(char const *, LyXFont const &)
17087
17088         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17089
17090         * FontInfo.C (getFontname): add std::
17091
17092         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17093         (workAreaButtonPress): adjust
17094         (tripleClick): adjust
17095         (update): adjust
17096         (moveCursorUpdate): adjust
17097         (Dispatch): adjust
17098
17099         * BufferView2.C (gotoInset): adjust
17100
17101 2001-05-30  Juergen Vigna  <jug@sad.it>
17102
17103         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17104         to check pspell I add this as default as I now have new pspell
17105         libraries and they seem to use this.
17106
17107 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17108
17109         * text2.C (CutSelection): make the cursor valid before the call to
17110         ClearSelection.
17111
17112 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17113
17114         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17115         relied on 0 terminated strings and other horrors. Bug found due to
17116         the new assert in lyxstring!
17117
17118         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17119         KP_ keys.
17120
17121 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17122
17123         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17124         to latinkeys.bind.
17125
17126         * lyxfunc.C (processKeySym): change method of getting to the
17127         self-insert char.
17128
17129         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17130         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17131         * BufferView_pimpl.[Ch]: here as private methods.
17132
17133 2001-05-28  Juergen Vigna  <jug@sad.it>
17134
17135         * text.C (SetHeightOfRow): added the update() call again as it is
17136         needed to initialize inset dimensions!
17137
17138 2001-05-16  Juergen Vigna  <jug@sad.it>
17139
17140         * text2.C (SetCharFont): Add new function with BufferView * and
17141         bool toggleall parameters for setting insets internal fonts.
17142         (SetFont): Freeze the undo as we may change fonts in Insets and
17143         all this change should be inside only one Undo!
17144
17145         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17146         setting font's in insets as for them we have the SetFont function!
17147
17148 2001-05-15  Juergen Vigna  <jug@sad.it>
17149
17150         * text2.C (ClearSelection): to be sure we REALLY don't have any
17151         selection anymore!
17152
17153         * tabular.C (TeXCellPreamble): fixed the left border problem for
17154         multicolumn cells.
17155
17156 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17157
17158         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17159         dependancy file
17160
17161 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17162
17163         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17164         LFUN_BREAKPARAGRAPH.
17165
17166         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17167         help test to "internal only", similar for LFUN_INSERT_URL
17168
17169         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17170         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17171         auto_region_delete and deadkeys.
17172
17173 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17174
17175         * LColor.h:
17176         * LColor.C: remove some dead entries, tidy a little
17177
17178 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17179
17180         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17181         commented code.
17182         (Dispatch): implement LFUN_ESCAPE
17183
17184         * commandtags.h: add LFUN_ESCAPE
17185
17186         * LyXAction.C (init): add entry for LFUN_ESCAPE
17187
17188         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17189         Remove commented code.
17190         (insertNote): moved here
17191         (open_new_inset): moved here
17192
17193         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17194         BufferView_pimpl
17195
17196 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17197
17198         * kbmap.C (findbinding): clean it up and make it work correctly.
17199
17200         * lyx_main.C (init): do not pass argc and argv as parameters
17201
17202 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17203
17204         * buffer.C: fix path for OS/2 & Win32
17205
17206         * lyx_gui.C:
17207         * lyx_main:
17208         * lyx_main.C: Added os:: class.
17209
17210         * os2_defines.h: update
17211
17212 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17213
17214         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17215         better by trying again with reduced state.
17216
17217 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17218
17219         * lyxrc.C (read): print error about invalid key sequence only when
17220         debugging (because not all latinX keysyms are known to some X
17221         servers)
17222
17223         * kbsequence.C (getiso): add a few std:: qualifiers
17224         (getiso): comment out extra return statement.
17225
17226 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17227
17228         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17229         handling.
17230         (Dispatch): enhance the accent inset a bit. (not perfect)
17231
17232 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17233
17234         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17235
17236 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17237
17238         * bufferlist.C (emergencyWrite): fix assert() call
17239
17240 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17241
17242         * text.C (InsertChar): Added trivial patch to only send the "you
17243         can not do multiple spaces this way" message once during a
17244         session.
17245
17246 2001-05-08  Baruch Even  <baruch@lyx.org>
17247
17248         * Makefile.am: Changed order of libraries to get LyX to link properly
17249         with the gnome frontend.
17250
17251 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17252
17253         * LaTeXFeatures.h: add a std:: qualifier
17254
17255 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17256
17257         * paragraph.C (String): use stringstream
17258
17259 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17260
17261         * paragraph.C (writeFile): remove footflag arg
17262
17263         * buffer.C (makeLaTeXFile): use stringstream
17264         (latexParagraphs): remove footnot gurba
17265
17266         * LaTeXFeatures.C (getPackages): use stringstream
17267         (getMacros): likewise
17268         (getTClassPreamble): likewise
17269         (getFloatDefinitions): new method
17270
17271         * paragraph.C (writeFile): reindent
17272         (Erase): reindent
17273
17274         * WorkArea.h: revert the xpos + etc changes.
17275
17276         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17277
17278         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17279
17280         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17281         (pasteSelection): likewise
17282         * text2.C (CreateUndo): likewise
17283
17284 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17285
17286         * minibuffer.C (peek_event): temporarily reduce the functionality
17287         of the minibuffer (to allow args on lfuns)
17288
17289         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17290         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17291
17292         * buffer.C (readInset): add compability reading of old float
17293         lists, add reading of new style float list.
17294         (readInset): avoid reevaluation of inscmd.getCmdName()
17295         (getLists): reindent
17296
17297         * MenuBackend.C (MenuItem): implement parsing of
17298         md_floatlistinsert and md_floatinsert.
17299         (expand::LastFiles): move initalizaton of iterators out of loop,
17300         avoid reevaluation.
17301         (expand::Documents): introduce typdedef vector<string> Strings,
17302         and use it.
17303         (expand::ExportFormats): introduce typedef vector<Format const *>
17304         Formats, and use it.
17305         (expand): implement FloatListInsert and FloatInsert.
17306
17307         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17308         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17309         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17310
17311         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17312         handling.
17313         (Dispatch::LFUN_FLOAT_LIST): implement
17314
17315 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17316
17317         * LaTeX.C (run): Fix problem with --export code.
17318
17319 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17320
17321         * BufferView.[Ch] (workarea): removed.
17322         (getClipboard) new method; wrapper for workarea()->getClipboard()
17323
17324         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17325         bug.
17326
17327         * WorkArea.h (width, height, xpos, ypos): These methods all
17328         returned the dimensions of the work_area sub-area of WorkArea,
17329         resulting in a position error if the WorkArea were resized. Now
17330         return the dimensions of the entire WorkArea.
17331
17332         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17333
17334 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17335
17336         * LaTeX.C (deplog): correct the syntax of regex reg1
17337
17338 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17339
17340         * undo.C: remove !NEW_INSETS cruft
17341
17342 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17343
17344         * text2.C: remove !NEW_INSETS cruft
17345
17346         * text.C: remove !NEW_INSETS cruft
17347
17348         * tabular.C: remove !NEW_INSETS cruft
17349
17350         * spellchecker.C: remove !NEW_INSETS cruft
17351
17352         * lyxtext.h: remove !NEW_INSETS cruft
17353
17354         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17355
17356         * lyxfunc.C: remove !NEW_INSETS cruft
17357
17358         * lyxfind.C: remove !NEW_INSETS cruft
17359
17360         * lyx_cb.C: remove !NEW_INSETS cruft
17361
17362         * figureForm.C: remove  !NEW_INSETS cruft
17363
17364         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17365
17366         * buffer.[Ch]: remove !NEW_INSETS cruft
17367
17368         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17369
17370         * CutAndPaste.C: remove !NEW_INSETS cruft
17371
17372         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17373
17374         * BufferView2.C: remove !NEW_INSETS cruft
17375
17376         * BufferView.h: remove !NEW_INSETS cruft
17377
17378 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17379
17380         * Lsstream.h: include LString.h before the sstream headers to
17381         fix problem with gcc 2.95.3 and lyxstring
17382
17383 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17384
17385         * lyx_main.C: add using directives when needed for C functions
17386         declared in std:: namespace.
17387
17388 2001-04-27  Juergen Vigna  <jug@sad.it>
17389
17390         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17391         (SetHeightOfRow): comment out the update call should not be needed!
17392
17393 2001-04-13  Juergen Vigna  <jug@sad.it>
17394
17395         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17396         (LyXTabular): tried to minimize operator= operations (and realized
17397         hopfully Lars wish).
17398
17399 2001-04-27  Juergen Vigna  <jug@sad.it>
17400
17401         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17402
17403 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17404
17405         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17406
17407         * buffer.C (readInset): hack to make listof algorithm work
17408
17409         * BufferView_pimpl.C: hack to make listof algorithm work
17410
17411 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17412
17413         * LyXAction.C: removed all !NEW_INSETS cruft
17414         (init): moved lfun_item in method
17415
17416         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17417
17418 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17419
17420         * BufferView2.C (theLockingInset): white space.
17421
17422 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17423
17424         * minibuffer.C: include <iostream>
17425
17426         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17427
17428         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17429
17430         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17431
17432         * text.[Ch] (TransposeChars): new method
17433
17434 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17435
17436         * call message directly through LyXView instead of through LyXFunc
17437         * BufferView2.C: adjust
17438         * BufferView_pimpl.C: adjust
17439         * FontLoader.C: adjust
17440         * buffer.C: adjust
17441         * bufferview_funcs.C: adjust
17442         * converter.C: adjust
17443         * figureForm.C: adjust
17444         * importer.C: adjust
17445         * lyx_cb.C: adjust
17446         * lyx_gui_misc.C: adjust
17447         * lyxfunc.C: adjust
17448         * lyxvc.C: adjust
17449         * text2.C: adjust
17450         + more files in subdirs
17451
17452         * lyxparagraph.h (size): move up int file
17453         (GetLayout): ditto
17454
17455         * adjust all uses of Assert to lyx::Assert.
17456
17457         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17458         lyxfunctional in namespace lyx
17459         * layout.C (hasLayout): ditto
17460         (GetLayout): ditto
17461         (GetLayout): ditto
17462         (delete_layout): ditto
17463         (NumberOfClass): ditto
17464         * converter.C (GetFormat): ditto
17465         (GetNumber): ditto
17466         (Add): ditto
17467         (Delete): ditto
17468         (SetViewer): ditto
17469         * bufferlist.C (getFileNames): ditto
17470         (emergencyWriteAll): ditto
17471         (exists): ditto
17472         (getBuffer): ditto
17473         * MenuBackend.C (hasSubmenu): ditto
17474         (hasMenu): ditto
17475         (getMenu): ditto
17476         * BufferView_pimpl.C (getInsetByCode): ditto
17477
17478 2001-04-18  Juergen Vigna  <jug@sad.it>
17479
17480         * vspace.C (asLatexString): fixed the 100% problem.
17481
17482 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17483
17484         * lyxfunc.C (Dispatch):
17485         * minibuffer.C:
17486         * minibuffer.h: add a few std:: qualifiers
17487
17488 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17489
17490         * minibuffer.[Ch]: reimplement so that commands is initiated and
17491         run from lyxfunc, simplified som handling, and made the completion
17492         and history code for complete. wip.
17493
17494         * lyxfunc.C (processKeySym): call message
17495         (miniDispatch): new temporary method
17496         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17497         (LFUN_MESSAGE): implement
17498         (LFUN_MESSAGE_PUSH): implement
17499         (LFUN_MESSAGE_POP): implement
17500         (initMiniBuffer): the initial/defualt minibuffer message.
17501
17502         * lyxfont.[Ch]: inline some more getters
17503
17504         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17505
17506         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17507
17508         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17509         (AutoSave): use LFUN_MESSAGE
17510         (Reconfigure): ditto
17511
17512         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17513
17514         * figureForm.C: use LFUN_MESSAGE
17515
17516         * converter.C (runLaTeX): use LFUN_MESSAGE
17517
17518         * bufferview_funcs.C: use LFUN_MESSAGE
17519         (Melt): ditto
17520         (changeDepth): ditto
17521
17522         * bufferparams.h: use boost::
17523
17524         * bufferlist.h: inherit privately from noncopyable
17525
17526         * bufferlist.C (loadLyXFile): remove some commented code.
17527
17528         * buffer.C (runChktex): use LFUN_MESSAGE
17529
17530         * ShareContainer.h: inherit privately from noncopyable
17531
17532         * ParagraphParameters.[hC] (depth): inline it.
17533
17534         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17535         methods.
17536         (message): new method
17537         (messagePush): ditto
17538         (messagePop): ditto
17539         (show): init minibuffer
17540         (showState): direct call
17541
17542         * LaTeX.[Ch]: inherit privately from noncopyable
17543         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17544         instead of WriteStatus.
17545
17546         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17547
17548         * BufferView_pimpl.C (buffer): don't init minibuffer
17549         (workAreaButtonPress): use LFUN_MESSAGE
17550         (workAreaButtonRelease): ditto
17551         (savePosition): ditto
17552         (restorePosition): ditto
17553         (MenuInsertLyXFile): ditto
17554         (workAreaExpose): don't init minibuffer
17555         (update): remove commented code, simplify
17556
17557         * BufferView2.C (openStuff): use LFUN_MESSAGE
17558         (toggleFloat): ditto
17559         (menuUndo): ditto
17560         (menuRedo): ditto
17561         (copyEnvironment): ditto
17562         (pasteEnvironment): ditto
17563         (copy): ditto
17564         (cut): ditto
17565         (paste): ditto
17566         (gotoInset): ditto
17567         (updateInset): remove some commented code
17568
17569         * lastfiles.h: inherit privately from noncopyable
17570         * layout.h: ditto
17571         * lyx_gui.h: ditto
17572         * lyx_main.h: ditto
17573         * lyxlex.h: ditto
17574         * lyxlex_pimpl.h: ditto
17575
17576         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17577         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17578         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17579
17580         * LyXAction.h: inherit privately from noncopyable, add methods
17581         func_begin, func_end, returning iterators to the func map.
17582
17583         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17584         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17585         (func_begin): new method
17586         (func_end): new method
17587
17588         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17589         and not)
17590         (copySelection): ditto
17591         (pasteSelection): ditto
17592
17593         * BufferView.C: whitespace change
17594         * BufferView.h: inherit privately from noncopyable
17595
17596 2001-04-16  Allan Rae  <rae@lyx.org>
17597
17598         * tabular-old.C (l_getline):
17599         * spellchecker.C (sc_check_word):
17600         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17601         an unrecognised preprocessor directive.  So ensure they're wrapped.
17602
17603 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17604
17605         * src/exporter.C (Export): Give an error message when path to file
17606         contains spaces.
17607
17608 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17609
17610         * LaTeX.C (deplog): Always check that foundfile exists.
17611
17612 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17613
17614         * lyx_main.h:
17615         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17616
17617 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17618
17619         * tabular.[Ch] (getLabelList): implement new method
17620
17621         * minibuffer.h: comment ouf setTiimer
17622
17623         * minibuffer.C (ExecutingCB): constify res
17624         (peek_event): constify s
17625         (Set): constify ntext
17626         (Init): constify nicename
17627
17628         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17629
17630         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17631         (savePosition): use two params to Minibuffer::Set
17632         (restorePosition): ditto
17633
17634 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17635
17636         * lyx_main.C: include language.h
17637
17638         * Makefile.am (lyx_main.o): add language.h
17639
17640 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17641
17642         * exporter.C:
17643         * paragraph.C:
17644         * screen.C:
17645         * tabular.C:
17646         * CutAndPaste.C: include gettext.h
17647
17648         * lyxfont.h: remove old hack with ON and OFF.
17649
17650         * lyxparagraph.h:
17651         * lyxfont.h: do not include language.h...
17652
17653         * BufferView2.C:
17654         * LaTeXFeatures.C:
17655         * Painter.C:
17656         * bufferview_funcs.C:
17657         * font.C:
17658         * lyxfont.C:
17659         * text.C:
17660         * text2.C:
17661         * trans_mgr.C:
17662         * paragraph.C: ... but do it here instead
17663
17664 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17665
17666         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17667
17668         * tabular.C: small reformat
17669
17670         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17671         NEW_INSETS version
17672         (GetChar): ditto
17673         (BreakParagraph): ditto
17674         (SetOnlyLayout): ditto
17675         (SetLayout): ditto
17676
17677         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17678         with one arg less.
17679
17680         * lastfiles.C: removed most using decl, add std:: where needed
17681
17682         * buffer.C: ws changes
17683
17684         * MenuBackend.C (class compare_format): put into anon namespace
17685         (expand): constify label, names, action, action2
17686         (expand):
17687
17688         * text.C (SingleWidth): constify font
17689         (IsBoundary): constify rtl2
17690         (GetVisibleRow): constify ww
17691
17692         * LaTeX.C (deplog): constify logfile
17693
17694         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17695         start_x, end_x
17696         (workAreaExpose): constify widthChange, heightChange
17697
17698         * lyxrow.C (par): moved
17699         (height): moved
17700         (next): moved
17701         * lyxrow.h: as inlines here
17702
17703         * lyxfont.h (shape): moved from lyxfont.C
17704         (emph): moved from lyxfont.C
17705
17706         * lyxfont.C (LyXFont): use initialization list for all
17707         constructors
17708         (shape): move to lyxfont.h as inline
17709         (emph): move to lyxfont.h as inline
17710
17711
17712 2001-04-04  Juergen Vigna  <jug@sad.it>
17713
17714         * vspace.C: had to include stdio.h for use of sscanf
17715
17716 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17717
17718         * BufferView.h:
17719         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17720         independent of xforms.
17721
17722 2001-04-02  Juergen Vigna  <jug@sad.it>
17723
17724         * spellchecker.C: fixed namespace placing!
17725
17726 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17727
17728         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17729         the LyXParagraph * is 0.
17730
17731 2001-03-29  Juergen Vigna  <jug@sad.it>
17732
17733         * vspace.C: added support for %, c%, p%, l%.
17734         (stringFromUnit): added helper function.
17735         (asLatexString): changed to give right results for the %-values.
17736
17737         * buffer.C: convert the widthp in a width%.
17738
17739 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17740
17741         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17742         figureForm.[Ch].
17743
17744         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17745         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17746
17747         * lyx_cb.[Ch]: see above.
17748
17749         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17750         form1.[Ch].
17751
17752         * form1.[Ch]:
17753         * lyx.[Ch]: replaced by figure_form.[Ch].
17754
17755         * lyx_gui.C:
17756         * lyx_gui_misc.C:
17757         * lyxfunc.C: changed headers associated with above changes.
17758
17759 2001-03-27  Juergen Vigna  <jug@sad.it>
17760
17761         * BufferView_pimpl.C: set the temporary cursor right!
17762
17763 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17764
17765         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17766
17767 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17768
17769         * LString.h: removed "using std::getline"!
17770
17771         * BufferView_pimpl.C (Dispatch): changes due to changes in
17772         InsetInclude::Params.
17773
17774         * buffer.C (tag_name): removed redundant break statements as they were
17775         producing lots of warnings with my compiler.
17776
17777 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17778
17779         * LString.h: add "using std::getline" when using the real <string>.
17780
17781 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17782
17783         * buffer.C: removed bitset usage.
17784         PAR_TAG moved to an anonymous name space.
17785         (tag_name): new funtion, also in the anonymous namespace.
17786         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17787         (makeDocBookFile): clean code. Completed transition from string arrays
17788         to string vectors.
17789         (SimpleDocBookOnePar): code clean.
17790
17791 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17792
17793         * tabular.C: add some comments.
17794
17795 2001-03-22  Juergen Vigna  <jug@sad.it>
17796
17797         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17798         compatibility read a bit and fixed bug with minipage in different
17799         depth.
17800
17801 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17802
17803         * buffer.C (pop_tag): removed.
17804         (push_tag): removed.
17805         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17806         array replaced with vector. Added support for CDATA sections.
17807         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17808         at any nest level.
17809         (makeDocBookFile): XML conformant declaration of CDATA section,
17810         fixed bug related to <emphasis> in the first paragraph char.
17811         (sgmlOpenTag): exclude empty tags.
17812         (sgmlCloseTag): ditto.
17813
17814         * buffer.h (pop_tag): removed.
17815         (push_tag): removed.
17816
17817 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17818
17819         * language.h (Languages): added size_type and size().
17820
17821 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17822
17823         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17824         response on compability reading of minipages. One probliem is that
17825         the old usage of minipages was flertydig
17826
17827         * several files here and in subdirs: don't use static at file
17828         scope use anon namespaces instead.
17829
17830 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17831
17832         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17833         LaTeX output. This is necessary for Literate document
17834         processing.
17835
17836 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17837
17838         * buffer.C: insert hfill when needed.
17839
17840         * tabular.C (l_getline): use string::erase, small whitespace change.
17841
17842         * BufferView_pimpl.C: try the anon namespace.
17843         * WorkArea.C: ditto
17844
17845 2001-03-16  Juergen Vigna  <jug@sad.it>
17846
17847         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17848         otherwise it won't open options-dialogs.
17849
17850         * buffer.C: honor pextraWidth(p) on converting minipages.
17851
17852         * tabular.C (l_getline): changed the functions to strip trailing \r.
17853
17854 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17855
17856         * BufferView_pimpl.C:
17857         * minibuffer..C: added "using SigC::slot" declaration.
17858
17859 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17860
17861         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17862
17863         * text2.C: ditto
17864
17865         * text.C: ditto
17866
17867         * paragraph.C: ditto
17868
17869         * lyxtext.h: NO_PEXTRA
17870
17871         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17872
17873         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17874         * ParameterStruct.h: ditto
17875         * ParagraphParameters.h: ditto
17876         * lyxparagraph.h: ditto
17877
17878 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17879
17880         * buffer.C: add compability for minipage alignment.
17881         (latexParagraphs): remove unwanted pextra check.
17882
17883         * several files: remove CXX_WORKING_NAMESPACES
17884
17885         * buffer.C (pop_tag): tie is in namespace boost
17886
17887         * BufferView.h: noncopyable is in namespace boost
17888         * lyxlex.h: ditto
17889         * lyx_main.h: ditto
17890         * lyx_gui.h: ditto
17891         * layout.h: ditto
17892         * lastfiles.h: ditto
17893         * bufferlist.h: ditto
17894         * ShareContainer.h: ditto
17895         * LyXView.h: ditto
17896         * LyXAction.h: ditto
17897         * LaTeX.h: ditto
17898
17899 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17900
17901         * Merging changes from BRANCH_MVC back into HEAD.
17902
17903         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17904
17905 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17906
17907         * BufferView_pimpl.C: change from intl.C
17908
17909         * combox.h:
17910         * combox.C:
17911         * Makefile.am: move combox.*
17912
17913         * form1.h:
17914         * form1.C:
17915         * lyx_gui.C:
17916         * intl.h:
17917         * intl.C: remove dialog (covered by prefs)
17918
17919 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17920
17921         * lyxfunc.C (Dispatch): removed redundant break statement.
17922
17923 2001-03-14  Juergen Vigna  <jug@sad.it>
17924
17925         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17926
17927 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17928
17929         * buffer.C: add hack to fix compability reading of minipages.
17930
17931 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17932
17933         * buffer.C (getLists): Cleanup.
17934
17935 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17936
17937         * lyxfont.C (update): don't honor toggleall on font size.
17938
17939 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17940
17941         * bmtable.c:
17942         * bmtable.h:
17943         * Makefile.am: moved to frontends/xforms/
17944
17945         * lyx_gui_misc.C:
17946         * lyxfunc.C:
17947         * BufferView_pimpl.C: changes for moved mathpanel
17948
17949 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17950
17951         * gettext.h: fix gettext_init() in --disable-nls
17952
17953 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17954
17955         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17956
17957 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17958
17959         * lyx.C:
17960         * lyx.h: strip external form
17961
17962 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17963
17964         * BufferView_pimpl.C: add comment, destroySplash()
17965
17966 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17967
17968         * BufferView_pimpl.C:
17969         * LyXAction.C:
17970         * buffer.C:
17971         * commandtags.h:
17972         * lyxfunc.C: use re-worked insetinclude
17973
17974 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17975
17976         * buffer.C: add using std::stringstream.
17977
17978         * lyx_cb.C: readd using std::ios.
17979
17980         * buffer.C: add using std::map.
17981
17982         * BufferView_pimpl.C: add using std::vector.
17983
17984         * ShareContainer.h: add std:: to swap.
17985
17986         * buffer.h: add some typedefs
17987         * buffer.C (getLists): use them
17988         (getLists): renamed from getTocList.
17989         add a counter for the different float types and use it in the
17990         generated string.
17991         (getLists): use the same counter for the NEW_INSETS and the "non"
17992         NEW_INSETS
17993
17994         * lyx_cb.h: remove unused items, includes, using etc.
17995
17996         * ShareContainer.h: remove some commented code, add more comments
17997         and "documentation".
17998
17999 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18000
18001         * buffer.C (getTocList): make the list also when NEW_INSETS is
18002         defined.
18003
18004         * buffer.h: remove TocType
18005
18006         * buffer.C (getTocList): change to return a map<string,
18007         vector<TocItem> >, implement for dynamic number of list.
18008
18009         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18010         * text2.C (PasteSelection): adjust
18011         * CutAndPaste.C (pasteSelection): adjust
18012
18013         * FloatList.C (FloatList): update from the new_insets branch.
18014         * Floating.[Ch]: ditto
18015         * LaTeXFeatures.C: ditto
18016         * buffer.C: ditto
18017         * lyxlex_pimpl.C: ditto
18018
18019         * paragraph.C (Last): remove when NEW_INSETS is defined.
18020
18021         * other file: changes because of the above.
18022
18023 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18024
18025         * lyxparagraph.h: rename next to next_, previous to previous_,
18026         make them private for NEW_INSETS. Rename Next() to next(),
18027         Previous() to previous().
18028
18029         * other files: changes because of the above.
18030
18031 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18032
18033         * BufferView.h:
18034         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18035         problem.
18036
18037 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18038
18039         * main.C (main): pass lyx_localedir to gettext_init().
18040
18041         * gettext.h: remove locale_init and gettext_init macros
18042
18043         * gettext.C (locale_init): new function
18044         (gettext_init): new function
18045
18046         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18047         setlocale().
18048
18049 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18050
18051         * Moved credits to frontends:
18052         * credits.[Ch]: removed
18053         * credits_form.[Ch]: removed
18054         * lyx_gui_misc.C: remove credits stuff
18055         * Makefile.am:
18056
18057 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18058
18059         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18060
18061         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18062         unneeded destructor.
18063
18064         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18065         a standalone pointer again.
18066
18067         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18068
18069 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18070
18071         * Makefile.am:
18072         * filedlg.h:
18073         * filedlg.C:
18074         * LyXAction.C:
18075         * ToolbarDefaults.C:
18076         * bufferlist.C:
18077         * commandtags.h:
18078         * form1.C:
18079         * form1.h:
18080         * lyx_cb.C:
18081         * lyx_cb.h:
18082         * lyxfunc.h:
18083         * lyxfunc.C:
18084         * BufferView_pimpl.C: use new file dialog in GUII
18085
18086         * lyx_cb.h:
18087         * lyx_cb.C: remove LayoutsCB to Toolbar
18088
18089 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18090
18091         * ShareContainer.h (get): add std:: qualifier
18092
18093 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18094
18095         * ShareContainer.h: define a proper ShareContainer::value_type
18096         type (and use typename to please compaq cxx)
18097
18098 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18099
18100         * lyxparagraph.h: move serveral local vars to
18101         ParameterStruct/ParagraphParameters., use ShareContainer in
18102         FontTable., make vars in FontTable private and add getter and
18103         setter.
18104
18105         * paragraph.C: changes because of the above.
18106
18107         * lyxfont.h: remove copy constructor and copy assignment. (the
18108         default ones is ok), move number inside FontBits. move inlines to
18109         lyxfont.C
18110
18111         * lyxfont.C: add number to initializaton of statics, move several
18112         inlines here. constify several local vars. some whitespace
18113         cleanup. Dont hide outerscope variables.
18114
18115         * Spacing.h: add two new constructors to match the set methods.
18116
18117         * ShareContainer.h: new file, will perhaps be moved to support
18118
18119         * ParameterStruct.h: new file
18120
18121         * ParagraphParameters.h: new file
18122
18123         * ParagraphParameters.C: new file
18124
18125         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18126         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18127
18128         * BufferView_pimpl.C: ParagraphParameter changes.
18129         * buffer.C: Likewise.
18130         * bufferview_funcs.C: Likewise.
18131         * text.C: Likewise.
18132         * text2.C: Likewise.
18133
18134 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18135
18136         * lyxfind.C (LyXReplace): do not redefine default argument in
18137         implementation.
18138         (IsStringInText): ditto
18139         (SearchForward): ditto
18140         (SearchBackward): ditto
18141
18142 2001-03-06  Juergen Vigna  <jug@sad.it>
18143
18144         * lyxfind.C (IsStringInText): put parentes around expressions.
18145
18146 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18147
18148         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18149
18150 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18151
18152         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18153
18154         * stl_string_fwd.h: add comment
18155
18156         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18157
18158         * tabular.h:
18159         * tabular.C: remove unused DocBook methods
18160
18161         * intl.C:
18162         * language.C:
18163         * paragraph.C:
18164         * buffer.C:
18165         killed DO_USE_DEFAULT_LANGUAGE
18166
18167 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18168
18169         * lyx_gui.C: do not include language.h.
18170
18171         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18172         arguments in function implementation.
18173
18174 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18175
18176         * BufferView_pimpl.C: add <ctime>
18177
18178 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18179
18180         * BufferView_pimpl.C: add using std::find_if
18181
18182 2001-02-27  José Matos  <jamatos@fep.up.pt>
18183
18184         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18185         by OnlyPath.
18186
18187 2001-02-11  José Matos  <jamatos@fep.up.pt>
18188
18189         * buffer.C (makeDocBookFile): command styles now have a parameter as
18190         "title" by default.
18191
18192 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18193
18194         * layout_forms.[Ch]: removed
18195         * lyx_cb.[Ch]: out character
18196         * lyx_gui.C: out character
18197         * lyx_gui_misc.C: out character
18198         * bufferview_funcs.C: : out character,
18199         added toggleall as parameter in ToggleAndShow
18200
18201 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18202
18203         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18204
18205         * text2.C (SetCurrentFont): Disable number property at boundary.
18206
18207 2001-02-26  Juergen Vigna  <jug@sad.it>
18208
18209         * lyxfunc.C (getStatus): added a string argument override function so
18210         that this is correctly called from LyXFunc::Dispatch if it contains a
18211         do_not_use_argument which is used!
18212         (Dispatch): added check for "custom" export and call appropriate func.
18213
18214 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18215
18216         * lyxrc.C: Add language_command_local, language_use_babel and
18217         language_global_options.
18218
18219         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18220
18221         * buffer.C (makeLaTeXFile): Use language_use_babel and
18222         language_global_options.
18223
18224 2001-02-23  Juergen Vigna  <jug@sad.it>
18225
18226         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18227         which works with LyXText and putted it inside BufferView. Here now we
18228         only call for that part the BufferView::Dispatch() function.
18229
18230         * BufferView.C (Dispatch): added.
18231
18232         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18233         functions which needs to use a LyXText over from LyXFunc.
18234         (MenuInsertLyXFile): added
18235         (getInsetByCode): added
18236         (moveCursorUpdate): added
18237         (static TEXT): added
18238
18239 2001-02-22  Juergen Vigna  <jug@sad.it>
18240
18241         * BufferView_pimpl.C (update): call a status update to see if LyXText
18242         needs it.
18243
18244 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18245
18246         * vc-backend.C (revert): implement for CVS
18247         (getLog): implement for CVS
18248
18249 2001-02-20  Juergen Vigna  <jug@sad.it>
18250
18251         * text2.C (ClearSelection): added BufferView param for inset_owner call
18252
18253         * lyxfunc.C (TEXT): added this function and use it instead of
18254         directly owner->view()-text of getLyXText().
18255
18256 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18257
18258         * src/layout_forms.C: out preamble
18259         * src/layout_forms.h: out preamble
18260         * src/lyx_cb.C: out preamble
18261         * src/lyx_cb.h: out preamble
18262         * src/lyx_gui.C: out preamble
18263         * src/lyx_gui_misc.C: out preamble
18264         * src/lyxfunc.C: connect with guii preamble
18265
18266 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18267
18268         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18269
18270 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18271
18272         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18273         whether to run bibtex.
18274
18275 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18276
18277         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18278
18279 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18280
18281         * Makefile.am (lyx_SOURCES): removed bibforms.h
18282
18283         * vspace.h: doxygen
18284
18285         * text.C (GetVisibleRow): make several local vars const
18286
18287         * tabular.C: small cleanup.
18288
18289         * lyxserver.C (callback): use compare instead of strncmp
18290
18291         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18292         inlines to after class or to paragraph.C
18293
18294         * lyxfont.h: remove friend operator!=
18295
18296         * converter.h: move friend bool operator< to non friend and after
18297         class def.
18298
18299         * combox.h: small cleanup
18300
18301         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18302         to inlines after class def.
18303
18304         * buffer.C (pop_tag): use string operations instead of strcmp
18305
18306         * bmtable.c: doxygen, small cleanup
18307
18308         * LaTeX.h: remove friend operator==
18309
18310 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18311
18312         * screen.C:
18313         * lyxrc.[Ch]:
18314         * lyxfunc.C:
18315         * lyxfont.[Ch]:
18316         * lyx_cb.C:
18317         * intl.[Ch]:
18318         * commandtags.h:
18319         * buffer.C:
18320         * WorkArea.[Ch]:
18321         * LyXAction.C:
18322         * BufferView_pimpl.C:
18323         * BufferView.[Ch]: remove cruft
18324
18325 2001-02-14  Juergen Vigna  <jug@sad.it>
18326
18327         * lyxfunc.C: removed #if 0 unused code
18328
18329         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18330
18331         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18332
18333         * text2.C (SetSelection): added a BufferView * parameter
18334
18335 2001-02-13  Juergen Vigna  <jug@sad.it>
18336
18337         * lyxfunc.C (Dispatch): fixed protected blank problem.
18338         * BufferView2.C (protectedBlank): added LyxText * parameter.
18339
18340         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18341         (AppendColumn): same as above for column_info.
18342
18343         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18344         (moveCursorUpdate): use a LyXText param for support of InsetText.
18345
18346         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18347         (tripleClick): ditto
18348
18349         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18350
18351         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18352
18353         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18354
18355         * text2.C (SetSelection): set correct update status if inset_owner
18356         (ToggleFree): ditto
18357
18358 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18359
18360         * tabular.C: remove some commented code.
18361
18362 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18363
18364         * BufferView_pimpl.C: call hideSplash()
18365
18366         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18367
18368         * include_form.h:
18369         * bibforms.h: remove
18370
18371         * lyxfunc.C:
18372         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18373           add LFUN_CHILD_CREATE
18374
18375         * counters.h: fix tiny typo
18376
18377         * lyx_cb.C:
18378         * lyx.h:
18379         * lyx_gui.C:
18380         * lyx.C: move splash to frontends/xforms/
18381
18382         * lyx_gui_misc.C: move Include and Bibform to frontends
18383
18384         * lyxvc.h: clarify comment
18385
18386         * vspace.C: tiny housekeeping
18387
18388 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18389
18390         * text.C (PrepareToPrint): RTL Fix.
18391
18392         * paragraph.C (GetUChar): New method.
18393         (String):  Use GetUChar.
18394
18395         * buffer.C (asciiParagraph): Use GetUChar.
18396
18397 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18398
18399         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18400
18401 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18402
18403         * buffer.h:
18404         * buffer.C: rename to getLogName(), handle
18405           build log / latex log nicely
18406
18407 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18408
18409         * MenuBackend.C:
18410         * MenuBackend.h: remove support for reference menuitem type.
18411
18412 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18413
18414         * BufferView_pimpl.C: housekeeping
18415         * BufferView_pimpl.h:
18416         * LyXView.h:
18417         * Makefile.am:
18418         * Timeout.C:
18419         * Timeout.h:
18420         * minibuffer.h: move Timeout GUI-I
18421
18422 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18423
18424         * lyxrc.C (read): Update converters data-structures.
18425
18426 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18427
18428         * LaTeX.h (operator!=): add operator != for Aux_Info
18429
18430 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18431
18432         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18433
18434         * LaTeXLog.C: deleted, useful code moved to Buffer
18435
18436         * buffer.h:
18437         * buffer.C: new function getLatexLogName()
18438
18439         * lyx_gui_misc.C:
18440         * lyx_gui.C:
18441         * lyxvc.C:
18442         * lyxvc.h:
18443         * lyxfunc.C: use frontends for LaTeX and VC logs
18444
18445 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18446
18447         * LaTeX.h: yet another std:: that Allan forgot.
18448
18449         * Variables.C (set): renamed from isset(), because this clashes
18450         with some HP-UX macros (grr).
18451
18452 2001-02-06  Allan Rae  <rae@lyx.org>
18453
18454         * LaTeX.h: Another bug fix.  Missing std:: this time.
18455
18456 2001-02-04  Allan Rae  <rae@lyx.org>
18457
18458         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18459         floats problem. I've left it commented out because it's not quite
18460         correct.  It should also test that the current object is a table or
18461         figure inset.  But I haven't gotten around to figuring out how to do
18462         that.  I *think* it'll be something like: "table" == inset.type()
18463
18464         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18465         bool.
18466
18467 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18468
18469         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18470         all the citation/databases/styles in the auxilary file.
18471         (run): Rerun latex if there was a babel language error.
18472
18473 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18474
18475         * text.C (Backspace): Preserve the font when changing newline char
18476         with a space.
18477         (BreakParagraph): If the cursor is before a space, delete the space.
18478
18479         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18480
18481 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18482
18483         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18484         new argument (code).
18485         (ChangeCitationsIfUnique): New method.
18486
18487         * paragraph.C (GetPositionOfInset): Handle bibkey.
18488
18489 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18490
18491         * BufferView_pimpl.h: change type of Position::par_pos to
18492         LyXParagraph::size_type.
18493
18494 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18495
18496         * BufferView_pimpl.C (savePosition, restorePosition): Write
18497         messages to minibuffer.
18498
18499 2001-01-28  José Matos  <jamatos@fep.up.pt>
18500
18501         * buffer.C (makeDocBookFile): adds support for document language.
18502         A silly restriction on the name of LatexCommand types where removed.
18503         Added support for CDATA sections, allows to chars unescaped, used
18504         among others in code, to avoid escape < and >.
18505
18506 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18507
18508         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18509         saved positions instrad of a stack. Furthermore, a position is
18510         stored using paragraph id/paragraph position.
18511
18512         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18513         Remove LFUN_REF_BACK.
18514
18515 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18516
18517         * converter.C (dvipdfm_options): New method.
18518
18519 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18520
18521         * vspace.C (isValidLength): Fix for empty input string.
18522
18523 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18524
18525         * LyXAction.C (init): change description of LFUN_FIGURE to
18526         "Insert Graphics"
18527
18528 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18529
18530         * LaTeX.C: add using directive
18531
18532 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18533
18534         * MenuBackend.C (expand): Fix the sorting of the formats.
18535
18536 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18537
18538         * lyx_main.C: tiny error message fix
18539
18540 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18541
18542         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18543         calling fl_initialize(). This fixes the problem with ',' as
18544         decimal separator in text files.
18545
18546 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18547
18548         * trans.C (process): Fix the keymap bug.
18549
18550 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18551
18552         * LaTeX.C (scanAuxFiles): New method. Provides support for
18553         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18554         (scanLogFile) Scan for "run BibTeX" messages.
18555
18556         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18557         OT1 font encoding. Also, load the aecompl package if the ae
18558         package is loaded.
18559
18560         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18561
18562 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18563
18564         * texrow.C (increasePos): turn two error messages into debug
18565         messages.
18566
18567 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18568
18569         * LaTeX.C (scanAux): Handle the \@input macro.
18570         (runBibTeX): Use scanAux().
18571
18572         * language.C (latex_options_): New field.
18573
18574         * LaTeXFeatures.C (getMacros): Add language macros.
18575
18576         * buffer.C (makeLaTeXFile): Small fix.
18577
18578 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18579
18580         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18581
18582         * text2.C: add a using directive.
18583
18584 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18585
18586         * BufferView2.C:
18587         * lyx_gui_misc.h:
18588         * lyxfr1.C:
18589         * lyxfunc.C: kill LyXBell.
18590
18591 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18592
18593         * text.C (IsBoundary): Remove the error message
18594
18595         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18596
18597         * lyxrc.C (setDefaults): Correct initialization value for
18598         font_norm_type.
18599
18600 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18601
18602         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18603         gotoError().
18604
18605         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18606         and GotoNextNote().
18607
18608         * src/LyXAction.C: Added reference-next.
18609
18610         * text.C (InsertChar): Use contains instead of strchr.
18611
18612         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18613
18614 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18615
18616         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18617         alignment commands (when needed).
18618
18619         * text.C (InsertChar): Add ':' to number separator chars.