]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
85313927c06d361c9c158ab06524d4943d096278
[lyx.git] / src / ChangeLog
1 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * version.C.in: Use PACKAGE_VERSION instead of VERSION
4
5 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
6
7         * tabular.C (toggleFixedWidth): Use default layout of text class
8         instead of hardcoded "Standard"
9
10 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * lyxfunc.C (dispatch): do not call getStatus again to determine
13         whether a lfun is disabled (bug 2172).
14
15 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16
17         * cursor.C (macroModeClose): set the cursor inside the new math
18         atom if relevant (think \frac{}{}) (bug 2034)
19
20 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
21
22         * lyxtext.h:
23         * text.C:
24         * text3.C (Delete, backspace): force update when merging paragraphs
25
26 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
27
28         * BufferView.C (mouseSetCursor): clear the selection properly (bug
29         2163). 
30
31 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
32
33         * text.C (redoParagraph): honor inset->noFontChange()
34         * rowpainter.C (paintInset): ditto
35
36 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
37
38         * lyx_main.C (priv_exec): don't initialize Math on startup 
39         (initMath() has been moved to math_hullinset).
40
41 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
42
43         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
44         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
45         * paper.h: dispose dead PAPER_PACKAGES enum.
46
47 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
48
49         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
50         without X support.
51
52 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
53
54         * exporter.C (Export): Don't try to copy a file if it does not exist
55         (bug 1888)
56
57 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * text2.C (makeFontEntriesLayoutSpecific): remove.
60         (setLayout): adapt.
61
62         * text.C (insertChar): remove bogus caching of fonts (did not do
63         anything). 
64
65         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
66         ALL_SANE). (bug 2146)
67
68 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * rowpainter.C (paintFirst): fix centering of
71         LABEL_CENTERED_TOP_ENVIRONMENT. 
72
73 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * BufferView.C (mouseSetCursor): new method. Calls
76         deleteEmptyParagraphMechanism if necessary.
77
78         * lyxtext.h: make deleteEmptyParagraphMechanism public.
79
80         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
81         BufferView::mouseSetCursor (bug 2109).
82         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
83
84 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
85
86         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
87         do not remove it (this inset behaves differently from the others).
88
89 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         Fix bug 2096.
92         
93         * BufferView_pimpl.C (getStatus): it is only possible to insert a
94         file in a text inset.
95
96         * buffer.C (readDocument): remove pit argument and code releated
97         to it; set the inset owner correctly (unrelated, but useful).
98         (readFile): get rid of pit argument.
99
100         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
101         textclass instead of a selection index.
102         (pasteParagraphList): new function.
103         (pasteSelection): make it a wrapper around pasteParagraphList.
104
105         * BufferView_pimpl.C (MenuInsertLyXFile): use
106         cap::pasteParagraphList to insert a file.
107
108 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
109
110         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
111
112 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
113
114         * exporter.C: fix typo in text message
115
116 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * text2.C (setLayout): move recUndo call to other setLayout method
119         * tabular.C (toggleFixedWidth): new, handle cell width changes
120         * tabular.C (setColumnPWidth): move some code from insettabular.C here
121         and use toggleFixedWidth
122         * tabular.C (setMColumnPWidth): ditto
123
124 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
125
126         * paragraph.C (asString): use new inset->textString method (fix
127         bug 2089) 
128
129 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
130
131         * CutAndPaste.C (numberOfSelections): new helper function.
132
133         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
134
135         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
136         LyXFunc::getStatus; implement LFUN_PASTE.
137
138 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
139
140         * dociterator.[Ch]: new member realInset() that returns the cell
141         for tabulars and the inset for the rest (bug 1952).
142         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
143         (bug 1952).
144
145 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
146
147         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
148
149 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
150
151         * lyxfunc.C:
152         * paragraph.C:
153         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
154         argument.
155
156 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
157
158         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
159         line after typing ctrl-enter
160
161 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
162
163         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
164         math insets do not return a proper editable() state yet (bug 2124).
165
166 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
167
168         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
169         docs containing very large paragraphs.
170
171 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
172
173         * cursor.C (selectionBegin, selectionEnd):
174         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
175         cursor at different depths.
176
177 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
178
179         * bufferview_funcs.C (coordOffset): do not call cursorPos
180         for collapsed collapsables (fix bug 2094).
181
182 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * paragraph.C (fontSpan): make sure that the FontSpan does not
185         span across beginOfBody (bug 1947).
186
187 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
190
191 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
192
193         * messages.C: fix crash and localization on MinGW/Windows platform
194
195 2005-11-02  Angus Leeming  <leeming@lyx.org>
196
197         * Bidi.C:
198         * lyxtextclass.C: trivial fixes to some MSVS warnings.
199
200 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * text3.C (getStatus): re-enable disabled code. (bug 2081)
203
204         * BranchList.h (empty): constify.
205
206 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * text3.C (getStatus): 
209         * MenuBackend.C (expandBranches): take the branch list from the
210         master document (bug 2092).
211         
212         * MenuBackend.C (expandBranches): 
213         * bufferparams.C (writeFile): use BranchList type.
214
215 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * text3.C (dispatch, getStatus): 
218         * LyXAction.C (init): 
219         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
220
221 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
224
225 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * text.C (insertChar): do not reset boundary (bug 2061)
228
229 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
230
231         * dociterator.C (updateInsets): new method. Updates the inset_
232         cache of all the slices of the iterator.
233
234         * text2.C (deleteEmptyParagraphMechanism): compare also containing
235         insets when comparing pit/pos; pass the right cursor to
236         recordUndo; when a paragraph has been deleted, compare `old.top()' to
237         the right cursor slice of `cur'; use updateInsets on cur to make
238         sure that the inset caches are correct; general cleanup.
239
240 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
243         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
244         containg inset. If this does not work, the same command will be
245         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
246
247         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
248         a dispatch.
249
250 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
251
252         * lyxtextclass.C (Read): convert layout file if the format is wrong
253         * lyxtextclass.C (layout2layout): new, needed for the above
254
255 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
256
257         * messages.C: do not forget to include <cerrno>.
258
259 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
260
261         * dociterator.h (StableDocIterator): add access to pos().
262         * undo.C (samePar): new method to check if two
263         iterators are in the same paragraph
264         * undo.C (recordUndo): check for samePar instead of cell identity
265         (which includes pos() and is too strict) (fixes bug 2097)
266
267 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * text.C (setCursorFromCoordinates): return a bool telling whether
270         dEPM triggered.
271
272         * text3.C (cursorPrevious): update if needed after
273         setCursorFromCoordinates (when dEPM triggered).
274
275         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
276         (otherwise the anchor may be completely wrong and make dEPM assert).
277
278 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
279
280         * buffer.C: version upgrade to 245.
281         * bufferparams.C: remove \quotes_times (bug 2090).
282         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
283         quotation marks as default.
284
285 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
286
287         * CutAndPaste.C (nrOfParagraphs): remove (unused)
288         * CutAndPaste.C (cutSelection): Remove debug message
289         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
290         undo information and only copy if this is a real cut
291         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
292         call
293         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
294         (bug 2059)
295         * CutAndPaste.C (eraseSelection): prevent cursor corruption
296         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
297         superflous cur.selection() setting
298         * CutAndPaste.[Ch] (grabSelection): take a const cursor
299         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
300
301 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
302
303         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
304         change anything.
305
306 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
307
308         * BufferView_pimpl.C: comment layout change
309
310 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
311
312         * LyXAction.C:
313         * lfuns.h:
314         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
315         by bibliography managers (bug 2071).
316
317 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
318
319         * BufferView_pimpl.C (update): choose arguments to update call so
320         that single-par update works most times
321         * text3.C (dispatch): carefully tune updating separately for
322         whole-screen and current-paragraph
323         * rowpainter.C (paintText): 1) replace painting by caching for
324         the two extra paragraphs, because we can;
325         2) suppress greying out of areas below/above drawn area in case of
326         single-par refresh
327         * lyxfunc.C (dispatch): remove superfluous update
328         * LyXAction.[Ch]: introduce SingleParUpdate
329
330 2005-10-05  Angus Leeming  <leeming@lyx.org>
331
332         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
333         always initialised before use.
334
335         * text.C (setHeightOfRow): squash warning about comparison
336         of signed and unsigned types.
337
338 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * text.C (cursorX): two fixes involving RtL text drawing
341
342 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
345         items, not only large ones (part of bug 2057)
346
347 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
350         argument, use "newcommand".
351
352 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
353
354         * cursor.C (setSelection): do not open collapsable insets;
355         the insets do by themselves now (autoopen).
356
357 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
358
359         * buffer.C: format is up to 244.
360
361 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
362
363         * text.C (redoParagraph): fix calcultation of inset width wrt 
364         leftMargin (bug 1957).
365
366         * text3.C (dispatch): leave inset to the right when hitting ESC 
367         (bug 2034).
368
369 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
370
371         * text2.C: 
372         * text.C: 
373         * factory.C:
374         * messages.C: include <boost/current_function.hpp> 
375
376 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
379         when command is internal. (bug 1941)
380
381 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
382
383         * text2.C (cursorRight): do not honor boundary when at the end of
384         a paragraph. (bug 2010 again)
385
386 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
387
388         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
389
390 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
391
392         * rowpainter.C (paintText): fix RtL space width display bug (2029)
393
394 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
395
396         * text2.C (setCursor): remove the unused 'boundary' parameter for
397         the CursorSlice version; adapt the LCursor version.
398
399         * lyxrc.C (write): 
400         * paragraph_pimpl.C (markErased): 
401         * cursor.C (bruteFind2, bruteFond3): fix warnings.
402
403 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
406         as is already done for "chapter".
407
408 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
411         textclass; do not record undo if nothing is changed.
412
413 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
414
415         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
416
417 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
418
419         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
420
421 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
424         combox, it is necessary to search for the topmost paragraph in the
425         cursor stack (bug 1926)
426
427 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
430         end of paragraph. (bug 2010)
431
432 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
433
434         * text.C (leftMargin): check for inInset == 0
435
436 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
437
438         * text.C (leftMargin): test for insetbase's new neverIndent()
439         bool instead of listing each and every inset that does not
440         wish par indendation.
441
442 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * buffer_funcs.C (setCounter): put the code to compute enum label
445         here (where it belongs).
446
447         * counters.C (enumLabel): move code to buffer_funcs.C.
448
449 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
450
451         * outputparams.[Ch]: store local_font instead of local_language
452         * paragraph.C (simpleTeXOnePar): adapt to the change above
453
454 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
455
456         * buffer_funcs.C:
457         * counters.[Ch]: clean up special code for Hebrew.
458
459 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
460
461         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
462         than 2.
463
464 2005-09-08  Angus Leeming  <leeming@lyx.org>
465
466         * ispell.C:
467         * lyxrc.C: correct grammar describing invocation of the
468         spellchecker.
469
470 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * text.C (read): remove unused variable.
473         (readParToken): remove static Change variable (never good in
474         recursive settings...); add it as a parameter instead.
475
476         * paragraph_pimpl.C (acceptChange): make debug info conditional.
477
478         * metricsinfo.C (PainterInfo): add new member erased_.
479
480         * rowpainter.C (RowPainter): add erased_ member, initialized from
481         PainterInfo. 
482         (paintInset): pass erased_ to Inset::draw.
483
484         * lyxfunc.C (lookupChange): new function. Tells whether change 
485         tracking is disabled at a given postion.
486         (getStatus): disable some actions when in deleted text with change
487         tracking. 
488
489 2005-08-03  John Levon  <levon@movementarian.org>
490         
491         * tabular.C (appendColumn, setMultiColumn): adapt to change to
492         InsetText::clear().
493
494         * paragraph_pimpl.C (markErased): add bool argument and handle it.
495         Also make sure to mark insets recursively.
496         (rejectChange, erase): be recursive
497
498         * paragraph.C (markErased): add bool argument.
499 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
500
501         * lyxfind.C (findNextChange): tiny cleanup.
502
503         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
504         change tracking with the cursor in an inset; make sure the first
505         change is not skipped.
506
507 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
508
509         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
510         tabularStackDirty to work around bug 1919 (tabular needs
511         to know whether its own cell paste buffer or the one of 
512         texted is newer.
513         * CutAndPaste.C: mark tabular_stack_ clean after copy.
514
515 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
516
517         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
518
519 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
520
521         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
522         use old deleteion algorithm when changetracking is on.
523
524 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
525
526         * messages.C (get): add debug output.
527
528 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
529
530         * text.C (cursorX): fix bug 1965: cursor movement at
531         line end broken in RtL.
532         (drawSelection): fix bug 1970: drawing of single-line 
533         selection broken for RtL.
534
535 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
536
537         bug 465.
538
539         * dociterator.h (clear, push_back, pop_back): change from
540         protected to public.
541
542         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
543         and changed to just return the value of the item depth; take a
544         ParIterator as argument; take the itemdepth at outer nesting level
545         in account if necessary; cleanup and comment the code.
546         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
547         and changed to just return true if reset is needed; take a
548         ParIterator as argument; cleanup and comment the code.
549         (setCounter): adapt to above changes.
550
551 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * text3.C (dispatch): make debug message optional
554
555 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
558         inset. (bug 1963)
559
560 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
561
562         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
563
564 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * text.C (insertChar):
567         * text2.C (deleteEmptyParagraphMechanism): take care whether 
568         a blank has been deleted (in change tracking mode) (bug 1254).
569
570 2005-07-20  John Levon  <levon@movementarian.org>
571
572         * text2.C (insertStringAsLines): remove old dubious code,
573         fixing bug 1939.
574
575 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * MenuBackend.C (expandToc): use Floating::listName() as title of
578         the floats submenus.
579
580 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
581
582         * toc.[Ch]: Do not use translatable strings (bug 1870).
583
584 2005-07-20  John Levon  <levon@movementarian.org>
585
586         * tabular.C: fix 1748 - setting multicolumn adds
587           left line to the first cell
588
589 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
590
591         bug 1920
592         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
593         pars in one go.
594
595 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
596
597         * messages.C: supress some lyxerr messages
598
599 2005-07-18  Juergen Vigna  <jug@lyx.org>
600
601         * text.C (drawSelection): honor boundary when asking for cursorX.
602
603 2005-07-17  José Matos  <jamatos@fc.up.pt>
604
605         * tabular.C (recalculateMulticolumns): fix handling of one column
606         tables.
607
608 2005-07-17  Juergen Vigna  <jug@lyx.org>
609
610         * text.C (Delete, backspace): fixed so that paragraph with the
611         same layout can be merged by Delete/Backspace.
612
613 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
614
615         * text.C (readParToken): fix spelling.
616
617 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
618
619         * text2.C: fix counter update for DEPM problem reported by
620         Georg Baum
621
622 2005-07-17  Juergen Vigna  <jug@lyx.org>
623
624         * BufferView_pimpl.C (setBuffer): save/restore the
625         cursor/selection when switching buffers
626
627         * buffer.h: 
628         * buffer.C (saveCursor): add saveDocumentIterators to save the
629         cursor when switching buffer.
630
631 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
632
633         * debug.C: fix typo
634         * buffer.C: clarify message
635         
636 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
637
638         * dociterator.C (DocIterator): fix initialization order
639
640 2005-07-17  Juergen Vigna  <jug@lyx.org>
641
642         * text2.C (cursorHome): 
643         * text.C (drawSelection, cursorX): 
644         * dociterator.C (textRow): add boundary to getRow() call
645
646         * paragraph.C (getRow): implementation of below
647
648         * paragraph.h: add parameter boundary for getRow() function
649
650 2005-07-17  José Matos  <jamatos@fc.up.pt>
651
652         * buffer.C:
653         * bufferparams.[Ch]:
654         * tex-strings.[Ch]: new file format, remove support for a4.sty,
655         a4wide.sty and a4widemargins.
656
657 2005-07-17  Juergen Vigna  <jug@lyx.org>
658
659         * text2.C (cursorLeft): fix one of error
660
661 2005-07-17  Juergen Vigna  <jug@lyx.org>
662
663         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
664                    cursorEnd):
665         more fixes for boundary handling
666
667         * text3.C (dispatch): don't reset cursor if boundary has changed
668         on cursor movement.
669
670 2005-07-16  Juergen Vigna  <jug@lyx.org>
671
672         * text2.C (getColumnNearX): hopefully got it right now,
673         check if we are on column 0 for special case.
674
675 2005-07-16  Juergen Vigna  <jug@lyx.org>
676
677         * text2.C (getColumnNearX): handle special case Newline Inset
678
679         * text.C (singleWidth): Just remove bogus check
680
681 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
682
683         * funcrequest.C (split): avoid reading uninitialized char c
684
685 2005-07-16  José Matos  <jamatos@fc.up.pt>
686
687         * buffer.C:
688         * converter.C:
689         * lyxrc.C:
690         * paper.h:
691         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
692         single papersize variable.
693
694 2005-07-16  Juergen Vigna  <jug@lyx.org>
695
696         * text3.C (dispatch): honor boundary when checking if a cursor
697         movement has been done
698
699         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
700         (setCursor, setCursorIntern): fix cursor movement with boundary
701
702 2005-07-16  Juergen Vigna  <jug@lyx.org>
703
704         * text.C (currentState): output the actual Boundary
705
706 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * factory.C (createInset): fix bad logic for tabular creation
709
710 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
711
712         * lyx_main.C (init): change some reLyX reference to tex2lyx
713
714 2005-07-16  Juergen Vigna  <jug@lyx.org>
715
716         * dociterator.C (DocIterator): initialize boundary
717
718 2005-07-16  Juergen Vigna  <jug@lyx.org>
719
720         * text2.C (getColumnNearX): Consider rows without trailing blank.  
721
722 2005-07-16  André Pönitz  <poenitz@gmx.net>
723
724         * lyxfont.h: Change order of declarations to give the compiler
725         a better chance to inline things
726
727         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
728         questions on unsaved docs for better scritability
729
730 2005-07-16  André Pönitz  <poenitz@gmx.net>
731
732         * paragraph.h (getChar): remove asserts as the same kind of security
733         can be achieved by using a suitable standard library implementation
734         and the function was in the critical path (25.9% in profiler)
735
736 2005-07-16  Juergen Vigna  <jug@lyx.org>
737
738         * cursor.C (bruteFind2):
739         * bufferview_funcs.C (coordOffset): 
740         * text.C (cursorX,cursorY): Handle cursor position after last char
741         in row before a inset which uses a whole row.
742
743 2005-07-15  José Matos <jamatos@lyx.org>
744
745         * output_plaintext.[Ch] (writeFileAscii): control reference title
746         printing.
747         (asciiParagraph): noparbreak was already deal and was incorrectly
748         used.
749
750 2005-07-15  Juergen Vigna <jug@lyx.org>
751
752         * lyxfunc.C (dispatch): save and restore the cursor after a
753         textclass switch.
754
755 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
756
757         * text.C (backspace): bug 806 for empty keepempty paragraphs we
758         change the layout to default before letting DEPM do its thing.
759
760         * paragraph_funcs.C (breakParagraph): dont reset the layout on
761         keepEmpty paragraphs
762
763         * text.C (setCursorFromCoordinates): add a debug statement
764
765         * text2.C (getColumnNearX): bug 1825 make sure that we don't
766         return a pos that is not on the row
767
768         * output_latex.C (TeXDeeper): get rid of potential dereferencing
769         of past the end iterator
770
771 2005-07-14  André Pönitz  <poenitz@gmx.net>
772
773         * undo.C (recordUndoFullBuffer): implement undo for
774         textclass switches
775
776 2005-07-14  André Pönitz  <poenitz@gmx.net>
777
778         * cursor.C (setSelection): open insets when selection is set there
779         to avoid crashs with cold coord cache
780
781 2005-07-14  André Pönitz  <poenitz@gmx.net>
782
783         * trans_mgr.C (insert): move cursor to the right after inserting
784         a char.
785
786 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
787
788         * BufferView_pimpl.C (update): dampen some of the debug blabbering
789         * factory.C (readInset): ditto
790         * text.C, text2.C: ditto
791
792 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
793
794         * buffer.C: format incremented to 242. There is no file format per
795         se, but the "frenchb" language has been removed from lib/language
796         and has to be translated to "french" by lyx2lyx.
797
798 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
799
800         * cursor_slice.h, dociterator.h: add some documentation
801         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
802
803 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
804
805         * text.C (leftMargin): do not add identation to display() style
806         insets, because they are always centered (bug 1293).
807
808 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
809
810         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
811         formatted_time methods in support/lyxtime.
812
813 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
814
815         * toc.[Ch]: new method getGuiName, which is used by the frontends 
816         to set the toc combo (fixes bug 1870). Make TOC string translatable.
817
818 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
819
820         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
821         StableDocIterator const &)
822         * undo.C (recordUndo): use the above instead of cell.size() comparison
823         (fixes bug 1808; instructed by Andr�.
824
825 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
826
827         * cursor_slice.h: 
828         * dociterator.h: Fix the assert when copying rows/cols in math
829
830 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
831
832         * BufferView_pimpl.C:
833         * LyXAction.C:
834         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
835
836         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
837         (findInset): new functions, refactored from goto Inset that return 
838         the position of a certain inset without setting the buffer's cursor
839         (by Jean-Marc); 
840         (gotoInset): rewrite to call findInset and then set the cursor
841         (by Jean-Marc).
842
843 2005-06-16  Angus Leeming  <leeming@lyx.org>
844
845         * lyxrc.C (output, read): wrap all input and output of paths with
846         calls to os::internal_path and os::external_path, respectively.
847         (output): wrap bind_file inside quotes.
848
849         * format.C (view): enable the viewer to use the '$$s' placeholder.
850
851 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
852
853         * LColor.[Ch] (getFromLaTeXName): new
854
855 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
856
857         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
858
859 2005-06-14  Angus Leeming  <leeming@lyx.org>
860
861         * lyx_main.C (init): ensure that the LyX binary dir is the first
862         element in the PATH on non-POSIX builds.
863
864 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
865
866         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
867
868 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869
870         * rowpainter.C (paintInset, paintHebrewComposeChar)
871         (paintArabicComposeChar, paintChars): add a LyXFont argument.
872         (paintChars): use getFontSpan to reduce calls to getFont to a
873         minimum; use Paragraph::lookupChange instead of isXXXText.
874         (paintForeignMark): rename LyXFont argument.
875         (paintFromPos): pass a LyXFont object to the various paintXXX
876         methods.
877
878         * FontIterator.C (FontIterator, operator++): use
879         Paragraph::getFontSpan
880
881         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
882         version that returns the font span as a pair.
883
884 2005-06-09  Angus Leeming  <leeming@lyx.org>
885
886         * converter.C (convert): Don't forget "outfile = real_outfile" as
887         the final step in a conversion where the input and output file names
888         are the same. Otherwise, future conversion steps won't work...
889
890 2005-06-09  Angus Leeming  <leeming@lyx.org>
891
892         * lyxsocket.C: remove stub code as it isn't needed by
893         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
894
895 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
896
897         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
898         effectively disabled -x
899
900 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
901
902         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
903         when it actually makes sense.
904
905 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
906
907         * BufferView_pimpl.C: revert to showCursor in connection with
908         Lars's front-end stack
909
910 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
911
912         * text.C (redoParagraph): move cursor right after a bibitem
913         has been inserted.
914
915         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
916
917 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * buffer_funcs.C (bufferErrors): fix computation of the end of an
920         error range.
921
922 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
923
924         * BufferView.[Ch] (update):
925         * BufferView_pimpl.[Ch] (update, metrics):
926         * dimension.h (operator==):
927         * lyxfunc.C (dispatch):
928         * metricsinfo.h (ViewMetricsInfo):
929         * rowpainter.C (paintText):
930         * lyxtext.h:
931         * text.C (redoParagraph):
932         * text3.C (dispatch): Make LyX only repaint current paragraph in
933         case of character insert --> speedup. Also fix cursor draw
934         artifacts
935
936 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
937
938         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
939         avoid a crash (bug 1891)
940
941 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
942
943         Fix bug 1892:
944
945         * text2.C (getStringToIndex): constify cur argument.
946
947         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
948         argument has been given
949         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
950         try to invoke LFUN_INSET_APPLY).
951
952         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
953         if no inset was created by doInsertInset
954         (doInsertInset): return true if an inset has been inserted.
955
956 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * vspace.C (asGUIName): new method. A version of the space
959         suitable for showing on screen.
960
961 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
962
963         * MenuBackend.C:
964         * lyxrc.C: rename "ASCII" to "Plain Text"
965
966 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * buffer_funcs.C (expandLabel): take a Buffer as argument;
969         translate the labelstring.
970         (setCounter): translate labelstring as needed.
971
972         * output_docbook.C (makeCommand): fix expandLabel invokation
973
974 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
975
976         * BufferView.C: fix dialog title
977
978 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
979
980         * lyx_main.C (priv_exec): fix logic error with help from Angus
981         * lyx_main.C (parse_execute): set is_gui = false and remove now
982         obsolete comment about a segfault
983
984 2005-05-18  Angus Leeming  <leeming@lyx.org>
985
986         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
987
988 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
989
990         * tabular.[hC]: added setCellInset to fix tabular paste.
991
992 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
993
994         * buffer.C (save): check if destination is writable before trying
995         to copy a file
996
997 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
998
999         * BufferView_pimpl.C (update): fix processEvents -caused update
1000         recursion bug
1001
1002 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1003
1004         * buffer_funcs.C (setCounter): fix test for numbering of
1005         environments.
1006
1007         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1008         depth correctly; use optional argument when it exists
1009
1010         * lyxtextclass.C: remove unused MaxCounterTags enum
1011         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1012         (max_toclevel, min_toclevel): new methods.
1013
1014         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1015         the smallest depth in toc.
1016
1017         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1018         layouts that should not appear in a table of contents.
1019
1020 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1021
1022         * cursor.h (undispatched, noUpdate): add comments from Andr�
1023 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1024
1025         * lfuns.h:
1026         * LyXAction.C:
1027         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1028
1029 2005-05-07  André Pönitz  <poenitz@gmx.net>
1030
1031         * cursor.[Ch] (leaveInset): new function
1032
1033 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1034
1035         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1036
1037 2005-05-04  Angus Leeming  <leeming@lyx.org>
1038
1039         * lyxfunc.C (getStatus): disable the spell checker dialog if
1040         none of USE_[AIP]SPELL are defined.
1041
1042 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1043
1044         * tabular.C (setWidthOfCell): remove obsolete comment
1045
1046 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1047
1048         * paragraph.C (bibitem):
1049         * buffer_funcs.C (setCounter):
1050         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1051
1052 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1053
1054         * text3.C (getStatus): immediately return after setOnOff
1055
1056         * rowpainter.C: fix drawing of appendix start
1057
1058 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1059
1060         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1061         SwitchBetweenClasses and remove the unused return value.
1062         Handle character styles, too
1063
1064 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1065
1066         * factory.C (createInset): handle undefined character styles
1067
1068 2005-05-02  Angus Leeming  <leeming@lyx.org>
1069
1070         * buffer.C: protect the #include of utime.h with a preprocessor
1071         guard.
1072
1073 2005-05-02  Angus Leeming  <leeming@lyx.org>
1074
1075         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1076         function so that auto-saving works, albeit in a blocking manner.
1077
1078         * Makefile.am: make compilation of the client sub directory, of
1079         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1080         on conditionals set at configure time.
1081
1082         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1083         it can be compiled in its own right but has no-op functionality.
1084
1085         * aspell.C, pspell.C: remove preprocessor guards. The files should
1086         be compiled only if the necessary functionality exists.
1087
1088         * lyxserver.C, lyxsocket.C: disable on Windows.
1089
1090 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1091
1092         * text.C (leftMargin): Fix the parindent use bug (1764)
1093         by dirty trick
1094
1095 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1096
1097         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1098         argument.
1099
1100 2005-04-25  Angus Leeming  <leeming@lyx.org>
1101
1102         * Bidi.[Ch]:
1103         * coordcache.[Ch]:
1104         * ispell.C:
1105         * lyxserver.C:
1106         * mover.C:
1107         * pch.h:
1108         include <config.h> in .C files, not .h ones.
1109         add licence blurb.
1110         protect headers inside preprocessor guards.
1111
1112 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1113
1114         * FuncStatus.h (StatusCodes): document
1115
1116 2005-04-21  André Pönitz  <poenitz@gmx.net>
1117
1118         * FuncStatus.h (enabled, onoff): document
1119
1120 2005-04-19  Angus Leeming  <leeming@lyx.org>
1121
1122         * BufferView_pimpl.C (cursorToggle): no longer test whether
1123         any child processes have been reaped before calling
1124         handleCompletedProcesses().
1125
1126 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1127
1128         * text3.C (dispatch): fix, finally fix, the language problem in
1129         new lyxtexts, without disabling on-the-fly font changes (Helge's
1130         bug report)
1131
1132 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1133
1134         * text3.C (dispatch): set cursor on double/triple click events
1135         (bug 1811)
1136
1137 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1138
1139         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1140         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1141
1142         * rowpainter.C (paintFirst): simplify the code a little bit. In
1143         particular, remove the test for secnumdepth.
1144         * text.C (setHeightOfRow): only allocate space for chapter number
1145         when updateCounters provided an actual label, instead of looking
1146         at secnumdepth directly.
1147
1148         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1149
1150         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1151         paragraphs when secnumdepth is large enough or, for environments,
1152         when they are not the first in a sequence.
1153
1154 2005-04-17  Angus Leeming  <leeming@lyx.org>
1155
1156         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1157         containing space and '~' characters with a call to latex_path().
1158
1159 2005-04-17  Angus Leeming  <leeming@lyx.org>
1160
1161         * converter.C (convert): protect all args of convertDefault.sh
1162         script with quotes.
1163
1164 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1165
1166         * text3.C (dispatch): change the layout to "Caption" after inserting
1167         a float.
1168
1169 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1170
1171         * text3.C (dispatch): fix language problem in newly created
1172         textinsets (and main text) in non-english docs
1173
1174 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1175
1176         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1177         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1178         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1179
1180 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1181
1182         * lyxtext.h:
1183         * text.C (metrics):
1184         * text2.C (getFont):
1185         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1186         fonts fix
1187
1188 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1189
1190         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1191         output of \item arguments without trailing text.
1192
1193 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * FontIterator.C (operator*): avoid a copy of the font.
1196
1197 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1198
1199         * rowpainter.C (getFont): fix language bug from previous fix
1200
1201 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1202
1203         * rowpainter.C (RowPainter, getFont): fix font inside inset
1204         (bugs 1766, 1809)
1205
1206 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1207
1208         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1209         preventing inserted font, deco, delim insets jumping to start of
1210         surrounding inset.
1211
1212 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1213
1214         * lyxfunc.C (dispatch): translate message before sending it to the
1215         minibuffer.
1216
1217 2005-03-29  Angus Leeming  <leeming@lyx.org>
1218
1219         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1220         to LyX on the command line.
1221
1222 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1223
1224         * vc-backend.C: use QuoteName to protect file names wherever
1225         necessary.
1226
1227 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1228
1229         * buffer.[Ch]:
1230         * BranchList.h: fix bugs 1844,1845: document settings don't
1231         stick
1232
1233 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1234
1235         * lyxrc.C (setDefaults, read, output, getDescription): add support
1236         for tex_allows_spaces.
1237
1238         * exporter.C (Export): allows files in directory containing spaces
1239         if tex_allows_spaces is true.
1240
1241         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1242         output it in double quotes.
1243
1244 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1245
1246         * rowpainter.C: use default text height for drawing change tracker
1247         strikeout lines.
1248
1249 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1250
1251         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1252
1253 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1254
1255         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1256         directory is missing.
1257
1258 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1259
1260         * text2.C: fixed the fix, extended to other case.
1261
1262 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1263
1264         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1265
1266 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1267
1268         * text2.C (cursorUp): get rid of a crash
1269         * text.C (x2pos): add an assert
1270
1271 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1272
1273         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1274
1275         * text3.C:
1276         * lyxfunc.C:
1277         * dociterator.C: include <boost/current_function.hpp>, which is
1278         needed when assertions are disabled.
1279
1280 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1281
1282         * text2.C: fix for stuck cursor when traversing two
1283         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1284
1285 2005-02-25  Andreas Vox  <avox@arcor.de>
1286
1287         * output_docbook.C (makeParagraph): suppress trailing newline
1288         after a run of paragraphs
1289
1290 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1291
1292         * paragraph.C: fix for confused change tracker when pasting
1293         text that begins with a lineseparator. [bug 1827]
1294         (setChange(0, Change::INSERTED);)
1295
1296         * paragraph_funcs.C: fix for lost changes on triple-paste
1297         in change tracking mode [bug 1827] (par.setChange()).
1298
1299 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1300
1301         * text2.C (updateCounters, setCounter, expandLabel): move to
1302         buffer_funcs.
1303
1304         * buffer_funcs.C (updateCounters): turn into a free standing
1305         function and add a buffer parameter. Remove dead code for tracking
1306         labelstring change.
1307         (setCounter): change into a free-standing function which gets a
1308         dociterator as argument. Use this iterator to fix captions in a
1309         simple way. When no float is found above the caption, use the
1310         labelstring of the caption layout as default.
1311
1312         * text.C (breakParagraph, backspace):
1313         * text2.C (init, setLayout, changeDepth):
1314         * text3.C (dispatch):
1315         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1316         updateCounters.
1317
1318         * dociterator.C (forwardPar): make it much faster by calling
1319         forwardPos() only when really necessary.
1320
1321         * output_docbook.C (makeCommand): adapt to expandLabel move.
1322
1323         * cursor.C: remove unused variable
1324
1325 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1326
1327         * paragraph_funcs.C: fix crash when pasting insets in change
1328         tracking mode [bug 1277] (honour change type in moveItem).
1329
1330 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1331
1332         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1333
1334 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1335
1336         * BufferView.C (setCursor): change to use a DocIterator.
1337         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1338         (putSelectionAt): adapt to BufferView::setCursor change.
1339
1340         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1341         moved here from LyXText and rewritten to use proper cursor
1342         methods. Fixes bug 1787, 616 and 835.
1343
1344         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1345         when inside an inset (part of bug 781).
1346         (dispatch): adapt to change of BufferView::setCursor.
1347         (getStatus, dispatch): handle LFUN_GOTOERROR,
1348         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1349
1350         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1351         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1352         * text3.C (gotoNextInset, gotoInset): removed.
1353
1354 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1355
1356         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1357
1358 2005-02-15  Angus Leeming  <leeming@lyx.org>
1359
1360         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1361         can be used meaningfully in a comparison.
1362
1363 2005-02-13  André Pönitz  <poenitz@gmx.net>
1364
1365         * bufferview_funcs.C (coordOffset): improve cursor drawing
1366
1367 2005-02-13  André Pönitz  <poenitz@gmx.net>
1368
1369         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1370         * Cursor.C (dispatch): use fixIfBroken
1371         * lyxfunc.C (getStatus): use fixIfBroken
1372
1373 2005-02-15  Angus Leeming  <leeming@lyx.org>
1374
1375         * lyx_main.C (error_handler):
1376         * lyxfunc.C:
1377         * lyxrc.C (setDefaults):
1378         s/GetEnv/getEnv/.
1379         #include "environment.h".
1380
1381         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1382
1383 2005-02-15  Angus Leeming  <leeming@lyx.org>
1384
1385         * lyxserver.C (startPipe): squash MSVC warning "local variable
1386         'fd' used without having been initialized".
1387
1388 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1389
1390         * BufferView_pimpl.C: revert accidental commit.
1391
1392 2005-02-14  André Pönitz  <poenitz@gmx.net>
1393
1394         * dociterator.[Ch]: new member forwardPosNoDescent(),
1395         which doesn't enter nested insets.
1396         * text2.C (setFont): use forwardPosNoDescent() instead
1397         of ForwardPos() (fixes crash on font change).
1398
1399 2005-02-13  Angus Leeming  <leeming@lyx.org>
1400
1401         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1402         only if lyxrc.path_prefix is not empty.
1403
1404 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1405
1406         * bufferparams.C (readGraphicsDriver): prevent crash
1407
1408 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1409
1410         * text2.C (setCounter): check for inInset() == 0
1411
1412 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1413
1414         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1415         but use update() to get correct screen display; use convert
1416         instead of istringstream.
1417         (getStatus): handle LFUN_GOTO_PARAGRAPH
1418
1419         * lyxfunc.C (dispatch, getStatus): do not handle
1420         LFUN_GOTO_PARAGRAPH here.
1421
1422 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1423
1424         * text3.C (dispatch): size() -> depth()
1425
1426         * text2.C: remove some debug output
1427
1428         * paragraph.C: ws changes only
1429
1430         * lyxfunc.C (getStatus): size() -> depth()
1431
1432         * dociterator.h (clear, push_back, pop_back, internalData,
1433         operator[], resize, empty): new functions
1434         Make StableDocIterator and operator== be friends. Don't inherit
1435         from std::vector use a privat class variable slices_ instead.
1436         Modify to fit.
1437
1438         * dociterator.C: update because of not inheriting from std::vector
1439         anymore. Call explictly to slices_ instead. Use depth() instead of
1440         size() and top() instead of back()
1441
1442         * cursor.C: chagne size() -> depth and back() -> top(). Also
1443         remove some direct operator[](i) calls in favour of foo[i]
1444         (getFont): remove some dead code
1445
1446         * bufferview_funcs.C (coordOffset): size() -> depth()
1447
1448         * buffer.C: ws changes only
1449
1450         * CutAndPaste.C (eraseSelection): back() -> top()
1451
1452         * BufferView_pimpl.C (selectionRequested): back() -> top()
1453
1454         * BufferView.C (setCursor): size() -> depth()
1455
1456 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1457
1458         * text3.C (cursorPrevious): return true if depm changed something
1459         (cursorNext): ditto
1460         (dispatch): rename sl to oldTopSlice, remove moving use the new
1461         NoUpdate func attrib instead. Make sure that needsUpdate is set
1462         for function that have NoUpdate, but where depm might have changed
1463         the buffer anyway.
1464
1465         * text2.C (cursorLeft): make us return true if depm changed
1466         something
1467         (cursorRight): ditto
1468         (cursorUpParagraph): ditto
1469         (curosrDownParagraph): ditto
1470         (cursorUp, cursorDown): ditto, make sure to read comments in code
1471         (deleteEmptyParagraphMechanism): remove an assert, also return
1472         true if just a single char was deleted.
1473
1474         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1475         cursor that we modify, to avoid modifying an active cursor before
1476         we call setCursor. This allows depm to run. Also return true if
1477         depm deleted something.
1478
1479         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1480         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1481         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1482         something was changed in the buffer because of them (ie. depm run)
1483
1484         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1485         debug messages. Make update by default be false. Make sure that
1486         the result of update is retained throught several calls down to
1487         dispatch.
1488
1489         * LyXAction.h: add a new func_attrib: NoUpdate
1490
1491         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1492         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1493         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1494         and LFUN_WORDLEFT
1495         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1496
1497 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1498
1499         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1500         bv_->owner(), bv_->buffer() by direct references to the private
1501         members.
1502         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1503         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1504         (fitCursor): center() is in BufferView::Pimpl.
1505         (getStatus, trackChanges, dispatch): no need for a temporary buf
1506         variable
1507         (fitCursor, workAreaDispatch): use workarea().workheight()
1508
1509 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1510
1511         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1512
1513 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1514
1515         * buffer.C: format up to 241.
1516         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1517         break if pasting into ERT
1518         * lyxfunc.C (getStatus): suppress mathpanel and
1519         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1520
1521 2005-02-01  Angus Leeming  <leeming@lyx.org>
1522
1523         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1524
1525 2005-02-01  Angus Leeming  <leeming@lyx.org>
1526
1527         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1528         calling fs::is_directory().
1529
1530 2005-01-31  Angus Leeming  <leeming@lyx.org>
1531
1532         * lyx_main.C (priv_exec): specify explicitly the relative location
1533         of the top level build directory when run in-place.
1534
1535 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1536
1537         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1538         LyXText containing the cursor, not the top-level one.
1539
1540         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1541         true.
1542         (insertStringAsLines): rename par to pit; use temporary variable
1543         par to hold a Paragraph; do not store par.layout() in a variable,
1544         since the pointer may die when breaking paragraphs; pass pars to
1545         breakParagraph() instead of Buffer::paragraphs().
1546
1547 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1548
1549         * lyxlex_pimpl.h: #include <fstream>.
1550
1551         * BufferView.[Ch] (getLyXText): add a const version.
1552
1553         * BufferView_pimpl.C: add debug aids.
1554
1555         * RowList_fwd.h:
1556         * buffer.h:
1557         * lyxrow.h:
1558         * paragraph_funcs.h: add commentary explaining what the class does.
1559
1560
1561         * coordcache.[Ch]: add lots of commentary.
1562         (startUpdating, doneUpdating): debug aids.
1563         (arrays, insets, parPos, getParPos): accessors to private data.
1564
1565         * cursor_slice.[Ch] (text): add a const version.
1566         * dociterator.[Ch] (text, innerText): add const versions.
1567
1568         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1569         bool.
1570
1571         * paragraph.C (getRow, pos2ros): add asserts.
1572
1573         * paragraph.h: add commentary. Lots of.
1574
1575         * paragraph.[Ch] (metrucs, draw): removed.
1576
1577         * cursor.C:
1578         * rowpainter.[Ch]: const-correct changes.
1579
1580         * text.C: various obvious clean-ups. Removal of ancient cruft.
1581         Bug fixes, even.
1582
1583 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1584
1585         * vc-backend.C (find_file): rewrite to use boost.filesystem
1586         (scanMaster): ditto
1587
1588         * main.C (main): set default name check for boost.filesystem to
1589         no check
1590
1591         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1592         (open): ditto
1593         (doImport): ditto
1594         (actOnUpdatedPrefs): ditto
1595
1596         * lyx_main.C (init): rewrite to use boost.filesystem
1597         (queryUserLyXDir): ditto
1598
1599         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1600         (getContentsOfAsciiFile): ditto
1601
1602         * lastfiles.C (readFile): rewrite to use boost.filesystem
1603
1604         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1605
1606         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1607         (loadLyXFile): ditto
1608
1609         * buffer.C (Buffer): adjust for destroydir
1610         (getLogName): rewrite to use boost.filesystem
1611         (setFileName): ditto
1612         (save): use fs::copy_file (from fs_extras)
1613
1614         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1615
1616         * LaTeX.C (run): rewrite to use boost.filesystem
1617         (scanAuxFiles): ditto
1618         (handleFoundFile): ditto
1619
1620 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1621
1622         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1623
1624         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1625
1626 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1627
1628         * lyxlayout.[Ch]: change some vars from float to double
1629
1630         * buffer.C (readFile): make a local var const
1631
1632         * Several files: use convert<> instead of atoi,strToXXX and friends
1633
1634 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1635
1636         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1637         holds the contents of packages.lst. New functions getAvailable
1638         and isAvailable to parse and check that list, resp.
1639
1640         * LyXAction.C:
1641         * lfuns.h:
1642         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1643
1644         * bufferparams.[Ch]: new param output_changes.
1645
1646         * Buffer.C: increase file format to 240.
1647         Use output_changes and isVailable.
1648
1649         * changes.[Ch]:
1650         * paragraph.C:
1651         * paragraph_pimpl.C: Use output_changes and isVailable.
1652
1653 2005-01-23  Angus Leeming  <leeming@lyx.org>
1654
1655         * output_latex.C: #include "insetbibitem.h", rather than
1656         forward declare function bibitemWidest.
1657
1658 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1659
1660         * lyx_main.C (init): make it compile on the Mac.
1661
1662 2005-01-20  Angus Leeming  <leeming@lyx.org>
1663
1664         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1665         (setLyXMisc): (char string literal) != (char string literal) is
1666         performing a comparison on the addresses. Convert one operand
1667         explicitly to string to guarantee expected behaviour.
1668         From MSVC warning.
1669
1670 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1671
1672         * buffer.C:
1673         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1674
1675         * output_plaintext.C: remove unneeded #include gzstream.h.
1676
1677 2005-01-20  Angus Leeming  <leeming@lyx.org>
1678
1679         * SpellBase.h: rename some of the elements of the Result enum.
1680
1681         * aspell_local.h:
1682         * ispell.h:
1683         * pspell.h:
1684         * aspell.C (check):
1685         * ispell.C (check):
1686         * pspell.C (check): ditto
1687
1688 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1689
1690         * buffer.C: add #include <fstream>.
1691
1692         * lyx_main.C (init): Compile fix.
1693
1694         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1695
1696 2005-01-20  Angus Leeming  <leeming@lyx.org>
1697
1698         * mover.h: change commentary to reflect the changed meaning of
1699         the $$s placeholder.
1700
1701 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1702
1703         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1704
1705         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1706
1707 2005-01-20  Angus Leeming  <leeming@lyx.org>
1708
1709         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1710         printing diagnostic data by not dereferecing an iterator past the
1711         end.
1712
1713 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1714
1715         * buffer.C (readHeader): use "&&" rather than "and".
1716
1717         * lyxserver.h (inPipeName, outPipeName): make these const.
1718
1719 2005-01-19  Angus Leeming  <leeming@lyx.org>
1720
1721         * lyx_main.C (error_handler, init): protect SIGHUP with
1722         #ifdef SIGHUP guards.
1723
1724 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1725
1726         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1727
1728 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1729
1730         * text.C (setHeightOfRow): add a margin at the top and bottom of
1731         the document (bug 1761)
1732
1733 2005-01-17  Angus Leeming  <leeming@lyx.org>
1734
1735         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1736         with "python ". Workaround for a brain-dead Windows.
1737
1738 2005-01-16  Angus Leeming  <leeming@lyx.org>
1739
1740         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1741         for MacOSX and Windows to use prependEnvPath.
1742         Strip out the hard-coded block to add elements to the PATH for
1743         MacOSX and replace it with a call to prependEnvPath using the
1744         contents of LyXRC::path_prefix.
1745         (queryUserLyXDir): strip out the code to run reconfigure, instead
1746         returning a boolean indicating the necessity to do so.
1747         (reconfigureUserLyXDir): contains the code to reconfigure the
1748         user support directory. Is now called after the various LyXRC data
1749         files have been read.
1750
1751         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1752
1753 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1754
1755         * converter.[Ch] (convert): take a new parameter try_default. Use
1756         a default converter (imagemagick) if try_default is true.
1757
1758 2005-01-13  Angus Leeming  <leeming@lyx.org>
1759
1760         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1761         os::cygwin_path_fix.
1762         (write): output LyXRC::cygwin_path_fix as necessary.
1763
1764 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1765
1766         * lyxrc.h:
1767         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1768
1769 2005-01-12  Angus Leeming  <leeming@lyx.org>
1770
1771         * lyx_main.C (init): set the PATH variable to include the
1772         directory containing the LyX binary when running on Mac or Windows.
1773
1774 2005-01-12  Angus Leeming  <leeming@lyx.org>
1775
1776         * lyx_main.C (init): remove cruft that purports to set the locale
1777         dir. It doesn't and is not needed anyway.
1778
1779 2005-01-10  Angus Leeming  <leeming@lyx.org>
1780
1781         * Makefile.am: remove the lyx_main.C special casing.
1782
1783         * BufferView_pimpl.C:
1784         * bufferlist.C:
1785         * exporter.C:
1786         * lyx_cb.C:
1787         * lyx_main.C:
1788         * lyxfunc.C:
1789         * messages.C: use support/package.h to provide the paths to the
1790         various directories used by LyX.
1791
1792 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1793
1794         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1795         layout if pasting into an empty paragraph)
1796
1797 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1798
1799         * tex-accent.C: add <string>
1800
1801 2005-01-06  José Matos  <jamatos@lyx.org>
1802
1803         * ParagraphParameters.C (write): put every parameter in its own line.
1804         * paragraph.C (write): reduce number of consecutive empty lines exported.
1805         * buffer.C (LYX_FORMAT): increase file format to 239.
1806
1807 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1808
1809         * everywhere: change support/tostr.h -> support/convert.h
1810
1811         * tabular.C: make all write_attributes templates, tostr -> convert
1812
1813         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1814         (emptyTag): and -> &&, and fix type for ret from getChar
1815         (getFirstWord): fix type for ret from getChar
1816         (onlyText): and -> &&
1817         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1818         getChar
1819
1820         * toc.C (goTo, action):
1821         * text3.C (dispatch):
1822         * text.C (currentState):
1823         * tex-accent.C (DoAccent):
1824         * sgml.C:
1825         * lyxrc.C:
1826         * lyxfunc.C (menuNew):
1827         * lyxfinc.C (replace):
1828         * counters.C (laberItem):
1829         * bufferview_funcs.C (font2string):
1830         * bufferparams.C (writeFile):
1831         * buffer.C (readFile):
1832         * Spacing.C (set):
1833         * MenuBackend.C: tostr -> convert
1834
1835         * LaTeX.C (runMessage): fix format
1836         (scanAuxFiles): tostr -> convert
1837
1838         * BufferView_pimpl.C (savePosition): fix format
1839         (restorePosition): ditto
1840         (dispatch): ditto
1841
1842 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1843
1844         * Spacing.[Ch]: New method getValueAsString().
1845
1846         * Spacing.[Ch]:
1847         * bufferparams.C:
1848         * ParagraphParameters.C:
1849         * lyxlayout.C:
1850         * text.C:
1851         * text3.C: store/read spacing value as string.
1852
1853         * rowpainter.C: change float value (spacing_val) to double.
1854
1855         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1856         broken custom document spacing).
1857
1858 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1859
1860         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1861         namespace, also more use of temp references and const
1862
1863         * cursor.[Ch] (getStatus): move to lyxfunc.C
1864
1865         * bufferparams.C: reformat slightly
1866
1867         * bufferview_funcs.C (font2string): constify arg
1868
1869         * changes.C:
1870         * converter.C:
1871         * counters.C:
1872         * bufferlist.C:
1873         * buffer_funcs.C: (many funcs): constify arg on function
1874         definitions, also make more local vars const, also add ASSERTS on
1875         pointer args.
1876
1877         * buffer.C (LYX_FORMAT): put const in correct place
1878         (many funcs): constify arg on function definitions, also make
1879         more local vars const
1880
1881         * aspell_local.h: remove "struct" from typdef setup
1882
1883         * aspell.C (check): make word_ok const
1884         (nextMiss): simplify slightly
1885         (error): ditto
1886
1887 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1888
1889         * lyxrc.[Ch]: store all float values as strings.
1890         use int (not float) for lyxrc.dpi.
1891
1892 2005-01-04  Angus Leeming  <leeming@lyx.org>
1893
1894         * lyx_cb.C (Reconfigure):
1895         * lyx_main.C (queryUserLyXDir):
1896         to run the <system_lyxdir>/configure correctly on Windows, prefix
1897         the path to the script with "sh " when generating the string that
1898         is passed to system().
1899
1900 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1901
1902         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1903
1904 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1905
1906         * lyxlength.C (asLatexString): get rid of setprecision
1907
1908 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1909
1910         * text2.C (setLayout): remove unused variable endpit.
1911         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1912
1913         * paragraph.C (onlyText): remove unused variable style.
1914
1915         * cursor.C (bruteFind): remove unused variables beg and end.
1916
1917         * Makefile.am (dist_noinset_DATA): not needed anymore
1918
1919         * cheaders/*: remove.
1920
1921 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1922
1923         * text3.C: fix LFUN_MATH_MODE.
1924
1925 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1926
1927         * buffer_funcs.C (countWords): new function. Counts words between
1928         two iterators.
1929
1930         * BufferView_pimpl.C (getStatus, dispatch): handle
1931         LFUN_WORDS_COUNT.
1932
1933         * LyXAction.C (init):
1934         * lfuns.h: add LFUN_WORDS_COUNT.
1935
1936 2004-12-19  Angus Leeming  <leeming@lyx.org>
1937
1938         * buffer.C (save): s/slashify_path/internal_path/.
1939
1940 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1941
1942         * lyxfind.C (findChange): do not search for end of pars, because
1943         the change tracker cannot handle this (fixes bug 1719).
1944
1945 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1946
1947         * paragraph.[Ch] (autoBreakRows): remove
1948
1949         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1950
1951         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1952         avoid using the paragraph one
1953
1954         * text2.C (LyXText, insertStringAsLines): adjust
1955
1956 2004-12-16  Angus Leeming  <leeming@lyx.org>
1957
1958         * bufferlist.C:
1959         * lyx_main.C:
1960         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1961
1962 2004-12-14  Angus Leeming  <leeming@lyx.org>
1963
1964         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1965
1966         * bufferlist.C (emergencyWrite):
1967         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1968         GetEnvPath("HOME").
1969
1970 2004-12-14  Angus Leeming  <leeming@lyx.org>
1971
1972         * main.C: (main): no longer pass pointers to os::init.
1973
1974 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1977         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1978
1979 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1980
1981         * lyxfunc.C:
1982         * text3.C: remove selection_possible global flag
1983
1984 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1985
1986         * text2.C (getSelectionSpan): remove
1987         (changeDepth, changeDepthAllowed): adjust
1988
1989 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1990
1991         * Makefile.am (BOOST_LIBS): use boost variables
1992
1993 2004-12-03  José Matos  <jamatos@lyx.org>
1994
1995         * buffer.C: format up to 238.
1996
1997 2004-12-03  José Matos  <jamatos@lyx.org>
1998
1999         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2000
2001 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2002
2003         * cursor.C (goUpDown): remove call to idxUpDown2
2004
2005 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2006
2007         * tabular.[Ch]: use size_t-like types for cell, row and column
2008         indices
2009
2010 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2011
2012         * lyxfunc.C (getStatus): do not lose previous information when
2013         calling BufferView::getStatus; do not set a default "Command
2014         disabled" message at the beginning, but just before returning.
2015
2016 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2017
2018         * cursor.h (getStatus): add better comment from src/cursor.C
2019
2020 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2021
2022         * text3.C (getStatus): return false when the lfun is not handled
2023
2024 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2025
2026         * broken_headers.h: remove
2027
2028         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2029
2030 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2031
2032         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2033         offset_ref accessors
2034
2035         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2036         top_y_, merge fitcursor with update
2037         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2038         coord scheme
2039         (metrics): introduce
2040         (workAreaDispatch): adapt to new coord scheme
2041         (redoCurrentBuffer): remove
2042
2043         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2044
2045         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2046         CurStatus enum.
2047
2048         * coordcache.[Ch]: add paragraph cache and helpers
2049
2050         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2051         adjust everywhere
2052
2053         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2054         (targetX, setTargetX): introduce
2055
2056         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2057         baseline -> ascent, as the rest of lyx
2058
2059         * lyxtext.h: remove redoParagraphs, updateParPositions,
2060         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2061         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2062         have ascent/descent (ascent is ascent of first par)
2063
2064         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2065         step of BufferView
2066
2067         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2068
2069         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2070
2071         * pariterator.C: fix infinite loop introduced in par->pit renaming
2072
2073         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2074         in insets and LyXText, draw two off-screen paragraphs using
2075         NullPainter, and adapt to new coord scheme
2076
2077         * text.C:
2078         * text2.C:
2079         * text3.C: adapt lfun handlers to the new coord scheme, which
2080         means: there's only guaranteed coord information for onscreen pars
2081         plus one above and one below. This implies that one can do search
2082         from y coordinates in the range [-1,workHeight]
2083
2084 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2085
2086         * rename a lot of InsetOld to InsetBase
2087
2088 2004-11-25  Angus Leeming  <leeming@lyx.org>
2089
2090         * BufferView_pimpl.C:
2091         * lyx_cb.C:
2092         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2093
2094 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2095
2096         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2097         call BufferView::getStatus if LCursor::getStatus did nothing
2098         (setStatusMessage, getStatusMessage): removed.
2099
2100         * FuncStatus.C (message): new methods. Used to provide an error
2101         message indicating why a command is disabled.
2102         (clear, |=, FuncStatus): update for message.
2103
2104 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2105
2106         * lyxfunc.C (dispatch): always call sendDispatchMessage
2107
2108 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2109
2110         * BufferView.C:
2111         * BufferView_pimpl.C:
2112         * CutAndPaste.C:
2113         * FontIterator.C:
2114         * buffer.C:
2115         * cursor.C:
2116         * cursor_slice.[Ch]:
2117         * dociterator.[Ch]:
2118         * lyxfind.C:
2119         * paragraph_funcs.C:
2120         * pariterator.C:
2121         * rowpainter.C:
2122         * text.C:
2123         * text2.C:
2124         * text3.C:
2125         * undo.C: par->pit renaming
2126
2127 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2128
2129         * tabular.C (cellstruct): use initialization, store a shared_ptr
2130         to insettext instead of the insettext directly, adjust to fit.
2131         (operator=):  new function
2132         (swap): new function
2133         (rowstruct): use initialization
2134         (columnstruct): use initialization
2135         (ltType): use initialization
2136
2137
2138         * lyxlength.h (swap): new function
2139
2140         * LColor.[Ch] (operator=): use the common semantics
2141
2142 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         * lyxfind.C (findNextChange): update the bufferview after setting
2145         the selection.
2146
2147 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2150         number of InsetOptArgs has already been inserted.
2151
2152         * output_latex.C (latexOptArgInsets): new method. This outputs all
2153         the optarg insets, up to the limit defined in the layout file.
2154         (optArgInset): removed
2155         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2156
2157 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2158
2159         * paragraph.C (isLetter): remove special spellchecker-related
2160         code; return true also for digits
2161         (isWord, isKomma): remove
2162
2163         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2164         * lyxfind.C (MatchString()): use isLetter instead of isWord
2165
2166 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2167
2168         * pariterator.h (operatir=): comment out un-implemented member
2169         function.
2170
2171         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2172         static cast.
2173
2174 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2175
2176         * lyxfont.h: include LColor.h to satisfy concept checks.
2177
2178 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2179
2180         * pariterator.h: add typdefs for value_type, difference_type,
2181         pointer and reference to satisfy concept checks. Also add default
2182         constructor for same reason.
2183
2184         * pariterator.C (operator++): add post-increment operator to
2185         satisfy concept checks.
2186
2187         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2188         checks.
2189
2190         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2191
2192         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2193         checks. Also rename base_type to BaseType to follow naming
2194         standard better.
2195
2196         * FloatList.h: include Floating.h to satisfy concept checks.
2197
2198 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2199
2200         * lyxfunc.C (getStatus): when the origin of the request is menu or
2201         toolbar, and the LyXView does not have focus, do as if there was
2202         no buffer (bug 1720)
2203
2204         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2205         FuncRequest to individual entries of LFUN_SEQUENCE
2206
2207 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2208
2209         * output_latex.C (TeXOnePar): override runparams.moving_arg
2210         according to the needprotect value of the current paragraph (bug
2211         1739)
2212
2213         * paragraph.C (simpleTeXOnePar): no need to override
2214         runparams.moving_args here
2215
2216 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2217
2218         * vspace.C: fix off-by-one-error, related to fix #1682
2219
2220 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2221
2222         * lengthcommon.C: a more general fix for bug 1682
2223
2224 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2225
2226         * text.C (backspace): fix crash
2227
2228 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2229
2230         * format.[Ch] (getFormatFromFile): new method
2231         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2232
2233 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2234
2235         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2236
2237 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2238
2239         * lyxfunc.C (dispatch): remove the verbose argument
2240         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2241         instead
2242
2243         * kbmap.C (defkey): set the origin of func to KEYBOARD
2244
2245         * MenuBackend.C (MenuItem):
2246         * ToolbarBackend.C (add): set the origin of func to UI
2247
2248         * funcrequest.[Ch]: add origin member, which indicates which part
2249         of LyX requests an action
2250
2251 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2252
2253         * converter.C (move): don't lie in the error message
2254         * converter.h (isReachable, move): document
2255
2256 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2257
2258         * buffer.C: remove unused using lyx::support::atoi
2259         * paragraph_funcs.C: ditto
2260
2261 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2262
2263         * bufferlist.C (exists): use bind and equal_to instead of
2264         compare_memfun
2265         (getBuffer): ditto
2266         * lyxtextclasslist.C (NumberOfClass): ditto
2267
2268         * cursor.C (insert): use for_each instead of explicit for loop
2269
2270         * bufferlist.C (getFileNames): use std::transform and
2271         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2272
2273         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2274         for loop
2275
2276         * buffer.C (changeLanguage): use for_each instead of explicit for
2277         loop
2278         (hasParWithID): implement using getParFromID
2279
2280         * LaTeXFeatures.C: ws change only
2281
2282         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2283         to cleanup a bit.
2284
2285         * BufferView_pimpl.C (trackChanges): use for_each instead of
2286         expilicit for loop
2287
2288 2004-11-04  André Pönitz  <poenitz@gmx.net>
2289
2290         * undo.h:
2291         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2292
2293         * dociterator.C (asDocIterator): use hard assert again.
2294
2295 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2296
2297         * lyxlength.C (asLatexString): rewrite so that it does not use
2298         snprintf anymore
2299
2300 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2301
2302         * text3.C (specialChar, dispatch): make sure cursor moves to the
2303         right after inserting an inset
2304
2305 2004-11-02  José Matos  <jamatos@lyx.org>
2306
2307         * output_docbook.C (docbook):
2308         * paragraph.C (getID):
2309         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2310         garantee that the output is always legal.
2311
2312         * tabular.C (docbook):
2313         * outputprams.[Ch]: remove mixed contents.
2314
2315 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2316
2317         * text2.C (setCounter): prevent endless loop
2318
2319 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2320
2321         * exporter.C (copyFile): use the mover instead of support::copy()
2322         * exporter.C (Export): pass format and latex name to copyFile()
2323         * exporter.h (addExternalFile): document
2324         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2325
2326 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2327
2328         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2329
2330 2004-10-30  José Matos  <jamatos@lyx.org>
2331
2332         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2333         text and no inset or font change. This allows to use CDATA
2334         sections just for the whole paragraph.
2335
2336 2004-10-30  José Matos  <jamatos@lyx.org>
2337
2338         * paragraph.C (getFirstWord): remove unused variable.
2339
2340 2004-10-30  José Matos  <jamatos@lyx.org>
2341
2342         * paragraph.C (getFirstWord): the content should always be escaped
2343         there.
2344         (simpleDocBookOnePar):
2345         * output_docbook.C (makeEnvironment): replace reference to CDATA
2346         to style pass_thru.
2347
2348 2004-10-30  José Matos  <jamatos@lyx.org>
2349
2350         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2351
2352 2004-10-30  José Matos  <jamatos@lyx.org>
2353
2354         * output_docbook.C (makeParagraphs):
2355         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2356         standard paragraph has only a given type of content drop the wrapper.
2357
2358 2004-10-29  José Matos  <jamatos@lyx.org>
2359
2360         * output_docbook.C (makeEnvironment):
2361         * sgml.C (openTag):
2362         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2363
2364 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2365
2366         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2367         (cleanID): sanitize any id.
2368
2369 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2370
2371         * buffer.C, lyxlex_pimpl.C:
2372         * lyxlex_pimpl.C (setFile):
2373         s/getExtFromContents/getFormatFromContents/
2374
2375 2004-10-28  José Matos  <jamatos@lyx.org>
2376
2377         * output_docbook.C (makeEnvironment): move id to broadest possible
2378         scope.
2379
2380         * sgml.C (openTag): apply substitution of <> for all attributes.
2381
2382 2004-10-28  José Matos  <jamatos@lyx.org>
2383
2384         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2385         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2386         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2387
2388         * sgml.[Ch]: new version for open and closeTag for paragraph and
2389         for strings. Now they handle the ids of paragraphs.
2390
2391 2004-10-26  Angus Leeming  <leeming@lyx.org>
2392
2393         * Makefile.am: add mover.[Ch].
2394
2395         * converter.C (convert, move): use the new Movers to move external
2396         files to the temp directory.
2397
2398         * lyx_main.C (init): ensure that the global system_movers data
2399         is initialised.
2400
2401         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2402         preferences file.
2403
2404         * mover.[Ch]: new files, defining a Mover as a utility to move an
2405         external file between directories and, if necessary, manipulate this
2406         file using a helper script.
2407
2408 2004-10-25  José Matos  <jamatos@lyx.org>
2409
2410         * output_docbook.C (makeCommand): merge two if's that tested the
2411         same condition.
2412
2413 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2414
2415         * sgml.C (escapeString): fix warning in a better way
2416
2417 2004-10-25  José Matos  <jamatos@lyx.org>
2418
2419         * sgml.C (escapeString): import the require boosts header file for
2420         tie, and avoid a signed unsigned comparison.
2421
2422 2004-10-25  José Matos  <jamatos@lyx.org>
2423
2424         * sgml.h: add #include <string>
2425
2426 2004-10-25  José Matos  <jamatos@lyx.org>
2427
2428         * sgml.[Ch] (escapeString): new function to escape all the string.
2429
2430 2004-10-24  José Matos  <jamatos@lyx.org>
2431
2432         * paragraph.[Ch] (getFirstWord): new function to get the first
2433         word. Useful for description.
2434         (simpleDocBookOnePar): remove depth argument, add another that
2435         says where to start the paragraph.
2436
2437         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2438         use the new functions to fix cleanly the support for descriptions.
2439
2440 2004-10-24  José Matos  <jamatos@lyx.org>
2441
2442         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2443         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2444         * output_linuxdoc.C (linuxdocParagraphs):
2445         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2446         add buffer as argument.
2447
2448 2004-10-24  José Matos  <jamatos@lyx.org>
2449
2450         * output_docbook.C (makeEnvironment, searchEnvironment): place
2451         CDATA inside paragraphs and fix scope for listitems.
2452
2453 2004-10-24  José Matos  <jamatos@lyx.org>
2454
2455         * output_docbook.C: remove using statement for stack.
2456
2457 2004-10-23  José Matos  <jamatos@lyx.org>
2458
2459         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2460         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2461         docbook. The new scheme is recursive and makes use of iterators, the
2462         same as latex export works.
2463         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2464         directly with the paragraph contents. This code was moved up to
2465         output_docbook.C (docbookParagraphs).
2466         * sgml.C (openTag, closeTag): removed unneeded newlines.
2467         (closeEnvTags) removed.
2468
2469 2004-10-23  André Pönitz  <poenitz@gmx.net>
2470
2471         * undo.C (textUndoOrRedo):
2472         * dociterator.C (asDocIterator): work around crash
2473
2474         * cursor.C (getStatus): replace ASSERT by more verbose error message
2475           and manual correction of the problem. Should increase stability
2476           while providing more sensible information.
2477
2478 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2479
2480         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2481
2482         * bufferlist.C (previous, next): new methods
2483
2484         * lfuns.h:
2485         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2486
2487 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2488
2489         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2490         entities to preamble.
2491
2492 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2493
2494         * messages.C (Pimpl): strip off translation context information
2495
2496 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2497
2498         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2499         the cursor is correct (bug 1694)
2500
2501 2004-10-13  José Matos  <jamatos@lyx.org>
2502
2503         * output_docbook.C (docbookParagraphs): fix closing tags in the
2504         end of the document.
2505
2506 2004-10-09  José Matos  <jamatos@lyx.org>
2507
2508         * buffer.C: format up to 237.
2509         * bufferparams.C (write): use tostr to convert booleans to strings.
2510
2511 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2512
2513         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2514
2515 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2516
2517         * LaTeX.C: implement use of babel language in xindy.
2518
2519 2004-10-05  José Matos  <jamatos@lyx.org>
2520
2521         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2522         Add new translators to help reading and writing the lyx file.
2523
2524 2004-10-05  José Matos  <jamatos@lyx.org>
2525
2526         * ParagraphParameters.C (read):
2527         * text.C (readParToken): replace nexToken by more appropriate lex
2528         methods.
2529
2530 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2531
2532         * LaTeX.C (runMakeIndex):
2533         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2534         (usually 'makeindex') configurable.
2535
2536         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2537         with a variable rather than with a number.
2538
2539 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2540
2541         * output_latex.C (TeXOnePar): make sure font setting is the first
2542         thing that gets output (and the last at the end). Should fix bug
2543         1404.
2544
2545 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2546
2547         * pch.h: use proper signal include
2548
2549         * LaTeX.h: Use preferred calling of Boost.Signal
2550         * buffer.h: ditto
2551
2552 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2553
2554         * pch.h: dont include <boost/function/function0.hpp>
2555
2556         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2557
2558         * paragraph_pimpl.h: remove usage of ShareContainer
2559
2560         * paragraph_pimpl.C: remove initialization of ShareContainer.
2561
2562 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2563
2564         Fix bug #1666
2565
2566         * BufferView.C (putSelectionAt): change the semantics when
2567         backwards == true: now, this just swaps cursor and anchor wrt the
2568         forward case
2569
2570         * BufferView.h (putSelectionAt): add some documentation
2571
2572         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2573         make sure backwardChar is done at least once (to avoid getting
2574         stuck)
2575         (findNextChange): use putSelectionAt in the forward direction
2576         (operator()): use Paragraph::isWord
2577
2578 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2579
2580         * Spacing.C (set): c_str fix
2581
2582 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2583
2584         * lyx_cb.C (Reconfigure): quote the name of configure script in
2585         case it contains spaces
2586
2587 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * client: new dir
2590
2591         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2592         (BOOST_LIBS): use top_buildir when looking for the file
2593
2594 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2595
2596         * pch.h: do not use include boost/format.hpp, multiple symbols
2597                 will result (gcc bug)
2598
2599
2600 2004-08-23  José Matos  <jamatos@lyx.org>
2601
2602         * bufferparams.C (readToken): fix reading of the author field.
2603
2604 2004-08-20  José Matos  <jamatos@lyx.org>
2605
2606         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2607
2608 2004-08-20  José Matos  <jamatos@lyx.org>
2609
2610         * lyxlex.[Ch] (findToken): remove function.
2611
2612         * ParagraphParameters.C (findToken):
2613         * bufferparams.C (findToken): replace call for previous function
2614         with local copy. This local function has one more argument, the
2615         read string argument.
2616
2617 2004-08-16  José Matos  <jamatos@lyx.org>
2618
2619         * ParagraphParameters.C (write):
2620         * Spacing.C (writeFile):
2621         * bufferparams.C (writeLaTeX):
2622         * lyx_cb.C (Reconfigure):
2623         * paragraph.C (write):
2624         * tabular.C (write): remove unnecessary space at end of line.
2625
2626
2627 2004-08-16  José Matos  <jamatos@lyx.org>
2628
2629         * text.C (readParagraph): remove debug message.
2630
2631 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2632
2633         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2634         crash
2635
2636         * output_plaintext.C (asciiParagraph): set depth correctly
2637
2638         * outputparams.h: add member depth
2639
2640         * paragraph_funcs.C (ownerPar): remove.
2641
2642         * text2.C (setCounter): remove first_pit; comment out some
2643         non-working code that uses ownerPar
2644
2645         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2646         uses ownerPar
2647
2648 2004-08-16  José Matos  <jamatos@lyx.org>
2649
2650         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2651         For the same level of importance use the same chanel to report problems.
2652         (read): add code to deal with \begin_body and \end_body.
2653
2654
2655 2004-08-15  José Matos  <jamatos@lyx.org>
2656
2657         * lyxlex.C (getString): fix comment, buffer::readBody is now
2658         buffer:readDocument.
2659
2660         * tex-strings.C (string_papersize): Default -> default,
2661         Custom -> custom, for consistency with other options.
2662
2663 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2664
2665         * pch.h: new file
2666
2667         * Makefile.am: support pch
2668
2669 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2670
2671         * text.C (readParToken): remove the static LyXFont variable and
2672         pass it as a parameter instead. This fixes a nasty bug where an
2673         inset will be inserted with a bad font in some situations
2674         (readParagraph): adapt
2675
2676         * text2.C (setCounter): reduce number of calls to pars_[pit]
2677
2678         * text.C (singleWidth): add an assert, fix a test
2679
2680         * rowpainter.C (paintText): reduce number of calls to singleWidth
2681
2682         * paragraph.C (isHfill):
2683         (isNewline): ws only
2684
2685 2004-08-14  André Pönitz  <poenitz@gmx.net>
2686
2687         * text.C:
2688         * text2.C:
2689         * rowpainter.C:
2690         * lyxtext.h (several functions): use a Paragraph & argument
2691         instead of par_type
2692
2693 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2694
2695         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2696
2697         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2698
2699         * text.C (singleWidth): remove useless test
2700
2701 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2702
2703         * tabular.h: remove bogus comments
2704
2705         * tabular.C (getDescentOfRow):
2706         (isPartOfMultiColumn): add assertions
2707
2708         * lyxlength.C (inPixels): remove #warning
2709
2710 2004-08-14  André Pönitz  <poenitz@gmx.net>
2711
2712         * paragraph.h: inline getChar()
2713
2714         * BufferView.h: remove unused declarations
2715
2716 2004-08-14  José Matos  <jamatos@lyx.org>
2717
2718         * Buffer.[Ch] (readDocument): new name for old readBody.
2719         * Buffer.C: new file format, new keywords: \begin_document,
2720         \begin_header, \begin_body, \end_body.
2721
2722         * bufferparams.C (readToken): replace all calls to lex.nextToken
2723         by lex.next(). Do the same to eatLine except where really needed.
2724
2725         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2726         line when writing to the lyx file.
2727
2728         * output_plaintext.C (asciiParagraph): fix Bibliography style
2729         handling.
2730
2731         * text.C (read): fix end of file handling.
2732
2733 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2734
2735         * MenuBackend.C (Menu::operator[]): new method to access
2736         individual menu items
2737         (Menu::hasFunc): new method. search for an item that corresponds
2738         to a given func
2739         (MenuBackend::specialMenu): new method
2740         (MenuBackend::expand): if a special menu has been set, skip
2741         entries whose func() appears in this menu
2742
2743 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2744
2745         * text3.C: use Debug::DEBUG a bit more
2746
2747         * text.C (leftMargin): try to simplify a tiny bit change var x to
2748         l_margin. Dont output the wide margins always.
2749         (rightMargin): no margin in inner texts
2750
2751         * rowpainter.h (nestMargin): new func
2752         (changebarMargin): new func
2753         (rightMargin): new func
2754
2755         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2756         now functions.
2757         (paintLast): ditto
2758
2759         * factory.C (createInset): modify setDrawFrame
2760
2761         * cursor.C: use Debug::DEBUG a bit more
2762
2763 2004-08-14  André Pönitz  <poenitz@gmx.net>
2764
2765         * coordcache.[Ch]:
2766         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2767         cache for all insets in (at least partially) visible (top-level)
2768         paragraphs.
2769
2770         * BufferView_pimpl.C: reset external coord cache before every update.
2771         This means the coord cache only contains valid entries.
2772
2773 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2774
2775         bug 1096
2776         * BufferView_pimpl.C (getInsetByCode): move function out of class
2777         and change in to a template in anon namespace. Also fix to do what
2778         suits us better.
2779
2780 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2781
2782         bug 1305
2783         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2784         of char
2785         (breakParagraph): rename par to par_offset and use a local
2786         reference. Add code to keep the language over a rebreak.
2787         (breakParagraphConservative): rename par to par_offset, use a
2788         local reference
2789         (mergeParagraph): ditto
2790         (outerHook): ditto
2791         (isFirstInSequence): ditto
2792         (outerFont): rename pit to par_offset
2793
2794         * paragraph.C: ws change
2795         * paragraph.h: ditto
2796         * text3.C: ditto
2797         * text.C: ditto
2798
2799 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2800
2801         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2802         treatment for ']'
2803
2804         * paragraph.C (simpleTeXOnePar): when we have a \item with
2805         optional argument, enclose the argument with curly brackets (in
2806         case it contains a closing square bracket)
2807
2808         * text2.C (editXY):
2809         * text2.C (editXY):
2810         * text3.C (checkInsetHit): constify
2811
2812 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2813
2814         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2815         documents (bug 1629)
2816
2817 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2818
2819         Fix toggling of collapsable insets with the mouse (bug 1558)
2820
2821         * lyxfunc.C (dispatch): adapt to LCursor changes
2822
2823         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2824         make sure that dispatch is not invoked twice
2825
2826         * cursor.C (needsUpdate): new method
2827         (dispatch): return void
2828         (result): new method, to access the DispatchResult of the cursor.
2829
2830 2004-08-13  José Matos  <jamatos@lyx.org>
2831
2832         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2833
2834 2004-08-13  André Pönitz  <poenitz@gmx.net>
2835
2836         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2837
2838         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2839           multiple cells
2840
2841 2004-08-12  André Pönitz  <poenitz@gmx.net>
2842
2843         * text3.C: take out the 'cursor right' form insertInset and only
2844         do it in those places when it is really needed. Fixes crash on
2845         C-m...
2846
2847 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2848
2849         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2850
2851         * BufferView_pimpl.C (setBuffer): initialize the current font of
2852         the underlying LyXText
2853
2854 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2855
2856         * kbsequence.C (print): use UI native formatting for menu
2857         shortcuts
2858
2859         * text.C (insertChar): call Paragraph::insertChar with a font
2860         argument (cosmetic)
2861
2862         * paragraph.C (insertInset, insertChar): the version that takes a
2863         LyXFont argument is now a wrapper around the other one (the
2864         opposite used to be true).
2865
2866         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2867         argument. Font setting is done in Paragraph now.
2868
2869 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2870
2871         * outputparams.h: add new members intitle and lang.
2872
2873         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2874         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2875
2876 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2877
2878         * text3.C (dispatch): remove special handling of button 4 and 5,
2879         it is now taken care of in the frontend code.
2880
2881 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2882
2883         * Spacing.h: add <string> (STLPort compile fix)
2884
2885 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2886
2887         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2888
2889 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2892         to bool.
2893
2894         * converter.C (showMessage): inherit from unary_function, make
2895         operator() const.
2896
2897         * buffer.C (writeFile): initialize retval
2898
2899         * InsetList.h: rename private variable list to list_
2900         * InsetList.[Ch]: adjust accordingly.
2901
2902 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2905         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2906         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2907         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2908         * ParagraphParameters.C, LaTeXFeatures.C: replace
2909         "support/std_sstream.h" with <sstream>
2910
2911 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2912
2913         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2914         * lyxsocket.C (LyXServerSocket): ditto
2915         (serverCallback): ditto
2916
2917 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2918
2919         * LaTeXFeatures.C: check release date when loading jurabib.
2920
2921 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * lyxserver.C (startPipe): call register_socket_callback
2924         (endPipe): call unregister_socket_callback
2925
2926 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2927
2928         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2929         (LyXServerSocket): register the callback
2930         (LyXServerSocket): unregister the callback
2931         (fd): delete function
2932         (serverCallback): improve error checking and setup the callbacks.
2933         (dataCallback): change arg to fd.
2934         (writeln): new func (copied fro the client socket) used for server
2935         write to client.
2936         (LyXDataSocket): simplify
2937         (~LyXDataSocket): close ann unregiser callback
2938         (server): delete function
2939         (fd): delete function
2940         (readln): small changes, improve some std::string usage
2941         (writeln): constify a bit
2942
2943 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2944
2945         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2946         Qt frontend
2947
2948 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2949
2950         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2951         after it has been populated
2952
2953 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2954
2955         * text2.C (insertInset): move cursor when inserting inset.
2956
2957 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2958
2959         * kbmap.C (findbindings): a couple of new methods. returns a
2960         container of kb_sequence objects. The real work is done by the
2961         private recursive version
2962         (printbindings): uses findbindings to print out a bracketed list
2963         of bindings (renamed from findbinding).
2964
2965         * MenuBackend.C (binding): use kb_keymap::findbindings
2966
2967         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2968
2969 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2970
2971         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2972
2973 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2974
2975         * paragraph.C (isWord): return true on insets that report
2976         isLetter().
2977
2978         * text.C (getWord): use Paragraph::isWord to decide what is in a
2979         word and what is not; fix bug 1609.
2980
2981 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2982
2983         * tex-strings.C: add "none" to string_paperpackages[], fixes
2984         off-by-one-error in the paperpackage selection.
2985
2986         * lyxlex.[Ch]:
2987         * tex-strings.[Ch]: char const * string[n]
2988         -> char const * const string[]
2989
2990 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2991
2992         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2993         command, return early.
2994
2995 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2996
2997         * debug.h: add DEBUG to enum and fix size of ANY.
2998
2999         * debug.C: add support for Debug::DEBUG
3000         (showTags): cast errorTags.level to unsigned int
3001
3002         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3003         (redoCurrentBuffer): ditto
3004         (updateScrollbar): ditto
3005         * cursor.C (dispatch): ditto
3006         * text2.C (setLayout): ditto
3007         (setFont): ditto
3008         (updateCounters): ditto
3009         (editXY): ditto
3010         (deleteEmptyParagraphMechanism): ditto
3011
3012 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3013
3014         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3015         annotations to cleanup the Makefile slightly.
3016
3017 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3018
3019         * lyxrc.C: do not set user_email to a default value but use empty
3020         instead. The entry used to be translated, which does not work
3021         since at the point where lyxrc is constructed there is no
3022         translation service available
3023
3024         * messages.C (getLocaleDir): remove and use directly
3025         lyx_localedir() instead
3026
3027 2004-06-02  Angus Leeming  <leeming@lyx.org>
3028
3029         Fix crash caused by dereferencing null pointer 'exportdata' in
3030         OutputParams by creating a new ExportData variable on the heap,
3031         storing it in a boost::shared_ptr.
3032         The crash was triggered when generating an Instant Preview
3033         of an external inset.
3034
3035         * Makefile.am: add outputparams.C
3036
3037         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3038         (c-tor): allocate memory to it.
3039
3040         * exporter.C (c-tor): associated changes.
3041
3042 2004-06-01  Angus Leeming  <leeming@lyx.org>
3043
3044         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3045         contains data before calling isInset(0). (Bug 1513.)
3046
3047 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3048
3049         * exporter.C (checkOverwrite): new method
3050         * exporter.C (copyFile): new method
3051         * exporter.C (Export): copy referenced files to the document dir
3052         * exporter.[Ch]: new class ExportedFile
3053         * exporter.[Ch]: new class ExportData. Contains currently the
3054         names of referenced external files
3055         * outputparams.h: add exportdata member.
3056
3057 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3060         version.C-tmp
3061
3062 2004-05-19  Angus Leeming  <leeming@lyx.org>
3063
3064         * LaTeXFeatures.C:
3065         * ToolbarBackend.C:
3066         * bufferparams.C:
3067         * lyxfunc.C: small changes due to the introduction of namespace
3068         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3069
3070 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3071
3072         * text3.C (dispatch): supress update when only moving the cursor
3073         * cursor.C (selHandle): remove commented code
3074
3075 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3076
3077         * paragraph.C (startTeXParParams): correct column count
3078         * CutAndPaste.C (pasteSelection): remove const_cast
3079         * output_docbook.C (docbookParagraphs): remove const_cast
3080         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3081         const_cast and return ParagraphList::const_iterator
3082         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3083         * output_plaintext.C (writeFileAscii): remove const_cast
3084         * paragraph.[Ch] (simpleTeXOnePar): make const
3085         * paragraph_funcs.C (outerPar): use const iterators
3086         * paragraph_pimpl.C (validate): use const iterators
3087         * text.C (setHeightOfRow): use const iterators
3088
3089 2004-05-17  Angus Leeming  <leeming@lyx.org>
3090
3091         * lfuns.h:
3092         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3093
3094         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3095         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3096         if the citation engine has changed.
3097
3098 2004-05-14  José Matos  <jamatos@lyx.org>
3099
3100         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3101         if the textclass does not provide it. Have it different for sgml and
3102         xml.
3103         support the language of document.
3104         * output_docbook.C (docbookParagraphs):
3105         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3106         first anchor as the id of the paragraph, remove special case code.
3107         * sgml.C (escapeChar): escape only < & >.
3108
3109 2004-05-14  Angus Leeming  <leeming@lyx.org>
3110
3111         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3112         dependencies on src/frontends/controllers/biblio.h. Define a
3113         CiteEngine_enum wrapper class to enable the enum to be forward
3114         declared.
3115
3116 2004-05-12  Angus Leeming  <leeming@lyx.org>
3117
3118         * buffer.C: up LYX_FORMAT to 234.
3119         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3120         use_numerical_citations with a single biblio::CiteEngine cite_engine
3121         variable.
3122         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3123
3124 2004-05-13  José Matos  <jamatos@lyx.org>
3125
3126         * converter.h:
3127         * converter.C (Converter, readFlags): add xml member.
3128         * outputparams.h: add XML flavor.
3129         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3130
3131 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3132
3133         * lyxfunc.C (dispatch):
3134         (getStatus): fix handling of LFUN_SEQUENCE
3135
3136 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3137
3138         * debug.C (showLevel): do not forget the end-of-line marker
3139
3140 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3141
3142         * kbmap.C (read): do not stop parsing a bind file when an error
3143         occurs (bug 1575)
3144
3145 2004-04-29  Angus Leeming  <leeming@lyx.org>
3146
3147         * cursor.C:
3148         * factory.C:
3149         * pariterator.C:
3150         * text2.C: wrap a bunch of #warning statements
3151         inside #ifdef WITH_WARNINGS blocks.
3152
3153 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3154
3155         * buffer.C: increment format to 233.
3156
3157 2004-04-28  Angus Leeming  <leeming@lyx.org>
3158
3159         * BufferView_pimpl.C:
3160         * lyxfunc.C:
3161         * text3.C:
3162         s/updateToolbar()/updateToolbars()/
3163         s/Toolbar.h/Toolbars.h/
3164
3165 2004-04-28  Angus Leeming  <leeming@lyx.org>
3166
3167         * BufferView.[Ch] (c-tor):
3168         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3169         No longer passes these data to the WorkArea generator.
3170
3171 2004-04-28  Angus Leeming  <leeming@lyx.org>
3172
3173         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3174
3175 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3176
3177         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3178
3179 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3180
3181         * output_latex.C (TeXEnvironment): make sure that there is a line
3182         break before \end{foo} for the last paragraph of a document
3183         (TeXOnePar): if the paragraph is at the end of the document (or
3184         inset) and the language has to be reset, then make sure that the
3185         line break is _before_ the language command, not after (fixes bug
3186         1225); also make sure that the language reset command is the first
3187         thing after the paragraph (to ensure proper nesting of
3188         environments and thus fix bug 1404)
3189
3190 2004-04-21  John Levon  <levon@movementarian.org>
3191
3192         * ToolbarBackend.h:
3193         * ToolbarBackend.C: make "name" be a programmatic name
3194         and a gui_name field.
3195
3196         * lyxfunc.C: display the minibuffer on M-x
3197
3198 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3199
3200         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3201         (bug 1526)
3202
3203 2004-04-19  Angus Leeming  <leeming@lyx.org>
3204
3205         * BufferView_pimpl.C (setBuffer): changed preview interface.
3206
3207         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3208         possible values.
3209
3210 2004-04-19  John Levon  <levon@movementarian.org>
3211
3212         * BufferView_pimpl.C:
3213         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3214
3215 2004-04-05  Angus Leeming  <leeming@lyx.org>
3216
3217         * text.C (redoParagraphs): add call to updateCounters(), thereby
3218         fixing the missing "Figure #:" label from the caption of a
3219         figure float.
3220
3221 2004-04-13  Angus Leeming  <leeming@lyx.org>
3222
3223         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3224         cursor is clicked out of an inset.
3225
3226 2004-04-13  Angus Leeming  <leeming@lyx.org>
3227
3228         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3229         than an InsetOld one.
3230
3231 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3232
3233         * format.[Ch]: add editor to Format
3234         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3235         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3236
3237 2004-04-08  André Pönitz  <poenitz@gmx.net>
3238
3239         * metricsinfo.h: remove PainterInfo::width member
3240
3241 2004-04-08  Angus Leeming  <leeming@lyx.org>
3242
3243         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3244         "\providecommand" rather than "\newcommand", thereby preventing
3245         clashes with packages that define "\boldsymbol" themselves.
3246         Eg, beamer.
3247
3248 2004-04-08  Angus Leeming  <leeming@lyx.org>
3249
3250         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3251         thereby squashing an unnecessary warning.
3252
3253 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3254
3255         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3256         setBuffer()
3257
3258 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3259
3260         * BufferView.C (setCursor): call redoParagraph (some insets could
3261         have been opened)
3262         (putSelectionAt): remove the 'double update' trick
3263
3264         * BufferView_pimpl.C (fitCursor): call refreshPar
3265         (workAreaDispatch): remove an uneeded update call
3266         (dispatch): remove some manual update calls
3267
3268         * cursor.[Ch]: remove cached_y_, updatePos
3269         (selHandle): set noUpdate when appropriate
3270
3271         * lyxfunc.C (dispatch): track if we need an update
3272
3273         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3274
3275         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3276         (paintSelection): cheap optimization, do not call cursorX when not
3277         needed
3278         (paintPars): change signature
3279         (refreshPar): add
3280         (paintText): adjust
3281         (paintTextInset): adjust
3282
3283         * text.C: adjust
3284
3285 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3286
3287         * lengthcommon.C: compilation fix: remove explicit array size from
3288         unit_name[] and friends
3289
3290 2004-04-05  Angus Leeming  <leeming@lyx.org>
3291
3292         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3293
3294         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3295         present only for the preferences dialog.
3296         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3297
3298 2004-04-05  Angus Leeming  <leeming@lyx.org>
3299
3300         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3301         to enable the frontends to export changes to lyxrc correctly.
3302
3303         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3304
3305 2004-04-07  André Pönitz  <poenitz@gmx.net>
3306
3307         * cursor.[Ch] (selClear, adjust): remove math
3308
3309         * cursor_slice.C: more agressive assert
3310
3311         * lyxfunc.C:
3312         * BufferView_pimpl.C: rework mouse event dispatch
3313
3314         * dociterator.C:
3315         * paragraph.C:
3316         * text2.C:
3317         * text3.C: adjust
3318
3319 2004-04-05  André Pönitz  <poenitz@gmx.net>
3320
3321         * cursor.[Ch] (valign, halign...): remove unneeded functions
3322
3323 2004-04-05  Angus Leeming  <leeming@lyx.org>
3324
3325         * lyxlength.[Ch] (unit_name et al.): const-correct.
3326
3327 2004-04-05  Angus Leeming  <leeming@lyx.org>
3328
3329         * BufferView_pimpl.C:
3330         * buffer.C:
3331         * counters.C:
3332         * cursor.C:
3333         * lyxfunc.C
3334         * paragraph.C:
3335         * pariterator.C:
3336         * text.C:
3337         * text2.C:
3338         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3339
3340 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3341
3342         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3343
3344 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3345
3346         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3347         * BufferView_pimpl.[Ch] (getStatus)
3348         * BufferView.[Ch] (getStatus): add
3349         * lyxfunc.C (getStatus): move lfuns handled in
3350         BufferView::dispatch to te function above
3351         * Cursor.C (setSelection): set selection() = true
3352
3353 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3354
3355         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3356
3357 2004-03-31  Angus Leeming  <leeming@lyx.org>
3358
3359         * lyxfunc.C (dispatch): Fall through to the generic
3360         Dialogs::show("preamble").
3361
3362 2004-03-31  Angus Leeming  <leeming@lyx.org>
3363
3364         * lyxfunc.C (dispatch): Fall through to the generic
3365         Dialogs::show("spellchecker").
3366
3367 2004-03-31  Angus Leeming  <leeming@lyx.org>
3368
3369         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3370         preferences dialog.
3371
3372 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3373
3374         * BufferView.C
3375         * cursor.[Ch]
3376         * dociterator.[Ch]:
3377         * insetiterator.[Ch]:
3378         * lyxfind.C:
3379         * lyxfunc.C:
3380         * pariterator.[Ch]:
3381         * text2.C:
3382         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3383
3384 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3385
3386         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3387         insets where we are putting the cursor.
3388
3389 2004-03-31  Angus Leeming  <leeming@lyx.org>
3390
3391         * lfuns.h:
3392         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3393
3394         * lyxrc.[Ch] (read, write): overloaded member functions taking
3395         a std::[io]stream arguments.
3396
3397         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3398
3399 2004-03-31  Angus Leeming  <leeming@lyx.org>
3400
3401         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3402         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3403
3404         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3405         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3406
3407 2004-03-31  Angus Leeming  <leeming@lyx.org>
3408
3409         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3410         the LFUN_ALL_INSETS_TOGGLE code.
3411
3412 2004-03-30  Angus Leeming  <leeming@lyx.org>
3413
3414         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3415         has died. Fall through to the generic Dialogs::show("document").
3416
3417 2004-03-30  Angus Leeming  <leeming@lyx.org>
3418
3419         * lfuns.h:
3420         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3421         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3422
3423         * lyxfunc.C (getStatus, dispatch): define the actions for these
3424         lfuns. Little more than a cut and pste job from ControlDocument.C
3425
3426         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3427
3428 2004-03-30  Angus Leeming  <leeming@lyx.org>
3429
3430         * lfuns.h:
3431         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3432         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3433
3434         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3435         open/closed state of ollapsable insets. Usage:
3436
3437         all-inset-toggle <state> <name>, where
3438         <state> == "open" || "closed" || "toggle" and
3439         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3440
3441         * lyxtext.h, text2.C (toggleInset): removed.
3442
3443         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3444         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3445         now passes LFUN_INSET_TOGGLE to the found inset.
3446
3447         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3448         is now invoked as "all-insets-toggle toggle branch".
3449
3450 2004-03-30  Angus Leeming  <leeming@lyx.org>
3451
3452         * dociterator.C:
3453         * insetiterator.C:
3454         * pariterator.[Ch]: added/corrected header blurb.
3455
3456 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3457
3458         * dociterator.[Ch]: add an inset_ member
3459         (backwardPos): implemented
3460         (backwardPos, forwardPos): use inset_ when the stack is empty.
3461         (doc_iterator_begin, doc_iterator_end): implemented
3462         * pariterator.[Ch]: adjust, add begin, end
3463         * insetiterator.[Ch]: adjust, add begin, end
3464         * cursor.C:
3465         * document.C:
3466         * BufferView.C:
3467         * BufferView_pimpl.C:
3468         * CutAndPaste.C: adjust
3469
3470 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3471
3472         * buffer.C: increment file format to 232.
3473         * LaTeXFeatures.C: add bibtopic package.
3474         * bufferparams.[Ch]: param \use_bibtopic.
3475
3476         * lyxrc.[Ch]: add lyxrc bibtex_command
3477         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3478
3479         * buffer.C: increment file format to 231.
3480
3481 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3482
3483         * dociterator.C: implement forwardPar
3484         * iterators.[Ch]: remove, replaced by
3485         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3486         * BufferView.C:
3487         * BufferView_pimpl.C:
3488         * CutAndPaste.C:
3489         * buffer.C:
3490         * bufferview_funcs.C:
3491         * cursor.C:
3492         * lyxfind.C
3493         * lyxfunc.C
3494         * paragraph_funcs.C
3495         * toc.C:
3496         * Makefile.am: adjust
3497
3498 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3499
3500         * CutAndPaste.C (pasteSelection): fix 2 crashes
3501         (eraseSelection): fix a crash
3502         * paragraph_funcs.C: remove a warning
3503
3504 2004-03-28  Angus Leeming  <leeming@lyx.org>
3505
3506         * lfuns.h:
3507         * LyXAction.C (init): new LFUN_PRINT.
3508
3509         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3510
3511 2004-03-27  Angus Leeming  <leeming@lyx.org>
3512
3513         * lfuns.h:
3514         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3515
3516         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3517
3518 2004-03-27  Angus Leeming  <leeming@lyx.org>
3519
3520         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3521         insetlist always contains non-null pointers to insets.
3522
3523 2004-03-26  Angus Leeming  <leeming@lyx.org>
3524
3525         * src/BufferView_pimpl.C:
3526         * src/CutAndPaste.C:
3527         * src/buffer.C:
3528         * src/iterators.C:
3529         * src/output_plaintext.C:
3530         * src/outputparams.h:
3531         * src/paragraph_funcs.C:
3532         * src/rowpainter.C:
3533         * src/text.C:
3534         * src/text2.C:
3535         * src/frontends/controllers/ControlErrorList.C:
3536         * src/frontends/gtk/FileDialogPrivate.C:
3537         * src/frontends/gtk/GPainter.C:
3538         * src/frontends/gtk/GToolbar.C:
3539         * src/frontends/qt2/QRef.C:
3540         * src/mathed/math_scriptinset.C: squash compiler warnings.
3541
3542 2004-03-26  Angus Leeming  <leeming@lyx.org>
3543
3544         * ispell.C (LaunchIspell::start):
3545         * lyx_cb.C (AutoSaveBuffer::start):
3546         invoke run(DontWait) rather than runNonBlocking().
3547
3548 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3549
3550         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3551
3552 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3553
3554         * kbsequence.C (print): adjust
3555
3556         * kbmap.C (printKeySym): rename and change signature
3557         (printKey): use LyXKeySym::print()
3558
3559 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3560
3561         * undo.C: add using std::advance to compile for stlport
3562
3563 2004-03-24  Angus Leeming  <leeming@lyx.org>
3564
3565         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3566         it leads to a crash when no buffer is present.
3567
3568 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3569             Martin Vermeer  <martin.vermeer@hut.fi>
3570
3571         * lyxfunc.C (dispatch):
3572         * bufferparams.C (readToken): use the new LColor::setColor
3573
3574         * LColor.[Ch] (setColor): new version that takes two strings as
3575         argument and creates a new color entry if necessary
3576
3577 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3578
3579         * buffer.C (makeLaTeXFile): if the main latex file that is
3580         processed is usually a subdocument of some master, then pretend
3581         for a while that it is actually the master
3582
3583 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3584
3585         * buffer.C (getLabelList):
3586         (getBibkeyList): use getMasterBuffer()
3587         (getMasterBuffer): new method. Returns the main document in the
3588         case where one is using included documents.
3589
3590 2004-03-25  André Pönitz  <poenitz@gmx.net>
3591
3592         * Makefile.am:
3593         * iterators.[Ch]:
3594         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3595
3596         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3597
3598         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3599         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3600
3601         * ParameterStruct.h: merge with ParagraphParameters
3602
3603         * lyxtext.h: remove LyXText::parOffset() and getPar()
3604
3605         * text3.C: Remove all 'manual' update calls. We do now one per user
3606         interaction which is completely sufficient.
3607
3608         * Bidi.C:
3609         * BufferView.[Ch]:
3610         * BufferView_pimpl.C:
3611         * FontIterator.[Ch]:
3612         * MenuBackend.C:
3613         * ParagraphParameters.[Ch]:
3614         * buffer.C:
3615         * buffer.h:
3616         * bufferlist.C:
3617         * cursor.[Ch]:
3618         * cursor_slice.[Ch]:
3619         * dociterator.[Ch]:
3620         * errorlist.[Ch]:
3621         * factory.C:
3622         * lfuns.h:
3623         * lyxfind.C:
3624         * lyxfunc.C:
3625         * output_docbook.[Ch]:
3626         * output_latex.[Ch]:
3627         * output_linuxdoc.[Ch]:
3628         * output_plaintext.[Ch]:
3629         * paragraph.[Ch]:
3630         * paragraph_funcs.[Ch]:
3631         * paragraph_pimpl.[Ch]:
3632         * rowpainter.C:
3633         * tabular.[Ch]:
3634         * text.C:
3635         * text2.C:
3636         * toc.C:
3637         * undo.[Ch]: adjust
3638
3639         * frontends/controllers/ControlDocument.C:
3640         * frontends/controllers/ControlErrorList.C:
3641         * frontends/controllers/ControlSpellchecker.C:
3642         * insets/inset.C:
3643         * insets/inset.h:
3644         * insets/insetbase.h:
3645         * insets/insetbibitem.C:
3646         * insets/insetbox.C:
3647         * insets/insetbranch.C:
3648         * insets/insetcaption.C:
3649         * insets/insetcharstyle.C:
3650         * insets/insetcharstyle.h:
3651         * insets/insetcollapsable.C:
3652         * insets/insetcollapsable.h:
3653         * insets/insetert.C:
3654         * insets/insetfloat.C:
3655         * insets/insetfoot.C:
3656         * insets/insetmarginal.C:
3657         * insets/insetnote.C:
3658         * insets/insetoptarg.C:
3659         * insets/insettabular.C:
3660         * insets/insettext.C:
3661         * insets/insettext.h:
3662         * insets/insetwrap.C:
3663         * mathed/math_mboxinset.C:
3664         * mathed/math_nestinset.C:
3665         * mathed/math_scriptinset.C:
3666         * mathed/math_scriptinset.h:
3667         * support/types.h:
3668
3669 2004-03-24  Angus Leeming  <leeming@lyx.org>
3670
3671         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3672         deal with any child processes that have finished but are waiting to
3673         communicate this fact to the rest of LyX.
3674
3675 2004-03-24  Angus Leeming  <leeming@lyx.org>
3676
3677         64-bit compile fixes.
3678
3679         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3680         (c-tor): pass lyx::pos_types rather than ints.
3681
3682         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3683         lyx::pos_type.
3684
3685         * text.C (Delete): compile fix.
3686         (getPar): ensure that function declaration is the same as that in
3687         the header file.
3688
3689 2004-03-23  Angus Leeming  <leeming@lyx.org>
3690
3691         * ispell.C (LaunchIspell):
3692         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3693         a boost::shred_ptr rather than a std::auto_ptr.
3694
3695 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3696
3697         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3698         handle LFUN_FILE_INSERT_*
3699
3700         * lyxrc.C (setDefaults, getDescription, output, read):
3701         * lyxrc.h: remove ps_command
3702
3703 2004-03-22  Angus Leeming  <leeming@lyx.org>
3704
3705         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3706         Ensure that error_handler is processed once only and that all data
3707         is saved before attempting to output any warning messages.
3708
3709         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3710
3711 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3712
3713         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3714
3715 2004-03-19  André Pönitz  <poenitz@gmx.net>
3716
3717         * cursor.[Ch] (reset): take main text inset as argument
3718
3719         * BufferView: adjust
3720         * BufferView_pimpl.C: adjust
3721
3722         * paragraph.[Ch]: fix completely broken operator=()
3723
3724 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3725
3726         * LColor.C (getFromLyXName): make sure that the color name is used
3727         as lowercase.
3728
3729 2004-03-17  Angus Leeming  <leeming@lyx.org>
3730
3731         * lfuns.h:
3732         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3733
3734         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3735         dialog and to kill a forked process.
3736
3737 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3738
3739         * text2.C (setCursorFromCoordinates): fix font problem
3740
3741 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3742
3743         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3744         bogus "rebuild cursor" code
3745
3746 2004-03-11  André Pönitz  <poenitz@gmx.net>
3747
3748         * buffer.[Ch]: use InsetText instead of LyXText as container for
3749         the main lyx text.
3750
3751         * dociterator.[Ch]: drop the BufferView * member which is not needed
3752         anymore after the change to buffer.C
3753
3754         * paragraph_funcs.C:
3755         * text.C:
3756         * text2.C:
3757         * BufferView.[Ch]:
3758         * BufferView_pimpl.[Ch]:
3759         * cursor.[Ch]:
3760         * cursor_slice.[Ch]: adjust
3761
3762         * text3.C: fix bug in mathDispatch
3763
3764 2004-03-08  André Pönitz  <poenitz@gmx.net>
3765
3766         * undo.[Ch]: use 'StableDocumentIterator' as base for
3767         the Undo struct.
3768
3769 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3770
3771         * LaTeXFeatures.C:
3772         * bufferparams.[Ch]: add jurabib support and param.
3773
3774         * LaTeX.C: add FIXME/comment.
3775
3776 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3777
3778         * buffer.C: increment file format to 230.
3779
3780 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3781
3782         * cursor.C (dispatch): avoid infinite loops
3783
3784 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3785
3786         * rowpainter.C (paintSelection): fix x coordinates
3787
3788 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3789
3790         * text.C (rowBreakPoint): fix breaking before displayed insets
3791
3792 2004-03-01  André Pönitz  <poenitz@gmx.net>
3793
3794         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3795
3796         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3797
3798         * Makefile.am:
3799         * BufferView.C:
3800         * BufferView_pimpl.C:
3801         * buffer.C:
3802         * lyxfind.C:
3803         * lyxfunc.C:
3804         * text.C:
3805         * text2.C:
3806         * text3.C: adjust
3807
3808 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3809
3810         * lyxtext.h:
3811         * text.C:
3812         * text2.C:
3813         * rowpainter.C:
3814         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3815         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3816
3817 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3818
3819         * Bidi.[Ch] (computeTables): const correctness
3820         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3821         fill_hfill, fill_label_hfill and x from Row
3822         * lyxtext.h: prepareToPrint returns a RowMetrics
3823         * rowPainter.C: adjust
3824         * text.C (prepareToPrint): use width, not textWidth. adjust
3825         (redoParagraphInternal, cursorX): adjust
3826         * text2.C (getColumnNearX): adjust
3827         (init): put a default value to the top LyXText::width
3828
3829 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3830
3831         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3832
3833 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3834
3835         * lyxtext.h: add FontIterator class
3836
3837         * text.C (FontIterator, operator*, operator->, operator++): add
3838         (rowBreakPoint, setRowWidth): adjust (fixing a
3839         rebreaking bug)
3840
3841 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3842
3843         * BufferView_pimpl.C (workAreaDispatch): allow also
3844         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3845
3846 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3847
3848         * text.C (rowBreakPoint): fix a bug showing with very large insets
3849
3850 2004-02-25  André Pönitz  <poenitz@gmx.net>
3851
3852         * text3.C:
3853         * cursor.[Ch]: move some mathed specific code to mathed
3854
3855 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3856
3857         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3858         use_tempdir in preferences
3859         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3860         tempfile creation
3861         * lyx_main.C: ensure that tempdir is valid
3862         * lyxlex.h: correct typo
3863         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3864         * paragraph.[Ch] (isMultiLingual): make const
3865         * cursor.[Ch] (openable): make const
3866
3867 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3868
3869         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3870
3871 2004-02-20  André Pönitz  <poenitz@gmx.net>
3872
3873         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3874
3875         * cursor.[Ch]: prepare for localized getStatus()
3876
3877         * lyxtext.h:
3878         * tabular.C:
3879         * text.C:
3880         * text2.C:
3881         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3882
3883 2004-02-20  André Pönitz  <poenitz@gmx.net>
3884
3885         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3886
3887 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3888
3889         * text2.C (setCursorFromCoordinates): switch to absolute coords
3890         (cursorUp): adjust
3891         (cursorDown): adjust
3892         * text3.C (dispatch): adjust
3893
3894 2004-02-16  André Pönitz  <poenitz@gmx.net>
3895
3896         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3897           insets/ChangeLog)
3898
3899         * cursor_slice.[Ch]: remove unneeded acessor function
3900
3901         * lyxtext.h: rename rtl() to isRTL()
3902
3903         * rowpainter.C:
3904         * tabular.C:
3905         * text.C:
3906         * text2.C:
3907         * text3.C: adjust
3908
3909 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3910
3911         * rowpainter.C (paintSelection): coord fix
3912
3913 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3914
3915         * Spacing.C: compile fix
3916
3917 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3918
3919         * cursor.C (dispatch): restore current_ before returning
3920
3921 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3922
3923         * text2.C (cursorUp, cursorDown): fix coords
3924         (moveUp): fix crash
3925
3926 2004-02-12  André Pönitz  <poenitz@gmx.net>
3927
3928         * lyxtext.h:
3929         * text.C:
3930         * text2.C:
3931         * text3.C: add LCursor & parameter to most cursor movement functions
3932           remove usage of LyXText::cursorRow() and cursorPar()
3933
3934         * cursor.[Ch]: add textRow() needed members
3935
3936         * BufferView.C:
3937         * BufferView_pimpl.C:
3938         * paragraph.[Ch]:
3939         * BufferView.C:
3940         * BufferView_pimpl.C: adjust
3941
3942 2004-02-11  André Pönitz  <poenitz@gmx.net>
3943
3944         * lyxfunc.C:
3945         * BufferView.[Ch]:
3946         * BufferView_pimpl.C: shift undo/redo handling
3947
3948         * cursor.[Ch]: fix mathed crash
3949
3950         * lyxfind.C:
3951         * lyxtext.h: move selectionAsText to LCursor
3952
3953         * output_latex.C:
3954         * paragraph.C:
3955         * text.C:
3956         * text2.C:
3957         * text3.C: adjust
3958
3959         * rowpainter.C: fix excessive drawing
3960
3961 2004-02-06  André Pönitz  <poenitz@gmx.net>
3962
3963         * BufferView.[Ch]:
3964         * BufferView_pimpl.[Ch]:
3965         * text3.C: move some text specific LFUN handling
3966
3967 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3968
3969         * text3.C (checkInsetHit): adjust coords
3970         * text2.C (getColumnNearX): adjust coords
3971         (edit): adjust coords
3972         * text.C (getRowNearY): add two asserts
3973
3974 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3975
3976         * converter.C:
3977         * format.C: add using std::distance to compile on gcc 2.95/stlport
3978
3979 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3980
3981         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3982
3983 2004-02-04  André Pönitz  <poenitz@gmx.net>
3984
3985         * BufferView.[Ch] (insertInset):
3986         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3987
3988         * text2.C:
3989         * text3.C: adjust
3990
3991 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3992
3993         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3994         on the default clause of the switch
3995         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3996         wasn't catched by LCursor::dispatch
3997
3998 2004-02-03  André Pönitz  <poenitz@gmx.net>
3999
4000         * BufferView.C:
4001         * cursor.[Ch]: some additional asserts
4002
4003         * undo.[Ch]: remove LyXText dependency in interface
4004
4005         * lyxfunc.C: adjust
4006
4007         * lyxtext.h (firstPar, lastPar): remove dead functions
4008
4009         * text.C:
4010         * text2.C:
4011         * text3.C:
4012         * paragraph.[Ch]: adjust
4013
4014 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4015
4016         * lyxfind.C (find): fix argument order in call to ::find
4017
4018 2004-02-02  André Pönitz  <poenitz@gmx.net>
4019
4020         * cursor.[Ch]: remove direct access to anchor
4021
4022         * text.C: remove findText() hack
4023
4024 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4025
4026         * iterators.[Ch] (lockPath): remove in favour of...
4027         * BufferView.[Ch] (setCursor): this addition
4028         * BufferView.C (putSelectionAt): adjust
4029         * undo.C (performUndoOrRedo): adjust
4030         * lyxfunc.C (dispatch): adjust
4031
4032 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4033
4034         * iterators.C (lockPath): add a missing slice
4035         * undo.C (performUndoOrRedo): remove redundant positioning code
4036
4037 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4038
4039         * vc-backend.C (scanMaster): ";" -> ';'
4040
4041 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4042
4043         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4044         std::binary_function
4045
4046         * lyxtextclass.C (compare_name): rename to...
4047         (LayoutNamesEqual): ...this
4048
4049         * lyxlex_pimpl.C (compare_tags): inherit from
4050         std::binary_function, put back into anon namespace
4051
4052         * lyxfind.C (MatchString): inherig from std::binary_function
4053         (findChange): use empty() istead of !size()
4054
4055         * format.C (FormatNamesEqual): new functor
4056         (getFormat): use it
4057         (getNumber): use it
4058         (add): use it
4059         (erase): use it
4060         (setViewer): use it
4061
4062         * converter.C (compare_Converter): rename to...
4063         (ConverterEqual): ...this, and fixup a bit.
4064         (getConverter): use it, and make function const
4065         (getNumber): use it, and make function const
4066         (add): use it
4067         (erase): use it:
4068
4069         * bufferlist.C: add using boost::bind
4070
4071         * MenuBackend.C (MenuNamesEqual): new functor
4072         (hasMenu): use it, and make function const
4073         (hasSubmenu): use nested bind to get rid of compare_memfun.
4074
4075 2004-01-30  André Pönitz  <poenitz@gmx.net>
4076
4077         * BufferView_pimpl.C:
4078         * cursor.C:
4079         * cursor.h:
4080         * cursor_slice.[Ch]:
4081         * lyxfunc.C:
4082         * lyxtext.h:
4083         * paragraph_funcs.C:
4084         * paragraph_funcs.h:
4085         * rowpainter.C:
4086         * text.C:
4087         * text2.C:
4088         * text3.C: move some of the edit(x,y) handling to the insets
4089         some coordinate changes.
4090
4091 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4092
4093         * text.C: add using statements for std::advance and std::distance
4094
4095         * paragraph.C: add using statement for std::distance
4096
4097         * lyxfind.C: add using statement for std::advance
4098
4099         * cursor.C (region): remove std:: from swap
4100         (openable): use nucleus in stead of operator->
4101
4102         * BufferView.C: add using statements for std::distance and std::swap
4103
4104 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4105
4106         * iterators.C: Remove the pimple, move the needed structures to
4107         the header file. Create accessor for the positions stack.
4108         (asPosIterator): remove function
4109
4110         * PosIterator.C (PosIterator): move constructors to top of file
4111         (PosIterator): reimplement the constructor taking a ParIterator in
4112         terms of setFrom.
4113         (setFrom): new function
4114         (operator!=): inline it
4115
4116 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4117
4118         * lyxfind.C (replaceAll): use std::advance
4119
4120         * iterators.h: inherit from std::iterator.
4121
4122         * PosIterator.C (advance, distance): remove
4123         * PosIterator.h: interit from std::iterator.
4124
4125 2004-01-26  André Pönitz  <poenitz@gmx.net>
4126
4127         * BufferView.[Ch]:
4128         * BufferView_pimpl.[Ch]:
4129         * InsetList.[Ch]:
4130         * PosIterator.[Ch]:
4131         * buffer.h:
4132         * bufferview_funcs.C:
4133         * cursor.[Ch]:
4134         * cursor_slice.h:
4135         * factory.[Ch]:
4136         * iterators.[Ch]:
4137         * lyxfind.C:
4138         * lyxfunc.C:
4139         * lyxtext.h:
4140         * output_docbook.C:
4141         * output_latex.C:
4142         * output_linuxdoc.C:
4143         * output_plaintext.C:
4144         * paragraph.[Ch]:
4145         * paragraph_funcs.[Ch]:
4146         * paragraph_pimpl.[Ch]:
4147         * rowpainter.C:
4148         * tabular.C:
4149         * tabular.h:
4150         * text.C:
4151         * text2.C:
4152         * text3.C: more IU:  dumps most of the rest of the mathcursor
4153     implementation into cursor.[Ch]; "globalize" a bit of it.
4154
4155 2004-01-25  Angus Leeming  <leeming@lyx.org>
4156
4157         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4158
4159 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4160
4161         * LaTeXFeatures.h: add nice_ and nice() const
4162         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4163
4164 2004-01-20  André Pönitz  <poenitz@gmx.net>
4165
4166         * BufferView.[Ch]:
4167         * BufferView_pimpl.C:
4168         * PosIterator.C:
4169         * bufferview_funcs.C:
4170         * cursor.[Ch]:
4171         * cursor_slice.[Ch]:
4172         * factory.C:
4173         * iterators.C:
4174         * lyx_cb.C:
4175         * lyxfind.C:
4176         * lyxfunc.C:
4177         * lyxtext.h:
4178         * rowpainter.C:
4179         * text.C:
4180         * text2.C:
4181         * text3.C:
4182         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4183           LCursor and mathcursor parts to LCursor and InsetBase.
4184
4185 2004-01-15  André Pönitz  <poenitz@gmx.net>
4186
4187         * cursor_slice.[Ch]: add a few covienience functions
4188
4189         * funcrequest.[Ch]: remove BufferView * member
4190
4191         * BufferView_pimpl.C:
4192         * cursor.C:
4193         * factory.[Ch]:
4194         * lyxfind.[Ch]:
4195         * lyxfunc.C:
4196         * lyxtext.h:
4197         * text3.C:
4198         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4199
4200 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4201
4202         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4203         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4204
4205 2004-01-13  André Pönitz  <poenitz@gmx.net>
4206
4207         * textcursor.[Ch]:
4208         * lyxtext.h: hide cursor and selection anchor behind accessor function
4209
4210         * BufferView.C:
4211         * BufferView_pimpl.[Ch]:
4212         * PosIterator.C:
4213         * bufferview_funcs.C:
4214         * cursor.h:
4215         * lyxfind.C:
4216         * lyxfunc.C:
4217         * text.C:
4218         * text2.C:
4219         * text3.C:
4220         * undo.C: adjust
4221
4222         * cursor.h:
4223         * cursor_slice.[Ch]: some integer type changes for inset unification
4224
4225         * lyxcursor.[hC]: remove, it's CursorSlice now.
4226
4227         * Makefile.am:
4228         * BufferView_pimpl.[Ch]:
4229         * bufferview_funcs.C:
4230         * cursor_slice.C:
4231         * lyxtext.h:
4232         * text.C:
4233         * text2.C:
4234         * text3.C:
4235         * textcursor.[Ch]: adjust
4236
4237 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4238
4239         * text2.C (undoSpan): add and use
4240         * text.C (breakParagraph): use undoSpan (fix bug 578)
4241         * lyxtext.h: adjust
4242
4243 2004-01-08  Angus Leeming  <leeming@lyx.org>
4244
4245         * BufferView_pimpl.C (MenuInsertLyXFile):
4246         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4247         * lyxfunc.C (menuNew, open, doImport):
4248         FileFilterList change to the FileDialog open and save functions.
4249
4250 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * ShareContainer.h: make isEqual and isUnique adaptable
4253
4254         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4255
4256 2004-01-07  Angus Leeming  <leeming@lyx.org>
4257
4258         * LyXAction.C:
4259         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4260
4261         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4262
4263         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4264         functions replacing find, replace and replaceAll.
4265
4266         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4267         LFUN_WORDFIND(FORWARD|BACKWARD).
4268
4269 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4270
4271         * text.C (breakParagraph): remove an outdated #warning
4272
4273 2004-01-07  André Pönitz  <poenitz@gmx.net>
4274
4275         * lyxfind.C: somewhat clearer logic
4276
4277         * text.C: prevent crash in cursorX on unitialized row cache
4278
4279 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4280
4281         * lyxcursor.[Ch] (operator>): add
4282         * textcursor.C (selStart, selEnd): use std::min and std::max
4283
4284 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4285
4286         * Chktex.C: include boost/format.hpp
4287
4288 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4289
4290         * InsetList.C: replace functor MathcIt with adaptable functor
4291         InsetTablePosLess
4292         (insetIterator): modify accordingly
4293
4294         * BranchList.h: move the BranchNamesEqual functor here from...
4295         * BranchList.C: ... to here
4296
4297         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4298         SameName and match.
4299         (add): replace a finding loop with std::find_if.
4300
4301 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4302
4303         * output_docbook.C: moving LatexParam functionality into
4304         .layout files
4305
4306 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4307
4308         * buffer.C: increment format to 229.
4309
4310 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4311
4312         * LaTeXFeatures.C:
4313         * lyx_sty.[Ch]: remove minipageindent_def
4314
4315         * LyXAction.C:
4316         * factory.C:
4317         * lfuns.h:
4318         * lyxfunc.C:
4319         * text3.C: remove LFUN_INSET_MINIPAGE
4320
4321 2003-12-28  Angus Leeming  <leeming@lyx.org>
4322
4323         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4324
4325 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4326
4327         * text2.C (setParagraph): fix off-by-one crash
4328
4329 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4330
4331         * output_docbook.C: header stuff for AGU
4332
4333 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4334
4335         * text2.C (redoCursor): remove
4336         * text.C:
4337         * text3.C:
4338         * BufferView_pimpl.C: remove calls to redoCursor and
4339         setCursor(cursor.par(), cursor.pos()) all around
4340
4341 2003-12-15  Angus Leeming  <leeming@lyx.org>
4342
4343         * buffer.C: up the format to 228.
4344
4345 2003-12-15  André Pönitz  <poenitz@gmx.net>
4346
4347         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4348         slices
4349
4350         * Makefile.am:
4351
4352         * BufferView_pimpl.C:
4353         * cursor.[Ch]:
4354         * lyxcursor.[Ch]:
4355         * rowpainter.[Ch]:
4356         * lyxtext.h:
4357         * text.C:
4358         * text2.C:
4359         * text3.C: adjust
4360
4361 2003-12-15  Angus Leeming  <leeming@lyx.org>
4362
4363         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4364         than getFromGUIName to manipulate the color.
4365
4366 2003-12-14  Angus Leeming  <leeming@lyx.org>
4367
4368         * BranchList.[Ch]: minimize the API.
4369         (Branch::getBranch, getColor): now return a 'const &'.
4370         (Branch::setSelected) now returns a bool set to true if the
4371         selection status changes.
4372         (BranchList::clear, size, getColor, setColor, setSelected,
4373         allBranches, allSelected, separator): removed.
4374         (BranchList::find): new functions, returning the Branch with
4375         the given name.
4376         (BranchList::add, remove): return a bool indicating that
4377         the operation was successful.
4378
4379         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4380         new InsetBranch::isBranchSlected member function.
4381
4382         * LColor.[Ch]: mimimize the API.
4383         (fill): renamed as addColor and made private.
4384         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4385         versions of these functions taking a string arg have been removed.
4386
4387         * bufferparams.C (readToken):
4388         * lyxfunc.C (dispatch):
4389         * lyxrc.C (read): changes due to the altered BranchList and
4390         LColor APIs.
4391
4392         * factory.C (createInset, readInset): changes due to altered
4393         InsetBranch c-tor.
4394
4395 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4396
4397         * factory.C:
4398         * lyxfunc.C: remove insetminipage. "minipage-insert"
4399         now produces a frameless minipage box inset.
4400
4401 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4402
4403         * textcursor.[Ch] (selStart,selEnd): add new methods
4404         remove selection::start, end, use LyXCursor::operator<
4405         * lyxcursor.[Ch] (operator<): add
4406         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4407         * BufferView.[Ch] (unsetXSel): add
4408         * text2.C (clearSelection): use unsetXSel,adjust
4409         * text.C: adjust
4410         * text3.C: adjust
4411         * rowpainter.C: adjust
4412         * bufferview_funcs.C (put_selection_at): adjust
4413
4414 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4415
4416         * BufferView_pimpl.C: small coord. correction
4417
4418 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4419
4420         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4421         dragging over the splash screen.
4422
4423 2003-12-11  Angus Leeming  <leeming@lyx.org>
4424
4425         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4426         as it is now handled in LyXText::dispatch.
4427
4428         * text3.C (doInsertInset): remove a level of nesting.
4429
4430 2003-12-11  Angus Leeming  <leeming@lyx.org>
4431
4432         * factory.C (createInset): changes due to the changed interface to
4433         InsetCommandMailer::string2params.
4434
4435 2003-12-10  Angus Leeming  <leeming@lyx.org>
4436
4437         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4438         'dialog-show-new-inset <inset name>'
4439
4440 2003-12-10  Angus Leeming  <leeming@lyx.org>
4441
4442         * buffer.C: up the format to 227.
4443
4444         * factory.C: the box inset is now identified simply by 'Box'.
4445
4446 2003-12-10  Angus Leeming  <leeming@lyx.org>
4447
4448         * buffer.C: up the format to 226.
4449
4450         * factory.C: the note inset is now identified simply by 'Note'.
4451
4452 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4453
4454         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4455         when a pit is enough. Standarize a couple of loops.
4456
4457 2003-12-05  Angus Leeming  <leeming@lyx.org>
4458
4459         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4460         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4461         data to the re-worked "log" dialog.
4462
4463 2003-12-03  André Pönitz  <poenitz@gmx.net>
4464
4465         * PosIterator.C:
4466         * iterators.C:
4467         * lyxtext.h:
4468         * output_latex.C:
4469         * paragraph_funcs.C:
4470         * text.C:
4471         * text2.C: use Inset::getText instead of Inset::getParagraph
4472
4473 2003-12-03  André Pönitz  <poenitz@gmx.net>
4474
4475         * buffer.[Ch]:
4476         * lyxtext.h:
4477         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4478         InsetText::read() as LyXText::read()
4479
4480 2003-12-02  Angus Leeming  <leeming@lyx.org>
4481
4482         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4483         type. Add a comment in the implementation that the function uses
4484         the stream's bad() function rather than fail() as the std::streams
4485         would do.
4486
4487 2003-12-02  André Pönitz  <poenitz@gmx.net>
4488
4489         * lyxlex.[Ch]: make interface more similar to std::stream
4490
4491         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4492
4493 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4494
4495         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4496
4497 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4498
4499         * vspace.[Ch]: remove VSpace::NONE
4500
4501 2003-12-01  André Pönitz  <poenitz@gmx.net>
4502
4503         * buffer.[Ch]:
4504         * lyxtext.h: move ParagraphList member to LyXText
4505         rename LyXText::ownerParagraphs to LyXText::paragraph
4506
4507         * CutAndPaste.C:
4508         * bufferview_funcs.C:
4509         * iterators.[Ch]:
4510         * lyx_cb.C:
4511         * paragraph.C:
4512         * rowpainter.C:
4513         * tabular.C:
4514         * text.C:
4515         * text2.C:
4516         * text3.C: adjust
4517
4518         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4519
4520         * undo.C: fix cursor positioning
4521
4522 2003-12-01  John Levon  <levon@movementarian.org>
4523
4524         * BufferView_pimpl.C: fix a crash on exit with
4525         a buffer open
4526
4527 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4528
4529         * BranchList.C: fix setSelected() method.
4530
4531 2003-11-28  André Pönitz  <poenitz@gmx.net>
4532
4533         * ParagraphParameters.[Ch]:
4534         * ParameterStruct.h: remove space above/below from Paragraph to
4535          InsetVSpace
4536
4537         * BufferView_pimpl.C:
4538         * factory.C:
4539         * lyxfunc.C:
4540         * lyxtext.h:
4541         * output_latex.C:
4542         * paragraph.C:
4543         * paragraph_funcs.C:
4544         * rowpainter.[Ch]:
4545         * text.C:
4546         * text2.C:
4547         * text3.C: adjust
4548
4549 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4550
4551         * factory.C: Syntax change for CharStyles
4552
4553 2003-11-28  André Pönitz  <poenitz@gmx.net>
4554
4555         * BufferView.[Ch]:
4556         * BufferView.[Ch]:
4557         * buffer.[Ch]:
4558         * buffer.[Ch]: move LyXText member
4559
4560 2003-11-28  André Pönitz  <poenitz@gmx.net>
4561
4562         * BufferView.[Ch]: make LyXText * text a private member
4563
4564         * BufferView_pimpl.C:
4565         * cursor.C:
4566         * iterators.C:
4567         * lyx_cb.C:
4568         * lyxfind.C:
4569         * lyxtext.h:
4570         * rowpainter.[Ch]:
4571         * text.C:
4572         * text2.C:
4573         * undo.C: adjust
4574
4575         * output_plaintext.C: cleanup
4576
4577 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4578
4579         * buffer.C:
4580         * lyxtextclass.[Ch]: parametrize SGML document header
4581
4582 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4583
4584         * converter.[Ch]:
4585         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4586         getFlavor().
4587
4588 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4589
4590         * text2.C (setFont): rework using PosIterator (no more recursive)
4591         (setCharFont): no more needed
4592         (setLayout): no more selection cursors fiddling (done by redoCursor)
4593         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4594         destroy remaining ones)
4595
4596 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4597
4598         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4599         * lyxtext.h: ditto
4600         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4601         selection cursors
4602         * lyxfunc.C: adjust
4603         * text3.C: adjust + re-allow multi par depth changes
4604         * textcursor.C: simplify a bit
4605
4606 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4607
4608         * src/buffer.C:
4609         * src/lyxlayout.C:
4610         * src/lyxlayout.h:
4611         * src/lyxtext.h:
4612         * src/output_docbook.C:
4613         * src/output_latex.C:
4614         * src/paragraph.C:
4615         * src/paragraph.h:
4616         * src/sgml.C:
4617         * src/sgml.h:
4618         * src/text2.C: Introducing a number of tags parametrizing various
4619         XML formats that we may want to support
4620
4621 2003-11-25  André Pönitz  <poenitz@gmx.net>
4622
4623         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4624
4625         * lyxtext.h (leftMargin/rightMargin): simplify interface
4626
4627         * rowpainter.C:
4628         * text.C:
4629         * text2.C:
4630         * text3.C: adjust
4631
4632 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4633
4634         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4635         master file to any child files. Fixes bug 546.
4636
4637 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4638
4639         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4640
4641 2003-11-24  André Pönitz  <poenitz@gmx.net>
4642
4643         * rowpainter.C: simplification
4644
4645         * text2.C (updateCounters): remove call to redoParagraph on
4646         changed labels as this is far too expensive.
4647
4648 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4649
4650         * converter.C (convert): fix a crash: this function gets
4651         called with buffer == 0 from importer code.
4652
4653 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * text3.C (cursorPrevious): make sure that we do not compare
4656         iterators form different containers.
4657         (cursorNext): ditto
4658
4659         * rowpainter.C (paintSelection): make sure that we do not compare
4660         iterators from different containers.
4661
4662         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4663         iterators from different ParagraphList containers.
4664         [NEXT] ditto
4665
4666         * text2.C (LyXText): change order of initialization slightly
4667         (operator=): new function. copy all variables except cache_par_
4668         (moveUp): make sure that we do not compare iterators from
4669         different ParagraphList constainers.
4670         (moveDown): ditto
4671
4672         * text.C (firstPar): new function
4673         (lastPar): new function
4674         (endPar): new function
4675
4676         * lyxtext.h: move things around and group public functions, public
4677         variables, private functions, private variables
4678
4679 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4680
4681         * factory.C: change call to InsetERT constructor to avoid
4682         additional invocation of method status
4683         * text2.C (toggleInset): remove redundant update() call
4684         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4685         instead of a Bufferview pointer
4686
4687 2003-11-21  André Pönitz  <poenitz@gmx.net>
4688
4689         * rowpainter.C: simplification
4690
4691 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4692
4693         * text3.C (dispatch): make possible to extend a word/row selection
4694         with the mouse
4695
4696 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4697
4698         * lyxtext.h: x0_,y0_ -> xo_,yo_
4699         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4700         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4701         * rowpainter.C (paintRows): paint full paragraphs
4702
4703 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4704
4705         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4706         screen coordinates)
4707
4708 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4709
4710         * lyxtext.h: add x0_, y0_
4711         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4712         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4713
4714 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4715
4716         * text2.C (setCursorIntern): move the x_target update here *
4717         * text3.C: change some bv() to true/false in calls to
4718         cursorUp/Down/Right/Left
4719         * cursor.C: use helper function.
4720
4721 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4722
4723         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4724         * paragraph_funcs.[Ch]: correct comment
4725         * rowpainter.C: do not paint selections away from bv->cursor()
4726         Fix a long standing selection painting bug.
4727         * text3.C: generalize mouse-selection code to LyXTexts other that
4728         top one
4729         * textcursor.C: do not use y coords if we can use par offsets
4730
4731 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4732
4733         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4734         cursor position after e.g. inset insert)
4735
4736 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4737
4738         * lyxfind.C (replace): adjust to locking removal + some
4739         code simplification
4740
4741 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4742
4743         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4744         of the path
4745
4746 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4747
4748         * lyxlayout.[Ch]:
4749         * output_docbook.C: XML sanitation: new layout
4750         parameters InnerTag and CommandDepth
4751
4752 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4753
4754         * BufferView_pimpl.C:
4755         * factory.C:
4756         * text3.C: Fix the insertion and modification of button-style
4757         insets
4758
4759 2003-11-13  André Pönitz  <poenitz@gmx.net>
4760
4761         * InsetList.[Ch]: remove deleteLyXText
4762
4763         * paragraph.[Ch]: cache beginOfBody position
4764
4765         * Bidi.C:
4766         * text.C:
4767         * text2.C:
4768         * text3.C: remove superfluous update() calls
4769
4770         * vspace.C: cleanup
4771
4772 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4773
4774         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4775         * BufferView.C (fitLockedInsetCursor): remove
4776         * cursor.[Ch] (getDim): add
4777         * text.C (getRowNearY): add faster version
4778         * text3.C: remove some update calls
4779
4780 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4781
4782         * LaTeXFeatures.C:
4783         * LyXAction.C:
4784         * MenuBackend.C:
4785         * MenuBackend.h:
4786         * dispatchresult.h:
4787         * factory.C:
4788         * lfuns.h:
4789         * lyxfunc.C:
4790         * lyxtextclass.C:
4791         * lyxtextclass.h:
4792         * text3.C: The Character Style /XML short element patch.
4793
4794 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4795
4796         * text3.C:
4797         * factory.C: Small step to solving 'unable to insert some insets'
4798         problem
4799
4800 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4801
4802         * cursor.[Ch] (updatePos): new function for updating the y
4803         position of the tip inset
4804         * bufferview_funcs.C (put_selection_at):
4805         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4806
4807 2003-11-11  André Pönitz  <poenitz@gmx.net>
4808
4809         * text.C: remove big comment on invalid Paragraph pointers as it is
4810         not valid anymore
4811
4812 2003-11-11  André Pönitz  <poenitz@gmx.net>
4813
4814         * text_funcs.[Ch]: merge with ...
4815
4816         * text.C: ... this
4817
4818         * lyxtext.h:
4819         * text2.C:
4820         * text3.C: adjust
4821
4822         * Makefile.am: remove text_funcs.[Ch]
4823
4824 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4825
4826         * cursor.C (getPos): return absolute cached y coord
4827
4828         * BufferView_pimpl.C (fitCursor): new simplistic code
4829         (workAreaDispatch): add a fitCursor call
4830
4831 2003-11-10  André Pönitz  <poenitz@gmx.net>
4832
4833         * BufferView.[Ch]:
4834         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4835
4836 2003-11-10  André Pönitz  <poenitz@gmx.net>
4837
4838         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4839         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4840         indicate that the cursor needs to leave an inset
4841
4842         * lyxtext.h: remove inset locking
4843
4844         * cursor.[Ch]: re-implement functionality provided by inset locking
4845
4846         * BufferView.[Ch]:
4847         * BufferView_pimpl.[Ch]:
4848         * LyXAction.C:
4849         * bufferview_funcs.[Ch]:
4850         * factory.C:
4851         * funcrequest.[Ch]:
4852         * iterators.C:
4853         * lyx_cb.C:
4854         * lyxfind.C:
4855         * lyxfunc.C:
4856         * text.C:
4857         * text2.C:
4858         * text3.C:
4859         * undo.C: adjust
4860
4861 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4862
4863         * PosIterator.[Ch]: replace the stack with a vector, add inset
4864         accesor
4865         * iterators.[C]: adjust
4866
4867 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4868
4869         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4870         replaced
4871         * paragraph_funcs.C (readParToken): put the correct id in the
4872         error item, not the id of the top paragraph
4873
4874 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4875
4876         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4877         * bufferview_funcs.C (put_selection_at): use the above
4878
4879 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4882
4883 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4884
4885         * output_linuxdoc.h:
4886         * output_plaintext.h:
4887         * output.h:
4888         * output_docbook.h: add #include statements
4889
4890 2003-11-05  José Matos  <jamatos@lyx.org>
4891
4892         * output_docbook.[Ch]:
4893         * output_latex.[Ch]:
4894         * output_linuxdoc.[Ch]:
4895         * output_plaintext.[Ch]: New files for output formats.
4896         * output.[Ch]: New file for helper functions.
4897
4898         * buffer.[Ch]:
4899         * paragraph_funcs.[Ch]: output functions moved to new files.
4900
4901         * outputparams.h: rename of latexrunparams.h
4902
4903         * LaTeX.[Ch]:
4904         * buffer.[Ch]:
4905         * bufferlist.[Ch]:
4906         * converter.[Ch]:
4907         * exporter.C:
4908         * paragraph.[Ch]:
4909         * paragraph_funcs.[Ch]:
4910         * paragraph_pimpl.[Ch]:
4911         * tabular.[Ch]: rename ascii to plaintext
4912         and LatexRunParams to OutputParams.
4913
4914 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4915
4916         * iterators.[Ch] (text): require bv argument
4917         * undo.C (recordUndo):
4918         * lyxfunc.C (dispatch):
4919         * bufferview_funcs.C (put_selection_at): adjust
4920
4921 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4922
4923         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4924
4925 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4926
4927         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4928         nestings
4929
4930 2003-11-04  André Pönitz  <poenitz@gmx.net>
4931
4932         * cursor.[Ch]: restructure
4933
4934         * BufferView.[Ch]:
4935         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4936
4937         * iterators.[Ch] (asCursor): remove
4938
4939         * lfuns.h: remove LFUN_INSET_EDIT
4940
4941         * lyxfunc.C:
4942         * tabular.C:
4943         * text.C:
4944         * text2.C:
4945         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4946
4947 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4948
4949         * lyxfind.[Ch]: complete overhaul
4950         * BufferView_pimpl.C:
4951         * lyxfunc.C: adjust
4952         * paragraph.[Ch] (insert): add
4953
4954 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4955
4956         * BufferView.[Ch]:
4957         * lyxtext.h:
4958         * text.C: remove dead spellcheck code
4959
4960 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4961
4962         * dispatchresult.h: add a val setter
4963
4964         * cursor.C (dispatch): use a tempvar for data_[i]
4965
4966 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4967
4968         * PosIterator.[Ch]: compile fix
4969
4970 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * text.C (cursorPar): deactivate the cursor cache
4973
4974 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4975
4976         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4977
4978 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * text3.C (dispatch): adjust for new DisptchResult semantics.
4981
4982         * lyxfunc.C (dispatch): handle update when return from
4983         Cursor::dispatch, adjust for new DispatchResult semantics.
4984
4985         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4986         DispatchResult(true) mean to not update. Add class functions for
4987         setting dispatched and update, as well as reading.
4988
4989         * cursor.C (dispatch): don't handle update here
4990
4991 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4992
4993         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4994         * trans_mgr.C: adjust
4995
4996         * paragraph_funcs.C (readParToken): exception safety
4997
4998         * lyxvc.h: store the vcs pointer in a scoped_ptr
4999         * lyxvc.C: adjust
5000
5001         * lyxsocket.C (serverCallback): exception safety
5002
5003         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5004
5005         * ispell.C (clone): make it return a auto_ptr
5006
5007         * factory.C (createInset): exception safety
5008         (readInset): exception safety
5009
5010         * bufferlist.C (newBuffer): exception safety
5011
5012         * Thesaurus.C (Thesaurus): use initialization for aik_
5013
5014         * MenuBackend.C (expandToc): exception safety.
5015
5016 2003-11-03  André Pönitz  <poenitz@gmx.net>
5017
5018         * buffer.C:
5019         * buffer.h:
5020         * bufferview_funcs.C: remove getInsetFromId()
5021
5022         * lyxcursor.[Ch]:
5023         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5024
5025         * lyxfunc.C:
5026         * text2.C:
5027         * text3.C: adjust
5028
5029 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * PosIterator.C (distance, advance): new
5032         * bufferview_funcs.[Ch] (put_selection_at): new
5033         * iterators.[Ch] (lockPath): new
5034
5035 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5036
5037         * iterators.[Ch] (asPosIterator): added
5038         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5039         * PosIterator.[Ch]: added
5040
5041 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5042
5043         * text3.C:
5044         * lyxfunc.C:
5045         * cursor.C (dispatch):
5046         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5047
5048         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5049         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5050         contructor, add a class function dispatched. Remove operator>=
5051
5052 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5053
5054         * debug.C: only use the default constructor for debugstream
5055         (lyxerr) here.
5056
5057         * main.C (main): include debug.h and setup the lyxerr streambuf
5058         here.
5059
5060 2003-10-31  José Matos  <jamatos@lyx.org>
5061
5062         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5063
5064         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5065         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5066         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5067         * paragraph_pimpl.C (simpleTeXSpecialC):
5068         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5069         add LatexRunParams argument.
5070
5071         * exporter.C (Export): change call accordingly.
5072
5073         * latexrunparams.h: add new member to take care of the other backends.
5074 2003-10-30  José Matos  <jamatos@lyx.org>
5075
5076         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5077         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5078         factorise code for paragraph output.
5079         * buffer.[Ch]:
5080         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5081         move functions.
5082
5083 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5084
5085         * text3.C (dispatch):
5086         * lyxfunc.C (dispatch):
5087         * cursor.C (dispatch):
5088         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5089
5090         * dispatchresult.h: make the dispatch_result_t ctor explicit
5091
5092 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5093
5094         * sgml.[Ch]:
5095         * buffer.C: small refactoring of docbook stuff
5096
5097 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5100         meaning.
5101
5102 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5105         operator dispatch_result_t, and operators for == != and >=
5106
5107         * cursor.C (dispatch): adjust for operator dispatch_result_t
5108         removal. comment out call to update
5109
5110         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5111
5112 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * text3.C:
5115         * text2.C:
5116         * text.C:
5117         * lyxtext.h:
5118         * lyxfunc.C:
5119         * cursor.C:
5120         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5121         (dispatch):
5122
5123         * dispatchresult.h: new file, DispatchResult broken out of
5124         insets/insetbase.h
5125
5126         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5127
5128 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5129
5130         * text.C (rowBreakPoint): put a hack inside #if 0
5131
5132 2003-10-28  André Pönitz  <poenitz@gmx.net>
5133
5134         * lyxtext.h:
5135         * metricsinfo.C:
5136         * paragraph_funcs.C:
5137         * rowpainter.C:
5138         * text.C:
5139         * text2.C: general cleanup (lots of small stuff)
5140
5141 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5142
5143         * text2.C (cursorEnd): simple fix to the "end key goes to one
5144         before the end on last row" bug
5145
5146 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5147
5148         * text.C (backspace): fix the "zombie characters"
5149
5150 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5151
5152         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5153
5154 2003-10-27  André Pönitz  <poenitz@gmx.net>
5155
5156         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5157
5158         * factory.C: handle new InsetPagebreak, InsetLine
5159
5160         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5161         and move handling into new InsetPagebreak, InsetLine
5162
5163         * BufferView_pimpl.C:
5164         * LyXAction.C:
5165         * ParagraphParameters.C:
5166         * ParameterStruct.h:
5167         * lyxfunc.C:
5168         * lyxtext.h:
5169         * paragraph.C:
5170         * paragraph.h:
5171         * paragraph_funcs.C:
5172         * paragraph_pimpl.C:
5173         * rowpainter.C:
5174         * text.C:
5175         * text2.C:
5176         * text3.C: adjust
5177
5178 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5179
5180         * text.C:
5181         * lyxrow_funcs.[Ch]:
5182         * Bidi.C:
5183         * paragraph.C:
5184         * lyxtext.h:
5185         * rowpainter.C:
5186         * text2.C:
5187         * text3.C: remove lastPos uses in favour of Row::endpos
5188
5189 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5190
5191         * undo.C (performUndoOrRedo): fix two crashes by setting a
5192         cursor by hand and reordering some calls. Use bv->lockInset instead
5193         of inset->edit because the latter loses cursor information
5194
5195 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5196
5197         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5198         by Martin
5199         (rowBreakPoint): fix width. change point to point + 1.
5200         Add a missing check.
5201
5202 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5203
5204         * MenuBackend.C:
5205         * lyxfunc.C: fix (at least partly) the problems
5206         with the Nav menu and headers inside branch insets
5207         reported by Kayvan
5208
5209 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5210
5211         * paragraph.C (getChar): add strong asserts
5212
5213         * lyxrow_funcs.C (lastPos): remove hideous hack
5214
5215         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5216         (fill): adjust to that (avoid an infinite loop)
5217
5218 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5221
5222 2003-10-23  André Pönitz  <poenitz@gmx.net>
5223
5224         * RowList_fwd.h: change list<> to vector<> to gain speed
5225         after suggestion from Alfredo
5226
5227 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5228
5229         * lyxtext.h: move the bidi stuff from here...
5230         * text.C: and here
5231         * text2.C: and here
5232         * Bidi.[Ch]: ... to here
5233
5234 2003-10-23  André Pönitz  <poenitz@gmx.net>
5235
5236         * lyxtext.h:
5237         * text.C (isLastRow, isFirstRow): new functions
5238
5239         * paragraph.h: new width cache member
5240
5241         * rowpainter.C: replace RowList::iterator with Row & where possible
5242
5243         * lyxfunc.C: replace several view()->text with a single call
5244
5245         * toc.C: fix 'unused' warning
5246
5247 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5250         when woring with stream::pos_type
5251         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5252
5253 2003-10-22  André Pönitz  <poenitz@gmx.net>
5254
5255         * lyxtext.h:
5256         * text.C: use Row & instead of RowList::iterator
5257
5258         * lyxrow.h: rename end() to endpos()
5259
5260         * rowpainter.C:
5261         * text.C:
5262         * text2.C: adjust
5263
5264 2003-10-22  Angus Leeming  <leeming@lyx.org>
5265
5266         * buffer.[Ch] (fully_loaded): new member function, returning true
5267         only when the file has been loaded fully.
5268         Used to prevent the premature generation of previews and by the
5269         citation inset to prevent computation of the natbib-style label.
5270
5271         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5272         templates are all set up.
5273
5274         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5275
5276 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5277
5278         * text.C: fixed an "oops" in the "is a bit silly"
5279         bug fix
5280
5281 2003-10-21  André Pönitz  <poenitz@gmx.net>
5282
5283         * FuncStatus.[Ch]: small stuff, whitespace
5284
5285         * lyxfont.[Ch]: operator<<() for debug reasons
5286
5287         * lyxfunc.C:
5288         * lyxrow_funcs.C:
5289         * lyxtext.h: whitespace, spelling
5290
5291         * paragraph.C: naming of variables
5292
5293         * text.C:
5294         * text2.C: small stuff
5295
5296
5297 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5298
5299         * text.C: (1) finish off the inset display() work;
5300         (2) fix the "is a bit silly" bug (accessing char
5301         past end of par).
5302
5303 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5304
5305         * text.C: re-introduce display() for insets, fixing the
5306         various bugs (stretch of line above, math inset
5307         positioning, ...)
5308
5309 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5310
5311         * text.C (rightMargin): remove spurious semicolon
5312
5313         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5314         1415)
5315
5316 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5317
5318         * text3.C: fix one crash due to wrong cursor def
5319
5320 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * vc-backend.C (scanMaster): make the regex static
5323
5324         * LaTeX.C (scanAuxFile): make the regexs static
5325
5326         * text3.C (doInsertInset, dispatch, dispatch):
5327         * text2.C (cursorUp, cursorDown):
5328         * text.C (selectNextWordToSpellcheck):
5329         * BufferView_pimpl.C (dispatch):
5330         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5331
5332 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5333
5334         * lyxsocket.C: include <cerrno>
5335
5336 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * lyxfunc.C (dispatch): remove textcache stuff
5339
5340         * bufferlist.C (release): remove textcache stuff
5341         (closeAll): ditto
5342
5343         * TextCache.C: delete file
5344         * TextCache.h: delete file
5345
5346         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5347
5348         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5349         delete of the bv_->text.
5350         (resizeCurrentBuffer): remove texcache stuff
5351         (workAreaResize): ditto
5352
5353 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5356         action.
5357
5358 2003-10-16  André Pönitz  <poenitz@gmx.net>
5359
5360         * lyxrow.[Ch]:
5361         * paragraph.h:
5362         * rowpainter.C:
5363         * text.C:
5364         * text2.C:
5365         * text3.C: speed up by storing y positions per paragraph plus per-row
5366         offset instead of having a 'full' y position in the row.
5367
5368 2003-10-15  André Pönitz  <poenitz@gmx.net>
5369
5370         * iterators.[Ch]:
5371         * iterators.[Ch]:
5372         * undo.[Ch]: make undo aware of inner insets
5373
5374 2003-10-14  Angus Leeming  <leeming@lyx.org>
5375
5376         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5377         static member functions LyX::ref() and LyX::cref.
5378         (lastfiles): new accessor functions for the new lastfiles_ member var.
5379         (addLyXView, views_): add a new LyXView to the list of views_.
5380         (updateInset): loop over all LyXViews to call their own updateInset
5381         member function, returning a pointer to the Buffer owning the inset.
5382
5383         * BufferView_pimpl.C (loadLyXFile):
5384         * MenuBackend.C (expandLastfiles):
5385         * bufferlist.C (MenuWrite, QuitLyX):
5386         lastfiles is no longer a global variable.
5387         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5388
5389         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5390         static function. Access through LyX::cref().emergencyCleanup().
5391
5392 2003-10-14  André Pönitz  <poenitz@gmx.net>
5393
5394         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5395
5396         * undo.[Ch]: restoring part of 'undo in insets'
5397
5398         * Makefile.am:
5399         * undo_funcs.[Ch]: merge with undo.[Ch]
5400
5401         * tabular.C: small cleansing stuff
5402
5403 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5404
5405         * paragraph_funcs.C (readParToken): report unknown insets as error
5406         boxes. Use the outer paragraph as location (also for unknown
5407         tokens).
5408
5409         * factory.C (readInset): do not abort on reading an unknown inset.
5410         Eat it and return 0.
5411
5412 2003-10-13  Angus Leeming  <leeming@lyx.org>
5413
5414         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5415
5416         * lyxrc.C: displayTranslator is now a function,
5417         declared in GraphicsTypes.h.
5418
5419 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5420
5421         * format.C: new placeholder $$a to pass the socket address.
5422
5423         * bufferlist.[Ch]: new function getBufferFromTmp.
5424
5425         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5426           files in the temporary dir.
5427
5428 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5429
5430         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5431
5432         * Makefile.am: add lyxsocket.[Ch].
5433
5434         * lyx_main.C (error_handler): handle SIGPIPE.
5435
5436 2003-10-13  André Pönitz  <poenitz@gmx.net>
5437
5438         * BufferView_pimpl.C:
5439         * lyxtext.h:
5440         * text.C:
5441         * text2.C:
5442         * text3.C:
5443         * undo_funcs.[Ch]: use paroffset_type instead of
5444           ParagraphList::iterators to prevent multiple conversion
5445           (and get a more robust interface)
5446
5447 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5448
5449         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5450         * lyxtext.h: ditto
5451         * text3.C (dispatch): ditto
5452
5453 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5454
5455         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5456         move the onlyfile, use onlyfile instead of foundfile in a couple
5457         of places.
5458
5459         * DepTable.C (update): flush the error stream a bit more
5460
5461 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * lyxserver.C (callback): adjust
5464
5465         * lyxfunc.C (getStatus): add a missing brace in commented code
5466         (ensureBufferClean): reindent
5467         (dispatch): delete version taking a string
5468
5469 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5470
5471         * LaTeX.C (deplog): move found file handlig from here...
5472         (handleFoundFile): .. to new function here.
5473         (deplog): make sure to discover several files mentioned on the
5474         same log line.
5475
5476 2003-10-10  André Pönitz  <poenitz@gmx.net>
5477
5478         * lyxfunc.C:
5479         * lyxtext.h:
5480         * tabular.C:
5481         * text.C:
5482         * text2.C:
5483         * text3.C: fix some of the tabular crashes
5484
5485 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5486
5487         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5488
5489         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5490
5491 2003-10-09  André Pönitz  <poenitz@gmx.net>
5492
5493         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5494
5495         * BufferView.C:
5496         * BufferView_pimpl.C:
5497         * bufferview_funcs.C:
5498         * lyx_cb.C:
5499         * lyxcursor.C:
5500         * lyxfind.C:
5501         * lyxfunc.C:
5502         * lyxtext.h:
5503         * text.C:
5504         * text2.C:
5505         * text3.C:
5506         * text_funcs.[Ch]:
5507         * textcursor.[Ch]:
5508         * undo_funcs.C: adjust
5509
5510 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5511
5512         * text2.C (incrementItemDepth): new function, use a backtracking
5513         algorithm to discover the correct item depth.
5514         (resetEnumCounterIfNeeded): new function, use a backtracking
5515         algorithm to discover if counter reset is needed.
5516         (setCounter): use them. Simplify a bit. Add different labels for
5517         different item depths for itemize.
5518
5519         * paragraph.C (Paragraph): remove initialization of enumdepth
5520         (operator=): ditto
5521
5522         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5523         enumerate and itemize. Change the type of itemdepth to signed char.
5524
5525 2003-10-08  André Pönitz  <poenitz@gmx.net>
5526
5527         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5528           thing assignable.
5529         * text.C:
5530         * text2.C: adjust
5531
5532         * tabular.[Ch]: fix crash after 'row-insert'
5533
5534 2003-10-08  Angus Leeming  <leeming@lyx.org>
5535
5536         Fix doxygen warnings.
5537
5538         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5539         Remove CutAndPaste:: prefix from header file declaration.
5540
5541         * LColor.h (fill): remove LColor:: prefix from declaration.
5542
5543         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5544         use lyx::depth_type rather than Paragraph::depth_type so that
5545         header file and .C file match.
5546
5547         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5548
5549         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5550         * aspell.C: \file aspell_local.C -> \file aspell.C
5551         * gettext.C: \file gettext.C -> \file src/gettext.C
5552         * gettext.h: \file gettext.h -> \file src/gettext.h
5553         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5554         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5555         * text.C: \file text.C -> \file src/text.C
5556
5557         * toc.C: move comment so that doxygen is not confused.
5558
5559 2003-10-07  Angus Leeming  <leeming@lyx.org>
5560
5561         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5562
5563 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5564
5565         * aspell.C:
5566         * aspell_local.h: add forgotten std::string's.
5567
5568 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5569
5570         * LaTeXFeatures.C:
5571         * LyXAction.C:
5572         * factory.C:
5573         * lfuns.h:
5574         * lyxfunc.C:
5575         * text3.C: The Box patch. Fancybox support, minipage, parbox
5576
5577 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5578
5579         * CutAndPaste.h:
5580         * DepTable.h:
5581         * FloatList.h:
5582         * LaTeXFeatures.h:
5583         * ParagraphParameters.h:
5584         * TextCache.h:
5585         * Thesaurus.h:
5586         * bufferlist.h:
5587         * exporter.h:
5588         * importer.h:
5589         * lastfiles.h:
5590         * lyxfind.h:
5591         * lyxfont.h:
5592         * lyxlex.h:
5593         * lyxtextclasslist.h:
5594         * messages.h:
5595         * paragraph.h:
5596         * paragraph_pimpl.C:
5597         * textcursor.h: add <string> and other small fixes to make Lars'
5598         std::string patch compile with STLport.
5599
5600 2003-10-06  Angus Leeming  <leeming@lyx.org>
5601
5602         * LColor.h: Add missing #include <string>.
5603
5604 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5605
5606         * All most all file in all subdirs: Make <string> be the prefered
5607         way of getting to std::string, add using declarations.
5608
5609 2003-10-06  André Pönitz  <poenitz@gmx.net>
5610
5611         * metricsinfo.C: initialize LyXFont before changing attribute.
5612         (fixes the 'math in \emph is upright' bug)
5613
5614 2003-10-06  André Pönitz  <poenitz@gmx.net>
5615
5616         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5617
5618 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5619
5620         * graph.C:
5621         * paragraph_pimpl.C: Small fixes to build using STLport
5622
5623 2003-10-02  André Pönitz  <poenitz@gmx.net>
5624
5625         * lyxfunc.C:
5626         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5627
5628 2003-10-01  André Pönitz  <poenitz@gmx.net>
5629
5630         * factory.C: assert early
5631
5632 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * lyx_main.C: remove the global debug object
5635
5636         * debug.h: adjust for new debugstream
5637
5638         * debug.C: adjust for new debugstream and keep the global debug
5639         object here.
5640
5641 2003-09-22  Angus Leeming  <leeming@lyx.org>
5642
5643         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5644         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5645         an incomplete class LyXFont.
5646
5647 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5648
5649         * factory.C: bug fix in branches
5650
5651 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * lyxfunc.C (processKeySym): adjust
5654         (dispatch): adjust
5655         (dispatch): change arg name from ev to func, adjust
5656         (sendDispatchMessage): ditto
5657
5658         * lyx_main.C (defaultKeyBindings): adjust keybindings
5659         (deadKeyBindings): ditto
5660
5661         * kbsequence.C (addkey): return a FuncRequest
5662
5663         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5664
5665         * kbmap.C (bind): take a FuncRequest as arg, adjust
5666         (read): adjust
5667         (lookup): adjust
5668         (defkey): change to take a FuncRequest as arg, adjust
5669         (findbinding): take a FuncRequest as arg, adjust.
5670
5671         * funcrequest.h (operator=): added
5672
5673         * funcrequest.C (FuncRequest): default kb_action changed from
5674         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5675
5676         * buffer.C (dispatch): simplify
5677         (dispatch): adjust to take a FuncRequest as arg, adjust
5678
5679         * boost.C (assertion_failed): change assertion message slightly
5680
5681         * ToolbarBackend.C (read): simplify
5682
5683         * MenuBackend.C (binding): adjust call to findbinding, add a
5684         message if no binding is found.
5685         (read): simplify
5686         (expandToc): correct by adding a empty FuncRequest
5687
5688         * LyXAction.C: include <boost/assert.hpp>
5689         (isPseudoAction): delete function
5690         (LookupFunc): change name to...
5691         (lookupFunc): this. change return type to FuncRequest.
5692         (getActionName): take kb_action as arg, simplify
5693         (funcHasFlag): add an assert, simplify.
5694
5695 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5696
5697         * toc.C (action): return a FuncRequest, simplify
5698
5699         * lyxfunc.C (processKeySym): adjust
5700         (getStatus): delete version that takes an int.
5701         (getStatus): adjust
5702         (dispatch): delete version that takes action as int
5703         (dispatch): adjust
5704         (sendDispatchMessage): simplify and adjust
5705
5706         * funcrequest.C (getArg): take unsigned int as arg
5707
5708         * ToolbarBackend.C (read): adjust
5709         (add): delete version that takes func as a string.
5710         (getIton): take a FuncRequest as arg
5711
5712         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5713         action.
5714
5715         * MenuBackend.C (MenuItem): add a new construct that only takes a
5716         Kind, simplify the constructor use for submenus.
5717         (add): adjust
5718         (expandLastfiles): adjust
5719         (expandDocuments): adjust
5720         (expandFormats): adjust
5721         (expandFloatListInsert): adjust
5722         (expandFloatInsert): adjust
5723         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5724
5725         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5726         Remove class variables lyx_pseudo_map and lyx_arg_map
5727
5728         * LyXAction.C (searchActionArg): delete function
5729         (getPseudoAction): delete function
5730         (retrieveActionArg): delete function
5731         (LookupFunc): make it return kb_action, simplify.
5732         (getActionName): simplify
5733
5734         * factory.C (createInset): fix new bug
5735
5736 2003-09-19  Angus Leeming  <leeming@lyx.org>
5737
5738         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5739         masterFilename_ parameter in the include inset.
5740
5741         * factory.C (createInset): changes due to the changes to InsetInclude.
5742
5743 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5744
5745         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5746
5747 2003-09-18  Angus Leeming  <leeming@lyx.org>
5748
5749         * buffer.C:
5750         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5751         Inset::fillWithBibKeys.
5752         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5753
5754 2003-09-18  Angus Leeming  <leeming@lyx.org>
5755
5756         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5757         variables.
5758         (ctor): pass and store a 'Buffer const &'
5759         (buffer): new member function.
5760
5761         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5762         '*this' to the LaTeXFeatures ctor.
5763
5764 2003-09-18  Angus Leeming  <leeming@lyx.org>
5765
5766         * LColor.h:
5767         * lyxfont.C:
5768         * lyxfont.h:
5769         * lyxtext.h:
5770         * text.C: rename EnumLColor as LColor_color.
5771
5772 2003-09-18  Angus Leeming  <leeming@lyx.org>
5773
5774         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5775         remove #include "insets/insetbase.h" from cursor.h.
5776
5777 2003-09-18  Angus Leeming  <leeming@lyx.org>
5778
5779         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5780         InsetOld_code to remove #include "inset.h".
5781
5782         * iterators.C: add #include "insets/inset.h"
5783
5784 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5785
5786         * BufferView.C: remove more locking stuff that apparently doesn't
5787         do anything sensible.
5788
5789 2003-09-16  André Pönitz  <poenitz@gmx.net>
5790
5791         * paragraph.[Ch]:
5792         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5793           performance boost.
5794
5795 2003-09-16  Angus Leeming  <leeming@lyx.org>
5796
5797         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5798
5799         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5800         arg/return type.
5801
5802         * paragraph.h: remove #include "lyxfont.h". Forward declare
5803         LyXFont_size.
5804
5805 2003-09-16  Angus Leeming  <leeming@lyx.org>
5806
5807         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5808         of support/textutils.h.
5809         (isWord): move the contents of support/textutils.h's IsWordChar here.
5810
5811         * buffer.C:
5812         * lyxfind.C:
5813         * rowpainter.C:
5814         * text.C:
5815         * text2.C: add #include "paragraph.h".
5816
5817         * rowpainter.C:
5818         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5819
5820 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * main.C:
5823         * lyx_main.C:
5824         * lyx_cb.C:
5825         * buffer.C:
5826         * LaTeX.C: use namespace alias for lyx::support::os
5827
5828 2003-09-16  Angus Leeming  <leeming@lyx.org>
5829
5830         * bufferparams.C:
5831         * bufferview_funcs.C:
5832         * factory.C:
5833         * lyxfunc.C:
5834         * paragraph_pimpl.C:
5835         * rowpainter.C:
5836         * text.C: add #include "LColor.h".
5837
5838 2003-09-16  Angus Leeming  <leeming@lyx.org>
5839
5840         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5841         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5842         return LyXFont &.
5843         Store the FontBits::color variable as an int rather than as an
5844         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5845         file.
5846
5847         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5848         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5849         string calls together.
5850
5851         * lyxrc.C: add #include "LColor.h".
5852
5853 2003-09-15  Angus Leeming  <leeming@lyx.org>
5854
5855         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5856         a cow_ptr.
5857
5858 2003-09-15  Angus Leeming  <leeming@lyx.org>
5859
5860         * LColor.h: add an EnumLColor wrapper for LColor::color.
5861
5862         * lyxfont.[Ch] (color, setColor, realColor):
5863         * lyxtext.h, text.C (backgroundColor):
5864         pass EnumLColor args to/from the functions, rather than LColor::color
5865         ones.
5866
5867         * lyxfont.h:
5868         * lyxtext.h: forward declare EnumLColor.
5869
5870         * lyx_main.C: add #include "LColor.h".
5871
5872 2003-09-15  Angus Leeming  <leeming@lyx.org>
5873
5874         * .cvsignore: add lyx-gtk.
5875
5876 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * Chktex.C
5879         * LaTeX.C
5880         * LaTeXFeatures.C
5881         * ParagraphParameters.C
5882         * Spacing.C
5883         * buffer.C
5884         * bufferparams.C
5885         * bufferview_funcs.C
5886         * chset.C
5887         * counters.C
5888         * funcrequest.C
5889         * lyxfont.C
5890         * lyxgluelength.C
5891         * lyxlength.C
5892         * paragraph.C
5893         * paragraph_funcs.C
5894         * text3.C
5895         * vc-backend.C: remove usage of STRCONV
5896
5897 2003-09-15  Angus Leeming  <leeming@lyx.org>
5898
5899         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5900         explicitly define the color passed to the painter.
5901
5902 2003-09-15  Angus Leeming  <leeming@lyx.org>
5903
5904         * bufferparams.C (BufferParams): reorder member initializers to avoid
5905         compiler warning.
5906
5907 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5908
5909         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5910         * text.C (updateRowPositions): remove an unusual nop
5911
5912 2003-09-12  André Pönitz  <poenitz@gmx.net>
5913
5914         * BufferView_pimpl.C:
5915         * Bullet.C:
5916         * layout.h:
5917         * lyxfunc.C:
5918         * lyxlayout.[Ch]:
5919         * lyxtextclass.C:
5920         * rowpainter.C:
5921         * text.C:
5922         * text2.C:
5923         * Counters.[Ch]: finish the 'automatic counters' job
5924
5925 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5926
5927         * aspell.C: include <boost/assert.cpp> (compile fix)
5928
5929 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5930
5931         * boost.C (assertion_failed): use lyx::support::abort instead of
5932         assert.
5933
5934 2003-09-10  Angus Leeming  <leeming@lyx.org>
5935
5936         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5937         with their _fwd progeny.
5938
5939 2003-09-09  Angus Leeming  <leeming@lyx.org>
5940
5941         134 files throughtout the source tree: replace 'using namespace abc;'
5942         directives with the appropriate 'using abc::xyz;' declarations.
5943
5944 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5945
5946         * boost.C (emergencyCleanup): moved here from LAssert.c
5947         (assertion_failed): new function, called by BOOST_ASSERT
5948
5949         * several files: change Assert to BOOST_ASSERT
5950
5951 2003-09-09  Angus Leeming  <leeming@lyx.org>
5952
5953         * buffer.[Ch]: Add an Impl class and move Buffer's member
5954         variables into it. As a result move several header files out of
5955         buffer.h.
5956
5957         Add header files to lots of .C files all over the tree as a result.
5958
5959 2003-09-09  Angus Leeming  <leeming@lyx.org>
5960
5961         * buffer.[Ch]: make Buffer's member variables private. Add
5962         accessor functions.
5963
5964         Lots of changes all over the tree as a result.
5965
5966 2003-09-08  Angus Leeming  <leeming@lyx.org>
5967
5968         * graph.C: #include <config.h>.
5969
5970 2003-09-08  Angus Leeming  <leeming@lyx.org>
5971
5972         * BranchList.C:
5973         * BufferView.C:
5974         * BufferView_pimpl.C:
5975         * CutAndPaste.C:
5976         * DepTable.C:
5977         * LaTeX.C:
5978         * LaTeXFeatures.C:
5979         * LyXAction.C:
5980         * MenuBackend.C:
5981         * TextCache.C:
5982         * aspell.C:
5983         * buffer.C:
5984         * bufferlist.C:
5985         * changes.C:
5986         * chset.C:
5987         * converter.C:
5988         * counters.C:
5989         * debug.C:
5990         * graph.C:
5991         * ispell.C:
5992         * lyx_cb.C:
5993         * lyxfind.C:
5994         * lyxfunc.C:
5995         * lyxlex_pimpl.C:
5996         * lyxrc.C:
5997         * lyxrow.C:
5998         * paragraph.C:
5999         * rowpainter.C:
6000         * texrow.C:
6001         * text.C:
6002         * text2.C:
6003         * toc.C: remove redundant using directives.
6004
6005 2003-09-07  Angus Leeming  <leeming@lyx.org>
6006
6007         * LaTeXFeatures.h: remove #include "support/types.h".
6008         * ToolbarBackend.h: remove #include <algorithm>.
6009         * changes.h: remove #include <ctime>.
6010         * debug.h: remove #include <iosfwd>.
6011         * graph.h: remove #include "support/std_string.h".
6012         * lyx_main.h: remove #include <csignal>.
6013         * lyxlex_pimpl.h: remove #include <fstream>.
6014         * sgml.h: remove #include <algorithm>, <utility>.
6015         * toc.h: remove #include "support/std_ostream.h".
6016         Add #include <iosfwd>.
6017
6018 2003-09-07  Angus Leeming  <leeming@lyx.org>
6019
6020         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6021
6022         * converter.h: forward declare LatexRunParams.
6023         * encoding.h: remove #include "lyxrc.h".
6024         * lyxtext.h: remove #include "LColor.h".
6025         * lyxtextclass.h: remove #include "support/types.h".
6026         * trans.h: remove #include "tex-accent.h".
6027         * trans_mgr.h: remove #include "tex-accent.h".
6028         * insets/inset.h: remove #include "support/types.h", <vector>.
6029         * insets/insetcollapsable.h: remove #include "LColor.h".
6030         * insets/insetinclude.h: remove #include "dimension.h".
6031         * insets/insetlatexaccent.h: remove #include "dimension.h".
6032         * insets/insetoptarg.h:: remove #include "insettext.h".
6033         * insets/insettext.h: remove #include "dimension.h",
6034         <boost/shared_ptr.hpp>
6035
6036         * insets/renderers.h: add #include "dimension.h".
6037         * insets/updatableinset.h: add #include "support/types.h".
6038
6039         * many .C files: Associated changes.
6040
6041 2003-09-06  Angus Leeming  <leeming@lyx.org>
6042
6043         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6044         one, inside testInvariant.
6045
6046         * PrinterParams.C: new file.
6047         * PrinterParams.[Ch]: move the function bodies out of line.
6048
6049 2003-09-06  Angus Leeming  <leeming@lyx.org>
6050
6051         * ParagraphParameters.h: forward declare ParameterStruct rather than
6052         including its header file.
6053         (depth): moved out-of-line.
6054
6055 2003-09-06  Angus Leeming  <leeming@lyx.org>
6056
6057         * BufferView_pimpl.h:
6058         * kbmap.h:
6059         * kbsequence.h:
6060         * lyxfunc.h: forward declare LyXKeySym rather than
6061         #include "frontends/LyXKeySym.h".
6062
6063         * BufferView_pimpl.C:
6064         * kbmap.C:
6065         * kbsequence.C:
6066         * lyxfunc.C: associated changes.
6067
6068 2003-09-06  Angus Leeming  <leeming@lyx.org>
6069
6070         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6071         As a result, can remove the #include "insets/inset.h" from BufferView.h
6072
6073 2003-09-06  Angus Leeming  <leeming@lyx.org>
6074
6075         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6076         As a result, can remove the #include "insets/inset.h" from BufferView.h
6077
6078 2003-09-06  Angus Leeming  <leeming@lyx.org>
6079
6080         * buffer_funcs.C:
6081         * buffer.h:
6082         * bufferlist.C:
6083         * BufferView.C:
6084         * bufferview_funcs.C:
6085         * BufferView_pimpl.C:
6086         * CutAndPaste.C:
6087         * lyx_cb.C:
6088         * lyxfunc.C:
6089         * paragraph.h:
6090         * ParagraphParameters.C:
6091         * tabular.C:
6092         * text3.C:
6093         * toc.C:
6094         * undo_funcs.C:
6095         * frontends/controllers/ControlDocument.C:
6096         * insets/insetcaption.C: rearrange the #includes into some sort of
6097         coherent order.
6098
6099         * buffer.h: remove #includes ErrorList.h, undo.h
6100
6101 2003-09-06  Angus Leeming  <leeming@lyx.org>
6102
6103         * support/types.h: add a 'depth_type' typedef, used to store the
6104         nesting depth of a paragraph.
6105
6106         * paragraph.h:
6107         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6108         defining explicitly.
6109
6110         * buffer.h:
6111         * paragraph_funcs.h:
6112         * ParagraphParameters.h:
6113         * sgml.h: use lyx::depth_type rather than Paragraph or
6114         ParameterStruct's depth_type.
6115
6116         * buffer.h
6117         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6118
6119         * BufferView.C:
6120         * BufferView_pimpl.C:
6121         * CutAndPaste.C:
6122         * ParagraphParameters.C:
6123         * buffer_funcs.C:
6124         * bufferlist.C:
6125         * bufferview_funcs.C:
6126         * lyx_cb.C:
6127         * lyxfunc.C:
6128         * tabular.C:
6129         * text3.C:
6130         * toc.C:
6131         * undo_funcs.C:
6132         * frontends/LyXView.C:
6133         * frontends/controllers/ControlDocument.C:
6134         * frontends/controllers/ControlErrorList.C:
6135         * insets/insetbibitem.C:
6136         * insets/insetbranch.C:
6137         * insets/insetcaption.C:
6138         * insets/insetcollapsable.C:
6139         * insets/insetenv.C:
6140         * insets/insetert.C:
6141         * insets/insetfloat.C:
6142         * insets/insetfoot.C:
6143         * insets/insetfootlike.C:
6144         * insets/insetnewline.C:
6145         * insets/insetquotes.C:
6146         * insets/insettabular.C:
6147         * insets/insettext.C:
6148         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6149
6150         * frontends/controllers/ControlChanges.C: #include "changes.h".
6151
6152 2003-09-06  Angus Leeming  <leeming@lyx.org>
6153
6154         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6155         than #including paragraph.h.
6156
6157         * ParagraphList.h:
6158         * RowList.h: deleted. Superfluous.
6159
6160         * CutAndPaste.h:
6161         * iterators.h:
6162         * lyxcursor.h:
6163         * lyxtext.h:
6164         * text_funcs.h:
6165         * undo.h:
6166         * undo_funcs.h:
6167         * insets/inset.h:
6168         * insets/insettext.h: use ParagraphList_fwd.h rather than
6169         ParagraphList.h.
6170
6171         * paragraph.h: don't forward declare ParagraphList.
6172
6173         * buffer.h:
6174         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6175         rather than ParagraphList.h. paragraph.h is still needed for the
6176         Paragraph::depth_type parameters.
6177
6178         * textcursor.h: enable it to compile stand-alone in light of the
6179         above changes.
6180
6181         * bufferview_funcs.C:
6182         * iterators.C:
6183         * lyxfunc.C:
6184         * lyxrow_funcs.C:
6185         * paragraph.C:
6186         * rowpainter.C:
6187         * text.C:
6188         * text2.C:
6189         * text3.C:
6190         * text_funcs.C:
6191         * textcursor.C:
6192         * undo.C:
6193         * frontends/controllers/ControlParagraph.C:
6194         * frontends/controllers/ControlTabular.C:
6195         * insets/insetmarginal.C:
6196         * insets/insetminipage.C:
6197         * insets/insetnote.C:
6198         * insets/insetoptarg.C: add header files needed to compile again.
6199
6200 2003-09-06  Angus Leeming  <leeming@lyx.org>
6201
6202         * RowList_fwd.h: new file, forward-declaring Row rather than
6203         #including lyxrow.h.
6204
6205         * lyxrow_funcs.h:
6206         * lyxtext.h:
6207         * paragraph.h:
6208         * insets/insettext.h: use it instead of RowList.h
6209
6210         * bufferview_funcs.C:
6211         * lyxfunc.C:
6212         * lyxrow_funcs.C:
6213         * paragraph.C:
6214         * rowpainter.C:
6215         * text.C:
6216         * text2.C:
6217         * text3.C: #include "RowList.h".
6218
6219 2003-09-05  Angus Leeming  <leeming@lyx.org>
6220
6221         * factory.C (createInset):
6222         * vspace.C (c-tor): replace sscanf call with an istringstream.
6223         * ispell.C: re-add missing HP/UX headers.
6224         * lyxserver.C: re-add missing  os2 headers.
6225
6226 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6227
6228         * BranchList.C:
6229         * graph.C:
6230         * ispell.C:
6231         * lastfiles.C:
6232         * lyx_cb.C:
6233         * lyxserver.C:
6234         * texrow.C:
6235         * text3.C: re-add missing system headers, needed for 2.95.2.
6236
6237 2003-09-05  Angus Leeming  <leeming@lyx.org>
6238
6239         Changes most place everywhere due to the removal of using directives
6240         from support/std_sstream.h.
6241
6242 2003-09-05  Angus Leeming  <leeming@lyx.org>
6243
6244         Replace LString.h with support/std_string.h,
6245         Lsstream.h with support/std_sstream.h,
6246         support/LIstream.h with support/std_istream.h,
6247         support/LOstream.h with support/std_ostream.h.
6248
6249         Changes resulting throughout the tree.
6250
6251 2003-09-05  Angus Leeming  <leeming@lyx.org>
6252
6253         * sgml.h: ensure that the header file can be compiled stand-alone.
6254         * *.C: strip out redundant #includes. (320 in total.)
6255
6256 2003-09-04  Angus Leeming  <leeming@lyx.org>
6257
6258         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6259         here (from getPackages).
6260
6261         * debug.[Ch]: add a new EXTERNAL tag.
6262
6263 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6264
6265         * text2.C (cursorEnd): simplify
6266         (setCursor): adjust
6267         (getColumnNearX): adjust
6268
6269         * text.C (computeBidiTables): adjust
6270         (fill): adjust
6271
6272         * rowpainter.C (paintChars): adjust
6273         (paintSelection): adjust
6274         (paintChangeBar): adjust
6275         (paintText): adjust
6276
6277         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6278         lastPos instead.
6279         (numberOfSeparators): adjust
6280
6281 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6282
6283         * LyXAction.C:
6284         * box.[Ch]:
6285         * lfuns.h:
6286         * lyxfunc.C:
6287         * text3.C: Restricts the mouse click functionality
6288         of insets like bibtex, include, toc and floatlist to the visible
6289         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6290         up the dialogs. Cursor has to be in front of the inset (i.e.
6291         start of row) for this to function.
6292
6293 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6294
6295         * bufferview_funcs.C (currentState): output row information
6296
6297 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6298
6299         * bufferview_funcs.C (currentState): output paragraph position
6300
6301 2003-09-04  Angus Leeming  <leeming@lyx.org>
6302
6303         * FloatList.h: move out #include "Floating.h".
6304         * LaTeX.h: move out #include "DepTable.h".
6305         * LyXAction.h: move out #include "funcrequest.h".
6306         * buffer.h: move out #include "author.h", "iterators.h".
6307         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6308         * lyx_main.h: move out #include "errorlist.h".
6309         * lyxfunc.h: move out #include "FuncStatus.h".
6310         * lyxtext: move out #include "lyxcursor.h".
6311         * paragraph_pimpl.h: move out #include "counters.h".
6312
6313 2003-09-03  Angus Leeming  <leeming@lyx.org>
6314
6315         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6316         preamble_snippets list, enabling us to add snippets to the preamble
6317         only if the snippet was not there already.
6318
6319 2003-09-04  Angus Leeming  <leeming@lyx.org>
6320
6321         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6322
6323 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6326         update
6327
6328 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6329
6330         * BranchList.C: point fix, earlier forgotten
6331
6332 2003-09-02  Angus Leeming  <leeming@lyx.org>
6333
6334         * box.C (contains): renamed from 'contained' after a fantastic
6335         amount of hot air.
6336
6337 2003-09-02  John Levon  <levon@movementarian.org>
6338
6339         * BufferView.C:
6340         * lyxcursor.h:
6341         * lyxcursor.C:
6342         * lyxfunc.C:
6343         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6344
6345 2003-09-02  John Levon  <levon@movementarian.org>
6346
6347         * text2.C: simplification of cursorEnd(), including partial
6348         fix for bug 1376
6349
6350 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * buffer.C (readFile): add a space
6353
6354 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6355
6356         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6357
6358 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6359
6360         * buffer.C (readFile): new function, take a filename and a
6361         ParagraphList::iterator
6362         (readFile): adjust
6363         (readFile): adjust, make it private. don't use setStream, make
6364         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6365         always contain the filename.
6366
6367         * BufferView.C (insertLyXFile): simplify and make it work for
6368         gzipped files.
6369
6370 2003-08-30  John Levon  <levon@movementarian.org>
6371
6372         * Makefile.am: fix dist (from Kayvan)
6373
6374 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6375
6376         * most files: change to use const Buffer refs
6377
6378 2003-08-27  André Pönitz  <poenitz@gmx.net>
6379
6380         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6381         on top of ownerPar().
6382
6383 2003-08-27  John Levon  <levon@movementarian.org>
6384
6385         * funcrequest.C: properly initialise POD members
6386
6387 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6388
6389         * lyxtext.h (top_y): move top_y from here
6390         * text.C:
6391         * text2.C:
6392         * text3.C:
6393         * BufferView.[Ch]:
6394         * BufferView_pimpl.[Ch]: to here
6395         * frontends/screen.C:
6396         * insets/insettabular.C:
6397         * insets/insettext.C: adjust
6398         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6399
6400 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6401
6402         * BufferView.[Ch]:
6403         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6404
6405 2003-08-26  André Pönitz  <poenitz@gmx.net>
6406
6407         * paragraph_func.[Ch] (outerPar): new function
6408
6409         * paragraph.C:
6410         * paragraph_funcs.C:
6411         * paragraph_funcs.h:
6412         * paragraph_pimpl.C:
6413         * text2.C: remove Inset::par_owner
6414
6415 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6416
6417         * lyxrow_funcs.C:
6418         * lyxtext.h:
6419         * text.C:
6420         * text2.C: eliminates the needFullRow/display() stuff
6421         altogether, putting the logic in metrics/draw in the insets.
6422
6423 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6424
6425         * text2.C (redoParagraphInternal, redoParagraphs):
6426         * text.C (redoParagraph): add a call to updateRowPositions at the
6427         end of each 'metrics-like' call. Remove all others.
6428         (getRow): remove the 'y-computing' version.
6429         (getRowNearY): do not compute nor return the real y. Solve the
6430         'y < 0' problem and simplify.
6431
6432 2003-08-22  Angus Leeming  <leeming@lyx.org>
6433
6434         * *.[Ch]: clean-up of licence and author blurbs.
6435         Also move config.h out of a few .h files and into a few .C files.
6436
6437 2003-08-22  André Pönitz  <poenitz@gmx.net>
6438
6439         * lyxrow.[Ch]: add x_ and *fill_ members
6440
6441         * lyxtext.h:
6442         * text.C:
6443         * rowpainter.C:
6444         * text2.C: adjust/remove prepareToPrint() calls
6445
6446 2003-08-22  André Pönitz  <poenitz@gmx.net>
6447
6448         * lyxrow.[Ch]: add  end_ member
6449
6450         * lyxrow_funcs.C: use LyXRow::end_
6451
6452         * lyxtext.h (singleWidth): add LyXFont parameter
6453
6454         * rowpainter.C:
6455         * text2.C: adjust LyXText::singleWidth() calls
6456
6457         * text.C (redoParagraph): simplify row breaking logic
6458
6459
6460 2003-08-19  André Pönitz  <poenitz@gmx.net>
6461
6462         * funcrequest.C: initialize button_ member
6463
6464         * text3.C:
6465         * rowpainter.[Ch]: interface consolidation
6466
6467 2003-08-18  André Pönitz  <poenitz@gmx.net>
6468
6469         * BufferView.C:
6470         * BufferView_pimpl.C:
6471         * lyxfind.C:
6472         * paragraph_funcs.C:
6473         * rowpainter.C:
6474         * text3.C: remove LyXScreen::draw() and fitCursor calls
6475
6476         * BranchList.h: remove spurious semicolons
6477
6478         * MenuBackend.C: fix branchlist related crash
6479
6480 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6481
6482         * BranchList.[Ch]:
6483         * InsetList.[Ch]:
6484         * LColor.[Ch]:
6485         * LyXAction.C:
6486         * Makefile.am:
6487         * MenuBackend.[Ch]:
6488         * bufferparams.[Ch]:
6489         * factory.C:
6490         * lfuns.h:
6491         * lyxfunc.C:
6492         * text3.C: implements the 'branch inset'
6493         idea. This allows the output of various versions of a document
6494         from a single source version, selectively outputing or suppressing
6495         output of parts of the text.
6496         This implementation contains a 'branch list editor' in a separate
6497         tab of the document settings dialog. Branches are user definable
6498         and have a "display colour" to distinguish them on-screen.
6499
6500         ColorHandler was somewhat cleaned up.
6501         (1) make possible a dynamically growing LColor list by allowing
6502         the graphic context cache to grow along (vector);
6503         (2) eliminate an IMHO unnecessary step in colour allocation.
6504
6505 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6506
6507         * BufferView_pimpl.C: compile fix
6508
6509 2003-08-15  André Pönitz  <poenitz@gmx.net>
6510
6511         * rowpainter.C: remove extra metrics calls
6512
6513         * lyxtext.h: merge the two constructors into a single one,
6514           pass reference to owner's par list
6515
6516         * BufferView_pimpl.C:
6517         * text.C:
6518         * text2.C: adjust
6519
6520 2003-08-15  André Pönitz  <poenitz@gmx.net>
6521
6522         * lyxrow_funcs.[Ch]:
6523         * lyxtext.h:
6524         * paragraph.h:
6525         * paragraph_funcs.C:
6526         * rowpainter.C:
6527         * text.C:
6528         * text2.C:
6529         * text3.C:
6530         * text_funcs.C: split LyXText::rowlist_ into individual
6531         Paragraph::rows_ chunks
6532
6533         * BufferView.[Ch]:
6534         * BufferView_pimpl.[Ch]:
6535         * lyxfind.C:
6536         * lyxtext.h:
6537         * text3.C: remove toggleSelection()
6538
6539 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6540
6541         * bufferlist.C: beautify two alerts (shorter text of buttons)
6542         * buffer.C: Remove redundant ' ' from message
6543         * tabular.h:
6544         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6545         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6546         rename VALIGN_CENTER to VALIGN_MIDDLE
6547
6548 2003-08-11  André Pönitz  <poenitz@gmx.net>
6549
6550         * lyxtext.h (getPar):
6551         * text.C: new function
6552
6553 2003-08-11  André Pönitz  <poenitz@gmx.net>
6554
6555         * Makefile.am:
6556         * tracer.[Ch]: remove unneeded files
6557
6558         * InsetList.[Ch]: remove resizeInsetsLyXText()
6559
6560         * lyxtext.h:
6561         * text.C:
6562         * text2.C:
6563         * text3.C: merge insertParagraphs() and appendParagraph()
6564         remove breakAgain(), update()
6565
6566         * BufferView_pimpl.[Ch]:
6567         * bufferview_funcs.[Ch]:
6568         * lyxfunc.C:
6569         * paragraph.[Ch]:
6570         * rowpainter.C:
6571         * tabular.C: adjust after text & InsetList changes.
6572
6573 2003-08-08  André Pönitz  <poenitz@gmx.net>
6574
6575         * text.C (insertChar, backspace): replace rowlist fiddling
6576         with rebreak of full par
6577
6578         * lyxtext.h:
6579         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6580         checkParagraph, updateInset): removed
6581
6582 2003-08-07  André Pönitz  <poenitz@gmx.net>
6583
6584         * paragraph.C:
6585         * text3.C: merge some LFUN handlers, remove dead code
6586
6587 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6588
6589         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6590
6591 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6592
6593         * text2.C (DEPM): fix part of bug 1255 and 1256
6594
6595 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6596
6597         * BufferView_pimpl.C (workAreaDispatch): change to use
6598         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6599         that are no mouse related.
6600
6601 2003-08-05  André Pönitz  <poenitz@gmx.net>
6602
6603         * BufferView.[Ch]:
6604         * BufferView_pimpl.[Ch]:
6605         * bufferview_funcs.C:
6606         * text2.C:
6607         * text3.C: rip out "deep update"
6608
6609         * textcursor.[Ch] (last_sel_cursor): remove unused member
6610
6611 2003-08-04  André Pönitz  <poenitz@gmx.net>
6612
6613         * BufferView.[Ch]:
6614         * BufferView_pimpl.[Ch]:
6615         * ParagraphParameters.C:
6616         * bufferview_funcs.C:
6617         * lyx_cb.C:
6618         * lyxfind.C:
6619         * lyxfunc.C:
6620         * text.C:
6621         * text2.C:
6622         * text3.C: replace "complicated" BufferView::update(...) calls with
6623         simpler ones.
6624
6625         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6626
6627 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6628
6629         * Makefile.am (lyx_SOURCES): add paper.h
6630
6631 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6632
6633         * Makefile.am: move things around so that both lyx-qt and
6634         lyx-xforms can be built (according to --with-frontend). Then lyx
6635         is a symbolic link to lyx-[firstfrontend]
6636
6637 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6638
6639         * Always use std::endl with lyxerr
6640
6641 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6642
6643         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6644
6645 2003-08-01  André Pönitz  <poenitz@gmx.net>
6646
6647         * BufferView.[Ch]:
6648         * BufferView_pimpl.[Ch]:
6649         * lyxfunc.C:
6650         * text3.C: merge BufferView::repaint() and BufferView::update()
6651
6652 2003-08-01  José Matos  <jamatos@lyx.org>
6653
6654         * buffer.[Ch]: file_format is no longer a buffer data element.
6655
6656 2003-08-01  André Pönitz  <poenitz@gmx.net>
6657
6658         * BufferView.C:
6659         * lyxtext.h:
6660         * text.C:
6661         * text2.C: make redoParagraph more independent of current cursor
6662
6663         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6664         * text.C:
6665         * text2.C: remove unneeded members
6666
6667 2003-07-30  André Pönitz  <poenitz@gmx.net>
6668
6669         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6670
6671         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6672           create a single function...
6673
6674         * paragraph_funcs.C (moveItem): ... here.
6675
6676         * text.C:
6677           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6678
6679 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6680
6681         * LColor.[Ch]: Add comment and greyedout logical colors.
6682
6683 2003-07-30  André Pönitz  <poenitz@gmx.net>
6684
6685         * tabular.C: don't use Assert too heavily. This crashes where it
6686           shouldn't
6687
6688 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6689
6690         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6691         is disabled (bug 1232)
6692
6693 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6694
6695         * factory.C: limited 'arg' scope
6696
6697 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6698
6699         * factory.C: fixed Note submenu issues
6700
6701 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6702
6703         * factory.C: submenu for Note/Comment/Greyedout
6704
6705 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6706
6707         * lyx_main.C (LyX):
6708         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6709
6710 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6711
6712         * LaTeXFeatures.C:
6713         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6714         greyedout. Patch provided by Jürgen Spitzmüller.
6715
6716 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6717
6718         * kbmap.C (read): fix error message when reading bind files
6719
6720 2003-07-29  Angus Leeming  <leeming@lyx.org>
6721
6722         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6723         certainly does not do what it purports to do. I am doing it, and
6724         us, a favour by killing it.
6725
6726 2003-07-28  José Matos  <jamatos@lyx.org>
6727
6728         * buffer.C (readBody, do_writeFile):
6729         * paragraph.C(readParagraph): \end_document replaces \the_end.
6730
6731 2003-07-29  André Pönitz  <poenitz@gmx.net>
6732
6733         * BufferView.[Ch]:
6734         * BufferView_pimpl.[Ch]:
6735         * lyxfunc.C:
6736         * text2.C:
6737         * text3.C:
6738         * textcursor.[Ch]: remove toggleToggle & Co
6739
6740 2003-07-28  José Matos  <jamatos@fep.up.pt>
6741
6742         * buffer.C (readParagraph):
6743         * params_func (readParToken, readParagraph):
6744         * paragraph.C (write): \layout -> \begin_layout.
6745
6746 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * lyxlex_pimpl.C (setFile): clean up slightly.
6749
6750         * bufferparams.h: add compressed var
6751
6752         * buffer_funcs.C (readFile): adjust for LyXLex change
6753         (newFile): ditto + simplify
6754
6755         * buffer.C (writeFile): handle writing of compressed files
6756
6757         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6758         Check if the file is compressed and set a bufferparm if so.
6759
6760         * Makefile.am (lyx_LDADD): remove explicit -lz
6761
6762 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6763
6764         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6765         makeDocBookFile): put the real LyX version in the first line of
6766         the file
6767
6768         * version.h:
6769         * version.C.in: remove lyx_docversion
6770
6771         * tabular.C (write_attribute): add a template-based version to
6772         write enums properly
6773
6774 2003-07-28  André Pönitz  <poenitz@gmx.net>
6775
6776         * lyxtext.h:
6777         * text.C:
6778         * text2.C:
6779         * text3.C: use doubles again for x-coordinates. They are needed.
6780
6781 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6782
6783         * messages.C (getLocaleDir): use lyx_localedir()
6784
6785         * lyxlex_pimpl.C (setFile): compress stuff
6786
6787         * buffer.C (writeFile): add some compression stuff
6788         (do_writeFile): new func, dont call expliti close... will this
6789         breake anything?
6790
6791         * Makefile.am (lyx_LDADD): add -lz
6792
6793 2003-07-28  José Matos  <jamatos@fep.up.pt>
6794
6795         * buffer.C: increment file format.
6796         * paragraph_funcs (readParagraph, readParToken):
6797         * paragraph.C (readParagraph): add \end_layout.
6798
6799 2003-07-27  Angus Leeming  <leeming@lyx.org>
6800
6801         * Makefile.am: remove special casing for configure-time setting of
6802         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6803
6804         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6805         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6806
6807 2003-07-26  André Pönitz  <poenitz@gmx.net>
6808
6809         * paragraph_func.[Ch]:
6810         * paragraph.C (realizeFont): inline it whereever it is used
6811
6812         * rowpainter.C:
6813         * text.C:
6814         * text2.C:
6815         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6816
6817
6818 2003-07-26  André Pönitz  <poenitz@gmx.net>
6819
6820         *       lyxtext.h:
6821         * text.C:
6822         * text2.C: get rid of LyXText::need_break_row
6823
6824 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6825
6826         * toc.[Ch]: put namespace toc inside namespace lyx
6827
6828         * MenuBackend.C (expandToc2): adjust for lyx::toc
6829         (expandToc): ditto
6830
6831         * lyxfunc.C (dispatch): adjust for lyx::find
6832
6833         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6834         lyx::find instead. Reorganize a bit.
6835         (LyXReplace): rename to replace
6836         (LyXFind): rename to find
6837
6838         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6839         (dispatch): ditto
6840
6841 2003-07-26  André Pönitz  <poenitz@gmx.net>
6842
6843         * text.C (setHeightOfRow): restrict scope of temporary variable
6844
6845         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6846           code (never has been used?)
6847
6848 2003-07-27  Asger Alstrup  <alstrup@local>
6849
6850         * text.C (fill): Optimise algorithm to exploit that we can reuse
6851         the LyXFont for many characters.
6852         (setHeightOfRow): Same thing.
6853         (rowBreakPoint): Same thing.
6854
6855 2003-07-26  Asger Alstrup  <alstrup@local>
6856
6857         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6858
6859         * text.C (singleWidth): Spurious font copying in hot-spot
6860         singleWidth avoided. Reorder tests for arabic for efficiency.
6861
6862         * text.C (fill): handle empty paragraphs better.
6863
6864 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6865
6866         * ispell.C:
6867         * encoding.h: add includes
6868
6869         * lyxrc.C: remove reading of bind files
6870
6871         * lyx_main.C (init): setup bindings and menus only if we have a
6872         gui.
6873
6874         * kbmap.C (read): new method. Do the actual reading of bind
6875         files.
6876
6877         * converter.C (dvipdfm_options):
6878         * bufferparams.C:
6879         * lyxrc.C (read):
6880         (output): adapt PAPER_* enums.
6881
6882         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6883
6884         * bufferparams.h: remove paper-related enums from there
6885
6886         * paper.h: New file. A trivial header file to hold paper-related
6887         enums. It should later expand to contain many paper-related
6888         horrors access.
6889
6890         * lyxrc.C: declare extern displayTranslator
6891
6892 2003-07-27  José Matos  <jamatos@fep.up.pt>
6893
6894         * tabular.[Ch] (linuxdoc): add support for tables and figures
6895         (linuxdoc).
6896
6897 2003-07-27  José Matos  <jamatos@fep.up.pt>
6898
6899         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6900         consistency in both functions.
6901         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6902
6903 2003-07-26  Asger Alstrup  <alstrup@local>
6904
6905         * rowpainter.C (paintRows): Change algorithm to work directly on
6906         the insets rather than asking every character in the document
6907         whether its an inset.
6908
6909 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6910
6911         * buffer.C (openFileWrite): factorize some code
6912
6913 2003-07-26  Angus Leeming  <leeming@lyx.org>
6914
6915         * lyx_cb.C:
6916         * lyx_main.[Ch]: replace occurances of system_tempdir with
6917         os::getTmpDir().
6918
6919 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * rename Inset to InsetOld
6922
6923 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6924
6925         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6926         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6927         which I think is a bit clearer. EDIT is gone, since it was
6928         premature optimisation, and broken for mathed anyway.
6929         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6930         with cursor positioning in insets as well (math insets still do not
6931         work, but that's a different story anyway.) It mysteriously
6932         crashes sometimes with undo in the first paragraph, but I'm fairly
6933         confident that this is a compiler bug.
6934
6935 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6936
6937         * paragraph.C (Paragraph): adjust for new clone return type
6938         (operator==): ditto
6939         (copyIntoMinibuffer): ditto
6940
6941 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6942
6943         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6944         by not having a special case, and always doing a full rebreak of
6945         the document after undo.
6946
6947 2003-07-23  Angus Leeming  <leeming@lyx.org>
6948
6949         * factory.C (createInset): InsetExternal::setParams now takes a
6950         Buffer const * arg.
6951
6952 2003-07-23  Angus Leeming  <leeming@lyx.org>
6953
6954         * factory.C (createInset): changed interface to the external and
6955         graphics mailers' string2params functions.
6956
6957 2003-07-23  Angus Leeming  <leeming@lyx.org>
6958
6959         * factory.C (createInset): pass a
6960         Buffer const * parameter to InsetExternalMailer's string2params.
6961
6962 2003-07-22  John Levon  <levon@movementarian.org>
6963
6964         * Thesaurus.h: include the right aiksaurus header
6965
6966 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6967
6968         * MenuBackend.C (expand): check menu shortcuts unconditionally
6969
6970 2003-07-21  Angus Leeming  <leeming@lyx.org>
6971
6972         * factory.C (createInset): pass a
6973         buffer_path parameter to InsetGraphicsMailer's string2params.
6974
6975 2003-07-21  Angus Leeming  <leeming@lyx.org>
6976
6977         * BufferView_pimpl.C (buffer):
6978         * buffer.C (d-tor):
6979         * lyx_main.C (LyX):
6980         * lyxfunc.C (dispatch):
6981         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6982         rather than the grfx shortcut.
6983
6984 2003-07-21  André Pönitz  <poenitz@gmx.net>
6985
6986         * rowpainter.C: remove unused variables
6987
6988         * tabular_funcs.C:
6989         * tabular_funcs.h: move to tabular.C
6990         * Makefile.am: adjust
6991
6992         * tabular.[Ch]: basic optical cleaning
6993
6994         * author.h: pass references, not values
6995
6996 2003-07-18  André Pönitz  <poenitz@gmx.net>
6997
6998         * lyxtext.h:
6999         * metricsinfo.C:
7000         * metricsinfo.h:
7001         * rowpainter.C:
7002         * text.C:
7003         * text2.C:
7004         * text3.C: two-phase drawing for InsetText and InsetTabular
7005         some float -> int changes.
7006
7007 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7008
7009         * lyx_main.C: fix the fix
7010
7011 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7012
7013         * lyx_main.C: fix a crash in batch mode if no files specified
7014         * converter.C: ws
7015
7016 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7017
7018         * format.[Ch] (papersize): moved to BufferParams
7019         * converter.[Ch] (dvips_options): moved to BufferParams
7020         (dvipdfm_options): moved to anon namespace
7021         * bufferparams.[Ch]: added above functions.
7022
7023 2003-07-17  André Pönitz  <poenitz@gmx.net>
7024
7025         * lyxtext.h:
7026         * rowpainter.C:
7027         * text2.C: don't call inset->update() anymore
7028
7029         * metricsinfo.[Ch]: add convenience constructor
7030
7031 2003-07-16  André Pönitz  <poenitz@gmx.net>
7032
7033         * lyxcursor.[Ch]:
7034         * lyxfunc.[Ch]:
7035         * text.C:
7036         * text2.C: replace the LyXCursor::irow_ member with
7037          on-demand computation of the value
7038
7039 2003-07-16  John Levon  <levon@movementarian.org>
7040
7041         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7042
7043 2003-07-15  André Pönitz  <poenitz@gmx.net>
7044
7045         * text.C:
7046         * text2.C: remove no more needed refresh_row
7047
7048 2003-07-15  André Pönitz  <poenitz@gmx.net>
7049
7050         * lyxtext.h:
7051         * rowpainter.C:
7052         * text2.C:
7053         * text3.C: refresh_status tristate -> need_update bool
7054
7055 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7056
7057         * lyxtext.h (init): remove reinit argument (act as if always true)
7058         * text2.C: adjust to that
7059
7060 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7061
7062         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7063         * text3.C: use it to delete selections in some cases
7064         (bugs 441, 673, 702, 954).
7065
7066 2003-07-14  André Pönitz  <poenitz@gmx.net>
7067
7068         * rowpainter.[Ch]: reduce interface
7069
7070 2003-07-14  André Pönitz  <poenitz@gmx.net>
7071
7072         * BufferView_pimpl.C:
7073         * text2.C: adjust after removing unused BufferView * argument
7074
7075 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7076
7077         * text2.C (init): fix a crash fired on resize
7078
7079 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * buffer.[Ch]: added new closing signal
7082         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7083         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7084         BufferView::Pimpl via the closing the signal
7085
7086 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7087
7088         * buffer.[Ch]: take out all bv-related from buffer
7089         * BufferView.C:
7090         * BufferView_pimpl.[Ch]: connect to new signals
7091         * CutAndPaste.C: removed useless asserts
7092         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7093         * lyxvc.[Ch]:
7094         * vc-backend.[Ch]:
7095         * lyxfunc.C: moved view-related funciontality from vc here
7096         * paragraph.C: removed outdated comments
7097         * text.C: ws
7098
7099 2003-07-10  André Pönitz  <poenitz@gmx.net>
7100
7101         * BufferView_pimpl.C:
7102         * tabular.h:
7103         * tabular_funcs.C:
7104         * text.C:
7105         * text2.C: remove InsetText::InnerCache, clean up consequences
7106
7107 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7108
7109         * ispell.C: fix two typos in error messages
7110
7111 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7112
7113         * Extend Note inset to other forms of annotation like Comment
7114         and Greyedout. Right button click gives dialog.
7115
7116         Files modified or added (+):
7117
7118         * insetnote.[Ch]
7119         * FormNote.[Ch]      +
7120         * ControlNote.[Ch]   +
7121         * form_note.fd       +
7122         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7123         frontends/controllers
7124         * xforms/Dialogs.C
7125         * factory.C
7126
7127 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7128
7129         * aspell.C: add missing namespace lyx::support
7130
7131 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7132
7133         * BufferView.[Ch] (newFile): Add
7134         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7135         * LaTeX.[Ch] (message): added this signal and use it
7136         * buffer.[Ch] (busy, message): added these signals and use them
7137         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7138         * converter.C:
7139         * exporter.C:
7140         * format.C:
7141         * importer.C: use buffer signals instead of direct bv calling
7142         * lyx_cb.[Ch] (ShowMessage): removed
7143         * lyx_main.C:
7144         * lyxfunc.C:
7145         * paragraph_funcs.C:
7146         * text2.C: use buffer signals
7147
7148 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * introduce namespace lyx::graphics
7151
7152 2003-07-02  André Pönitz  <poenitz@gmx.net>
7153
7154         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7155
7156 2003-07-01  André Pönitz  <poenitz@gmx.net>
7157
7158         * text.C:
7159         * text2.C:
7160         * text3.C:
7161         * text_funcs.[Ch]:
7162         * textcursor.h:
7163         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7164           text*.C to text_func.C
7165
7166 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * introduce namespace lyx::support
7169
7170 2003-06-30  André Pönitz  <poenitz@gmx.net>
7171
7172         * Chktex.C:
7173         * funcrequest.C:
7174         * lyxtext.h:
7175         * text.C: re-enable --with-included-string
7176
7177 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * textcursor.C: add <config.h>
7180
7181         * text.C (getWord): remove const from word_location arg
7182
7183         * lyxvc.C (getLogFile): fix const type order
7184
7185         * lyxtext.h: remove const from word_location arg, add arg name
7186
7187         * lyxlayout.h: currect type on labeltype.
7188
7189         * importer.C: correct \file
7190
7191         * converter.C (intToFormat): use std:: on ret val, ws changes
7192
7193         * bufferlist.h: correct \file
7194
7195         * buffer.C (makeLinuxDocFile): fix const type order
7196         (makeDocBookFile): ditto
7197         (fillWithBibKeys): use std:: on stdlib args.
7198
7199         * CutAndPaste.C: fix authors.
7200         (availableSelections): use std:: on return vector
7201
7202 2003-06-27  André Pönitz  <poenitz@gmx.net>
7203
7204         * BufferView_pimpl.C:
7205         * bufferview_funcs.C:
7206         * lyxcursor.C:
7207         * lyxcursor.h:
7208         * lyxfunc.C:
7209         * lyxtext.h:
7210         * rowpainter.C:
7211         * text.C:
7212         * text2.C:
7213         * text3.C: remove LyXCursor::row_ member
7214
7215         * lyxtext.h:
7216         * text.C: rename fullRebreak() to partialRebreak() and implement
7217           a fullRebreak() that really bereks fully
7218
7219         * textcursor.h: new struct for cursor-related data
7220
7221 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7222
7223         * lyx_main.C (LyX): get full path of document loaded on the
7224         command line
7225
7226 2003-06-26  André Pönitz  <poenitz@gmx.net>
7227
7228         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7229           remove unused/broken operator>,<,>=.
7230
7231         *       text.C: remove only use of broken operator<= in an Assert().
7232
7233 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7234
7235         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7236         moved errorlist_.clear to showErrorList
7237
7238 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7239
7240         * converter.C (scanLog, runLaTeX):
7241         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7242         move the bv->showErrorList call to the callers
7243         * lyxfunc.C: i.e. here...
7244         * text2.C: and here
7245         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7246         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7247         namespace, the second to...
7248         * buffer_funcs (BufferFormat, parseErrors): added
7249         * errorlist.C (ErrorList(TeXErrors const &)): removed
7250
7251 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7252
7253         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7254
7255 2003-06-24  "Garst R. Reese" <reese@isn.net>
7256
7257         * debug.C: fix typo
7258
7259 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7260
7261         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7262
7263         * version.C.in: change docversion to 1.4
7264
7265 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7266
7267         * buffer.C: fix a bug just introduced
7268
7269 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7270
7271         * buffer.[Ch]: added the parseError signal and use it, removed
7272         sgmlError
7273         * BufferView.[Ch] (addError): moved to ...
7274         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7275         to the Buffer::parseError signal to catch (guess what) parse errors
7276         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7277
7278 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7279
7280         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7281         ability to create a buffer and to return an existing one from
7282         the list. Moved these functions to...
7283         * buffer_funcs.[Ch]: added
7284         * BufferView.[Ch] (loadLyXFile): added
7285         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7286         job removed from bufferlist::loadLyXFile.
7287         * buffer.C (setReadOnly): make it work without view
7288         (i.e added an if (users))
7289
7290 2003-06-19  Angus Leeming  <leeming@lyx.org>
7291
7292         * lfuns.h:
7293         * LyXAction.C (init):
7294         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7295         with LFUN_DIALOG_SHOW <name> <data>.
7296
7297 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7298
7299         * CutAndPaste.C (availableSelections): small compilation fix for
7300         ancient (gcc 2.9x) compilers
7301
7302 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * text3.C (cursorNext): add tmp var
7305
7306         * text2.C (updateCounters): for function calling out of for clause
7307         (replaceSelectionWithString): ditto
7308         (insertStringAsParagraphs): ditto
7309         (getColumnNearX): add tmp var
7310         (setCursorFromCoordinates): add tmp var
7311         (cursorDownParagraph): add tmp var
7312         (deleteEmptyParagraphMechanism): add tmp var
7313
7314         * text.C (insertChar): add tmp var
7315
7316         * rowpainter.C (paintDepthBar): add tmp var
7317
7318         * CutAndPaste.C (availableSelections): potentially check all
7319         paragraphs in a cut to fill the shown strings.
7320
7321 2003-06-18  André Pönitz  <poenitz@gmx.net>
7322
7323         * kbmap.[Ch]: use vector<> instead of list<>
7324
7325 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7326
7327         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7328         pasteSelection with index
7329
7330         * text2.C (pasteSelection): modify, call pasteSelection with index
7331
7332         * paragraph.C (asString): reimplement version with no interval to
7333         call the one with interval.
7334
7335         * lyxtext.h: add index arg to pasteSelection
7336
7337         * MenuBackend.C (MenuItem): handle PasteRecent
7338         (Menu::read::Menutags): add md_pasterecent
7339         (read): handle it
7340         (expandPasteRecent): new function
7341         (expand): use it
7342
7343         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7344
7345         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7346         the limited stack
7347         (availableSelections): new function
7348
7349 2003-06-17  Angus Leeming  <leeming@lyx.org>
7350
7351         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7352
7353 2003-06-17  Angus Leeming  <leeming@lyx.org>
7354
7355         * lfuns.h:
7356         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7357
7358         * lyxfunc.C (dispatch): invoke it.
7359
7360 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7361
7362         * iterators.C (operator++, ParPosition): reintroduce some
7363         const_cast for the benefit of older compilers.
7364
7365 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7366
7367         * text3.C (dispatch): do not modify clipboard when doing
7368         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7369         LFUN_DELETE_SKIP on a selection selection
7370
7371 2003-06-16  André Pönitz  <poenitz@gmx.net>
7372
7373         * BufferView.C:
7374         * buffer.C:
7375         * buffer.h:
7376         * paragraph.C:
7377         * tabular.[Ch]: IU of clone() and getLabelList();
7378
7379 2003-06-13  André Pönitz  <poenitz@gmx.net>
7380
7381         * tabular.h: compactification
7382
7383 2003-06-12  André Pönitz  <poenitz@gmx.net>
7384
7385         * tabular.C:
7386         * tabular.h:
7387         * tabular_funcs.h: some renaming plus whitespace
7388
7389 2003-06-12  André Pönitz  <poenitz@gmx.net>
7390
7391         * BufferView.C:
7392         * BufferView_pimpl.C:
7393         * CutAndPaste.C:
7394         * buffer.C:
7395         * iterators.[Ch]:
7396         * lyxfunc.C:
7397         * text.C:
7398         * toc.C: Return a Paragraph & for ParIterator::operator*()
7399
7400 2003-06-11  John Levon  <levon@movementarian.org>
7401
7402         * lyx_main.C:
7403         * ToolbarBackend.h:
7404         * ToolbarBackend.C: add "Toolbars" section and
7405         put the flags there
7406
7407 2003-06-10  Angus Leeming  <leeming@lyx.org>
7408
7409         * lfuns.h:
7410         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7411
7412         * lyxfunc.C (dispatch): invoke it.
7413
7414 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7415
7416         * main.C: protect <ios> with HAVE_IOS
7417         (main): protect sync_with_stdio with HAVE_IOS
7418
7419 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7420
7421         * text2.C (cutSelection): adjust
7422         (pasteSelection): adjust
7423
7424         * messages.C: handle get of empty string
7425
7426         * main.C (main): use sync_with_stdio(false)
7427
7428         * lyxfunc.C (dispatch): adjust
7429
7430         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7431         (WriteAs): remove unneeded BufferView arg.
7432
7433         * bufferparams.h: use correct types on papersize, papersize2 and
7434         paperpackage.
7435
7436         * bufferparams.C (readToken): adjust for type
7437         (writeLaTeX): add missing cases to switch.
7438
7439         * bufferlist.C (quitWriteBuffer): adjust
7440         (close): adjust
7441
7442         * buffer.C (asciiParagraph): remove some commented code.
7443
7444         * CutAndPaste.C: remove current_view extern variable.
7445         (cutSelection): add BufferParams arg.
7446         (eraseSelection): add BufferParams arg.
7447         (pasteSelection): add Buffer const & arg
7448
7449 2003-06-07  John Levon  <levon@movementarian.org>
7450
7451         * buffer.C:
7452         * paragraph_funcs.C:
7453         * paragraph_pimpl.C:
7454         * text.C:
7455         * text2.C:
7456         * paragraph.h:
7457         * paragraph.C: allow InsetERT to freely space lines,
7458         and some consolidation of code
7459
7460 2003-06-06  José Matos  <jamatos@fep.up.pt>
7461
7462         * buffer.C (makeDocBookFile): fix bug #821
7463
7464 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7465
7466         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7467
7468 2003-06-04  Angus Leeming  <leeming@lyx.org>
7469
7470         * buffer.C: bump format to 224.
7471
7472 2003-06-05  André Pönitz  <poenitz@gmx.net>
7473
7474         * text2.C (redoParagraphs): remove two const_cast<>
7475
7476 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7477
7478         * ParagraphList.h: remove last remnants of NO_STD_LIST
7479
7480 2003-06-03  Angus Leeming  <leeming@lyx.org>
7481
7482         * factory.C (createInset): small change to the way InsetExternal's params
7483         are set.
7484
7485 2003-06-04  André Pönitz  <poenitz@gmx.net>
7486
7487         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7488
7489         * paragraph_pimpl.h:
7490         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7491
7492         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7493
7494         * undo_funcs.C: make some simple cases of undo work again
7495
7496 2003-06-03  John Levon  <levon@movementarian.org>
7497
7498         * ispell.C: HPUX doesn't have sys/select.h
7499         (from Albert Chin)
7500
7501 2003-06-03  John Levon  <levon@movementarian.org>
7502
7503         * CutAndPaste.C: update tabular and include inset
7504         buffer references
7505
7506         * buffer.h:
7507         * paragraph.h:
7508         * paragraph.C: remove owningBuffer(), don't pass Buffer
7509         to clone()
7510
7511         * factory.C: insetGraphicsParams changed
7512
7513 2003-06-02  John Levon  <levon@movementarian.org>
7514
7515         * LyXAction.C:
7516         * factory.C:
7517         * lfuns.h:
7518         * lyxfunc.C:
7519         * text3.C: remove insetparent
7520
7521 2003-06-02  John Levon  <levon@movementarian.org>
7522
7523         * buffer.h:
7524         * buffer.C: fix inset_iterator.end(), move out of line
7525         (bug 1149)
7526
7527 2003-06-01  John Levon  <levon@movementarian.org>
7528
7529         * text3.C: use a proper cut/paste when doing inset
7530         insert (from Jürgen Spitzmüller)
7531
7532 2003-06-01  John Levon  <levon@movementarian.org>
7533
7534         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7535
7536 2003-05-30  André Pönitz  <poenitz@gmx.net>
7537
7538         * rowpainter.C: unify second drawing phase
7539
7540 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * trans_mgr.C: remove one case of current_view
7543
7544         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7545
7546         * paragraph_funcs.h: remove paragraph.h include
7547
7548         * paragraph.h: delete NO_STD_LIST stuff
7549
7550         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7551
7552         * buffer.h: remove paragraph.h include
7553
7554         * ParagraphList.C: delete file
7555
7556         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7557
7558         * toc.C (getTocList): adjust
7559
7560         * paragraph_pimpl.C (validate): adjust
7561
7562         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7563
7564         * paragraph.C (Paragraph): adjust
7565         (getPositionOfInset): use const_iterator, adjust
7566         (bibitem): use const_iterator, adjust
7567         (setInsetOwner): adjust
7568
7569         * iterators.C (operator++): adjust
7570
7571         * InsetList.[Ch]: Replace selfmade iterator with standard
7572         vector::iterator also introduce const_iterator. Remove getPos,
7573         getInset and setInset from InsetTable. Adjust accordingly.
7574
7575         * BufferView.C (lockInset): adjust
7576         (ChangeInsets): adjust
7577
7578         * tabular.[Ch]: delete commented same_id functions
7579
7580 2003-05-28  John Levon  <levon@movementarian.org>
7581
7582         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7583
7584 2003-05-28  André Pönitz  <poenitz@gmx.net>
7585
7586         * metricsinfo.[Ch]: remove 'fullredraw' member
7587
7588 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7589
7590         * lyxtextclass.C (operator): remove caching.
7591
7592 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7593
7594         * text3.C: adjust
7595
7596         * text2.C (cursorBottom): adjust
7597         (setCounter): use ParagraphList::find, adjust
7598
7599         * text.C (workWidth): use ParagraphList::find, adjust
7600
7601         * lyxcursor.C (LyXCursor): adjust
7602
7603         * buffer.C (inset_iterator): adjust
7604
7605         * ParagraphList.h: make iterator(value_type) private, make
7606         ParagraphList a friend of iterator.
7607
7608         * ParagraphList.C (find): new function
7609
7610         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7611
7612 2003-05-27  André Pönitz  <poenitz@gmx.net>
7613
7614         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7615
7616 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7617
7618         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7619
7620 2003-05-26  John Levon  <levon@movementarian.org>
7621
7622         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7623
7624 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * remove same_id from function signatures, adjust.
7627
7628 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7629
7630         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7631
7632         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7633
7634         * paragraph.C (Paragraph): get rid of same_ids parameter
7635
7636         * ParagraphList.C (insert): adjust
7637         (push_back): adjust
7638
7639 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7640
7641         * paragraph_funcs.C (breakParagraph): adjust
7642         (breakParagraphConservative): adjust
7643
7644         * buffer.C (readParagraph): adjust
7645
7646         * ParagraphList.C (insert): take a reference instead of a pointer
7647         (insert): adjust
7648
7649         * paragraph.[Ch] (id): new function
7650
7651         * bufferlist.C (newFile): adjust
7652
7653         * ParagraphList.C (ParagraphList): adjust
7654         (assign): adjust
7655         (push_back): take a reference instead of a pointer.
7656
7657         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7658
7659         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7660         instead.
7661
7662         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7663         set else use old code.
7664
7665         * ParagraphList.C: remove all NO_NEXT code and only compile this
7666         code of NO_STD_LIST is set.
7667
7668 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7669
7670         * BufferView_pimpl.C:
7671         * TextCache.C:
7672         * TextCache.h:
7673         * bufferlist.C:
7674         * errorlist.h:
7675         * format.C:
7676         * format.h:
7677         * graph.C:
7678         * lyxfunc.C:
7679         * lyxrc.C:
7680         * graphics/GraphicsConverter.C:
7681         * graphics/PreviewLoader.C: header adjustment
7682
7683 2003-05-23  Angus Leeming  <leeming@lyx.org>
7684
7685         * LaTeXFeatures.[Ch] (useBabel): new method.
7686         * bufferparams.C (writeLaTeX): use it.
7687
7688 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * ParagraphList.h (set): remove unused function.
7691
7692 2003-05-23  André Pönitz  <poenitz@gmx.net>
7693
7694         * BufferView.C:
7695         * BufferView_pimpl.C:
7696         * buffer.C:
7697         * buffer.h:
7698         * lyxfunc.C:
7699         * undo_funcs.C: setUndo reworked
7700
7701         * iterators.[Ch]: add access to topmost ParagraphList
7702
7703         * lyxtext.[Ch] (workWidth): add a const
7704
7705 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7706
7707         * texrow.[Ch] (increasePos): remove function
7708         * exporter.C (export): removed unused var and outdated comment
7709
7710 2003-05-23  Angus Leeming  <leeming@lyx.org>
7711
7712         * latexrunparams.h: rename fragile as moving_arg.
7713         * paragraph.C (simpleTeXOnePar): ditto.
7714         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7715
7716 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7717
7718         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7719         (createUndo): ditto
7720         (textUndoOrRedo): comment out a currently unused var.
7721
7722         * paragraph.h (NO_NEXT): enable NO_NEXT
7723
7724         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7725
7726         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7727
7728         * exporter.C (Export): adjust for removeAutoInsets removal.
7729
7730         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7731
7732         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7733
7734         * BufferView.[Ch] (removeAutoInsets): delete function
7735
7736 2003-05-22  Angus Leeming  <leeming@lyx.org>
7737
7738         * latexrunparams.h: add a free_spacing variable.
7739
7740         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7741         to pass moving_arg, as the data is stored in runparams.fragile.
7742
7743         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7744         to Inset::latexOptional or to simpleTeXOnePar.
7745
7746         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7747         free_spacing arg to Inset::latexOptional.
7748
7749         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7750         free_spacing arg.
7751
7752 2003-05-22  Angus Leeming  <leeming@lyx.org>
7753
7754         * latexrunparams.h: add fragile and use_babel variables.
7755
7756         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7757         * buffer.C (makeLaTeXFile): store this returned value in
7758         runparams.use_babel, thus passing it to the inset::latex methods.
7759
7760         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7761         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7762
7763         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7764         longer has a fragile arg, as it is stored in runparams.fragile.
7765
7766         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7767         moving_arg parameter as the data is stored in runparams.fragile.
7768
7769         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7770         a fragile parameter as the data is stored in runparams.fragile.
7771
7772 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7773
7774         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7775
7776 2003-05-22  Angus Leeming  <leeming@lyx.org>
7777
7778         * latexrunparams.h: add a 'bool nice' which defaults to false.
7779
7780         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7781         now encapsulated within runparams.
7782
7783         * bufferlist.C (updateIncludedTeXfiles):
7784         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7785
7786 2003-05-22  Angus Leeming  <leeming@lyx.org>
7787
7788         * latexrunparams.h: new file containing struct LatexRunParams.
7789         * Makefile.am: add new file.
7790
7791         * LaTeX.[Ch] (c-tor, run):
7792         * buffer.[Ch] (makeLaTeXFile):
7793         * bufferlist.[Ch] (updateIncludedTeXfiles):
7794         * converter.C (convert, scanLog):
7795         * converter.[Ch] (runLaTeX):
7796         * exporter.C (Export):
7797         * paragraph.[Ch] (simpleTeXOnePar):
7798         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7799         * paragraph_funcs.[Ch] (latexParagraphs):
7800         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7801         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7802         pass around a LatexRunParams parameter.
7803
7804 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * paragraph.[Ch]: remove unused constructor
7807
7808         * ParagraphList.C (erase): new function, taking two iterators
7809
7810 2003-05-22  André Pönitz  <poenitz@gmx.net>
7811
7812         * undo_funcs.C: remove duplicated code
7813
7814         * iterator.[Ch]: operator=
7815
7816 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7817
7818         * tabular.C (SetMultiColumn): ws changes
7819
7820         * rowpainter.C (paintFirst): get rid of a ->previous
7821
7822         * lyx_cb.C (getPossibleLabel): parlist simplification
7823
7824         * BufferView.C (ChangeInsets): simplify slightly.
7825
7826 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7827
7828         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7829         * lfuns.h: new LFUN_SPACE
7830         * lyxfunc.C: protected space has a new lfun
7831         * paragraph_funcs.C: read new space insets
7832         * text3.C:
7833         * factory.C: handle new space insets
7834
7835 2003-05-22  André Pönitz  <poenitz@gmx.net>
7836
7837         * BufferView.C:
7838         * BufferView_pimpl.C:
7839         * buffer.[Ch]:
7840         * lyxfunc.C:
7841         * undo_funcs.C: return a ParIterator from getParFromID.
7842
7843         * iterators.[Ch]: add two const's
7844
7845 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * toc.C (getTocList): adjust
7848
7849         * iterators.[Ch]: rework for parlist
7850
7851         * buffer.C (par_iterator_begin): adjust
7852         (par_iterator_end): adjust
7853
7854         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7855
7856         * BufferView.C (removeAutoInsets): adjust
7857         (ChangeInsets): adjust
7858
7859 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7860
7861         * text.C (top_y): fix bug 1110
7862
7863 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7864
7865         * errorlist.[Ch]: added
7866         * buffer.C:
7867         * BufferView.[Ch]:
7868         * BufferView_pimpl.C:
7869         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7870         instead
7871
7872 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7873
7874         * Makefile.am: ensure that lyx is relinked upon changes to the
7875         various "convenience" libs.
7876
7877 2003-05-20  Angus Leeming  <leeming@lyx.org>
7878
7879         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7880         files are compiled in alphabetical order again.
7881
7882         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7883
7884 2003-05-19  Angus Leeming  <leeming@lyx.org>
7885
7886         * gettext.[Ch]: remove "char const * _(char const *)".
7887
7888 2003-05-19  André Pönitz  <poenitz@gmx.net>
7889
7890         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7891
7892         * Makefile.am:
7893         * BufferView.C:
7894         * DepTable.h:
7895         * LaTeXFeatures.C:
7896         * buffer.C:
7897         * lyxfont.C:
7898         * lyxlex.h:
7899         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7900
7901 2003-05-19  André Pönitz  <poenitz@gmx.net>
7902
7903         * buffer.C:
7904         * lyxlayout.[Ch]:
7905         * lyxtextclass.[Ch]:
7906         * paragraph.C:
7907         * paragraph_funcs.[Ch]:
7908         * text2.C:
7909         * text3.C: more insetenv work
7910
7911 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7912
7913         * ParagraphParameters.C (params2string): small bug fixed
7914
7915 2003-05-16  André Pönitz  <poenitz@gmx.net>
7916
7917         * debug.C:
7918         * bufferview_funcs.C: patch from Kornel Benko to prevent
7919           crash when _(...) is called twice in a statement
7920
7921 2003-05-16  André Pönitz  <poenitz@gmx.net>
7922
7923         * BufferView.C:
7924         * lyxfunc.C:
7925         * text.C:
7926         * text2.C:
7927         * text3.C:
7928         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7929
7930 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7931
7932         * lyx_main.C (init): remove spurious static_cast
7933
7934 2003-05-14  André Pönitz  <poenitz@gmx.net>
7935
7936         * BufferView.C: fix format string
7937
7938 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7939
7940         * BufferView.[Ch] (insertErrors): removed
7941         * BufferView.[Ch] (showErrorList): added
7942         * buffer.C (runChkTeX):
7943         * converter.C (scanLog): call showErrorList instead of inserterrors
7944
7945 2003-05-13  André Pönitz  <poenitz@gmx.net>
7946
7947         * BufferView_pimpl.C:
7948         * buffer.C:
7949         * bufferview_func.C:
7950         * MenuBackend.C:
7951         * lyxfunc.C:
7952         * lyxrc.C:
7953         * tex-accent.C:
7954         * text3.C:
7955         * toc.C:
7956         * tabular_funcs.h: tostr() from its own header
7957
7958         * ParagraphParameters.C:
7959         * ToolbarBackend.C:
7960         * bufferparams.C:
7961         * format.C:
7962         * lyxlex_pimpl.C:
7963         * text3.C: STRCONV()
7964
7965 2003-05-12  André Pönitz  <poenitz@gmx.net>
7966
7967         * BufferView.C:
7968         * BufferView_pimpl.C:
7969         * CutAndPaste.C:
7970         * LaTeX.C:
7971         * LaTeXFeatures.C:
7972         * ParagraphParameters.C:
7973         * buffer.C:
7974         * bufferlist.C:
7975         * bufferparams.C:
7976         * bufferview_funcs.C:
7977         * converter.C:
7978         * counters.C:
7979         * debug.C:
7980         * exporter.C:
7981         * format.C:
7982         * importer.C:
7983         * lyx_cb.C:
7984         * lyx_main.C:
7985         * lyxfont.C:
7986         * lyxfunc.C:
7987         * lyxvc.C:
7988         * paragraph.C:
7989         * paragraph_funcs.C:
7990         * tabular.C:
7991         * tabular_funcs.C:
7992         * text2.C:
7993         * text3.C:  boost::format -> bformat  all over the place
7994
7995
7996 2003-05-09  André Pönitz  <poenitz@gmx.net>
7997
7998         * LColor.[Ch]: Pimpl the #include <map> away
7999
8000 2003-05-09  John Levon  <levon@movementarian.org>
8001
8002         * bufferlist.C: never remove emergency saves
8003
8004 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8005
8006         * Makefile.am: better lib building
8007
8008 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8009
8010         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8011         instead.
8012         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8013         (simpleTeXSpecialChars): adjust
8014         (simpleTeXSpecialChars): adjust
8015         * paragraph.C (simpleTeXOnePar): adjust
8016         * buffer.C (makeLaTeXFile): adjust
8017
8018         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8019
8020         * text2.C (changeDepth): parlist cleanup
8021         (getColumnNearX): ditto
8022
8023         * rowpainter.C (getLabelFont): parlist cleanup
8024
8025         * bufferlist.C (newFile): parlist cleanup
8026
8027         * CutAndPaste.C (eraseSelection): parlist cleanup
8028
8029         * BufferView_pimpl.C (trackChanges): parlist cleanup
8030         (dispatch): ditto
8031
8032         * BufferView.C (lockInset): parlist cleanup.
8033         (ChangeInsets): ditto
8034
8035 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8036
8037         * CutAndPaste.h: Update file header.
8038
8039         * CutAndPaste.C: Update file header.
8040         Store the parts cut out of the Document in a limited_stack.
8041         (copySelection): adjust
8042         (pasteSelection): new function, takes the index in the limited stack.
8043         (nrOfParagraphs): adjust
8044         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8045         simplify error inset insertion.
8046         (checkPastePossible): adjust
8047
8048 2003-05-06  John Levon  <levon@movementarian.org>
8049
8050         * text2.C: don't cast wrap inset to float
8051
8052 2003-05-05  André Pönitz  <poenitz@gmx.net>
8053
8054         * iterator.C:
8055         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8056
8057         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8058           few naked Paragraph *.
8059
8060 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8061
8062         * bufferparams.C: Output warning if a document with missing
8063         TeX document class is loaded
8064         * exporter.C: Disable TeX exports if the document class is missing
8065         * lyxtextclass.C:
8066         * lyxtextclass.h:
8067         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8068         isTeXClassAvailable()
8069
8070 2003-05-03  John Levon  <levon@movementarian.org>
8071
8072         * BufferView.h:
8073         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8074         explicit cursor show/hide
8075
8076         * BufferView_pimpl.h:
8077         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8078         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8079
8080         * lyxfunc.C: hide cursor before dispatching.
8081
8082         * lyx_cb.C:
8083         * lyxfind.C:
8084         * text.C:
8085         * text3.C: remove explicit cursor hides
8086
8087 2003-05-02  André Pönitz  <poenitz@gmx.net>
8088
8089         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8090
8091         * undo_funcs.C:
8092         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8093           linked lists
8094
8095         * text2.C: tiny whitespace
8096
8097 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8098
8099         * undo_funcs.C: almost only ws changes.
8100
8101         * ParagraphList.C (splice): just return if pl is empty.
8102
8103 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * ParagraphList.C (splice): new function.
8106
8107         * CutAndPaste.C (pasteSelection): use it
8108
8109 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * CutAndPaste.C (pasteSelection): remove the last next and
8112         previous from this file.
8113
8114 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8115
8116         * CutAndPaste.C (pasteSelection): more clean up, user proper
8117         ParagraphList functions for pasteing.
8118
8119         * ParagraphList.C (insert): new function, three arg insert
8120
8121 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8122
8123         * ParagraphList.C (insert): new function, three arg insert
8124
8125         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8126         not on paragraphs.
8127
8128 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8129
8130         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8131
8132 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8133
8134         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8135
8136 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8137
8138         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8139         (copySelection): clean up a bit.
8140         (pasteSelection): use make_pair
8141
8142         * ParagraphList.C (ParagraphList): implement copy constructor
8143         (operator=): implement, base on copy constructor.
8144         (assign): new func
8145
8146         * paragraph.C (erase): return a bool
8147
8148         * paragraph_pimpl.C (erasePos): remove function, move contents...
8149         (erase): ... here. Return a bool.
8150         (erase): call erase instead of erasePos.
8151
8152 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8153
8154         * ParagraphList.h: define PitPosPair
8155         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8156         ParagraphList, fix a bug on pasting multiple pars
8157         * text2.C: change interface to C&P
8158
8159 2003-04-30  André Pönitz  <poenitz@gmx.net>
8160
8161         * undo_func.C: revert part of yesterday's patch 2
8162
8163 2003-04-30  John Levon  <levon@movementarian.org>
8164
8165         * LColor.C: s/tabular/table/
8166
8167 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8168
8169         * text3.C (dispatch): do not convert iterator -> pointer
8170         * undo_funcs.C (setCursorParUndo): ditto
8171         * text_funcs.C (transposeChars): ditto
8172
8173         * text2.C (setLayout): ws changes only
8174
8175         * text.C (breakParagraph): do not convert iterator -> pointer
8176         (insertChar): ditto
8177         (acceptChange): ditto
8178         (rejectChange): ditto
8179         (changeCase): ditto
8180         (Delete): ditto
8181         (backspace): ditto
8182
8183         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8184         pointer
8185
8186 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8187
8188         * text3.C (gotoInset): YABG (yet another bad getChar)
8189
8190 2003-04-29  André Pönitz  <poenitz@gmx.net>
8191
8192         * paragraph.h: make operator= private unimplemented as long as
8193           it is unusable
8194
8195         * ParagraphList.C: whitespace
8196
8197         * paragraph.[Ch]:
8198         * paragraph_pimpl.[Ch]:
8199         * paragraph_funcs.C:
8200         * CutAndPaste.C:
8201         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8202
8203         * text2.C:
8204           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8205
8206 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8207
8208         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8209         * paragraph.[Ch] (erase):
8210         * paragraph_pimpl.[Ch] (erase): change return type and value
8211         * text2.C (cutSelection): some rework
8212
8213 2003-04-28  John Levon  <levon@movementarian.org>
8214
8215         * bufferlist.C: changes for unsaved changes dialog
8216
8217 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8218
8219         * bufferlist.C (newFile): set language (messages_) for new
8220         documents also.
8221
8222         * buffer.C (readFile): ws changes only.
8223
8224 2003-04-28  André Pönitz  <poenitz@gmx.net>
8225
8226         * undo_funcs.C:
8227         * lyxfunc.C:
8228         * buffer.[Ch]:
8229         * BufferView_pimpl.C:
8230         * BufferView.C: getParFromID related ParagraphList::iterator changes
8231
8232 2003-04-28  André Pönitz  <poenitz@gmx.net>
8233
8234         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8235           Changes
8236
8237 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8238
8239         * messages.C: remove one more localedir class variable.
8240
8241 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8242
8243         * messages.C (getLocaleDir): singleton generation function
8244         (Pimpl): use it.
8245         (Messages): add a default constructor.
8246
8247         * main.C (main): do not setup localedir here, do not call
8248         gettext_init.
8249
8250         * gettext.C (_): use it.
8251         (gettext_init): delete funciton
8252
8253 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8254
8255         * gettext.C (getLyXMessages): new singleton generating function.
8256
8257         * buffer.C (updateDocLang): adjust
8258
8259         * Makefile.am (messages.o): add target
8260         (main.o): remove target
8261
8262 2003-04-27  John Levon  <levon@movementarian.org>
8263
8264         * bufferlist.C:
8265         * lyx_cb.C:
8266         * lyxfunc.C:
8267         * lyxvc.C: specify cancel button in Alert::prompt
8268
8269 2003-04-26  John Levon  <levon@movementarian.org>
8270
8271         * text3.C:
8272         * lyxfunc.C:
8273         * lfuns.h:
8274         * LyXAction.C: add LFUN_INSET_SETTINGS
8275
8276         * lyxfunc.C: don't enable tabular-feature when there's
8277         just any locking inset
8278
8279 2003-04-26  John Levon  <levon@movementarian.org>
8280
8281         * bufferlist.C: re-add Cancel to buffer close question
8282
8283         * lyxfunc.C: fix import UI a bit
8284
8285 2003-04-25  John Levon  <levon@movementarian.org>
8286
8287         * gettext.C: remove the broken asserts for now
8288
8289 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8290
8291         * messages.C: make case where setlocale cannot comply work better.
8292
8293         * buffer.C (updateDocLang): new function
8294         (changeLanguage): use it
8295         (readFile): use it
8296
8297         * text2.C (setCounter): use B_ a bit.
8298
8299         * lyxlayout.C (Read): be sure to trim the label strings.
8300
8301         * messages.C (Messages): fix typo in comment
8302
8303         * buffer.C (readFile): set message_ after file is loaded.
8304         (makeDocBookFile): remove double return
8305         (changeLanguage): reset message_ upon language change.
8306         (B_): new func, use this to get translated buffer strings.
8307
8308         * main.C: add myself and Jean Marc as authors.
8309
8310 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8311
8312         * messages.[hC]: pimplify Messages, and three different pimpls to be
8313         used in different circumstances.
8314
8315         * gettext.[Ch]: change for use with new message code.
8316
8317 2003-04-24 André Pönitz <poenitz@gmx.net>
8318
8319         * factory.C: support for eqref
8320
8321 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8322
8323         * messages.[Ch]: add missing char
8324
8325         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8326
8327         * messages.[Ch]: New files
8328
8329 2003-04-18  John Levon  <levon@movementarian.org>
8330
8331         * BufferView.h:
8332         * BufferView.C:
8333         * BufferView_pimpl.C:
8334         * lfuns.h:
8335         * LyXAction.C:
8336         * lyxtext.h:
8337         * text2.C: remove layout-copy/paste (bug 778)
8338
8339 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8340
8341         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8342
8343 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8344
8345         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8346         if they succeed. Act accordingly.
8347
8348 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8349
8350         * text2.C (setCharFont): adjust
8351         (setCounter): adjust
8352         (insertStringAsLines): adjust
8353
8354         * text.C (leftMargin): adjust
8355         (setHeightOfRow): adjust
8356
8357         * rowpainter.C (paintFirst): adjust
8358         (paintLast): adjust
8359
8360         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8361         (outerHook): ditto
8362         (isFirstInSequence): ditto
8363         (getEndLabel): ditto
8364         (outerFont): adjust
8365
8366         * paragraph.C (getParLanguage): comment out some hard stuff.
8367
8368         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8369         (sgmlError): ditto
8370         (simpleDocBookOnePar): ditto
8371         (makeDocBookFile): use ParagraphList::iterator
8372
8373         * CutAndPaste.C (pasteSelection): adjust
8374
8375 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8376
8377         * text2.C (getFont): adjust
8378         (getLayoutFont): adjust
8379         (getLabelFont): adjust
8380
8381         * paragraph_funcs.C (TeXOnePar): adjust
8382
8383         * buffer.C (simpleLinuxDocOnePar): adjust
8384         (simpleDocBookOnePar): adjust
8385
8386         * CutAndPaste.C (pasteSelection): adjust
8387
8388         * BufferView.C (getEncoding): adjust
8389
8390         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8391
8392 2003-04-16  John Levon  <levon@movementarian.org>
8393
8394         * lyxfind.C: use parlist stuff for search/changes
8395
8396 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8397
8398         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8399
8400         * text2.C (deleteEmptyParagraphMechanism): adjust
8401
8402         * text2.[Ch] (ownerParagraph): delete func (both of them
8403
8404 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8407
8408 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * ParagraphList.C: prepare for NO_NEXT
8411
8412 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8413
8414         * text2.C (getFont): adjust
8415         (getLayoutFont): adjust
8416         (getLabelFont): adjust
8417
8418         * paragraph.C (getFont): adjust
8419         (getLabelFont): adjust
8420         (getLayoutFont): adjust
8421
8422         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8423
8424 2003-04-15  John Levon  <levon@movementarian.org>
8425
8426         From Angus Leeming
8427
8428         * lyx_main.C: handle Include in .ui files
8429
8430 2003-04-15  John Levon  <levon@movementarian.org>
8431
8432         * MenuBackend.C: make the doc files length shorter
8433
8434         * ToolbarBackend.h:
8435         * ToolbarBackend.C: handle toolbar placement flags,
8436         Minibuffer
8437
8438 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8439
8440         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8441         adjust
8442
8443         * paragraph_funcs.C (TeXOnePar): adjust
8444
8445         * paragraph.C (getLabelFont): add outerfont arg, adjust
8446         (getLayoutFont): ditto
8447         (simpleTeXOnePar): adjust
8448
8449         * paragraph_pimpl.C (realizeFont): delete func
8450
8451 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8452
8453         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8454         row argument, constify cur argument.
8455
8456 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8457
8458         * text2.C (getFont): adjust
8459         (getLayoutFont): adjust
8460         (getLabelFont): adjust
8461
8462         * paragraph_funcs.C (TeXOnePar): adjust
8463         (outerFont): new func...
8464         (realizeFont): ...moved out from here, changed this to facilitate
8465         transition
8466
8467         * paragraph.C (getFont): take outerfont as arg, adjust
8468         (simpleTeXOnePar): add outerfont arg, adjust
8469
8470         * buffer.C (simpleLinuxDocOnePar): adjust
8471         (simpleDocBookOnePar): adjust
8472
8473         * CutAndPaste.C (pasteSelection): adjust
8474
8475         * BufferView.C (getEncoding): adjust
8476
8477 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8478
8479         * text2.C (setCharFont): adjust
8480         (setCounter): adjust
8481
8482         * text.C (leftMargin): adjust
8483         (setHeightOfRow): adjust
8484
8485         * rowpainter.C (paintFirst): adjust
8486         (paintLast): adjust
8487
8488         * paragraph_pimpl.C (realizeFont): adjust
8489
8490         * paragraph.C (isFirstInSequence): move from here...
8491         * paragraph_funcs.C (isFirstInSequence): ...to here
8492
8493         * paragraph.C (outerHook): move from here...
8494         * paragraph_funcs.C (outerHook): ...to here
8495
8496         * paragraph.C (depthHook): move from here...
8497         * paragraph_funcs.C (depthHook): ...to here
8498
8499         * paragraph.C (getEndLabel): move from here...
8500         * paragraph_funcs.C (getEndLabel): ...to here
8501
8502         * text2.C (realizeFont): move from here...
8503         * paragraph_funcs.C (realizeFont): ...to here
8504
8505 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8508
8509 2003-04-14  Angus Leeming  <leeming@lyx.org>
8510
8511         * LColor.[Ch]: scrap LColor mathcursor.
8512
8513 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8514
8515         * lyxlex.[Ch] (text): delete function
8516         * trans.C (Load): adjust
8517         * paragraph_funcs.C (readParToken): adjust
8518
8519 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8520
8521         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8522         vector<char> instead of a char[].
8523
8524         * lyxlex_pimpl.C (getString): adjust
8525         (next): adjust
8526         (lex): use getString
8527         (eatLine): adjust
8528         (nextToken): adjust
8529
8530         * lyxlex.C (text): use pimpl_->getString()
8531         (getBool): ditto
8532         (findToken): ditto
8533
8534 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8535
8536         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8537         (makeFontEntriesLayoutSpecific): temp var for par.size()
8538         (setLayout): temp var for ownerParagraphs().end()
8539         (fullRebreak): temp var for rows().end()
8540         (selectionAsString): temp var for boost::next(startpit), realize
8541         that the while really is a regular for loop.
8542         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8543         setCursor in one place.
8544         (setParagraph): temp vr for ownerParagraphs().end()
8545         (updateCounters): make the while loop a for loop
8546         (cutSelection): temp var for ownerParagraphs().end()
8547         (updateInset): make the do {} while() a regular for loop
8548         (getCursorX): use temp vars
8549         (setCurrentFont): use temp vars
8550         (getColumnNearX): use temp vars
8551
8552 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8553
8554         * text.C (transformChar): use temp var for getChar
8555         (computeBidiTables): use temp var for row->par()
8556         (fill): move temp vars for row->par() and pit->layout() earlier in
8557         the function.
8558         (labelFill): use temp var for row->par()
8559         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8560         asc and desc, realize that pit never changes and that firstpit is
8561         just a duplicate and not needed. Exchange rit->par() with pit in a
8562         lot of places.
8563         (breakAgain): use a temp var for boost::next(rit)
8564         (breakAgainOneRow): ditto
8565         (breakParagraph): use a temp var for rows().begin()
8566         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8567         (cursorRightOneWord): use temp var for cursor.par() and
8568         cursor.pos(), remove usage of tmpcursor.
8569         (cursorLeftOneWord): use temp var for cursor.par() and
8570         cursor.pos() only set cur at end of function.
8571
8572 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8573
8574         * text.C, text2.C: exchange all usage of Paragraph::next with
8575         boost::next(ParagraphList::iterator)
8576
8577         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8578
8579         * text2.C (cursorTop): simplify implementation
8580         (cursorBottom): ditto
8581         (setParagraph): use ParagraphList::iterator
8582         (setCurrentFont): adjust
8583         (getColumnNearX): adjust
8584         (cursorRight): adjust
8585         (cursorLeft): remove usage of Paragraph::previous
8586         (cursorUpParagraph): ditto
8587         (deleteEmptyParagraphMechanism): slight cleanup
8588
8589         * text.C (isBoundary): take a Paragraph const & instead of a
8590         pointer as arg.
8591         (addressBreakPoint): ditto
8592         (leftMargin): remove usage of Paragraph::previous.
8593         (setHeightOfRow): ditto
8594         (cursorLeftOneWord): ditto
8595         (selectNextWordToSpellcheck): ditto
8596         (Delete): ditto
8597         (backspace): ditto
8598         (breakParagraph): remove one usage of Paragraph::next
8599         (redoParagraph): ditto
8600         (acceptChange): ditto
8601         (insertChar): adjust
8602         (rowBreakPoint): adjust
8603
8604         * bufferview_funcs.C (toggleAndShow): adjust
8605
8606 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8607
8608         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8609         methods to access it.
8610         * lyxtext.h:
8611         * text.C: Added updateRowPositions to compute all row positions.
8612         Make top_y and getRowNearY() to use the cached y position
8613
8614 2003-04-11  John Levon  <levon@movementarian.org>
8615
8616         * text.C (rowBreakPoint): reintroduce the labelEnd
8617         checks, code copied from the row fill stuff. Deep voodoo.
8618
8619         * text.C (fill): add a comment and debugging for the
8620         next poor soul.
8621
8622 2003-04-11  John Levon  <levon@movementarian.org>
8623
8624         * text.C: make sure fullrow insets get wrapped to the next line,
8625         even when they're in a manual label
8626
8627 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8628
8629         * text2.C (insertParagraph): make it take ParagraphList::iterator
8630         as arg.
8631         (setLayout): make it return ParagraphList::iterator
8632         (redoParagraphs): ditto
8633         (setCounter): ditto
8634         (checkParagraph): ditto
8635
8636         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8637
8638         * text2.C: adjust several funcs.
8639         (realizeFont): take a ParagraphList::iterator as arg.
8640         (getLayoutFont): ditto
8641         (getLabelFont): ditto
8642         (setCharFont): ditto
8643
8644         * text.C: adjust several funcs.
8645
8646 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8647
8648         * text.C (selectNextWordToSpellcheck): don't accidentally
8649         skip insets
8650
8651 2003-04-10  John Levon  <levon@movementarian.org>
8652
8653         * ToolbarBackend.C (getIcon): special handling for
8654         LFUN_MATH_DELIM
8655
8656 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8657
8658         * text2.C (cursorRight): a getChar assert fixed
8659
8660 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8661
8662         * text2.C (getFont): change to take a ParagraphList::iterator
8663         instead of Paragraph*
8664         Adjust several functions.
8665
8666         * text.C (transformChar): change to take a ParagraphList::iterator
8667         instead of Paragraph*
8668         (singleWidth): ditto
8669         Adjust several functions.
8670
8671         * rowpainter.C: adjust several functions
8672         * rowpainter.h:store a ParagraphList::iterator and not a
8673         Paragraph&.
8674
8675
8676 2003-04-09  John Levon  <levon@movementarian.org>
8677
8678         * lyxfunc.C:
8679         * lfuns.h:
8680         * LyXAction.h:
8681         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8682         and the "help" bits as well
8683
8684 2003-04-09  John Levon  <levon@movementarian.org>
8685
8686         * ToolbarBackend.h:
8687         * ToolbarBackend.C: allow multiple toolbars
8688
8689 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8690
8691         * undo_funcs.C (setCursorParUndo): adjust
8692
8693         * text_funcs.C (transposeChars): adjust
8694
8695         * text3.C (gotoNextInset): adjust
8696         (dispatch): adjust
8697
8698         * text2.C (setLayout): adjust
8699         (changeDepth): adjust
8700         (setFont): adjust
8701         (redoParagraphs): adjust
8702         (selectionAsString): adjust
8703         (setParagraph): adjust
8704         (insertInset): adjust
8705         (cutSelection): adjust
8706         (copySelection): adjust
8707         (pasteSelection): adjust
8708         (insertStringAsLines): adjust
8709         (updateInset): adjust
8710         (setCursor): change to take a ParagraphList::iterator parameter
8711         (setCursorIntern): change to take a ParagraphList::iterator parameter
8712         (setCurrentFont): adjust
8713         (cursorLeft): adjust
8714         (cursorRight): adjust
8715         (deleteEmptyParagraphMechanism): adjust
8716
8717         * text.C (breakParagraph): adjust
8718         (insertChar): adjust
8719         (acceptChange): adjust
8720         (rejectChange): adjust
8721         (selectNextWordToSpellcheck): adjust
8722         (changeCase): adjust
8723         (Delete): adjust
8724         (backspace): adjust
8725
8726         * lyxfind.C (SearchForward): adjust
8727         (SearchBackward): adjust
8728         (nextChange): adjust
8729
8730         * lyxcursor.C (par): adjust
8731
8732         * lyxcursor.h: store a ParagraphList::iterator instead of a
8733         Paragraph*
8734
8735         * lyx_cb.C (getPossibleLabel): adjust
8736
8737         * bufferview_funcs.C (toggleAndShow): adjust
8738
8739         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8740         (dispatch): adjust
8741
8742         * BufferView.C (removeAutoInsets): adjust
8743         (lockedInsetStoreUndo): adjust
8744
8745 2003-04-09  John Levon  <levon@movementarian.org>
8746
8747         * ToolbarBackend.C: try icon without argument
8748         if with argument fails
8749
8750 2003-04-08  John Levon  <levon@movementarian.org>
8751
8752         * ToolbarBackend.h:
8753         * ToolbarBackend.C: add getIcon(), handle tooltip,
8754         and change from "Icon" to "Item".
8755
8756 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8757
8758         * BufferView.C (lockInset): another bad getchar crunched
8759
8760 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8761
8762         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8763         again)
8764
8765 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8766
8767         * lyxfind.C (searchForward, searchBackwards): bug 782
8768
8769 2003-04-07  John Levon  <levon@movementarian.org>
8770
8771         * paragraph.C: remove dead comment
8772
8773         * text.C: remove troublesome depth-fiddling code
8774         in leftMargin() and rightMargin() (bug 1017)
8775
8776         * text.C: fix breaking of rows in nested lists
8777         (bug 1004)
8778
8779         * text2.C (updateCounters): fix up depth values
8780         (bug 1013)
8781
8782 2003-04-07  John Levon  <levon@movementarian.org>
8783
8784         * BufferView_pimpl.C: clear message when doc finishes resizing,
8785         and after a mouse event
8786
8787         * lyxfunc.C: clear message after exiting inset
8788
8789 2003-04-07  John Levon  <levon@movementarian.org>
8790
8791         * bufferview_funcs.C: show math status not outside
8792         status in the statusbar
8793
8794 2003-04-07  John Levon  <levon@movementarian.org>
8795
8796         * lyxfunc.C: note status changed after a depth change
8797
8798 2003-04-04  Angus Leeming  <leeming@lyx.org>
8799
8800         * LaTeX.h: move AuxInfo operator==, != out of line.
8801         Remove LaTeX virtual destructor; nothing derives from it.
8802         Move operator()() out of public area and rename it startscript().
8803         Change protected for private.
8804
8805 2003-04-04  Angus Leeming  <leeming@lyx.org>
8806
8807         * lyxfunc.C:
8808         * text2.C: remove unneeded #includes.
8809
8810 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8811
8812         * text2.C (dEPM): fix the heigth of the next row
8813
8814 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8815
8816         * text.C: squashed an invalid getChar requester + some ws changes
8817
8818 2003-04-03  John Levon  <levon@movementarian.org>
8819
8820         * bufferview_funcs.h:
8821         * bufferview_funcs.C:
8822         * lyxfunc.C:
8823         * lyxtext.h:
8824         * text2.C: make getStatus work for the env depth lfuns
8825
8826 2003-04-03  John Levon  <levon@movementarian.org>
8827
8828         * bufferview_funcs.h:
8829         * bufferview_funcs.C:
8830         * lyxfunc.C:
8831         * lyxtext.h:
8832         * text2.C: parlistize decDepth(), by merging it with incDepth()
8833
8834 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8835
8836         * lyxrow.h: store a ParagraphList::iterator instead of a
8837         Paragraph* and adjust other class functions to suit.
8838
8839         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8840         above.
8841
8842 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8843
8844         * text2.C (setCursor): do not anchor to cursor row for the time being
8845
8846 2003-04-02  John Levon  <levon@movementarian.org>
8847
8848         * LyXAction.C:
8849         * lfuns.h:
8850         * lyx_main.C:
8851         * lyxtext.h:
8852         * text.C:
8853         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8854
8855 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8856
8857         * paragraph.h: make ParagraphList and ParagraphList::iterator
8858         friends of Paragraph.
8859
8860         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8861
8862         * ParagraphList.C: Use the private next_ and previous_ from
8863         Paragraph.
8864
8865 2003-04-01  John Levon  <levon@movementarian.org>
8866
8867         * ToolbarBackend.h:
8868         * ToolbarBackend.C:
8869         * Makefile.am: rename, remove defaults gunk
8870
8871         * MenuBackend.h:
8872         * MenuBackend.C: remove defaults gunk
8873
8874         * Languages.h:
8875         * Languages.C: remove defaults gunk
8876
8877         * lyx_main.h:
8878         * lyx_main.C: error out if files couldn't be found.
8879
8880 2003-04-02  John Levon  <levon@movementarian.org>
8881
8882         * text2.C: make incDepth() use parlist
8883
8884 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8885
8886         * undo_funcs.C (firstUndoParagraph): adjust
8887
8888         * text3.C (gotoInset): adjust
8889         (dispatch): adjust, and rewrite loop.
8890
8891         * text2.C (init): adjust, and rewrite loop.
8892         (redoParagraphs): adjust
8893         (updateInset): adjust, and rewrite loop.
8894         (deleteEmptyParagraphMechanism): adjust
8895
8896         * tabular.C (LyXTabular): adjust
8897         (SetMultiColumn): adjust
8898         (TeXRow): adjust
8899
8900         * lyxtext.[Ch] (ownerParagraph): delete function
8901         (ownerParagraphs): new function returns a ParagraphList.
8902
8903         * BufferView.C (removeAutoInsets): adjust
8904         (insertErrors): adjust
8905         (setCursorFromRow): adjust
8906
8907 2003-04-01  Angus Leeming  <leeming@lyx.org>
8908
8909         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8910         in the frontends.
8911
8912 2003-04-02  John Levon  <levon@movementarian.org>
8913
8914         * lyxtext.h:
8915         * text.C:
8916         * Makefile.am:
8917         * text_funcs.h:
8918         * text_funcs.C: make transposeChars a free function
8919
8920         * lyxrow_funcs.C: remove wrong comment
8921
8922 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8923
8924         * lyxtext.h: adjust
8925         * rowpainter.C: adjust
8926         * text.C: adjust
8927         * text2.C: adjust
8928         * text3.C: adjust
8929
8930         * lyxrow_funcs. [Ch]: new files
8931
8932         * lyxrow.[Ch]: remove next and previous pointers
8933         (next,previous): remove accessor functions
8934         (isParEnd): move to lyxrow_funcs
8935         (lastPos): move to lyxrow_funcs
8936         (nextRowIsAllInset): move to lyxrow_funcs
8937         (lastPrintablePos): move to lyxrow_funcs
8938         (numberOfSeparators): move to lyxrow_funcs
8939         (numberOfHfills): move to lyxrow_funcs
8940         (numberOfLabelHfills): move to lyxrow_funcs
8941         (hfillExpansion): move to lyxrow_funcs
8942
8943         * lyxfunc.C: adjust
8944
8945         * bufferview_funcs.C (toggleAndShow): adjust
8946
8947         * RowList.h: Remove class RowList from file leave just a
8948         std::list<Row>.
8949
8950         * RowList.C: delete file
8951
8952         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8953         and lyxrow_funcs.h
8954
8955 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8956
8957         * text3.C (cursorPrevious): adjust
8958         (cursorNext): adjust
8959         (dispatch): adjust
8960
8961         * text2.C (redoHeightOfParagraph): adjust
8962         (redoDrawingOfParagraph): adjust
8963         (setCursor): adjust
8964
8965         * text.C (breakParagraph): adjust
8966         (insertChar): adjust
8967         (backspace): adjust
8968
8969         * rowpainter.C (RowPainter): adjust
8970         (leftMargin): simplify and adjust
8971         (most rowpainter functions): adjust.
8972
8973         * rowpainter.h: store the row as RowList::iterator not as Row*
8974
8975         * lyxcursor.C (row): taka RowList::iterator as arg
8976         (irow): ditto
8977
8978         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8979         of Row*.
8980
8981 2003-04-01  Angus Leeming  <leeming@lyx.org>
8982
8983         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8984         stuff like bool Bool.
8985
8986 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8987
8988         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8989         rewrite a loop
8990
8991 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8992
8993         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8994         RowList::iterator.
8995
8996         * lyxtext.h (rows): drop one version and leve a const variant that
8997         returns a RowList::iterator.
8998
8999 2003-03-31  Angus Leeming  <leeming@lyx.org>
9000
9001         * text.C (fill): ensure that the signature is the same as that in the
9002         header file.
9003
9004 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9005
9006         * text2.C (redoParagraphs): adjust
9007         (updateCounters): adjust
9008         (checkParagraph): adjust
9009         (getColumnNearX): adjust and reformat a bit.
9010
9011         * text.C (top_y): adjust
9012         (workWidth): adjust
9013         (leftMargin): adjust
9014         (prepareToPrint): adjust
9015         (getRow): adjust
9016         (getRowNearY): adjust
9017
9018         * lyxtext.h: make rowlist_ mutable.
9019
9020         * RowList.h: add const_iterator
9021         * RowList.C: adjust for RowList::const_iterator.
9022
9023         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9024         adjust.
9025
9026 2003-03-31  John Levon  <levon@movementarian.org>
9027
9028         * lyxrc.h:
9029         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9030
9031         * lyx_main.C: set default fonts from using lyx_gui funcs
9032
9033         * exporter.C: pdf_mode moved from lyxrc
9034
9035         * lyx_cb.C:
9036         * lyxfunc.C: changes from above
9037
9038 2003-03-31  John Levon  <levon@movementarian.org>
9039
9040         * lyx_main.C: fix to the last fix
9041
9042 2003-03-31  John Levon  <levon@movementarian.org>
9043
9044         * bufferlist.C: "Load original" -> "Load Original"
9045
9046         * converter.C:
9047         * exporter.C:
9048         * importer.C:
9049         * lyx_main.C:
9050         * format.C: more Alert cleanups
9051
9052 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9053
9054         * text2.C (removeParagraph): make it take a RowList::iterator as
9055         arg, adjust.
9056         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9057         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9058
9059         * text.C (anchor_row): make it take a RowList::iterator as arg,
9060         adjust.
9061         (computeBidiTables): make it take a const reference to Row instead
9062         of Row pointer, adjust.
9063         (leftMargin): make it take a RowList::iterator as arg, adjust.
9064         (rowBreakPoint): adjust
9065         (breakAgainOneRow): make it take a RowList::iterator as arg,
9066         adjust.
9067         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9068
9069         * bufferview_funcs.C (toggleAndShow): adjust
9070
9071 2003-03-30  John Levon  <levon@movementarian.org>
9072
9073         * Makefile.am:
9074         * BoostFormat.h:
9075         * boost-inst.C: moved to support
9076
9077         * several files: changes as a result
9078
9079 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9080
9081         * text2.C (LyXText): adjust.
9082         (init): adjust
9083         (removeRow): make it take a RowList::iterator as arg, adjust.
9084         (fullRebreak): adjust
9085         (deleteEmptyParagraphMechanism): adjust
9086         (clearPaint): adjust
9087         (postPaint): adjust
9088
9089         * text.C (top_y): adjust
9090         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9091         (breakAgain): make it take a RowList::iterator as arg, adjust.
9092         (breakParagraph): adjust
9093         (insertChar): adjust
9094         (backspace): adjust
9095
9096         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9097         need_break_row, and refresh_row.
9098
9099         * text3.C (dispatch): adjust
9100
9101         * text2.C (checkParagraph): adjust
9102         (setCursor): adjust
9103         (setCursorFromCoordinates): adjust
9104
9105         * text.C (top_y): adjust
9106         (workWidth): adjust
9107         (getRow): make it return a RowList::iterator, adjust
9108         (getRowNearY): make it return a RowList::iterator, adjust
9109
9110         * text2.C (init): adjust
9111         (insertRow): remove function
9112         (insertParagraph): adjust
9113         (redoParagraphs): adjust
9114         (fullRebreak): adjust
9115         (updateCounters): adjust
9116
9117         * text.C (top_y): rewrite to use RowList iterators.
9118         (top_y): adjust
9119         (setHeightOfRow): rewrite to sue RowList iterators.
9120         (appendParagraph): adjust
9121         (breakAgain): adjust
9122         (breakAgainOneRow): adjust
9123         (breakParagraph): adjust
9124         (getRow): adjust
9125         (getRowNearY): adjust, and remove commented code.
9126
9127         * lyxtext.h (firstRow): delete function
9128         (lastRow): delete function
9129         (rows): new function (const and non-const versions.)
9130         (insertRow): delete function
9131
9132         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9133
9134 2003-03-29  John Levon  <levon@movementarian.org>
9135
9136         * BufferView_pimpl.C: always update scrollbar top
9137         because pasting text when we're anchored could mean we
9138         miss an update altogether
9139
9140 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9141
9142         * text2.C (init): use rowlist_.end() and not 0.
9143         (insertRow): change to take a RowList::iterator as arg, adjust
9144         for this.
9145         (insertParagraph): change to take a RowList::iterator as arg,
9146         adjust for this.
9147         (redoParagraphs): remove some debug msgs.
9148
9149         * text.C (appendParagraph): change to take a RowList::iterator
9150         arg, adjust for this.
9151         (breakAgain): add an assert
9152         (breakAgainOneRow): ditto
9153
9154 2003-03-29  John Levon  <levon@movementarian.org>
9155
9156         * text2.C: do not clear selection after inc/decDepth
9157         (bug 550)
9158
9159 2003-03-29  John Levon  <levon@movementarian.org>
9160
9161         * BufferView.C:
9162         * buffer.C: fix broken strerrors according to Lars
9163
9164 2003-03-29  John Levon  <levon@movementarian.org>
9165
9166         * converters.C: more Alert cleanups
9167
9168 2003-03-29  John Levon  <levon@movementarian.org>
9169
9170         * bufferview_funcs.C: remove pointless Alert
9171
9172         * buffer.C: fix confusing error message when
9173         a template is chmoded 000
9174
9175 2003-03-29  John Levon  <levon@movementarian.org>
9176
9177         * BufferView.C:
9178         * BufferView.h:
9179         * BufferView_pimpl.C: Alert fixes
9180
9181         * Makefile.am:
9182         * tabular.C:
9183         * tabular-old.C: remove unused table compat reading
9184
9185 2003-03-29  John Levon  <levon@movementarian.org>
9186
9187         * BufferView.C:
9188         * buffer.C:
9189         * lyx_cb.h:
9190         * lyx_cb.C: more Alert cleanups
9191
9192         * lyxfunc.C: don't allow chktex if not latex document
9193
9194 2003-03-29  John Levon  <levon@movementarian.org>
9195
9196         * lyx_cb.C:
9197         * BufferView.C:
9198         * buffer.C: warnings pushed down from support/,
9199         kill err_alert
9200
9201 2003-03-29  John Levon  <levon@movementarian.org>
9202
9203         * lyxfunc.C: safety check for C-r (revert)
9204
9205 2003-03-29  John Levon  <levon@movementarian.org>
9206
9207         * bufferlist.h:
9208         * bufferlist.C: several UI fixes using Alert::prompt.
9209         Fix the pointless looping quit code. Fix stupid revert
9210         behaviour (bug 938)
9211
9212         * lyxvc.h:
9213         * lyxvc.C:
9214         * lyx_cb.C: use Alert::prompt
9215
9216         * lyx_main.C: remove a silly question
9217
9218         * lyxfunc.C: remove a couple of silly questions,
9219         use Alert::prompt
9220
9221 2003-03-28  John Levon  <levon@movementarian.org>
9222
9223         * text2.C: fix bug 974 (End on empty par)
9224
9225 2003-03-28  John Levon  <levon@movementarian.org>
9226
9227         * BufferView_pimpl.C:
9228         * LyXAction.C:
9229         * lfuns.h: remove do-nothing math greek lfuns
9230
9231 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9232
9233         * lyxgluelength.h (isValidGlueLength): add default arg on
9234         parameter 2. Remove default arg from friend in class.
9235
9236         * lyxlength.h (isValidLength): add default arg on parameter 2.
9237         Remove default arg from friend in class.
9238
9239         * text2.C (LyXText): adjust, initialize refresh_row.
9240         (init): adjust
9241         (removeRow): adjust
9242         (insertRow): adjust
9243         (insertParagraph): adjst
9244         (redoParagraphs): adjust
9245         (fullRebreak): adjust
9246         (updateCounters): adjust
9247         (deleteEmptyParagraphMechanism): first attempt at fixing a
9248         crashing bug.
9249
9250         * text.C (top_y): adjust
9251         (setHeightOfRow): adjust
9252         (getRow): adjust
9253         (getRowNearY): adjust
9254
9255         * lyxtext.h: include RowList.h
9256         (~LyXText): not needed anymore, deleted.
9257         (firstRow): modify for RowList
9258         (lastRow): new function
9259         Delete firstrow and lastrow class variables, add a Rowlist
9260         rowlist_ class variable.
9261
9262         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9263         paragraph is empty.
9264
9265         * RowList.C (insert): fix case where it == begin().
9266
9267 2003-03-26  Angus Leeming  <leeming@lyx.org>
9268
9269         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9270         the thesaurus dialog.
9271
9272 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9273
9274         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9275
9276         * RowList.[Ch]: new files
9277
9278         * ParagraphList.C (erase): handle the case where it == begin
9279         correctly.
9280
9281 2003-03-25  John Levon  <levon@movementarian.org>
9282
9283         * Makefile.am:
9284         * aspell_local.h:
9285         * aspell.C: add new aspell support
9286
9287         * lyxrc.h:
9288         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9289         have it accessible.
9290
9291 2003-03-25  Angus Leeming  <leeming@lyx.org>
9292
9293         * lfuns.h:
9294         * LyXAction.C (init): new LFUN_INSET_INSERT.
9295
9296         * BufferView_pimpl.C (dispatch): split out part of the
9297         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9298
9299         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9300         LFUN_INSET_APPLY.
9301
9302 2003-03-25  Angus Leeming  <leeming@lyx.org>
9303
9304         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9305
9306 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9307
9308         * text2.C:
9309         * text3.C: remove useless row->height(0)
9310
9311 2003-03-25  John Levon  <levon@movementarian.org>
9312
9313         * lyxtext.h:
9314         * text2.C:
9315         * text3.C: rename the refreshing stuff to better names
9316
9317 2003-03-24  John Levon  <levon@movementarian.org>
9318
9319         * BufferView_pimpl.h:
9320         * BufferView_pimpl.C: update layout choice on a mouse
9321         press/release
9322
9323 2003-03-23  John Levon  <levon@movementarian.org>
9324
9325         * Makefile.am: fix commandtags.h reference
9326
9327 2003-03-22  John Levon  <levon@movementarian.org>
9328
9329         * BufferView_pimpl.C:
9330         * lyxtext.h:
9331         * rowpainter.C:
9332         * rowpainter.h:
9333         * text.C:
9334         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9335
9336 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9337
9338         * lyxtext.h:
9339         * text.C: take the rtl methods out of line
9340
9341 2003-03-21 André Pönitz <poenitz@gmx.net>
9342
9343         * metricsinfo.[Ch]: new files containing structures to be passed around
9344         during the two-phase-drawing...
9345
9346 2003-03-21 André Pönitz <poenitz@gmx.net>
9347
9348         * lyxtextclass.C: read 'environment' tag.
9349
9350 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9351
9352         * text2.C (removeRow): fix bug 964
9353
9354 2003-03-20  John Levon  <levon@movementarian.org>
9355
9356         * rowpainter.C:
9357         * text.C:
9358         * text2.C: paint cleanups. Inset::update() dropped font
9359         parameter
9360
9361 2003-03-19  John Levon  <levon@movementarian.org>
9362
9363         * lyxfunc.C: only fitcursor/markDirty if available()
9364
9365 2003-03-19  John Levon  <levon@movementarian.org>
9366
9367         * commandtags.h: rename to ...
9368
9369         * lfuns.h: ... this, and renumber / cleanup
9370
9371 2003-03-19  John Levon  <levon@movementarian.org>
9372
9373         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9374         fit the cursor after an lfun
9375
9376         * BufferView.h:
9377         * BufferView.C:
9378         * BufferView_pimpl.h:
9379         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9380
9381         * LyXAction.C: layout-character should have ReadOnly
9382
9383         * ParagraphParameters.C:
9384         * buffer.C:
9385         * bufferview_funcs.C:
9386         * lyx_cb.C:
9387         * lyxfind.C:
9388         * lyxtext.h:
9389         * text.C:
9390         * text2.C:
9391         * text3.C:
9392         * undo_funcs.C: changes from above
9393
9394 2003-03-18  John Levon  <levon@movementarian.org>
9395
9396         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9397         remove it from update()
9398
9399         * lyxfunc.C: update layout choice after an lfun
9400
9401         * text3.C: remove extra updateLayoutChoice()s
9402
9403 2003-03-18  John Levon  <levon@movementarian.org>
9404
9405         * text.C: top_y change means full repaint, fix
9406         a drawing bug with cursor movement
9407
9408 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9409
9410         * lyxtext.h:
9411         * text.C:
9412         * text2.C: anchor row on setCursor
9413
9414 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9415
9416         * lyxtext.h: remove almost all mutable keywords
9417         * text.C:
9418         * text2.C:
9419         * text3.C: remove const keywords accordingly
9420
9421 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9422
9423         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9424         anon namespace
9425         (TeXEnvironment): ditto
9426         (TeXOnePar): ditto
9427
9428 2003-03-17  John Levon  <levon@movementarian.org>
9429
9430         * text.C (rowBreakPoint): remove attempt to fix displayed
9431         math insets inside a manual label
9432
9433 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9434
9435         * lyxtext.h: remove BufferView* as first arg from almost all class
9436         functions.
9437         * other files: adjust.
9438
9439 2003-03-17  John Levon  <levon@movementarian.org>
9440
9441         * lyxtext.h:
9442         * undo_funcs.C:
9443         * text2.C: more paint cleanups
9444
9445         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9446
9447         * rowpainter.h:
9448         * rowpainter.C: remove "smart" background painting code
9449
9450 2003-03-16  John Levon  <levon@movementarian.org>
9451
9452         * lyxtext.h:
9453         * text.C:
9454         * text2.C:
9455         * text3.C: add helper functions for setting refresh_row/y
9456
9457 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9458
9459         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9460         newline inset which *can* get inserted in the pass_thru layouts.
9461         This is primarily for literate documents.
9462
9463 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9464
9465         * buffer.C: increment LYX_FORMAT to 223
9466
9467 2003-03-14 André Pönitz <poenitz@gmx.net>
9468
9469         * textclass.h: prepare for environment handling, ws changes
9470         * lyxlayout.C: read latexheader and latexfooter tags
9471
9472 2003-03-14  John Levon  <levon@movementarian.org>
9473
9474         * text2.C: rewrite ::status() a bit
9475
9476 2003-03-13  John Levon  <levon@movementarian.org>
9477
9478         * lyxtext.h: add some docs
9479
9480 2003-03-13  John Levon  <levon@movementarian.org>
9481
9482         * lyxtext.h:
9483         * text.C:
9484         * text2.C:
9485         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9486
9487 2003-03-13  John Levon  <levon@movementarian.org>
9488
9489         * text3.C: fix appendix redrawing
9490
9491 2003-03-13  John Levon  <levon@movementarian.org>
9492
9493         * text.C (setHeightOfRow):
9494         * rowpainter.h:
9495         * rowpainter.C: make appendix mark have the text
9496           "Appendix" so the user knows what it is
9497
9498         * LColor.h:
9499         * LColor.C: s/appendixline/appendix/ from above
9500
9501 2003-03-13  John Levon  <levon@movementarian.org>
9502
9503         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9504
9505         * text.C: fix a getChar(pos) bug properly
9506
9507 2003-03-13  Angus Leeming  <leeming@lyx.org>
9508
9509         * commandtags.h:
9510         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9511         Probably only temporary. Let's see how things pan out.
9512
9513         * BufferView.C (unlockInset):
9514         * BufferView_pimpl.C (fitCursor):
9515         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9516
9517         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9518         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9519
9520         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9521         new functions that convert ParagraphParameters to and from a string.
9522
9523         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9524         BufferView::Pimpl's dispatch.
9525         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9526
9527 2003-03-13 André Pönitz <poenitz@gmx.net>
9528
9529         * lyxfunc.C:
9530         * text3.C:
9531         * factory.C: make it aware of InsetEnv
9532
9533 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9534
9535         * text2.C (setCursor): never ask for one past last
9536         (setCursor): add some debugging messages.
9537
9538         * text.C (singleWidth): never ask for one past last
9539         (singleWidth): ditto
9540         (leftMargin): ditto
9541         (rightMargin): ditto
9542         (rowBreakPoint): ditto
9543         (setHeightOfRow): ditto
9544         (prepareToPrint): ditto
9545
9546         * rowpainter.C (paintBackground): never ask for one past last
9547         (paintText): never ask for one past last
9548
9549         * paragraph_pimpl.C (getChar): make the assert stricter, never
9550         allow the one past last pos to be taken
9551
9552         * paragraph.C (getChar): ws changes only
9553
9554         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9555         (numberOfSeparators): ditto
9556         (numberOfHfills): ditto
9557
9558 2003-03-12  John Levon  <levon@movementarian.org>
9559
9560         * author.h:
9561         * author.C:
9562         * bufferparams.h:
9563         * bufferparams.C:
9564         * paragraph_funcs.C: fix per-buffer authorlists
9565
9566 2003-03-12  John Levon  <levon@movementarian.org>
9567
9568         * text.C: fix newline in right address
9569
9570 2003-03-12  Angus Leeming  <leeming@lyx.org>
9571
9572         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9573         duplicate those in LyXFunc::dispatch.
9574
9575         * commandtags.h:
9576         * LyXAction.C:
9577         * ToolbarDefaults.C:
9578         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9579         Add LFUN_FONTFREE_UPDATE.
9580
9581         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9582         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9583
9584         * bufferview_func.[Ch]: several new functions to facilliate
9585         transfer of data to and from the character dialog.
9586
9587 2003-03-12  John Levon  <levon@movementarian.org>
9588
9589         * buffer.C:
9590         * paragraph.h:
9591         * paragraph.C:
9592         * paragraph_funcs.C:
9593         * paragraph_pimpl.C:
9594         * sgml.C:
9595         * tabular.C:
9596         * text.C:
9597         * text3.C: remove META_NEWLINE in favour of an inset
9598
9599         * rowpainter.h:
9600         * rowpainter.C: remove paintNewline (done by inset)
9601
9602 2003-03-12  John Levon  <levon@movementarian.org>
9603
9604         * paragraph_pimpl.C: complain about bad getChar()s
9605         for a while at least
9606
9607 2003-03-12  John Levon  <levon@movementarian.org>
9608
9609         * buffer.h:
9610         * buffer.C: move paragraph read into a separate function,
9611         a little renaming to reflect that.
9612
9613         * bufferparams.h:
9614         * bufferparams.C: remove the author_ids map, not necessary now
9615
9616         * factory.h:
9617         * factory.C: moved Buffer::readInset to here
9618
9619         * paragraph_funcs.h:
9620         * paragraph_funcs.C: readParagraph free function moved from
9621         buffer.C
9622
9623         * tabular.C: name change
9624
9625 2003-03-12  John Levon  <levon@movementarian.org>
9626
9627         * buffer.C:
9628         * ParagraphParameters.C: move par params input to
9629         a read() method
9630
9631         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9632         behave like a normal read from the stream wrt reading
9633         a line vs. a \\token
9634
9635 2003-03-12  John Levon  <levon@movementarian.org>
9636
9637         * paragraph.C:
9638         * ParagraphParameters.h:
9639         * ParagraphParameters.C: move output code to a
9640         ::write() method
9641
9642 2003-03-12  John Levon  <levon@movementarian.org>
9643
9644         * BufferView.C (insertLyXFile):
9645         * buffer.h:
9646         * buffer.C:
9647         * tabular.C: use a parlist iterator for creating the
9648           document.
9649
9650 2003-03-12  John Levon  <levon@movementarian.org>
9651
9652         * buffer.C: make current_change static local not
9653           static file-scope
9654
9655 2003-03-12  John Levon  <levon@movementarian.org>
9656
9657         * buffer.C: fix insertStringAsLines for change tracking
9658
9659 2003-03-12  John Levon  <levon@movementarian.org>
9660
9661         * BufferView.C:
9662         * tabular.C:
9663         * buffer.h:
9664         * buffer.C:
9665         * bufferparams.h:
9666         * bufferparams.C: move author list into params. Rename some
9667           functions. Move the header reading into a separate token
9668           loop. Move the header token reading into BufferParams.
9669
9670 2003-03-12  John Levon  <levon@movementarian.org>
9671
9672         * changes.C: put debug inside lyxerr.debugging() checks
9673
9674 2003-03-11 André Pönitz <poenitz@gmx.net>
9675
9676         * factory.C: make it aware of InsetHFill
9677
9678 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9679
9680         * buffer.C (latexParagraphs): move function from here...
9681         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9682         args.
9683
9684 2003-03-10  Angus Leeming  <leeming@lyx.org>
9685
9686         * LyXAction.C (init): fix bug in poplating array with multiple entries
9687         with the same LFUN (spotted by JMarc).
9688
9689 2003-03-10  John Levon  <levon@movementarian.org>
9690
9691         * text.C:
9692         * text2.C: move getColumnNearX() near its
9693         only call site
9694
9695 2003-03-10  John Levon  <levon@movementarian.org>
9696
9697         * text.C: fix break before a minipage
9698
9699 2003-03-10  John Levon  <levon@movementarian.org>
9700
9701         * text.C: fix the last commit
9702
9703 2003-03-09  John Levon  <levon@movementarian.org>
9704
9705         * lyxtext.h:
9706         * text.C:
9707         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9708         bug 365 (don't break before insets unless needed). Don't
9709         return a value > last under any circumstances.
9710
9711 2003-03-09  Angus Leeming  <leeming@lyx.org>
9712
9713         * BufferView_pimpl.C (trackChanges, dispatch): call
9714         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9715
9716 2003-03-09  Angus Leeming  <leeming@lyx.org>
9717
9718         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9719         than Dialogs::showAboutlyx().
9720
9721 2003-03-09  Angus Leeming  <leeming@lyx.org>
9722
9723         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9724         than Dialogs::showTabularCreate().
9725
9726 2003-03-09  John Levon  <levon@movementarian.org>
9727
9728         * lyxtext.h:
9729         * text.C:
9730         * text2.C: 3rd arg to nextBreakPoint was always the same.
9731           Use references.
9732
9733 2003-03-08  John Levon  <levon@movementarian.org>
9734
9735         * lyxrow.C:
9736         * paragraph.C:
9737         * paragraph.h:
9738         * rowpainter.C:
9739         * text.C:
9740         * text2.C: Remove the "main" bit from the "main body"
9741           notion.
9742
9743 2003-03-08  John Levon  <levon@movementarian.org>
9744
9745         * text.C (leftMargin): The left margin of an empty
9746         manual label paragraph should not include the label width
9747         string length.
9748
9749         * text.C (prepareToPrint): don't attempt to measure hfills
9750         for empty manual label paragraphs - the answer should be 0
9751
9752 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9753
9754         * CutAndPaste.C: remove commented code and reindent.
9755
9756 2003-03-08  John Levon  <levon@movementarian.org>
9757
9758         * lyxfunc.h:
9759         * lyxfunc.C: move reloadBuffer()
9760
9761         * BufferView.h:
9762         * BufferView.C: to here
9763
9764         * lyxvc.C: add comment
9765
9766         * vc-backend.h:
9767         * vc-backend.C: call bv->reload() to avoid
9768           getStatus() check on MENURELOAD
9769
9770 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9771
9772         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9773         to an old format .dep file.
9774
9775 2003-03-07  Angus Leeming  <leeming@lyx.org>
9776
9777         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9778         when the LFUN_MOUSE_RELEASE should have been handled by
9779         inset->localDispatch.
9780
9781 2003-03-07  Angus Leeming  <leeming@lyx.org>
9782
9783         * BufferView_pimpl.C (dispatch):
9784         * LyXAction.C (init):
9785         * ToolbarDefaults.C (init):
9786         * commandtags.h:
9787         * lyxfunc.C (getStatus):
9788         remove LFUN_INSET_GRAPHICS.
9789
9790         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9791
9792 2003-03-07  Angus Leeming  <leeming@lyx.org>
9793
9794         * commandtags.h:
9795         * LyXAction.C (init):
9796         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9797
9798         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9799
9800         * commandtags.h:
9801         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9802
9803         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9804         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9805
9806 2003-03-07  Angus Leeming  <leeming@lyx.org>
9807
9808         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9809         remove "ert".
9810
9811 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9812
9813         * ParagraphList.C (front): new function
9814         (back): implement
9815
9816 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9817
9818         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9819         and top_row_offset_. removed var first_y.
9820         * text.C (top_y):
9821         * text2.C (LyXText, removeRow):
9822         * text3.C:
9823         * BufferView_pimpl.C:
9824         use these methods instead of using first_y
9825
9826 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9827
9828         * text2.C (pasteSelection): adjust for checkPastePossible
9829
9830         * CutAndPaste.C: remove Paragraph * buf and replace with
9831         ParagraphList paragraphs.
9832         (DeleteBuffer): delete
9833         (cutSelection): change the tc type to textclass_type
9834         (copySelection): change the tc type to textclass_type
9835         (copySelection): adjust for ParagraphList
9836         (pasteSelection): change the tc type to textclass_type
9837         (pasteSelection): adjust for Paragraphlist
9838         (nrOfParagraphs): simplify for ParagraphList
9839         (checkPastePossible): simplify for ParagraphList
9840         (checkPastePossible): remove unused arg
9841
9842         * ParagraphList.C (insert): handle the case where there are no
9843         paragraphs yet.
9844
9845         * CutAndPaste.h: make CutAndPaste a namespace.
9846
9847         * text3.C (dispatch): adjust
9848
9849         * text.C (breakParagraph): add a ParagraphList as arg
9850
9851         * paragraph_funcs.C (breakParagraph): change to take a
9852         BufferParams and a ParagraphList as args.
9853         (breakParagraphConservative): ditto
9854         (mergeParagraph): ditto
9855         (TeXDeeper): add a ParagraphList arg
9856         (TeXEnvironment): ditto
9857         (TeXOnePar): ditto
9858
9859         * buffer.C (readLyXformat2): adjust
9860         (insertStringAsLines): adjust
9861         (latexParagraphs): adjust
9862
9863         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9864         (cutSelection): adjust
9865         (pasteSelection): adjust
9866
9867         * BufferView_pimpl.C (insertInset): adjust
9868
9869 2003-03-05  Angus Leeming  <leeming@lyx.org>
9870
9871         * commandtags.h:
9872         * LyXAction.C (init):
9873         * BufferView_pimpl.C (dispatch):
9874         * lyxfunc.C (getStatus):
9875         remove LFUN_CHILD_INSERT.
9876
9877         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9878
9879 2003-03-05  Angus Leeming  <leeming@lyx.org>
9880
9881         * commandtags.h:
9882         * LyXAction.C (init):
9883         * src/factory.C (createInset):
9884         * lyxfunc.C (getStatus):
9885         * text3.C (dispatch):
9886         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9887
9888         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9889
9890 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9891
9892         * ParagraphList.C (insert): handle insert right before end()
9893         (erase): fix cases where it can be first or last paragraph.
9894
9895 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9896
9897         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9898         Paragraph::next and Paragraph::previous
9899         (TeXOnePar): ditto
9900
9901         * text.C (breakParagraph): adjust
9902
9903         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9904         BufferParams& as arg.
9905         (breakParagraph): use ParagraphList::insert
9906         (breakParagraphConservative): take a Buffer* instead of a
9907         BufferParams& as arg.
9908         (breakParagraphConservative): use ParagraphList::insert.
9909
9910         * buffer.C (insertStringAsLines): un-const it
9911         (insertStringAsLines): adjust
9912
9913         * ParagraphList.C (insert): new function
9914
9915         * CutAndPaste.C (pasteSelection): adjust
9916
9917         * text.C (backspace): adjust
9918
9919         * tabular.C (SetMultiColumn): adjust
9920
9921         * CutAndPaste.C (cutSelection): adjust
9922         (pasteSelection): adjust
9923
9924         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9925         Buffer const * as arg
9926
9927         * ParagraphList.C (erase): new function
9928         * paragraph_funcs.C (mergeParagraph): use it
9929         (mergeParagraph): make it take a Buffer* instead of a
9930         BufferParams* as arg
9931
9932         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9933         as arg
9934         (breakParagraphConservative): ditto
9935
9936         * paragraph.h: remove the breakParagraph friend
9937
9938         * paragraph.C (eraseIntern): new function
9939         (setChange): new function
9940
9941         * paragraph_funcs.C (mergeParagraph): make it take a
9942         ParagraphList::iterator instead of a Paragraph *, adjust
9943         accordingly.
9944
9945         * paragraph.h: move an #endif so that the change tracking stuff
9946         also works in the NO_NEXT case.
9947
9948 2003-03-04  Angus Leeming  <leeming@lyx.org>
9949
9950         * commandtags.h:
9951         * LyXAction.C: new LFUN_INSET_MODIFY.
9952
9953         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9954         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9955
9956 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9957
9958         * several files: ws changes only
9959
9960         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9961         (TeXEnvironment): ditto
9962         (TeXDeeper): ditto
9963
9964         * buffer.C (makeLaTeXFile): adjust
9965         (latexParagraphs): make it take ParagraphList::iterator as args
9966
9967 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9968
9969         * buffer.C (latexParagraphs): adjust
9970
9971         * paragraph.C (TeXOnePar): move function...
9972         (optArgInset): move function...
9973         (TeXEnvironment): move function...
9974         * paragraph_pimpl.C (TeXDeeper): move function...
9975         * paragraph_funcs.C: ...here
9976
9977         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9978
9979 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9980
9981         * buffer.C (readInset): remove compability code for old Figure and
9982         InsetInfo insets
9983
9984 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9985
9986         * buffer.C: ws changes
9987         (readInset):
9988
9989         * BufferView_pimpl.C: ditto
9990         * author.C: ditto
9991         * buffer.h: ditto
9992         * bufferlist.h: ditto
9993         * changes.h: ditto
9994         * lyxfunc.C: ditto
9995
9996 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9997
9998         * converter.[Ch]: split into itself +
9999         * graph.[Ch]
10000         * format.[Ch]
10001         * Makefile.am: += graph.[Ch] + format.[Ch]
10002         * MenuBackend.C
10003         * buffer.C
10004         * exporter.C
10005         * importer.C
10006         * lyx_main.C
10007         * lyxfunc.C
10008         * lyxrc.C: added #include "format.h"
10009
10010 2003-02-27  Angus Leeming  <leeming@lyx.org>
10011
10012         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10013           a label.
10014
10015         * factory.C (createInset): add "label" to the factory.
10016
10017         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10018           string and do no more.
10019
10020 2003-02-27  Angus Leeming  <leeming@lyx.org>
10021
10022         * commandtags.h:
10023         * LyXAction.C (init):
10024         * factory.C (createInset):
10025         * BufferView_pimpl.C (dispatch):
10026           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10027
10028         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10029
10030         * lyxfunc.C (dispatch):
10031         * text3.C (dispatch): pass name to params2string.
10032
10033 2003-02-26  Angus Leeming  <leeming@lyx.org>
10034
10035         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10036           blocks together.
10037           Rearrange the ~includes. Strip out the unnecessary ones.
10038
10039         * factory.C (createInset): reformat.
10040           create new insets for the various LFUN_XYZ_APPLY lfuns.
10041
10042 2003-02-26  John Levon  <levon@movementarian.org>
10043
10044         * lyxrow.h:
10045         * lyxrow.C: add isParStart,isParEnd helpers
10046
10047         * paragraph.h: make isInserted/DeletedText take refs
10048
10049         * paragraph_funcs.h:
10050         * paragraph_funcs.C: remove #if 0'd code
10051
10052         * lyxtext.h:
10053         * text3.C:
10054         * text2.C:
10055         * text.C: use lyxrow helpers above.
10056           Move draw and paint routines to RowPainter.
10057           Make several methods use refs not pointers.
10058           Make backgroundColor() const.
10059           Add markChangeInDraw(), isInInset().
10060           Merge changeRegionCase into changeCase.
10061           Make workWidth() shouldn't-happen code into an Assert.
10062
10063         * rowpainter.h:
10064         * rowpainter.C: new class for painting a row.
10065
10066         * vspace.h:
10067         * vspace.C: make inPixels take a ref
10068
10069 2003-02-26  Angus Leeming  <leeming@lyx.org>
10070
10071         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10072         LFUN_REF_APPLY.
10073
10074 2003-02-25  John Levon  <levon@movementarian.org>
10075
10076         * ispell.C: give the forked command a more accurate name
10077
10078 2003-02-22  John Levon  <levon@movementarian.org>
10079
10080         * toc.h:
10081         * toc.C: make TocItem store an id not a Paragraph *
10082           (bug #913)
10083
10084 2003-02-21  Angus Leeming  <leeming@lyx.org>
10085
10086         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10087           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10088           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10089           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10090           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10091           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10092
10093         * BufferView_pimpl.C (dispatch):
10094         * LyXAction.C (init):
10095         * factory.C (createInset):
10096         * lyxfunc.C (getStatus, dispatch):
10097         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10098
10099 2003-02-21  Angus Leeming  <leeming@lyx.org>
10100
10101         * BufferView_pimpl.C (MenuInsertLyXFile):
10102         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10103         * lyxfunc.C (menuNew, open, doImport):
10104           no longer pass a LyXView & to fileDlg.
10105
10106 2003-02-21  Angus Leeming  <leeming@lyx.org>
10107
10108         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10109         * LyXAction.C: change, BIBKEY to BIBITEM.
10110         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10111         Change InsetBibKey to InsetBibitem.
10112         Change BIBKEY_CODE to BIBITEM_CODE.
10113         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10114         * factory.C: replace insetbib.h with insetbibitem.h.
10115         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10116         * paragraph.C: replace insetbib.h with insetbibitem.h.
10117         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10118         Change bibkey() to bibitem().
10119         * text.C: remove insetbib.h.
10120         * text2.C: replace insetbib.h with insetbibitem.h.
10121         change bibkey() to bibitem().
10122         * text3.C: remove insetbib.h.
10123         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10124
10125 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10126
10127         * lyxrc.C (output): enclose user email in quotes (in case there are
10128         several words)
10129
10130 2003-02-18  John Levon  <levon@movementarian.org>
10131
10132         * buffer.h: add std::
10133
10134 2003-02-17  John Levon  <levon@movementarian.org>
10135
10136         * SpellBase.h:
10137         * ispell.h:
10138         * ispell.C:
10139         * pspell.h:
10140         * pspell.C: reworking. Especially in ispell, a large
10141           number of clean ups and bug fixes.
10142
10143         * lyxfunc.C: fix revert to behave sensibly
10144
10145 2003-02-17 André Pönitz <poenitz@gmx.net>
10146
10147         * LyXAction.C:
10148         * commandtags.h: new LFUN_INSERT_BIBKEY
10149
10150         * layout.h:
10151         * lyxlayout.C:
10152         * buffer.C:
10153         * factory.C:
10154         * text.C:
10155         * text2.C:
10156         * text3.C:
10157         * paragraph.[Ch]:
10158         * paragraph_func.C: remove special bibkey handling
10159
10160 2003-02-17  John Levon  <levon@movementarian.org>
10161
10162         * text.C (Delete): fix case where delete at the end of
10163           the very first paragraph would not merge the pars
10164
10165 2003-02-17  John Levon  <levon@movementarian.org>
10166
10167         * lyxrow.C: fix lastPrintablePos()
10168
10169 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10170
10171         * bufferparams.C (writeLaTeX): add a std:here
10172
10173         * buffer.C: and remove a using directive there
10174
10175 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10176
10177         * buffer.C (makeLaTeXFile): move the code that generates the
10178           preamble...
10179
10180         * bufferparams.C (writeLaTeX): ... in this new method
10181
10182         * LaTeXFeatures.C (getEncodingSet): make const
10183           (getLanguages): make const
10184
10185         * MenuBackend.C (binding): returns the binding associated to this
10186           action
10187           (add): sets the status of each item by calling getStatus. Adds
10188           some intelligence.
10189           (read): add support for OptSubMenu
10190           (expand): remove extra separator at the end of expanded menu
10191
10192 2003-02-15  John Levon  <levon@movementarian.org>
10193
10194         * BufferView.C:
10195         * BufferView_pimpl.C:
10196         * bufferlist.h:
10197         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10198           inset code that had no actual effect. Remove unneeded status
10199           code.
10200
10201 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10202
10203         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10204           in preamble
10205
10206 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10207
10208         * text.C (drawLengthMarker): also draw an arrow marker for
10209           symbolic lengths (medskip...)
10210
10211 2003-02-14  John Levon  <levon@movementarian.org>
10212
10213         * tabular.h:
10214         * tabular.C: better method names
10215
10216 2003-02-14  John Levon  <levon@movementarian.org>
10217
10218         * BufferView_pimpl.C:
10219         * bufferlist.C:
10220         * buffer.C:
10221         * converter.C:
10222         * lyx_cb.C:
10223         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10224           it's a more accurate name. Remove some pointless uses.
10225
10226 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10227
10228         * text2.C (LyXText): change order of initilizers to shut off
10229           warnings
10230
10231 2003-02-14  John Levon  <levon@movementarian.org>
10232
10233         * buffer.C: use ParIterator for getParFromID()
10234
10235         * paragraph.h:
10236         * paragraph.C:
10237         * paragraph_pimpl.h:
10238         * paragraph_pimpl.C: remove unused getParFromID()
10239
10240 2003-02-14  John Levon  <levon@movementarian.org>
10241
10242         * buffer.C: remove some very old #if 0'd parse code
10243
10244 2003-02-13  John Levon  <levon@movementarian.org>
10245
10246         * text.h:
10247         * text.C:
10248         * text2.C: move hfillExpansion(), numberOfSeparators(),
10249           rowLast(), rowLastPrintable(), numberofHfills(),
10250           numberOfLabelHfills() ...
10251
10252         * lyxrow.h:
10253         * lyxrow.C: ... to member functions here.
10254
10255         * paragraph.h:
10256         * paragraph.C:
10257         * lyxtext.h:
10258         * text.C: remove LyXText::beginningOfMainBody(), and call
10259           p->beginningOfMainBody() directly. Move the check for
10260           LABEL_MANUAL into the latter.
10261
10262         * text.h:
10263         * text.C:
10264         * text2.C:
10265         * vspace.C:
10266         * BufferView.h:
10267         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10268
10269         * text.h:
10270         * text.C:
10271         * text2.C:
10272         * text3.C:
10273         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10274           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10275
10276 2003-02-13  John Levon  <levon@movementarian.org>
10277
10278         * CutAndPaste.C: remove debug
10279
10280 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10281
10282         * paragraph.C (asString): remove two unused variables
10283
10284         * lyxtextclass.C (readTitleType):
10285           (Read):
10286           (LyXTextClass): handle new members titletype_ and titlename_
10287
10288         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10289
10290 2003-02-09  John Levon  <levon@movementarian.org>
10291
10292         * buffer.h:
10293         * buffer.C: replace hand-coded list with a map for the dep clean
10294
10295 2003-02-08  John Levon  <levon@movementarian.org>
10296
10297         * LaTeX.C: consolidate code into showRunMessage() helper
10298
10299 2003-02-08  John Levon  <levon@movementarian.org>
10300
10301         * lyxfind.C:
10302         * lyxtext.h:
10303         * text2.C:
10304         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10305           and pass the size in explicitly
10306
10307         * BufferView_pimpl.h:
10308         * BufferView_pimpl.C:
10309         * BufferView.h:
10310         * BufferView.C: add getCurrentChange()
10311
10312         * BufferView_pimpl.h:
10313         * BufferView_pimpl.C: handle change lfuns
10314
10315         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10316           for changes. Mark pasted paragraphs as new.
10317
10318         * support/lyxtime.h:
10319         * support/lyxtime.C:
10320         * DepTable.C: abstract time_t as lyx::time_type
10321
10322         * LColor.h:
10323         * LColor.C: add colours for new text, deleted text, changebars
10324
10325         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10326           package use "usenames" option.
10327
10328         * commandtags.h:
10329         * lyxfunc.C:
10330         * LyXAction.C: add change lfuns
10331
10332         * Makefile.am:
10333         * author.h:
10334         * author.C: author handling
10335
10336         * buffer.h:
10337         * buffer.C: add a per-buffer author list, with first entry as
10338           current author. Handle new .lyx tokens for change tracking. Output
10339           author list to .lyx file. Output dvipost stuff to .tex preamble.
10340           Bump lyx format to 222.
10341
10342         * bufferlist.h:
10343         * bufferlist.C: add setCurrentAuthor() to reset current author details
10344           in all buffers.
10345
10346         * bufferparams.h:
10347         * bufferparams.C: add param for tracking
10348
10349         * bufferview_funcs.C: output change info in minibuffer
10350
10351         * Makefile.am:
10352         * changes.h:
10353         * changes.C: add change-tracking structure
10354
10355         * debug.h:
10356         * debug.C: add CHANGES debug flag
10357
10358         * lyxfind.h:
10359         * lyxfind.C: add code for finding the next change piece
10360
10361         * lyxrc.h:
10362         * lyxrc.C: add user_name and user_email
10363
10364         * lyxrow.h:
10365         * lyxrow.C: add a metric for the top of the text line
10366
10367         * lyxtext.h:
10368         * text.C: implement accept/rejectChange()
10369
10370         * lyxtext.h:
10371         * text.C: paint changebars. Paint new/deleted text in the chosen
10372         colours. Strike through deleted text.
10373
10374         * paragraph.h:
10375         * paragraph.C:
10376         * paragraph_pimpl.h:
10377         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10378           in the current change to the insert functions. Rework erase to
10379           mark text as deleted, adding an eraseIntern() and a range-based
10380           erase(). Implement per-paragraph change lookup and
10381           accept/reject.
10382
10383         * paragraph_funcs.C: Fixup paste for change tracking.
10384
10385         * tabular.C: mark added row/columns as new.
10386
10387         * text.C: fix rowLast() to never return -1. Don't allow
10388           spellchecking of deleted text. Track transpose changes. Don't
10389           allow paragraph break or merge where appropriate.
10390
10391         * text2.C: leave cursor at end of selection after a cut.
10392
10393 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10394
10395         * text.C (getLengthMarkerHeight):
10396         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10397         visible on screen too.
10398
10399 2003-02-07  John Levon  <levon@movementarian.org>
10400
10401         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10402
10403 2003-02-05  Angus Leeming  <leeming@lyx.org>
10404
10405         * lyxserver.C (read_ready): revert my patch of 11 September last year
10406         as it sends PC cpu through the roof. Presumably this means that
10407         the lyxserver will no longer run on an Alpha...
10408
10409 2003-01-30  Angus Leeming  <leeming@lyx.org>
10410
10411         * factory.C (createInset): create an InsetCommandParam of type "index"
10412         and use it to 'do the right thing'.
10413
10414         * text2.C (getStringToIndex): ensure that cursor position is always
10415         reset to the reset_cursor position.
10416
10417 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10418
10419         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10420         disabled.
10421
10422 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10423
10424         * bufferview.C:
10425         * lyxcb.C:
10426         * lyxfunc.C: Output messages with identical spelling, punctuation,
10427         and spaces
10428
10429 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10430
10431         * MenuBackend.C (expandFormats): List only viewable export formats
10432         in "View" menu
10433
10434         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10435         message
10436
10437         * lyxfunc.C (getStatus): Make sure that formats other than
10438         "fax" can also be disabled
10439
10440 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10441
10442         * text3.C (dispatch): put the lfuns that insert insets in 3
10443         groups, and call doInsertInset with appropriate arguments.
10444         (doInsertInset): new function, that creates an inset and inserts
10445         it according to some boolean parameters.
10446
10447 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10448
10449         * buffer.C (readFile): remember to pass on 'par' when calling
10450         readFile recursively.
10451
10452 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10453
10454         * MenuBackend.C (expandFormats): add "..." to import formats.
10455
10456 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10457
10458         * paragraph.C (asString): Remove XForms RTL hacks.
10459
10460 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10461         * buffer.C: fix typo
10462
10463 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10464
10465         * Makefile.am (LIBS): delete var
10466         (lyx_LDADD): add @LIBS@ here instead.
10467
10468 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10469
10470         * Clarify the meaning of "wheel mouse jump"
10471
10472 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10473
10474         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10475         tabular in a float
10476
10477 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10478
10479         * importer.C (Loaders): do not preallocate 3 elements in the
10480         vector, since one ends up with 6 elements otherwise
10481
10482 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10483
10484         * DepTable.C (write): write the file name as last element of the
10485         .dep file (because it may contain spaces)
10486         (read): read info in the right order
10487
10488 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10489
10490         * paragraph_pimpl.C (simpleTeXBlanks):
10491         (simpleTeXSpecialChars):
10492         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10493
10494         * tabular.C (latex): add some missing case statements. Reindent.
10495
10496         * MenuBackend.C (expandToc): remove unused variable.
10497
10498 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10499
10500         * LColor.C:
10501         * LaTeX.C:
10502         * LyXAction.C:
10503         * MenuBackend.C:
10504         * buffer.C:
10505         * exporter.C:
10506         * lyxfunc.C:
10507         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10508         and the like.
10509
10510 2003-01-05  John Levon  <levon@movementarian.org>
10511
10512         * BufferView.h:
10513         * BufferView.C: add getEncoding()
10514
10515         * kbsequence.h:
10516         * kbsequence.C: do not store last keypress
10517
10518         * lyxfunc.h:
10519         * lyxfunc.C: store last keypress here instead. Pass encoding
10520           to getISOEncoded()
10521
10522 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10523
10524         * lyx_main.C (init): remove annoying error message when following
10525         symbolic links (bug #780)
10526
10527 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10528
10529         * text.C (insertChar):
10530         * lyxrc.C (getDescription): remove extra spaces
10531
10532 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10533
10534         * lyxrc.C (getDescription): remove extra spaces
10535
10536 2002-12-20  John Levon  <levon@movementarian.org>
10537
10538         * text3.C: hack fix for page up/down across tall rows
10539
10540 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10541
10542         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10543         not been invoked
10544
10545 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10546
10547         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10548         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10549         thesaurus is not compiled in
10550
10551 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10552
10553         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10554
10555 2002-12-16  Angus Leeming  <leeming@lyx.org>
10556
10557         * lyxrc.[Ch]:
10558         * lyx_main.C (init): remove override_x_deadkeys stuff.
10559
10560 2002-12-12  John Levon  <levon@movementarian.org>
10561
10562         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10563           insert. Only remove shift modifier under strict
10564           circumstances.
10565
10566 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10567
10568         * MenuBackend.C (expandToc): fix crash.
10569
10570 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10571
10572         * MenuBackend.C (expandToc): gettext on float names.
10573
10574 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10575
10576         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10577         implement bool empty() [bug 490]
10578
10579 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10580
10581         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10582
10583 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10584
10585         * several files: ws changes
10586
10587 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10588
10589         * text2.C (setCounter): clean up a bit, use boost.format.
10590         (updateCounters): initialize par upon declaration.
10591
10592         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10593         if the layout exists. We do not just store the layout any more.
10594         (SwitchLayoutsBetweenClasses): use boost.format
10595
10596 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10597
10598         * converter.C (convert): if from and to files are the same, use a
10599         temporary files as intermediary
10600
10601 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10602
10603         * commandtags.h:
10604         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10605
10606 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10607
10608         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10609
10610 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10611
10612         * tabular.C (asciiPrintCell): use string(size, char) instead of
10613         explicit loop.
10614
10615         * sgml.C (openTag): fix order of arguments to string constructor
10616         (closeTag): ditto
10617
10618         * lyxfunc.C (dispatch): use boost.format
10619
10620         * lots of files: change "c" -> 'c'
10621
10622 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10623
10624         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10625
10626 2002-11-25  Angus Leeming  <leeming@lyx.org>
10627
10628         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10629
10630         * lyx_main.C (init): compile fix.
10631
10632 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10633
10634         * lyx_cb.C (start): boost.formatify
10635         do not include <iostream>
10636
10637         * lengthcommon.C: ws only
10638
10639         * boost-inst.C,BoostFormat.h: add more explict instantations
10640
10641 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10642
10643         * lots of files: handle USE_BOOST_FORMAT
10644
10645 2002-11-21  John Levon  <levon@movementarian.org>
10646
10647         * pspell.C: fix compile
10648
10649 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10650
10651         * lyxfunc.C (dispatch): use boost::format
10652         (open): ditto
10653         (doImport): ditto
10654
10655         * lyxfont.C (stateText): use boost::format
10656
10657         * lyx_main.C (LyX): use boost::format
10658         (init): ditto
10659         (queryUserLyXDir): ditto
10660         (readRcFile): ditto
10661         (parse_dbg): ditto
10662         (typedef boost::function): use the recommened syntax.
10663
10664         * importer.C (Import): use boost::format
10665
10666         * debug.C (showLevel): use boost::format
10667
10668         * converter.C (view): use boost::format
10669         (convert): ditto
10670         (move): ditto
10671         (scanLog): ditto
10672
10673         * bufferview_funcs.C (currentState): use boost::format
10674
10675         * bufferlist.C (emergencyWrite): use boost::format
10676
10677         * buffer.C (readLyXformat2): use boost::format
10678         (parseSingleLyXformat2Token): ditto
10679
10680         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10681
10682         * LaTeX.C (run): use boost::format
10683
10684         * Chktex.C (scanLogFile): use boost::format
10685
10686         * BufferView_pimpl.C (savePosition): use boost::format
10687         (restorePosition): ditto
10688         (MenuInsertLyXFile): ditto
10689
10690         * BoostFormat.h: help file for explicit instation.
10691
10692 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10693
10694         * tabular.C (latex): Support for block alignment in fixed width
10695         columns.
10696
10697 2002-11-17  John Levon  <levon@movementarian.org>
10698
10699         * BufferView_pimpl.C:
10700         * lyx_cb.C:
10701         * lyxfunc.C: split filedialog into open/save
10702
10703 2002-11-08  Juergen Vigna  <jug@sad.it>
10704
10705         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10706         by my last patch (hopefully).
10707
10708 2002-11-08  John Levon  <levon@movementarian.org>
10709
10710         * iterators.h:
10711         * iterators.C:
10712         * buffer.h:
10713         * buffer.C:
10714         * paragraph.h:
10715         * paragraph.C:
10716         * toc.h:
10717         * toc.C: ParConstIterator, and use it (from Lars)
10718
10719 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10720
10721         * lyxtextclass.[Ch]: revise and add doxygen comments
10722
10723 2002-11-07  John Levon  <levon@movementarian.org>
10724
10725         * text.C: fix progress value for spellchecker
10726
10727         * toc.C: fix navigate menu for insetwrap inside minipage
10728
10729         * paragraph_funcs.C: added FIXME for suspect code
10730
10731 2002-11-07  John Levon  <levon@movementarian.org>
10732
10733         * BufferView_pimpl.C: fix redrawing of insets
10734           on buffer switch
10735
10736 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10737
10738         * text2.C (updateCounters): fix bug 668
10739
10740 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10741
10742         * text3.C (dispatch): Do not make the buffer dirty when moving the
10743         cursor.
10744
10745 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10746
10747         * vc-backend.C: STRCONV
10748         (scanMaster): ditto
10749
10750         * text2.C (setCounter): STRCONV
10751
10752         * paragraph.C (asString): STRCONV
10753
10754         * lyxlength.C (asString): STRCONV
10755         (asLatexString): ditto
10756
10757         * lyxgluelength.C (asString): STRCONV
10758         (asLatexString): ditto
10759
10760         * lyxfunc.C (dispatch): STRCONV
10761         (open): ditto
10762
10763         * lyxfont.C (stateText): STRCONV
10764
10765         * importer.C (Import): STRCONV
10766
10767         * counters.C (labelItem): STRCONV
10768         (numberLabel): ditto
10769         (numberLabel): remove unused ostringstream o
10770
10771         * chset.C: STRCONV
10772         (loadFile): ditto
10773
10774         * bufferview_funcs.C (currentState): STRCONV
10775
10776         * buffer.C (readFile): STRCONV
10777         (asciiParagraph): ditto
10778         (makeLaTeXFile): ditto
10779
10780         * Spacing.C (writeEnvirBegin): STRCONV
10781
10782         * LaTeXFeatures.C (getLanguages): STRCONV
10783         (getPackages): ditto
10784         (getMacros): ditto
10785         (getBabelOptions): ditto
10786         (getTClassPreamble): ditto
10787         (getLyXSGMLEntities): ditto
10788         (getIncludedFiles): ditto
10789
10790         * LaTeX.C: STRCONV
10791         (run): ditto
10792         (scanAuxFile): ditto
10793         (deplog): ditto
10794
10795         * LString.h: add the STRCONV macros
10796
10797         * BufferView_pimpl.C (savePosition): STRCONV
10798         (restorePosition): ditto
10799         (MenuInsertLyXFile): ditto
10800
10801         * vc-backend.C (scanMaster): change from submatch[...] to
10802         submatch.str(...)
10803
10804         * funcrequest.C: include config.h
10805
10806         * factory.C: include config.h
10807
10808         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10809
10810         * box.C: include config.h
10811
10812         * LaTeX.C (scanAuxFile): change from submatch[...] to
10813         submatch.str(...)
10814         (deplog): ditto
10815
10816 2002-10-25  Angus Leeming  <leeming@lyx.org>
10817
10818         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10819
10820         * ispell.[Ch] (setError): new method.
10821         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10822         Use setError() insetead of goto END.
10823
10824         * lyx_cb.C (AutoSave): move out child process into new class
10825         AutoSaveBuffer.
10826
10827 2002-10-30  John Levon  <levon@movementarian.org>
10828
10829         * text3.C: make start appendix undoable
10830
10831 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10832
10833         * lyxlength.C (inPixels): Fix returned value.
10834
10835         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10836         environment.
10837
10838 2002-10-24  Angus Leeming  <leeming@lyx.org>
10839
10840         * lyxgluelength.h: no need to forward declare BufferParams
10841         or BufferView, so don't.
10842
10843 2002-10-21  John Levon  <levon@movementarian.org>
10844
10845         * BufferView.C: menuUndo ->undo, redo
10846
10847         * BufferView.h: document, remove dead, make some methods private
10848
10849         * paragraph_funcs.h:
10850         * paragraph_funcs.C:
10851         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10852
10853         * buffer.h:
10854         * buffer.C:
10855         * sgml.h:
10856         * sgml.C: move sgml open/close tag into sgml.C
10857
10858         * bufferview_funcs.h: unused prototype
10859
10860         * lyxfunc.h:
10861         * lyxfunc.C: remove unused
10862
10863         * lyxtext.h:
10864         * text.C: remove unused
10865
10866 2002-10-21  John Levon  <levon@movementarian.org>
10867
10868         * BufferView.h:
10869         * BufferView.C:
10870         * BufferView_pimpl.h:
10871         * BufferView_pimpl.C: fix mouse wheel handling based on
10872           patch from Darren Freeman
10873
10874 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10875
10876         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10877
10878 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10879
10880         * lyxlength.C (inPixels): Fix hanfling of negative length.
10881         Fix LyXLength::MU case.
10882
10883 2002-10-16  John Levon  <levon@movementarian.org>
10884
10885         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10886
10887 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10888
10889         * converter.C (view): add support for $$i (file name) and $$p
10890         (file path) for the viewer command. If $$i is not specified, then
10891         it is appended to the command (for compatibility with old syntax)
10892
10893 2002-10-14  Juergen Vigna  <jug@sad.it>
10894
10895         * undo_funcs.C (textHandleUndo): alter the order in which the
10896         new undopar is added to the LyXText, as we have to set first
10897         the right prev/next and then add it as otherwise the rebuild of
10898         LyXText is not correct. Also reset the cursor to the right paragraph,
10899         with this IMO we could remove the hack in "redoParagraphs()".
10900
10901 2002-10-09  Angus Leeming  <leeming@lyx.org>
10902
10903         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10904         to turn off an optimisation if a new inset is to be inserted.
10905
10906 2002-10-11 André Pönitz <poenitz@gmx.net>
10907
10908         * lyxtext.h: make some functions public to allow access
10909         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10910
10911 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10912
10913         * text3.C (dispatch): when changing layout, avoid an infinite loop
10914         [bug #652]
10915
10916 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10917
10918         * lyxrc.C (read): treat a viewer or converter command of "none" as
10919         if it were empty.
10920
10921         * MenuBackend.C (expandFormats): for an update, also allow the
10922         formats that are not viewable
10923
10924         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10925         script if it is newer than the lyxrc.defaults in user directory
10926
10927 2002-10-07 André Pönitz <poenitz@gmx.net>
10928
10929         * text.C: Vitaly Lipatov's small i18n fix
10930
10931 2002-09-25  Angus Leeming  <leeming@lyx.org>
10932
10933         * ispell.h: doxygen fix.
10934
10935 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10936
10937         * buffer.h (readFile): Add a new argument to the method, to allow
10938         reading of old-format templates.
10939
10940 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10941
10942         * toc.C (getTocList): Get TOC from InsetWrap.
10943
10944 2002-09-16  John Levon  <levon@movementarian.org>
10945
10946         * lyxfunc.C: check tabular for cut/copy too
10947
10948 2002-09-12  John Levon  <levon@movementarian.org>
10949
10950         * LyXAction.C: tidy
10951
10952         * factory.h:
10953         * factory.C: add header
10954
10955         * paragraph_funcs.h:
10956         * paragraph_funcs.C: cleanup
10957
10958 2002-09-11  John Levon  <levon@movementarian.org>
10959
10960         * PrinterParams.h: odd/even default to true
10961
10962 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10963
10964         * PrinterParams.h: update printer parameters for new xforms dialog
10965
10966 2002-09-11  Angus Leeming  <leeming@lyx.org>
10967
10968         * lyxserver.C (read_ready): re-write to make it more transparent
10969         and to make it work in coherent fashion under Tru64 Unix.
10970
10971 2002-09-11  André Pönitz <poenitz@gmx.net>
10972
10973         * commandtags.h:
10974         * LyXAction.C:
10975         * text3.C: implement LFUN_WORDSEL
10976
10977 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10978
10979         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10980         make floatlist_ a boost::shared_ptr<FloatList>
10981
10982         * lyxtextclass.C: include FloatList.h
10983         (LyXTextClass): initialize floatlist_
10984         (TextClassTags): add TC_NOFLOAT
10985         (Read): match "nofloat" to TC_NOFLOAT and use it.
10986         (readFloat): modify call to floatlist_
10987         (floats): ditto
10988         (floats): ditto
10989
10990         * FloatList.[Ch] (FloatList): remove commented out float
10991         initialization.
10992         (erase): new function
10993
10994 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10995
10996         * MenuBackend.C (expandToc): fix crash when there is no document
10997         open
10998
10999 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11000
11001         * many files: Add insetwrap.
11002
11003 2002-09-09  John Levon  <levon@movementarian.org>
11004
11005         * text2.C: remove confusing and awkward depth wraparound
11006
11007 2002-09-09  John Levon  <levon@movementarian.org>
11008
11009         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11010
11011         * buffer.h:
11012         * buffer.C: remove getIncludeonlyList()
11013
11014         * paragraph.C:
11015         * lyxfunc.C: remove headers
11016
11017 2002-09-09  Juergen Vigna  <jug@sad.it>
11018
11019         * text.C (getColumnNearX): fix form Michael this is most
11020         probably a cut&paste bug.
11021
11022 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11023
11024         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11025
11026         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11027         references, ws changes.
11028
11029         * text2.C (init): update counters after init
11030         (insertParagraph): no need to set counter on idividual paragraphs.
11031         (setCounter): access the counters object in the textclass object
11032         on in the buffer object.
11033         (updateCounters): ditto
11034
11035         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11036         shared_ptr<Counters> to avoid loading counters.h in all
11037         compilation units.
11038         (LyXTextClass): initialize ctrs_
11039         (TextClassTags): add TC_COUNTER, and ...
11040         (Read): use it here.
11041         (CounterTags): new tags
11042         (readCounter): new function
11043         (counters): new funtion
11044         (defaultLayoutName): return a const reference
11045
11046         * counters.C (Counters): remove contructor
11047         (newCounter): remove a couple of unneeded statements.
11048         (newCounter): simplify a bit.
11049         (numberLabel): some small formatting changes.
11050
11051         * buffer.[Ch]: remove all traces of counters, move the Counters
11052         object to the LyXTextClass.
11053
11054 2002-09-06  Alain Castera  <castera@in2p3.fr>
11055
11056         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11057         package to set the horizontal alignment on fixed width columns.
11058
11059         * lyx_sty.C:
11060         * lyx_sty.h: added tabularnewline macro def.
11061
11062         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11063
11064 2002-09-06  John Levon  <levon@movementarian.org>
11065
11066         * LyXAction.C: tooltips for sub/superscript
11067
11068         * MenuBackend.C: a bit more verbose
11069
11070         * lyxfunc.C: tiny clean
11071
11072         * undo_funcs.C: document undo_frozen
11073
11074 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11075
11076         * counters.C (Counters): add missing algorithm counter.
11077
11078         * text2.C (setCounter): lookup the counter with layouts latexname
11079         instead of by section number.
11080         (setCounter): use a hackish way to lookup the correct enum
11081         counter.
11082         a float name->type change
11083         reset enum couners with counter name directly instead of depth value.
11084
11085         * counters.C (Counters): remove the push_backs, change to use the
11086         float type not the float name.
11087         (labelItem): remove unused string, float name->type change
11088
11089         * counters.h: don't include vector, loose the enums and sects vectors
11090
11091 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11092
11093         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11094         (Read): add float->TC_FLOAT to textclassTags
11095         (Read): and handle it in the switch
11096         (readFloat): new function
11097
11098         * FloatList.C (FloatList): comment out the hardcoded float
11099         definitions.
11100
11101         * lyxlayout.h: ws change.
11102
11103 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11104
11105         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11106
11107 2002-09-03  Angus Leeming  <leeming@lyx.org>
11108
11109         * BufferView_pimpl.h: qualified name is not allowed in member
11110         declaration: WorkArea & Pimpl::workarea() const;
11111
11112         * factory.C: added using std::endl directive.
11113
11114         * text3.C: added using std::find and std::vector directives.
11115
11116 2002-08-29  André Pönitz <poenitz@gmx.net>
11117
11118         * lyxtext.h:
11119         * text2.C: remove unused member number_of_rows
11120
11121         * Makefile.am:
11122         * BufferView2.C: remove file, move contents to...
11123         * BufferView.C: ... here
11124
11125         * BufferView_pimpl.C:
11126         * factory.C: move more inset creation to factory
11127
11128         * vspace.C: avoid direct usage of LyXText, ws changes
11129
11130         * BufferView.[Ch]:
11131                 don't provide direct access to WorkArea, use two simple
11132                 acessors haveSelction() and workHeight() instead
11133
11134
11135 2002-08-29  John Levon  <levon@movementarian.org>
11136
11137         * BufferView_pimpl.C (dispatch): do not continue when
11138           no buffer
11139
11140 2002-08-28  André Pönitz <poenitz@gmx.net>
11141
11142         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11143
11144         * BufferView.h:
11145         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11146
11147 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11148
11149         * buffer.C: increment LYX_FORMAT to 221
11150
11151         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11152         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11153
11154         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11155
11156         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11157
11158 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * factory.C (createInset): use LyXTextClass::floats
11161
11162         * MenuBackend.C (expandFloatListInsert):
11163         (expandFloatInsert):
11164         (expandToc):
11165
11166         * text2.C (setCounter):
11167
11168         * LaTeXFeatures.C (useFloat):
11169         (getFloatDefinitions):
11170
11171         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11172
11173         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11174         floatlist_, with accessor floats().
11175
11176         * FloatList.h: remove global FloatList
11177
11178 2002-08-26  André Pönitz <poenitz@gmx.net>
11179
11180         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11181
11182         * BufferView.h:
11183         * BufferView2.C:
11184         * BufferView_pimpl.C:
11185         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11186
11187 2002-08-25  John Levon  <levon@movementarian.org>
11188
11189         * LyXAction.C: fix margin note description
11190
11191 2002-08-24  John Levon  <levon@movementarian.org>
11192
11193         * buffer.C:
11194         * bufferlist.C:
11195         * bufferview_funcs.C:
11196         * lyxfont.C:
11197         * undo_funcs.C: cleanups
11198
11199         * lyxfunc.C: disable CUT/COPY when no selection
11200
11201 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11202
11203         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11204         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11205
11206         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11207         Add backward compatibility to "mono", "gray" and "no".
11208
11209 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11210
11211         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11212         (and file_format >= 200).
11213
11214 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11215
11216         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11217
11218 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11219
11220         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11221
11222 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11223
11224         * BufferView_pimpl.C:
11225         * LyXAction.C:
11226         * buffer.C:
11227         * commandtags.h:
11228         * lyxfunc.C:
11229         * paragraph.[Ch]:
11230         * text2.C:
11231         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11232         inset and code to make it  work with the paragraph code. The inset
11233         can be anywhere in the paragraph, but will only do the expected
11234         thing in LaTeX if the layout file contains the parameter line
11235                         OptionalArgs    1
11236         (or more generally, a nonzero value) for that layout.
11237
11238 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11239
11240         * paragraph.h: remove the declaration of undefined counters class
11241         function.
11242
11243 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11244
11245         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11246         Dr. Richard Hawkins.
11247
11248 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11249
11250         * paragraph_funcs.h: remove some unneeded includes
11251
11252         * text.C (backspace): pasteParagraph now in global scipe
11253
11254         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11255         (pasteSelection): ditto
11256
11257         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11258         * paragraph_funcs.C (pasteParagraph): ... here
11259
11260 2002-08-20  André Pönitz <poenitz@gmx.net>
11261
11262         * commandtags.h: new LFUNs for swapping/copying table row/colums
11263
11264         * LyXAction.C:
11265         * lyxfunc.C: support for new lfuns
11266
11267 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11268
11269         * tabular.C:
11270         * buffer.[Ch]: remove NO_COMPABILITY stuff
11271
11272 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11273
11274         * boost.C (throw_exception): new file, with helper function for
11275         boost compiled without exceptions.
11276
11277         * paragraph.h:
11278         * lyxlength.C:
11279         * buffer.C:
11280         * ParameterStruct.h:
11281         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11282
11283         * bufferlist.C (emergencyWriteAll): use boost bind
11284
11285         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11286
11287         * text.C: include paragraph_funcs.h
11288         (breakParagraph): breakParagraph is now in global scope
11289
11290         * paragraph_funcs.[Ch]: new files
11291
11292         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11293         global scope
11294
11295         * buffer.C: include paragraph_funcs.h
11296         (insertStringAsLines): breakParagraph is now in global scope
11297
11298         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11299         paragraph_funcs.C
11300
11301         * CutAndPaste.C: include paragraph_funcs.h
11302         (cutSelection): breakParagraphConservative is now in global scope
11303         (pasteSelection): ditto
11304
11305         * buffer.h: declare oprator== and operator!= for
11306         Buffer::inset_iterator
11307
11308         * bufferlist.C (emergencyWrite): don't use fmt(...)
11309
11310         * text3.C: add using std::endl
11311
11312         * BufferView.C (moveCursorUpdate): remove default arg
11313
11314 2002-08-20  André Pönitz <poenitz@gmx.net>
11315
11316         * buffer.[Ch]: move inline functions to .C
11317
11318         * BufferView2.C:
11319         * BufferView_pimpl.C:
11320         * text.C:
11321         * buffer.[Ch]: use improved inset_iterator
11322
11323         * buffer.C:
11324         * paragraph.[Ch]: write one paragraph at a time
11325
11326 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11327
11328         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11329         style if style is not specified.
11330
11331 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * text2.C (setCounter): when searching for right label for a
11334         caption, make sure to recurse to parent insets (so that a caption
11335         in a minipage in a figure float works) (bug #568)
11336
11337 2002-08-20  André Pönitz <poenitz@gmx.net>
11338
11339         * text3.C: new file for LyXText::dispatch() and helpers
11340
11341         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11342
11343         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11344
11345 2002-08-19  André Pönitz <poenitz@gmx.net>
11346
11347         * lyxtext.h:
11348         * text.C: new LyXText::dispatch()
11349
11350         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11351
11352 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11353
11354         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11355
11356         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11357         Hebrew text.
11358
11359 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11360
11361         * Makefile.am: use $(variables) instead of @substitutions@
11362
11363 2002-08-15  André Pönitz <poenitz@gmx.net>
11364
11365         * lyxfunc.C:
11366         * BufferView_pimpl.C: streamlining mathed <-> outer world
11367         interaction
11368
11369         * commandtags.h:
11370         * LyXAction.C: remove unused LFUN_MATH
11371
11372 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11373
11374         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11375
11376 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11377
11378         * paragraph.C (Paragraph): reformat a bit
11379         (cutIntoMinibuffer): use builtin InsetList function instad of
11380         doing it manually.
11381         (getInset): ditto
11382
11383         * buffer.C: include boost/bind.hpp, add using std::for_each
11384         (writeFileAscii): use ParagraphList iterators
11385         (validate): use for_each for validate traversal of paragraphs
11386         (getBibkeyList): use ParagraphList iterators
11387         (resizeInsets): use for_each to resizeInsetsLyXText for all
11388         paragraphs.
11389         (getParFromID): use ParagraphList iterators
11390
11391         * BufferView2.C (lockInset): use paragraph list and iterators
11392
11393 2002-08-14  John Levon  <levon@movementarian.org>
11394
11395         * lyxserver.C: remove spurious xforms include
11396
11397 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11398
11399         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11400
11401 2002-08-13  André Pönitz <poenitz@gmx.net>
11402
11403         * LyXAction.[Ch]:
11404         * lyxfunc.C: further cleaning
11405
11406 2002-08-13  André Pönitz <poenitz@gmx.net>
11407
11408         * funcrequest.h: new constructor
11409
11410         * funcrequest.C: move stuff here from .h
11411
11412         * Makefile.am:
11413         * BufferView_pimpl.C:
11414         * LyXAction.C:
11415         * toc.C:
11416         * lyxfunc.C: subsequent changes
11417
11418         * lyxfunc.h: new view() member function
11419
11420         * lyxfunc.C: subsequent changes
11421
11422 2002-08-13  Angus Leeming  <leeming@lyx.org>
11423
11424         * BufferView2.C:
11425         * BufferView_pimpl.C:
11426         * buffer.C:
11427         * converter.C:
11428         * importer.C:
11429         * lyxfunc.C:
11430         * lyxvc.C:
11431         * toc.C:
11432         * vc-backend.C:
11433         changes due to the changed LyXView interface that now returns references
11434         to member variables not pointers.
11435
11436 2002-08-13  Angus Leeming  <leeming@lyx.org>
11437
11438         * WordLangTuple (word, lang_code): return references to strings,
11439         not strings.
11440
11441         * BufferView.h:
11442         * SpellBase.h:
11443         * lyxtext.h: forward-declare WordLangTuple.
11444
11445         * BufferView2.C:
11446         * ispell.C:
11447         * pspell.C:
11448         * text.C: #include "WordLangTuple.h".
11449
11450         * lyxtext.h:
11451         * text.C: (selectNextWordToSpellcheck): constify return type.
11452
11453 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11454
11455         * buffer.C:
11456         * buffer.h:
11457         * lyxtext.h:
11458         * paragraph.C:
11459         * paragraph_pimpl.h:
11460         * text.C:
11461         * text2.C:
11462         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11463         suggested by Angus.
11464         Made updateCounter always count from start of buffer, and removed
11465         second argument (par).
11466         Reverted floats number display to '#'. Perhaps I'll try again when the
11467         code base is sanitized a bit.
11468
11469 2002-08-12  Angus Leeming  <leeming@lyx.org>
11470
11471         * buffer.[Ch] (getLabelList): constify.
11472
11473 2002-08-07  André Pönitz <poenitz@gmx.net>
11474
11475         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11476
11477         * funcrequest.h: extension to keep mouse (x,y) position
11478
11479 2002-08-12  Juergen Vigna  <jug@sad.it>
11480
11481         * BufferView2.C (insertErrors): forbid undo when inserting error
11482         insets.
11483
11484         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11485
11486 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11487
11488         * ParagraphList.[Ch]: new files
11489
11490         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11491
11492         * BufferView2.C (lockInset): ParagraphList changes
11493         * toc.C: ditto
11494         * text2.C: ditto
11495         * bufferlist.C: ditto
11496         * buffer.h: ditto
11497         * buffer.C: ditto
11498
11499 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11500
11501         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11502         unused class variable counter_,
11503
11504         * paragraph.[Ch] (getFirstCounter): delete unused function
11505
11506         * counters.C: include LAssert.h
11507         (reset): add a new function with no arg, change other version to
11508         not have def. arg and to not allow empty arg.
11509
11510         * text2.C (setCounter): remove empty arg from call to Counters::reset
11511
11512 2002-08-11  John Levon  <levon@movementarian.org>
11513
11514         * Makefile.am: add WordLangTuple.h
11515
11516 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11517
11518         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11519         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11520
11521         * insets/insettext.C: InsetList changes
11522
11523         * graphics/GraphicsSupport.C (operator()): InsetList changes
11524
11525         * toc.C (getTocList): InsetList changes
11526
11527         * paragraph_pimpl.[Ch]: InsetList changes
11528
11529         * paragraph.[Ch]: InsetList changes
11530
11531         * buffer.C (inset_iterator): InsetList changes
11532         (setParagraph): ditto
11533         * buffer.h (inset_iterator): ditto
11534         * iterators.C (operator++): ditto
11535         * iterators.h: ditto
11536
11537         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11538
11539         * InsetList.[Ch]: new files, most InsetList handling moved out of
11540         paragraph.C.
11541
11542         * BufferView2.C (removeAutoInsets): InsetList changes
11543         (lockInset): ditto
11544         (ChangeInsets): ditto
11545
11546 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11547
11548         * paragraph_pimpl.h (empty): new function
11549
11550         * paragraph.[Ch] (empty): new function
11551
11552         * other files: use the new Paragraph::empty function
11553
11554 2002-08-09  John Levon  <levon@movementarian.org>
11555
11556         * lyxtext.h: remove unused refresh_height
11557
11558 2002-08-09  John Levon  <levon@movementarian.org>
11559
11560         * Makefile.am:
11561         * sgml.h:
11562         * sgml.C:
11563         * buffer.C:
11564         * paragraph.h:
11565         * paragraph.C: move sgml char escaping out of paragraph
11566
11567         * paragraph.h:
11568         * paragraph.C: remove id setter
11569
11570         * buffer.C:
11571         * paragraph.C:
11572         * paragraph_pimpl.C: remove dead tex_code_break_column
11573
11574         * bufferview_funcs.C: small cleanup
11575
11576         * lyxfunc.C: remove dead proto
11577
11578         * lyxtext.h: make some stuff private. Remove some dead stuff.
11579
11580         * lyxgluelength.C: make as[LyX]String() readable
11581
11582 2002-08-08  John Levon  <levon@movementarian.org>
11583
11584         * LyXAction.h:
11585         * LyXAction.C:
11586         * MenuBackend.C:
11587         * ToolbarDefaults.C:
11588         * lyxfunc.C:
11589         * lyxrc.C:
11590         * toc.C: lyxaction cleanup
11591
11592 2002-08-08  John Levon  <levon@movementarian.org>
11593
11594         * BufferView2.C: small cleanup
11595
11596         * lyxfind.h:
11597         * lyxfind.C: move unnecessary header into the .C
11598
11599 2002-08-08  John Levon  <levon@movementarian.org>
11600
11601         * funcrequest.h: just tedious nonsense
11602
11603         * lyx_main.h:
11604         * lyx_main.C: cleanups
11605
11606         * buffer.C:
11607         * vspace.C: remove dead header lyx_main.h
11608
11609 2002-08-07  Angus Leeming  <leeming@lyx.org>
11610
11611         * Paragraph.[Ch]:
11612         * paragraph_pimpl.h:
11613         Forward declare class Counters in paragraph.h by moving the ctrs member
11614         variable into Paragraph::Pimpl.
11615         (counters): new method, returning a reference to pimpl_->ctrs.
11616
11617         * text2.C: ensuing changes.
11618
11619 2002-08-07  John Levon  <levon@movementarian.org>
11620
11621         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11622
11623         * BufferView_pimpl.C: announce X selection on double/triple
11624           click
11625
11626         * lyx_main.C: use correct bool in batch dispatch
11627
11628         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11629
11630 2002-08-07  André Pönitz <poenitz@gmx.net>
11631
11632         * funcrequest.h: new class to wrap a kb_action and its argument
11633
11634         * BufferView.[Ch]:
11635         * BufferView_pimpl[Ch]:
11636         * LaTeX.C:
11637         * LyXAction.[Ch]:
11638         * lyxfunc.[Ch]:
11639         * lyxrc.C: subsequent changes
11640
11641
11642 2002-08-07  John Levon  <levon@movementarian.org>
11643
11644         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11645           document options change.
11646
11647 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11648
11649         * counters.[Ch]
11650         * text2.C
11651         * paragraph.[Ch]
11652         * makefile.am: move counters functionality over from
11653         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11654
11655 2002-08-06  John Levon  <levon@movementarian.org>
11656
11657         * WordLangTuple.h: new file for word + language code tuple
11658
11659         * SpellBase.h:
11660         * pspell.h:
11661         * pspell.C:
11662         * ispell.h:
11663         * ispell.C:
11664         * lyxtext.h:
11665         * text.C:
11666         * text2.C:
11667         * BufferView.h:
11668         * BufferView2.C: use WordLangTuple
11669
11670         * layout.h:
11671         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11672
11673 2002-08-06  John Levon  <levon@movementarian.org>
11674
11675         * lyx_main.C: fix cmdline batch handling
11676
11677 2002-08-06  André Pönitz <poenitz@gmx.net>
11678
11679         * lyxrc.C: set default for show_banner to true
11680
11681 2002-08-06  John Levon  <levon@movementarian.org>
11682
11683         * pspell.C: fix a crash, and allow new aspell to work
11684
11685 2002-08-06  John Levon  <levon@movementarian.org>
11686
11687         * lyxfunc.C:
11688         * kbmap.C: small cleanup
11689
11690         * vspace.h:
11691         * vspace.C: add const
11692
11693 2002-08-05  John Levon  <levon@movementarian.org>
11694
11695         * LyXAction.C: back to tabular-insert
11696
11697 2002-08-04  John Levon  <levon@movementarian.org>
11698
11699         * BufferView.h:
11700         * BufferView.C: cosmetic change
11701
11702         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11703
11704         * bufferlist.C:
11705         * buffer.h:
11706         * buffer.C:
11707         * lyxcb.h:
11708         * lyxcb.C:
11709         * lyxserver.C:
11710         * lyxvc.C:
11711         * vc-backend.C:
11712         * BufferView2.C: purge all "Lyx" not "LyX" strings
11713
11714         * lyxcursor.h:
11715         * lyxcursor.C: attempt to add some documentation
11716
11717         * lyxfunc.C:
11718         * commandtags.h:
11719         * LyXAction.C:
11720         * ToolbarDefaults.C:
11721         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11722           merge with LFUN_TABULAR_INSERT
11723
11724         * Makefile.am:
11725         * SpellBase.h:
11726         * ispell.h:
11727         * ispell.C:
11728         * pspell.h:
11729         * pspell.C: split up i/pspell implementations into separate
11730           files, many cleanups
11731
11732         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11733
11734         * text2.C: some cleanup
11735
11736         * lyxfunc.C: don't check for isp_command == "none" any more, it
11737           didn't make any sense
11738
11739 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11740
11741         * counters.[Ch]
11742         * text2.C
11743         * paragraph.[Ch]
11744         * makefile.am: move counters functionality over
11745         from text2.C/paragraph.[Ch] to counters.[Ch], and
11746         make proper C++.
11747 2002-08-02  John Levon  <levon@movementarian.org>
11748
11749         * buffer.C: s/lyxconvert/lyx2lyx/
11750
11751 2002-08-02  Angus Leeming  <leeming@lyx.org>
11752
11753         * lyxlex.C: revert John's change as it breaks reading of the user
11754         preamble.
11755
11756 2002-08-02  Angus Leeming  <leeming@lyx.org>
11757
11758         * importer.C (Import):
11759         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11760         changes due to LyXView::view() now returning a boost::shared_ptr.
11761
11762 2002-08-02  John Levon  <levon@movementarian.org>
11763
11764         * lyxlex.C: small cleanup
11765
11766 2002-08-02  John Levon  <levon@movementarian.org>
11767
11768         * text2.C (status): small cleanup, no logic change
11769
11770 2002-08-01  John Levon  <levon@movementarian.org>
11771
11772         * buffer.h:
11773         * buffer.C (writeFile): don't output alerts, caller
11774           handles this
11775
11776         * bufferlist.C:
11777         * lyx_cb.C: from above
11778
11779         * lyxfunc.C: allow to open non-existent files
11780
11781 2002-07-31  John Levon  <levon@movementarian.org>
11782
11783         * lyxserver.C: don't let incidental errors get
11784           in the way (errno)
11785
11786 2002-07-30  John Levon  <levon@movementarian.org>
11787
11788         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11789
11790 2002-07-30  John Levon  <levon@movementarian.org>
11791
11792         * lyxserver.h:
11793         * lyxserver.C: remove I/O callback too
11794
11795 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11796
11797         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11798         log.
11799
11800 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11801
11802         * many files: strip,frontStrip -> trim,ltrim,rtrim
11803
11804 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11805
11806         * PrinterParams.h: remove extern containsOnly, and include
11807         support/lstrings.h instead.
11808
11809         * LaTeX.C (scanAuxFile): modify because of strip changes
11810         (deplog): ditto
11811         * buffer.C (makeLaTeXFile): ditto
11812         * bufferparams.C (writeFile): ditt
11813         * lyxfont.C (stateText): ditto
11814         * lyxserver.C (read_ready): ditto
11815         * vc-backend.C (scanMaster): ditto
11816
11817         * BufferView_pimpl.h: ws changes
11818
11819         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11820
11821 2002-07-26  André Pönitz <poenitz@gmx.net>
11822
11823         * kb_sequence.C: remove unnedred usings
11824
11825 2002-07-26  Juergen Vigna  <jug@sad.it>
11826
11827         * lyxfind.C (LyXReplace): we have to check better if the returned
11828         text is not of theLockingInset()->getLockingInset().
11829
11830 2002-07-25  Juergen Vigna  <jug@sad.it>
11831
11832         * lyxfind.C (LyXReplace): don't replace if we don't get the
11833         right LyXText.
11834
11835         * undo_funcs.C (createUndo): remove debugging code.
11836
11837 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11838
11839         * buffer.C (parseSingleLyXformat2Token): Use default placement
11840         when reading old floats.
11841
11842         * FloatList.C (FloatList): Change the default placement of figure
11843         and tables to "tbp".
11844
11845 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * MenuBackend.C: using std::max
11848
11849 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11850
11851         * MenuBackend.C (expandToc):
11852         (expandToc2): code moved from xforms menu frontend. It is now
11853         generic and TOCs are transparent to menu frontends.
11854
11855 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11856
11857         * toc.C (getTocList): protect against buf=0
11858
11859         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11860         Menu as first parameter. Now, this calls itself recursively to
11861         expand a whole tree (this will be useful for TOC handling)
11862         (expandFloatInsert): remove 'wide' version of floats
11863
11864         * MenuBackend.h (submenuname): returns the name of the submenu.
11865         (submenu): returns the submenu itself, provided it has been
11866         created by MenuBackend::expand
11867
11868 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11869
11870         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11871         insets which have noFontChange == true. (bug #172)
11872
11873 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11874
11875         * BufferView_pimpl.C: add connection objects and use them...
11876         (Pimpl): here.
11877
11878 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11879
11880         * MenuBackend.C (expandLastfiles):
11881         (expandDocuments):
11882         (expandFormats):
11883         (expandFloatListInsert):
11884         (expandFloatInsert):
11885         (expand): split expand in parts
11886
11887 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * lyx_gui.C: use lyx_gui::exit()
11890
11891 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * LyXAction.C: show the failing pseudo action
11894
11895 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11896
11897         * buffer.C (readFile): Run the lyxconvert script in order to read
11898         old files.
11899
11900 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11901
11902         * LyXAction.C:
11903         * commandtags.h:
11904         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11905
11906 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * LyXAction.C:
11909         * commandtags.h:
11910         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11911
11912 2002-07-22  Herbert Voss  <voss@lyx.org>
11913
11914         * lengthcommon.C:
11915         * lyxlength.[Ch]: add support for the vertical lengths
11916
11917 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11918
11919         * toc.[Ch]: std:: fixes
11920
11921 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * lyxrc.C: do not include lyx_main.h
11924
11925         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11926         for layouts
11927
11928         * lyxrc.C:
11929         * encoding.C:
11930         * bufferlist.C:
11931         * BufferView2.C: include "lyxlex.h"
11932
11933         * tabular.h:
11934         * bufferparams.h: do not #include "lyxlex.h"
11935
11936         * lyxtextclasslist.C (Add): remove method
11937         (classlist): renamed to classlist_
11938
11939         * paragraph_pimpl.C:
11940         * paragraph.C:
11941         * text2.C:
11942         * CutAndPaste.C:
11943         * bufferview_funcs.C:
11944         * bufferlist.C:
11945         * text.C:
11946         * LaTeXFeatures.C:
11947         * buffer.C:
11948         * toc.C (getTocList): use BufferParams::getLyXTextClass
11949
11950         * toc.C (getTocList): use InsetFloat::addToToc
11951
11952         * toc.[Ch]: new files, containing helper functions to handle table
11953         of contents
11954
11955         * lyxfunc.C (dispatch): no need to remove spaces around command
11956         given as a string
11957         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11958         first command of the sequence; it is not very clever, but I do not
11959         have a better idea, actually
11960
11961         * LyXAction.C (LookupFunc): make sure to remove space at the
11962         beginning and end of the command
11963
11964 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11965
11966         * MenuBackend.C (getMenubar): new method: return the menubar of
11967         this menu set
11968         (read): treat differently reading of menu and menubar (in
11969         particular, the menubar has no name now)
11970         (Menu::menubar): remove
11971
11972         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11973         saving is finished
11974
11975 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11976
11977         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11978         a bibitem inset in a RTL paragraph.
11979
11980 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11981
11982         * paragraph_pimpl.C: constify
11983
11984         * BufferView_pimpl.C:
11985         * LaTeX.C:
11986         * lyxfunc.C: fix dispatch in a nicer way
11987
11988 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11989
11990         * lyxfunc.C (dispatch):
11991         * BufferView_pimpl.C:
11992         * BufferView_pimpl.h:
11993         * BufferView.C:
11994         * BufferView.h: rename Dispatch() to dispatch()
11995
11996         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11997
11998         * lyxlayout.C (Read): honor DependsOn tag
11999
12000         * lyxlayout.[Ch] (depends_on): new method
12001
12002         * version.C.in: update lyx_docversion
12003
12004         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12005
12006         * paragraph.C (validate): remove from here...
12007         * paragraph_pimpl.C (validate): ... and move here
12008         (isTextAt): make it const
12009
12010         * buffer.C (getLists): ws cleanup
12011
12012 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12013
12014         * language.C (read): Use iso8859-1 encoding in latex_lang
12015         (this prevents LyX from crashing when using iso10646-1 encoding).
12016
12017 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12018
12019         * text2.C (toggleInset): if cursor is inside an inset, close the
12020         inset and leave cursor _after_ it
12021
12022 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * lyxfunc.C: move minibuffer completion handling out of here
12025
12026 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * BufferView_pimpl.C:
12029         * LaTeX.C: fix dispatch calls
12030
12031 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12032
12033         * text.C (drawChars): Fix Arabic text rendering.
12034
12035 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * LyXAction.C:
12038         * commandtags.h:
12039         * lyxfunc.C: remove message-push/pop
12040
12041         * lyxserver.C:
12042         * lyxfunc.h:
12043         * lyxfunc.C: rationalise some code by removing verboseDispatch
12044           in favour of a bool argument to dispatch()
12045
12046 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12047
12048         * lyx_main.C (init): make sure to read symlinks as absolute paths
12049
12050 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12051
12052         * lyxfunc.h:
12053         * lyxfunc.C: no need for commandshortcut to be a member
12054
12055 2002-07-15  André Pönitz <poenitz@gmx.net>
12056
12057         * converter.C: add support for $$s (scripts from lib/scripts dir)
12058         * lyx_main.C: white space
12059
12060 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12061
12062         * bufferlist.C:
12063         * lyxrc.h:
12064         * lyxrc.C: remove second exit confirmation
12065
12066 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12067
12068         * BufferView.h:
12069         * BufferView.C:
12070         * BufferView2.C:
12071         * BufferView_pimpl.h:
12072         * BufferView_pimpl.C:
12073         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12074
12075 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12076
12077         * MenuBackend.C (expand): add numeric shortcuts to document menu
12078
12079         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12080
12081 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12082
12083         * lyxfont.C (setLyXFamily):
12084         (setLyXSeries):
12085         (setLyXShape):
12086         (setLyXSize):
12087         (setLyXMisc):
12088         (lyxRead):
12089         * debug.C (value):
12090         * buffer.C (asciiParagraph): use ascii_lowercase
12091
12092 2002-07-15  Mike Fabian  <mfabian@suse.de>
12093
12094         * lyxlex_pimpl.C (search_kw):
12095         * lyxlex.C (getLongString):
12096         * converter.h (operator<):
12097         * converter.C (operator<):
12098         * buffer.C (parseSingleLyXformat2Token):
12099         (asciiParagraph):
12100         * ToolbarDefaults.C (read):
12101         * MenuBackend.C (checkShortcuts):
12102         (read):
12103         * LColor.C (getFromGUIName):
12104         (getFromLyXName): use the compare_ascii_no_case instead of
12105         compare_no_case, because in turkish, 'i' is not the lowercase
12106         version of 'I', and thus turkish locale breaks parsing of tags.
12107
12108 2002-07-16  Angus Leeming  <leeming@lyx.org>
12109
12110         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12111         now takes a Buffer const & argument.
12112
12113 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * BufferView.C (resize): check there's a buffer to resize
12116
12117 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12118
12119         * lyxfunc.C: remove dead code
12120
12121         * lyxserver.h:
12122         * lyxserver.C: use lyx_guii::set_read_callback
12123
12124 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12125
12126         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12127         an inset in a RTL paragraph.
12128
12129 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12130
12131         * lyxfunc.C: repaint after a font size update
12132
12133 2002-07-15  André Pönitz <poenitz@gmx.net>
12134
12135         * lyxlength.C: inBP should be able to return negative values
12136
12137 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * lyxfunc.C: use lyx_gui::update_fonts()
12140
12141 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * lyxfunc.C: use lyx_gui::update_color()
12144
12145 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * bufferlist.C:
12148         * lyxfunc.h:
12149         * lyxfunc.C:
12150         * lyxrc.h:
12151         * lyxrc.C: remove file->new asks for name option, and let
12152           buffer-new take an argument
12153
12154 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * BufferView_pimpl.C: remove unneeded extra repaint()
12157
12158 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * LyXAction.C: allow command-sequence with NoBuffer
12161
12162         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12163
12164 2002-07-10  Angus Leeming  <leeming@lyx.org>
12165
12166         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12167
12168 2002-07-09  Angus Leeming  <leeming@lyx.org>
12169
12170         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12171
12172 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * lengthcommon.h: whitespace
12175
12176         * lyxfunc.C: update scrollbar after goto paragraph
12177
12178         * lyxtext.h: factor out page break drawing, and fix it so
12179           page break/added space paints as selected nicely
12180
12181 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * BufferView_pimpl.C: add FIXMEs, clean up a little
12184
12185 2002-07-09  André Pönitz <poenitz@gmx.net>
12186
12187         * lyxfont.[Ch]: support for wasy symbols
12188
12189 2002-07-08  André Pönitz <poenitz@gmx.net>
12190
12191         * BufferView_pimpl.C: apply John's patch for #93.
12192
12193 2002-07-05  Angus Leeming  <leeming@lyx.org>
12194
12195         * BufferView_pimpl.C (buffer): generate previews if desired.
12196
12197         * LColor.h: add "preview" to the color enum.
12198
12199         * LColor.C (LColor): add a corresponding entry to the items array.
12200
12201         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12202         with this buffer.
12203
12204 2002-07-05  Angus Leeming  <leeming@lyx.org>
12205
12206         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12207         The body of the code is now in the method that is passed an ostream &
12208         rather than a file name.
12209         Pass an additional only_preamble parameter, useful for the forthcoming
12210         preview stuff.
12211
12212 2002-07-03  André Pönitz <poenitz@gmx.net>
12213
12214         * lyxfunc.C: simplify getStatus() a bit for math stuff
12215
12216 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12217
12218         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12219
12220 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12221
12222         * text.C (changeRegionCase): do not change case of all the
12223         document when region ends at paragraph end (bug #461)
12224
12225 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12226
12227         * paragraph.C (startTeXParParams):
12228         (endTeXParParams): add \protect when necessary
12229
12230 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12231
12232         * BufferView_pimpl.C (workAreaExpose): remove warning
12233
12234 2002-06-27  Angus Leeming  <leeming@lyx.org>
12235
12236         * Makefile.am: add lyxlayout_ptr_fwd.h.
12237
12238 2002-06-26  André Pönitz <poenitz@gmx.net>
12239
12240         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12241
12242 2002-06-25  Angus Leeming  <leeming@lyx.org>
12243
12244         * lyxfunc.C (dispatch): Comment out the call to
12245         grfx::GCache::changeDisplay. The method no longer exists now that the
12246         pixmap generation part of the graphics loader has been moved into
12247         InsetGraphics.
12248
12249 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * text2.C: layout as layout
12252
12253         * text.C: layout as layout
12254
12255         * tabular.C (OldFormatRead): layout as layout
12256
12257         * paragraph_pimpl.C (TeXDeeper): layout as layout
12258         (realizeFont): layout as layout
12259
12260         * paragraph.C (writeFile): layout as layout
12261         (validate): layout as layout
12262         (getFont): layout as layout
12263         (getLabelFont): layout as layout
12264         (getLayoutFont): layout as layout
12265         (breakParagraph): layout as layout
12266         (stripLeadingSpaces): layout as layout
12267         (getEndLabel): layout as layout
12268         (getMaxDepthAfter): layout as layout
12269         (applyLayout): layout as layout
12270         (TeXOnePar): layout as layout
12271         (simpleTeXOnePar): layout as layout
12272         (TeXEnvironment): layout as layout
12273         (layout): layout as layout
12274         (layout): layout as layout
12275
12276         * lyxtextclass.C (compare_name): new functor to work with
12277         shared_ptr, layout as layout
12278         (Read): layout as layout
12279         (hasLayout): layout as layout
12280         (operator): layout as layout
12281         (delete_layout): layout as layout
12282         (defaultLayout): layout as layout
12283
12284         * lyxlayout_ptr_fwd.h: new file
12285
12286         * lyxlayout.C (Read): layout as layout
12287
12288         * lyx_cb.C (MenuInsertLabel): layout as layout
12289
12290         * bufferlist.C (newFile): layout as layout
12291
12292         * buffer.C (readLyXformat2): layout as layout
12293         (parseSingleLyXformat2Token): layout as layout
12294         (insertStringAsLines): layout as layout
12295         (asciiParagraph): layout as layout
12296         (latexParagraphs): layout as layout
12297         (makeLinuxDocFile): layout as layout
12298         (simpleLinuxDocOnePar): layout as layout
12299         (makeDocBookFile): layout as layout
12300         (simpleDocBookOnePar): layout as layout
12301         (getLists): layout as layout
12302
12303         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12304
12305         * CutAndPaste.C (cutSelection): layout as layout
12306         (pasteSelection): layout as layout
12307         (SwitchLayoutsBetweenClasses): layout as layout
12308
12309         * BufferView_pimpl.C (Dispatch): layout as layout
12310         (smartQuote): layout as layout
12311
12312         * BufferView2.C (unlockInset): layout as layout
12313
12314 2002-06-24  André Pönitz <poenitz@gmx.net>
12315
12316         * lyxfunc.C: fix #487
12317
12318 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * lyxrc.h:
12321         * lyxrc.C:
12322         * lyxfunc.C: remove display_shortcuts, show_banner
12323
12324 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * Buffer_pimpl.C: oops, update on resize
12327
12328 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12329
12330         * buffer.C:
12331         * converter.C:
12332         * exporter.C:
12333         * lyxfunc.C:
12334         * BufferView.h:
12335         * BufferView.C: use repaint()
12336
12337         * BufferView_pimpl.h:
12338         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12339           as it's a clearer description. Remove superfluous
12340           redraws.
12341
12342 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12343
12344         * text.C: fix bug 488. Not ideal, but getting
12345           getWord() to work properly for the insets that
12346           matter is more difficult ...
12347
12348 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12349
12350         * BufferView_pimpl.C:
12351         * LyXAction.C:
12352         * commandtags.h:
12353         * lyxfunc.C: remove the six million index lyxfuncs to just
12354           one, and DTRT (bug 458)
12355
12356 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12357
12358         * BufferView.h:
12359         * BufferView.C:
12360         * BufferView_pimpl.h:
12361         * BufferView_pimpl.C: clean up resize() stuff,
12362           and unnecessary updateScreen()s
12363
12364 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12365
12366         * BufferView.h:
12367         * BufferView.C:
12368         * BufferView_pimpl.h:
12369         * BufferView_pimpl.C:
12370         * lyxfind.h:
12371         * lyxfind.C:
12372         * minibuffer.C: remove focus management of workarea,
12373           not needed. Use screen's greyOut()
12374
12375 2002-06-17  Herbert Voss  <voss@lyx.org>
12376
12377         * converter.C: (convert) do not post a message, when converting
12378         fails, let the calling function decide what to do in this case
12379
12380 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12381
12382         * lyxfunc.C: tidy up a little
12383
12384 2002-06-16    <alstrup@diku.dk>
12385
12386         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12387         Got rid of FORMS_H_LOCATION include. Now we are
12388         GUII.
12389
12390 2002-06-15  LyX Development team  <lyx@rilke>
12391
12392         * buffer.[Ch] (sgmlOpenTag):
12393         (sgmlCloseTag): Added support for avoiding pernicious mixed
12394         content. Return number of lines written.
12395
12396         (makeLinuxDocFile):
12397         (makeDocBookFile): Fixed calls to sgml*Tag.
12398         Simple white space clean.
12399
12400         (simpleDocBookOnePar): Simple white space clean.
12401
12402         * tabular.[Ch] (docBook): Renamed to docbook and got another
12403         argument to related with the pernicious mixed content.
12404
12405         (docbookRow): Fixed calls for docbook inset method.
12406
12407 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12408
12409         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12410         so it's X11 independent.
12411
12412         * kb*.[Ch]: ditto.
12413
12414         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12415
12416 2002-06-15  Lyx Development team  <lyx@electronia>
12417
12418         * intl.h: Renamed getTrans to getTransManager.
12419
12420 2002-06-14  Angus Leeming  <leeming@lyx.org>
12421
12422         * Makefile.am: nuke forgotten stl_string_fwd.h.
12423
12424 2002-06-12  Angus Leeming  <leeming@lyx.org>
12425
12426         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12427
12428 2002-06-13  Angus Leeming  <leeming@lyx.org>
12429
12430         * LaTeX.C:
12431         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12432
12433 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12434
12435         * kbmap.C (getiso): add support for cyrillic and greek
12436
12437 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * BufferView.h:
12440         * BufferView.C:
12441         * BufferView_pimpl.h:
12442         * BufferView_pimpl.C: move bogus scrolling logic
12443           to xforms
12444
12445 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * lyxfunc.C:
12448         * BufferView_pimpl.C: view->resize() change
12449
12450 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12451
12452         * BufferView_pimpl.C: topCursorVisible
12453           prototype change
12454
12455 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12456
12457         * Makefile.am:
12458         * lyx_gui.h:
12459         * lyx_gui.C: move to frontends/
12460
12461         * main.C:
12462         * lyx_main.h:
12463         * lyx_main.C: changes from above
12464
12465 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * intl.C:
12468         * intl.h:
12469         * kbmap.C:
12470         * kbsequence.C:
12471         * lyx_cb.C:
12472         * lyx_main.C: minor tidy
12473
12474 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12475
12476         * BufferView_pimpl.h:
12477         * BufferView_pimpl.C:
12478         * BufferView.h:
12479         * BufferView.C: make painter() const,
12480           remove dead code
12481
12482         * BufferView2.C: use screen() accessor
12483
12484         * lyx_main.h:
12485         * lyx_main.C: some minor cleanup
12486
12487 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12488
12489         * BufferView_pimpl.h:
12490         * BufferView_pimpl.C: remove enter/leaveView,
12491           use workHeight()
12492
12493 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * BufferView.h:
12496         * BufferView.C:
12497         * BufferView2.C:
12498         * BufferView_pimpl.h:
12499         * BufferView_pimpl.C: only construct screen once,
12500           rename
12501
12502         * lyxrc.C: remove pointless comment
12503
12504 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12505
12506         * BufferView.h:
12507         * BufferView.C: remove active() and belowMouse()
12508
12509         * BufferView_pimpl.h:
12510         * BufferView_pimpl.C: use workarea() not workarea_,
12511           and make it use a scoped_ptr instead
12512
12513 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12514
12515         * lyx_gui.C: add debug message on BadWindow
12516
12517 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * sp_spell.C: fdopen is not part of the C++ standard.
12520
12521         * paragraph.C (InsetIterator): use >= instead of ==
12522
12523 2002-06-07  Angus Leeming  <leeming@lyx.org>
12524
12525         Fixes needed to compile with Compaq cxx 6.5.
12526         * BufferView_pimpl.C:
12527         * DepTable.C:
12528         * buffer.C:
12529         * converter.C:
12530         * encoding.C:
12531         * lyx_gui.C:
12532         * lyx_main.C:
12533         * lyxtextclasslist.C:
12534         * minibuffer.C:
12535         * sp_spell.C:
12536         * tabular_funcs.C:
12537         * vc-backend.C:
12538         all c-library variables have been moved into namespace std. Wrap
12539         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12540
12541         * lyxlength.C:
12542         * tabular-old.C:
12543         * tabular.C:
12544         Add a using std::abs declaration.
12545
12546         * kbmap.h (modifier_pair):
12547         * paragraph.h (InsetTable, InsetList):
12548         * lyxfont.h (FontBits):
12549         type definition made public.
12550
12551         * bufferlist.C (emergencyWriteAll): the compiler complains that
12552         there is more than one possible lyx::class_fun template to choose from.
12553         I re-named the void specialisation as lyx::void_class_fun.
12554
12555         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12556
12557         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12558         the compiler is is unable to find tostr in write_attribute.
12559
12560 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12561
12562         * buffer.C (sgmlError): hide #warning
12563
12564 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12565
12566         * xtl/*: get rid of xtl, which is not in use anyway
12567
12568         * LyXAction.C (init):
12569         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12570         were unimplemented xtl experimentation
12571
12572 2002-06-04  André Pönitz <poenitz@gmx.net>
12573
12574         * lyxfunc.C: disable array operation on simple formulae
12575
12576 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * converter.C: constify a bit
12579
12580 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * lyx_gui.C: check xforms version correctly
12583
12584 2002-04-30  Herbert Voss  <voss@lyx.org>
12585
12586         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12587         "keep" option
12588
12589 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12592           attempt to register it with a VCS)
12593
12594 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12595
12596         * lyx_main.C (init): honor variables LYX_DIR_13x and
12597         LYX_USERDIR_13x
12598
12599 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12600
12601         * buffer.h:
12602         * buffer.C:
12603         * lyx_main.C: fix a crash on bad command line,
12604           and give a useful exit status on error
12605
12606         * lyxfunc.C (doImport): allow -i lyx to work
12607
12608 2002-03-30  André Pönitz <poenitz@gmx.net>
12609
12610         * lyxfunc.C: mathed font changes
12611
12612 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12613
12614         * LaTeX.C:
12615         * importer.h:
12616         * importer.C:
12617         * lyx_sty.h:
12618         * lyx_sty.C:
12619         * lyxlex.C:
12620         * lyxrow.h:
12621         * lyxtext.h:
12622         * paragraph.h:
12623         * paragraph.C:
12624         * texrow.h:
12625         * texrow.C:
12626         * text.C:
12627         * trans_mgr.h: srcdocs, and some minor cleanups
12628
12629 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12630
12631         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12632         call getFont all the time)
12633
12634 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12635
12636         * switch from SigC signals to boost::signals
12637
12638 2002-05-29  André Pönitz <poenitz@gmx.net>
12639
12640         * paragraph_pimpl.C (getChar): don't call size() too often...
12641
12642 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12643
12644         * paragraph_pimpl.C (insertChar): do not try to update tables when
12645         appending (pos == size())
12646
12647         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12648         in order to reduce drastically the number of comparisons needed to
12649         parse a large document
12650
12651 2002-05-29  André Pönitz <poenitz@gmx.net>
12652
12653         * text.C:
12654         * text2.C:
12655         * lyxtextclass.C:
12656         * sp_pspell.h:
12657         * textclasslist.[Ch]:
12658         * sp_ispell.h: whitespace change
12659
12660 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12661
12662         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12663         lyxaction directly now.
12664
12665 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * trans.C:
12668         * lyxfont.C:
12669         * lyxvc.C: remove unused headers
12670
12671 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12672
12673         * Makefile.am:
12674         * buffer.h:
12675         * undostack.h:
12676         * undostack.C:
12677         * undo_funcs.h:
12678         * undo_funcs.C: some cleanups. Use shared_ptr
12679           and a template for the undo stacks.
12680
12681 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12682
12683         * BufferView_pimpl.h:
12684         * BufferView_pimpl.C:
12685         * kbmap.h:
12686         * kbmap.C:
12687         * kbsequence.h:
12688         * kbsequence.C:
12689         * lyxfunc.h:
12690         * lyxfunc.C:
12691         * text2.C: use key_state/mouse_state
12692
12693 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12694
12695         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12696         and LSubstring
12697
12698         * chset.C: change include order
12699         (loadFile): use boost regex and get rid of LRegex and LSubstring
12700
12701         * Makefile.am (BOOST_LIBS): new variable
12702         (lyx_LDADD): use it
12703
12704         * LaTeX.C: change include order.
12705         (scanAuxFile): use boost regex and get rid of LRegex and
12706         LSubstring
12707         (deplog): ditto
12708
12709 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12710
12711         * ColorHandler.h:
12712         * ColorHandler.C:
12713         * FontInfo.h:
12714         * FontInfo.C: moved to frontends/xforms/
12715
12716         * FontLoader.h:
12717         * FontLoader.C: moved into frontends for GUIIzation
12718
12719         * Makefile.am:
12720         * lyx_gui.C:
12721         * lyxfont.C:
12722         * lyxfunc.C: changes from above
12723
12724 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12725
12726         * LColor.C: remove spurious X include
12727
12728         * BufferView_pimpl.C:
12729         * Makefile.am:
12730         * font.h:
12731         * font.C:
12732         * text.C:
12733         * text2.C: move font metrics to frontends/
12734
12735 2002-05-24  Juergen Vigna  <jug@sad.it>
12736
12737         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12738         setting the undo_cursor.
12739
12740         * ParagraphParameters.h: include local includes first.
12741
12742 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * BufferView_pimpl.C:
12745         * BufferView_pimpl.h:
12746         * Makefile.am:
12747         * WorkArea.h:
12748         * WorkArea.C:
12749         * screen.C: move WorkArea into frontends/
12750
12751         * lyxscreen.h:
12752         * screen.C:
12753         * text.C:
12754         * BufferView.C:
12755         * BufferView2.C: move LyXScreen into frontends/
12756
12757         * lyxlookup.h:
12758         * lyxlookup.C:
12759         * lyx_gui.C: move lyxlookup into frontends/xforms/
12760
12761 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12762
12763         * BufferView2.C:
12764         * BufferView_pimpl.C:
12765         * FontLoader.C:
12766         * LyXView.h:
12767         * LyXView.C:
12768         * Makefile.am:
12769         * WorkArea.C:
12770         * XFormsView.h:
12771         * XFormsView.C:
12772         * buffer.C:
12773         * bufferlist.C:
12774         * bufferview_funcs.C:
12775         * converter.C:
12776         * importer.C:
12777         * lyx_cb.C:
12778         * lyx_gui.C:
12779         * lyx_main.C:
12780         * lyx_find.C:
12781         * lyxfunc.C:
12782         * lyxvc.C:
12783         * minibuffer.C:
12784         * text.C:
12785         * text2.C:
12786         * trans.C:
12787         * vc-backend.C: move LyX/XFormsView into frontends/
12788
12789 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12790
12791         * Makefile.am:
12792         * PainterBase.C:
12793         * PainterBase.h:
12794         * Painter.C:
12795         * Painter.h:
12796         * WorkArea.C:
12797         * WorkArea.h:
12798         * screen.C:
12799         * tabular.C:
12800         * text.C:
12801         * text2.C: move Painter to frontends/
12802
12803 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * buffer.C: comment out some some code that depend upon lyx_format
12806         < 220
12807
12808         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12809         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12810
12811         * buffer.h (NO_COMPABILITY): turn off compability
12812
12813         * ColorHandler.C: include scoped_array.hpp
12814
12815         * font.C: Use more specific smart_ptr header.
12816         * Painter.C: ditto
12817         * gettext.C: ditto
12818         * ShareContainer.h: ditto
12819         * lyx_main.h: ditto
12820         * kbmap.h: ditto
12821         * FontInfo.h: ditto
12822         * BufferView_pimpl.h: ditto
12823         * ColorHandler.h: ditto
12824
12825         * kbmap.C (defkey): change call to shared_ptr::reset
12826
12827 2002-05-21  Juergen Vigna  <jug@sad.it>
12828
12829         * buffer.C (insertErtContents): fix to insert ert asis if it is
12830         non empty. Skip it completely if it contains only whitespaces.
12831
12832 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12833
12834         * BufferView_pimpl.C:
12835         * BufferView2.C: clear selection on paste (bug 393)
12836
12837 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12838
12839         * DepTable.C: include ctime
12840
12841 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12842
12843         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12844
12845 2002-05-14  Juergen Vigna  <jug@sad.it>
12846
12847         * text.C (breakParagraph): fixed function to honor the keepempty
12848         layout in the right maner and also to permit the right breaking
12849         algorithm on empty or non empyt keepempty paragraphs.
12850
12851         * paragraph.C (breakParagraph): we have to check also if the par
12852         is really empty (!size()) for isempty otherwise we do the wrong
12853         paragraph break.
12854
12855 2002-05-10  Juergen Vigna  <jug@sad.it>
12856
12857         * buffer.[Ch] : The following are only changes to the ert
12858         compatibility read reading old LaTeX layout and font stuff and
12859         convert it to ERTInsets.
12860
12861         * buffer.h: added isErtInset().
12862
12863         * buffer.C (struct ErtComp): add a fromlayout bool to check
12864         if we're inside a LaTeX layout.
12865         (isErtInset): new helper function.
12866         (insertErtContents): look for other ert insets before this one
12867         and insert the contents there, so that we don't have subsequent
12868         ERT insets with nothing between them. This way we create only one
12869         inset with multiple paragraphs. Also check if we don't insert only
12870         spaces ' ' as they are ignored anyway afterwards in the .tex file
12871         so if we have only spaces we will ignore this latex part in the
12872         new file.
12873         (parseSingleLyXformat2Token \\layout): better compatibility when
12874         reading layout-latex stuff.
12875         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12876         language tag.
12877         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12878         stuff after reading the inset only get the information back from
12879         the stack.
12880
12881 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12882
12883         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12884
12885         * LaTeXFeatures.C (getBabelOptions): New method.
12886
12887 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12888
12889         * BufferView_pimpl.C (Dispatch): work around missing argument for
12890         'layout'
12891
12892 2002-05-08  Juergen Vigna  <jug@sad.it>
12893
12894         * text.C (leftMargin): handle paragraph leftindent.
12895
12896         * paragraph.C (writeFile): write the new \\leftindent tag.
12897         (validate): handle leftindent code.
12898         (TeXEnvironment): handle paragraphleftindent code again.
12899
12900         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12901
12902         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12903         for paragrap_extra indent code and new token \\leftindent.
12904         (latexParagraphs): handle the leftindent as environment.
12905
12906         * ParameterStruct.h: added leftindent support.
12907
12908         * ParagraphParameters.C (leftIndent): added support functions for
12909         the paragraph left indent.
12910
12911         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12912         more appropriate.
12913
12914 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12915
12916         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12917         inside insetERT.
12918
12919         * text.C (computeBidiTables): No bidi in insetERT.
12920
12921         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12922         in RTL documents.
12923
12924 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12925
12926         * version.C.in: pre 5
12927
12928 2002-05-02  José Matos  <jamatos@fep.up.pt>
12929         * buffer.C (makeDocBookFile): white space changes, add newline to
12930         command styles.
12931         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12932
12933         * tabular.C (docBook): fix typo.
12934
12935 2002-05-03  Juergen Vigna  <jug@sad.it>
12936
12937         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12938         change in LyXText as we can not be sure it was not freed.
12939         (drawOneRow): remove unused code.
12940
12941         * text.C (drawInset): redo the calculation of the need_break_row as
12942         it could have a row which was already freed.
12943         (draw): look at the return value of drawInset and return false if
12944         it also returned false.
12945         (paintRowText): look at the return value of draw and return false if
12946         it also returned false.
12947
12948         * lyxtext.h: added bool return type to drawInset() and draw() so that
12949         if we have a change in the row so that the rowbreak has to be redone
12950         we abort drawing as it will be called again.
12951
12952 2002-05-02  Juergen Vigna  <jug@sad.it>
12953
12954         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12955         a change in the maintext also if we're inside an inset.
12956         (Dispatch): set the cursor again after a break line and after the
12957         screen has been updated as it could be we're in a different row.
12958
12959         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12960         to set the cursor behind the pargraph with > size().
12961         (setCursor): check also for the same paragraph when checking where
12962         to put the cursor if we have a NFR inset.
12963
12964         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12965         parts of layout read further up as it still was in the wrong
12966         position.
12967
12968 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * screen.C (drawFromTo): change sine fullRebreak always return
12971         true.
12972
12973         * buffer.C (parseSingleLyXformat2Token): reindent some
12974
12975         * BufferView_pimpl.C (update): change since fullRebreak always
12976         return true.
12977         (Dispatch): git rid of the last hardcoded "Standard"s.
12978
12979 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12980
12981         * text2.[Ch] (fullRebreak): make it return void now that we always
12982         returned true.
12983
12984 2002-04-30  Juergen Vigna  <jug@sad.it>
12985
12986         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12987         ert compatibility check for "latex" layout.
12988
12989 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12990
12991         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12992         minipages: use col% instead of p%, and also use the current font.
12993         (makeLaTeXFile): Fix use babel condition.
12994         (parseSingleLyXformat2Token): Correct font when reading old floats.
12995
12996 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12997
12998         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12999         inserting list of floats.
13000
13001 2002-04-25  Herbert Voss  <voss@lyx.org>
13002
13003         * MenuBackend.C (expand): don't add the graphics extensions to the
13004         export menu
13005
13006 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13007
13008         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13009         non-existing layout, do not complain if it was the default layout
13010         of the original class (bug #342)
13011
13012 2002-04-24  Juergen Vigna  <jug@sad.it>
13013
13014         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13015         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13016
13017 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13018
13019         * buffer.C (getBibkeyList): If using \bibliography, return the
13020         option field with the reference itself. Enables us to provide natbib
13021         support when using \bibliography.
13022
13023 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13024
13025         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13026
13027         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13028         natbib is provided by the LaTeX class.
13029
13030 2002-04-23  Juergen Vigna  <jug@sad.it>
13031
13032         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13033         Wakeup functions.
13034
13035         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13036
13037 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13038
13039         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13040
13041         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13042         ensuremath around textordmasculine, textordfeminine and
13043         textdegree.
13044
13045 2002-04-19  Juergen Vigna  <jug@sad.it>
13046
13047         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13048         reinitializing the buffer otherwise row-dimensions may be wrong.
13049         (update): reset also the selection cursors if they do exits otherwise
13050         their x/y positions may be wrong.
13051
13052         * text2.C (cursorDown): don't enter the inset if we came from a row
13053         above and are one row over the inset.
13054
13055         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13056         really leaving an inset.
13057
13058 2002-04-18  Juergen Vigna  <jug@sad.it>
13059
13060         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13061         of the selected paragraph does not have the selected layout also if
13062         the last one had!
13063
13064         * text2.C (setLayout): fixed bug which did not change last selected
13065         paragraph.
13066
13067         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13068         changed the read and substituted \\end_float with \\end_inset!
13069
13070         * BufferView_pimpl.C (cursorPrevious):
13071         (cursorNext): fixed to make it work with rows heigher than the work
13072         area without moving the cursor only the draw of the row.
13073         (workAreaMotionNotify): fix jumping over high rows.
13074
13075 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13078         Ressler.
13079
13080 2002-04-16  Juergen Vigna  <jug@sad.it>
13081
13082         * text2.C (setCursor): set also the irow().
13083         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13084         (cursorUp):
13085         (cursorDown): support for locking an inset if the x_fix value goes
13086         inside it. That way I can transverse insets too with cursor up/down.
13087
13088         * lyxrow.h: added irow helper function same as other (i) functions.
13089
13090         * BufferView_pimpl.C (cursorPrevious):
13091         (cursorNext): fixed for insets!
13092
13093 2002-04-15  Juergen Vigna  <jug@sad.it>
13094
13095         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13096         position otherwise it is wrong in some cases.
13097
13098         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13099         inside the inset before the call.
13100
13101 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13102
13103         * buffer.[Ch] (getBibkeyList): make it const.
13104
13105 2002-04-12  Juergen Vigna  <jug@sad.it>
13106
13107         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13108
13109         * text2.C (getCursorX): new helper function
13110         (setCursor): compute also ix_
13111         (setCursorFromCoordinates): set also ix.
13112
13113         * lyxcursor.h: added ix_ and helper functions.
13114
13115         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13116
13117         * buffer.C (insertStringAsLines): dont break paragraph if the this
13118         paragraph is inside an inset which does not permit it!
13119
13120         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13121         also with no chars on this paragraph.
13122         (paintRowText): only paint stuff if it's inside the workarea!
13123
13124         * paragraph.C (breakParagraph): honor keepempty flag and break the
13125         paragraph always below not above.
13126
13127         * BufferView2.C (unlockInset): update the paragraph layout on inset
13128         unlock as we changed paragraph in such a case.
13129
13130         * lyxfind.C (LyXFind): clear the former selection if not found!
13131
13132         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13133         again called in insertChar().
13134
13135         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13136         an inset which uses the whole row!
13137         (rightMargin): ditto.
13138         (insertChar): force a rebreak if we inserted an inset!
13139
13140 2002-03-28  Herbert Voss  <voss@lyx.org>
13141
13142         * lyxlength.[Ch]: add inBP() to get the right PS-point
13143         units (BigPoint). With inPixels we have rounding errors
13144
13145 2002-04-11  Juergen Vigna  <jug@sad.it>
13146
13147         * text2.C (setCursorFromCoordinates): set iy to the right value.
13148         (setCursor): add check if row->previous exists!
13149
13150         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13151         an old float_type as this was the case in the old code!
13152
13153         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13154
13155         * BufferView2.C (showLockedInsetCursor): use iy
13156         (fitLockedInsetCursor): ditto
13157
13158         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13159         locked insets as there we have the right value now.
13160
13161         * lyxcursor.C: added iy_ variable and iy functions to set to the
13162         baseline of cursor-y of the locked inset.
13163
13164         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13165         (setCursor): fixed for insets which need a full row.
13166
13167         * text.C (rowLastPrintable): don't ignore the last space when before
13168         an inset which needs a full row.
13169         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13170         as last character of a row when before a inset which needs a full row.
13171
13172 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13173
13174         * version.C.in: update date
13175
13176         * text2.C (fullRebreak): try to always return true and see what
13177         happens...
13178
13179 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13180
13181         * MenuBackend.C (expand): use Floating::listName
13182
13183         * FloatList.C (FloatList): add listName argument to the built-in
13184         floats
13185
13186         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13187         text associated with the float.
13188
13189 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13190
13191         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13192
13193 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13194
13195         * ShareContainer.h: add a couple of missing typenames.
13196
13197 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13198
13199         * lyxrc.C (getDescription): use _() correctly rather than N_().
13200
13201 2002-03-28  Herbert Voss  <voss@lyx.org>
13202
13203         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13204         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13205
13206 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13207
13208         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13209         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13210
13211 2002-03-29  Juergen Vigna  <jug@sad.it>
13212
13213         * lyxfunc.C (dispatch): add a missing fitCursor call.
13214
13215         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13216         it was scrolled by a cursor move, so return the bool status.
13217
13218         * BufferView.C (fitCursor): return the bool flag also to the outside
13219         world as this is needed.
13220
13221         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13222
13223         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13224         call the edit() as it is not needed (and wrong) IMO.
13225         (workAreaButtonPress): set the screen_first variable before evt.
13226         unlock the inset as this may change screen_first and then we have
13227         a wrong y position for the click!
13228
13229 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13230
13231         * MenuBackend.C (expand): another translation that I missed
13232
13233 2002-03-28  Juergen Vigna  <jug@sad.it>
13234
13235         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13236
13237         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13238
13239 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13240
13241         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13242
13243         * MenuBackend.C (expand): fix export/view/update when there is no
13244         document open.
13245
13246 2002-03-27  Herbert Voss  <voss@lyx.org>
13247
13248         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13249         and text%
13250
13251 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13252
13253         * bufferview_funcs.C (currentState): only show paragraph number
13254         for is DEVEL_VERSION is set.
13255
13256         * lyxfunc.C (dispatch): put warning in INFO channel
13257
13258         * MenuBackend.C (expand): translate the name of floats
13259
13260         * FloatList.C (FloatList): mark the float names for translation
13261
13262         * converter.C (convert): use LibScriptSearch
13263
13264 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13265
13266         * MenuBackend.C (defaults): fix default menu (we might as well get
13267         rid of it...)
13268
13269 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13270
13271         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13272         directory.
13273
13274 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * lyxvc.C: reorder includes.
13277
13278 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13279
13280         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13281           properly
13282
13283 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13284
13285         * CutAndPaste.C: change layouts earlier on paste
13286           to avoid crashing when calling getFont()
13287
13288 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13289
13290         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13291         irritating #error.
13292
13293 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * WorkArea.C: remove 'Pending' debug message.
13296
13297         * most files: ws cleanup
13298
13299         * buffer.[Ch]: ws changes
13300
13301         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13302
13303 2002-03-21  Juergen Vigna  <jug@sad.it>
13304
13305         * tabular.C (SetMultiColumn): collapse also the contents of the
13306         cells and set the last border right. Added a Buffer const * param.
13307
13308 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13309
13310         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13311         linking or not.
13312
13313 2002-03-19  Juergen Vigna  <jug@sad.it>
13314
13315         * text2.C (clearSelection): reset also xsel_cache.
13316
13317         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13318         where it needs to be called (John tells us to do so too :)
13319         (selectionLost): reset sel_cache.
13320
13321         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13322
13323 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13324
13325         * text2.C (setCursorIntern): put debuging code in INSETS channel
13326
13327 2002-03-19  André Pönitz <poenitz@gmx.net>
13328
13329         * lyxfunc.C: tiny whitespace change
13330
13331 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13332
13333         * ToolbarDefaults.C (init):
13334         * LyXAction.C (init):
13335         * commandtags.h:
13336         * BufferView_pimpl.C (Dispatch):
13337         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13338
13339 2002-03-19  Allan Rae  <rae@lyx.org>
13340
13341         * exporter.C (Export): removeAutoInsets before doing anything else.
13342         While I've just introduced a dependency on BufferView this really is
13343         the best place to clean the buffer otherwise you need to cleanup in
13344         a dozen places before calling export or cleanup in a dozen functions
13345         that export calls.
13346
13347         * converter.C (runLaTeX):
13348         (scanLog): Better handling of removeAutoInsets and screen updates.
13349
13350         * lyxfunc.C (dispatch): small whitespace changes
13351
13352 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * WorkArea.C (C_WorkAreaEvent): return a value.
13355         (event_cb): return 1 if we handled the event, 0 otherwise.
13356
13357         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13358
13359 2002-03-18  Juergen Vigna  <jug@sad.it>
13360
13361         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13362         (GetAdditionalWidth): ditto.
13363         (RightLine): ditto.
13364         (LeftLine): ditto.
13365
13366         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13367         inset if we're there actually (probably not used right now but this
13368         is the direction to go for unifying code).
13369         (paste): disable code to clear the selection.
13370
13371         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13372         inside an InsetText and move the check further up as it is in the
13373         wrong place.
13374
13375         * text2.C (pasteSelection): set a selection over the pasted text.
13376
13377 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13378
13379         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13380         and libgraphics to build on Cygwin.
13381
13382 2002-03-15  Juergen Vigna  <jug@sad.it>
13383
13384         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13385         inserting an Inset into the paragraph. I know this is not the best
13386         fix but we already use current_view in CutAndPaste so we will remove
13387         all of it's using at the same time.
13388
13389         * buffer.C (sgmlError): deactivated function till it is rewritten in
13390         the right mode, now it can create problems.
13391
13392         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13393         before accessing it.
13394
13395 2002-03-14  Juergen Vigna  <jug@sad.it>
13396
13397         * undo_funcs.C (textHandleUndo): do the right thing when updating
13398         the inset after the undo/redo.
13399
13400         * text2.C (setCursor): just some testcode for #44 not ready yet.
13401
13402         * undo_funcs.C (textHandleUndo): set the next() and previous()
13403         pointers of the paragraph to 0 before deleting otherwise we have
13404         problems with the Paragraph::[destructor].
13405
13406         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13407         on a paragraph insertion.
13408
13409 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * buffer.C (asciiParagraph): use += operator for char append to
13412         string.
13413
13414         * paragraph.C (getFontSettings): compare >= not just >
13415         (highestFontInRange): ditto
13416         (setFont): ditto
13417
13418 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13419
13420         * paragraph.C: change several algorithm to be more appripriate for
13421         the problem domain. This is lookip in FontList and in the InsetList.
13422
13423 2002-03-13  André Pönitz <poenitz@gmx.net>
13424
13425         * commandtags.h:
13426         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13427
13428 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13429
13430         * commandtags.h:
13431         * LyXAction.C:
13432         * lyxfunc.C:
13433         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13434
13435 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13436
13437         * Painter.C (display): anon helper function, adjust code for this
13438         change.
13439         (pixmap): remove function.
13440
13441         * Painter.h: remove private display variable.
13442
13443         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13444
13445 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13446
13447         * WorkArea.[Ch]: remove figinset_canvas cruft.
13448
13449 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13450
13451         * lyxtextclass.C (operator): add one item cache optimization.
13452
13453         * bufferlist.h: doxy changes
13454
13455         * bufferlist.C: ws changes
13456
13457         * DepTable.[Ch] (ext_exist): place const in the right spot.
13458
13459         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13460         call resizeInsets.
13461         (workAreaExpose): call resizeInsets when the with BufferView changes.
13462         (Dispatch): adjust for protectedBlank removal
13463         (specialChar): call updateInset if the insert went ok.
13464
13465         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13466         specialChar instead.
13467
13468         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13469
13470         * BufferView.h: doxy change
13471
13472         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13473
13474         * lyxtextclass.C (operator[]): remove non-const version
13475         (defaultLayout): remove non-const version
13476
13477 2002-03-12  Juergen Vigna  <jug@sad.it>
13478
13479         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13480         did resize the LyXText too.
13481
13482         * buffer.C (readLyXformat2): set layout information on newly allocated
13483         paragraphs.
13484
13485         * tabular.C (OldFormatRead): set layout information on the paragraph.
13486
13487 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13488
13489         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13490
13491 2002-03-11  Juergen Vigna  <jug@sad.it>
13492
13493         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13494         plainly wrong.
13495         (resizeCurrentBuffer): force also the insets to resize themselfes.
13496         (moveCursorUpdate): fixed up for InsetText.
13497
13498 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13499
13500         * commandtags.h:
13501         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13502         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13503         value of Dialogs::tooltipsEnabled().
13504         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13505
13506 2002-03-08  Juergen Vigna  <jug@sad.it>
13507
13508         * BufferView_pimpl.C (updateInset): update inset inside inset also
13509         if it isn't inside theLockingInset().
13510
13511 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * buffer.C (asciiParagraph): redo some of the word and line length
13514         handling.
13515         (getLists): look for Caption instead of caption.
13516
13517 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13518
13519         * buffer.C (Buffer): initialize niceFile to true
13520         (makeLaTeXFile):
13521         (makeLinuxDocFile):
13522         (makeDocBookFile): make sure niceFile is true on exit
13523
13524 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13525
13526         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13527
13528 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13529
13530         * LyXSendto.C: remove.
13531         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13532         * lyx_gui.C: remove now-redundant comment.
13533         * ColorHandler.h: remove forward declaration of class WorkArea.
13534         * lyxfunc.C: remove #include "WorkArea.h".
13535
13536 2002-03-07  Juergen Vigna  <jug@sad.it>
13537
13538         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13539         got moved away with the DEPM and also set the inset_owner always
13540         right which before could have been omitted.
13541
13542 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13543
13544         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13545         wanted layout is not found.
13546
13547 2002-03-07  Juergen Vigna  <jug@sad.it>
13548
13549         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13550
13551 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * paragraph.C (breakParagraph): use default layout not layout of
13554         prev paragraph.
13555         (Paragraph): clear ParagraphParameters.
13556
13557 2002-03-06  Juergen Vigna  <jug@sad.it>
13558
13559         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13560         otherwise it would not be a valid lenght. Fixed a special case in
13561         the minipage compatibility read where we end the document with a
13562         minipage.
13563
13564         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13565         was set as it could be 0 for InsetTexts first entry.
13566
13567 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13568
13569         * paragraph.C (writeFile): if layout is empty write out
13570         defaultLayoutName().
13571
13572         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13573         file without named layout we set layout to defaultLayoutName().
13574
13575 2002-03-06  Juergen Vigna  <jug@sad.it>
13576
13577         * CutAndPaste.C (copySelection): set layout for new paragraph.
13578
13579         * text.C (prepareToPrint): leave ERT inset left aligned
13580         (leftMargin): don't indent paragraphs inside ERT insets
13581
13582 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13583
13584         * paragraph.C (breakParagraph): dont call clear do the work manually
13585
13586         * paragraph.[Ch] (clear): remove function
13587
13588 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13589
13590         * paragraph.C (Paragraph): dont call clear, the work has already
13591         been done.
13592
13593         * lyxtextclass.C (operator): assert if n is empty
13594
13595         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13596         work manually instead.
13597
13598 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13599
13600         * BufferView_pimpl.C: protect selectionLost against text == 0
13601
13602 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13603
13604         * text.C (breakParagraph): fix a setting layout to '0' problem.
13605
13606 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13607
13608         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13609         final location of file, for the included files, and graphics.
13610
13611 2002-03-05  Juergen Vigna  <jug@sad.it>
13612
13613         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13614
13615 2002-03-04  Juergen Vigna  <jug@sad.it>
13616
13617         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13618
13619         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13620         last column of multicolumn cells.
13621         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13622
13623 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13624
13625         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13626         file if it doesn't go to a temporary file.
13627
13628         * buffer.C (sgmlOpenTag):
13629         (sgmlCloseTag):  remove extra newline insertion.
13630
13631 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13632
13633         * text.C (getRowNearY): comment out debug msg
13634
13635 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13636
13637         * text2.C: first -> first_y
13638
13639         * text.C (getRowNearY): add some attemts at a possible
13640         optimization, not working.
13641
13642         * tabular.[Ch]: add BufferParams to several function so that newly
13643         created paragraph can be initialized to he default layotu for the
13644         buffers textclass.
13645
13646         * tabular-old.C (ReadOld): add buf->params to call of Init
13647
13648         * screen.C: rename text->first to text->first_y
13649
13650         * paragraph.C (breakParagraph): always set layout in the broken
13651         paragraph
13652
13653         * lyxtextclass.C (Read): remove lowercase
13654         (hasLayout): ditto
13655         (operator): ditto
13656         (delete_layout): ditto
13657
13658         * lyxtext.h: rename first -> first_y
13659
13660         * lyxlayout.C (Read): remove lowercase
13661         (name): ditto
13662         (setName): ditto
13663         (obsoleted_by): ditto
13664
13665         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13666
13667         * buffer.C (insertErtContents): add params are to InsetERT
13668         (parseSingleLyXformat2Token): add code to check if a paragraphs
13669         layout really exist.
13670         (parseSingleLyXformat2Token): add params to several inset
13671         constructors
13672         (asciiParagraph): remove lowercase, do the layout comparisons with
13673         no_case
13674
13675         * BufferView_pimpl.C (cursorNext): first -> first_y
13676         (resizeCurrentBuffer): first -> first_y
13677         (updateScrollbar): first -> first_y
13678         (scrollCB): first -> first_y
13679         (workAreaMotionNotify): first -> first_y
13680         (workAreaButtonPress): first -> first_y
13681         (checkInsetHit): first -> first_y
13682         (cursorPrevious): first -> first_y
13683         (cursorNext): first -> first_y
13684         (Dispatch): add buffer_->params to severl inset contructors
13685
13686 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13687
13688         * lyxlayout.C (Read): remove some debug info that I forgot.
13689
13690         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13691         clean up the code slightly.
13692         (makeLinuxDocFile): ditto
13693         (makeDocBookFile): ditto
13694
13695         * text2.C: layout as string
13696
13697         * text.C: layout as string
13698
13699         * paragraph_pimpl.C: layout as string
13700
13701         * paragraph.[Ch]: layout as string
13702
13703         * lyxtextclasslist.[Ch]: layout as string
13704
13705         * lyxtextclass.[Ch]: layout as string
13706
13707         * lyxtext.h: layout as string
13708
13709         * lyxlayout.[Ch]: layout as string
13710
13711         * lyx_cb.C: layout as string
13712
13713         * bufferview_funcs.C: layout as string
13714
13715         * bufferparams.C: layout as string
13716
13717         * buffer.C: layout as string
13718
13719         * LyXView.[Ch]: layout as string
13720
13721         * LaTeXFeatures.[Ch]: layout as string
13722
13723         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13724
13725         * BufferView_pimpl.C: change current_layout to string, remove
13726         lyx::layout_type.
13727         (Dispatch):
13728         (smartQuote):
13729         (insertInset):
13730         (workAreaButtonRelease): layout as string
13731
13732         * BufferView2.C (unlockInset): adjust
13733
13734         * vspace.C (asLatexCommand): use an explict temp variable.
13735
13736 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13737
13738         * Makefile.am: use FRONTEND_*
13739
13740 2002-03-01  Juergen Vigna  <jug@sad.it>
13741
13742         * tabular.C (SetWidthOfMulticolCell): changed to something better
13743         I hope but still work in progress.
13744         (recalculateMulticolumnsOfColumn): renamed function from
13745         recalculateMulticolCells as it is more appropriate now.
13746         (SetWidthOfCell): calculate multicols better.
13747
13748 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13749
13750         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13751
13752         * lyxfunc.C (processKeySym): print sequence also if it is
13753         `deleted' (complete)
13754
13755         * kbsequence.C (print): print sequence even if it is deleted
13756         (complete would be a better word, actually).
13757
13758         * lyxfunc.C (dispatch): print complete options after a prefix key
13759
13760         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13761
13762 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13763
13764         * text2.C (setCharFont): eliminate setCharFont code duplication.
13765
13766 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13767
13768         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13769         LFUN_TABULAR_FEATURE (bug #177)
13770
13771 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13772
13773         * Makefile.am: remove figure.h
13774
13775 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13776
13777         * Bufferview_pimpl.C:
13778         * CutAndPasteC:
13779         * LaTeX.C:
13780         * LyXSendto.C:
13781         * buffer.C:
13782         * bufferlist.C:
13783         * converter.C:
13784         * language.C:
13785         * lyxfunc.C:
13786         * lyxvc.C:
13787         * paragraph.C:
13788         * text.C:
13789         * text2.C: remove #include "lyx_gui_misc.h".
13790
13791         * LaTeX.C: added #include <cstdio>
13792
13793 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13794
13795         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13796         that the paragraph following this one can have.
13797
13798         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13799
13800         * vspace.C (asLatexCommand): fix bogus gcc warning
13801
13802         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13803
13804 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13805
13806         * text2.C (setLayout): get rid of redundant code
13807
13808 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13809
13810         * text2.C (incDepth): make sure depth cannot be increased beyond
13811         reasonable values.
13812
13813 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13814
13815         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13816         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13817
13818         * PainterBase.h (image):
13819         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13820         a LyXImage const *.
13821
13822 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13823
13824         * BufferView.C:
13825         * BufferView.h:
13826         * BufferView_pimpl.C:
13827         * BufferView_pimpl.h:
13828         * LaTeXFeatures.C:
13829         * LyXAction.C:
13830         * LyXView.C:
13831         * Makefile.am:
13832         * UpdateList.h:
13833         * UpdateList.C:
13834         * buffer.C:
13835         * figure.h:
13836         * figureForm.C:
13837         * figureForm.h:
13838         * figure_form.C:
13839         * figure_form.h:
13840         * lyx_cb.C:
13841         * lyx_gui.C:
13842         * lyx_gui_misc.C:
13843         * lyxfunc.C:
13844         * sp_base.h:
13845         * sp_ispell.h:
13846         * sp_pspell.h:
13847         * sp_spell.C: remove fig inset, and the crap house of
13848           cards that follows it
13849
13850 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13851
13852         * Makefile.am:
13853         * lyxserver.C:
13854         * os2_defines.h:
13855         * os2_errortable.h:
13856         * nt_defines.h: move .h into support/
13857
13858         * vms_defines.h: remove
13859
13860         * WorkArea.C: add space in debug output
13861
13862         * text2.C:
13863         * paragraph.C:
13864         * buffer.C: add WITH_WARNINGS
13865
13866         * vc-backend.h:
13867         * vc-backend.C:
13868         * bufferlist.C: s/retrive/retrieve/, add docs
13869
13870         * vspace.h:
13871         * vspace.C:
13872         * kbmap.h:
13873         * lyxlength.h:
13874         * lyxgluelength.h:
13875         * length_common.h:
13876         * chset.h:
13877         * chset.C: add docs
13878
13879         * lyxgui.C: add ID to X error handler
13880
13881         * lyxtestclass.c: fix typo
13882
13883 2002-02-26  Juergen Vigna  <jug@sad.it>
13884
13885         * tabular_funcs.C (write_attribute): changed so that some default
13886         attributes are not written at all.
13887         (getTokenValue): set default values before trying to read the
13888         value so we have the return value always set as default if we don't
13889         find the token we search for.
13890
13891         * tabular.C (Write): write bools as bools not as strings!
13892
13893 2002-02-22  Juergen Vigna  <jug@sad.it>
13894
13895         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13896         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13897
13898         * text.C (leftMargin): don't add an indent for paragraphs inside
13899         tabular cells (fix #208).
13900
13901 2002-02-21  José Matos  <jamatos@fep.up.pt>
13902
13903         * tabular.C (docBook): fixed support for long tables.
13904
13905 2002-02-20  Juergen Vigna  <jug@sad.it>
13906
13907         * text2.C (getFont): get the drawing font of the Inset if this
13908         paragraph is inside an inset (only important for InsetERT for now).
13909
13910         * buffer.C (insertErtContents): use new lanugage params in ERT
13911         constructor.
13912
13913         * CutAndPaste.C: commenting out seemingly uneeded code.
13914
13915 2002-02-19  Allan Rae  <rae@lyx.org>
13916
13917         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13918         Iterators might be simple to use but they also get invalidated.
13919         (removeAutoInsets): renamed saved cursor tracking variables and added
13920         some comments to clarify what everything does.
13921
13922 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13923
13924         * Chktex.C:
13925         * LaTeX.C:
13926         * LyXSendto.C:
13927         * converter.C:
13928         * lyx_cb.C:
13929         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13930         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13931
13932         * lyxfunc.C:
13933         * vc-backend.h: remove #include "support/syscall.h"
13934
13935         * LaTeX.C:
13936         * LyXSendto.C:
13937         * converter.C: rearrange #includes in Lars' approved fashion.
13938
13939         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13940         forward declare class Timeout in the header file.
13941
13942         * XFormsView.C: changes due to the above.
13943
13944         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13945         similar to LyXView.
13946
13947         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13948         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13949
13950 2002-02-18  José Matos  <jamatos@fep.up.pt>
13951
13952         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13953         insets contents.
13954
13955 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13956
13957         * a lot of small ws changes
13958         * add a lot of using std::XXX
13959         * use std construcs some places where approp.
13960         * use some exisint stuff from lyxfunctional where approp.
13961         * Make file changes to use partial linking (lets test this now...)
13962
13963 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13964
13965         * Chktex.C:
13966         * buffer.C:
13967         remove #include "support/syscontr.h" as it's redundant. Always has been.
13968
13969         * Chktex.C:
13970         * LaTeX.C:
13971         * LyXSendto.C:
13972         * converter.C:
13973         * lyx_cb.C:
13974         * vc-backend.C:
13975         change Systemcalls::System to Systemcalls::Wait and
13976         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13977         No change of functionality, just reflects the stripped down Systemcalls
13978         class.
13979
13980 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13981
13982         * debug.[Ch]: add a GRAPHICS type to the enum.
13983
13984 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13985
13986         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13987
13988         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13989         there is an inset.
13990
13991 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13992
13993         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13994         match the changes below.
13995
13996         * text2.C (toggleInset): if there is not editable inset at cursor
13997         position, try to see if cursor is _inside_ a collapsable inset
13998         and close it.
13999
14000 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14001
14002         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14003         document menu has a nice checkbox
14004
14005 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14006
14007         * lyxlength.C (asLatexString): change PW to output as percent of
14008         \textwidth.
14009
14010         * lengthcommon.C: change '%' to 't%'
14011
14012         * lyxfunc.C (dispatch): a few comments from Martin
14013
14014 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14015
14016         * WorkArea.h:
14017         * WorkArea.C:
14018         * BufferView_pimpl.h:
14019         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14020           the X selection.
14021
14022 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14023
14024         * vspace.C (inPixels): fix compiler warning
14025
14026 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14027
14028         * lyxfunc.C (getStatus): fix status message for disabled commands.
14029
14030 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14031
14032         * BufferView_pimpl.C: fix crash on close buffer
14033         during selection (#227)
14034
14035 2002-01-27  Herbert Voss  <voss@lyx.org>
14036
14037         * buffer.C: link old Figure to new graphic inset
14038
14039 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14040
14041         * FontLoader.C (getFontinfo): Change the latex font names in order
14042         to match the names of type1inst.
14043
14044 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14045
14046         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14047
14048         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14049         (extchanged): ditto
14050         (ext_exist): ditto
14051         (remove_files_with_extension): ditto
14052         (remove_file): ditto
14053         (write): ditto
14054
14055         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14056         document is smaller than the work area height. Do not initialize
14057         static variables to 0.
14058
14059 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14060
14061         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14062
14063         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14064         LFUN_LAYOUT_PARAGRAPHS.
14065
14066         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14067         tabular. It is possible to provide a possible cell, which will
14068         typically be the actcell from the corresponding insettabular
14069
14070         * lyxfunc.C (getStatus): small cleanup; disable
14071         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14072         true
14073
14074 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14075
14076         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14077
14078         * paragraph.C (startTeXParParams):
14079         (endTeXParParams): new methods. The LaTeX code to
14080         start/end paragraph formatting
14081         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14082         empty (fixes bug #200)
14083
14084         * vspace.C (inPixels): adapt to the change below
14085         (inPixels): [later] more cleanups (remove unused variables)
14086
14087         * lyxlength.C (inPixels): change to use a width and a height as
14088         parameter.
14089
14090 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14091
14092         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14093         Replaced with \paperwidth
14094
14095         * DepTable.C (insert): add std:: qualifier
14096
14097 2002-01-18  Allan Rae  <rae@lyx.org>
14098
14099         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14100         updated also?
14101
14102         * text.C (drawInset): Turned out I didn't know enough about how
14103         rebreaking worked.  This fixes most of the redraw problems.  I see
14104         an occasional cursor trail when a line is broken now and the cursor
14105         placement can seem out by a few pixels also after a rebreak.
14106
14107 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14108
14109         * buffer.C (parseSingleLyXformat2Token): update because minipage
14110         width is now a LyXLength
14111
14112         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14113
14114         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14115         math insets
14116
14117 2002-01-17  Juergen Vigna  <jug@sad.it>
14118
14119         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14120
14121         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14122         is set correctly and the inset is updated correctly.
14123
14124 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14125
14126         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14127         the beginning of the loop.
14128
14129 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * lyxrc.C: improve help for use_scalable_fonts
14132
14133 2002-01-17  Allan Rae  <rae@lyx.org>
14134
14135         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14136
14137 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14138
14139         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14140         make sure to set their inset_owner to the right value (bug #171)
14141
14142 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14143
14144         * DepTable.h
14145         * DepTable.C: Implement mtime checking to reduce time spent doing
14146         CRCs.
14147
14148 2002-01-16  Juergen Vigna  <jug@sad.it>
14149
14150         * tabular.C (GetAdditionalHeight): one of error fixed.
14151
14152         * lyxrc.C (output): small fix in writing use_pspell.
14153
14154 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14155
14156         * sp_base.h: #include LString.h
14157
14158 2002-01-16  Allan Rae  <rae@lyx.org>
14159
14160         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14161         Can someone check this please?
14162
14163         * text.C (drawInset): It was possible that p.row would be removed by
14164         breakAgainOneRow upsetting a few other settings.  There may be another
14165         small tweak possible by setting need_break_row = 0 when p.row has been
14166         removed but I don't know enough about the logic here.
14167
14168 2002-01-15  Allan Rae  <rae@lyx.org>
14169
14170         * text.C (insertChar): removed conditional truism.
14171
14172         * BufferView2.C (removeAutoInsets): More tweaks.
14173         cur_par_prev could be a stray pointer.  Check for trailing empty line
14174         in case last line was cur_par and only had an error inset on it.
14175
14176 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14177
14178         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14179         absolute
14180
14181         * vc-backend.C (most methods):
14182         * exporter.C (Export):
14183         * converter.C (convert):
14184         (runLaTeX):
14185         * LyXSendto.C (SendtoApplyCB):
14186         * lyxfunc.C (dispatch):
14187         (menuNew):
14188         (open):
14189         (doImport):
14190         * lyx_cb.C (AutoSave):
14191         (InsertAsciiFile):
14192         * BufferView_pimpl.C (MenuInsertLyXFile):
14193         * buffer.C (runChktex): use Buffer::filePath().
14194
14195         * buffer.h: rename filename to filename_; rename filepath to
14196         filepath_ and make it private
14197         (filePath): new method
14198
14199         * buffer.C (writeFile): use fileName()
14200         (getLatexName):
14201
14202         * lyx_main.C (init): fix starting  of LyX when the binary is a
14203         link from so,ewhere else.
14204
14205         * minibuffer.C: include <cctype> for isprint
14206
14207 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14208
14209         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14210         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14211         name clash with InsetCollapsable's width function.
14212
14213 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14214
14215         * lastfiles.C: include <iterator>
14216
14217 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14218
14219         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14220         std::count.
14221
14222         * buffer.C (makeLaTeXFile): ditto.
14223         Also make loop operation more transparent.
14224
14225 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14226
14227         * ToolbarDefaults.C: remove trailing comma closing namespace.
14228
14229         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14230
14231         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14232         as in WorkArea.
14233
14234         * trans.C (Load): comment out unused variable, allowed.
14235
14236 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14237
14238         * minibuffer.[Ch] (append_char): new method to recieve input from the
14239         drop-down completion browser. If a key was pressed, then recieve this
14240         char and append it to the existing string.
14241         (peek_event): modify the positioning data passed to the completion
14242         browser so that it can be placed above the minibuffer rather than below.
14243 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14244
14245         * LyXAction.C (init): alloe error-next for readonly documents.
14246
14247         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14248         count.
14249
14250 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14251
14252         * bufferlist.C (readFile): create the buffer _after_ checking that
14253         the file exists.
14254
14255         * lyxfunc.C (verboseDispatch): fix handling of arguments
14256
14257         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14258
14259         * lyxrc.C: use string::erase() instead of initializing to "".
14260
14261
14262 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14263
14264         * BufferView_pimpl.h:
14265         * BufferView_pimpl.C:
14266         * WorkArea.h:
14267         * WorkArea.C:
14268         * text2.C: tell X when we have made a selection for copying
14269
14270 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14271
14272         * BufferView_pimpl.C (MenuInsertLyXFile):
14273         * lyxfunc.C (menuNew):
14274         (open):
14275         (doImport): add shortcuts to directory buttons
14276
14277         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14278         open a float)
14279
14280         * lyxfunc.C (setStatusMessage):
14281         (getStatusMessage): new methods
14282         (getStatus):use setStatusMessage instead of setErrorMessage
14283         (dispatch): when function is disabled, set error message here
14284         [instead of in getStatus previously]
14285
14286         * BufferView_pimpl.C (workAreaButtonRelease): update
14287         toolbar/menubar here too.
14288
14289 2002-01-13  Allan Rae  <rae@lyx.org>
14290
14291         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14292         Now seems indestructible.  Remaining task is to audit all other
14293         code affected by deleteEmptyParagraphMechanism.  One small quirk
14294         left is that an empty document with an error in the preamble can
14295         be made to report an error but no error box appears.  I don't know
14296         where it goes.
14297         (removeAutoInsets): Improved comments.
14298
14299 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14300
14301         * Thesaurus.h:
14302         * Thesaurus.C: update for Aiksaurus 0.14
14303
14304 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14305
14306         * text2.C (firstParagraph): removed member function, all uses
14307         replaces with ownerParagraph
14308         (redoParagraphs): here
14309         (updateInset): here
14310         (toggleAppendix): here
14311         * BufferView2.C (insertErrors): here
14312         (setCursorFromRow): here
14313
14314 2002-01-13  Allan Rae  <rae@lyx.org>
14315
14316         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14317         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14318         There is still a way to segfault this although you may have to do this
14319         multiple times: Have an InsetERT with an unknown command in it.
14320         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14321         <down-arrow>, <Enter> again, View->DVI, BANG!
14322
14323         * text2.C (setCursor):
14324         (deleteEmptyParagraphMechanism):
14325         * lyxtext.h (setCursor):
14326         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14327         Making use of the return value may help fix other bugs.
14328
14329 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14330
14331         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14332
14333         * LyXView.C (updateMenubar): call MenuBar::update here
14334         (updateToolbar): but not here
14335         (showState): do not update toolbar/menubar
14336
14337         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14338         should need to care about that.
14339
14340         * lyxfunc.C (verboseDispatch): simplify a bit
14341         (getStatus): have a version which takes a pseudoaction, and
14342         another which requires a (kb_action,string).
14343
14344         * LyXAction.C (retrieveActionArg): make it work also when action
14345         is not a pseudo-action.
14346         (getActionName): simplify a bit
14347         (helpText):
14348
14349 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14350
14351         * lyxfunc.C (verboseDispatch): new families of methods with
14352         several ways to specify a command and a bool to indicate whether
14353         the command name and shortcut should be displayed in minibuffer
14354         (eventually, we could extend that to a finer bitmask like
14355         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14356         (dispatch): the pristine dispatch command which just, well,
14357         dispatchs! Note it still sets its result to minibuffer; I'm not
14358         sure we want that.
14359
14360         * lyxfunc.h: remove setHintMessage
14361
14362         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14363
14364 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14365
14366         * BufferView_pimpl.C (specialChar): delete new inset if we have
14367         not been able to insert it.
14368
14369         * kbmap.C: revert to using int instead of kb_action, since all we
14370         are dealing with is pseudo-actions.
14371
14372         * LyXAction.C (searchActionArg): change to return int instead of
14373         kb_action, since the result is a pseudoaction.
14374
14375 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14376
14377         * buffer.C (insertErtContents): Fix (partially) the font bug.
14378
14379 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14380
14381         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14382         as the other one is broken on my machine!
14383
14384 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14385
14386         * commandtags.h:
14387         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14388
14389 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14390
14391         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14392         reflect their actual use. Provide compatibility code for older lyxrc
14393         files.
14394
14395         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14396         FL_NORMAL_STYLE.
14397         change names of popup font variables in line with the changes to lyxrc.C
14398
14399 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14400
14401         * buffer.C (asciiParagraph): avoid outputing a word twice after
14402         an inset.
14403
14404         * lyxrc.C (getDescription): document that document_path and
14405         template_path can be empty.
14406
14407 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14408
14409         * LaTeXFeatures.C (getMacros):
14410         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14411
14412         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14413
14414         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14415         getPackages.
14416         (getPackages): rename feature "floats" to "float". Use an array to
14417         iterate over 'simple' features (i.e. just a \usepackage). Add
14418         handling of "amsmath" (renamed from "amsstyle").
14419
14420 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14421
14422         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14423         features list.
14424
14425 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14426
14427         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14428         FuncStaus::FuncStatus & FuncStaus::some_method().
14429
14430 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14431
14432         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14433         of the func_satus stuff. Edited and massaged in various ways by
14434         JMarc.
14435
14436         * lyxfunc.C (getStatus): use FuncStatus
14437
14438 2002-01-08  Juergen Vigna  <jug@sad.it>
14439
14440         * text.C (nextBreakPoint): use function Inset::isChar().
14441
14442         * paragraph.C (TeXOnePar): use function
14443         Inset::forceDefaultParagraphs.
14444
14445         * buffer.C (latexParagraphs): use function
14446         Inset::forceDefaultParagraphs.
14447
14448 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14449
14450         * lyx_gui.C (init): set the style of the menu popups to
14451         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14452
14453 2002-01-07  Juergen Vigna  <jug@sad.it>
14454
14455         * text.C (setHeightOfRow): small fix
14456         (prepareToPrint): don't look at alignment if we don't have the place
14457         for doing it.
14458
14459 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14460
14461         * box.C: New file. Move the Box methods and functions out of box.h,
14462         following Lars' suggestion.
14463
14464 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14465
14466         * box.h: #include "support/LOstream.h", needed for inlined function.
14467
14468         * lyxtextclass.C:
14469         * lyxtextclasslist.C: added some using std declarations.
14470
14471 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14472
14473         * box.h: make signed dimensions to allow insets wider than
14474           the screen (bug #162)
14475
14476         * BufferView_pimpl.C: add some insetHit debug
14477
14478 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14479
14480         * vc-backend.C: add FIXME
14481
14482 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14483
14484         * lyxfunc.C (getStatus): enable code for showing math font status
14485         in toolbar/menu.
14486
14487 2002-01-07  Juergen Vigna  <jug@sad.it>
14488
14489         * text.C (nextBreakPoint): removed debug output not needed anymore.
14490
14491 2002-01-06  Juergen Vigna  <jug@sad.it>
14492
14493         * text.C (nextBreakPoint): fixed up this function we had this bug
14494         since ever but now hopefully we break row better.
14495         (insertChar): we have to check if an inset is the next char as it
14496         could now happen that a large inset is causing a break.
14497
14498 2002-01-05  Juergen Vigna  <jug@sad.it>
14499
14500         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14501         if it doesn't like to be drawed.
14502
14503 2002-01-04  Juergen Vigna  <jug@sad.it>
14504
14505         * BufferView2.C (lockInset): forgot to set a cursor.
14506
14507         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14508
14509 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14510
14511         * FormMathsPanel.C:
14512         * FormMathsPanel.h
14513         * MathsSymbols.C:
14514         * form_maths_panel.C:
14515         * form_maths_panel.h:
14516         * form_maths_panel.fd: implemented sub- and super- buttons in math
14517         panel.
14518
14519         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14520         (or ^ space) to be used as in TeX (req'd by Andr�.
14521
14522         * lyxfunc.C: Allow ^ and _ again to be used both as
14523         super/subscript (mathed) and as themselves (in text).
14524
14525 2002-01-03  Allan Rae  <rae@lyx.org>
14526
14527         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14528         "LyX" or the filename of the current buffer if it has one.  This is a
14529         modified form of John Levon's patch.
14530
14531         * XFormsView.C (setWindowTitle): also set icon title.
14532
14533         * LyXView.h (setWindowTitle): signature changed.
14534         * XFormsView.h (setWindowTitle): ditto.
14535
14536 2002-01-02  Juergen Vigna  <jug@sad.it>
14537
14538         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14539
14540 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14541
14542         * screen.C (topCursorVisible): introduce a temp var for
14543         text->cursor.row(), handle the case where this row is null. (kindo
14544         hachish)
14545
14546         * text2.C (setCursor): add a couple of asserts.
14547
14548         * paragraph.h (inset_iterator): add -> operator
14549
14550         * paragraph.[Ch] (autoDeleteInsets): remove member function
14551
14552         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14553         cursor pos correctly and handle inset deletion by itself.
14554         (insertErrors): move iterator declaration out of for expression
14555
14556         * lyxtextclass.C: add <algorithm>
14557
14558         * Makefile.am: added the new files to sources, removed layout.C
14559
14560         * layout.C: removed file
14561
14562         * layout.h: remove LYX_DUMMY_LAYOUT
14563
14564         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14565         layout.
14566
14567         * lyxlayout.[Ch]:
14568         * lyxtextclass.[Ch]:
14569         * lyxtextclasslist.[Ch]: new files
14570
14571         * include order changes to a lot of files, also changes because of
14572         the six new files.
14573
14574 2001-12-27  Juergen Vigna  <jug@sad.it>
14575
14576         * buffer.C (asciiParagraph): more fixes.
14577
14578         * tabular.C (ascii): make ascii export support export of only the
14579         data separated by a column-delimiter.
14580         (ascii): better support for ascii export.
14581
14582         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14583
14584 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14585
14586         * tabular_funcs.C: use a "using std::getline" instead of the
14587         previous fix from Angus (necessary for cxx + lyxstring)
14588
14589 2001-12-24  Juergen Vigna  <jug@sad.it>
14590
14591         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14592
14593         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14594         problems. First check a minipage also if we have some ert-contents
14595         (not only on par->size(), second set the right depth of the paragraph
14596         on the relink to the root-paragraph-list!
14597
14598         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14599         which then did not anymore update the main paragraphs on undo/redo!
14600
14601 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14602
14603         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14604         code. Support all font-changing funcs (even those which are not in
14605         menu currently). Support for reporting font settings in
14606         mathed (disabled until Andre provides a function on mathed's side).
14607
14608         * func_status.h (toggle): small helper function to set toggle
14609         state on a flag.
14610
14611 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14612
14613         * tabular_funcs.C: getline -> std::getline
14614
14615 2001-12-21  Juergen Vigna  <jug@sad.it>
14616
14617         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14618         accessed and could be 0 (I couldn't generate this but it seems
14619         Michael could!).
14620
14621 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14622
14623         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14624         * tabular_funcs.h: here and include iosfwd
14625
14626 2001-12-20  Juergen Vigna  <jug@sad.it>
14627
14628         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14629         inside inset but undo_par was.
14630
14631 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14632
14633         * Thesaurus.C: always include <config.h> in sources.
14634
14635         * Painter.h:
14636         * lyxlookup.h:
14637         * box.h: do not include <config.h> in header files
14638
14639         * text.C (paintLastRow): remove unused variable
14640
14641         * text.C (transformChar):
14642         (insertChar):
14643         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14644
14645         * Painter.C (text):
14646         * font.C (width): rewrite to use uppercase() instead of
14647         islower/toupper.
14648
14649         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14650
14651 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14652
14653         * lyxfind.C: clean up of find failure position change
14654
14655 2001-12-20  Juergen Vigna  <jug@sad.it>
14656
14657         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14658
14659         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14660         (TeXRow): added to LaTeX a single tabular row.
14661         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14662         (Latex): simplified and finally good LT-h/f support.
14663         (various_functions): just small adaptions for LT-h/f support.
14664
14665         * tabular_funcs.[hC]: added and moved here all not classfunctions
14666         of LyXTabular.
14667
14668 2001-12-19  Juergen Vigna  <jug@sad.it>
14669
14670         * tabular.[Ch]: better support for longtabular options (not finished
14671         yet!)
14672
14673 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14674
14675         * text.C (paintLastRow): use the label font instead of the font of
14676         the last character to compute the size of *_BOX. This makes more
14677         sense and avoids a crash with empty paragraphs.
14678         Use Painter::rectangle to draw EMPTY_BOX.
14679
14680 2001-12-19  Juergen Vigna  <jug@sad.it>
14681
14682         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14683         the paragraphs if the replaced paragraph is not the first one!
14684         Tried to delete not used paragraphs but does not work yet so for
14685         now it's inside #ifdef's and by default off!
14686
14687 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14688
14689         * MenuBackend.C: include "lyx_main.h" instead of declaring
14690         lastfiles (actually was declared as LastFiles* instead of a
14691         scoped_ptr).
14692
14693 2001-12-17  Juergen Vigna  <jug@sad.it>
14694
14695         * tabular.C (AppendColumn): applied John's fix
14696
14697 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14698
14699         * BufferView.h:
14700         * BufferView.C:
14701         * BufferView_pimpl.h:
14702         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14703
14704         * Makefile.am:
14705         * box.h: new start of class for above
14706
14707         * lyxfunc.C: ignore space-only minibuffer dispatches.
14708           Show the command name when it doesn't exist
14709
14710         * minibuffer.C: don't add empty lines to the history
14711
14712         * minibuffer.C: add a space on dropdown completion
14713
14714 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * text.C: fix line above/below drawing in insets
14717
14718 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14719
14720         * lyxlength.C (LyXLength): Initialize private variables.
14721
14722 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14723
14724         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14725         when inserting error insets.
14726
14727 2001-12-13  Juergen Vigna  <jug@sad.it>
14728
14729         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14730         actually sometimes the before-paragraph.
14731         (setUndo): don't clear the redostack if we're not actually undoing!
14732
14733 2001-12-06  Juergen Vigna  <jug@sad.it>
14734
14735         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14736         and fixed redoing of main paragraph, so we can use it now ;)
14737
14738         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14739
14740 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14741
14742         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14743         Juergen's request
14744
14745 2001-12-13  André Pönitz <poenitz@gmx.net>
14746
14747         * undostack.[Ch]:
14748         * undo_func.C: minor cleanup
14749
14750 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14751
14752         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14753         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14754         font in urw-fonts package which is marked as -urw-fontspecific and
14755         does not work (incidentally, changing the encoding in the
14756         fonts.dir of this package to -adobe-fontspecific fixes the
14757         problem).
14758
14759         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14760         is a crash when undoing first paragraph (Juergen, please take a
14761         look). THis does not mean the undo fix is wrong, just that it
14762         uncovers problems.
14763
14764         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14765         the (Paragraph*) version when needed instead of duplicating the
14766         code.
14767
14768         * text.C (workWidth): use Inset::parOwner to find out where the
14769         inset has been inserted. This is a huge performance gain for large
14770         documents with lots of insets. If Inset::parOwner is not set, fall
14771         back on the brute force method
14772
14773         * paragraph_pimpl.C (insertInset):
14774         * paragraph.C (Paragraph):
14775         (cutIntoMinibuffer): set parOwner of insets when
14776         inserting/removing them
14777
14778         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14779
14780 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14781
14782         * commandtags.h:
14783         * LyXAction.C:
14784         * lyx_main.C:
14785         * lyxfunc.C:
14786         * mathed/formulabase.C:
14787         * mathed/math_cursor.[Ch]:
14788         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14789
14790
14791 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14792
14793         * lyxlength.[Ch] (operator!=): new function
14794
14795 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14796
14797         * text.C (workWidth): use Inset::parOwner to find out where the
14798         inset has been inserted. This is a huge performance gain for large
14799         documents with lots of insets. If Inset::parOwner is not set, fall
14800         back on the brute force method
14801
14802         * paragraph_pimpl.C (insertInset):
14803         * paragraph.C (Paragraph):
14804         (cutIntoMinibuffer): set parOwner of insets when
14805         inserting/removing them
14806
14807         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14808
14809 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14810
14811         * tabular-old.C (getTokenValue):
14812         * tabular.C (getTokenValue):
14813         (write_attribute): new versions for LyXLength
14814         (everywhere): adjust the use of widths
14815
14816         * tabular.h: change the type of widths from string to LyXLength
14817
14818 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14819
14820         * paragraph.C: fixed missing line number count when exporting
14821         Environments to LaTeX file
14822
14823         * buffer.C: added informational message for checking line numbers.
14824
14825 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14826
14827         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14828         paragraph, do the 'double space' part, but not the 'empty
14829         paragraph' one.
14830
14831         * text.C (workWidth): small optimization
14832         (getLengthMarkerHeight): use minimal size for negative lengths.
14833
14834 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14835
14836         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14837
14838         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14839
14840 2001-12-11  André Pönitz <poenitz@gmx.net>
14841
14842         * FontLoader.C:
14843         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14844
14845 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14846
14847         * text2.C: keep selection on a setFont()
14848
14849 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14850
14851         * lyx_cb.C: another bv->text misuse, from insert label
14852
14853 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14854
14855         * kbsequence.h:
14856         * kbsequence.C: re-instate nmodifier mask
14857
14858 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14859
14860         * lyx_main.h: make lyxGUI private.
14861
14862 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14863
14864         * lyxfind.C: place the cursor correctly on failed search
14865
14866 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14867
14868         * text.C (getLengthMarkerHeight): for small heights, the arrows
14869         are not always on top/bottom of the text
14870         (drawLengthMarker): smaller arrows; take the left margin in
14871         account; draw also vfills.
14872         (paintFirstRow):
14873         (paintLastRow): remove special code for vfill and standard spaces,
14874         since everything is handled in drawLengthMarker now.
14875
14876 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14877
14878         * buffer.C (insertErtContents): try to handle font and language
14879         interaction a bit better.g
14880
14881         * ColorHandler.C (updateColor): change the hash to cover the whole
14882         LColor enum, ws cleanup
14883         (getGCLinepars): ditto
14884         (getGCLinepars): only lookup in the linecache once.
14885
14886 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14887
14888         * iterators.C (operator++): Make the iterator more robust
14889
14890         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14891         (John's patch)
14892         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14893
14894 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * lyxtext.h:
14897         * text.C: better added space drawing
14898
14899 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14900
14901         * LyXView.C:
14902         * BufferView2.C: fix layout combo update on inset unlock
14903
14904 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14905
14906         * Makefile.am: don't compile unused files
14907
14908 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14909
14910         * lyxfunc.C:
14911         * commandtags.h:
14912         * LyXAction.C: remove old LFUN_LAYOUTNO
14913
14914 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14915
14916         * paragraph_pimpl.h:
14917         * paragraph_pimpl.C: isTextAt() doesn't need font param
14918
14919 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14920
14921         * lyxlex.h:
14922         * lyxlex.C: little cleanup
14923
14924 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14925
14926         * BufferView_pimpl.C: fix insertAscii for insets
14927
14928 2001-12-05  Juergen Vigna  <jug@sad.it>
14929
14930         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14931         set the right font on the "multi" paragraph paste!
14932
14933 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14934
14935         * trans_decl.h:
14936         * trans_mgr.[Ch]:
14937         * trans.[Ch]:
14938         * lyxgluelength.C:
14939         * lyxlength.C: remove out-commented code.
14940
14941         * BufferView_pimpl:
14942         * CutAndPaste.C:
14943         * DepTable.C:
14944         * buffer.C:
14945         * chset.C:
14946         * lastfiles.C:
14947         * lyxlex.C:
14948         * lyxlex_pimpl.C:
14949         * lyxserver.C:
14950         * screen.C:
14951         * tabular-old.C:
14952         * tabular.C:
14953         * text.C:
14954         * trans_mgr.C:
14955         * vc-backend.C: change "while(" to "while ("
14956
14957         * lyxlength.[Ch]: add zero function to check if length is zero or
14958         not
14959         * lyxgluelength.C: use it
14960
14961 2001-12-05  Allan Rae  <rae@lyx.org>
14962
14963         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14964         Works for 2.95.3, from what I understand of Garst's reports this should
14965         work for other g++ versions.  We're screwed if the abs(int) definition
14966         changed between bugfix releases of gcc.
14967
14968 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14969
14970         * text.C: fix chapter label offset !
14971
14972 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14973
14974         * lyxtext.h:
14975         * text.C: fix hfill at end of line, clean up
14976
14977 2001-12-04  Juergen Vigna  <jug@sad.it>
14978
14979         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14980         that we force an update of the inset and it's owners if neccessary.
14981
14982 2001-12-03  Juergen Vigna  <jug@sad.it>
14983
14984         * text.C (rowLast): simplified code
14985
14986 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14987
14988         * lyxfunc.C: fix show options on timeout
14989
14990 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14991
14992         * screen.C (topCursorVisible): scroll half a page when the cursor
14993         reached top of bottom of screen
14994
14995 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * minibuffer.C: deactivate on loss of focus
14998
14999 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15000
15001         * vspace.[Ch] (operator!=): add operator.
15002
15003 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15004
15005         * BufferView_pimpl.C: refuse to open an inset when
15006         there's a selection.
15007
15008 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15009
15010         * BufferView_pimpl.C: allow to click on RHS of full row insets
15011
15012 2001-11-30  Juergen Vigna  <jug@sad.it>
15013
15014         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15015         insets for undo reasons.
15016
15017 2001-11-28  André Pönitz <poenitz@gmx.net>
15018
15019         * vspace.[Ch]: cosmetical changes
15020
15021 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15022
15023         * LyXAction.h:
15024         * LyXAction.C:
15025         * lyxfunc.h:
15026         * lyxfunc.C:
15027         * kbmap.h:
15028         * kbmap.C:
15029         * lyxrc.C:
15030         * kbsequence.h:
15031         * kbsequence.C: part re-write of old kb code
15032
15033         * Painter.C:
15034         * WorkArea.C: remove Lgb_bug_find_hack
15035
15036 2001-11-30  José Matos <jamatos@fep.up.pt>
15037
15038         * buffer.C (makeDocBookFile): add a comment to point a hack.
15039         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15040         Fixed a double write of labels.
15041
15042 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15043
15044         * LaTeX.C:
15045         * LaTeX.h Fixed bug in LaTeX class where it would not
15046         re-run latex if no depfiles were changed, but the .dvi was removed.
15047
15048 2001-11-28  André Pönitz <poenitz@gmx.net>
15049
15050         * all the files from the change on 2001/11/26:
15051         use lyx::layout_type instead of LyXTextClass::size_type
15052         use lyx::textclass_type instead of LyXTextClassList::size_type
15053
15054 2001-11-29  Juergen Vigna  <jug@sad.it>
15055
15056         * text.C: added support for paragraph::isFreeSpacing()
15057
15058         * buffer.C: same as above
15059
15060         * paragraph.h: inserted isFreeSpacing() function to enable
15061         FreeSpacing inside InsetERT.
15062
15063         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15064         of the paragraph's in the cut/copy buffer to 0!
15065
15066         * text2.C (removeRow): remove the assert as it can!
15067
15068         * lyxtext.h: added helper function firstRow returning firstrow and
15069         made firstrow private again.
15070
15071         * BufferView2.C (lockInset): don't relock if we're already locked!
15072
15073         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15074         the only paragraph.
15075         (removeRow): added Assert::(firstrow)
15076
15077         * debug.C: forgot to add INSETTEXT here.
15078
15079 2001-11-28  Juergen Vigna  <jug@sad.it>
15080
15081         * sp_spell.C (initialize): changed error text to more general
15082         spellchecker command use (not only ispell!)
15083
15084         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15085
15086         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15087
15088 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * vspace.C: initialise lyxgluelength on failure
15091
15092 2001-11-28  Allan Rae  <rae@lyx.org>
15093
15094         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15095         declaration & definition that looks like a function declaration.
15096
15097 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15098
15099         * BufferView2.C (copy):
15100         (copyEnvironment): do not clear the selection when doing a copy.
15101
15102         * text.C (paintFirstRow): compilation fix
15103
15104 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15105
15106         * tabular.C (Latex): correct line count when writing latex.
15107
15108 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15109
15110         * paragraph_pimpl.h:
15111         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15112           bug a bit
15113
15114 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * text.C:
15117         * LColor.h:
15118         * LColor.C: change vfillline->added_space
15119
15120         * text.C: add markers and text for added space
15121
15122         * vspace.C: fix comment
15123
15124 2001-11-28  André Pönitz <poenitz@gmx.net>
15125
15126         * paragraph.C: whitespace changes
15127         * all the other files from the change on 2001/11/26:
15128         change *::pos_type into lyx::pos_type
15129
15130 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15131
15132         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15133         language of the document when inserting error insets.
15134
15135 2001-11-26  André Pönitz <poenitz@gmx.net>
15136
15137         * BufferView_pimpl.[Ch]:
15138         *       CutAndPaste.C:
15139         * buffer.[Ch]:
15140         * lyxcursor.[Ch]:
15141         * lyxfind.C:
15142         * lyxfunc.C:
15143         * lyxrow.[Ch]:
15144         * paragraph.[Ch]:
15145         * paragraph_pimpl.[Ch]:
15146         * sp_spell.C:
15147         * text.C:
15148         * text2.C: reduce header dependencies, introduce type for positions
15149
15150 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15151
15152         * <various>: change to use Alert.h
15153
15154 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15155
15156         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15157         when encountering an unknown token.
15158         (readLyXformat2): Show an error message if there were unknown tokens.
15159
15160 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15161
15162         * BufferView2.C:
15163         * BufferView_pimpl.C:
15164         * buffer.C:
15165         * paragraph.h:
15166         * text.C:
15167         * text2.C: use par->isInset()
15168
15169 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15170
15171         * paragraph_pimpl.h:
15172         * paragraph_pimpl.C: cleanup
15173
15174 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15175
15176         * text2.C (removeRow):
15177         * text.C (setHeightOfRow): remove useless (and costly) call to
15178         getRow.
15179
15180 2001-11-20  Allan Rae  <rae@lyx.org>
15181
15182         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15183         Now need Inset*::checkInsertChar() to return true for appropriate
15184         cases so that the characters in the minibuffer will actually be
15185         inserted.
15186
15187 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15188
15189         * text.C: change the order of the includes.
15190         (workWidth): initialize it at once.
15191         (workWidth): make maxw unsigned
15192         (setHeightOfRow): remove unused variable (inset)
15193         (selectSelectedWord): remove unused variable (inset)
15194         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15195
15196 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15197
15198         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15199         server is not running.
15200         (openConnection):
15201         (closeConnection): add debug info when server is disabled.
15202
15203         * ColorHandler.C (getGCForeground): send debug message to GUI
15204         channel.
15205
15206         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15207
15208         * kbmap.C (bind): modify because return conventions of
15209         kb_sequence::parse have changed.
15210
15211         * kbsequence.C (parse): only ignore spaces and not any stupid
15212         control character. This avoids tests like s[i] <= ' ', which are
15213         guaranteed to fail with 8bit characters and signed chars.
15214         Change return code to string::npos when there have been no error
15215         (0 was a bad idea when error is at first character)
15216
15217 2001-11-14  José Matos  <jamatos@fep.up.pt>
15218
15219         * buffer.h:
15220         * buffer.C (simpleDocBookOnePar): removed unused argument.
15221
15222 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15223
15224         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15225         insets which are part of a word. Paragraph::isLetter takes care of
15226         that now. Use Paragraph::isInset to identify insets.
15227         (selectSelectedWord): do not test for hyphenation break.
15228
15229         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15230         that protected spaces are considered as spaces.
15231
15232         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15233         Inset::isLetter.
15234
15235 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15236
15237         * lyxserver.h:
15238         * lyxserver.C: fix it. and small cleanup.
15239
15240 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15241
15242         * BufferView_pimpl.C: use inline helpers
15243
15244         * LaTeXFeatures.h:
15245         * LaTeXFeatures.C: fix typos
15246
15247         * Spacing.h:
15248         * Spacing.C: move spacing_string into class
15249
15250         * ToolbarDefaults.C: move stuff into namespace anon
15251
15252         * layout.h: update enum
15253
15254         * lyxfunc.C: use better debug
15255
15256         * minibuffer.h: fix typo
15257
15258         * debug.h:
15259         * debug.C:
15260         * WorkArea.C: add and use Debug::WORKAREA
15261
15262         * lyxtext.h:
15263         * text.C:
15264         * text2.C: code re-organisation, inline helpers
15265
15266 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15267
15268         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15269         std::vector.empty().
15270
15271 2001-11-09  Allan Rae  <rae@lyx.org>
15272
15273         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15274         '\n's after tables.  Tabular and ERT inset work now makes this no
15275         longer necessary.
15276
15277 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15278
15279         * minibuffer.h:
15280         * minibuffer.C: fix crash, improve drop-down completion
15281
15282 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15283
15284         * lyxserver.h:
15285         * lyxserver.C: invalidate fd's when doing endPipe()
15286
15287 2001-11-08  José Matos  <jamatos@fep.up.pt>
15288
15289         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15290         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15291
15292         * paragraph.h:
15293         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15294
15295 2001-11-07  José Matos  <jamatos@fep.up.pt>
15296
15297         * buffer.h:
15298         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15299         const qualifier.
15300
15301         * buffer.C (sgmlOpenTag):
15302         * buffer.C (sgmlCloseTag): removed debug info.
15303
15304         * buffer.h (sgmlOpenTag):
15305         * buffer.h (sgmlCloseTag): made public.
15306
15307 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15308
15309         * buffer.C (saveParamsAsDefaults):
15310         * lyx_cb.C (MenuLayoutSave): remove
15311
15312         * LyXAction.C (init):
15313         * commandtags.h:
15314         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15315
15316 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * buffer.C (setPaperStuff): removed from here...
15319
15320         * bufferparams.C (setPaperStuff): ... and moved there.
15321
15322 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15323
15324         * minibuffer.h:
15325         * minibuffer.C:
15326         * XFormsView.C: add support for drop-down completion
15327
15328 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15329
15330         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15331         commands.
15332
15333 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15334
15335         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15336         disabled.
15337
15338 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15339
15340         * lyx_main.C: change ref to known bugs
15341
15342 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15343
15344         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15345         to work around older babel problems.
15346
15347 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15348
15349         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15350
15351 2001-10-24  Juergen Vigna  <jug@sad.it>
15352
15353         * tabular-old.C (ReadOld): below variable changes reflected.
15354
15355         * tabular.[Ch]: added ltType struct for longtable header/footer
15356         defines and changed all instances where they are used. Added
15357         future support for double top/bottom rows.
15358
15359 2001-10-24  José Matos  <jamatos@fep.up.pt>
15360
15361         * buffer.h (docbookHandleCaption):
15362         * buffer.C (docbookHandleCaption): removed unused function.
15363         (makeDocBookFile): moved docbook supported version to v4.1.
15364
15365 2001-10-24  José Matos  <jamatos@fep.up.pt>
15366
15367         * tabular.h:
15368         * tabular.C (docbookRow): new function to export docbook code of a row.
15369         (DocBook): now honors the longtable flags.
15370
15371 2001-10-23  José Matos  <jamatos@fep.up.pt>
15372
15373         * LaTeXFeatures.h:
15374         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15375         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15376
15377         * buffer.C (makeLinuxDocFile):
15378         (makeDocBookFile): reworked the preamble, more clean, and with
15379         support for lyx defined entities. Changed the document declaration
15380         to be more XML friendly.
15381
15382         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15383         if we need to output XML that should be done with a filter.
15384
15385 2001-10-22  Juergen Vigna  <jug@sad.it>
15386
15387         * sp_pspell.h (class PSpell): add alive function needed in the
15388         controller to see if the spellchecker could be started.
15389
15390 2001-10-22  Juergen Vigna  <jug@sad.it>
15391
15392         * buffer.C (insertStringAsLines): modify the font for inserting
15393         chars in certain conditions by calling checkInsertChar(font).
15394
15395 2001-10-19  Juergen Vigna  <jug@sad.it>
15396
15397         * text.C (workWidth): use getRow instead of wrong algorithm.
15398         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15399
15400 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15401
15402         * lyxserver.h:
15403         * lyxserver.C:
15404         * lyx_main.h:
15405         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15406
15407 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15408
15409         * text.C (workWidth): do not search for the exact row when
15410         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15411         optimization for big documents.
15412
15413 2001-10-18  Juergen Vigna  <jug@sad.it>
15414
15415         * text.C (workWidth): new function with added Inset * parameter.
15416
15417 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15418
15419         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15420
15421         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15422         change return type of getColumnNearX.
15423
15424
15425         * text.C (changeRegionCase): use uppercase/lowercase instead of
15426         toupper/tolower.
15427         (leftMargin):
15428         (rightMargin): simplify code by factoring out the uses of
15429         textclasslist.
15430         (labelFill):
15431         (numberOfHfills):
15432         (setHeightOfRow):
15433         (appendParagraph): use Paragraph::size_type
15434
15435 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15436
15437         * vspace.C (asLatexString): add a missing break
15438
15439 2001-10-15  Herbert Voss  <voss@perce.de>
15440
15441         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15442
15443 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15444
15445         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15446         is not available.
15447
15448 2001-10-10  André Pönitz <poenitz@gmx.net>
15449
15450         * lyxfunc.C: removed greek_kb_flag.
15451
15452 2001-10-10  Herbert Voss  <voss@perce.de>
15453
15454         * lyx_main.C: delete global string help_lyxdir.
15455
15456 2001-10-09  Herbert Voss  <voss@perce.de>
15457
15458         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15459
15460         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15461
15462         * lyx_main.C: added global string help_lyxdir.
15463
15464         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15465
15466 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15467
15468         * lyxrc.C (set_font_norm_type): support iso8859-4
15469
15470 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15471
15472         * LaTeX.C (deplog): add another regex for MikTeX
15473
15474 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15475
15476         * lyxrc.C (set_font_norm_type): support iso8859-3
15477
15478 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15479
15480         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15481
15482         * LaTeXFeatures.C: remove special case of french and index
15483
15484         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15485         before \begin{document}). This solves several incompatibilities.
15486
15487 2001-10-03  Garst Reese  <reese@isn.net>
15488
15489         * lyx_cb.C: change CheckTex error msg.
15490
15491 2001-10-03  José Matos  <jamatos@fep.up.pt>
15492
15493         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15494
15495 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15496
15497         * .cvsignore: update
15498
15499         * lyx_main.C (commandLineVersionInfo): use new style version info.
15500
15501         * buffer.C (writeFile):
15502         (makeLaTeXFile):
15503         (makeLinuxDocFile):
15504         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15505
15506         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15507
15508         * version.h: update to use stuff in version.C
15509
15510         * version.C.in: new file. Contains version information determined
15511         at compile time. This is a merging of version.h and
15512         version_info.h.in.
15513
15514 2001-10-03  Juergen Vigna  <jug@sad.it>
15515
15516         * BufferView_pimpl.C (update): don't change "dirty" status in
15517         updateInset call.
15518
15519 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15520
15521         * WorkArea.C (c-tor): re-position version string slightly.
15522
15523 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15524
15525         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15526         revert to previous code.
15527
15528         WorkArea.[Ch]: (show, destroySplash): methods removed.
15529
15530         WorkArea.C: rework code so that it's an amalgam of the codes before and
15531         after the splash screen was moved to WorkArea.
15532
15533 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15534
15535         * lyxrc.C (read):
15536         * vspace.C (inPixels):
15537         (lyx_advance):
15538         * kbmap.C (bind):
15539         * buffer.C (insertStringAsLines):
15540         (asciiParagraph): fix types to be large enough
15541
15542         * lyxlex_pimpl.h: change member status from short to int
15543
15544         * layout.h: fix type of endlabeltype
15545
15546         * kbmap.C (bind):
15547         * kbsequence.C (parse): change return type to string::size_type
15548
15549         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15550         variable
15551
15552         * Bullet.C (bulletSize):
15553         (bulletEntry): do not use short ints as parameters
15554
15555         * BufferView2.C (insertLyXFile): change a char to an int.
15556
15557         * WorkArea.C (WorkArea): remove unneeded floats in computation
15558
15559 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15560
15561         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15562
15563         * paragraph.C (asString): Do not ignore newline/hfill chars when
15564         copying to the clipboard.
15565
15566 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15567
15568         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15569         after a multi-line inset.
15570
15571 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15572
15573         * paragraph.C (validate): Set NeedLyXFootnoteCode
15574
15575 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15576
15577         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15578         and decrease-error to decrease.
15579
15580 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15581
15582         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15583         it more readable (should be equivalent)
15584
15585 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15586
15587         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15588
15589 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15592         of a cursor (row, etc.) after a character has been deleted
15593         (deleteEmptyParagraphMechanism): call the method above on _all_
15594         cursors held by the LyXText when a double space has been
15595         detected/deleted.
15596
15597 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15598
15599         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15600         pixmap.
15601         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15602
15603         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15604         background. Use greyOut() and the new show() methods to toggle between
15605         the foreground and background. Add code to remove the splash after
15606         its initial showing.
15607
15608         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15609         (create_forms): no longer call Dialogs::showSplash.
15610
15611 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * .cvsignore: add version_info.h
15614
15615 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15616
15617         * version_info.h.in: new file
15618
15619         * Makefile.am: add version_info.h.in
15620
15621         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15622         version_info.h instead of VERSION_INFO
15623
15624 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15625
15626         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15627         The ERT inset now returns string().
15628
15629 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15630
15631         * lyxtext.h, text.C (selectNextWord): renamed as
15632         selectNextWordToSpellcheck.
15633
15634         * text.C (selectNextWordToSpellcheck): Modified to not select
15635         words inside an ERT inset.
15636
15637 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15638
15639         * lyx_cb.C (MenuLayoutSave): change a bit the question
15640
15641         * sp_base.h: include <sys/types.h>
15642
15643 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15644
15645         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15646
15647 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15648
15649         * several files: fix typos in user-visible strings
15650
15651 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15652
15653         * text2.C (pasteSelection): do not set the selection, since it
15654         will be cleared later. Actually, the intent was to fix the way the
15655         selection was set, but I figured rmoving the code was just as good.
15656
15657 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15658
15659         * FontLoader.C (available): Check if font is available without
15660         loading the font.
15661
15662 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15663
15664         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15665
15666 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15667
15668         * lyxrc.[Ch]: added display_graphics variable and associated code.
15669
15670 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15671
15672         * bufferparams.C (hasClassDefaults): new method. Returns true if
15673         the buffer parameters correspond to known class defaults
15674
15675 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15676
15677         * XFormsView.C (show): set minimum size to the main window.
15678
15679 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15680
15681         * text2.C (copySelection):
15682         (cutSelection):
15683         * lyxfind.C (LyXReplace):
15684         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15685         LyXText::selectionAsString.
15686
15687         * paragraph.C (asString): add "label" argument to the second form
15688
15689         * text2.C (selectionAsString): add "label" argument and pass it to
15690         Paragraph::asString.
15691
15692 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15693
15694         * lyx_main.C (commandLineHelp): remove version information
15695
15696 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15697
15698         * lyx_main.C: add -version commandline option
15699
15700 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15701
15702         * paragraph.h: make the optional constructor arg required instead.
15703         some modifications to other files because of this.
15704
15705         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15706
15707         * lyxserver.C (C_LyXComm_callback): make it static
15708
15709         * lyx_main.C (error_handler): make it static
15710
15711         * lyx_gui.C (LyX_XErrHandler): make it static
15712
15713         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15714
15715         * WorkArea.C: make the extern "C" methods static.
15716
15717         * Makefile.am (lyx_LDADD): simplify
15718
15719 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15720
15721         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15722         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15723
15724         * LyXAction.C (init):
15725         * lyxfunc.C (dispatch): associated code removal.
15726
15727 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15728
15729         * lyxfont.h (isSymbolFont): shut off warning
15730
15731         * text.C (setHeightOfRow):
15732         (getVisibleRow): fix crash with empty paragraphs which have a
15733         bottom line
15734
15735 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15736
15737         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15738         code.
15739
15740 2001-09-04  José Matos  <jamatos@fep.up.pt>
15741         * buffer.C
15742         * buffer.h
15743         * tabular.C (docbook): rename docBook method to docbook.
15744
15745 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15746
15747         * Makefile.am: add dependencies to main.o.
15748
15749 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15750
15751         * FontLoader.C (available): Return false if !lyxrc.use_gui
15752
15753 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15754
15755         * FontInfo.C (query):
15756         * converter.C (view):
15757         * importer.C (Import):
15758         * exporter.C (Export): Can not -> cannot.
15759
15760 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15761
15762         * BufferView_pimpl.C: allow to create index inset even if
15763           string is empty
15764
15765 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15766
15767         * buffer.C (getLists): replace boost::tie code with an explicit pair
15768         as boost::tie can break some compilers.
15769
15770         * iterators.h: Added a std:: declaration to the return type of
15771         ParIterator::size.
15772
15773 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15774
15775         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15776           case.
15777
15778 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * iterators.[Ch]: New files. Provide paragraph iterators.
15781
15782         * buffer.C (changeLanguage): Use paragraph iterators.
15783         (isMultiLingual): ditto
15784
15785         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15786
15787 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15788
15789         * FontLoader.C: Support for cmr font.
15790
15791 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15792
15793         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15794         (available): New method.
15795
15796         * FontInfo.C (getFontname): Use scalable fonts even when
15797         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15798         found.
15799
15800 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15801
15802         * converter.C (Formats::view): reverted! Incorrect fix.
15803
15804 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15805
15806         * converter.C (Formats::view): only output the -paper option
15807         if the dvi viewer is xdvi, thereby fixing bug #233429.
15808
15809 2001-08-23  Herbert Voss  <voss@perce>
15810
15811         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15812
15813 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15814
15815         * Spacing.h (Spacing): Set space to Default on in the default
15816         constructor.
15817
15818 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15819
15820         * vc-backend.h (RCS::versionString): add RCS to version
15821         (CVS::versionString): add CVS to version
15822
15823         * vc-backend.C (scanMaster): do not add CVS to version.
15824         (scanMaster): do not add RCS to version
15825
15826         * lyxvc.C (versionString): new method
15827
15828         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15829
15830 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15831
15832         * Spacing.C (set): initialize fval
15833
15834 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15835
15836         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15837         " or \.
15838
15839 2001-08-16  Juergen Vigna  <jug@sad.it>
15840
15841         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15842
15843 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15844
15845         * BufferView_pimpl.C:
15846         * figureForm.C:
15847         * lyxtext.h:
15848         * text2.C: setParagraph takes linespacing now
15849
15850 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15851
15852         * LyxAction.C: add internal LFUN_CITATION_INSERT
15853
15854         * LyXView.C: actually apply fix
15855
15856         * bufferlist.C: fix open non-existent file
15857
15858         * lyxfind.C: fix indentation
15859
15860         * lyxfunc.C: remove unneeded assert, fix typo
15861
15862 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15863
15864         * MenuBackend.C: use "Floatname List"
15865
15866 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15867
15868         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15869         when converting LaTeX layout to insetERT.
15870         Generate a non-collapsed float when reading old float
15871
15872 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15873
15874         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15875         ERT insets.
15876
15877 2001-08-13  Juergen Vigna  <jug@sad.it>
15878
15879         * text.C (fill): return 0 instead of 20 as this seems to be the more
15880         correct value.
15881
15882 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15883
15884         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15885         lyxrc.font_norm.
15886
15887 2001-08-13  Juergen Vigna  <jug@sad.it>
15888
15889         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15890         casesensitive off.
15891         (SearchBackward): comment out the unlocking of the inset_owner this
15892         should not be needed!
15893
15894 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15895
15896         * Many files: Remove inherit_language, and add latex_language
15897
15898         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15899         collapsible insets.
15900
15901 2001-08-10  Juergen Vigna  <jug@sad.it>
15902
15903         * text.C (prepareToPrint): fixed hfill-width in draw!
15904
15905         * BufferView2.C (selectLastWord): save the selection cursor as this
15906         now is cleared in the function LyXText::clearSelection!
15907
15908 2001-08-08  Juergen Vigna  <jug@sad.it>
15909
15910         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15911         BACKSPACE type functions.
15912
15913         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15914         is only cutted from the document but not put in the cut-buffer, where
15915         still the old stuff should be.
15916
15917         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15918
15919         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15920
15921         * tabular.C (SetWidthOfCell): fixed special case where the width
15922         was not updated!
15923         (LeftLine): handle '|' in align_special.
15924         (RightLine): ditto
15925         (LeftAlreadyDrawed): ditto
15926         (SetWidthOfCell): ditto
15927
15928 2001-08-07  Juergen Vigna  <jug@sad.it>
15929
15930         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15931
15932 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15933
15934         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15935         * lyxlex.[hC]: ditto
15936
15937 2001-08-06  Juergen Vigna  <jug@sad.it>
15938
15939         * text.C (getVisibleRow): fix up row clearing a bit.
15940
15941 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15942
15943         * minibuffer.C: make sure the X server sees the changes in the input.
15944
15945 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15946
15947         * paragraph.C (getFont): split into...
15948         (getLabelFont): this
15949         (getLayoutFont): and this
15950         * paragraph_pimpl.C (realizeFont): calling this
15951
15952         * text2.C (getFont): split into...
15953         (getLayoutFont): this
15954         (getLabelFont): and this
15955         (realizeFont): all three calling this
15956
15957         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15958         files where used.
15959
15960 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15961
15962         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15963
15964 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15965
15966         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15967         layouts from the Quote inset insertion.
15968
15969 2001-08-03  Juergen Vigna  <jug@sad.it>
15970
15971         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15972
15973         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15974         only if status not is already CHANGED_IN_DRAW (second level).
15975
15976         * text.C (draw): don't set the need_break_row when inside an
15977         InsetText LyXText.
15978
15979 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15980
15981         * buffer.C (parseSingleLyXformat2Token): handle more latex
15982         conversion cases.
15983
15984         * bufferview_funcs.[hC]: change function names to
15985         begin with small char, adjust other files.
15986
15987 2001-08-02  André Pönitz <poenitz@gmx.net>
15988
15989         * lyxfunc.C:
15990         BufferView_pimpl.C: remove broken special code for math-greek
15991
15992 2001-08-02  Juergen Vigna  <jug@sad.it>
15993
15994         * BufferView_pimpl.C (update): redone this function so that we
15995         update the text again if there was a CHANGE_IN_DRAW.
15996
15997         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15998         (drawFromTo): added a new internal bool which is used by draw() and
15999         redraw() function.
16000         (general): some cursor drawing problems fixed.
16001
16002 2001-08-01  Juergen Vigna  <jug@sad.it>
16003
16004         * lyxfind.C (LyXFind): fixed
16005         (SearchForward): ditto
16006         (SearchBackward): ditto
16007
16008         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16009         spurius drawing of the cursor in the main area.
16010
16011         * text2.C (status): small fix which could lead to a segfault!
16012         (clearSelection): remove unneeded BufferView param.
16013
16014 2001-08-01  André Pönitz <poenitz@gmx.net>
16015
16016         * lyxfunc.C: small change due to changed mathed interface
16017
16018 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16019
16020         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16021
16022 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16023
16024         * lyxfunc.c: fail gracefully if file doesn't exist
16025
16026         * LyXSendto.C:
16027         * buffer.C:
16028         * lyxfunc.C:
16029         * BufferView_pimpl.C: IsDirWriteable() proto changed
16030
16031         * LyXView.C: fix updateWindowTitle() to store the last title
16032
16033 2001-07-31  Juergen Vigna  <jug@sad.it>
16034
16035         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16036         the font (wrong since using of Paragraph::highestFontInRange).
16037
16038         * paragraph.C (highestFontInRange): added a default_size parameter.
16039
16040         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16041         (setHeightOfRow): reformat
16042
16043 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16044
16045         * converter.[hC] + affected files: move to (inital-char)lowercase
16046         function names.
16047
16048         * ParagraphParameters.C (ParagraphParameters): remove commented code
16049
16050         * PainterBase.[Ch]: remove commented code
16051
16052         * LaTeXFeatures.h: add "bool floats" for float.sty
16053
16054         * LaTeXFeatures.C (LaTeXFeatures): init floats
16055         (require): handle float
16056         (getPackages): do it with floats
16057
16058 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16059
16060         * BufferView_pimpl.C (Dispatch): improve handling of
16061         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16062
16063         * commandtags.h: #include lyxfont.h here temporarily to avoid
16064         keybinding bug.
16065
16066         * bufferlist.h: include LString.h here.
16067
16068 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16069
16070         * text2.C (getStringToIndex): new method.
16071
16072 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16073
16074         * *: Reduced header file dependencies all over.
16075
16076 2001-07-30  Baruch Even  <baruch@lyx.org>
16077
16078         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16079
16080 2001-07-29  Baruch Even  <baruch@lyx.org>
16081
16082         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16083
16084 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16085
16086         * ParameterStruct.h (endif): add a default constructor to make
16087         sure that all variables is initialized.
16088
16089         * ParagraphParameters.C (ParagraphParameters): adjust
16090
16091 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16092
16093         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16094         index; also, check that there is something to index, and that it
16095         does not span over several paragraphs.
16096         (doubleClick): use WHOLE_WORD_STRICT for double click.
16097
16098         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16099
16100         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16101         scheme.
16102
16103 2001-07-26  Baruch Even  <baruch@lyx.org>
16104
16105         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16106         an InsetFig figure, backwards compatible reading of old figure code.
16107
16108 2001-07-27  Juergen Vigna  <jug@sad.it>
16109
16110         * text2.C: font.realize function adaption.
16111
16112         * text.C (draw): add a warnings lyxerr text if needed.
16113
16114         * layout.C: font.realize function adaption.
16115
16116         * language.C: add inherit_language and implement it's handlings
16117
16118         * bufferview_funcs.C (StyleReset): remove language parameter from
16119         font creation (should be language_inherit now).
16120
16121         * bufferparams.C (writeFile): handle ignore_language.
16122
16123         * paragraph.C (getFontSettings): the language has to be resolved
16124         otherwise we have problems in LyXFont!
16125
16126         * lyxfont.C (lyxWriteChanges): added document_language parameter
16127         (update): removed unneeded language parameter
16128
16129         * paragraph.C (validate): fixed wrong output of color-package when
16130         using interface colors for certain fonts in certain environments,
16131         which should not seen as that on the final output.
16132
16133 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16134
16135         * BufferView_pimpl.C:
16136         * Thesaurus.h:
16137         * Thesaurus.C:
16138         * Makefile.am:
16139         * commandtags.h:
16140         * LyXAction.C: add thesaurus support
16141
16142         * lyxfind.h:
16143         * lyxfind.C: add "once" parameter, for thesaurus, to not
16144           move to the next match
16145
16146 2001-07-26  Juergen Vigna  <jug@sad.it>
16147
16148         * lyxfont.C (realize): honor ignore_language too!
16149         (resolved): ditto.
16150
16151         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16152
16153         * text.C (draw): one place more for ignore_language to not draw
16154         itself!
16155
16156 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16157
16158         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16159
16160 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16161
16162         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16163         the minipage conversion problem.
16164
16165 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16166
16167         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16168         insert an inset.
16169
16170 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16171
16172         * BufferView.h: don't forward declare WorkArea
16173
16174         * BufferView.C: don't include WorkArea.h
16175
16176 2001-07-25  André Pönitz <poenitz@gmx.net>
16177
16178         * commandtags.h:
16179         * LyXAction.C:
16180         * lyxfunc.C:  new LFUN 'math-space'
16181
16182         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16183
16184 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16185
16186         * text2.C (toggleInset): call open/close
16187
16188 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16189
16190         * lyxfunc.C (dispatch): add debug for the disabled case
16191
16192         * font.C (buttonText): make similar to rectText
16193
16194         * buffer.C (readInset): comment out parsing of insetlist and
16195         insttheorem
16196
16197         * PainterBase.C (rectText): small correction
16198
16199         * BufferView_pimpl.C: comment out insettheorem and insetlist
16200         * LyXAction.C: ditto
16201         * commandtags.h: ditto
16202
16203 2001-07-24  Juergen Vigna  <jug@sad.it>
16204
16205         * text.C (draw): honor the ignore_language.
16206
16207         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16208
16209 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16210
16211         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16212         char inset.
16213
16214 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16215
16216         * lyxtext.h: remove unused (and unimplemented) methods
16217
16218 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16219
16220         * text.C (getVisibleRow): honor background color
16221
16222         * PainterBase.h:
16223         * Painter.h: remove default color argument for fillRectangle
16224
16225         * text.C (backgroundColor): new method
16226
16227 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16228
16229         * text.C (getVisibleRow): adjust
16230
16231         * font.[Ch] (rectText): new method, metrics
16232         (buttonText): new method, metrics
16233
16234         * PainterBase.[hC]: make rectText and buttonText always draw and take
16235         fewer paramteres.
16236
16237 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16238
16239         * ToolbarDefaults.C (read):
16240         * MenuBackend.C (read): allow escaping in all strings
16241
16242         * BufferView_pimpl.C (insertAndEditInset): new method.
16243         (Dispatch): use insertAndEditInset whenever appropriate.
16244
16245         * BufferView_pimpl.C (insertNote): removed
16246
16247         * BufferView_pimpl.C (smartQuote): new method, moved from
16248         BufferView; if an insetquote cannot be inserted, insert a '"'
16249         character instead.
16250
16251         * BufferView2.C: remove insertCorrectQuote();
16252
16253         * lyxfunc.C (getStatus): Add support for all remaingin
16254         inset-insert lfuns.
16255
16256         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16257
16258         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16259         command (necessary to pass " as parameter of self-insert.
16260
16261         * text.C (selectWordWhenUnderCursor):
16262         (selectWord): add word_location parameter
16263         (selectWordWhenUnderCursor): same + remove special code for word
16264         boundary.
16265         (selectNextWord): use kind() to guess type of insetspecialchar,
16266         not latex().
16267
16268         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16269         (insertErtContents): create ert insets as collapsed.
16270         (readInset): better compatibility code for Info inset.
16271
16272 2001-07-20  Juergen Vigna  <jug@sad.it>
16273
16274         * lyxfunc.C (dispatch): use always LyXFind now!
16275
16276         * text2.C (init): add a reinit flag so that the LyXText can be
16277         reinited instead of deleted and reallocated (used in InsetText).
16278
16279         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16280
16281         * text.C: ditto
16282
16283         * text2.C: ditto
16284
16285 2001-07-18  Juergen Vigna  <jug@sad.it>
16286
16287         * text.C (selectNextWord): handle insets inside inset by calling
16288         always the bv->text functions so that we can go up the_locking_inset!
16289
16290         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16291         in strange locations when inside an inset!
16292
16293         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16294         handling to include insets.
16295
16296         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16297
16298 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16299
16300         * LyXAction.C (init):
16301         * commandtags.h:
16302         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16303         LIGATURE_BREAK, since the name is so stupid.
16304
16305 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16306
16307         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16308         InsetInfos.
16309
16310         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16311
16312         * sp_form.[Ch]: remove.
16313
16314         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16315
16316         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16317         InsetInfo.
16318
16319         * src/buffer.C (readInset): ditto.
16320
16321 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16322
16323         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16324         menuSeparator(), endOfSentenceDot(), ldots() and
16325         hyphenationPoint(), which are therefore removed.
16326         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16327
16328         * LyXAction.C (init):
16329         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16330
16331         * paragraph.C (getWord): removed.
16332
16333         * BufferView_pimpl.C (Dispatch): use last word or selection for
16334         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16335
16336         * lyx_main.C (queryUserLyXDir): do not ask before creating
16337         user_dir, except if it has been named explicitely.
16338
16339 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16340
16341         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16342         a document of zero size.
16343
16344 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16345
16346         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16347         approriately in the c-tor and in require().
16348         (getPackages): output the appropriate LaTeX for natbib support.
16349
16350         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16351         variables "use_natbib" and "use_numerical_citations" when reading the
16352         LyX file.
16353         (readInset): read the various natbib cite commands.
16354         (validate): white-space change.
16355
16356         * bufferparams.[Ch]: new variables "bool use_natbib" and
16357         "bool use_numerical_citations".
16358         (writeFile): output them in the LyX file.
16359
16360 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16361
16362         * lyxfunc.C (getStatus): add support for all the inset insertion
16363         commands.
16364
16365         * text2.C (insertInset):
16366         * paragraph.C (insetAllowed):
16367         * BufferView_pimpl.C (insertInset): update to take in account the
16368         renaming of insertInsetAllowed
16369
16370         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16371
16372         * text2.C (getInset): new method. returns inset at cursor position.
16373
16374         * BufferView_pimpl.C (Dispatch): changes because of this.
16375
16376         * LyXAction.C (init): rename open-stuff to inset-toggle.
16377
16378         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16379
16380         * text2.C (toggleInset): renamed from openStuff; use
16381         Inset::open().
16382
16383 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16384
16385         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16386
16387         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16388
16389 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16390
16391         * buffer.C (readLyXformat2): Add filename to the error dialog
16392
16393 2001-07-18  Juergen Vigna  <jug@sad.it>
16394
16395         * tabular.C (GetCellNumber): put an assert here instead of the check!
16396
16397 2001-07-17  Juergen Vigna  <jug@sad.it>
16398
16399         * BufferView_pimpl.C (toggleSelection): adapted too.
16400
16401         * text.C (selectNextWord): adapted for use with insets.
16402         (selectSelectedWord): ditto
16403
16404 2001-07-17  Juergen Vigna  <jug@sad.it>
16405
16406         * sp_spell.C (PSpell): fix initialitation order.
16407
16408 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16409
16410         * paragraph.C: spacing
16411
16412 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16413
16414         * sp_spell.C: repair language selection for pspell
16415
16416 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16417
16418         * lyxfunc.h: change more methods to begin with lower char.
16419
16420 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16421
16422         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16423         for unknown layouts.
16424
16425 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16426
16427         * buffer.C (readLyXformat2): Generate an error dialog if there are
16428         unknown layouts.
16429
16430 2001-07-16  Juergen Vigna  <jug@sad.it>
16431
16432         * sp_spell.C: always compile ISpell part.
16433
16434         * lyxrc.C: added use_pspell entry and it's handling.
16435
16436 2001-07-13  Juergen Vigna  <jug@sad.it>
16437
16438         * sp_spell.C: removed double includes.
16439
16440 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16441
16442         Consistent use of Lsstream.h:
16443         * Lsstream.h: added using std::stringstream for consistencies sake.
16444
16445         * buffer.C: removed using std::stringstream
16446
16447         * lyxfont.C (stateText):
16448         * paragraph.C (asString):
16449         * text.C (selectNextWord, selectSelectedWord):
16450         * text2.C (setCounter):
16451         * vspace.C (asString, asLatexString):
16452         std::ostringstream -> ostringstream.
16453
16454 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16455
16456         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16457         * commandtags.h: add LFUN_HELP_ABOUTLYX
16458         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16459
16460 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16461
16462         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16463         cursorToggle()
16464         * lyx_gui_misc.C: remove spellchecker
16465         * lyxfunc.C: showSpellchecker
16466         * sp_base.h: added
16467         * sp_ispell.h: added
16468         * sp_pspell.h: added
16469         * sp_spell.C: added
16470         * sp_form.[Ch]: removed
16471         * spellchecker.[Ch]: removed
16472
16473 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16474
16475         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16476         is set.
16477         (simpleTeXSpecialChars): Simply print the input character without
16478         any special translation if pass_thru is set.
16479
16480         * layout.h: Added bool pass_thru to layout class for being able to
16481         implement pass through of a paragraph for Literate Programming.
16482
16483         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16484         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16485         * layout.C (Read): add "passthru" to list of layout tags and add
16486         code to set the pass_thru boolean when it is read.
16487
16488 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16489
16490         * trans_decl.h: remove allowed from KmodInfo
16491
16492         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16493         remove allowed code
16494         (Load): adjust
16495
16496         * paragraph_pimpl.C (erase): use boost::prior
16497
16498         * Painter.C (text): use data() instead of c_str() when length is
16499         also provided.
16500         * WorkArea.C (putClipboard): ditto
16501         * font.h (width): ditto
16502
16503         * BufferView2.C: use it-> instead of (*it). for iterators
16504         * texrow.C: ditto
16505         * paragraph_pimpl.C: ditto
16506         * paragraph.C: ditto
16507         * minibuffer.C: ditto
16508         * language.C: ditto
16509         * kbmap.C: ditto
16510         * encoding.C: ditto
16511         * counters.C: ditto
16512         * converter.C: ditto
16513         * chset.C: ditto
16514         * Variables.C: ditto
16515         * TextCache.C: ditto
16516         * MenuBackend.C: ditto
16517         * LyXAction.C: ditto
16518         * LColor.C: ditto
16519         * FloatList.C: ditto
16520         * DepTable.C: ditto
16521         * ColorHandler.C (LyXColorHandler): ditto
16522
16523 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16524
16525         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16526
16527         * text2.C (openStuff): reintroduce this method (which had been
16528         nuked in NEW_INSETS frenzy).
16529
16530         * lyxfunc.C (Dispatch): when an action has not been handled, use
16531         its name in the error message, not its number.
16532
16533         * paragraph.C (inInset): change method name to begin with lowercase.
16534
16535         * undo_funcs.C:
16536         * text2.C: updates because of this.
16537
16538 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16539
16540         * ToolbarDefaults.C (add): add spaces in error message
16541
16542 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16543
16544         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16545         (readLyXformat2): rename return_par to first_par, use lyxlex's
16546         pushToken and remove the manual push handling.
16547         (parseSingleLyXformat2Token): add another ert comp. variable:
16548         in_tabular, rename return_par to first_par. handle newlines better
16549
16550 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16551
16552         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16553
16554 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16555
16556         * text2.C (getParFromID): removed
16557
16558         * buffer.C (getParFromID): new method moved form lyxtext.
16559         * BufferView2.C (insertErrors): adjust
16560         (setCursorFromRow): adjust
16561         * BufferView_pimpl.C (restorePosition): adjust
16562         * lyxfunc.C (Dispatch): adjust
16563         * undo_funcs.C (textUndo): adjust
16564         (textRedo): adjust
16565         (textHandleUndo): adjust
16566         (textHandleUndo): adjust
16567
16568 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16569
16570         * buffer.C: up' the LYX_FORMAT
16571
16572         * lyxfont.h: turn NO_LATEX on as default
16573
16574         * buffer.C (insertErtContents): new methods of tex style compability.
16575         (parseSingleLyXformat2Token): use it several places.
16576         * tabular.C (OldFormatRead): and here
16577
16578 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16579
16580         * text2.C: remove some commented code.
16581         reindent file.
16582
16583         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16584         * trans.C: changes because of the above.
16585
16586 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16587
16588         * text2.C (setCounter): Fix counters bug with bibliography layout.
16589
16590 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16591
16592         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16593         own member functions
16594         (simpleTeXSpecialChars): ditto
16595
16596 2001-07-06  Juergen Vigna  <jug@sad.it>
16597
16598         * a lot of files: changed the access to LyXText::status and the
16599         call of undo-functions.
16600
16601         * undo.[Ch]: added a inset_id to the undo informations.
16602
16603         * undo_funcs.[Ch]: added and moved here all undo functions.
16604
16605         * lyxtext.h: give the status enum a weight, made status_ a private
16606         variable and made accessor functions for it, removed the whole bunch
16607         of undo-functions as they are now in their own file, make some
16608         functions publically available. Added function ownerParagraph with
16609         int parameter.
16610
16611         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16612         made InInset() a const function, added getParFromID() function.
16613
16614         * buffer.[Ch]: added const version for inset_iterator functions,
16615         added getInsetFromID() function.
16616
16617         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16618         changed undo functions for new version.
16619
16620 2001-07-05  Juergen Vigna  <jug@sad.it>
16621
16622         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16623         unknow mechanism does not call the proper constructor but only this
16624         one also if I request the other!?
16625
16626 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16627
16628         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16629
16630         * text2.C (LyXText): use initialization lists.
16631
16632         * lyxtext.h (Selection): initialize set_ and mark_
16633         (init): remove method
16634
16635 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16636
16637         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16638
16639 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16640
16641         * screen.[Ch]: change method names to begin with lowercase
16642
16643         * BufferView_pimpl.C (updateScrollbar): simplify further and
16644         hopefully make it a bit faster.
16645
16646 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16647
16648         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16649         calling directly xforms functions.
16650
16651         * Painter.C (Painter):
16652         * lyx_cb.C (MenuWrite):
16653         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16654         fl_display.
16655
16656         * lyx_gui.C: remove bogus guiruntime extern declaration.
16657
16658 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16659
16660         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16661         in NEW_INSETS
16662         (redoDrawingOfParagraph): ditto
16663         (redoParagraphs): ditto
16664         (cutSelection): don't create a object for CutAndPaste use the
16665         static method directly
16666         (pasteSelection): ditto
16667
16668         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16669         LyXview (+ rename)
16670
16671 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16672
16673         * modifications to some other files because of this.
16674
16675         * Makefile.am (lyx_SOURCES): add XFormsView
16676
16677         * XFormsView.[Ch]: new files
16678
16679         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16680         the main window. Move the gui dependent stuff to XFormsView
16681
16682 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16683
16684         * tabular.C (GetCellInset): update cur_cell also in the row/col
16685         version of this function.
16686
16687         * lyxfunc.C: no need to include figure_form.h here.
16688
16689         * FontLoader.h:
16690         * lyxfunc.h:
16691         * lyxscreen.h:
16692         * text2.C:
16693         * lyxvc.C: no need to include forms.h here.
16694
16695 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16696
16697         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16698
16699         * lyxfunc.C (Dispatch):
16700         * Spacing.C (set):
16701         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16702         constructor argument.
16703
16704 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16705
16706         * paragraph.C (Paragraph): dont't clear, and just set layout.
16707         (makeSameLayout): use params's copy contructor.
16708
16709         * ParagraphParameters.[Ch] (makeSame): delete method
16710
16711 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16712
16713         * Variables.[Ch]: fix indentation, rename set to isSet
16714
16715 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16716
16717         * lyxfunc.C (Dispatch): fix typo
16718
16719 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16720
16721         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16722         upper_bound.
16723
16724         * bufferlist.C: include assert.h for emergencyWrite().
16725
16726 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16727
16728         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16729           give up at last (bug #425202) !
16730
16731 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16732
16733         * lyx_gui_misc.C:
16734         * sp_form.h:
16735         * sp_form.C:
16736         * spellchecker.h:
16737         * spellchecker.C: strip spellchecker options and bring up
16738           preferences tab instead
16739
16740 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16741
16742         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16743         the istringstream constructor
16744
16745 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16746
16747         * paragraph.C (getLayout): fix return value
16748
16749         * paragraph.h: do not declare getLayout as inline.
16750
16751         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16752
16753 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16754
16755         * lyxcursor.h (operator<): new func
16756         (operator>): new func
16757         (operator>=): new func
16758         (operator<=): new func
16759
16760         * text.C (changeCase): use selection.start and selection.end
16761         (changeRegionCase): require from to be <= to. Require par to be a
16762         valid paragraph.
16763
16764         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16765
16766 2001-06-27  Juergen Vigna  <jug@sad.it>
16767
16768         * text.C (cursorLeftOneWord): changed to return the cursor and added
16769         overlay with BufferView * parameter which calls this one.
16770         (getWord): added
16771         (selectWord): use new getWord function.
16772         (changeCase): renamed from changeWordCase as and extended to work
16773         also on selections.
16774
16775         * lyxtext.h: added enum word_location
16776
16777         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16778         changeCase as this operates now also on selections.
16779
16780 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16781
16782         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16783
16784         * many files: send debug output to Debug::INFO instead of
16785         Debug::ANY.
16786
16787         * converter.C (View):
16788         (Convert):
16789         (Move): send debug output to Debug::FILES instead of console.
16790
16791 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16792
16793         * lyxfunc.C (getStatus): use func_status
16794
16795         * func_status.h: new header, describing the results of
16796         LyXFunc::getStatus;
16797
16798         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16799         LFUN_MATH_HALIGN.
16800
16801 2001-06-25  The LyX Project  <jug@sad.it>
16802
16803         * buffer.C (sgmlOpenTag):
16804         (sgmlCloseTag):
16805         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16806
16807 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16808
16809         * text2.C: remove some dead code
16810
16811         * tabular.C (GetCellInset): store the last cell checked (gotten)
16812
16813         * tabular.h: add the helper for the speedup
16814
16815         * lyxtext.h: remove some dead code
16816
16817 2001-06-26  The LyX Project  <Asger>
16818
16819         * paragraph.C: Change export to LaTeX of alignment to
16820         \begin{center} and family for better roundtrip work with reLyX.
16821
16822         * Tune the math drawing a bit.
16823
16824 2001-06-25  The LyX Project  <Asger>
16825
16826         * LColor.C (LColor): New color for math background. New color
16827         for buttons.
16828
16829 2001-06-25  The LyX Project  <jug@sad.it>
16830
16831         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16832
16833         * lyxfunc.C (Open):
16834         * bufferlist.C (newFile): do not restrict to files ending with
16835         .lyx
16836
16837         * BufferView_pimpl.C (MenuInsertLyXFile):
16838
16839 2001-06-24  The LyX Project  <jug@sad.it>
16840
16841         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16842         of compare_no_case
16843
16844 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16845
16846         * lyxtext.h: rename most methods to begin with a small char.
16847         Lots of changes because of this.
16848
16849         * paragraph.C (Paragraph): do not call fitToSize
16850         (erase): call Pimpl::erase
16851         (insertChar): call Pimpl::insertChar
16852         (insertInset): call Pipl::insertInset
16853         (breakParagraph): do not call fitToSize
16854         (breakParagraphConservative): do not call fitToSize
16855         (fitToSize): remove method
16856
16857         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16858
16859 2001-06-24  The LyX Project  <Asger>
16860
16861         * Fix Qt compilation^2
16862
16863 2001-06-24  The LyX Project  <jug@sad.it>
16864
16865         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16866         depthHook(getDepth()-1).
16867
16868         * paragraph.h:
16869         * ParagraphParameters.h:
16870         * ParameterStruct.h: change type of depth to unsigned int ==
16871         depth_type. Many adaptations to other files before of that.
16872
16873 2001-06-24  The LyX Project  <Asger>
16874
16875         * Fix Qt compilation.
16876
16877 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16878
16879         * paragraph.h: renamed several methods to begin with small letter.
16880         several changes to many parts of the code because of this.
16881
16882 2001-06-23  The LyX Project  <jug@sad.it>
16883
16884         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16885         rewritten to discard all double spaces when KeepEmpty is off
16886         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16887         to only handle newlines but not fiddle with spaces and friends.
16888
16889         * lyxfunc.C (MenuNew): when doing 'new from template', use
16890         template_path as default directory
16891
16892 2001-06-23  The LyX Project  <Asger>
16893
16894         * Clean-up of header file includes all over
16895         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16896
16897 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16898
16899         * paragraph.h: renamed from lyxparagraph.h
16900
16901 2001-06-23  Asger  <lyx@violet.home.sad.it>
16902
16903         * Buffer.h: Removed Buffer::resize
16904         * BufferList.h: Removed BufferList::resize
16905         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16906         the document lazily when we change the width, or the font settings.
16907
16908 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16909
16910         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16911
16912 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16913
16914         * buffer.h: remove out of date comment
16915
16916 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16917
16918         * lyxscreen.h:
16919         * screen.C: fix "theoretical" GC leak
16920
16921 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16922
16923         * LaTeX.C (scanAuxFile):
16924         (deplog): remove trailing \r when reading stream (useful under
16925         win32)
16926
16927 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16928
16929         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16930         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16931         and BufferView::theLockingInset(Inset*), so should use them and not
16932         access bv_->text->the_locking_inset directly.
16933
16934         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16935
16936 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16937
16938         * Makefile.am:
16939         * tex-defs.h: remove old unused file
16940
16941 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16942
16943         * BufferView_pimpl.C: fix typo, remove minibuffer message
16944           when buffer has loaded
16945
16946 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16947
16948         * lyxfunc.C (Dispatch): use stringstream
16949         (MenuNew): use stringstream
16950         (Open): use stringstream
16951
16952         * importer.C (Import): use stringstream
16953
16954         * bufferview_funcs.C (CurrentState): use stringstream
16955
16956         * LaTeX.C (run): use stringstream
16957
16958         * BufferView_pimpl.C (savePosition): use stringstream
16959         (restorePosition): use stringstream
16960         (MenuInsertLyXFile): use stringstream
16961
16962 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16963
16964         * BufferView.C:
16965         * Bullet.C:
16966         * ColorHandler.C:
16967         * FontInfo.C:
16968         * FontLoader.C:
16969         * LColor.C:
16970         * LaTeXFeatures.C:
16971         * Painter.C:
16972         * gettext.C:
16973         * lyx_gui_misc.C:
16974         * lyxserver.C:
16975         * vspace.C: removed // -*- C++ -*- as first line.
16976
16977         * lyxfind.h:
16978         * version.h: added // -*- C++ -*- as first line.
16979
16980 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16981
16982         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16983
16984         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16985         of string
16986
16987 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16988
16989         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16990         of floats.
16991
16992 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16993
16994         * gettext.C: include LString.h even when --disable-nls is on.
16995
16996 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16997
16998         * converter.h (Get): changed argument type from int to
16999         FormatList::size_type to avoid unnecessary conversion.
17000
17001         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17002         before using it.
17003
17004 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17005
17006         * gettext.h: include LString.h even when --disable-nls is on.
17007
17008 2001-06-07  Juergen Vigna  <jug@sad.it>
17009
17010         * text.C (BreakAgain): subst spaces with tabs.
17011
17012         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17013         (resizeInsetsLyXText): set force on resizeLyXText.
17014
17015 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17016
17017         * gettext.h (gettext_init):
17018         (locale_init): use a real definition instead of a macro
17019
17020 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17021
17022         * Bufferview_pimpl.C:
17023         * LColor.h:
17024         * LColor.C: further lcolor tidies
17025
17026 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17027
17028         * BufferView_pimpl.C (updateScrollbar): simplify.
17029
17030         * BufferView2.C: don't include insets/insetinfo.h, change
17031         prototype for insertInset and call the Pimpl version. let
17032         updateInset call Pimpl version.
17033
17034         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17035         gotoInset to BufferView::Pimpl
17036
17037 2001-06-01  Juergen Vigna  <jug@sad.it>
17038
17039         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17040         inside a LockingInset (is the update needed at all?).
17041
17042 2001-05-31  Juergen Vigna  <jug@sad.it>
17043
17044         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17045         here not the old one otherwise how should we compare it afterwards
17046         if it's the same!
17047
17048 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17049
17050         * lyxfont.C:
17051         * tabular.C:
17052         * tabular-old.C:
17053         * FontInfo.C: bring C functions into global namespace when
17054         necessary
17055
17056 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17057
17058         * LString.h: make sure config.h has been loaded before LString.h.
17059
17060         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17061         (one for each char read by EatLine!).
17062
17063         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17064         variables.
17065
17066 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17067
17068         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17069         to the same as the par we break from
17070
17071 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17072
17073         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17074
17075         * MenuBackend.C (expand): also create menu entries for wide
17076         versions of the floats.
17077
17078         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17079
17080         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17081
17082         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17083         frontends/Makefile.am
17084
17085         * text2.C: adjust
17086         * text.C: adjust
17087
17088
17089         * tabular.C (getTokenValue): add std::
17090
17091         * tabular-old.C (getTokenValue): add std::
17092         (getTokenValue): ditto
17093         (getTokenValue): ditto
17094
17095         * screen.C (ToggleSelection): adjust
17096
17097         * lyxtext.h: put selection cursors inside a Selection struct.
17098
17099         * lyxfunc.C (moveCursorUpdate): adjust
17100
17101         * lyxfont.C (latexWriteStartChanges): add std::
17102
17103         * lyxfind.C: adjust
17104
17105         * font.h: delete with(char const *, LyXFont const &)
17106
17107         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17108
17109         * FontInfo.C (getFontname): add std::
17110
17111         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17112         (workAreaButtonPress): adjust
17113         (tripleClick): adjust
17114         (update): adjust
17115         (moveCursorUpdate): adjust
17116         (Dispatch): adjust
17117
17118         * BufferView2.C (gotoInset): adjust
17119
17120 2001-05-30  Juergen Vigna  <jug@sad.it>
17121
17122         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17123         to check pspell I add this as default as I now have new pspell
17124         libraries and they seem to use this.
17125
17126 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17127
17128         * text2.C (CutSelection): make the cursor valid before the call to
17129         ClearSelection.
17130
17131 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17132
17133         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17134         relied on 0 terminated strings and other horrors. Bug found due to
17135         the new assert in lyxstring!
17136
17137         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17138         KP_ keys.
17139
17140 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17141
17142         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17143         to latinkeys.bind.
17144
17145         * lyxfunc.C (processKeySym): change method of getting to the
17146         self-insert char.
17147
17148         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17149         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17150         * BufferView_pimpl.[Ch]: here as private methods.
17151
17152 2001-05-28  Juergen Vigna  <jug@sad.it>
17153
17154         * text.C (SetHeightOfRow): added the update() call again as it is
17155         needed to initialize inset dimensions!
17156
17157 2001-05-16  Juergen Vigna  <jug@sad.it>
17158
17159         * text2.C (SetCharFont): Add new function with BufferView * and
17160         bool toggleall parameters for setting insets internal fonts.
17161         (SetFont): Freeze the undo as we may change fonts in Insets and
17162         all this change should be inside only one Undo!
17163
17164         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17165         setting font's in insets as for them we have the SetFont function!
17166
17167 2001-05-15  Juergen Vigna  <jug@sad.it>
17168
17169         * text2.C (ClearSelection): to be sure we REALLY don't have any
17170         selection anymore!
17171
17172         * tabular.C (TeXCellPreamble): fixed the left border problem for
17173         multicolumn cells.
17174
17175 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17176
17177         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17178         dependancy file
17179
17180 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17181
17182         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17183         LFUN_BREAKPARAGRAPH.
17184
17185         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17186         help test to "internal only", similar for LFUN_INSERT_URL
17187
17188         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17189         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17190         auto_region_delete and deadkeys.
17191
17192 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17193
17194         * LColor.h:
17195         * LColor.C: remove some dead entries, tidy a little
17196
17197 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17198
17199         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17200         commented code.
17201         (Dispatch): implement LFUN_ESCAPE
17202
17203         * commandtags.h: add LFUN_ESCAPE
17204
17205         * LyXAction.C (init): add entry for LFUN_ESCAPE
17206
17207         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17208         Remove commented code.
17209         (insertNote): moved here
17210         (open_new_inset): moved here
17211
17212         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17213         BufferView_pimpl
17214
17215 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17216
17217         * kbmap.C (findbinding): clean it up and make it work correctly.
17218
17219         * lyx_main.C (init): do not pass argc and argv as parameters
17220
17221 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17222
17223         * buffer.C: fix path for OS/2 & Win32
17224
17225         * lyx_gui.C:
17226         * lyx_main:
17227         * lyx_main.C: Added os:: class.
17228
17229         * os2_defines.h: update
17230
17231 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17232
17233         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17234         better by trying again with reduced state.
17235
17236 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17237
17238         * lyxrc.C (read): print error about invalid key sequence only when
17239         debugging (because not all latinX keysyms are known to some X
17240         servers)
17241
17242         * kbsequence.C (getiso): add a few std:: qualifiers
17243         (getiso): comment out extra return statement.
17244
17245 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17246
17247         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17248         handling.
17249         (Dispatch): enhance the accent inset a bit. (not perfect)
17250
17251 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17252
17253         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17254
17255 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17256
17257         * bufferlist.C (emergencyWrite): fix assert() call
17258
17259 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17260
17261         * text.C (InsertChar): Added trivial patch to only send the "you
17262         can not do multiple spaces this way" message once during a
17263         session.
17264
17265 2001-05-08  Baruch Even  <baruch@lyx.org>
17266
17267         * Makefile.am: Changed order of libraries to get LyX to link properly
17268         with the gnome frontend.
17269
17270 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17271
17272         * LaTeXFeatures.h: add a std:: qualifier
17273
17274 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17275
17276         * paragraph.C (String): use stringstream
17277
17278 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17279
17280         * paragraph.C (writeFile): remove footflag arg
17281
17282         * buffer.C (makeLaTeXFile): use stringstream
17283         (latexParagraphs): remove footnot gurba
17284
17285         * LaTeXFeatures.C (getPackages): use stringstream
17286         (getMacros): likewise
17287         (getTClassPreamble): likewise
17288         (getFloatDefinitions): new method
17289
17290         * paragraph.C (writeFile): reindent
17291         (Erase): reindent
17292
17293         * WorkArea.h: revert the xpos + etc changes.
17294
17295         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17296
17297         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17298
17299         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17300         (pasteSelection): likewise
17301         * text2.C (CreateUndo): likewise
17302
17303 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17304
17305         * minibuffer.C (peek_event): temporarily reduce the functionality
17306         of the minibuffer (to allow args on lfuns)
17307
17308         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17309         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17310
17311         * buffer.C (readInset): add compability reading of old float
17312         lists, add reading of new style float list.
17313         (readInset): avoid reevaluation of inscmd.getCmdName()
17314         (getLists): reindent
17315
17316         * MenuBackend.C (MenuItem): implement parsing of
17317         md_floatlistinsert and md_floatinsert.
17318         (expand::LastFiles): move initalizaton of iterators out of loop,
17319         avoid reevaluation.
17320         (expand::Documents): introduce typdedef vector<string> Strings,
17321         and use it.
17322         (expand::ExportFormats): introduce typedef vector<Format const *>
17323         Formats, and use it.
17324         (expand): implement FloatListInsert and FloatInsert.
17325
17326         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17327         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17328         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17329
17330         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17331         handling.
17332         (Dispatch::LFUN_FLOAT_LIST): implement
17333
17334 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17335
17336         * LaTeX.C (run): Fix problem with --export code.
17337
17338 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17339
17340         * BufferView.[Ch] (workarea): removed.
17341         (getClipboard) new method; wrapper for workarea()->getClipboard()
17342
17343         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17344         bug.
17345
17346         * WorkArea.h (width, height, xpos, ypos): These methods all
17347         returned the dimensions of the work_area sub-area of WorkArea,
17348         resulting in a position error if the WorkArea were resized. Now
17349         return the dimensions of the entire WorkArea.
17350
17351         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17352
17353 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17354
17355         * LaTeX.C (deplog): correct the syntax of regex reg1
17356
17357 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17358
17359         * undo.C: remove !NEW_INSETS cruft
17360
17361 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17362
17363         * text2.C: remove !NEW_INSETS cruft
17364
17365         * text.C: remove !NEW_INSETS cruft
17366
17367         * tabular.C: remove !NEW_INSETS cruft
17368
17369         * spellchecker.C: remove !NEW_INSETS cruft
17370
17371         * lyxtext.h: remove !NEW_INSETS cruft
17372
17373         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17374
17375         * lyxfunc.C: remove !NEW_INSETS cruft
17376
17377         * lyxfind.C: remove !NEW_INSETS cruft
17378
17379         * lyx_cb.C: remove !NEW_INSETS cruft
17380
17381         * figureForm.C: remove  !NEW_INSETS cruft
17382
17383         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17384
17385         * buffer.[Ch]: remove !NEW_INSETS cruft
17386
17387         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17388
17389         * CutAndPaste.C: remove !NEW_INSETS cruft
17390
17391         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17392
17393         * BufferView2.C: remove !NEW_INSETS cruft
17394
17395         * BufferView.h: remove !NEW_INSETS cruft
17396
17397 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17398
17399         * Lsstream.h: include LString.h before the sstream headers to
17400         fix problem with gcc 2.95.3 and lyxstring
17401
17402 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17403
17404         * lyx_main.C: add using directives when needed for C functions
17405         declared in std:: namespace.
17406
17407 2001-04-27  Juergen Vigna  <jug@sad.it>
17408
17409         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17410         (SetHeightOfRow): comment out the update call should not be needed!
17411
17412 2001-04-13  Juergen Vigna  <jug@sad.it>
17413
17414         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17415         (LyXTabular): tried to minimize operator= operations (and realized
17416         hopfully Lars wish).
17417
17418 2001-04-27  Juergen Vigna  <jug@sad.it>
17419
17420         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17421
17422 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17423
17424         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17425
17426         * buffer.C (readInset): hack to make listof algorithm work
17427
17428         * BufferView_pimpl.C: hack to make listof algorithm work
17429
17430 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17431
17432         * LyXAction.C: removed all !NEW_INSETS cruft
17433         (init): moved lfun_item in method
17434
17435         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17436
17437 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17438
17439         * BufferView2.C (theLockingInset): white space.
17440
17441 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17442
17443         * minibuffer.C: include <iostream>
17444
17445         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17446
17447         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17448
17449         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17450
17451         * text.[Ch] (TransposeChars): new method
17452
17453 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17454
17455         * call message directly through LyXView instead of through LyXFunc
17456         * BufferView2.C: adjust
17457         * BufferView_pimpl.C: adjust
17458         * FontLoader.C: adjust
17459         * buffer.C: adjust
17460         * bufferview_funcs.C: adjust
17461         * converter.C: adjust
17462         * figureForm.C: adjust
17463         * importer.C: adjust
17464         * lyx_cb.C: adjust
17465         * lyx_gui_misc.C: adjust
17466         * lyxfunc.C: adjust
17467         * lyxvc.C: adjust
17468         * text2.C: adjust
17469         + more files in subdirs
17470
17471         * lyxparagraph.h (size): move up int file
17472         (GetLayout): ditto
17473
17474         * adjust all uses of Assert to lyx::Assert.
17475
17476         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17477         lyxfunctional in namespace lyx
17478         * layout.C (hasLayout): ditto
17479         (GetLayout): ditto
17480         (GetLayout): ditto
17481         (delete_layout): ditto
17482         (NumberOfClass): ditto
17483         * converter.C (GetFormat): ditto
17484         (GetNumber): ditto
17485         (Add): ditto
17486         (Delete): ditto
17487         (SetViewer): ditto
17488         * bufferlist.C (getFileNames): ditto
17489         (emergencyWriteAll): ditto
17490         (exists): ditto
17491         (getBuffer): ditto
17492         * MenuBackend.C (hasSubmenu): ditto
17493         (hasMenu): ditto
17494         (getMenu): ditto
17495         * BufferView_pimpl.C (getInsetByCode): ditto
17496
17497 2001-04-18  Juergen Vigna  <jug@sad.it>
17498
17499         * vspace.C (asLatexString): fixed the 100% problem.
17500
17501 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17502
17503         * lyxfunc.C (Dispatch):
17504         * minibuffer.C:
17505         * minibuffer.h: add a few std:: qualifiers
17506
17507 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17508
17509         * minibuffer.[Ch]: reimplement so that commands is initiated and
17510         run from lyxfunc, simplified som handling, and made the completion
17511         and history code for complete. wip.
17512
17513         * lyxfunc.C (processKeySym): call message
17514         (miniDispatch): new temporary method
17515         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17516         (LFUN_MESSAGE): implement
17517         (LFUN_MESSAGE_PUSH): implement
17518         (LFUN_MESSAGE_POP): implement
17519         (initMiniBuffer): the initial/defualt minibuffer message.
17520
17521         * lyxfont.[Ch]: inline some more getters
17522
17523         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17524
17525         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17526
17527         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17528         (AutoSave): use LFUN_MESSAGE
17529         (Reconfigure): ditto
17530
17531         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17532
17533         * figureForm.C: use LFUN_MESSAGE
17534
17535         * converter.C (runLaTeX): use LFUN_MESSAGE
17536
17537         * bufferview_funcs.C: use LFUN_MESSAGE
17538         (Melt): ditto
17539         (changeDepth): ditto
17540
17541         * bufferparams.h: use boost::
17542
17543         * bufferlist.h: inherit privately from noncopyable
17544
17545         * bufferlist.C (loadLyXFile): remove some commented code.
17546
17547         * buffer.C (runChktex): use LFUN_MESSAGE
17548
17549         * ShareContainer.h: inherit privately from noncopyable
17550
17551         * ParagraphParameters.[hC] (depth): inline it.
17552
17553         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17554         methods.
17555         (message): new method
17556         (messagePush): ditto
17557         (messagePop): ditto
17558         (show): init minibuffer
17559         (showState): direct call
17560
17561         * LaTeX.[Ch]: inherit privately from noncopyable
17562         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17563         instead of WriteStatus.
17564
17565         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17566
17567         * BufferView_pimpl.C (buffer): don't init minibuffer
17568         (workAreaButtonPress): use LFUN_MESSAGE
17569         (workAreaButtonRelease): ditto
17570         (savePosition): ditto
17571         (restorePosition): ditto
17572         (MenuInsertLyXFile): ditto
17573         (workAreaExpose): don't init minibuffer
17574         (update): remove commented code, simplify
17575
17576         * BufferView2.C (openStuff): use LFUN_MESSAGE
17577         (toggleFloat): ditto
17578         (menuUndo): ditto
17579         (menuRedo): ditto
17580         (copyEnvironment): ditto
17581         (pasteEnvironment): ditto
17582         (copy): ditto
17583         (cut): ditto
17584         (paste): ditto
17585         (gotoInset): ditto
17586         (updateInset): remove some commented code
17587
17588         * lastfiles.h: inherit privately from noncopyable
17589         * layout.h: ditto
17590         * lyx_gui.h: ditto
17591         * lyx_main.h: ditto
17592         * lyxlex.h: ditto
17593         * lyxlex_pimpl.h: ditto
17594
17595         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17596         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17597         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17598
17599         * LyXAction.h: inherit privately from noncopyable, add methods
17600         func_begin, func_end, returning iterators to the func map.
17601
17602         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17603         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17604         (func_begin): new method
17605         (func_end): new method
17606
17607         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17608         and not)
17609         (copySelection): ditto
17610         (pasteSelection): ditto
17611
17612         * BufferView.C: whitespace change
17613         * BufferView.h: inherit privately from noncopyable
17614
17615 2001-04-16  Allan Rae  <rae@lyx.org>
17616
17617         * tabular-old.C (l_getline):
17618         * spellchecker.C (sc_check_word):
17619         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17620         an unrecognised preprocessor directive.  So ensure they're wrapped.
17621
17622 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17623
17624         * src/exporter.C (Export): Give an error message when path to file
17625         contains spaces.
17626
17627 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17628
17629         * LaTeX.C (deplog): Always check that foundfile exists.
17630
17631 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17632
17633         * lyx_main.h:
17634         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17635
17636 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17637
17638         * tabular.[Ch] (getLabelList): implement new method
17639
17640         * minibuffer.h: comment ouf setTiimer
17641
17642         * minibuffer.C (ExecutingCB): constify res
17643         (peek_event): constify s
17644         (Set): constify ntext
17645         (Init): constify nicename
17646
17647         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17648
17649         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17650         (savePosition): use two params to Minibuffer::Set
17651         (restorePosition): ditto
17652
17653 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17654
17655         * lyx_main.C: include language.h
17656
17657         * Makefile.am (lyx_main.o): add language.h
17658
17659 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17660
17661         * exporter.C:
17662         * paragraph.C:
17663         * screen.C:
17664         * tabular.C:
17665         * CutAndPaste.C: include gettext.h
17666
17667         * lyxfont.h: remove old hack with ON and OFF.
17668
17669         * lyxparagraph.h:
17670         * lyxfont.h: do not include language.h...
17671
17672         * BufferView2.C:
17673         * LaTeXFeatures.C:
17674         * Painter.C:
17675         * bufferview_funcs.C:
17676         * font.C:
17677         * lyxfont.C:
17678         * text.C:
17679         * text2.C:
17680         * trans_mgr.C:
17681         * paragraph.C: ... but do it here instead
17682
17683 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17684
17685         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17686
17687         * tabular.C: small reformat
17688
17689         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17690         NEW_INSETS version
17691         (GetChar): ditto
17692         (BreakParagraph): ditto
17693         (SetOnlyLayout): ditto
17694         (SetLayout): ditto
17695
17696         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17697         with one arg less.
17698
17699         * lastfiles.C: removed most using decl, add std:: where needed
17700
17701         * buffer.C: ws changes
17702
17703         * MenuBackend.C (class compare_format): put into anon namespace
17704         (expand): constify label, names, action, action2
17705         (expand):
17706
17707         * text.C (SingleWidth): constify font
17708         (IsBoundary): constify rtl2
17709         (GetVisibleRow): constify ww
17710
17711         * LaTeX.C (deplog): constify logfile
17712
17713         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17714         start_x, end_x
17715         (workAreaExpose): constify widthChange, heightChange
17716
17717         * lyxrow.C (par): moved
17718         (height): moved
17719         (next): moved
17720         * lyxrow.h: as inlines here
17721
17722         * lyxfont.h (shape): moved from lyxfont.C
17723         (emph): moved from lyxfont.C
17724
17725         * lyxfont.C (LyXFont): use initialization list for all
17726         constructors
17727         (shape): move to lyxfont.h as inline
17728         (emph): move to lyxfont.h as inline
17729
17730
17731 2001-04-04  Juergen Vigna  <jug@sad.it>
17732
17733         * vspace.C: had to include stdio.h for use of sscanf
17734
17735 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17736
17737         * BufferView.h:
17738         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17739         independent of xforms.
17740
17741 2001-04-02  Juergen Vigna  <jug@sad.it>
17742
17743         * spellchecker.C: fixed namespace placing!
17744
17745 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17746
17747         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17748         the LyXParagraph * is 0.
17749
17750 2001-03-29  Juergen Vigna  <jug@sad.it>
17751
17752         * vspace.C: added support for %, c%, p%, l%.
17753         (stringFromUnit): added helper function.
17754         (asLatexString): changed to give right results for the %-values.
17755
17756         * buffer.C: convert the widthp in a width%.
17757
17758 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17759
17760         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17761         figureForm.[Ch].
17762
17763         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17764         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17765
17766         * lyx_cb.[Ch]: see above.
17767
17768         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17769         form1.[Ch].
17770
17771         * form1.[Ch]:
17772         * lyx.[Ch]: replaced by figure_form.[Ch].
17773
17774         * lyx_gui.C:
17775         * lyx_gui_misc.C:
17776         * lyxfunc.C: changed headers associated with above changes.
17777
17778 2001-03-27  Juergen Vigna  <jug@sad.it>
17779
17780         * BufferView_pimpl.C: set the temporary cursor right!
17781
17782 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17783
17784         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17785
17786 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17787
17788         * LString.h: removed "using std::getline"!
17789
17790         * BufferView_pimpl.C (Dispatch): changes due to changes in
17791         InsetInclude::Params.
17792
17793         * buffer.C (tag_name): removed redundant break statements as they were
17794         producing lots of warnings with my compiler.
17795
17796 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17797
17798         * LString.h: add "using std::getline" when using the real <string>.
17799
17800 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17801
17802         * buffer.C: removed bitset usage.
17803         PAR_TAG moved to an anonymous name space.
17804         (tag_name): new funtion, also in the anonymous namespace.
17805         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17806         (makeDocBookFile): clean code. Completed transition from string arrays
17807         to string vectors.
17808         (SimpleDocBookOnePar): code clean.
17809
17810 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17811
17812         * tabular.C: add some comments.
17813
17814 2001-03-22  Juergen Vigna  <jug@sad.it>
17815
17816         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17817         compatibility read a bit and fixed bug with minipage in different
17818         depth.
17819
17820 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17821
17822         * buffer.C (pop_tag): removed.
17823         (push_tag): removed.
17824         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17825         array replaced with vector. Added support for CDATA sections.
17826         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17827         at any nest level.
17828         (makeDocBookFile): XML conformant declaration of CDATA section,
17829         fixed bug related to <emphasis> in the first paragraph char.
17830         (sgmlOpenTag): exclude empty tags.
17831         (sgmlCloseTag): ditto.
17832
17833         * buffer.h (pop_tag): removed.
17834         (push_tag): removed.
17835
17836 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17837
17838         * language.h (Languages): added size_type and size().
17839
17840 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17841
17842         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17843         response on compability reading of minipages. One probliem is that
17844         the old usage of minipages was flertydig
17845
17846         * several files here and in subdirs: don't use static at file
17847         scope use anon namespaces instead.
17848
17849 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17850
17851         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17852         LaTeX output. This is necessary for Literate document
17853         processing.
17854
17855 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17856
17857         * buffer.C: insert hfill when needed.
17858
17859         * tabular.C (l_getline): use string::erase, small whitespace change.
17860
17861         * BufferView_pimpl.C: try the anon namespace.
17862         * WorkArea.C: ditto
17863
17864 2001-03-16  Juergen Vigna  <jug@sad.it>
17865
17866         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17867         otherwise it won't open options-dialogs.
17868
17869         * buffer.C: honor pextraWidth(p) on converting minipages.
17870
17871         * tabular.C (l_getline): changed the functions to strip trailing \r.
17872
17873 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17874
17875         * BufferView_pimpl.C:
17876         * minibuffer..C: added "using SigC::slot" declaration.
17877
17878 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17879
17880         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17881
17882         * text2.C: ditto
17883
17884         * text.C: ditto
17885
17886         * paragraph.C: ditto
17887
17888         * lyxtext.h: NO_PEXTRA
17889
17890         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17891
17892         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17893         * ParameterStruct.h: ditto
17894         * ParagraphParameters.h: ditto
17895         * lyxparagraph.h: ditto
17896
17897 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17898
17899         * buffer.C: add compability for minipage alignment.
17900         (latexParagraphs): remove unwanted pextra check.
17901
17902         * several files: remove CXX_WORKING_NAMESPACES
17903
17904         * buffer.C (pop_tag): tie is in namespace boost
17905
17906         * BufferView.h: noncopyable is in namespace boost
17907         * lyxlex.h: ditto
17908         * lyx_main.h: ditto
17909         * lyx_gui.h: ditto
17910         * layout.h: ditto
17911         * lastfiles.h: ditto
17912         * bufferlist.h: ditto
17913         * ShareContainer.h: ditto
17914         * LyXView.h: ditto
17915         * LyXAction.h: ditto
17916         * LaTeX.h: ditto
17917
17918 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17919
17920         * Merging changes from BRANCH_MVC back into HEAD.
17921
17922         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17923
17924 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17925
17926         * BufferView_pimpl.C: change from intl.C
17927
17928         * combox.h:
17929         * combox.C:
17930         * Makefile.am: move combox.*
17931
17932         * form1.h:
17933         * form1.C:
17934         * lyx_gui.C:
17935         * intl.h:
17936         * intl.C: remove dialog (covered by prefs)
17937
17938 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17939
17940         * lyxfunc.C (Dispatch): removed redundant break statement.
17941
17942 2001-03-14  Juergen Vigna  <jug@sad.it>
17943
17944         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17945
17946 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17947
17948         * buffer.C: add hack to fix compability reading of minipages.
17949
17950 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17951
17952         * buffer.C (getLists): Cleanup.
17953
17954 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17955
17956         * lyxfont.C (update): don't honor toggleall on font size.
17957
17958 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17959
17960         * bmtable.c:
17961         * bmtable.h:
17962         * Makefile.am: moved to frontends/xforms/
17963
17964         * lyx_gui_misc.C:
17965         * lyxfunc.C:
17966         * BufferView_pimpl.C: changes for moved mathpanel
17967
17968 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17969
17970         * gettext.h: fix gettext_init() in --disable-nls
17971
17972 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17973
17974         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17975
17976 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17977
17978         * lyx.C:
17979         * lyx.h: strip external form
17980
17981 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17982
17983         * BufferView_pimpl.C: add comment, destroySplash()
17984
17985 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17986
17987         * BufferView_pimpl.C:
17988         * LyXAction.C:
17989         * buffer.C:
17990         * commandtags.h:
17991         * lyxfunc.C: use re-worked insetinclude
17992
17993 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17994
17995         * buffer.C: add using std::stringstream.
17996
17997         * lyx_cb.C: readd using std::ios.
17998
17999         * buffer.C: add using std::map.
18000
18001         * BufferView_pimpl.C: add using std::vector.
18002
18003         * ShareContainer.h: add std:: to swap.
18004
18005         * buffer.h: add some typedefs
18006         * buffer.C (getLists): use them
18007         (getLists): renamed from getTocList.
18008         add a counter for the different float types and use it in the
18009         generated string.
18010         (getLists): use the same counter for the NEW_INSETS and the "non"
18011         NEW_INSETS
18012
18013         * lyx_cb.h: remove unused items, includes, using etc.
18014
18015         * ShareContainer.h: remove some commented code, add more comments
18016         and "documentation".
18017
18018 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18019
18020         * buffer.C (getTocList): make the list also when NEW_INSETS is
18021         defined.
18022
18023         * buffer.h: remove TocType
18024
18025         * buffer.C (getTocList): change to return a map<string,
18026         vector<TocItem> >, implement for dynamic number of list.
18027
18028         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18029         * text2.C (PasteSelection): adjust
18030         * CutAndPaste.C (pasteSelection): adjust
18031
18032         * FloatList.C (FloatList): update from the new_insets branch.
18033         * Floating.[Ch]: ditto
18034         * LaTeXFeatures.C: ditto
18035         * buffer.C: ditto
18036         * lyxlex_pimpl.C: ditto
18037
18038         * paragraph.C (Last): remove when NEW_INSETS is defined.
18039
18040         * other file: changes because of the above.
18041
18042 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18043
18044         * lyxparagraph.h: rename next to next_, previous to previous_,
18045         make them private for NEW_INSETS. Rename Next() to next(),
18046         Previous() to previous().
18047
18048         * other files: changes because of the above.
18049
18050 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18051
18052         * BufferView.h:
18053         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18054         problem.
18055
18056 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18057
18058         * main.C (main): pass lyx_localedir to gettext_init().
18059
18060         * gettext.h: remove locale_init and gettext_init macros
18061
18062         * gettext.C (locale_init): new function
18063         (gettext_init): new function
18064
18065         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18066         setlocale().
18067
18068 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18069
18070         * Moved credits to frontends:
18071         * credits.[Ch]: removed
18072         * credits_form.[Ch]: removed
18073         * lyx_gui_misc.C: remove credits stuff
18074         * Makefile.am:
18075
18076 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18077
18078         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18079
18080         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18081         unneeded destructor.
18082
18083         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18084         a standalone pointer again.
18085
18086         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18087
18088 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18089
18090         * Makefile.am:
18091         * filedlg.h:
18092         * filedlg.C:
18093         * LyXAction.C:
18094         * ToolbarDefaults.C:
18095         * bufferlist.C:
18096         * commandtags.h:
18097         * form1.C:
18098         * form1.h:
18099         * lyx_cb.C:
18100         * lyx_cb.h:
18101         * lyxfunc.h:
18102         * lyxfunc.C:
18103         * BufferView_pimpl.C: use new file dialog in GUII
18104
18105         * lyx_cb.h:
18106         * lyx_cb.C: remove LayoutsCB to Toolbar
18107
18108 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18109
18110         * ShareContainer.h (get): add std:: qualifier
18111
18112 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18113
18114         * ShareContainer.h: define a proper ShareContainer::value_type
18115         type (and use typename to please compaq cxx)
18116
18117 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18118
18119         * lyxparagraph.h: move serveral local vars to
18120         ParameterStruct/ParagraphParameters., use ShareContainer in
18121         FontTable., make vars in FontTable private and add getter and
18122         setter.
18123
18124         * paragraph.C: changes because of the above.
18125
18126         * lyxfont.h: remove copy constructor and copy assignment. (the
18127         default ones is ok), move number inside FontBits. move inlines to
18128         lyxfont.C
18129
18130         * lyxfont.C: add number to initializaton of statics, move several
18131         inlines here. constify several local vars. some whitespace
18132         cleanup. Dont hide outerscope variables.
18133
18134         * Spacing.h: add two new constructors to match the set methods.
18135
18136         * ShareContainer.h: new file, will perhaps be moved to support
18137
18138         * ParameterStruct.h: new file
18139
18140         * ParagraphParameters.h: new file
18141
18142         * ParagraphParameters.C: new file
18143
18144         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18145         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18146
18147         * BufferView_pimpl.C: ParagraphParameter changes.
18148         * buffer.C: Likewise.
18149         * bufferview_funcs.C: Likewise.
18150         * text.C: Likewise.
18151         * text2.C: Likewise.
18152
18153 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18154
18155         * lyxfind.C (LyXReplace): do not redefine default argument in
18156         implementation.
18157         (IsStringInText): ditto
18158         (SearchForward): ditto
18159         (SearchBackward): ditto
18160
18161 2001-03-06  Juergen Vigna  <jug@sad.it>
18162
18163         * lyxfind.C (IsStringInText): put parentes around expressions.
18164
18165 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18166
18167         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18168
18169 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18170
18171         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18172
18173         * stl_string_fwd.h: add comment
18174
18175         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18176
18177         * tabular.h:
18178         * tabular.C: remove unused DocBook methods
18179
18180         * intl.C:
18181         * language.C:
18182         * paragraph.C:
18183         * buffer.C:
18184         killed DO_USE_DEFAULT_LANGUAGE
18185
18186 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18187
18188         * lyx_gui.C: do not include language.h.
18189
18190         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18191         arguments in function implementation.
18192
18193 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18194
18195         * BufferView_pimpl.C: add <ctime>
18196
18197 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18198
18199         * BufferView_pimpl.C: add using std::find_if
18200
18201 2001-02-27  José Matos  <jamatos@fep.up.pt>
18202
18203         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18204         by OnlyPath.
18205
18206 2001-02-11  José Matos  <jamatos@fep.up.pt>
18207
18208         * buffer.C (makeDocBookFile): command styles now have a parameter as
18209         "title" by default.
18210
18211 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18212
18213         * layout_forms.[Ch]: removed
18214         * lyx_cb.[Ch]: out character
18215         * lyx_gui.C: out character
18216         * lyx_gui_misc.C: out character
18217         * bufferview_funcs.C: : out character,
18218         added toggleall as parameter in ToggleAndShow
18219
18220 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18221
18222         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18223
18224         * text2.C (SetCurrentFont): Disable number property at boundary.
18225
18226 2001-02-26  Juergen Vigna  <jug@sad.it>
18227
18228         * lyxfunc.C (getStatus): added a string argument override function so
18229         that this is correctly called from LyXFunc::Dispatch if it contains a
18230         do_not_use_argument which is used!
18231         (Dispatch): added check for "custom" export and call appropriate func.
18232
18233 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18234
18235         * lyxrc.C: Add language_command_local, language_use_babel and
18236         language_global_options.
18237
18238         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18239
18240         * buffer.C (makeLaTeXFile): Use language_use_babel and
18241         language_global_options.
18242
18243 2001-02-23  Juergen Vigna  <jug@sad.it>
18244
18245         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18246         which works with LyXText and putted it inside BufferView. Here now we
18247         only call for that part the BufferView::Dispatch() function.
18248
18249         * BufferView.C (Dispatch): added.
18250
18251         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18252         functions which needs to use a LyXText over from LyXFunc.
18253         (MenuInsertLyXFile): added
18254         (getInsetByCode): added
18255         (moveCursorUpdate): added
18256         (static TEXT): added
18257
18258 2001-02-22  Juergen Vigna  <jug@sad.it>
18259
18260         * BufferView_pimpl.C (update): call a status update to see if LyXText
18261         needs it.
18262
18263 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18264
18265         * vc-backend.C (revert): implement for CVS
18266         (getLog): implement for CVS
18267
18268 2001-02-20  Juergen Vigna  <jug@sad.it>
18269
18270         * text2.C (ClearSelection): added BufferView param for inset_owner call
18271
18272         * lyxfunc.C (TEXT): added this function and use it instead of
18273         directly owner->view()-text of getLyXText().
18274
18275 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18276
18277         * src/layout_forms.C: out preamble
18278         * src/layout_forms.h: out preamble
18279         * src/lyx_cb.C: out preamble
18280         * src/lyx_cb.h: out preamble
18281         * src/lyx_gui.C: out preamble
18282         * src/lyx_gui_misc.C: out preamble
18283         * src/lyxfunc.C: connect with guii preamble
18284
18285 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18286
18287         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18288
18289 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18290
18291         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18292         whether to run bibtex.
18293
18294 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18295
18296         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18297
18298 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18299
18300         * Makefile.am (lyx_SOURCES): removed bibforms.h
18301
18302         * vspace.h: doxygen
18303
18304         * text.C (GetVisibleRow): make several local vars const
18305
18306         * tabular.C: small cleanup.
18307
18308         * lyxserver.C (callback): use compare instead of strncmp
18309
18310         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18311         inlines to after class or to paragraph.C
18312
18313         * lyxfont.h: remove friend operator!=
18314
18315         * converter.h: move friend bool operator< to non friend and after
18316         class def.
18317
18318         * combox.h: small cleanup
18319
18320         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18321         to inlines after class def.
18322
18323         * buffer.C (pop_tag): use string operations instead of strcmp
18324
18325         * bmtable.c: doxygen, small cleanup
18326
18327         * LaTeX.h: remove friend operator==
18328
18329 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18330
18331         * screen.C:
18332         * lyxrc.[Ch]:
18333         * lyxfunc.C:
18334         * lyxfont.[Ch]:
18335         * lyx_cb.C:
18336         * intl.[Ch]:
18337         * commandtags.h:
18338         * buffer.C:
18339         * WorkArea.[Ch]:
18340         * LyXAction.C:
18341         * BufferView_pimpl.C:
18342         * BufferView.[Ch]: remove cruft
18343
18344 2001-02-14  Juergen Vigna  <jug@sad.it>
18345
18346         * lyxfunc.C: removed #if 0 unused code
18347
18348         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18349
18350         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18351
18352         * text2.C (SetSelection): added a BufferView * parameter
18353
18354 2001-02-13  Juergen Vigna  <jug@sad.it>
18355
18356         * lyxfunc.C (Dispatch): fixed protected blank problem.
18357         * BufferView2.C (protectedBlank): added LyxText * parameter.
18358
18359         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18360         (AppendColumn): same as above for column_info.
18361
18362         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18363         (moveCursorUpdate): use a LyXText param for support of InsetText.
18364
18365         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18366         (tripleClick): ditto
18367
18368         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18369
18370         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18371
18372         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18373
18374         * text2.C (SetSelection): set correct update status if inset_owner
18375         (ToggleFree): ditto
18376
18377 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18378
18379         * tabular.C: remove some commented code.
18380
18381 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18382
18383         * BufferView_pimpl.C: call hideSplash()
18384
18385         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18386
18387         * include_form.h:
18388         * bibforms.h: remove
18389
18390         * lyxfunc.C:
18391         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18392           add LFUN_CHILD_CREATE
18393
18394         * counters.h: fix tiny typo
18395
18396         * lyx_cb.C:
18397         * lyx.h:
18398         * lyx_gui.C:
18399         * lyx.C: move splash to frontends/xforms/
18400
18401         * lyx_gui_misc.C: move Include and Bibform to frontends
18402
18403         * lyxvc.h: clarify comment
18404
18405         * vspace.C: tiny housekeeping
18406
18407 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18408
18409         * text.C (PrepareToPrint): RTL Fix.
18410
18411         * paragraph.C (GetUChar): New method.
18412         (String):  Use GetUChar.
18413
18414         * buffer.C (asciiParagraph): Use GetUChar.
18415
18416 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18417
18418         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18419
18420 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18421
18422         * buffer.h:
18423         * buffer.C: rename to getLogName(), handle
18424           build log / latex log nicely
18425
18426 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18427
18428         * MenuBackend.C:
18429         * MenuBackend.h: remove support for reference menuitem type.
18430
18431 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18432
18433         * BufferView_pimpl.C: housekeeping
18434         * BufferView_pimpl.h:
18435         * LyXView.h:
18436         * Makefile.am:
18437         * Timeout.C:
18438         * Timeout.h:
18439         * minibuffer.h: move Timeout GUI-I
18440
18441 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18442
18443         * lyxrc.C (read): Update converters data-structures.
18444
18445 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18446
18447         * LaTeX.h (operator!=): add operator != for Aux_Info
18448
18449 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18450
18451         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18452
18453         * LaTeXLog.C: deleted, useful code moved to Buffer
18454
18455         * buffer.h:
18456         * buffer.C: new function getLatexLogName()
18457
18458         * lyx_gui_misc.C:
18459         * lyx_gui.C:
18460         * lyxvc.C:
18461         * lyxvc.h:
18462         * lyxfunc.C: use frontends for LaTeX and VC logs
18463
18464 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18465
18466         * LaTeX.h: yet another std:: that Allan forgot.
18467
18468         * Variables.C (set): renamed from isset(), because this clashes
18469         with some HP-UX macros (grr).
18470
18471 2001-02-06  Allan Rae  <rae@lyx.org>
18472
18473         * LaTeX.h: Another bug fix.  Missing std:: this time.
18474
18475 2001-02-04  Allan Rae  <rae@lyx.org>
18476
18477         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18478         floats problem. I've left it commented out because it's not quite
18479         correct.  It should also test that the current object is a table or
18480         figure inset.  But I haven't gotten around to figuring out how to do
18481         that.  I *think* it'll be something like: "table" == inset.type()
18482
18483         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18484         bool.
18485
18486 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18487
18488         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18489         all the citation/databases/styles in the auxilary file.
18490         (run): Rerun latex if there was a babel language error.
18491
18492 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18493
18494         * text.C (Backspace): Preserve the font when changing newline char
18495         with a space.
18496         (BreakParagraph): If the cursor is before a space, delete the space.
18497
18498         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18499
18500 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18501
18502         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18503         new argument (code).
18504         (ChangeCitationsIfUnique): New method.
18505
18506         * paragraph.C (GetPositionOfInset): Handle bibkey.
18507
18508 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18509
18510         * BufferView_pimpl.h: change type of Position::par_pos to
18511         LyXParagraph::size_type.
18512
18513 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18514
18515         * BufferView_pimpl.C (savePosition, restorePosition): Write
18516         messages to minibuffer.
18517
18518 2001-01-28  José Matos  <jamatos@fep.up.pt>
18519
18520         * buffer.C (makeDocBookFile): adds support for document language.
18521         A silly restriction on the name of LatexCommand types where removed.
18522         Added support for CDATA sections, allows to chars unescaped, used
18523         among others in code, to avoid escape < and >.
18524
18525 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18526
18527         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18528         saved positions instrad of a stack. Furthermore, a position is
18529         stored using paragraph id/paragraph position.
18530
18531         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18532         Remove LFUN_REF_BACK.
18533
18534 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18535
18536         * converter.C (dvipdfm_options): New method.
18537
18538 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18539
18540         * vspace.C (isValidLength): Fix for empty input string.
18541
18542 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18543
18544         * LyXAction.C (init): change description of LFUN_FIGURE to
18545         "Insert Graphics"
18546
18547 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18548
18549         * LaTeX.C: add using directive
18550
18551 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18552
18553         * MenuBackend.C (expand): Fix the sorting of the formats.
18554
18555 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18556
18557         * lyx_main.C: tiny error message fix
18558
18559 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18560
18561         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18562         calling fl_initialize(). This fixes the problem with ',' as
18563         decimal separator in text files.
18564
18565 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18566
18567         * trans.C (process): Fix the keymap bug.
18568
18569 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18570
18571         * LaTeX.C (scanAuxFiles): New method. Provides support for
18572         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18573         (scanLogFile) Scan for "run BibTeX" messages.
18574
18575         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18576         OT1 font encoding. Also, load the aecompl package if the ae
18577         package is loaded.
18578
18579         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18580
18581 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18582
18583         * texrow.C (increasePos): turn two error messages into debug
18584         messages.
18585
18586 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18587
18588         * LaTeX.C (scanAux): Handle the \@input macro.
18589         (runBibTeX): Use scanAux().
18590
18591         * language.C (latex_options_): New field.
18592
18593         * LaTeXFeatures.C (getMacros): Add language macros.
18594
18595         * buffer.C (makeLaTeXFile): Small fix.
18596
18597 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18598
18599         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18600
18601         * text2.C: add a using directive.
18602
18603 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18604
18605         * BufferView2.C:
18606         * lyx_gui_misc.h:
18607         * lyxfr1.C:
18608         * lyxfunc.C: kill LyXBell.
18609
18610 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18611
18612         * text.C (IsBoundary): Remove the error message
18613
18614         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18615
18616         * lyxrc.C (setDefaults): Correct initialization value for
18617         font_norm_type.
18618
18619 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18620
18621         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18622         gotoError().
18623
18624         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18625         and GotoNextNote().
18626
18627         * src/LyXAction.C: Added reference-next.
18628
18629         * text.C (InsertChar): Use contains instead of strchr.
18630
18631         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18632
18633 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18634
18635         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18636         alignment commands (when needed).
18637
18638         * text.C (InsertChar): Add ':' to number separator chars.