]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
69cd935086a3fcdfc4eb48a824fd9fbb630c05ee
[lyx.git] / src / ChangeLog
1 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * cursor.C (macroModeClose): returns true if an inset actually got
4         inserted; revert faulty fix to bug 2034.
5
6 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * tabular.C (getLabelList): remove (not used anymore).
9
10 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
11
12         * outputparams.[Ch]: add new flag inComment
13
14 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15
16         * text2.C (deleteEmptyParagraphMechanism): since we delete a
17         paragraph, recordUndo should span two paragraphs (bug 2155).
18
19 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * rowpainter.C (paintPar): always repaint the row with the
22         cursor in it
23
24 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
25
26         * MenuBackend.h: 
27         * bufferlist.h: 
28         * lyxtext.h: 
29         * paragraph.h:
30         * vspace.h: fix syntax error
31
32 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
33
34         * text3.C (dispatch): Force refresh if typing into inset changes its
35                               metrics
36
37 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
38
39         * RowList_fwd.h:
40         * paragraph.C:
41         * paragraph.h:
42         * rowpainter.C: Speed up rendering by only re-painting rows that
43         have changed. When selection or whole-screen update active, all rows
44         are repainted, as are all rows within insets.
45
46 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
47
48         * version.C.in: Use PACKAGE_VERSION instead of VERSION
49
50 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
51
52         * tabular.C (toggleFixedWidth): Use default layout of text class
53         instead of hardcoded "Standard"
54
55 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
56
57         * lyxfunc.C (dispatch): do not call getStatus again to determine
58         whether a lfun is disabled (bug 2172).
59
60 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * cursor.C (macroModeClose): set the cursor inside the new math
63         atom if relevant (think \frac{}{}) (bug 2034)
64
65 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
66
67         * lyxtext.h:
68         * text.C:
69         * text3.C (Delete, backspace): force update when merging paragraphs
70
71 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * BufferView.C (mouseSetCursor): clear the selection properly (bug
74         2163). 
75
76 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
77
78         * text.C (redoParagraph): honor inset->noFontChange()
79         * rowpainter.C (paintInset): ditto
80
81 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
82
83         * lyx_main.C (priv_exec): don't initialize Math on startup 
84         (initMath() has been moved to math_hullinset).
85
86 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
87
88         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
89         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
90         * paper.h: dispose dead PAPER_PACKAGES enum.
91
92 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
95         without X support.
96
97 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
98
99         * exporter.C (Export): Don't try to copy a file if it does not exist
100         (bug 1888)
101
102 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * text2.C (makeFontEntriesLayoutSpecific): remove.
105         (setLayout): adapt.
106
107         * text.C (insertChar): remove bogus caching of fonts (did not do
108         anything). 
109
110         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
111         ALL_SANE). (bug 2146)
112
113 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * rowpainter.C (paintFirst): fix centering of
116         LABEL_CENTERED_TOP_ENVIRONMENT. 
117
118 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * BufferView.C (mouseSetCursor): new method. Calls
121         deleteEmptyParagraphMechanism if necessary.
122
123         * lyxtext.h: make deleteEmptyParagraphMechanism public.
124
125         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
126         BufferView::mouseSetCursor (bug 2109).
127         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
128
129 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
130
131         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
132         do not remove it (this inset behaves differently from the others).
133
134 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         Fix bug 2096.
137         
138         * BufferView_pimpl.C (getStatus): it is only possible to insert a
139         file in a text inset.
140
141         * buffer.C (readDocument): remove pit argument and code releated
142         to it; set the inset owner correctly (unrelated, but useful).
143         (readFile): get rid of pit argument.
144
145         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
146         textclass instead of a selection index.
147         (pasteParagraphList): new function.
148         (pasteSelection): make it a wrapper around pasteParagraphList.
149
150         * BufferView_pimpl.C (MenuInsertLyXFile): use
151         cap::pasteParagraphList to insert a file.
152
153 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
154
155         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
156
157 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
158
159         * exporter.C: fix typo in text message
160
161 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
162
163         * text2.C (setLayout): move recUndo call to other setLayout method
164         * tabular.C (toggleFixedWidth): new, handle cell width changes
165         * tabular.C (setColumnPWidth): move some code from insettabular.C here
166         and use toggleFixedWidth
167         * tabular.C (setMColumnPWidth): ditto
168
169 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
170
171         * paragraph.C (asString): use new inset->textString method (fix
172         bug 2089) 
173
174 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
175
176         * CutAndPaste.C (numberOfSelections): new helper function.
177
178         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
179
180         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
181         LyXFunc::getStatus; implement LFUN_PASTE.
182
183 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
184
185         * dociterator.[Ch]: new member realInset() that returns the cell
186         for tabulars and the inset for the rest (bug 1952).
187         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
188         (bug 1952).
189
190 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
191
192         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
193
194 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
195
196         * lyxfunc.C:
197         * paragraph.C:
198         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
199         argument.
200
201 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
202
203         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
204         line after typing ctrl-enter
205
206 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
207
208         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
209         math insets do not return a proper editable() state yet (bug 2124).
210
211 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
212
213         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
214         docs containing very large paragraphs.
215
216 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
217
218         * cursor.C (selectionBegin, selectionEnd):
219         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
220         cursor at different depths.
221
222 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
223
224         * bufferview_funcs.C (coordOffset): do not call cursorPos
225         for collapsed collapsables (fix bug 2094).
226
227 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * paragraph.C (fontSpan): make sure that the FontSpan does not
230         span across beginOfBody (bug 1947).
231
232 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
235
236 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
237
238         * messages.C: fix crash and localization on MinGW/Windows platform
239
240 2005-11-02  Angus Leeming  <leeming@lyx.org>
241
242         * Bidi.C:
243         * lyxtextclass.C: trivial fixes to some MSVS warnings.
244
245 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
246
247         * text3.C (getStatus): re-enable disabled code. (bug 2081)
248
249         * BranchList.h (empty): constify.
250
251 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * text3.C (getStatus): 
254         * MenuBackend.C (expandBranches): take the branch list from the
255         master document (bug 2092).
256         
257         * MenuBackend.C (expandBranches): 
258         * bufferparams.C (writeFile): use BranchList type.
259
260 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
261
262         * text3.C (dispatch, getStatus): 
263         * LyXAction.C (init): 
264         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
265
266 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
269
270 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
271
272         * text.C (insertChar): do not reset boundary (bug 2061)
273
274 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * dociterator.C (updateInsets): new method. Updates the inset_
277         cache of all the slices of the iterator.
278
279         * text2.C (deleteEmptyParagraphMechanism): compare also containing
280         insets when comparing pit/pos; pass the right cursor to
281         recordUndo; when a paragraph has been deleted, compare `old.top()' to
282         the right cursor slice of `cur'; use updateInsets on cur to make
283         sure that the inset caches are correct; general cleanup.
284
285 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
288         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
289         containg inset. If this does not work, the same command will be
290         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
291
292         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
293         a dispatch.
294
295 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
296
297         * lyxtextclass.C (Read): convert layout file if the format is wrong
298         * lyxtextclass.C (layout2layout): new, needed for the above
299
300 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * messages.C: do not forget to include <cerrno>.
303
304 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
305
306         * dociterator.h (StableDocIterator): add access to pos().
307         * undo.C (samePar): new method to check if two
308         iterators are in the same paragraph
309         * undo.C (recordUndo): check for samePar instead of cell identity
310         (which includes pos() and is too strict) (fixes bug 2097)
311
312 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * text.C (setCursorFromCoordinates): return a bool telling whether
315         dEPM triggered.
316
317         * text3.C (cursorPrevious): update if needed after
318         setCursorFromCoordinates (when dEPM triggered).
319
320         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
321         (otherwise the anchor may be completely wrong and make dEPM assert).
322
323 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
324
325         * buffer.C: version upgrade to 245.
326         * bufferparams.C: remove \quotes_times (bug 2090).
327         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
328         quotation marks as default.
329
330 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
331
332         * CutAndPaste.C (nrOfParagraphs): remove (unused)
333         * CutAndPaste.C (cutSelection): Remove debug message
334         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
335         undo information and only copy if this is a real cut
336         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
337         call
338         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
339         (bug 2059)
340         * CutAndPaste.C (eraseSelection): prevent cursor corruption
341         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
342         superflous cur.selection() setting
343         * CutAndPaste.[Ch] (grabSelection): take a const cursor
344         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
345
346 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
347
348         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
349         change anything.
350
351 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
352
353         * BufferView_pimpl.C: comment layout change
354
355 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
356
357         * LyXAction.C:
358         * lfuns.h:
359         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
360         by bibliography managers (bug 2071).
361
362 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
363
364         * BufferView_pimpl.C (update): choose arguments to update call so
365         that single-par update works most times
366         * text3.C (dispatch): carefully tune updating separately for
367         whole-screen and current-paragraph
368         * rowpainter.C (paintText): 1) replace painting by caching for
369         the two extra paragraphs, because we can;
370         2) suppress greying out of areas below/above drawn area in case of
371         single-par refresh
372         * lyxfunc.C (dispatch): remove superfluous update
373         * LyXAction.[Ch]: introduce SingleParUpdate
374
375 2005-10-05  Angus Leeming  <leeming@lyx.org>
376
377         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
378         always initialised before use.
379
380         * text.C (setHeightOfRow): squash warning about comparison
381         of signed and unsigned types.
382
383 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
384
385         * text.C (cursorX): two fixes involving RtL text drawing
386
387 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
390         items, not only large ones (part of bug 2057)
391
392 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
395         argument, use "newcommand".
396
397 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
398
399         * cursor.C (setSelection): do not open collapsable insets;
400         the insets do by themselves now (autoopen).
401
402 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
403
404         * buffer.C: format is up to 244.
405
406 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
407
408         * text.C (redoParagraph): fix calcultation of inset width wrt 
409         leftMargin (bug 1957).
410
411         * text3.C (dispatch): leave inset to the right when hitting ESC 
412         (bug 2034).
413
414 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * text2.C: 
417         * text.C: 
418         * factory.C:
419         * messages.C: include <boost/current_function.hpp> 
420
421 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
424         when command is internal. (bug 1941)
425
426 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
427
428         * text2.C (cursorRight): do not honor boundary when at the end of
429         a paragraph. (bug 2010 again)
430
431 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
434
435 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
436
437         * rowpainter.C (paintText): fix RtL space width display bug (2029)
438
439 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
440
441         * text2.C (setCursor): remove the unused 'boundary' parameter for
442         the CursorSlice version; adapt the LCursor version.
443
444         * lyxrc.C (write): 
445         * paragraph_pimpl.C (markErased): 
446         * cursor.C (bruteFind2, bruteFond3): fix warnings.
447
448 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
451         as is already done for "chapter".
452
453 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
456         textclass; do not record undo if nothing is changed.
457
458 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
459
460         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
461
462 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
463
464         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
465
466 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
469         combox, it is necessary to search for the topmost paragraph in the
470         cursor stack (bug 1926)
471
472 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
473
474         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
475         end of paragraph. (bug 2010)
476
477 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
478
479         * text.C (leftMargin): check for inInset == 0
480
481 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
482
483         * text.C (leftMargin): test for insetbase's new neverIndent()
484         bool instead of listing each and every inset that does not
485         wish par indendation.
486
487 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * buffer_funcs.C (setCounter): put the code to compute enum label
490         here (where it belongs).
491
492         * counters.C (enumLabel): move code to buffer_funcs.C.
493
494 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
495
496         * outputparams.[Ch]: store local_font instead of local_language
497         * paragraph.C (simpleTeXOnePar): adapt to the change above
498
499 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
500
501         * buffer_funcs.C:
502         * counters.[Ch]: clean up special code for Hebrew.
503
504 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
507         than 2.
508
509 2005-09-08  Angus Leeming  <leeming@lyx.org>
510
511         * ispell.C:
512         * lyxrc.C: correct grammar describing invocation of the
513         spellchecker.
514
515 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * text.C (read): remove unused variable.
518         (readParToken): remove static Change variable (never good in
519         recursive settings...); add it as a parameter instead.
520
521         * paragraph_pimpl.C (acceptChange): make debug info conditional.
522
523         * metricsinfo.C (PainterInfo): add new member erased_.
524
525         * rowpainter.C (RowPainter): add erased_ member, initialized from
526         PainterInfo. 
527         (paintInset): pass erased_ to Inset::draw.
528
529         * lyxfunc.C (lookupChange): new function. Tells whether change 
530         tracking is disabled at a given postion.
531         (getStatus): disable some actions when in deleted text with change
532         tracking. 
533
534 2005-08-03  John Levon  <levon@movementarian.org>
535         
536         * tabular.C (appendColumn, setMultiColumn): adapt to change to
537         InsetText::clear().
538
539         * paragraph_pimpl.C (markErased): add bool argument and handle it.
540         Also make sure to mark insets recursively.
541         (rejectChange, erase): be recursive
542
543         * paragraph.C (markErased): add bool argument.
544 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * lyxfind.C (findNextChange): tiny cleanup.
547
548         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
549         change tracking with the cursor in an inset; make sure the first
550         change is not skipped.
551
552 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
553
554         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
555         tabularStackDirty to work around bug 1919 (tabular needs
556         to know whether its own cell paste buffer or the one of 
557         texted is newer.
558         * CutAndPaste.C: mark tabular_stack_ clean after copy.
559
560 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
561
562         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
563
564 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
565
566         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
567         use old deleteion algorithm when changetracking is on.
568
569 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
570
571         * messages.C (get): add debug output.
572
573 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
574
575         * text.C (cursorX): fix bug 1965: cursor movement at
576         line end broken in RtL.
577         (drawSelection): fix bug 1970: drawing of single-line 
578         selection broken for RtL.
579
580 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         bug 465.
583
584         * dociterator.h (clear, push_back, pop_back): change from
585         protected to public.
586
587         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
588         and changed to just return the value of the item depth; take a
589         ParIterator as argument; take the itemdepth at outer nesting level
590         in account if necessary; cleanup and comment the code.
591         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
592         and changed to just return true if reset is needed; take a
593         ParIterator as argument; cleanup and comment the code.
594         (setCounter): adapt to above changes.
595
596 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
597
598         * text3.C (dispatch): make debug message optional
599
600 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
603         inset. (bug 1963)
604
605 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
606
607         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
608
609 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
610
611         * text.C (insertChar):
612         * text2.C (deleteEmptyParagraphMechanism): take care whether 
613         a blank has been deleted (in change tracking mode) (bug 1254).
614
615 2005-07-20  John Levon  <levon@movementarian.org>
616
617         * text2.C (insertStringAsLines): remove old dubious code,
618         fixing bug 1939.
619
620 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * MenuBackend.C (expandToc): use Floating::listName() as title of
623         the floats submenus.
624
625 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
626
627         * toc.[Ch]: Do not use translatable strings (bug 1870).
628
629 2005-07-20  John Levon  <levon@movementarian.org>
630
631         * tabular.C: fix 1748 - setting multicolumn adds
632           left line to the first cell
633
634 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
635
636         bug 1920
637         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
638         pars in one go.
639
640 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
641
642         * messages.C: supress some lyxerr messages
643
644 2005-07-18  Juergen Vigna  <jug@lyx.org>
645
646         * text.C (drawSelection): honor boundary when asking for cursorX.
647
648 2005-07-17  José Matos  <jamatos@fc.up.pt>
649
650         * tabular.C (recalculateMulticolumns): fix handling of one column
651         tables.
652
653 2005-07-17  Juergen Vigna  <jug@lyx.org>
654
655         * text.C (Delete, backspace): fixed so that paragraph with the
656         same layout can be merged by Delete/Backspace.
657
658 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
659
660         * text.C (readParToken): fix spelling.
661
662 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
663
664         * text2.C: fix counter update for DEPM problem reported by
665         Georg Baum
666
667 2005-07-17  Juergen Vigna  <jug@lyx.org>
668
669         * BufferView_pimpl.C (setBuffer): save/restore the
670         cursor/selection when switching buffers
671
672         * buffer.h: 
673         * buffer.C (saveCursor): add saveDocumentIterators to save the
674         cursor when switching buffer.
675
676 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
677
678         * debug.C: fix typo
679         * buffer.C: clarify message
680         
681 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
682
683         * dociterator.C (DocIterator): fix initialization order
684
685 2005-07-17  Juergen Vigna  <jug@lyx.org>
686
687         * text2.C (cursorHome): 
688         * text.C (drawSelection, cursorX): 
689         * dociterator.C (textRow): add boundary to getRow() call
690
691         * paragraph.C (getRow): implementation of below
692
693         * paragraph.h: add parameter boundary for getRow() function
694
695 2005-07-17  José Matos  <jamatos@fc.up.pt>
696
697         * buffer.C:
698         * bufferparams.[Ch]:
699         * tex-strings.[Ch]: new file format, remove support for a4.sty,
700         a4wide.sty and a4widemargins.
701
702 2005-07-17  Juergen Vigna  <jug@lyx.org>
703
704         * text2.C (cursorLeft): fix one of error
705
706 2005-07-17  Juergen Vigna  <jug@lyx.org>
707
708         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
709                    cursorEnd):
710         more fixes for boundary handling
711
712         * text3.C (dispatch): don't reset cursor if boundary has changed
713         on cursor movement.
714
715 2005-07-16  Juergen Vigna  <jug@lyx.org>
716
717         * text2.C (getColumnNearX): hopefully got it right now,
718         check if we are on column 0 for special case.
719
720 2005-07-16  Juergen Vigna  <jug@lyx.org>
721
722         * text2.C (getColumnNearX): handle special case Newline Inset
723
724         * text.C (singleWidth): Just remove bogus check
725
726 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
727
728         * funcrequest.C (split): avoid reading uninitialized char c
729
730 2005-07-16  José Matos  <jamatos@fc.up.pt>
731
732         * buffer.C:
733         * converter.C:
734         * lyxrc.C:
735         * paper.h:
736         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
737         single papersize variable.
738
739 2005-07-16  Juergen Vigna  <jug@lyx.org>
740
741         * text3.C (dispatch): honor boundary when checking if a cursor
742         movement has been done
743
744         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
745         (setCursor, setCursorIntern): fix cursor movement with boundary
746
747 2005-07-16  Juergen Vigna  <jug@lyx.org>
748
749         * text.C (currentState): output the actual Boundary
750
751 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         * factory.C (createInset): fix bad logic for tabular creation
754
755 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
756
757         * lyx_main.C (init): change some reLyX reference to tex2lyx
758
759 2005-07-16  Juergen Vigna  <jug@lyx.org>
760
761         * dociterator.C (DocIterator): initialize boundary
762
763 2005-07-16  Juergen Vigna  <jug@lyx.org>
764
765         * text2.C (getColumnNearX): Consider rows without trailing blank.  
766
767 2005-07-16  André Pönitz  <poenitz@gmx.net>
768
769         * lyxfont.h: Change order of declarations to give the compiler
770         a better chance to inline things
771
772         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
773         questions on unsaved docs for better scritability
774
775 2005-07-16  André Pönitz  <poenitz@gmx.net>
776
777         * paragraph.h (getChar): remove asserts as the same kind of security
778         can be achieved by using a suitable standard library implementation
779         and the function was in the critical path (25.9% in profiler)
780
781 2005-07-16  Juergen Vigna  <jug@lyx.org>
782
783         * cursor.C (bruteFind2):
784         * bufferview_funcs.C (coordOffset): 
785         * text.C (cursorX,cursorY): Handle cursor position after last char
786         in row before a inset which uses a whole row.
787
788 2005-07-15  José Matos <jamatos@lyx.org>
789
790         * output_plaintext.[Ch] (writeFileAscii): control reference title
791         printing.
792         (asciiParagraph): noparbreak was already deal and was incorrectly
793         used.
794
795 2005-07-15  Juergen Vigna <jug@lyx.org>
796
797         * lyxfunc.C (dispatch): save and restore the cursor after a
798         textclass switch.
799
800 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
801
802         * text.C (backspace): bug 806 for empty keepempty paragraphs we
803         change the layout to default before letting DEPM do its thing.
804
805         * paragraph_funcs.C (breakParagraph): dont reset the layout on
806         keepEmpty paragraphs
807
808         * text.C (setCursorFromCoordinates): add a debug statement
809
810         * text2.C (getColumnNearX): bug 1825 make sure that we don't
811         return a pos that is not on the row
812
813         * output_latex.C (TeXDeeper): get rid of potential dereferencing
814         of past the end iterator
815
816 2005-07-14  André Pönitz  <poenitz@gmx.net>
817
818         * undo.C (recordUndoFullBuffer): implement undo for
819         textclass switches
820
821 2005-07-14  André Pönitz  <poenitz@gmx.net>
822
823         * cursor.C (setSelection): open insets when selection is set there
824         to avoid crashs with cold coord cache
825
826 2005-07-14  André Pönitz  <poenitz@gmx.net>
827
828         * trans_mgr.C (insert): move cursor to the right after inserting
829         a char.
830
831 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
832
833         * BufferView_pimpl.C (update): dampen some of the debug blabbering
834         * factory.C (readInset): ditto
835         * text.C, text2.C: ditto
836
837 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
838
839         * buffer.C: format incremented to 242. There is no file format per
840         se, but the "frenchb" language has been removed from lib/language
841         and has to be translated to "french" by lyx2lyx.
842
843 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
844
845         * cursor_slice.h, dociterator.h: add some documentation
846         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
847
848 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
849
850         * text.C (leftMargin): do not add identation to display() style
851         insets, because they are always centered (bug 1293).
852
853 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
854
855         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
856         formatted_time methods in support/lyxtime.
857
858 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
859
860         * toc.[Ch]: new method getGuiName, which is used by the frontends 
861         to set the toc combo (fixes bug 1870). Make TOC string translatable.
862
863 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
864
865         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
866         StableDocIterator const &)
867         * undo.C (recordUndo): use the above instead of cell.size() comparison
868         (fixes bug 1808; instructed by Andr�.
869
870 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
871
872         * cursor_slice.h: 
873         * dociterator.h: Fix the assert when copying rows/cols in math
874
875 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
876
877         * BufferView_pimpl.C:
878         * LyXAction.C:
879         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
880
881         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
882         (findInset): new functions, refactored from goto Inset that return 
883         the position of a certain inset without setting the buffer's cursor
884         (by Jean-Marc); 
885         (gotoInset): rewrite to call findInset and then set the cursor
886         (by Jean-Marc).
887
888 2005-06-16  Angus Leeming  <leeming@lyx.org>
889
890         * lyxrc.C (output, read): wrap all input and output of paths with
891         calls to os::internal_path and os::external_path, respectively.
892         (output): wrap bind_file inside quotes.
893
894         * format.C (view): enable the viewer to use the '$$s' placeholder.
895
896 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
897
898         * LColor.[Ch] (getFromLaTeXName): new
899
900 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
901
902         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
903
904 2005-06-14  Angus Leeming  <leeming@lyx.org>
905
906         * lyx_main.C (init): ensure that the LyX binary dir is the first
907         element in the PATH on non-POSIX builds.
908
909 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
910
911         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
912
913 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * rowpainter.C (paintInset, paintHebrewComposeChar)
916         (paintArabicComposeChar, paintChars): add a LyXFont argument.
917         (paintChars): use getFontSpan to reduce calls to getFont to a
918         minimum; use Paragraph::lookupChange instead of isXXXText.
919         (paintForeignMark): rename LyXFont argument.
920         (paintFromPos): pass a LyXFont object to the various paintXXX
921         methods.
922
923         * FontIterator.C (FontIterator, operator++): use
924         Paragraph::getFontSpan
925
926         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
927         version that returns the font span as a pair.
928
929 2005-06-09  Angus Leeming  <leeming@lyx.org>
930
931         * converter.C (convert): Don't forget "outfile = real_outfile" as
932         the final step in a conversion where the input and output file names
933         are the same. Otherwise, future conversion steps won't work...
934
935 2005-06-09  Angus Leeming  <leeming@lyx.org>
936
937         * lyxsocket.C: remove stub code as it isn't needed by
938         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
939
940 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
941
942         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
943         effectively disabled -x
944
945 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
946
947         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
948         when it actually makes sense.
949
950 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
951
952         * BufferView_pimpl.C: revert to showCursor in connection with
953         Lars's front-end stack
954
955 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
956
957         * text.C (redoParagraph): move cursor right after a bibitem
958         has been inserted.
959
960         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
961
962 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
963
964         * buffer_funcs.C (bufferErrors): fix computation of the end of an
965         error range.
966
967 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
968
969         * BufferView.[Ch] (update):
970         * BufferView_pimpl.[Ch] (update, metrics):
971         * dimension.h (operator==):
972         * lyxfunc.C (dispatch):
973         * metricsinfo.h (ViewMetricsInfo):
974         * rowpainter.C (paintText):
975         * lyxtext.h:
976         * text.C (redoParagraph):
977         * text3.C (dispatch): Make LyX only repaint current paragraph in
978         case of character insert --> speedup. Also fix cursor draw
979         artifacts
980
981 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
982
983         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
984         avoid a crash (bug 1891)
985
986 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
987
988         Fix bug 1892:
989
990         * text2.C (getStringToIndex): constify cur argument.
991
992         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
993         argument has been given
994         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
995         try to invoke LFUN_INSET_APPLY).
996
997         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
998         if no inset was created by doInsertInset
999         (doInsertInset): return true if an inset has been inserted.
1000
1001 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1002
1003         * vspace.C (asGUIName): new method. A version of the space
1004         suitable for showing on screen.
1005
1006 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1007
1008         * MenuBackend.C:
1009         * lyxrc.C: rename "ASCII" to "Plain Text"
1010
1011 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1012
1013         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1014         translate the labelstring.
1015         (setCounter): translate labelstring as needed.
1016
1017         * output_docbook.C (makeCommand): fix expandLabel invokation
1018
1019 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1020
1021         * BufferView.C: fix dialog title
1022
1023 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1024
1025         * lyx_main.C (priv_exec): fix logic error with help from Angus
1026         * lyx_main.C (parse_execute): set is_gui = false and remove now
1027         obsolete comment about a segfault
1028
1029 2005-05-18  Angus Leeming  <leeming@lyx.org>
1030
1031         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1032
1033 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1034
1035         * tabular.[hC]: added setCellInset to fix tabular paste.
1036
1037 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1038
1039         * buffer.C (save): check if destination is writable before trying
1040         to copy a file
1041
1042 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1043
1044         * BufferView_pimpl.C (update): fix processEvents -caused update
1045         recursion bug
1046
1047 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1048
1049         * buffer_funcs.C (setCounter): fix test for numbering of
1050         environments.
1051
1052         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1053         depth correctly; use optional argument when it exists
1054
1055         * lyxtextclass.C: remove unused MaxCounterTags enum
1056         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1057         (max_toclevel, min_toclevel): new methods.
1058
1059         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1060         the smallest depth in toc.
1061
1062         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1063         layouts that should not appear in a table of contents.
1064
1065 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1066
1067         * cursor.h (undispatched, noUpdate): add comments from Andr�
1068 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1069
1070         * lfuns.h:
1071         * LyXAction.C:
1072         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1073
1074 2005-05-07  André Pönitz  <poenitz@gmx.net>
1075
1076         * cursor.[Ch] (leaveInset): new function
1077
1078 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1079
1080         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1081
1082 2005-05-04  Angus Leeming  <leeming@lyx.org>
1083
1084         * lyxfunc.C (getStatus): disable the spell checker dialog if
1085         none of USE_[AIP]SPELL are defined.
1086
1087 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1088
1089         * tabular.C (setWidthOfCell): remove obsolete comment
1090
1091 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1092
1093         * paragraph.C (bibitem):
1094         * buffer_funcs.C (setCounter):
1095         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1096
1097 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1098
1099         * text3.C (getStatus): immediately return after setOnOff
1100
1101         * rowpainter.C: fix drawing of appendix start
1102
1103 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1104
1105         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1106         SwitchBetweenClasses and remove the unused return value.
1107         Handle character styles, too
1108
1109 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1110
1111         * factory.C (createInset): handle undefined character styles
1112
1113 2005-05-02  Angus Leeming  <leeming@lyx.org>
1114
1115         * buffer.C: protect the #include of utime.h with a preprocessor
1116         guard.
1117
1118 2005-05-02  Angus Leeming  <leeming@lyx.org>
1119
1120         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1121         function so that auto-saving works, albeit in a blocking manner.
1122
1123         * Makefile.am: make compilation of the client sub directory, of
1124         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1125         on conditionals set at configure time.
1126
1127         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1128         it can be compiled in its own right but has no-op functionality.
1129
1130         * aspell.C, pspell.C: remove preprocessor guards. The files should
1131         be compiled only if the necessary functionality exists.
1132
1133         * lyxserver.C, lyxsocket.C: disable on Windows.
1134
1135 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1136
1137         * text.C (leftMargin): Fix the parindent use bug (1764)
1138         by dirty trick
1139
1140 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1141
1142         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1143         argument.
1144
1145 2005-04-25  Angus Leeming  <leeming@lyx.org>
1146
1147         * Bidi.[Ch]:
1148         * coordcache.[Ch]:
1149         * ispell.C:
1150         * lyxserver.C:
1151         * mover.C:
1152         * pch.h:
1153         include <config.h> in .C files, not .h ones.
1154         add licence blurb.
1155         protect headers inside preprocessor guards.
1156
1157 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1158
1159         * FuncStatus.h (StatusCodes): document
1160
1161 2005-04-21  André Pönitz  <poenitz@gmx.net>
1162
1163         * FuncStatus.h (enabled, onoff): document
1164
1165 2005-04-19  Angus Leeming  <leeming@lyx.org>
1166
1167         * BufferView_pimpl.C (cursorToggle): no longer test whether
1168         any child processes have been reaped before calling
1169         handleCompletedProcesses().
1170
1171 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * text3.C (dispatch): fix, finally fix, the language problem in
1174         new lyxtexts, without disabling on-the-fly font changes (Helge's
1175         bug report)
1176
1177 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1178
1179         * text3.C (dispatch): set cursor on double/triple click events
1180         (bug 1811)
1181
1182 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1183
1184         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1185         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1186
1187         * rowpainter.C (paintFirst): simplify the code a little bit. In
1188         particular, remove the test for secnumdepth.
1189         * text.C (setHeightOfRow): only allocate space for chapter number
1190         when updateCounters provided an actual label, instead of looking
1191         at secnumdepth directly.
1192
1193         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1194
1195         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1196         paragraphs when secnumdepth is large enough or, for environments,
1197         when they are not the first in a sequence.
1198
1199 2005-04-17  Angus Leeming  <leeming@lyx.org>
1200
1201         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1202         containing space and '~' characters with a call to latex_path().
1203
1204 2005-04-17  Angus Leeming  <leeming@lyx.org>
1205
1206         * converter.C (convert): protect all args of convertDefault.sh
1207         script with quotes.
1208
1209 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         * text3.C (dispatch): change the layout to "Caption" after inserting
1212         a float.
1213
1214 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1215
1216         * text3.C (dispatch): fix language problem in newly created
1217         textinsets (and main text) in non-english docs
1218
1219 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1220
1221         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1222         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1223         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1224
1225 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1226
1227         * lyxtext.h:
1228         * text.C (metrics):
1229         * text2.C (getFont):
1230         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1231         fonts fix
1232
1233 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1234
1235         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1236         output of \item arguments without trailing text.
1237
1238 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1239
1240         * FontIterator.C (operator*): avoid a copy of the font.
1241
1242 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1243
1244         * rowpainter.C (getFont): fix language bug from previous fix
1245
1246 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1247
1248         * rowpainter.C (RowPainter, getFont): fix font inside inset
1249         (bugs 1766, 1809)
1250
1251 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1252
1253         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1254         preventing inserted font, deco, delim insets jumping to start of
1255         surrounding inset.
1256
1257 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1258
1259         * lyxfunc.C (dispatch): translate message before sending it to the
1260         minibuffer.
1261
1262 2005-03-29  Angus Leeming  <leeming@lyx.org>
1263
1264         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1265         to LyX on the command line.
1266
1267 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1268
1269         * vc-backend.C: use QuoteName to protect file names wherever
1270         necessary.
1271
1272 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1273
1274         * buffer.[Ch]:
1275         * BranchList.h: fix bugs 1844,1845: document settings don't
1276         stick
1277
1278 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * lyxrc.C (setDefaults, read, output, getDescription): add support
1281         for tex_allows_spaces.
1282
1283         * exporter.C (Export): allows files in directory containing spaces
1284         if tex_allows_spaces is true.
1285
1286         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1287         output it in double quotes.
1288
1289 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1290
1291         * rowpainter.C: use default text height for drawing change tracker
1292         strikeout lines.
1293
1294 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1295
1296         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1297
1298 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1301         directory is missing.
1302
1303 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * text2.C: fixed the fix, extended to other case.
1306
1307 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1308
1309         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1310
1311 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1312
1313         * text2.C (cursorUp): get rid of a crash
1314         * text.C (x2pos): add an assert
1315
1316 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1319
1320         * text3.C:
1321         * lyxfunc.C:
1322         * dociterator.C: include <boost/current_function.hpp>, which is
1323         needed when assertions are disabled.
1324
1325 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1326
1327         * text2.C: fix for stuck cursor when traversing two
1328         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1329
1330 2005-02-25  Andreas Vox  <avox@arcor.de>
1331
1332         * output_docbook.C (makeParagraph): suppress trailing newline
1333         after a run of paragraphs
1334
1335 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1336
1337         * paragraph.C: fix for confused change tracker when pasting
1338         text that begins with a lineseparator. [bug 1827]
1339         (setChange(0, Change::INSERTED);)
1340
1341         * paragraph_funcs.C: fix for lost changes on triple-paste
1342         in change tracking mode [bug 1827] (par.setChange()).
1343
1344 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1345
1346         * text2.C (updateCounters, setCounter, expandLabel): move to
1347         buffer_funcs.
1348
1349         * buffer_funcs.C (updateCounters): turn into a free standing
1350         function and add a buffer parameter. Remove dead code for tracking
1351         labelstring change.
1352         (setCounter): change into a free-standing function which gets a
1353         dociterator as argument. Use this iterator to fix captions in a
1354         simple way. When no float is found above the caption, use the
1355         labelstring of the caption layout as default.
1356
1357         * text.C (breakParagraph, backspace):
1358         * text2.C (init, setLayout, changeDepth):
1359         * text3.C (dispatch):
1360         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1361         updateCounters.
1362
1363         * dociterator.C (forwardPar): make it much faster by calling
1364         forwardPos() only when really necessary.
1365
1366         * output_docbook.C (makeCommand): adapt to expandLabel move.
1367
1368         * cursor.C: remove unused variable
1369
1370 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1371
1372         * paragraph_funcs.C: fix crash when pasting insets in change
1373         tracking mode [bug 1277] (honour change type in moveItem).
1374
1375 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1376
1377         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1378
1379 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * BufferView.C (setCursor): change to use a DocIterator.
1382         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1383         (putSelectionAt): adapt to BufferView::setCursor change.
1384
1385         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1386         moved here from LyXText and rewritten to use proper cursor
1387         methods. Fixes bug 1787, 616 and 835.
1388
1389         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1390         when inside an inset (part of bug 781).
1391         (dispatch): adapt to change of BufferView::setCursor.
1392         (getStatus, dispatch): handle LFUN_GOTOERROR,
1393         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1394
1395         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1396         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1397         * text3.C (gotoNextInset, gotoInset): removed.
1398
1399 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1402
1403 2005-02-15  Angus Leeming  <leeming@lyx.org>
1404
1405         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1406         can be used meaningfully in a comparison.
1407
1408 2005-02-13  André Pönitz  <poenitz@gmx.net>
1409
1410         * bufferview_funcs.C (coordOffset): improve cursor drawing
1411
1412 2005-02-13  André Pönitz  <poenitz@gmx.net>
1413
1414         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1415         * Cursor.C (dispatch): use fixIfBroken
1416         * lyxfunc.C (getStatus): use fixIfBroken
1417
1418 2005-02-15  Angus Leeming  <leeming@lyx.org>
1419
1420         * lyx_main.C (error_handler):
1421         * lyxfunc.C:
1422         * lyxrc.C (setDefaults):
1423         s/GetEnv/getEnv/.
1424         #include "environment.h".
1425
1426         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1427
1428 2005-02-15  Angus Leeming  <leeming@lyx.org>
1429
1430         * lyxserver.C (startPipe): squash MSVC warning "local variable
1431         'fd' used without having been initialized".
1432
1433 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1434
1435         * BufferView_pimpl.C: revert accidental commit.
1436
1437 2005-02-14  André Pönitz  <poenitz@gmx.net>
1438
1439         * dociterator.[Ch]: new member forwardPosNoDescent(),
1440         which doesn't enter nested insets.
1441         * text2.C (setFont): use forwardPosNoDescent() instead
1442         of ForwardPos() (fixes crash on font change).
1443
1444 2005-02-13  Angus Leeming  <leeming@lyx.org>
1445
1446         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1447         only if lyxrc.path_prefix is not empty.
1448
1449 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1450
1451         * bufferparams.C (readGraphicsDriver): prevent crash
1452
1453 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1454
1455         * text2.C (setCounter): check for inInset() == 0
1456
1457 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1458
1459         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1460         but use update() to get correct screen display; use convert
1461         instead of istringstream.
1462         (getStatus): handle LFUN_GOTO_PARAGRAPH
1463
1464         * lyxfunc.C (dispatch, getStatus): do not handle
1465         LFUN_GOTO_PARAGRAPH here.
1466
1467 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1468
1469         * text3.C (dispatch): size() -> depth()
1470
1471         * text2.C: remove some debug output
1472
1473         * paragraph.C: ws changes only
1474
1475         * lyxfunc.C (getStatus): size() -> depth()
1476
1477         * dociterator.h (clear, push_back, pop_back, internalData,
1478         operator[], resize, empty): new functions
1479         Make StableDocIterator and operator== be friends. Don't inherit
1480         from std::vector use a privat class variable slices_ instead.
1481         Modify to fit.
1482
1483         * dociterator.C: update because of not inheriting from std::vector
1484         anymore. Call explictly to slices_ instead. Use depth() instead of
1485         size() and top() instead of back()
1486
1487         * cursor.C: chagne size() -> depth and back() -> top(). Also
1488         remove some direct operator[](i) calls in favour of foo[i]
1489         (getFont): remove some dead code
1490
1491         * bufferview_funcs.C (coordOffset): size() -> depth()
1492
1493         * buffer.C: ws changes only
1494
1495         * CutAndPaste.C (eraseSelection): back() -> top()
1496
1497         * BufferView_pimpl.C (selectionRequested): back() -> top()
1498
1499         * BufferView.C (setCursor): size() -> depth()
1500
1501 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1502
1503         * text3.C (cursorPrevious): return true if depm changed something
1504         (cursorNext): ditto
1505         (dispatch): rename sl to oldTopSlice, remove moving use the new
1506         NoUpdate func attrib instead. Make sure that needsUpdate is set
1507         for function that have NoUpdate, but where depm might have changed
1508         the buffer anyway.
1509
1510         * text2.C (cursorLeft): make us return true if depm changed
1511         something
1512         (cursorRight): ditto
1513         (cursorUpParagraph): ditto
1514         (curosrDownParagraph): ditto
1515         (cursorUp, cursorDown): ditto, make sure to read comments in code
1516         (deleteEmptyParagraphMechanism): remove an assert, also return
1517         true if just a single char was deleted.
1518
1519         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1520         cursor that we modify, to avoid modifying an active cursor before
1521         we call setCursor. This allows depm to run. Also return true if
1522         depm deleted something.
1523
1524         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1525         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1526         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1527         something was changed in the buffer because of them (ie. depm run)
1528
1529         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1530         debug messages. Make update by default be false. Make sure that
1531         the result of update is retained throught several calls down to
1532         dispatch.
1533
1534         * LyXAction.h: add a new func_attrib: NoUpdate
1535
1536         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1537         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1538         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1539         and LFUN_WORDLEFT
1540         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1541
1542 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1543
1544         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1545         bv_->owner(), bv_->buffer() by direct references to the private
1546         members.
1547         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1548         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1549         (fitCursor): center() is in BufferView::Pimpl.
1550         (getStatus, trackChanges, dispatch): no need for a temporary buf
1551         variable
1552         (fitCursor, workAreaDispatch): use workarea().workheight()
1553
1554 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1555
1556         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1557
1558 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1559
1560         * buffer.C: format up to 241.
1561         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1562         break if pasting into ERT
1563         * lyxfunc.C (getStatus): suppress mathpanel and
1564         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1565
1566 2005-02-01  Angus Leeming  <leeming@lyx.org>
1567
1568         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1569
1570 2005-02-01  Angus Leeming  <leeming@lyx.org>
1571
1572         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1573         calling fs::is_directory().
1574
1575 2005-01-31  Angus Leeming  <leeming@lyx.org>
1576
1577         * lyx_main.C (priv_exec): specify explicitly the relative location
1578         of the top level build directory when run in-place.
1579
1580 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1583         LyXText containing the cursor, not the top-level one.
1584
1585         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1586         true.
1587         (insertStringAsLines): rename par to pit; use temporary variable
1588         par to hold a Paragraph; do not store par.layout() in a variable,
1589         since the pointer may die when breaking paragraphs; pass pars to
1590         breakParagraph() instead of Buffer::paragraphs().
1591
1592 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1593
1594         * lyxlex_pimpl.h: #include <fstream>.
1595
1596         * BufferView.[Ch] (getLyXText): add a const version.
1597
1598         * BufferView_pimpl.C: add debug aids.
1599
1600         * RowList_fwd.h:
1601         * buffer.h:
1602         * lyxrow.h:
1603         * paragraph_funcs.h: add commentary explaining what the class does.
1604
1605
1606         * coordcache.[Ch]: add lots of commentary.
1607         (startUpdating, doneUpdating): debug aids.
1608         (arrays, insets, parPos, getParPos): accessors to private data.
1609
1610         * cursor_slice.[Ch] (text): add a const version.
1611         * dociterator.[Ch] (text, innerText): add const versions.
1612
1613         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1614         bool.
1615
1616         * paragraph.C (getRow, pos2ros): add asserts.
1617
1618         * paragraph.h: add commentary. Lots of.
1619
1620         * paragraph.[Ch] (metrucs, draw): removed.
1621
1622         * cursor.C:
1623         * rowpainter.[Ch]: const-correct changes.
1624
1625         * text.C: various obvious clean-ups. Removal of ancient cruft.
1626         Bug fixes, even.
1627
1628 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1629
1630         * vc-backend.C (find_file): rewrite to use boost.filesystem
1631         (scanMaster): ditto
1632
1633         * main.C (main): set default name check for boost.filesystem to
1634         no check
1635
1636         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1637         (open): ditto
1638         (doImport): ditto
1639         (actOnUpdatedPrefs): ditto
1640
1641         * lyx_main.C (init): rewrite to use boost.filesystem
1642         (queryUserLyXDir): ditto
1643
1644         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1645         (getContentsOfAsciiFile): ditto
1646
1647         * lastfiles.C (readFile): rewrite to use boost.filesystem
1648
1649         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1650
1651         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1652         (loadLyXFile): ditto
1653
1654         * buffer.C (Buffer): adjust for destroydir
1655         (getLogName): rewrite to use boost.filesystem
1656         (setFileName): ditto
1657         (save): use fs::copy_file (from fs_extras)
1658
1659         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1660
1661         * LaTeX.C (run): rewrite to use boost.filesystem
1662         (scanAuxFiles): ditto
1663         (handleFoundFile): ditto
1664
1665 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1666
1667         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1668
1669         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1670
1671 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1672
1673         * lyxlayout.[Ch]: change some vars from float to double
1674
1675         * buffer.C (readFile): make a local var const
1676
1677         * Several files: use convert<> instead of atoi,strToXXX and friends
1678
1679 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1680
1681         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1682         holds the contents of packages.lst. New functions getAvailable
1683         and isAvailable to parse and check that list, resp.
1684
1685         * LyXAction.C:
1686         * lfuns.h:
1687         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1688
1689         * bufferparams.[Ch]: new param output_changes.
1690
1691         * Buffer.C: increase file format to 240.
1692         Use output_changes and isVailable.
1693
1694         * changes.[Ch]:
1695         * paragraph.C:
1696         * paragraph_pimpl.C: Use output_changes and isVailable.
1697
1698 2005-01-23  Angus Leeming  <leeming@lyx.org>
1699
1700         * output_latex.C: #include "insetbibitem.h", rather than
1701         forward declare function bibitemWidest.
1702
1703 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1704
1705         * lyx_main.C (init): make it compile on the Mac.
1706
1707 2005-01-20  Angus Leeming  <leeming@lyx.org>
1708
1709         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1710         (setLyXMisc): (char string literal) != (char string literal) is
1711         performing a comparison on the addresses. Convert one operand
1712         explicitly to string to guarantee expected behaviour.
1713         From MSVC warning.
1714
1715 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1716
1717         * buffer.C:
1718         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1719
1720         * output_plaintext.C: remove unneeded #include gzstream.h.
1721
1722 2005-01-20  Angus Leeming  <leeming@lyx.org>
1723
1724         * SpellBase.h: rename some of the elements of the Result enum.
1725
1726         * aspell_local.h:
1727         * ispell.h:
1728         * pspell.h:
1729         * aspell.C (check):
1730         * ispell.C (check):
1731         * pspell.C (check): ditto
1732
1733 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1734
1735         * buffer.C: add #include <fstream>.
1736
1737         * lyx_main.C (init): Compile fix.
1738
1739         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1740
1741 2005-01-20  Angus Leeming  <leeming@lyx.org>
1742
1743         * mover.h: change commentary to reflect the changed meaning of
1744         the $$s placeholder.
1745
1746 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1747
1748         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1749
1750         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1751
1752 2005-01-20  Angus Leeming  <leeming@lyx.org>
1753
1754         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1755         printing diagnostic data by not dereferecing an iterator past the
1756         end.
1757
1758 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1759
1760         * buffer.C (readHeader): use "&&" rather than "and".
1761
1762         * lyxserver.h (inPipeName, outPipeName): make these const.
1763
1764 2005-01-19  Angus Leeming  <leeming@lyx.org>
1765
1766         * lyx_main.C (error_handler, init): protect SIGHUP with
1767         #ifdef SIGHUP guards.
1768
1769 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1770
1771         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1772
1773 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1774
1775         * text.C (setHeightOfRow): add a margin at the top and bottom of
1776         the document (bug 1761)
1777
1778 2005-01-17  Angus Leeming  <leeming@lyx.org>
1779
1780         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1781         with "python ". Workaround for a brain-dead Windows.
1782
1783 2005-01-16  Angus Leeming  <leeming@lyx.org>
1784
1785         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1786         for MacOSX and Windows to use prependEnvPath.
1787         Strip out the hard-coded block to add elements to the PATH for
1788         MacOSX and replace it with a call to prependEnvPath using the
1789         contents of LyXRC::path_prefix.
1790         (queryUserLyXDir): strip out the code to run reconfigure, instead
1791         returning a boolean indicating the necessity to do so.
1792         (reconfigureUserLyXDir): contains the code to reconfigure the
1793         user support directory. Is now called after the various LyXRC data
1794         files have been read.
1795
1796         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1797
1798 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1799
1800         * converter.[Ch] (convert): take a new parameter try_default. Use
1801         a default converter (imagemagick) if try_default is true.
1802
1803 2005-01-13  Angus Leeming  <leeming@lyx.org>
1804
1805         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1806         os::cygwin_path_fix.
1807         (write): output LyXRC::cygwin_path_fix as necessary.
1808
1809 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1810
1811         * lyxrc.h:
1812         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1813
1814 2005-01-12  Angus Leeming  <leeming@lyx.org>
1815
1816         * lyx_main.C (init): set the PATH variable to include the
1817         directory containing the LyX binary when running on Mac or Windows.
1818
1819 2005-01-12  Angus Leeming  <leeming@lyx.org>
1820
1821         * lyx_main.C (init): remove cruft that purports to set the locale
1822         dir. It doesn't and is not needed anyway.
1823
1824 2005-01-10  Angus Leeming  <leeming@lyx.org>
1825
1826         * Makefile.am: remove the lyx_main.C special casing.
1827
1828         * BufferView_pimpl.C:
1829         * bufferlist.C:
1830         * exporter.C:
1831         * lyx_cb.C:
1832         * lyx_main.C:
1833         * lyxfunc.C:
1834         * messages.C: use support/package.h to provide the paths to the
1835         various directories used by LyX.
1836
1837 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1838
1839         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1840         layout if pasting into an empty paragraph)
1841
1842 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1843
1844         * tex-accent.C: add <string>
1845
1846 2005-01-06  José Matos  <jamatos@lyx.org>
1847
1848         * ParagraphParameters.C (write): put every parameter in its own line.
1849         * paragraph.C (write): reduce number of consecutive empty lines exported.
1850         * buffer.C (LYX_FORMAT): increase file format to 239.
1851
1852 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1853
1854         * everywhere: change support/tostr.h -> support/convert.h
1855
1856         * tabular.C: make all write_attributes templates, tostr -> convert
1857
1858         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1859         (emptyTag): and -> &&, and fix type for ret from getChar
1860         (getFirstWord): fix type for ret from getChar
1861         (onlyText): and -> &&
1862         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1863         getChar
1864
1865         * toc.C (goTo, action):
1866         * text3.C (dispatch):
1867         * text.C (currentState):
1868         * tex-accent.C (DoAccent):
1869         * sgml.C:
1870         * lyxrc.C:
1871         * lyxfunc.C (menuNew):
1872         * lyxfinc.C (replace):
1873         * counters.C (laberItem):
1874         * bufferview_funcs.C (font2string):
1875         * bufferparams.C (writeFile):
1876         * buffer.C (readFile):
1877         * Spacing.C (set):
1878         * MenuBackend.C: tostr -> convert
1879
1880         * LaTeX.C (runMessage): fix format
1881         (scanAuxFiles): tostr -> convert
1882
1883         * BufferView_pimpl.C (savePosition): fix format
1884         (restorePosition): ditto
1885         (dispatch): ditto
1886
1887 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1888
1889         * Spacing.[Ch]: New method getValueAsString().
1890
1891         * Spacing.[Ch]:
1892         * bufferparams.C:
1893         * ParagraphParameters.C:
1894         * lyxlayout.C:
1895         * text.C:
1896         * text3.C: store/read spacing value as string.
1897
1898         * rowpainter.C: change float value (spacing_val) to double.
1899
1900         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1901         broken custom document spacing).
1902
1903 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1904
1905         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1906         namespace, also more use of temp references and const
1907
1908         * cursor.[Ch] (getStatus): move to lyxfunc.C
1909
1910         * bufferparams.C: reformat slightly
1911
1912         * bufferview_funcs.C (font2string): constify arg
1913
1914         * changes.C:
1915         * converter.C:
1916         * counters.C:
1917         * bufferlist.C:
1918         * buffer_funcs.C: (many funcs): constify arg on function
1919         definitions, also make more local vars const, also add ASSERTS on
1920         pointer args.
1921
1922         * buffer.C (LYX_FORMAT): put const in correct place
1923         (many funcs): constify arg on function definitions, also make
1924         more local vars const
1925
1926         * aspell_local.h: remove "struct" from typdef setup
1927
1928         * aspell.C (check): make word_ok const
1929         (nextMiss): simplify slightly
1930         (error): ditto
1931
1932 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1933
1934         * lyxrc.[Ch]: store all float values as strings.
1935         use int (not float) for lyxrc.dpi.
1936
1937 2005-01-04  Angus Leeming  <leeming@lyx.org>
1938
1939         * lyx_cb.C (Reconfigure):
1940         * lyx_main.C (queryUserLyXDir):
1941         to run the <system_lyxdir>/configure correctly on Windows, prefix
1942         the path to the script with "sh " when generating the string that
1943         is passed to system().
1944
1945 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1946
1947         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1948
1949 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1950
1951         * lyxlength.C (asLatexString): get rid of setprecision
1952
1953 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * text2.C (setLayout): remove unused variable endpit.
1956         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1957
1958         * paragraph.C (onlyText): remove unused variable style.
1959
1960         * cursor.C (bruteFind): remove unused variables beg and end.
1961
1962         * Makefile.am (dist_noinset_DATA): not needed anymore
1963
1964         * cheaders/*: remove.
1965
1966 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1967
1968         * text3.C: fix LFUN_MATH_MODE.
1969
1970 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1971
1972         * buffer_funcs.C (countWords): new function. Counts words between
1973         two iterators.
1974
1975         * BufferView_pimpl.C (getStatus, dispatch): handle
1976         LFUN_WORDS_COUNT.
1977
1978         * LyXAction.C (init):
1979         * lfuns.h: add LFUN_WORDS_COUNT.
1980
1981 2004-12-19  Angus Leeming  <leeming@lyx.org>
1982
1983         * buffer.C (save): s/slashify_path/internal_path/.
1984
1985 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1986
1987         * lyxfind.C (findChange): do not search for end of pars, because
1988         the change tracker cannot handle this (fixes bug 1719).
1989
1990 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1991
1992         * paragraph.[Ch] (autoBreakRows): remove
1993
1994         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1995
1996         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1997         avoid using the paragraph one
1998
1999         * text2.C (LyXText, insertStringAsLines): adjust
2000
2001 2004-12-16  Angus Leeming  <leeming@lyx.org>
2002
2003         * bufferlist.C:
2004         * lyx_main.C:
2005         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2006
2007 2004-12-14  Angus Leeming  <leeming@lyx.org>
2008
2009         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2010
2011         * bufferlist.C (emergencyWrite):
2012         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2013         GetEnvPath("HOME").
2014
2015 2004-12-14  Angus Leeming  <leeming@lyx.org>
2016
2017         * main.C: (main): no longer pass pointers to os::init.
2018
2019 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2020
2021         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2022         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2023
2024 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2025
2026         * lyxfunc.C:
2027         * text3.C: remove selection_possible global flag
2028
2029 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2030
2031         * text2.C (getSelectionSpan): remove
2032         (changeDepth, changeDepthAllowed): adjust
2033
2034 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2035
2036         * Makefile.am (BOOST_LIBS): use boost variables
2037
2038 2004-12-03  José Matos  <jamatos@lyx.org>
2039
2040         * buffer.C: format up to 238.
2041
2042 2004-12-03  José Matos  <jamatos@lyx.org>
2043
2044         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2045
2046 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2047
2048         * cursor.C (goUpDown): remove call to idxUpDown2
2049
2050 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2051
2052         * tabular.[Ch]: use size_t-like types for cell, row and column
2053         indices
2054
2055 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2056
2057         * lyxfunc.C (getStatus): do not lose previous information when
2058         calling BufferView::getStatus; do not set a default "Command
2059         disabled" message at the beginning, but just before returning.
2060
2061 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2062
2063         * cursor.h (getStatus): add better comment from src/cursor.C
2064
2065 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2066
2067         * text3.C (getStatus): return false when the lfun is not handled
2068
2069 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         * broken_headers.h: remove
2072
2073         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2074
2075 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2076
2077         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2078         offset_ref accessors
2079
2080         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2081         top_y_, merge fitcursor with update
2082         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2083         coord scheme
2084         (metrics): introduce
2085         (workAreaDispatch): adapt to new coord scheme
2086         (redoCurrentBuffer): remove
2087
2088         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2089
2090         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2091         CurStatus enum.
2092
2093         * coordcache.[Ch]: add paragraph cache and helpers
2094
2095         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2096         adjust everywhere
2097
2098         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2099         (targetX, setTargetX): introduce
2100
2101         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2102         baseline -> ascent, as the rest of lyx
2103
2104         * lyxtext.h: remove redoParagraphs, updateParPositions,
2105         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2106         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2107         have ascent/descent (ascent is ascent of first par)
2108
2109         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2110         step of BufferView
2111
2112         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2113
2114         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2115
2116         * pariterator.C: fix infinite loop introduced in par->pit renaming
2117
2118         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2119         in insets and LyXText, draw two off-screen paragraphs using
2120         NullPainter, and adapt to new coord scheme
2121
2122         * text.C:
2123         * text2.C:
2124         * text3.C: adapt lfun handlers to the new coord scheme, which
2125         means: there's only guaranteed coord information for onscreen pars
2126         plus one above and one below. This implies that one can do search
2127         from y coordinates in the range [-1,workHeight]
2128
2129 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * rename a lot of InsetOld to InsetBase
2132
2133 2004-11-25  Angus Leeming  <leeming@lyx.org>
2134
2135         * BufferView_pimpl.C:
2136         * lyx_cb.C:
2137         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2138
2139 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2140
2141         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2142         call BufferView::getStatus if LCursor::getStatus did nothing
2143         (setStatusMessage, getStatusMessage): removed.
2144
2145         * FuncStatus.C (message): new methods. Used to provide an error
2146         message indicating why a command is disabled.
2147         (clear, |=, FuncStatus): update for message.
2148
2149 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2150
2151         * lyxfunc.C (dispatch): always call sendDispatchMessage
2152
2153 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2154
2155         * BufferView.C:
2156         * BufferView_pimpl.C:
2157         * CutAndPaste.C:
2158         * FontIterator.C:
2159         * buffer.C:
2160         * cursor.C:
2161         * cursor_slice.[Ch]:
2162         * dociterator.[Ch]:
2163         * lyxfind.C:
2164         * paragraph_funcs.C:
2165         * pariterator.C:
2166         * rowpainter.C:
2167         * text.C:
2168         * text2.C:
2169         * text3.C:
2170         * undo.C: par->pit renaming
2171
2172 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2173
2174         * tabular.C (cellstruct): use initialization, store a shared_ptr
2175         to insettext instead of the insettext directly, adjust to fit.
2176         (operator=):  new function
2177         (swap): new function
2178         (rowstruct): use initialization
2179         (columnstruct): use initialization
2180         (ltType): use initialization
2181
2182
2183         * lyxlength.h (swap): new function
2184
2185         * LColor.[Ch] (operator=): use the common semantics
2186
2187 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2188
2189         * lyxfind.C (findNextChange): update the bufferview after setting
2190         the selection.
2191
2192 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2193
2194         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2195         number of InsetOptArgs has already been inserted.
2196
2197         * output_latex.C (latexOptArgInsets): new method. This outputs all
2198         the optarg insets, up to the limit defined in the layout file.
2199         (optArgInset): removed
2200         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2201
2202 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2203
2204         * paragraph.C (isLetter): remove special spellchecker-related
2205         code; return true also for digits
2206         (isWord, isKomma): remove
2207
2208         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2209         * lyxfind.C (MatchString()): use isLetter instead of isWord
2210
2211 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2212
2213         * pariterator.h (operatir=): comment out un-implemented member
2214         function.
2215
2216         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2217         static cast.
2218
2219 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2220
2221         * lyxfont.h: include LColor.h to satisfy concept checks.
2222
2223 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2224
2225         * pariterator.h: add typdefs for value_type, difference_type,
2226         pointer and reference to satisfy concept checks. Also add default
2227         constructor for same reason.
2228
2229         * pariterator.C (operator++): add post-increment operator to
2230         satisfy concept checks.
2231
2232         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2233         checks.
2234
2235         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2236
2237         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2238         checks. Also rename base_type to BaseType to follow naming
2239         standard better.
2240
2241         * FloatList.h: include Floating.h to satisfy concept checks.
2242
2243 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2244
2245         * lyxfunc.C (getStatus): when the origin of the request is menu or
2246         toolbar, and the LyXView does not have focus, do as if there was
2247         no buffer (bug 1720)
2248
2249         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2250         FuncRequest to individual entries of LFUN_SEQUENCE
2251
2252 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2253
2254         * output_latex.C (TeXOnePar): override runparams.moving_arg
2255         according to the needprotect value of the current paragraph (bug
2256         1739)
2257
2258         * paragraph.C (simpleTeXOnePar): no need to override
2259         runparams.moving_args here
2260
2261 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2262
2263         * vspace.C: fix off-by-one-error, related to fix #1682
2264
2265 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2266
2267         * lengthcommon.C: a more general fix for bug 1682
2268
2269 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * text.C (backspace): fix crash
2272
2273 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2274
2275         * format.[Ch] (getFormatFromFile): new method
2276         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2277
2278 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2279
2280         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2281
2282 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * lyxfunc.C (dispatch): remove the verbose argument
2285         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2286         instead
2287
2288         * kbmap.C (defkey): set the origin of func to KEYBOARD
2289
2290         * MenuBackend.C (MenuItem):
2291         * ToolbarBackend.C (add): set the origin of func to UI
2292
2293         * funcrequest.[Ch]: add origin member, which indicates which part
2294         of LyX requests an action
2295
2296 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2297
2298         * converter.C (move): don't lie in the error message
2299         * converter.h (isReachable, move): document
2300
2301 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2302
2303         * buffer.C: remove unused using lyx::support::atoi
2304         * paragraph_funcs.C: ditto
2305
2306 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * bufferlist.C (exists): use bind and equal_to instead of
2309         compare_memfun
2310         (getBuffer): ditto
2311         * lyxtextclasslist.C (NumberOfClass): ditto
2312
2313         * cursor.C (insert): use for_each instead of explicit for loop
2314
2315         * bufferlist.C (getFileNames): use std::transform and
2316         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2317
2318         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2319         for loop
2320
2321         * buffer.C (changeLanguage): use for_each instead of explicit for
2322         loop
2323         (hasParWithID): implement using getParFromID
2324
2325         * LaTeXFeatures.C: ws change only
2326
2327         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2328         to cleanup a bit.
2329
2330         * BufferView_pimpl.C (trackChanges): use for_each instead of
2331         expilicit for loop
2332
2333 2004-11-04  André Pönitz  <poenitz@gmx.net>
2334
2335         * undo.h:
2336         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2337
2338         * dociterator.C (asDocIterator): use hard assert again.
2339
2340 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2341
2342         * lyxlength.C (asLatexString): rewrite so that it does not use
2343         snprintf anymore
2344
2345 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2346
2347         * text3.C (specialChar, dispatch): make sure cursor moves to the
2348         right after inserting an inset
2349
2350 2004-11-02  José Matos  <jamatos@lyx.org>
2351
2352         * output_docbook.C (docbook):
2353         * paragraph.C (getID):
2354         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2355         garantee that the output is always legal.
2356
2357         * tabular.C (docbook):
2358         * outputprams.[Ch]: remove mixed contents.
2359
2360 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2361
2362         * text2.C (setCounter): prevent endless loop
2363
2364 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2365
2366         * exporter.C (copyFile): use the mover instead of support::copy()
2367         * exporter.C (Export): pass format and latex name to copyFile()
2368         * exporter.h (addExternalFile): document
2369         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2370
2371 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2372
2373         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2374
2375 2004-10-30  José Matos  <jamatos@lyx.org>
2376
2377         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2378         text and no inset or font change. This allows to use CDATA
2379         sections just for the whole paragraph.
2380
2381 2004-10-30  José Matos  <jamatos@lyx.org>
2382
2383         * paragraph.C (getFirstWord): remove unused variable.
2384
2385 2004-10-30  José Matos  <jamatos@lyx.org>
2386
2387         * paragraph.C (getFirstWord): the content should always be escaped
2388         there.
2389         (simpleDocBookOnePar):
2390         * output_docbook.C (makeEnvironment): replace reference to CDATA
2391         to style pass_thru.
2392
2393 2004-10-30  José Matos  <jamatos@lyx.org>
2394
2395         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2396
2397 2004-10-30  José Matos  <jamatos@lyx.org>
2398
2399         * output_docbook.C (makeParagraphs):
2400         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2401         standard paragraph has only a given type of content drop the wrapper.
2402
2403 2004-10-29  José Matos  <jamatos@lyx.org>
2404
2405         * output_docbook.C (makeEnvironment):
2406         * sgml.C (openTag):
2407         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2408
2409 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2410
2411         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2412         (cleanID): sanitize any id.
2413
2414 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2415
2416         * buffer.C, lyxlex_pimpl.C:
2417         * lyxlex_pimpl.C (setFile):
2418         s/getExtFromContents/getFormatFromContents/
2419
2420 2004-10-28  José Matos  <jamatos@lyx.org>
2421
2422         * output_docbook.C (makeEnvironment): move id to broadest possible
2423         scope.
2424
2425         * sgml.C (openTag): apply substitution of <> for all attributes.
2426
2427 2004-10-28  José Matos  <jamatos@lyx.org>
2428
2429         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2430         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2431         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2432
2433         * sgml.[Ch]: new version for open and closeTag for paragraph and
2434         for strings. Now they handle the ids of paragraphs.
2435
2436 2004-10-26  Angus Leeming  <leeming@lyx.org>
2437
2438         * Makefile.am: add mover.[Ch].
2439
2440         * converter.C (convert, move): use the new Movers to move external
2441         files to the temp directory.
2442
2443         * lyx_main.C (init): ensure that the global system_movers data
2444         is initialised.
2445
2446         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2447         preferences file.
2448
2449         * mover.[Ch]: new files, defining a Mover as a utility to move an
2450         external file between directories and, if necessary, manipulate this
2451         file using a helper script.
2452
2453 2004-10-25  José Matos  <jamatos@lyx.org>
2454
2455         * output_docbook.C (makeCommand): merge two if's that tested the
2456         same condition.
2457
2458 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2459
2460         * sgml.C (escapeString): fix warning in a better way
2461
2462 2004-10-25  José Matos  <jamatos@lyx.org>
2463
2464         * sgml.C (escapeString): import the require boosts header file for
2465         tie, and avoid a signed unsigned comparison.
2466
2467 2004-10-25  José Matos  <jamatos@lyx.org>
2468
2469         * sgml.h: add #include <string>
2470
2471 2004-10-25  José Matos  <jamatos@lyx.org>
2472
2473         * sgml.[Ch] (escapeString): new function to escape all the string.
2474
2475 2004-10-24  José Matos  <jamatos@lyx.org>
2476
2477         * paragraph.[Ch] (getFirstWord): new function to get the first
2478         word. Useful for description.
2479         (simpleDocBookOnePar): remove depth argument, add another that
2480         says where to start the paragraph.
2481
2482         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2483         use the new functions to fix cleanly the support for descriptions.
2484
2485 2004-10-24  José Matos  <jamatos@lyx.org>
2486
2487         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2488         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2489         * output_linuxdoc.C (linuxdocParagraphs):
2490         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2491         add buffer as argument.
2492
2493 2004-10-24  José Matos  <jamatos@lyx.org>
2494
2495         * output_docbook.C (makeEnvironment, searchEnvironment): place
2496         CDATA inside paragraphs and fix scope for listitems.
2497
2498 2004-10-24  José Matos  <jamatos@lyx.org>
2499
2500         * output_docbook.C: remove using statement for stack.
2501
2502 2004-10-23  José Matos  <jamatos@lyx.org>
2503
2504         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2505         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2506         docbook. The new scheme is recursive and makes use of iterators, the
2507         same as latex export works.
2508         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2509         directly with the paragraph contents. This code was moved up to
2510         output_docbook.C (docbookParagraphs).
2511         * sgml.C (openTag, closeTag): removed unneeded newlines.
2512         (closeEnvTags) removed.
2513
2514 2004-10-23  André Pönitz  <poenitz@gmx.net>
2515
2516         * undo.C (textUndoOrRedo):
2517         * dociterator.C (asDocIterator): work around crash
2518
2519         * cursor.C (getStatus): replace ASSERT by more verbose error message
2520           and manual correction of the problem. Should increase stability
2521           while providing more sensible information.
2522
2523 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2524
2525         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2526
2527         * bufferlist.C (previous, next): new methods
2528
2529         * lfuns.h:
2530         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2531
2532 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2533
2534         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2535         entities to preamble.
2536
2537 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2538
2539         * messages.C (Pimpl): strip off translation context information
2540
2541 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2542
2543         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2544         the cursor is correct (bug 1694)
2545
2546 2004-10-13  José Matos  <jamatos@lyx.org>
2547
2548         * output_docbook.C (docbookParagraphs): fix closing tags in the
2549         end of the document.
2550
2551 2004-10-09  José Matos  <jamatos@lyx.org>
2552
2553         * buffer.C: format up to 237.
2554         * bufferparams.C (write): use tostr to convert booleans to strings.
2555
2556 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2557
2558         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2559
2560 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2561
2562         * LaTeX.C: implement use of babel language in xindy.
2563
2564 2004-10-05  José Matos  <jamatos@lyx.org>
2565
2566         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2567         Add new translators to help reading and writing the lyx file.
2568
2569 2004-10-05  José Matos  <jamatos@lyx.org>
2570
2571         * ParagraphParameters.C (read):
2572         * text.C (readParToken): replace nexToken by more appropriate lex
2573         methods.
2574
2575 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2576
2577         * LaTeX.C (runMakeIndex):
2578         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2579         (usually 'makeindex') configurable.
2580
2581         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2582         with a variable rather than with a number.
2583
2584 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2585
2586         * output_latex.C (TeXOnePar): make sure font setting is the first
2587         thing that gets output (and the last at the end). Should fix bug
2588         1404.
2589
2590 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2591
2592         * pch.h: use proper signal include
2593
2594         * LaTeX.h: Use preferred calling of Boost.Signal
2595         * buffer.h: ditto
2596
2597 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2598
2599         * pch.h: dont include <boost/function/function0.hpp>
2600
2601         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2602
2603         * paragraph_pimpl.h: remove usage of ShareContainer
2604
2605         * paragraph_pimpl.C: remove initialization of ShareContainer.
2606
2607 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2608
2609         Fix bug #1666
2610
2611         * BufferView.C (putSelectionAt): change the semantics when
2612         backwards == true: now, this just swaps cursor and anchor wrt the
2613         forward case
2614
2615         * BufferView.h (putSelectionAt): add some documentation
2616
2617         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2618         make sure backwardChar is done at least once (to avoid getting
2619         stuck)
2620         (findNextChange): use putSelectionAt in the forward direction
2621         (operator()): use Paragraph::isWord
2622
2623 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * Spacing.C (set): c_str fix
2626
2627 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2628
2629         * lyx_cb.C (Reconfigure): quote the name of configure script in
2630         case it contains spaces
2631
2632 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2633
2634         * client: new dir
2635
2636         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2637         (BOOST_LIBS): use top_buildir when looking for the file
2638
2639 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2640
2641         * pch.h: do not use include boost/format.hpp, multiple symbols
2642                 will result (gcc bug)
2643
2644
2645 2004-08-23  José Matos  <jamatos@lyx.org>
2646
2647         * bufferparams.C (readToken): fix reading of the author field.
2648
2649 2004-08-20  José Matos  <jamatos@lyx.org>
2650
2651         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2652
2653 2004-08-20  José Matos  <jamatos@lyx.org>
2654
2655         * lyxlex.[Ch] (findToken): remove function.
2656
2657         * ParagraphParameters.C (findToken):
2658         * bufferparams.C (findToken): replace call for previous function
2659         with local copy. This local function has one more argument, the
2660         read string argument.
2661
2662 2004-08-16  José Matos  <jamatos@lyx.org>
2663
2664         * ParagraphParameters.C (write):
2665         * Spacing.C (writeFile):
2666         * bufferparams.C (writeLaTeX):
2667         * lyx_cb.C (Reconfigure):
2668         * paragraph.C (write):
2669         * tabular.C (write): remove unnecessary space at end of line.
2670
2671
2672 2004-08-16  José Matos  <jamatos@lyx.org>
2673
2674         * text.C (readParagraph): remove debug message.
2675
2676 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2677
2678         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2679         crash
2680
2681         * output_plaintext.C (asciiParagraph): set depth correctly
2682
2683         * outputparams.h: add member depth
2684
2685         * paragraph_funcs.C (ownerPar): remove.
2686
2687         * text2.C (setCounter): remove first_pit; comment out some
2688         non-working code that uses ownerPar
2689
2690         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2691         uses ownerPar
2692
2693 2004-08-16  José Matos  <jamatos@lyx.org>
2694
2695         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2696         For the same level of importance use the same chanel to report problems.
2697         (read): add code to deal with \begin_body and \end_body.
2698
2699
2700 2004-08-15  José Matos  <jamatos@lyx.org>
2701
2702         * lyxlex.C (getString): fix comment, buffer::readBody is now
2703         buffer:readDocument.
2704
2705         * tex-strings.C (string_papersize): Default -> default,
2706         Custom -> custom, for consistency with other options.
2707
2708 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2709
2710         * pch.h: new file
2711
2712         * Makefile.am: support pch
2713
2714 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2715
2716         * text.C (readParToken): remove the static LyXFont variable and
2717         pass it as a parameter instead. This fixes a nasty bug where an
2718         inset will be inserted with a bad font in some situations
2719         (readParagraph): adapt
2720
2721         * text2.C (setCounter): reduce number of calls to pars_[pit]
2722
2723         * text.C (singleWidth): add an assert, fix a test
2724
2725         * rowpainter.C (paintText): reduce number of calls to singleWidth
2726
2727         * paragraph.C (isHfill):
2728         (isNewline): ws only
2729
2730 2004-08-14  André Pönitz  <poenitz@gmx.net>
2731
2732         * text.C:
2733         * text2.C:
2734         * rowpainter.C:
2735         * lyxtext.h (several functions): use a Paragraph & argument
2736         instead of par_type
2737
2738 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2739
2740         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2741
2742         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2743
2744         * text.C (singleWidth): remove useless test
2745
2746 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2747
2748         * tabular.h: remove bogus comments
2749
2750         * tabular.C (getDescentOfRow):
2751         (isPartOfMultiColumn): add assertions
2752
2753         * lyxlength.C (inPixels): remove #warning
2754
2755 2004-08-14  André Pönitz  <poenitz@gmx.net>
2756
2757         * paragraph.h: inline getChar()
2758
2759         * BufferView.h: remove unused declarations
2760
2761 2004-08-14  José Matos  <jamatos@lyx.org>
2762
2763         * Buffer.[Ch] (readDocument): new name for old readBody.
2764         * Buffer.C: new file format, new keywords: \begin_document,
2765         \begin_header, \begin_body, \end_body.
2766
2767         * bufferparams.C (readToken): replace all calls to lex.nextToken
2768         by lex.next(). Do the same to eatLine except where really needed.
2769
2770         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2771         line when writing to the lyx file.
2772
2773         * output_plaintext.C (asciiParagraph): fix Bibliography style
2774         handling.
2775
2776         * text.C (read): fix end of file handling.
2777
2778 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2779
2780         * MenuBackend.C (Menu::operator[]): new method to access
2781         individual menu items
2782         (Menu::hasFunc): new method. search for an item that corresponds
2783         to a given func
2784         (MenuBackend::specialMenu): new method
2785         (MenuBackend::expand): if a special menu has been set, skip
2786         entries whose func() appears in this menu
2787
2788 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2789
2790         * text3.C: use Debug::DEBUG a bit more
2791
2792         * text.C (leftMargin): try to simplify a tiny bit change var x to
2793         l_margin. Dont output the wide margins always.
2794         (rightMargin): no margin in inner texts
2795
2796         * rowpainter.h (nestMargin): new func
2797         (changebarMargin): new func
2798         (rightMargin): new func
2799
2800         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2801         now functions.
2802         (paintLast): ditto
2803
2804         * factory.C (createInset): modify setDrawFrame
2805
2806         * cursor.C: use Debug::DEBUG a bit more
2807
2808 2004-08-14  André Pönitz  <poenitz@gmx.net>
2809
2810         * coordcache.[Ch]:
2811         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2812         cache for all insets in (at least partially) visible (top-level)
2813         paragraphs.
2814
2815         * BufferView_pimpl.C: reset external coord cache before every update.
2816         This means the coord cache only contains valid entries.
2817
2818 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2819
2820         bug 1096
2821         * BufferView_pimpl.C (getInsetByCode): move function out of class
2822         and change in to a template in anon namespace. Also fix to do what
2823         suits us better.
2824
2825 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2826
2827         bug 1305
2828         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2829         of char
2830         (breakParagraph): rename par to par_offset and use a local
2831         reference. Add code to keep the language over a rebreak.
2832         (breakParagraphConservative): rename par to par_offset, use a
2833         local reference
2834         (mergeParagraph): ditto
2835         (outerHook): ditto
2836         (isFirstInSequence): ditto
2837         (outerFont): rename pit to par_offset
2838
2839         * paragraph.C: ws change
2840         * paragraph.h: ditto
2841         * text3.C: ditto
2842         * text.C: ditto
2843
2844 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2845
2846         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2847         treatment for ']'
2848
2849         * paragraph.C (simpleTeXOnePar): when we have a \item with
2850         optional argument, enclose the argument with curly brackets (in
2851         case it contains a closing square bracket)
2852
2853         * text2.C (editXY):
2854         * text2.C (editXY):
2855         * text3.C (checkInsetHit): constify
2856
2857 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2858
2859         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2860         documents (bug 1629)
2861
2862 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2863
2864         Fix toggling of collapsable insets with the mouse (bug 1558)
2865
2866         * lyxfunc.C (dispatch): adapt to LCursor changes
2867
2868         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2869         make sure that dispatch is not invoked twice
2870
2871         * cursor.C (needsUpdate): new method
2872         (dispatch): return void
2873         (result): new method, to access the DispatchResult of the cursor.
2874
2875 2004-08-13  José Matos  <jamatos@lyx.org>
2876
2877         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2878
2879 2004-08-13  André Pönitz  <poenitz@gmx.net>
2880
2881         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2882
2883         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2884           multiple cells
2885
2886 2004-08-12  André Pönitz  <poenitz@gmx.net>
2887
2888         * text3.C: take out the 'cursor right' form insertInset and only
2889         do it in those places when it is really needed. Fixes crash on
2890         C-m...
2891
2892 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2893
2894         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2895
2896         * BufferView_pimpl.C (setBuffer): initialize the current font of
2897         the underlying LyXText
2898
2899 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2900
2901         * kbsequence.C (print): use UI native formatting for menu
2902         shortcuts
2903
2904         * text.C (insertChar): call Paragraph::insertChar with a font
2905         argument (cosmetic)
2906
2907         * paragraph.C (insertInset, insertChar): the version that takes a
2908         LyXFont argument is now a wrapper around the other one (the
2909         opposite used to be true).
2910
2911         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2912         argument. Font setting is done in Paragraph now.
2913
2914 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2915
2916         * outputparams.h: add new members intitle and lang.
2917
2918         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2919         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2920
2921 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * text3.C (dispatch): remove special handling of button 4 and 5,
2924         it is now taken care of in the frontend code.
2925
2926 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2927
2928         * Spacing.h: add <string> (STLPort compile fix)
2929
2930 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2931
2932         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2933
2934 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2935
2936         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2937         to bool.
2938
2939         * converter.C (showMessage): inherit from unary_function, make
2940         operator() const.
2941
2942         * buffer.C (writeFile): initialize retval
2943
2944         * InsetList.h: rename private variable list to list_
2945         * InsetList.[Ch]: adjust accordingly.
2946
2947 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2948
2949         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2950         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2951         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2952         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2953         * ParagraphParameters.C, LaTeXFeatures.C: replace
2954         "support/std_sstream.h" with <sstream>
2955
2956 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2957
2958         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2959         * lyxsocket.C (LyXServerSocket): ditto
2960         (serverCallback): ditto
2961
2962 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2963
2964         * LaTeXFeatures.C: check release date when loading jurabib.
2965
2966 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2967
2968         * lyxserver.C (startPipe): call register_socket_callback
2969         (endPipe): call unregister_socket_callback
2970
2971 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2972
2973         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2974         (LyXServerSocket): register the callback
2975         (LyXServerSocket): unregister the callback
2976         (fd): delete function
2977         (serverCallback): improve error checking and setup the callbacks.
2978         (dataCallback): change arg to fd.
2979         (writeln): new func (copied fro the client socket) used for server
2980         write to client.
2981         (LyXDataSocket): simplify
2982         (~LyXDataSocket): close ann unregiser callback
2983         (server): delete function
2984         (fd): delete function
2985         (readln): small changes, improve some std::string usage
2986         (writeln): constify a bit
2987
2988 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2989
2990         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2991         Qt frontend
2992
2993 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2994
2995         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2996         after it has been populated
2997
2998 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2999
3000         * text2.C (insertInset): move cursor when inserting inset.
3001
3002 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3003
3004         * kbmap.C (findbindings): a couple of new methods. returns a
3005         container of kb_sequence objects. The real work is done by the
3006         private recursive version
3007         (printbindings): uses findbindings to print out a bracketed list
3008         of bindings (renamed from findbinding).
3009
3010         * MenuBackend.C (binding): use kb_keymap::findbindings
3011
3012         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3013
3014 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3015
3016         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3017
3018 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3019
3020         * paragraph.C (isWord): return true on insets that report
3021         isLetter().
3022
3023         * text.C (getWord): use Paragraph::isWord to decide what is in a
3024         word and what is not; fix bug 1609.
3025
3026 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3027
3028         * tex-strings.C: add "none" to string_paperpackages[], fixes
3029         off-by-one-error in the paperpackage selection.
3030
3031         * lyxlex.[Ch]:
3032         * tex-strings.[Ch]: char const * string[n]
3033         -> char const * const string[]
3034
3035 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3036
3037         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3038         command, return early.
3039
3040 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3041
3042         * debug.h: add DEBUG to enum and fix size of ANY.
3043
3044         * debug.C: add support for Debug::DEBUG
3045         (showTags): cast errorTags.level to unsigned int
3046
3047         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3048         (redoCurrentBuffer): ditto
3049         (updateScrollbar): ditto
3050         * cursor.C (dispatch): ditto
3051         * text2.C (setLayout): ditto
3052         (setFont): ditto
3053         (updateCounters): ditto
3054         (editXY): ditto
3055         (deleteEmptyParagraphMechanism): ditto
3056
3057 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3060         annotations to cleanup the Makefile slightly.
3061
3062 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3063
3064         * lyxrc.C: do not set user_email to a default value but use empty
3065         instead. The entry used to be translated, which does not work
3066         since at the point where lyxrc is constructed there is no
3067         translation service available
3068
3069         * messages.C (getLocaleDir): remove and use directly
3070         lyx_localedir() instead
3071
3072 2004-06-02  Angus Leeming  <leeming@lyx.org>
3073
3074         Fix crash caused by dereferencing null pointer 'exportdata' in
3075         OutputParams by creating a new ExportData variable on the heap,
3076         storing it in a boost::shared_ptr.
3077         The crash was triggered when generating an Instant Preview
3078         of an external inset.
3079
3080         * Makefile.am: add outputparams.C
3081
3082         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3083         (c-tor): allocate memory to it.
3084
3085         * exporter.C (c-tor): associated changes.
3086
3087 2004-06-01  Angus Leeming  <leeming@lyx.org>
3088
3089         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3090         contains data before calling isInset(0). (Bug 1513.)
3091
3092 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3093
3094         * exporter.C (checkOverwrite): new method
3095         * exporter.C (copyFile): new method
3096         * exporter.C (Export): copy referenced files to the document dir
3097         * exporter.[Ch]: new class ExportedFile
3098         * exporter.[Ch]: new class ExportData. Contains currently the
3099         names of referenced external files
3100         * outputparams.h: add exportdata member.
3101
3102 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3105         version.C-tmp
3106
3107 2004-05-19  Angus Leeming  <leeming@lyx.org>
3108
3109         * LaTeXFeatures.C:
3110         * ToolbarBackend.C:
3111         * bufferparams.C:
3112         * lyxfunc.C: small changes due to the introduction of namespace
3113         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3114
3115 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3116
3117         * text3.C (dispatch): supress update when only moving the cursor
3118         * cursor.C (selHandle): remove commented code
3119
3120 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3121
3122         * paragraph.C (startTeXParParams): correct column count
3123         * CutAndPaste.C (pasteSelection): remove const_cast
3124         * output_docbook.C (docbookParagraphs): remove const_cast
3125         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3126         const_cast and return ParagraphList::const_iterator
3127         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3128         * output_plaintext.C (writeFileAscii): remove const_cast
3129         * paragraph.[Ch] (simpleTeXOnePar): make const
3130         * paragraph_funcs.C (outerPar): use const iterators
3131         * paragraph_pimpl.C (validate): use const iterators
3132         * text.C (setHeightOfRow): use const iterators
3133
3134 2004-05-17  Angus Leeming  <leeming@lyx.org>
3135
3136         * lfuns.h:
3137         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3138
3139         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3140         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3141         if the citation engine has changed.
3142
3143 2004-05-14  José Matos  <jamatos@lyx.org>
3144
3145         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3146         if the textclass does not provide it. Have it different for sgml and
3147         xml.
3148         support the language of document.
3149         * output_docbook.C (docbookParagraphs):
3150         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3151         first anchor as the id of the paragraph, remove special case code.
3152         * sgml.C (escapeChar): escape only < & >.
3153
3154 2004-05-14  Angus Leeming  <leeming@lyx.org>
3155
3156         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3157         dependencies on src/frontends/controllers/biblio.h. Define a
3158         CiteEngine_enum wrapper class to enable the enum to be forward
3159         declared.
3160
3161 2004-05-12  Angus Leeming  <leeming@lyx.org>
3162
3163         * buffer.C: up LYX_FORMAT to 234.
3164         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3165         use_numerical_citations with a single biblio::CiteEngine cite_engine
3166         variable.
3167         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3168
3169 2004-05-13  José Matos  <jamatos@lyx.org>
3170
3171         * converter.h:
3172         * converter.C (Converter, readFlags): add xml member.
3173         * outputparams.h: add XML flavor.
3174         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3175
3176 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3177
3178         * lyxfunc.C (dispatch):
3179         (getStatus): fix handling of LFUN_SEQUENCE
3180
3181 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3182
3183         * debug.C (showLevel): do not forget the end-of-line marker
3184
3185 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3186
3187         * kbmap.C (read): do not stop parsing a bind file when an error
3188         occurs (bug 1575)
3189
3190 2004-04-29  Angus Leeming  <leeming@lyx.org>
3191
3192         * cursor.C:
3193         * factory.C:
3194         * pariterator.C:
3195         * text2.C: wrap a bunch of #warning statements
3196         inside #ifdef WITH_WARNINGS blocks.
3197
3198 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3199
3200         * buffer.C: increment format to 233.
3201
3202 2004-04-28  Angus Leeming  <leeming@lyx.org>
3203
3204         * BufferView_pimpl.C:
3205         * lyxfunc.C:
3206         * text3.C:
3207         s/updateToolbar()/updateToolbars()/
3208         s/Toolbar.h/Toolbars.h/
3209
3210 2004-04-28  Angus Leeming  <leeming@lyx.org>
3211
3212         * BufferView.[Ch] (c-tor):
3213         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3214         No longer passes these data to the WorkArea generator.
3215
3216 2004-04-28  Angus Leeming  <leeming@lyx.org>
3217
3218         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3219
3220 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3221
3222         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3223
3224 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3225
3226         * output_latex.C (TeXEnvironment): make sure that there is a line
3227         break before \end{foo} for the last paragraph of a document
3228         (TeXOnePar): if the paragraph is at the end of the document (or
3229         inset) and the language has to be reset, then make sure that the
3230         line break is _before_ the language command, not after (fixes bug
3231         1225); also make sure that the language reset command is the first
3232         thing after the paragraph (to ensure proper nesting of
3233         environments and thus fix bug 1404)
3234
3235 2004-04-21  John Levon  <levon@movementarian.org>
3236
3237         * ToolbarBackend.h:
3238         * ToolbarBackend.C: make "name" be a programmatic name
3239         and a gui_name field.
3240
3241         * lyxfunc.C: display the minibuffer on M-x
3242
3243 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3244
3245         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3246         (bug 1526)
3247
3248 2004-04-19  Angus Leeming  <leeming@lyx.org>
3249
3250         * BufferView_pimpl.C (setBuffer): changed preview interface.
3251
3252         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3253         possible values.
3254
3255 2004-04-19  John Levon  <levon@movementarian.org>
3256
3257         * BufferView_pimpl.C:
3258         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3259
3260 2004-04-05  Angus Leeming  <leeming@lyx.org>
3261
3262         * text.C (redoParagraphs): add call to updateCounters(), thereby
3263         fixing the missing "Figure #:" label from the caption of a
3264         figure float.
3265
3266 2004-04-13  Angus Leeming  <leeming@lyx.org>
3267
3268         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3269         cursor is clicked out of an inset.
3270
3271 2004-04-13  Angus Leeming  <leeming@lyx.org>
3272
3273         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3274         than an InsetOld one.
3275
3276 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3277
3278         * format.[Ch]: add editor to Format
3279         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3280         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3281
3282 2004-04-08  André Pönitz  <poenitz@gmx.net>
3283
3284         * metricsinfo.h: remove PainterInfo::width member
3285
3286 2004-04-08  Angus Leeming  <leeming@lyx.org>
3287
3288         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3289         "\providecommand" rather than "\newcommand", thereby preventing
3290         clashes with packages that define "\boldsymbol" themselves.
3291         Eg, beamer.
3292
3293 2004-04-08  Angus Leeming  <leeming@lyx.org>
3294
3295         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3296         thereby squashing an unnecessary warning.
3297
3298 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3299
3300         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3301         setBuffer()
3302
3303 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3304
3305         * BufferView.C (setCursor): call redoParagraph (some insets could
3306         have been opened)
3307         (putSelectionAt): remove the 'double update' trick
3308
3309         * BufferView_pimpl.C (fitCursor): call refreshPar
3310         (workAreaDispatch): remove an uneeded update call
3311         (dispatch): remove some manual update calls
3312
3313         * cursor.[Ch]: remove cached_y_, updatePos
3314         (selHandle): set noUpdate when appropriate
3315
3316         * lyxfunc.C (dispatch): track if we need an update
3317
3318         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3319
3320         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3321         (paintSelection): cheap optimization, do not call cursorX when not
3322         needed
3323         (paintPars): change signature
3324         (refreshPar): add
3325         (paintText): adjust
3326         (paintTextInset): adjust
3327
3328         * text.C: adjust
3329
3330 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3331
3332         * lengthcommon.C: compilation fix: remove explicit array size from
3333         unit_name[] and friends
3334
3335 2004-04-05  Angus Leeming  <leeming@lyx.org>
3336
3337         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3338
3339         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3340         present only for the preferences dialog.
3341         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3342
3343 2004-04-05  Angus Leeming  <leeming@lyx.org>
3344
3345         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3346         to enable the frontends to export changes to lyxrc correctly.
3347
3348         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3349
3350 2004-04-07  André Pönitz  <poenitz@gmx.net>
3351
3352         * cursor.[Ch] (selClear, adjust): remove math
3353
3354         * cursor_slice.C: more agressive assert
3355
3356         * lyxfunc.C:
3357         * BufferView_pimpl.C: rework mouse event dispatch
3358
3359         * dociterator.C:
3360         * paragraph.C:
3361         * text2.C:
3362         * text3.C: adjust
3363
3364 2004-04-05  André Pönitz  <poenitz@gmx.net>
3365
3366         * cursor.[Ch] (valign, halign...): remove unneeded functions
3367
3368 2004-04-05  Angus Leeming  <leeming@lyx.org>
3369
3370         * lyxlength.[Ch] (unit_name et al.): const-correct.
3371
3372 2004-04-05  Angus Leeming  <leeming@lyx.org>
3373
3374         * BufferView_pimpl.C:
3375         * buffer.C:
3376         * counters.C:
3377         * cursor.C:
3378         * lyxfunc.C
3379         * paragraph.C:
3380         * pariterator.C:
3381         * text.C:
3382         * text2.C:
3383         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3384
3385 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3386
3387         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3388
3389 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3390
3391         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3392         * BufferView_pimpl.[Ch] (getStatus)
3393         * BufferView.[Ch] (getStatus): add
3394         * lyxfunc.C (getStatus): move lfuns handled in
3395         BufferView::dispatch to te function above
3396         * Cursor.C (setSelection): set selection() = true
3397
3398 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3399
3400         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3401
3402 2004-03-31  Angus Leeming  <leeming@lyx.org>
3403
3404         * lyxfunc.C (dispatch): Fall through to the generic
3405         Dialogs::show("preamble").
3406
3407 2004-03-31  Angus Leeming  <leeming@lyx.org>
3408
3409         * lyxfunc.C (dispatch): Fall through to the generic
3410         Dialogs::show("spellchecker").
3411
3412 2004-03-31  Angus Leeming  <leeming@lyx.org>
3413
3414         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3415         preferences dialog.
3416
3417 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3418
3419         * BufferView.C
3420         * cursor.[Ch]
3421         * dociterator.[Ch]:
3422         * insetiterator.[Ch]:
3423         * lyxfind.C:
3424         * lyxfunc.C:
3425         * pariterator.[Ch]:
3426         * text2.C:
3427         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3428
3429 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3430
3431         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3432         insets where we are putting the cursor.
3433
3434 2004-03-31  Angus Leeming  <leeming@lyx.org>
3435
3436         * lfuns.h:
3437         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3438
3439         * lyxrc.[Ch] (read, write): overloaded member functions taking
3440         a std::[io]stream arguments.
3441
3442         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3443
3444 2004-03-31  Angus Leeming  <leeming@lyx.org>
3445
3446         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3447         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3448
3449         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3450         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3451
3452 2004-03-31  Angus Leeming  <leeming@lyx.org>
3453
3454         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3455         the LFUN_ALL_INSETS_TOGGLE code.
3456
3457 2004-03-30  Angus Leeming  <leeming@lyx.org>
3458
3459         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3460         has died. Fall through to the generic Dialogs::show("document").
3461
3462 2004-03-30  Angus Leeming  <leeming@lyx.org>
3463
3464         * lfuns.h:
3465         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3466         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3467
3468         * lyxfunc.C (getStatus, dispatch): define the actions for these
3469         lfuns. Little more than a cut and pste job from ControlDocument.C
3470
3471         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3472
3473 2004-03-30  Angus Leeming  <leeming@lyx.org>
3474
3475         * lfuns.h:
3476         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3477         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3478
3479         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3480         open/closed state of ollapsable insets. Usage:
3481
3482         all-inset-toggle <state> <name>, where
3483         <state> == "open" || "closed" || "toggle" and
3484         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3485
3486         * lyxtext.h, text2.C (toggleInset): removed.
3487
3488         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3489         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3490         now passes LFUN_INSET_TOGGLE to the found inset.
3491
3492         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3493         is now invoked as "all-insets-toggle toggle branch".
3494
3495 2004-03-30  Angus Leeming  <leeming@lyx.org>
3496
3497         * dociterator.C:
3498         * insetiterator.C:
3499         * pariterator.[Ch]: added/corrected header blurb.
3500
3501 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3502
3503         * dociterator.[Ch]: add an inset_ member
3504         (backwardPos): implemented
3505         (backwardPos, forwardPos): use inset_ when the stack is empty.
3506         (doc_iterator_begin, doc_iterator_end): implemented
3507         * pariterator.[Ch]: adjust, add begin, end
3508         * insetiterator.[Ch]: adjust, add begin, end
3509         * cursor.C:
3510         * document.C:
3511         * BufferView.C:
3512         * BufferView_pimpl.C:
3513         * CutAndPaste.C: adjust
3514
3515 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3516
3517         * buffer.C: increment file format to 232.
3518         * LaTeXFeatures.C: add bibtopic package.
3519         * bufferparams.[Ch]: param \use_bibtopic.
3520
3521         * lyxrc.[Ch]: add lyxrc bibtex_command
3522         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3523
3524         * buffer.C: increment file format to 231.
3525
3526 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3527
3528         * dociterator.C: implement forwardPar
3529         * iterators.[Ch]: remove, replaced by
3530         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3531         * BufferView.C:
3532         * BufferView_pimpl.C:
3533         * CutAndPaste.C:
3534         * buffer.C:
3535         * bufferview_funcs.C:
3536         * cursor.C:
3537         * lyxfind.C
3538         * lyxfunc.C
3539         * paragraph_funcs.C
3540         * toc.C:
3541         * Makefile.am: adjust
3542
3543 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3544
3545         * CutAndPaste.C (pasteSelection): fix 2 crashes
3546         (eraseSelection): fix a crash
3547         * paragraph_funcs.C: remove a warning
3548
3549 2004-03-28  Angus Leeming  <leeming@lyx.org>
3550
3551         * lfuns.h:
3552         * LyXAction.C (init): new LFUN_PRINT.
3553
3554         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3555
3556 2004-03-27  Angus Leeming  <leeming@lyx.org>
3557
3558         * lfuns.h:
3559         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3560
3561         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3562
3563 2004-03-27  Angus Leeming  <leeming@lyx.org>
3564
3565         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3566         insetlist always contains non-null pointers to insets.
3567
3568 2004-03-26  Angus Leeming  <leeming@lyx.org>
3569
3570         * src/BufferView_pimpl.C:
3571         * src/CutAndPaste.C:
3572         * src/buffer.C:
3573         * src/iterators.C:
3574         * src/output_plaintext.C:
3575         * src/outputparams.h:
3576         * src/paragraph_funcs.C:
3577         * src/rowpainter.C:
3578         * src/text.C:
3579         * src/text2.C:
3580         * src/frontends/controllers/ControlErrorList.C:
3581         * src/frontends/gtk/FileDialogPrivate.C:
3582         * src/frontends/gtk/GPainter.C:
3583         * src/frontends/gtk/GToolbar.C:
3584         * src/frontends/qt2/QRef.C:
3585         * src/mathed/math_scriptinset.C: squash compiler warnings.
3586
3587 2004-03-26  Angus Leeming  <leeming@lyx.org>
3588
3589         * ispell.C (LaunchIspell::start):
3590         * lyx_cb.C (AutoSaveBuffer::start):
3591         invoke run(DontWait) rather than runNonBlocking().
3592
3593 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3594
3595         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3596
3597 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3598
3599         * kbsequence.C (print): adjust
3600
3601         * kbmap.C (printKeySym): rename and change signature
3602         (printKey): use LyXKeySym::print()
3603
3604 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3605
3606         * undo.C: add using std::advance to compile for stlport
3607
3608 2004-03-24  Angus Leeming  <leeming@lyx.org>
3609
3610         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3611         it leads to a crash when no buffer is present.
3612
3613 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3614             Martin Vermeer  <martin.vermeer@hut.fi>
3615
3616         * lyxfunc.C (dispatch):
3617         * bufferparams.C (readToken): use the new LColor::setColor
3618
3619         * LColor.[Ch] (setColor): new version that takes two strings as
3620         argument and creates a new color entry if necessary
3621
3622 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3623
3624         * buffer.C (makeLaTeXFile): if the main latex file that is
3625         processed is usually a subdocument of some master, then pretend
3626         for a while that it is actually the master
3627
3628 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3629
3630         * buffer.C (getLabelList):
3631         (getBibkeyList): use getMasterBuffer()
3632         (getMasterBuffer): new method. Returns the main document in the
3633         case where one is using included documents.
3634
3635 2004-03-25  André Pönitz  <poenitz@gmx.net>
3636
3637         * Makefile.am:
3638         * iterators.[Ch]:
3639         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3640
3641         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3642
3643         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3644         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3645
3646         * ParameterStruct.h: merge with ParagraphParameters
3647
3648         * lyxtext.h: remove LyXText::parOffset() and getPar()
3649
3650         * text3.C: Remove all 'manual' update calls. We do now one per user
3651         interaction which is completely sufficient.
3652
3653         * Bidi.C:
3654         * BufferView.[Ch]:
3655         * BufferView_pimpl.C:
3656         * FontIterator.[Ch]:
3657         * MenuBackend.C:
3658         * ParagraphParameters.[Ch]:
3659         * buffer.C:
3660         * buffer.h:
3661         * bufferlist.C:
3662         * cursor.[Ch]:
3663         * cursor_slice.[Ch]:
3664         * dociterator.[Ch]:
3665         * errorlist.[Ch]:
3666         * factory.C:
3667         * lfuns.h:
3668         * lyxfind.C:
3669         * lyxfunc.C:
3670         * output_docbook.[Ch]:
3671         * output_latex.[Ch]:
3672         * output_linuxdoc.[Ch]:
3673         * output_plaintext.[Ch]:
3674         * paragraph.[Ch]:
3675         * paragraph_funcs.[Ch]:
3676         * paragraph_pimpl.[Ch]:
3677         * rowpainter.C:
3678         * tabular.[Ch]:
3679         * text.C:
3680         * text2.C:
3681         * toc.C:
3682         * undo.[Ch]: adjust
3683
3684         * frontends/controllers/ControlDocument.C:
3685         * frontends/controllers/ControlErrorList.C:
3686         * frontends/controllers/ControlSpellchecker.C:
3687         * insets/inset.C:
3688         * insets/inset.h:
3689         * insets/insetbase.h:
3690         * insets/insetbibitem.C:
3691         * insets/insetbox.C:
3692         * insets/insetbranch.C:
3693         * insets/insetcaption.C:
3694         * insets/insetcharstyle.C:
3695         * insets/insetcharstyle.h:
3696         * insets/insetcollapsable.C:
3697         * insets/insetcollapsable.h:
3698         * insets/insetert.C:
3699         * insets/insetfloat.C:
3700         * insets/insetfoot.C:
3701         * insets/insetmarginal.C:
3702         * insets/insetnote.C:
3703         * insets/insetoptarg.C:
3704         * insets/insettabular.C:
3705         * insets/insettext.C:
3706         * insets/insettext.h:
3707         * insets/insetwrap.C:
3708         * mathed/math_mboxinset.C:
3709         * mathed/math_nestinset.C:
3710         * mathed/math_scriptinset.C:
3711         * mathed/math_scriptinset.h:
3712         * support/types.h:
3713
3714 2004-03-24  Angus Leeming  <leeming@lyx.org>
3715
3716         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3717         deal with any child processes that have finished but are waiting to
3718         communicate this fact to the rest of LyX.
3719
3720 2004-03-24  Angus Leeming  <leeming@lyx.org>
3721
3722         64-bit compile fixes.
3723
3724         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3725         (c-tor): pass lyx::pos_types rather than ints.
3726
3727         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3728         lyx::pos_type.
3729
3730         * text.C (Delete): compile fix.
3731         (getPar): ensure that function declaration is the same as that in
3732         the header file.
3733
3734 2004-03-23  Angus Leeming  <leeming@lyx.org>
3735
3736         * ispell.C (LaunchIspell):
3737         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3738         a boost::shred_ptr rather than a std::auto_ptr.
3739
3740 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3741
3742         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3743         handle LFUN_FILE_INSERT_*
3744
3745         * lyxrc.C (setDefaults, getDescription, output, read):
3746         * lyxrc.h: remove ps_command
3747
3748 2004-03-22  Angus Leeming  <leeming@lyx.org>
3749
3750         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3751         Ensure that error_handler is processed once only and that all data
3752         is saved before attempting to output any warning messages.
3753
3754         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3755
3756 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3757
3758         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3759
3760 2004-03-19  André Pönitz  <poenitz@gmx.net>
3761
3762         * cursor.[Ch] (reset): take main text inset as argument
3763
3764         * BufferView: adjust
3765         * BufferView_pimpl.C: adjust
3766
3767         * paragraph.[Ch]: fix completely broken operator=()
3768
3769 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3770
3771         * LColor.C (getFromLyXName): make sure that the color name is used
3772         as lowercase.
3773
3774 2004-03-17  Angus Leeming  <leeming@lyx.org>
3775
3776         * lfuns.h:
3777         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3778
3779         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3780         dialog and to kill a forked process.
3781
3782 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3783
3784         * text2.C (setCursorFromCoordinates): fix font problem
3785
3786 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3787
3788         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3789         bogus "rebuild cursor" code
3790
3791 2004-03-11  André Pönitz  <poenitz@gmx.net>
3792
3793         * buffer.[Ch]: use InsetText instead of LyXText as container for
3794         the main lyx text.
3795
3796         * dociterator.[Ch]: drop the BufferView * member which is not needed
3797         anymore after the change to buffer.C
3798
3799         * paragraph_funcs.C:
3800         * text.C:
3801         * text2.C:
3802         * BufferView.[Ch]:
3803         * BufferView_pimpl.[Ch]:
3804         * cursor.[Ch]:
3805         * cursor_slice.[Ch]: adjust
3806
3807         * text3.C: fix bug in mathDispatch
3808
3809 2004-03-08  André Pönitz  <poenitz@gmx.net>
3810
3811         * undo.[Ch]: use 'StableDocumentIterator' as base for
3812         the Undo struct.
3813
3814 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3815
3816         * LaTeXFeatures.C:
3817         * bufferparams.[Ch]: add jurabib support and param.
3818
3819         * LaTeX.C: add FIXME/comment.
3820
3821 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3822
3823         * buffer.C: increment file format to 230.
3824
3825 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3826
3827         * cursor.C (dispatch): avoid infinite loops
3828
3829 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3830
3831         * rowpainter.C (paintSelection): fix x coordinates
3832
3833 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3834
3835         * text.C (rowBreakPoint): fix breaking before displayed insets
3836
3837 2004-03-01  André Pönitz  <poenitz@gmx.net>
3838
3839         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3840
3841         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3842
3843         * Makefile.am:
3844         * BufferView.C:
3845         * BufferView_pimpl.C:
3846         * buffer.C:
3847         * lyxfind.C:
3848         * lyxfunc.C:
3849         * text.C:
3850         * text2.C:
3851         * text3.C: adjust
3852
3853 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3854
3855         * lyxtext.h:
3856         * text.C:
3857         * text2.C:
3858         * rowpainter.C:
3859         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3860         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3861
3862 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3863
3864         * Bidi.[Ch] (computeTables): const correctness
3865         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3866         fill_hfill, fill_label_hfill and x from Row
3867         * lyxtext.h: prepareToPrint returns a RowMetrics
3868         * rowPainter.C: adjust
3869         * text.C (prepareToPrint): use width, not textWidth. adjust
3870         (redoParagraphInternal, cursorX): adjust
3871         * text2.C (getColumnNearX): adjust
3872         (init): put a default value to the top LyXText::width
3873
3874 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3875
3876         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3877
3878 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3879
3880         * lyxtext.h: add FontIterator class
3881
3882         * text.C (FontIterator, operator*, operator->, operator++): add
3883         (rowBreakPoint, setRowWidth): adjust (fixing a
3884         rebreaking bug)
3885
3886 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3887
3888         * BufferView_pimpl.C (workAreaDispatch): allow also
3889         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3890
3891 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3892
3893         * text.C (rowBreakPoint): fix a bug showing with very large insets
3894
3895 2004-02-25  André Pönitz  <poenitz@gmx.net>
3896
3897         * text3.C:
3898         * cursor.[Ch]: move some mathed specific code to mathed
3899
3900 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3901
3902         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3903         use_tempdir in preferences
3904         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3905         tempfile creation
3906         * lyx_main.C: ensure that tempdir is valid
3907         * lyxlex.h: correct typo
3908         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3909         * paragraph.[Ch] (isMultiLingual): make const
3910         * cursor.[Ch] (openable): make const
3911
3912 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3913
3914         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3915
3916 2004-02-20  André Pönitz  <poenitz@gmx.net>
3917
3918         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3919
3920         * cursor.[Ch]: prepare for localized getStatus()
3921
3922         * lyxtext.h:
3923         * tabular.C:
3924         * text.C:
3925         * text2.C:
3926         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3927
3928 2004-02-20  André Pönitz  <poenitz@gmx.net>
3929
3930         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3931
3932 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3933
3934         * text2.C (setCursorFromCoordinates): switch to absolute coords
3935         (cursorUp): adjust
3936         (cursorDown): adjust
3937         * text3.C (dispatch): adjust
3938
3939 2004-02-16  André Pönitz  <poenitz@gmx.net>
3940
3941         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3942           insets/ChangeLog)
3943
3944         * cursor_slice.[Ch]: remove unneeded acessor function
3945
3946         * lyxtext.h: rename rtl() to isRTL()
3947
3948         * rowpainter.C:
3949         * tabular.C:
3950         * text.C:
3951         * text2.C:
3952         * text3.C: adjust
3953
3954 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3955
3956         * rowpainter.C (paintSelection): coord fix
3957
3958 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3959
3960         * Spacing.C: compile fix
3961
3962 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3963
3964         * cursor.C (dispatch): restore current_ before returning
3965
3966 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3967
3968         * text2.C (cursorUp, cursorDown): fix coords
3969         (moveUp): fix crash
3970
3971 2004-02-12  André Pönitz  <poenitz@gmx.net>
3972
3973         * lyxtext.h:
3974         * text.C:
3975         * text2.C:
3976         * text3.C: add LCursor & parameter to most cursor movement functions
3977           remove usage of LyXText::cursorRow() and cursorPar()
3978
3979         * cursor.[Ch]: add textRow() needed members
3980
3981         * BufferView.C:
3982         * BufferView_pimpl.C:
3983         * paragraph.[Ch]:
3984         * BufferView.C:
3985         * BufferView_pimpl.C: adjust
3986
3987 2004-02-11  André Pönitz  <poenitz@gmx.net>
3988
3989         * lyxfunc.C:
3990         * BufferView.[Ch]:
3991         * BufferView_pimpl.C: shift undo/redo handling
3992
3993         * cursor.[Ch]: fix mathed crash
3994
3995         * lyxfind.C:
3996         * lyxtext.h: move selectionAsText to LCursor
3997
3998         * output_latex.C:
3999         * paragraph.C:
4000         * text.C:
4001         * text2.C:
4002         * text3.C: adjust
4003
4004         * rowpainter.C: fix excessive drawing
4005
4006 2004-02-06  André Pönitz  <poenitz@gmx.net>
4007
4008         * BufferView.[Ch]:
4009         * BufferView_pimpl.[Ch]:
4010         * text3.C: move some text specific LFUN handling
4011
4012 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4013
4014         * text3.C (checkInsetHit): adjust coords
4015         * text2.C (getColumnNearX): adjust coords
4016         (edit): adjust coords
4017         * text.C (getRowNearY): add two asserts
4018
4019 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4020
4021         * converter.C:
4022         * format.C: add using std::distance to compile on gcc 2.95/stlport
4023
4024 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4025
4026         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4027
4028 2004-02-04  André Pönitz  <poenitz@gmx.net>
4029
4030         * BufferView.[Ch] (insertInset):
4031         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4032
4033         * text2.C:
4034         * text3.C: adjust
4035
4036 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4037
4038         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4039         on the default clause of the switch
4040         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4041         wasn't catched by LCursor::dispatch
4042
4043 2004-02-03  André Pönitz  <poenitz@gmx.net>
4044
4045         * BufferView.C:
4046         * cursor.[Ch]: some additional asserts
4047
4048         * undo.[Ch]: remove LyXText dependency in interface
4049
4050         * lyxfunc.C: adjust
4051
4052         * lyxtext.h (firstPar, lastPar): remove dead functions
4053
4054         * text.C:
4055         * text2.C:
4056         * text3.C:
4057         * paragraph.[Ch]: adjust
4058
4059 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4060
4061         * lyxfind.C (find): fix argument order in call to ::find
4062
4063 2004-02-02  André Pönitz  <poenitz@gmx.net>
4064
4065         * cursor.[Ch]: remove direct access to anchor
4066
4067         * text.C: remove findText() hack
4068
4069 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4070
4071         * iterators.[Ch] (lockPath): remove in favour of...
4072         * BufferView.[Ch] (setCursor): this addition
4073         * BufferView.C (putSelectionAt): adjust
4074         * undo.C (performUndoOrRedo): adjust
4075         * lyxfunc.C (dispatch): adjust
4076
4077 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4078
4079         * iterators.C (lockPath): add a missing slice
4080         * undo.C (performUndoOrRedo): remove redundant positioning code
4081
4082 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4083
4084         * vc-backend.C (scanMaster): ";" -> ';'
4085
4086 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4087
4088         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4089         std::binary_function
4090
4091         * lyxtextclass.C (compare_name): rename to...
4092         (LayoutNamesEqual): ...this
4093
4094         * lyxlex_pimpl.C (compare_tags): inherit from
4095         std::binary_function, put back into anon namespace
4096
4097         * lyxfind.C (MatchString): inherig from std::binary_function
4098         (findChange): use empty() istead of !size()
4099
4100         * format.C (FormatNamesEqual): new functor
4101         (getFormat): use it
4102         (getNumber): use it
4103         (add): use it
4104         (erase): use it
4105         (setViewer): use it
4106
4107         * converter.C (compare_Converter): rename to...
4108         (ConverterEqual): ...this, and fixup a bit.
4109         (getConverter): use it, and make function const
4110         (getNumber): use it, and make function const
4111         (add): use it
4112         (erase): use it:
4113
4114         * bufferlist.C: add using boost::bind
4115
4116         * MenuBackend.C (MenuNamesEqual): new functor
4117         (hasMenu): use it, and make function const
4118         (hasSubmenu): use nested bind to get rid of compare_memfun.
4119
4120 2004-01-30  André Pönitz  <poenitz@gmx.net>
4121
4122         * BufferView_pimpl.C:
4123         * cursor.C:
4124         * cursor.h:
4125         * cursor_slice.[Ch]:
4126         * lyxfunc.C:
4127         * lyxtext.h:
4128         * paragraph_funcs.C:
4129         * paragraph_funcs.h:
4130         * rowpainter.C:
4131         * text.C:
4132         * text2.C:
4133         * text3.C: move some of the edit(x,y) handling to the insets
4134         some coordinate changes.
4135
4136 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * text.C: add using statements for std::advance and std::distance
4139
4140         * paragraph.C: add using statement for std::distance
4141
4142         * lyxfind.C: add using statement for std::advance
4143
4144         * cursor.C (region): remove std:: from swap
4145         (openable): use nucleus in stead of operator->
4146
4147         * BufferView.C: add using statements for std::distance and std::swap
4148
4149 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * iterators.C: Remove the pimple, move the needed structures to
4152         the header file. Create accessor for the positions stack.
4153         (asPosIterator): remove function
4154
4155         * PosIterator.C (PosIterator): move constructors to top of file
4156         (PosIterator): reimplement the constructor taking a ParIterator in
4157         terms of setFrom.
4158         (setFrom): new function
4159         (operator!=): inline it
4160
4161 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4162
4163         * lyxfind.C (replaceAll): use std::advance
4164
4165         * iterators.h: inherit from std::iterator.
4166
4167         * PosIterator.C (advance, distance): remove
4168         * PosIterator.h: interit from std::iterator.
4169
4170 2004-01-26  André Pönitz  <poenitz@gmx.net>
4171
4172         * BufferView.[Ch]:
4173         * BufferView_pimpl.[Ch]:
4174         * InsetList.[Ch]:
4175         * PosIterator.[Ch]:
4176         * buffer.h:
4177         * bufferview_funcs.C:
4178         * cursor.[Ch]:
4179         * cursor_slice.h:
4180         * factory.[Ch]:
4181         * iterators.[Ch]:
4182         * lyxfind.C:
4183         * lyxfunc.C:
4184         * lyxtext.h:
4185         * output_docbook.C:
4186         * output_latex.C:
4187         * output_linuxdoc.C:
4188         * output_plaintext.C:
4189         * paragraph.[Ch]:
4190         * paragraph_funcs.[Ch]:
4191         * paragraph_pimpl.[Ch]:
4192         * rowpainter.C:
4193         * tabular.C:
4194         * tabular.h:
4195         * text.C:
4196         * text2.C:
4197         * text3.C: more IU:  dumps most of the rest of the mathcursor
4198     implementation into cursor.[Ch]; "globalize" a bit of it.
4199
4200 2004-01-25  Angus Leeming  <leeming@lyx.org>
4201
4202         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4203
4204 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4205
4206         * LaTeXFeatures.h: add nice_ and nice() const
4207         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4208
4209 2004-01-20  André Pönitz  <poenitz@gmx.net>
4210
4211         * BufferView.[Ch]:
4212         * BufferView_pimpl.C:
4213         * PosIterator.C:
4214         * bufferview_funcs.C:
4215         * cursor.[Ch]:
4216         * cursor_slice.[Ch]:
4217         * factory.C:
4218         * iterators.C:
4219         * lyx_cb.C:
4220         * lyxfind.C:
4221         * lyxfunc.C:
4222         * lyxtext.h:
4223         * rowpainter.C:
4224         * text.C:
4225         * text2.C:
4226         * text3.C:
4227         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4228           LCursor and mathcursor parts to LCursor and InsetBase.
4229
4230 2004-01-15  André Pönitz  <poenitz@gmx.net>
4231
4232         * cursor_slice.[Ch]: add a few covienience functions
4233
4234         * funcrequest.[Ch]: remove BufferView * member
4235
4236         * BufferView_pimpl.C:
4237         * cursor.C:
4238         * factory.[Ch]:
4239         * lyxfind.[Ch]:
4240         * lyxfunc.C:
4241         * lyxtext.h:
4242         * text3.C:
4243         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4244
4245 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4246
4247         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4248         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4249
4250 2004-01-13  André Pönitz  <poenitz@gmx.net>
4251
4252         * textcursor.[Ch]:
4253         * lyxtext.h: hide cursor and selection anchor behind accessor function
4254
4255         * BufferView.C:
4256         * BufferView_pimpl.[Ch]:
4257         * PosIterator.C:
4258         * bufferview_funcs.C:
4259         * cursor.h:
4260         * lyxfind.C:
4261         * lyxfunc.C:
4262         * text.C:
4263         * text2.C:
4264         * text3.C:
4265         * undo.C: adjust
4266
4267         * cursor.h:
4268         * cursor_slice.[Ch]: some integer type changes for inset unification
4269
4270         * lyxcursor.[hC]: remove, it's CursorSlice now.
4271
4272         * Makefile.am:
4273         * BufferView_pimpl.[Ch]:
4274         * bufferview_funcs.C:
4275         * cursor_slice.C:
4276         * lyxtext.h:
4277         * text.C:
4278         * text2.C:
4279         * text3.C:
4280         * textcursor.[Ch]: adjust
4281
4282 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4283
4284         * text2.C (undoSpan): add and use
4285         * text.C (breakParagraph): use undoSpan (fix bug 578)
4286         * lyxtext.h: adjust
4287
4288 2004-01-08  Angus Leeming  <leeming@lyx.org>
4289
4290         * BufferView_pimpl.C (MenuInsertLyXFile):
4291         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4292         * lyxfunc.C (menuNew, open, doImport):
4293         FileFilterList change to the FileDialog open and save functions.
4294
4295 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * ShareContainer.h: make isEqual and isUnique adaptable
4298
4299         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4300
4301 2004-01-07  Angus Leeming  <leeming@lyx.org>
4302
4303         * LyXAction.C:
4304         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4305
4306         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4307
4308         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4309         functions replacing find, replace and replaceAll.
4310
4311         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4312         LFUN_WORDFIND(FORWARD|BACKWARD).
4313
4314 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4315
4316         * text.C (breakParagraph): remove an outdated #warning
4317
4318 2004-01-07  André Pönitz  <poenitz@gmx.net>
4319
4320         * lyxfind.C: somewhat clearer logic
4321
4322         * text.C: prevent crash in cursorX on unitialized row cache
4323
4324 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4325
4326         * lyxcursor.[Ch] (operator>): add
4327         * textcursor.C (selStart, selEnd): use std::min and std::max
4328
4329 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * Chktex.C: include boost/format.hpp
4332
4333 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4334
4335         * InsetList.C: replace functor MathcIt with adaptable functor
4336         InsetTablePosLess
4337         (insetIterator): modify accordingly
4338
4339         * BranchList.h: move the BranchNamesEqual functor here from...
4340         * BranchList.C: ... to here
4341
4342         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4343         SameName and match.
4344         (add): replace a finding loop with std::find_if.
4345
4346 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4347
4348         * output_docbook.C: moving LatexParam functionality into
4349         .layout files
4350
4351 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4352
4353         * buffer.C: increment format to 229.
4354
4355 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4356
4357         * LaTeXFeatures.C:
4358         * lyx_sty.[Ch]: remove minipageindent_def
4359
4360         * LyXAction.C:
4361         * factory.C:
4362         * lfuns.h:
4363         * lyxfunc.C:
4364         * text3.C: remove LFUN_INSET_MINIPAGE
4365
4366 2003-12-28  Angus Leeming  <leeming@lyx.org>
4367
4368         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4369
4370 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4371
4372         * text2.C (setParagraph): fix off-by-one crash
4373
4374 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4375
4376         * output_docbook.C: header stuff for AGU
4377
4378 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4379
4380         * text2.C (redoCursor): remove
4381         * text.C:
4382         * text3.C:
4383         * BufferView_pimpl.C: remove calls to redoCursor and
4384         setCursor(cursor.par(), cursor.pos()) all around
4385
4386 2003-12-15  Angus Leeming  <leeming@lyx.org>
4387
4388         * buffer.C: up the format to 228.
4389
4390 2003-12-15  André Pönitz  <poenitz@gmx.net>
4391
4392         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4393         slices
4394
4395         * Makefile.am:
4396
4397         * BufferView_pimpl.C:
4398         * cursor.[Ch]:
4399         * lyxcursor.[Ch]:
4400         * rowpainter.[Ch]:
4401         * lyxtext.h:
4402         * text.C:
4403         * text2.C:
4404         * text3.C: adjust
4405
4406 2003-12-15  Angus Leeming  <leeming@lyx.org>
4407
4408         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4409         than getFromGUIName to manipulate the color.
4410
4411 2003-12-14  Angus Leeming  <leeming@lyx.org>
4412
4413         * BranchList.[Ch]: minimize the API.
4414         (Branch::getBranch, getColor): now return a 'const &'.
4415         (Branch::setSelected) now returns a bool set to true if the
4416         selection status changes.
4417         (BranchList::clear, size, getColor, setColor, setSelected,
4418         allBranches, allSelected, separator): removed.
4419         (BranchList::find): new functions, returning the Branch with
4420         the given name.
4421         (BranchList::add, remove): return a bool indicating that
4422         the operation was successful.
4423
4424         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4425         new InsetBranch::isBranchSlected member function.
4426
4427         * LColor.[Ch]: mimimize the API.
4428         (fill): renamed as addColor and made private.
4429         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4430         versions of these functions taking a string arg have been removed.
4431
4432         * bufferparams.C (readToken):
4433         * lyxfunc.C (dispatch):
4434         * lyxrc.C (read): changes due to the altered BranchList and
4435         LColor APIs.
4436
4437         * factory.C (createInset, readInset): changes due to altered
4438         InsetBranch c-tor.
4439
4440 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4441
4442         * factory.C:
4443         * lyxfunc.C: remove insetminipage. "minipage-insert"
4444         now produces a frameless minipage box inset.
4445
4446 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4447
4448         * textcursor.[Ch] (selStart,selEnd): add new methods
4449         remove selection::start, end, use LyXCursor::operator<
4450         * lyxcursor.[Ch] (operator<): add
4451         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4452         * BufferView.[Ch] (unsetXSel): add
4453         * text2.C (clearSelection): use unsetXSel,adjust
4454         * text.C: adjust
4455         * text3.C: adjust
4456         * rowpainter.C: adjust
4457         * bufferview_funcs.C (put_selection_at): adjust
4458
4459 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4460
4461         * BufferView_pimpl.C: small coord. correction
4462
4463 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4464
4465         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4466         dragging over the splash screen.
4467
4468 2003-12-11  Angus Leeming  <leeming@lyx.org>
4469
4470         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4471         as it is now handled in LyXText::dispatch.
4472
4473         * text3.C (doInsertInset): remove a level of nesting.
4474
4475 2003-12-11  Angus Leeming  <leeming@lyx.org>
4476
4477         * factory.C (createInset): changes due to the changed interface to
4478         InsetCommandMailer::string2params.
4479
4480 2003-12-10  Angus Leeming  <leeming@lyx.org>
4481
4482         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4483         'dialog-show-new-inset <inset name>'
4484
4485 2003-12-10  Angus Leeming  <leeming@lyx.org>
4486
4487         * buffer.C: up the format to 227.
4488
4489         * factory.C: the box inset is now identified simply by 'Box'.
4490
4491 2003-12-10  Angus Leeming  <leeming@lyx.org>
4492
4493         * buffer.C: up the format to 226.
4494
4495         * factory.C: the note inset is now identified simply by 'Note'.
4496
4497 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4498
4499         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4500         when a pit is enough. Standarize a couple of loops.
4501
4502 2003-12-05  Angus Leeming  <leeming@lyx.org>
4503
4504         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4505         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4506         data to the re-worked "log" dialog.
4507
4508 2003-12-03  André Pönitz  <poenitz@gmx.net>
4509
4510         * PosIterator.C:
4511         * iterators.C:
4512         * lyxtext.h:
4513         * output_latex.C:
4514         * paragraph_funcs.C:
4515         * text.C:
4516         * text2.C: use Inset::getText instead of Inset::getParagraph
4517
4518 2003-12-03  André Pönitz  <poenitz@gmx.net>
4519
4520         * buffer.[Ch]:
4521         * lyxtext.h:
4522         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4523         InsetText::read() as LyXText::read()
4524
4525 2003-12-02  Angus Leeming  <leeming@lyx.org>
4526
4527         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4528         type. Add a comment in the implementation that the function uses
4529         the stream's bad() function rather than fail() as the std::streams
4530         would do.
4531
4532 2003-12-02  André Pönitz  <poenitz@gmx.net>
4533
4534         * lyxlex.[Ch]: make interface more similar to std::stream
4535
4536         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4537
4538 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4539
4540         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4541
4542 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4543
4544         * vspace.[Ch]: remove VSpace::NONE
4545
4546 2003-12-01  André Pönitz  <poenitz@gmx.net>
4547
4548         * buffer.[Ch]:
4549         * lyxtext.h: move ParagraphList member to LyXText
4550         rename LyXText::ownerParagraphs to LyXText::paragraph
4551
4552         * CutAndPaste.C:
4553         * bufferview_funcs.C:
4554         * iterators.[Ch]:
4555         * lyx_cb.C:
4556         * paragraph.C:
4557         * rowpainter.C:
4558         * tabular.C:
4559         * text.C:
4560         * text2.C:
4561         * text3.C: adjust
4562
4563         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4564
4565         * undo.C: fix cursor positioning
4566
4567 2003-12-01  John Levon  <levon@movementarian.org>
4568
4569         * BufferView_pimpl.C: fix a crash on exit with
4570         a buffer open
4571
4572 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4573
4574         * BranchList.C: fix setSelected() method.
4575
4576 2003-11-28  André Pönitz  <poenitz@gmx.net>
4577
4578         * ParagraphParameters.[Ch]:
4579         * ParameterStruct.h: remove space above/below from Paragraph to
4580          InsetVSpace
4581
4582         * BufferView_pimpl.C:
4583         * factory.C:
4584         * lyxfunc.C:
4585         * lyxtext.h:
4586         * output_latex.C:
4587         * paragraph.C:
4588         * paragraph_funcs.C:
4589         * rowpainter.[Ch]:
4590         * text.C:
4591         * text2.C:
4592         * text3.C: adjust
4593
4594 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4595
4596         * factory.C: Syntax change for CharStyles
4597
4598 2003-11-28  André Pönitz  <poenitz@gmx.net>
4599
4600         * BufferView.[Ch]:
4601         * BufferView.[Ch]:
4602         * buffer.[Ch]:
4603         * buffer.[Ch]: move LyXText member
4604
4605 2003-11-28  André Pönitz  <poenitz@gmx.net>
4606
4607         * BufferView.[Ch]: make LyXText * text a private member
4608
4609         * BufferView_pimpl.C:
4610         * cursor.C:
4611         * iterators.C:
4612         * lyx_cb.C:
4613         * lyxfind.C:
4614         * lyxtext.h:
4615         * rowpainter.[Ch]:
4616         * text.C:
4617         * text2.C:
4618         * undo.C: adjust
4619
4620         * output_plaintext.C: cleanup
4621
4622 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4623
4624         * buffer.C:
4625         * lyxtextclass.[Ch]: parametrize SGML document header
4626
4627 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4628
4629         * converter.[Ch]:
4630         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4631         getFlavor().
4632
4633 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4634
4635         * text2.C (setFont): rework using PosIterator (no more recursive)
4636         (setCharFont): no more needed
4637         (setLayout): no more selection cursors fiddling (done by redoCursor)
4638         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4639         destroy remaining ones)
4640
4641 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4642
4643         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4644         * lyxtext.h: ditto
4645         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4646         selection cursors
4647         * lyxfunc.C: adjust
4648         * text3.C: adjust + re-allow multi par depth changes
4649         * textcursor.C: simplify a bit
4650
4651 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4652
4653         * src/buffer.C:
4654         * src/lyxlayout.C:
4655         * src/lyxlayout.h:
4656         * src/lyxtext.h:
4657         * src/output_docbook.C:
4658         * src/output_latex.C:
4659         * src/paragraph.C:
4660         * src/paragraph.h:
4661         * src/sgml.C:
4662         * src/sgml.h:
4663         * src/text2.C: Introducing a number of tags parametrizing various
4664         XML formats that we may want to support
4665
4666 2003-11-25  André Pönitz  <poenitz@gmx.net>
4667
4668         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4669
4670         * lyxtext.h (leftMargin/rightMargin): simplify interface
4671
4672         * rowpainter.C:
4673         * text.C:
4674         * text2.C:
4675         * text3.C: adjust
4676
4677 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4678
4679         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4680         master file to any child files. Fixes bug 546.
4681
4682 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4683
4684         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4685
4686 2003-11-24  André Pönitz  <poenitz@gmx.net>
4687
4688         * rowpainter.C: simplification
4689
4690         * text2.C (updateCounters): remove call to redoParagraph on
4691         changed labels as this is far too expensive.
4692
4693 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4694
4695         * converter.C (convert): fix a crash: this function gets
4696         called with buffer == 0 from importer code.
4697
4698 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * text3.C (cursorPrevious): make sure that we do not compare
4701         iterators form different containers.
4702         (cursorNext): ditto
4703
4704         * rowpainter.C (paintSelection): make sure that we do not compare
4705         iterators from different containers.
4706
4707         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4708         iterators from different ParagraphList containers.
4709         [NEXT] ditto
4710
4711         * text2.C (LyXText): change order of initialization slightly
4712         (operator=): new function. copy all variables except cache_par_
4713         (moveUp): make sure that we do not compare iterators from
4714         different ParagraphList constainers.
4715         (moveDown): ditto
4716
4717         * text.C (firstPar): new function
4718         (lastPar): new function
4719         (endPar): new function
4720
4721         * lyxtext.h: move things around and group public functions, public
4722         variables, private functions, private variables
4723
4724 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4725
4726         * factory.C: change call to InsetERT constructor to avoid
4727         additional invocation of method status
4728         * text2.C (toggleInset): remove redundant update() call
4729         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4730         instead of a Bufferview pointer
4731
4732 2003-11-21  André Pönitz  <poenitz@gmx.net>
4733
4734         * rowpainter.C: simplification
4735
4736 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4737
4738         * text3.C (dispatch): make possible to extend a word/row selection
4739         with the mouse
4740
4741 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4742
4743         * lyxtext.h: x0_,y0_ -> xo_,yo_
4744         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4745         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4746         * rowpainter.C (paintRows): paint full paragraphs
4747
4748 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4749
4750         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4751         screen coordinates)
4752
4753 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4754
4755         * lyxtext.h: add x0_, y0_
4756         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4757         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4758
4759 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4760
4761         * text2.C (setCursorIntern): move the x_target update here *
4762         * text3.C: change some bv() to true/false in calls to
4763         cursorUp/Down/Right/Left
4764         * cursor.C: use helper function.
4765
4766 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4767
4768         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4769         * paragraph_funcs.[Ch]: correct comment
4770         * rowpainter.C: do not paint selections away from bv->cursor()
4771         Fix a long standing selection painting bug.
4772         * text3.C: generalize mouse-selection code to LyXTexts other that
4773         top one
4774         * textcursor.C: do not use y coords if we can use par offsets
4775
4776 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4777
4778         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4779         cursor position after e.g. inset insert)
4780
4781 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4782
4783         * lyxfind.C (replace): adjust to locking removal + some
4784         code simplification
4785
4786 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4787
4788         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4789         of the path
4790
4791 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4792
4793         * lyxlayout.[Ch]:
4794         * output_docbook.C: XML sanitation: new layout
4795         parameters InnerTag and CommandDepth
4796
4797 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4798
4799         * BufferView_pimpl.C:
4800         * factory.C:
4801         * text3.C: Fix the insertion and modification of button-style
4802         insets
4803
4804 2003-11-13  André Pönitz  <poenitz@gmx.net>
4805
4806         * InsetList.[Ch]: remove deleteLyXText
4807
4808         * paragraph.[Ch]: cache beginOfBody position
4809
4810         * Bidi.C:
4811         * text.C:
4812         * text2.C:
4813         * text3.C: remove superfluous update() calls
4814
4815         * vspace.C: cleanup
4816
4817 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4818
4819         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4820         * BufferView.C (fitLockedInsetCursor): remove
4821         * cursor.[Ch] (getDim): add
4822         * text.C (getRowNearY): add faster version
4823         * text3.C: remove some update calls
4824
4825 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4826
4827         * LaTeXFeatures.C:
4828         * LyXAction.C:
4829         * MenuBackend.C:
4830         * MenuBackend.h:
4831         * dispatchresult.h:
4832         * factory.C:
4833         * lfuns.h:
4834         * lyxfunc.C:
4835         * lyxtextclass.C:
4836         * lyxtextclass.h:
4837         * text3.C: The Character Style /XML short element patch.
4838
4839 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4840
4841         * text3.C:
4842         * factory.C: Small step to solving 'unable to insert some insets'
4843         problem
4844
4845 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4846
4847         * cursor.[Ch] (updatePos): new function for updating the y
4848         position of the tip inset
4849         * bufferview_funcs.C (put_selection_at):
4850         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4851
4852 2003-11-11  André Pönitz  <poenitz@gmx.net>
4853
4854         * text.C: remove big comment on invalid Paragraph pointers as it is
4855         not valid anymore
4856
4857 2003-11-11  André Pönitz  <poenitz@gmx.net>
4858
4859         * text_funcs.[Ch]: merge with ...
4860
4861         * text.C: ... this
4862
4863         * lyxtext.h:
4864         * text2.C:
4865         * text3.C: adjust
4866
4867         * Makefile.am: remove text_funcs.[Ch]
4868
4869 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4870
4871         * cursor.C (getPos): return absolute cached y coord
4872
4873         * BufferView_pimpl.C (fitCursor): new simplistic code
4874         (workAreaDispatch): add a fitCursor call
4875
4876 2003-11-10  André Pönitz  <poenitz@gmx.net>
4877
4878         * BufferView.[Ch]:
4879         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4880
4881 2003-11-10  André Pönitz  <poenitz@gmx.net>
4882
4883         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4884         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4885         indicate that the cursor needs to leave an inset
4886
4887         * lyxtext.h: remove inset locking
4888
4889         * cursor.[Ch]: re-implement functionality provided by inset locking
4890
4891         * BufferView.[Ch]:
4892         * BufferView_pimpl.[Ch]:
4893         * LyXAction.C:
4894         * bufferview_funcs.[Ch]:
4895         * factory.C:
4896         * funcrequest.[Ch]:
4897         * iterators.C:
4898         * lyx_cb.C:
4899         * lyxfind.C:
4900         * lyxfunc.C:
4901         * text.C:
4902         * text2.C:
4903         * text3.C:
4904         * undo.C: adjust
4905
4906 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4907
4908         * PosIterator.[Ch]: replace the stack with a vector, add inset
4909         accesor
4910         * iterators.[C]: adjust
4911
4912 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4915         replaced
4916         * paragraph_funcs.C (readParToken): put the correct id in the
4917         error item, not the id of the top paragraph
4918
4919 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4920
4921         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4922         * bufferview_funcs.C (put_selection_at): use the above
4923
4924 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4925
4926         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4927
4928 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4929
4930         * output_linuxdoc.h:
4931         * output_plaintext.h:
4932         * output.h:
4933         * output_docbook.h: add #include statements
4934
4935 2003-11-05  José Matos  <jamatos@lyx.org>
4936
4937         * output_docbook.[Ch]:
4938         * output_latex.[Ch]:
4939         * output_linuxdoc.[Ch]:
4940         * output_plaintext.[Ch]: New files for output formats.
4941         * output.[Ch]: New file for helper functions.
4942
4943         * buffer.[Ch]:
4944         * paragraph_funcs.[Ch]: output functions moved to new files.
4945
4946         * outputparams.h: rename of latexrunparams.h
4947
4948         * LaTeX.[Ch]:
4949         * buffer.[Ch]:
4950         * bufferlist.[Ch]:
4951         * converter.[Ch]:
4952         * exporter.C:
4953         * paragraph.[Ch]:
4954         * paragraph_funcs.[Ch]:
4955         * paragraph_pimpl.[Ch]:
4956         * tabular.[Ch]: rename ascii to plaintext
4957         and LatexRunParams to OutputParams.
4958
4959 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4960
4961         * iterators.[Ch] (text): require bv argument
4962         * undo.C (recordUndo):
4963         * lyxfunc.C (dispatch):
4964         * bufferview_funcs.C (put_selection_at): adjust
4965
4966 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4967
4968         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4969
4970 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4973         nestings
4974
4975 2003-11-04  André Pönitz  <poenitz@gmx.net>
4976
4977         * cursor.[Ch]: restructure
4978
4979         * BufferView.[Ch]:
4980         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4981
4982         * iterators.[Ch] (asCursor): remove
4983
4984         * lfuns.h: remove LFUN_INSET_EDIT
4985
4986         * lyxfunc.C:
4987         * tabular.C:
4988         * text.C:
4989         * text2.C:
4990         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4991
4992 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4993
4994         * lyxfind.[Ch]: complete overhaul
4995         * BufferView_pimpl.C:
4996         * lyxfunc.C: adjust
4997         * paragraph.[Ch] (insert): add
4998
4999 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5000
5001         * BufferView.[Ch]:
5002         * lyxtext.h:
5003         * text.C: remove dead spellcheck code
5004
5005 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5006
5007         * dispatchresult.h: add a val setter
5008
5009         * cursor.C (dispatch): use a tempvar for data_[i]
5010
5011 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5012
5013         * PosIterator.[Ch]: compile fix
5014
5015 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5016
5017         * text.C (cursorPar): deactivate the cursor cache
5018
5019 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5022
5023 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5024
5025         * text3.C (dispatch): adjust for new DisptchResult semantics.
5026
5027         * lyxfunc.C (dispatch): handle update when return from
5028         Cursor::dispatch, adjust for new DispatchResult semantics.
5029
5030         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5031         DispatchResult(true) mean to not update. Add class functions for
5032         setting dispatched and update, as well as reading.
5033
5034         * cursor.C (dispatch): don't handle update here
5035
5036 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5039         * trans_mgr.C: adjust
5040
5041         * paragraph_funcs.C (readParToken): exception safety
5042
5043         * lyxvc.h: store the vcs pointer in a scoped_ptr
5044         * lyxvc.C: adjust
5045
5046         * lyxsocket.C (serverCallback): exception safety
5047
5048         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5049
5050         * ispell.C (clone): make it return a auto_ptr
5051
5052         * factory.C (createInset): exception safety
5053         (readInset): exception safety
5054
5055         * bufferlist.C (newBuffer): exception safety
5056
5057         * Thesaurus.C (Thesaurus): use initialization for aik_
5058
5059         * MenuBackend.C (expandToc): exception safety.
5060
5061 2003-11-03  André Pönitz  <poenitz@gmx.net>
5062
5063         * buffer.C:
5064         * buffer.h:
5065         * bufferview_funcs.C: remove getInsetFromId()
5066
5067         * lyxcursor.[Ch]:
5068         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5069
5070         * lyxfunc.C:
5071         * text2.C:
5072         * text3.C: adjust
5073
5074 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5075
5076         * PosIterator.C (distance, advance): new
5077         * bufferview_funcs.[Ch] (put_selection_at): new
5078         * iterators.[Ch] (lockPath): new
5079
5080 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5081
5082         * iterators.[Ch] (asPosIterator): added
5083         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5084         * PosIterator.[Ch]: added
5085
5086 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * text3.C:
5089         * lyxfunc.C:
5090         * cursor.C (dispatch):
5091         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5092
5093         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5094         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5095         contructor, add a class function dispatched. Remove operator>=
5096
5097 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * debug.C: only use the default constructor for debugstream
5100         (lyxerr) here.
5101
5102         * main.C (main): include debug.h and setup the lyxerr streambuf
5103         here.
5104
5105 2003-10-31  José Matos  <jamatos@lyx.org>
5106
5107         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5108
5109         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5110         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5111         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5112         * paragraph_pimpl.C (simpleTeXSpecialC):
5113         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5114         add LatexRunParams argument.
5115
5116         * exporter.C (Export): change call accordingly.
5117
5118         * latexrunparams.h: add new member to take care of the other backends.
5119 2003-10-30  José Matos  <jamatos@lyx.org>
5120
5121         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5122         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5123         factorise code for paragraph output.
5124         * buffer.[Ch]:
5125         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5126         move functions.
5127
5128 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5129
5130         * text3.C (dispatch):
5131         * lyxfunc.C (dispatch):
5132         * cursor.C (dispatch):
5133         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5134
5135         * dispatchresult.h: make the dispatch_result_t ctor explicit
5136
5137 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5138
5139         * sgml.[Ch]:
5140         * buffer.C: small refactoring of docbook stuff
5141
5142 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5145         meaning.
5146
5147 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5150         operator dispatch_result_t, and operators for == != and >=
5151
5152         * cursor.C (dispatch): adjust for operator dispatch_result_t
5153         removal. comment out call to update
5154
5155         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5156
5157 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5158
5159         * text3.C:
5160         * text2.C:
5161         * text.C:
5162         * lyxtext.h:
5163         * lyxfunc.C:
5164         * cursor.C:
5165         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5166         (dispatch):
5167
5168         * dispatchresult.h: new file, DispatchResult broken out of
5169         insets/insetbase.h
5170
5171         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5172
5173 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * text.C (rowBreakPoint): put a hack inside #if 0
5176
5177 2003-10-28  André Pönitz  <poenitz@gmx.net>
5178
5179         * lyxtext.h:
5180         * metricsinfo.C:
5181         * paragraph_funcs.C:
5182         * rowpainter.C:
5183         * text.C:
5184         * text2.C: general cleanup (lots of small stuff)
5185
5186 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5187
5188         * text2.C (cursorEnd): simple fix to the "end key goes to one
5189         before the end on last row" bug
5190
5191 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5192
5193         * text.C (backspace): fix the "zombie characters"
5194
5195 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5196
5197         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5198
5199 2003-10-27  André Pönitz  <poenitz@gmx.net>
5200
5201         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5202
5203         * factory.C: handle new InsetPagebreak, InsetLine
5204
5205         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5206         and move handling into new InsetPagebreak, InsetLine
5207
5208         * BufferView_pimpl.C:
5209         * LyXAction.C:
5210         * ParagraphParameters.C:
5211         * ParameterStruct.h:
5212         * lyxfunc.C:
5213         * lyxtext.h:
5214         * paragraph.C:
5215         * paragraph.h:
5216         * paragraph_funcs.C:
5217         * paragraph_pimpl.C:
5218         * rowpainter.C:
5219         * text.C:
5220         * text2.C:
5221         * text3.C: adjust
5222
5223 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5224
5225         * text.C:
5226         * lyxrow_funcs.[Ch]:
5227         * Bidi.C:
5228         * paragraph.C:
5229         * lyxtext.h:
5230         * rowpainter.C:
5231         * text2.C:
5232         * text3.C: remove lastPos uses in favour of Row::endpos
5233
5234 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * undo.C (performUndoOrRedo): fix two crashes by setting a
5237         cursor by hand and reordering some calls. Use bv->lockInset instead
5238         of inset->edit because the latter loses cursor information
5239
5240 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5241
5242         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5243         by Martin
5244         (rowBreakPoint): fix width. change point to point + 1.
5245         Add a missing check.
5246
5247 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5248
5249         * MenuBackend.C:
5250         * lyxfunc.C: fix (at least partly) the problems
5251         with the Nav menu and headers inside branch insets
5252         reported by Kayvan
5253
5254 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5255
5256         * paragraph.C (getChar): add strong asserts
5257
5258         * lyxrow_funcs.C (lastPos): remove hideous hack
5259
5260         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5261         (fill): adjust to that (avoid an infinite loop)
5262
5263 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5264
5265         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5266
5267 2003-10-23  André Pönitz  <poenitz@gmx.net>
5268
5269         * RowList_fwd.h: change list<> to vector<> to gain speed
5270         after suggestion from Alfredo
5271
5272 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5273
5274         * lyxtext.h: move the bidi stuff from here...
5275         * text.C: and here
5276         * text2.C: and here
5277         * Bidi.[Ch]: ... to here
5278
5279 2003-10-23  André Pönitz  <poenitz@gmx.net>
5280
5281         * lyxtext.h:
5282         * text.C (isLastRow, isFirstRow): new functions
5283
5284         * paragraph.h: new width cache member
5285
5286         * rowpainter.C: replace RowList::iterator with Row & where possible
5287
5288         * lyxfunc.C: replace several view()->text with a single call
5289
5290         * toc.C: fix 'unused' warning
5291
5292 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5293
5294         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5295         when woring with stream::pos_type
5296         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5297
5298 2003-10-22  André Pönitz  <poenitz@gmx.net>
5299
5300         * lyxtext.h:
5301         * text.C: use Row & instead of RowList::iterator
5302
5303         * lyxrow.h: rename end() to endpos()
5304
5305         * rowpainter.C:
5306         * text.C:
5307         * text2.C: adjust
5308
5309 2003-10-22  Angus Leeming  <leeming@lyx.org>
5310
5311         * buffer.[Ch] (fully_loaded): new member function, returning true
5312         only when the file has been loaded fully.
5313         Used to prevent the premature generation of previews and by the
5314         citation inset to prevent computation of the natbib-style label.
5315
5316         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5317         templates are all set up.
5318
5319         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5320
5321 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5322
5323         * text.C: fixed an "oops" in the "is a bit silly"
5324         bug fix
5325
5326 2003-10-21  André Pönitz  <poenitz@gmx.net>
5327
5328         * FuncStatus.[Ch]: small stuff, whitespace
5329
5330         * lyxfont.[Ch]: operator<<() for debug reasons
5331
5332         * lyxfunc.C:
5333         * lyxrow_funcs.C:
5334         * lyxtext.h: whitespace, spelling
5335
5336         * paragraph.C: naming of variables
5337
5338         * text.C:
5339         * text2.C: small stuff
5340
5341
5342 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5343
5344         * text.C: (1) finish off the inset display() work;
5345         (2) fix the "is a bit silly" bug (accessing char
5346         past end of par).
5347
5348 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5349
5350         * text.C: re-introduce display() for insets, fixing the
5351         various bugs (stretch of line above, math inset
5352         positioning, ...)
5353
5354 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5355
5356         * text.C (rightMargin): remove spurious semicolon
5357
5358         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5359         1415)
5360
5361 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5362
5363         * text3.C: fix one crash due to wrong cursor def
5364
5365 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * vc-backend.C (scanMaster): make the regex static
5368
5369         * LaTeX.C (scanAuxFile): make the regexs static
5370
5371         * text3.C (doInsertInset, dispatch, dispatch):
5372         * text2.C (cursorUp, cursorDown):
5373         * text.C (selectNextWordToSpellcheck):
5374         * BufferView_pimpl.C (dispatch):
5375         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5376
5377 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5378
5379         * lyxsocket.C: include <cerrno>
5380
5381 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * lyxfunc.C (dispatch): remove textcache stuff
5384
5385         * bufferlist.C (release): remove textcache stuff
5386         (closeAll): ditto
5387
5388         * TextCache.C: delete file
5389         * TextCache.h: delete file
5390
5391         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5392
5393         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5394         delete of the bv_->text.
5395         (resizeCurrentBuffer): remove texcache stuff
5396         (workAreaResize): ditto
5397
5398 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5399
5400         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5401         action.
5402
5403 2003-10-16  André Pönitz  <poenitz@gmx.net>
5404
5405         * lyxrow.[Ch]:
5406         * paragraph.h:
5407         * rowpainter.C:
5408         * text.C:
5409         * text2.C:
5410         * text3.C: speed up by storing y positions per paragraph plus per-row
5411         offset instead of having a 'full' y position in the row.
5412
5413 2003-10-15  André Pönitz  <poenitz@gmx.net>
5414
5415         * iterators.[Ch]:
5416         * iterators.[Ch]:
5417         * undo.[Ch]: make undo aware of inner insets
5418
5419 2003-10-14  Angus Leeming  <leeming@lyx.org>
5420
5421         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5422         static member functions LyX::ref() and LyX::cref.
5423         (lastfiles): new accessor functions for the new lastfiles_ member var.
5424         (addLyXView, views_): add a new LyXView to the list of views_.
5425         (updateInset): loop over all LyXViews to call their own updateInset
5426         member function, returning a pointer to the Buffer owning the inset.
5427
5428         * BufferView_pimpl.C (loadLyXFile):
5429         * MenuBackend.C (expandLastfiles):
5430         * bufferlist.C (MenuWrite, QuitLyX):
5431         lastfiles is no longer a global variable.
5432         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5433
5434         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5435         static function. Access through LyX::cref().emergencyCleanup().
5436
5437 2003-10-14  André Pönitz  <poenitz@gmx.net>
5438
5439         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5440
5441         * undo.[Ch]: restoring part of 'undo in insets'
5442
5443         * Makefile.am:
5444         * undo_funcs.[Ch]: merge with undo.[Ch]
5445
5446         * tabular.C: small cleansing stuff
5447
5448 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5449
5450         * paragraph_funcs.C (readParToken): report unknown insets as error
5451         boxes. Use the outer paragraph as location (also for unknown
5452         tokens).
5453
5454         * factory.C (readInset): do not abort on reading an unknown inset.
5455         Eat it and return 0.
5456
5457 2003-10-13  Angus Leeming  <leeming@lyx.org>
5458
5459         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5460
5461         * lyxrc.C: displayTranslator is now a function,
5462         declared in GraphicsTypes.h.
5463
5464 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5465
5466         * format.C: new placeholder $$a to pass the socket address.
5467
5468         * bufferlist.[Ch]: new function getBufferFromTmp.
5469
5470         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5471           files in the temporary dir.
5472
5473 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5474
5475         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5476
5477         * Makefile.am: add lyxsocket.[Ch].
5478
5479         * lyx_main.C (error_handler): handle SIGPIPE.
5480
5481 2003-10-13  André Pönitz  <poenitz@gmx.net>
5482
5483         * BufferView_pimpl.C:
5484         * lyxtext.h:
5485         * text.C:
5486         * text2.C:
5487         * text3.C:
5488         * undo_funcs.[Ch]: use paroffset_type instead of
5489           ParagraphList::iterators to prevent multiple conversion
5490           (and get a more robust interface)
5491
5492 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5495         * lyxtext.h: ditto
5496         * text3.C (dispatch): ditto
5497
5498 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5501         move the onlyfile, use onlyfile instead of foundfile in a couple
5502         of places.
5503
5504         * DepTable.C (update): flush the error stream a bit more
5505
5506 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * lyxserver.C (callback): adjust
5509
5510         * lyxfunc.C (getStatus): add a missing brace in commented code
5511         (ensureBufferClean): reindent
5512         (dispatch): delete version taking a string
5513
5514 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5515
5516         * LaTeX.C (deplog): move found file handlig from here...
5517         (handleFoundFile): .. to new function here.
5518         (deplog): make sure to discover several files mentioned on the
5519         same log line.
5520
5521 2003-10-10  André Pönitz  <poenitz@gmx.net>
5522
5523         * lyxfunc.C:
5524         * lyxtext.h:
5525         * tabular.C:
5526         * text.C:
5527         * text2.C:
5528         * text3.C: fix some of the tabular crashes
5529
5530 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5531
5532         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5533
5534         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5535
5536 2003-10-09  André Pönitz  <poenitz@gmx.net>
5537
5538         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5539
5540         * BufferView.C:
5541         * BufferView_pimpl.C:
5542         * bufferview_funcs.C:
5543         * lyx_cb.C:
5544         * lyxcursor.C:
5545         * lyxfind.C:
5546         * lyxfunc.C:
5547         * lyxtext.h:
5548         * text.C:
5549         * text2.C:
5550         * text3.C:
5551         * text_funcs.[Ch]:
5552         * textcursor.[Ch]:
5553         * undo_funcs.C: adjust
5554
5555 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5556
5557         * text2.C (incrementItemDepth): new function, use a backtracking
5558         algorithm to discover the correct item depth.
5559         (resetEnumCounterIfNeeded): new function, use a backtracking
5560         algorithm to discover if counter reset is needed.
5561         (setCounter): use them. Simplify a bit. Add different labels for
5562         different item depths for itemize.
5563
5564         * paragraph.C (Paragraph): remove initialization of enumdepth
5565         (operator=): ditto
5566
5567         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5568         enumerate and itemize. Change the type of itemdepth to signed char.
5569
5570 2003-10-08  André Pönitz  <poenitz@gmx.net>
5571
5572         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5573           thing assignable.
5574         * text.C:
5575         * text2.C: adjust
5576
5577         * tabular.[Ch]: fix crash after 'row-insert'
5578
5579 2003-10-08  Angus Leeming  <leeming@lyx.org>
5580
5581         Fix doxygen warnings.
5582
5583         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5584         Remove CutAndPaste:: prefix from header file declaration.
5585
5586         * LColor.h (fill): remove LColor:: prefix from declaration.
5587
5588         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5589         use lyx::depth_type rather than Paragraph::depth_type so that
5590         header file and .C file match.
5591
5592         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5593
5594         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5595         * aspell.C: \file aspell_local.C -> \file aspell.C
5596         * gettext.C: \file gettext.C -> \file src/gettext.C
5597         * gettext.h: \file gettext.h -> \file src/gettext.h
5598         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5599         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5600         * text.C: \file text.C -> \file src/text.C
5601
5602         * toc.C: move comment so that doxygen is not confused.
5603
5604 2003-10-07  Angus Leeming  <leeming@lyx.org>
5605
5606         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5607
5608 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5609
5610         * aspell.C:
5611         * aspell_local.h: add forgotten std::string's.
5612
5613 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5614
5615         * LaTeXFeatures.C:
5616         * LyXAction.C:
5617         * factory.C:
5618         * lfuns.h:
5619         * lyxfunc.C:
5620         * text3.C: The Box patch. Fancybox support, minipage, parbox
5621
5622 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5623
5624         * CutAndPaste.h:
5625         * DepTable.h:
5626         * FloatList.h:
5627         * LaTeXFeatures.h:
5628         * ParagraphParameters.h:
5629         * TextCache.h:
5630         * Thesaurus.h:
5631         * bufferlist.h:
5632         * exporter.h:
5633         * importer.h:
5634         * lastfiles.h:
5635         * lyxfind.h:
5636         * lyxfont.h:
5637         * lyxlex.h:
5638         * lyxtextclasslist.h:
5639         * messages.h:
5640         * paragraph.h:
5641         * paragraph_pimpl.C:
5642         * textcursor.h: add <string> and other small fixes to make Lars'
5643         std::string patch compile with STLport.
5644
5645 2003-10-06  Angus Leeming  <leeming@lyx.org>
5646
5647         * LColor.h: Add missing #include <string>.
5648
5649 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * All most all file in all subdirs: Make <string> be the prefered
5652         way of getting to std::string, add using declarations.
5653
5654 2003-10-06  André Pönitz  <poenitz@gmx.net>
5655
5656         * metricsinfo.C: initialize LyXFont before changing attribute.
5657         (fixes the 'math in \emph is upright' bug)
5658
5659 2003-10-06  André Pönitz  <poenitz@gmx.net>
5660
5661         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5662
5663 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5664
5665         * graph.C:
5666         * paragraph_pimpl.C: Small fixes to build using STLport
5667
5668 2003-10-02  André Pönitz  <poenitz@gmx.net>
5669
5670         * lyxfunc.C:
5671         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5672
5673 2003-10-01  André Pönitz  <poenitz@gmx.net>
5674
5675         * factory.C: assert early
5676
5677 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5678
5679         * lyx_main.C: remove the global debug object
5680
5681         * debug.h: adjust for new debugstream
5682
5683         * debug.C: adjust for new debugstream and keep the global debug
5684         object here.
5685
5686 2003-09-22  Angus Leeming  <leeming@lyx.org>
5687
5688         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5689         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5690         an incomplete class LyXFont.
5691
5692 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5693
5694         * factory.C: bug fix in branches
5695
5696 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * lyxfunc.C (processKeySym): adjust
5699         (dispatch): adjust
5700         (dispatch): change arg name from ev to func, adjust
5701         (sendDispatchMessage): ditto
5702
5703         * lyx_main.C (defaultKeyBindings): adjust keybindings
5704         (deadKeyBindings): ditto
5705
5706         * kbsequence.C (addkey): return a FuncRequest
5707
5708         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5709
5710         * kbmap.C (bind): take a FuncRequest as arg, adjust
5711         (read): adjust
5712         (lookup): adjust
5713         (defkey): change to take a FuncRequest as arg, adjust
5714         (findbinding): take a FuncRequest as arg, adjust.
5715
5716         * funcrequest.h (operator=): added
5717
5718         * funcrequest.C (FuncRequest): default kb_action changed from
5719         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5720
5721         * buffer.C (dispatch): simplify
5722         (dispatch): adjust to take a FuncRequest as arg, adjust
5723
5724         * boost.C (assertion_failed): change assertion message slightly
5725
5726         * ToolbarBackend.C (read): simplify
5727
5728         * MenuBackend.C (binding): adjust call to findbinding, add a
5729         message if no binding is found.
5730         (read): simplify
5731         (expandToc): correct by adding a empty FuncRequest
5732
5733         * LyXAction.C: include <boost/assert.hpp>
5734         (isPseudoAction): delete function
5735         (LookupFunc): change name to...
5736         (lookupFunc): this. change return type to FuncRequest.
5737         (getActionName): take kb_action as arg, simplify
5738         (funcHasFlag): add an assert, simplify.
5739
5740 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5741
5742         * toc.C (action): return a FuncRequest, simplify
5743
5744         * lyxfunc.C (processKeySym): adjust
5745         (getStatus): delete version that takes an int.
5746         (getStatus): adjust
5747         (dispatch): delete version that takes action as int
5748         (dispatch): adjust
5749         (sendDispatchMessage): simplify and adjust
5750
5751         * funcrequest.C (getArg): take unsigned int as arg
5752
5753         * ToolbarBackend.C (read): adjust
5754         (add): delete version that takes func as a string.
5755         (getIton): take a FuncRequest as arg
5756
5757         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5758         action.
5759
5760         * MenuBackend.C (MenuItem): add a new construct that only takes a
5761         Kind, simplify the constructor use for submenus.
5762         (add): adjust
5763         (expandLastfiles): adjust
5764         (expandDocuments): adjust
5765         (expandFormats): adjust
5766         (expandFloatListInsert): adjust
5767         (expandFloatInsert): adjust
5768         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5769
5770         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5771         Remove class variables lyx_pseudo_map and lyx_arg_map
5772
5773         * LyXAction.C (searchActionArg): delete function
5774         (getPseudoAction): delete function
5775         (retrieveActionArg): delete function
5776         (LookupFunc): make it return kb_action, simplify.
5777         (getActionName): simplify
5778
5779         * factory.C (createInset): fix new bug
5780
5781 2003-09-19  Angus Leeming  <leeming@lyx.org>
5782
5783         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5784         masterFilename_ parameter in the include inset.
5785
5786         * factory.C (createInset): changes due to the changes to InsetInclude.
5787
5788 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5789
5790         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5791
5792 2003-09-18  Angus Leeming  <leeming@lyx.org>
5793
5794         * buffer.C:
5795         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5796         Inset::fillWithBibKeys.
5797         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5798
5799 2003-09-18  Angus Leeming  <leeming@lyx.org>
5800
5801         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5802         variables.
5803         (ctor): pass and store a 'Buffer const &'
5804         (buffer): new member function.
5805
5806         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5807         '*this' to the LaTeXFeatures ctor.
5808
5809 2003-09-18  Angus Leeming  <leeming@lyx.org>
5810
5811         * LColor.h:
5812         * lyxfont.C:
5813         * lyxfont.h:
5814         * lyxtext.h:
5815         * text.C: rename EnumLColor as LColor_color.
5816
5817 2003-09-18  Angus Leeming  <leeming@lyx.org>
5818
5819         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5820         remove #include "insets/insetbase.h" from cursor.h.
5821
5822 2003-09-18  Angus Leeming  <leeming@lyx.org>
5823
5824         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5825         InsetOld_code to remove #include "inset.h".
5826
5827         * iterators.C: add #include "insets/inset.h"
5828
5829 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5830
5831         * BufferView.C: remove more locking stuff that apparently doesn't
5832         do anything sensible.
5833
5834 2003-09-16  André Pönitz  <poenitz@gmx.net>
5835
5836         * paragraph.[Ch]:
5837         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5838           performance boost.
5839
5840 2003-09-16  Angus Leeming  <leeming@lyx.org>
5841
5842         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5843
5844         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5845         arg/return type.
5846
5847         * paragraph.h: remove #include "lyxfont.h". Forward declare
5848         LyXFont_size.
5849
5850 2003-09-16  Angus Leeming  <leeming@lyx.org>
5851
5852         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5853         of support/textutils.h.
5854         (isWord): move the contents of support/textutils.h's IsWordChar here.
5855
5856         * buffer.C:
5857         * lyxfind.C:
5858         * rowpainter.C:
5859         * text.C:
5860         * text2.C: add #include "paragraph.h".
5861
5862         * rowpainter.C:
5863         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5864
5865 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * main.C:
5868         * lyx_main.C:
5869         * lyx_cb.C:
5870         * buffer.C:
5871         * LaTeX.C: use namespace alias for lyx::support::os
5872
5873 2003-09-16  Angus Leeming  <leeming@lyx.org>
5874
5875         * bufferparams.C:
5876         * bufferview_funcs.C:
5877         * factory.C:
5878         * lyxfunc.C:
5879         * paragraph_pimpl.C:
5880         * rowpainter.C:
5881         * text.C: add #include "LColor.h".
5882
5883 2003-09-16  Angus Leeming  <leeming@lyx.org>
5884
5885         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5886         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5887         return LyXFont &.
5888         Store the FontBits::color variable as an int rather than as an
5889         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5890         file.
5891
5892         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5893         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5894         string calls together.
5895
5896         * lyxrc.C: add #include "LColor.h".
5897
5898 2003-09-15  Angus Leeming  <leeming@lyx.org>
5899
5900         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5901         a cow_ptr.
5902
5903 2003-09-15  Angus Leeming  <leeming@lyx.org>
5904
5905         * LColor.h: add an EnumLColor wrapper for LColor::color.
5906
5907         * lyxfont.[Ch] (color, setColor, realColor):
5908         * lyxtext.h, text.C (backgroundColor):
5909         pass EnumLColor args to/from the functions, rather than LColor::color
5910         ones.
5911
5912         * lyxfont.h:
5913         * lyxtext.h: forward declare EnumLColor.
5914
5915         * lyx_main.C: add #include "LColor.h".
5916
5917 2003-09-15  Angus Leeming  <leeming@lyx.org>
5918
5919         * .cvsignore: add lyx-gtk.
5920
5921 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * Chktex.C
5924         * LaTeX.C
5925         * LaTeXFeatures.C
5926         * ParagraphParameters.C
5927         * Spacing.C
5928         * buffer.C
5929         * bufferparams.C
5930         * bufferview_funcs.C
5931         * chset.C
5932         * counters.C
5933         * funcrequest.C
5934         * lyxfont.C
5935         * lyxgluelength.C
5936         * lyxlength.C
5937         * paragraph.C
5938         * paragraph_funcs.C
5939         * text3.C
5940         * vc-backend.C: remove usage of STRCONV
5941
5942 2003-09-15  Angus Leeming  <leeming@lyx.org>
5943
5944         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5945         explicitly define the color passed to the painter.
5946
5947 2003-09-15  Angus Leeming  <leeming@lyx.org>
5948
5949         * bufferparams.C (BufferParams): reorder member initializers to avoid
5950         compiler warning.
5951
5952 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5953
5954         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5955         * text.C (updateRowPositions): remove an unusual nop
5956
5957 2003-09-12  André Pönitz  <poenitz@gmx.net>
5958
5959         * BufferView_pimpl.C:
5960         * Bullet.C:
5961         * layout.h:
5962         * lyxfunc.C:
5963         * lyxlayout.[Ch]:
5964         * lyxtextclass.C:
5965         * rowpainter.C:
5966         * text.C:
5967         * text2.C:
5968         * Counters.[Ch]: finish the 'automatic counters' job
5969
5970 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5971
5972         * aspell.C: include <boost/assert.cpp> (compile fix)
5973
5974 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5975
5976         * boost.C (assertion_failed): use lyx::support::abort instead of
5977         assert.
5978
5979 2003-09-10  Angus Leeming  <leeming@lyx.org>
5980
5981         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5982         with their _fwd progeny.
5983
5984 2003-09-09  Angus Leeming  <leeming@lyx.org>
5985
5986         134 files throughtout the source tree: replace 'using namespace abc;'
5987         directives with the appropriate 'using abc::xyz;' declarations.
5988
5989 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5990
5991         * boost.C (emergencyCleanup): moved here from LAssert.c
5992         (assertion_failed): new function, called by BOOST_ASSERT
5993
5994         * several files: change Assert to BOOST_ASSERT
5995
5996 2003-09-09  Angus Leeming  <leeming@lyx.org>
5997
5998         * buffer.[Ch]: Add an Impl class and move Buffer's member
5999         variables into it. As a result move several header files out of
6000         buffer.h.
6001
6002         Add header files to lots of .C files all over the tree as a result.
6003
6004 2003-09-09  Angus Leeming  <leeming@lyx.org>
6005
6006         * buffer.[Ch]: make Buffer's member variables private. Add
6007         accessor functions.
6008
6009         Lots of changes all over the tree as a result.
6010
6011 2003-09-08  Angus Leeming  <leeming@lyx.org>
6012
6013         * graph.C: #include <config.h>.
6014
6015 2003-09-08  Angus Leeming  <leeming@lyx.org>
6016
6017         * BranchList.C:
6018         * BufferView.C:
6019         * BufferView_pimpl.C:
6020         * CutAndPaste.C:
6021         * DepTable.C:
6022         * LaTeX.C:
6023         * LaTeXFeatures.C:
6024         * LyXAction.C:
6025         * MenuBackend.C:
6026         * TextCache.C:
6027         * aspell.C:
6028         * buffer.C:
6029         * bufferlist.C:
6030         * changes.C:
6031         * chset.C:
6032         * converter.C:
6033         * counters.C:
6034         * debug.C:
6035         * graph.C:
6036         * ispell.C:
6037         * lyx_cb.C:
6038         * lyxfind.C:
6039         * lyxfunc.C:
6040         * lyxlex_pimpl.C:
6041         * lyxrc.C:
6042         * lyxrow.C:
6043         * paragraph.C:
6044         * rowpainter.C:
6045         * texrow.C:
6046         * text.C:
6047         * text2.C:
6048         * toc.C: remove redundant using directives.
6049
6050 2003-09-07  Angus Leeming  <leeming@lyx.org>
6051
6052         * LaTeXFeatures.h: remove #include "support/types.h".
6053         * ToolbarBackend.h: remove #include <algorithm>.
6054         * changes.h: remove #include <ctime>.
6055         * debug.h: remove #include <iosfwd>.
6056         * graph.h: remove #include "support/std_string.h".
6057         * lyx_main.h: remove #include <csignal>.
6058         * lyxlex_pimpl.h: remove #include <fstream>.
6059         * sgml.h: remove #include <algorithm>, <utility>.
6060         * toc.h: remove #include "support/std_ostream.h".
6061         Add #include <iosfwd>.
6062
6063 2003-09-07  Angus Leeming  <leeming@lyx.org>
6064
6065         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6066
6067         * converter.h: forward declare LatexRunParams.
6068         * encoding.h: remove #include "lyxrc.h".
6069         * lyxtext.h: remove #include "LColor.h".
6070         * lyxtextclass.h: remove #include "support/types.h".
6071         * trans.h: remove #include "tex-accent.h".
6072         * trans_mgr.h: remove #include "tex-accent.h".
6073         * insets/inset.h: remove #include "support/types.h", <vector>.
6074         * insets/insetcollapsable.h: remove #include "LColor.h".
6075         * insets/insetinclude.h: remove #include "dimension.h".
6076         * insets/insetlatexaccent.h: remove #include "dimension.h".
6077         * insets/insetoptarg.h:: remove #include "insettext.h".
6078         * insets/insettext.h: remove #include "dimension.h",
6079         <boost/shared_ptr.hpp>
6080
6081         * insets/renderers.h: add #include "dimension.h".
6082         * insets/updatableinset.h: add #include "support/types.h".
6083
6084         * many .C files: Associated changes.
6085
6086 2003-09-06  Angus Leeming  <leeming@lyx.org>
6087
6088         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6089         one, inside testInvariant.
6090
6091         * PrinterParams.C: new file.
6092         * PrinterParams.[Ch]: move the function bodies out of line.
6093
6094 2003-09-06  Angus Leeming  <leeming@lyx.org>
6095
6096         * ParagraphParameters.h: forward declare ParameterStruct rather than
6097         including its header file.
6098         (depth): moved out-of-line.
6099
6100 2003-09-06  Angus Leeming  <leeming@lyx.org>
6101
6102         * BufferView_pimpl.h:
6103         * kbmap.h:
6104         * kbsequence.h:
6105         * lyxfunc.h: forward declare LyXKeySym rather than
6106         #include "frontends/LyXKeySym.h".
6107
6108         * BufferView_pimpl.C:
6109         * kbmap.C:
6110         * kbsequence.C:
6111         * lyxfunc.C: associated changes.
6112
6113 2003-09-06  Angus Leeming  <leeming@lyx.org>
6114
6115         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6116         As a result, can remove the #include "insets/inset.h" from BufferView.h
6117
6118 2003-09-06  Angus Leeming  <leeming@lyx.org>
6119
6120         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6121         As a result, can remove the #include "insets/inset.h" from BufferView.h
6122
6123 2003-09-06  Angus Leeming  <leeming@lyx.org>
6124
6125         * buffer_funcs.C:
6126         * buffer.h:
6127         * bufferlist.C:
6128         * BufferView.C:
6129         * bufferview_funcs.C:
6130         * BufferView_pimpl.C:
6131         * CutAndPaste.C:
6132         * lyx_cb.C:
6133         * lyxfunc.C:
6134         * paragraph.h:
6135         * ParagraphParameters.C:
6136         * tabular.C:
6137         * text3.C:
6138         * toc.C:
6139         * undo_funcs.C:
6140         * frontends/controllers/ControlDocument.C:
6141         * insets/insetcaption.C: rearrange the #includes into some sort of
6142         coherent order.
6143
6144         * buffer.h: remove #includes ErrorList.h, undo.h
6145
6146 2003-09-06  Angus Leeming  <leeming@lyx.org>
6147
6148         * support/types.h: add a 'depth_type' typedef, used to store the
6149         nesting depth of a paragraph.
6150
6151         * paragraph.h:
6152         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6153         defining explicitly.
6154
6155         * buffer.h:
6156         * paragraph_funcs.h:
6157         * ParagraphParameters.h:
6158         * sgml.h: use lyx::depth_type rather than Paragraph or
6159         ParameterStruct's depth_type.
6160
6161         * buffer.h
6162         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6163
6164         * BufferView.C:
6165         * BufferView_pimpl.C:
6166         * CutAndPaste.C:
6167         * ParagraphParameters.C:
6168         * buffer_funcs.C:
6169         * bufferlist.C:
6170         * bufferview_funcs.C:
6171         * lyx_cb.C:
6172         * lyxfunc.C:
6173         * tabular.C:
6174         * text3.C:
6175         * toc.C:
6176         * undo_funcs.C:
6177         * frontends/LyXView.C:
6178         * frontends/controllers/ControlDocument.C:
6179         * frontends/controllers/ControlErrorList.C:
6180         * insets/insetbibitem.C:
6181         * insets/insetbranch.C:
6182         * insets/insetcaption.C:
6183         * insets/insetcollapsable.C:
6184         * insets/insetenv.C:
6185         * insets/insetert.C:
6186         * insets/insetfloat.C:
6187         * insets/insetfoot.C:
6188         * insets/insetfootlike.C:
6189         * insets/insetnewline.C:
6190         * insets/insetquotes.C:
6191         * insets/insettabular.C:
6192         * insets/insettext.C:
6193         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6194
6195         * frontends/controllers/ControlChanges.C: #include "changes.h".
6196
6197 2003-09-06  Angus Leeming  <leeming@lyx.org>
6198
6199         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6200         than #including paragraph.h.
6201
6202         * ParagraphList.h:
6203         * RowList.h: deleted. Superfluous.
6204
6205         * CutAndPaste.h:
6206         * iterators.h:
6207         * lyxcursor.h:
6208         * lyxtext.h:
6209         * text_funcs.h:
6210         * undo.h:
6211         * undo_funcs.h:
6212         * insets/inset.h:
6213         * insets/insettext.h: use ParagraphList_fwd.h rather than
6214         ParagraphList.h.
6215
6216         * paragraph.h: don't forward declare ParagraphList.
6217
6218         * buffer.h:
6219         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6220         rather than ParagraphList.h. paragraph.h is still needed for the
6221         Paragraph::depth_type parameters.
6222
6223         * textcursor.h: enable it to compile stand-alone in light of the
6224         above changes.
6225
6226         * bufferview_funcs.C:
6227         * iterators.C:
6228         * lyxfunc.C:
6229         * lyxrow_funcs.C:
6230         * paragraph.C:
6231         * rowpainter.C:
6232         * text.C:
6233         * text2.C:
6234         * text3.C:
6235         * text_funcs.C:
6236         * textcursor.C:
6237         * undo.C:
6238         * frontends/controllers/ControlParagraph.C:
6239         * frontends/controllers/ControlTabular.C:
6240         * insets/insetmarginal.C:
6241         * insets/insetminipage.C:
6242         * insets/insetnote.C:
6243         * insets/insetoptarg.C: add header files needed to compile again.
6244
6245 2003-09-06  Angus Leeming  <leeming@lyx.org>
6246
6247         * RowList_fwd.h: new file, forward-declaring Row rather than
6248         #including lyxrow.h.
6249
6250         * lyxrow_funcs.h:
6251         * lyxtext.h:
6252         * paragraph.h:
6253         * insets/insettext.h: use it instead of RowList.h
6254
6255         * bufferview_funcs.C:
6256         * lyxfunc.C:
6257         * lyxrow_funcs.C:
6258         * paragraph.C:
6259         * rowpainter.C:
6260         * text.C:
6261         * text2.C:
6262         * text3.C: #include "RowList.h".
6263
6264 2003-09-05  Angus Leeming  <leeming@lyx.org>
6265
6266         * factory.C (createInset):
6267         * vspace.C (c-tor): replace sscanf call with an istringstream.
6268         * ispell.C: re-add missing HP/UX headers.
6269         * lyxserver.C: re-add missing  os2 headers.
6270
6271 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6272
6273         * BranchList.C:
6274         * graph.C:
6275         * ispell.C:
6276         * lastfiles.C:
6277         * lyx_cb.C:
6278         * lyxserver.C:
6279         * texrow.C:
6280         * text3.C: re-add missing system headers, needed for 2.95.2.
6281
6282 2003-09-05  Angus Leeming  <leeming@lyx.org>
6283
6284         Changes most place everywhere due to the removal of using directives
6285         from support/std_sstream.h.
6286
6287 2003-09-05  Angus Leeming  <leeming@lyx.org>
6288
6289         Replace LString.h with support/std_string.h,
6290         Lsstream.h with support/std_sstream.h,
6291         support/LIstream.h with support/std_istream.h,
6292         support/LOstream.h with support/std_ostream.h.
6293
6294         Changes resulting throughout the tree.
6295
6296 2003-09-05  Angus Leeming  <leeming@lyx.org>
6297
6298         * sgml.h: ensure that the header file can be compiled stand-alone.
6299         * *.C: strip out redundant #includes. (320 in total.)
6300
6301 2003-09-04  Angus Leeming  <leeming@lyx.org>
6302
6303         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6304         here (from getPackages).
6305
6306         * debug.[Ch]: add a new EXTERNAL tag.
6307
6308 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6309
6310         * text2.C (cursorEnd): simplify
6311         (setCursor): adjust
6312         (getColumnNearX): adjust
6313
6314         * text.C (computeBidiTables): adjust
6315         (fill): adjust
6316
6317         * rowpainter.C (paintChars): adjust
6318         (paintSelection): adjust
6319         (paintChangeBar): adjust
6320         (paintText): adjust
6321
6322         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6323         lastPos instead.
6324         (numberOfSeparators): adjust
6325
6326 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6327
6328         * LyXAction.C:
6329         * box.[Ch]:
6330         * lfuns.h:
6331         * lyxfunc.C:
6332         * text3.C: Restricts the mouse click functionality
6333         of insets like bibtex, include, toc and floatlist to the visible
6334         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6335         up the dialogs. Cursor has to be in front of the inset (i.e.
6336         start of row) for this to function.
6337
6338 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6339
6340         * bufferview_funcs.C (currentState): output row information
6341
6342 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6343
6344         * bufferview_funcs.C (currentState): output paragraph position
6345
6346 2003-09-04  Angus Leeming  <leeming@lyx.org>
6347
6348         * FloatList.h: move out #include "Floating.h".
6349         * LaTeX.h: move out #include "DepTable.h".
6350         * LyXAction.h: move out #include "funcrequest.h".
6351         * buffer.h: move out #include "author.h", "iterators.h".
6352         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6353         * lyx_main.h: move out #include "errorlist.h".
6354         * lyxfunc.h: move out #include "FuncStatus.h".
6355         * lyxtext: move out #include "lyxcursor.h".
6356         * paragraph_pimpl.h: move out #include "counters.h".
6357
6358 2003-09-03  Angus Leeming  <leeming@lyx.org>
6359
6360         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6361         preamble_snippets list, enabling us to add snippets to the preamble
6362         only if the snippet was not there already.
6363
6364 2003-09-04  Angus Leeming  <leeming@lyx.org>
6365
6366         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6367
6368 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6369
6370         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6371         update
6372
6373 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6374
6375         * BranchList.C: point fix, earlier forgotten
6376
6377 2003-09-02  Angus Leeming  <leeming@lyx.org>
6378
6379         * box.C (contains): renamed from 'contained' after a fantastic
6380         amount of hot air.
6381
6382 2003-09-02  John Levon  <levon@movementarian.org>
6383
6384         * BufferView.C:
6385         * lyxcursor.h:
6386         * lyxcursor.C:
6387         * lyxfunc.C:
6388         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6389
6390 2003-09-02  John Levon  <levon@movementarian.org>
6391
6392         * text2.C: simplification of cursorEnd(), including partial
6393         fix for bug 1376
6394
6395 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * buffer.C (readFile): add a space
6398
6399 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6400
6401         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6402
6403 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * buffer.C (readFile): new function, take a filename and a
6406         ParagraphList::iterator
6407         (readFile): adjust
6408         (readFile): adjust, make it private. don't use setStream, make
6409         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6410         always contain the filename.
6411
6412         * BufferView.C (insertLyXFile): simplify and make it work for
6413         gzipped files.
6414
6415 2003-08-30  John Levon  <levon@movementarian.org>
6416
6417         * Makefile.am: fix dist (from Kayvan)
6418
6419 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6420
6421         * most files: change to use const Buffer refs
6422
6423 2003-08-27  André Pönitz  <poenitz@gmx.net>
6424
6425         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6426         on top of ownerPar().
6427
6428 2003-08-27  John Levon  <levon@movementarian.org>
6429
6430         * funcrequest.C: properly initialise POD members
6431
6432 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6433
6434         * lyxtext.h (top_y): move top_y from here
6435         * text.C:
6436         * text2.C:
6437         * text3.C:
6438         * BufferView.[Ch]:
6439         * BufferView_pimpl.[Ch]: to here
6440         * frontends/screen.C:
6441         * insets/insettabular.C:
6442         * insets/insettext.C: adjust
6443         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6444
6445 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6446
6447         * BufferView.[Ch]:
6448         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6449
6450 2003-08-26  André Pönitz  <poenitz@gmx.net>
6451
6452         * paragraph_func.[Ch] (outerPar): new function
6453
6454         * paragraph.C:
6455         * paragraph_funcs.C:
6456         * paragraph_funcs.h:
6457         * paragraph_pimpl.C:
6458         * text2.C: remove Inset::par_owner
6459
6460 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6461
6462         * lyxrow_funcs.C:
6463         * lyxtext.h:
6464         * text.C:
6465         * text2.C: eliminates the needFullRow/display() stuff
6466         altogether, putting the logic in metrics/draw in the insets.
6467
6468 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6469
6470         * text2.C (redoParagraphInternal, redoParagraphs):
6471         * text.C (redoParagraph): add a call to updateRowPositions at the
6472         end of each 'metrics-like' call. Remove all others.
6473         (getRow): remove the 'y-computing' version.
6474         (getRowNearY): do not compute nor return the real y. Solve the
6475         'y < 0' problem and simplify.
6476
6477 2003-08-22  Angus Leeming  <leeming@lyx.org>
6478
6479         * *.[Ch]: clean-up of licence and author blurbs.
6480         Also move config.h out of a few .h files and into a few .C files.
6481
6482 2003-08-22  André Pönitz  <poenitz@gmx.net>
6483
6484         * lyxrow.[Ch]: add x_ and *fill_ members
6485
6486         * lyxtext.h:
6487         * text.C:
6488         * rowpainter.C:
6489         * text2.C: adjust/remove prepareToPrint() calls
6490
6491 2003-08-22  André Pönitz  <poenitz@gmx.net>
6492
6493         * lyxrow.[Ch]: add  end_ member
6494
6495         * lyxrow_funcs.C: use LyXRow::end_
6496
6497         * lyxtext.h (singleWidth): add LyXFont parameter
6498
6499         * rowpainter.C:
6500         * text2.C: adjust LyXText::singleWidth() calls
6501
6502         * text.C (redoParagraph): simplify row breaking logic
6503
6504
6505 2003-08-19  André Pönitz  <poenitz@gmx.net>
6506
6507         * funcrequest.C: initialize button_ member
6508
6509         * text3.C:
6510         * rowpainter.[Ch]: interface consolidation
6511
6512 2003-08-18  André Pönitz  <poenitz@gmx.net>
6513
6514         * BufferView.C:
6515         * BufferView_pimpl.C:
6516         * lyxfind.C:
6517         * paragraph_funcs.C:
6518         * rowpainter.C:
6519         * text3.C: remove LyXScreen::draw() and fitCursor calls
6520
6521         * BranchList.h: remove spurious semicolons
6522
6523         * MenuBackend.C: fix branchlist related crash
6524
6525 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6526
6527         * BranchList.[Ch]:
6528         * InsetList.[Ch]:
6529         * LColor.[Ch]:
6530         * LyXAction.C:
6531         * Makefile.am:
6532         * MenuBackend.[Ch]:
6533         * bufferparams.[Ch]:
6534         * factory.C:
6535         * lfuns.h:
6536         * lyxfunc.C:
6537         * text3.C: implements the 'branch inset'
6538         idea. This allows the output of various versions of a document
6539         from a single source version, selectively outputing or suppressing
6540         output of parts of the text.
6541         This implementation contains a 'branch list editor' in a separate
6542         tab of the document settings dialog. Branches are user definable
6543         and have a "display colour" to distinguish them on-screen.
6544
6545         ColorHandler was somewhat cleaned up.
6546         (1) make possible a dynamically growing LColor list by allowing
6547         the graphic context cache to grow along (vector);
6548         (2) eliminate an IMHO unnecessary step in colour allocation.
6549
6550 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6551
6552         * BufferView_pimpl.C: compile fix
6553
6554 2003-08-15  André Pönitz  <poenitz@gmx.net>
6555
6556         * rowpainter.C: remove extra metrics calls
6557
6558         * lyxtext.h: merge the two constructors into a single one,
6559           pass reference to owner's par list
6560
6561         * BufferView_pimpl.C:
6562         * text.C:
6563         * text2.C: adjust
6564
6565 2003-08-15  André Pönitz  <poenitz@gmx.net>
6566
6567         * lyxrow_funcs.[Ch]:
6568         * lyxtext.h:
6569         * paragraph.h:
6570         * paragraph_funcs.C:
6571         * rowpainter.C:
6572         * text.C:
6573         * text2.C:
6574         * text3.C:
6575         * text_funcs.C: split LyXText::rowlist_ into individual
6576         Paragraph::rows_ chunks
6577
6578         * BufferView.[Ch]:
6579         * BufferView_pimpl.[Ch]:
6580         * lyxfind.C:
6581         * lyxtext.h:
6582         * text3.C: remove toggleSelection()
6583
6584 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6585
6586         * bufferlist.C: beautify two alerts (shorter text of buttons)
6587         * buffer.C: Remove redundant ' ' from message
6588         * tabular.h:
6589         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6590         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6591         rename VALIGN_CENTER to VALIGN_MIDDLE
6592
6593 2003-08-11  André Pönitz  <poenitz@gmx.net>
6594
6595         * lyxtext.h (getPar):
6596         * text.C: new function
6597
6598 2003-08-11  André Pönitz  <poenitz@gmx.net>
6599
6600         * Makefile.am:
6601         * tracer.[Ch]: remove unneeded files
6602
6603         * InsetList.[Ch]: remove resizeInsetsLyXText()
6604
6605         * lyxtext.h:
6606         * text.C:
6607         * text2.C:
6608         * text3.C: merge insertParagraphs() and appendParagraph()
6609         remove breakAgain(), update()
6610
6611         * BufferView_pimpl.[Ch]:
6612         * bufferview_funcs.[Ch]:
6613         * lyxfunc.C:
6614         * paragraph.[Ch]:
6615         * rowpainter.C:
6616         * tabular.C: adjust after text & InsetList changes.
6617
6618 2003-08-08  André Pönitz  <poenitz@gmx.net>
6619
6620         * text.C (insertChar, backspace): replace rowlist fiddling
6621         with rebreak of full par
6622
6623         * lyxtext.h:
6624         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6625         checkParagraph, updateInset): removed
6626
6627 2003-08-07  André Pönitz  <poenitz@gmx.net>
6628
6629         * paragraph.C:
6630         * text3.C: merge some LFUN handlers, remove dead code
6631
6632 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6633
6634         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6635
6636 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6637
6638         * text2.C (DEPM): fix part of bug 1255 and 1256
6639
6640 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6641
6642         * BufferView_pimpl.C (workAreaDispatch): change to use
6643         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6644         that are no mouse related.
6645
6646 2003-08-05  André Pönitz  <poenitz@gmx.net>
6647
6648         * BufferView.[Ch]:
6649         * BufferView_pimpl.[Ch]:
6650         * bufferview_funcs.C:
6651         * text2.C:
6652         * text3.C: rip out "deep update"
6653
6654         * textcursor.[Ch] (last_sel_cursor): remove unused member
6655
6656 2003-08-04  André Pönitz  <poenitz@gmx.net>
6657
6658         * BufferView.[Ch]:
6659         * BufferView_pimpl.[Ch]:
6660         * ParagraphParameters.C:
6661         * bufferview_funcs.C:
6662         * lyx_cb.C:
6663         * lyxfind.C:
6664         * lyxfunc.C:
6665         * text.C:
6666         * text2.C:
6667         * text3.C: replace "complicated" BufferView::update(...) calls with
6668         simpler ones.
6669
6670         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6671
6672 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6673
6674         * Makefile.am (lyx_SOURCES): add paper.h
6675
6676 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6677
6678         * Makefile.am: move things around so that both lyx-qt and
6679         lyx-xforms can be built (according to --with-frontend). Then lyx
6680         is a symbolic link to lyx-[firstfrontend]
6681
6682 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6683
6684         * Always use std::endl with lyxerr
6685
6686 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6687
6688         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6689
6690 2003-08-01  André Pönitz  <poenitz@gmx.net>
6691
6692         * BufferView.[Ch]:
6693         * BufferView_pimpl.[Ch]:
6694         * lyxfunc.C:
6695         * text3.C: merge BufferView::repaint() and BufferView::update()
6696
6697 2003-08-01  José Matos  <jamatos@lyx.org>
6698
6699         * buffer.[Ch]: file_format is no longer a buffer data element.
6700
6701 2003-08-01  André Pönitz  <poenitz@gmx.net>
6702
6703         * BufferView.C:
6704         * lyxtext.h:
6705         * text.C:
6706         * text2.C: make redoParagraph more independent of current cursor
6707
6708         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6709         * text.C:
6710         * text2.C: remove unneeded members
6711
6712 2003-07-30  André Pönitz  <poenitz@gmx.net>
6713
6714         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6715
6716         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6717           create a single function...
6718
6719         * paragraph_funcs.C (moveItem): ... here.
6720
6721         * text.C:
6722           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6723
6724 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6725
6726         * LColor.[Ch]: Add comment and greyedout logical colors.
6727
6728 2003-07-30  André Pönitz  <poenitz@gmx.net>
6729
6730         * tabular.C: don't use Assert too heavily. This crashes where it
6731           shouldn't
6732
6733 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6734
6735         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6736         is disabled (bug 1232)
6737
6738 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6739
6740         * factory.C: limited 'arg' scope
6741
6742 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6743
6744         * factory.C: fixed Note submenu issues
6745
6746 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6747
6748         * factory.C: submenu for Note/Comment/Greyedout
6749
6750 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6751
6752         * lyx_main.C (LyX):
6753         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6754
6755 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6756
6757         * LaTeXFeatures.C:
6758         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6759         greyedout. Patch provided by Jürgen Spitzmüller.
6760
6761 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6762
6763         * kbmap.C (read): fix error message when reading bind files
6764
6765 2003-07-29  Angus Leeming  <leeming@lyx.org>
6766
6767         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6768         certainly does not do what it purports to do. I am doing it, and
6769         us, a favour by killing it.
6770
6771 2003-07-28  José Matos  <jamatos@lyx.org>
6772
6773         * buffer.C (readBody, do_writeFile):
6774         * paragraph.C(readParagraph): \end_document replaces \the_end.
6775
6776 2003-07-29  André Pönitz  <poenitz@gmx.net>
6777
6778         * BufferView.[Ch]:
6779         * BufferView_pimpl.[Ch]:
6780         * lyxfunc.C:
6781         * text2.C:
6782         * text3.C:
6783         * textcursor.[Ch]: remove toggleToggle & Co
6784
6785 2003-07-28  José Matos  <jamatos@fep.up.pt>
6786
6787         * buffer.C (readParagraph):
6788         * params_func (readParToken, readParagraph):
6789         * paragraph.C (write): \layout -> \begin_layout.
6790
6791 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6792
6793         * lyxlex_pimpl.C (setFile): clean up slightly.
6794
6795         * bufferparams.h: add compressed var
6796
6797         * buffer_funcs.C (readFile): adjust for LyXLex change
6798         (newFile): ditto + simplify
6799
6800         * buffer.C (writeFile): handle writing of compressed files
6801
6802         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6803         Check if the file is compressed and set a bufferparm if so.
6804
6805         * Makefile.am (lyx_LDADD): remove explicit -lz
6806
6807 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6808
6809         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6810         makeDocBookFile): put the real LyX version in the first line of
6811         the file
6812
6813         * version.h:
6814         * version.C.in: remove lyx_docversion
6815
6816         * tabular.C (write_attribute): add a template-based version to
6817         write enums properly
6818
6819 2003-07-28  André Pönitz  <poenitz@gmx.net>
6820
6821         * lyxtext.h:
6822         * text.C:
6823         * text2.C:
6824         * text3.C: use doubles again for x-coordinates. They are needed.
6825
6826 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6827
6828         * messages.C (getLocaleDir): use lyx_localedir()
6829
6830         * lyxlex_pimpl.C (setFile): compress stuff
6831
6832         * buffer.C (writeFile): add some compression stuff
6833         (do_writeFile): new func, dont call expliti close... will this
6834         breake anything?
6835
6836         * Makefile.am (lyx_LDADD): add -lz
6837
6838 2003-07-28  José Matos  <jamatos@fep.up.pt>
6839
6840         * buffer.C: increment file format.
6841         * paragraph_funcs (readParagraph, readParToken):
6842         * paragraph.C (readParagraph): add \end_layout.
6843
6844 2003-07-27  Angus Leeming  <leeming@lyx.org>
6845
6846         * Makefile.am: remove special casing for configure-time setting of
6847         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6848
6849         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6850         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6851
6852 2003-07-26  André Pönitz  <poenitz@gmx.net>
6853
6854         * paragraph_func.[Ch]:
6855         * paragraph.C (realizeFont): inline it whereever it is used
6856
6857         * rowpainter.C:
6858         * text.C:
6859         * text2.C:
6860         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6861
6862
6863 2003-07-26  André Pönitz  <poenitz@gmx.net>
6864
6865         *       lyxtext.h:
6866         * text.C:
6867         * text2.C: get rid of LyXText::need_break_row
6868
6869 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6870
6871         * toc.[Ch]: put namespace toc inside namespace lyx
6872
6873         * MenuBackend.C (expandToc2): adjust for lyx::toc
6874         (expandToc): ditto
6875
6876         * lyxfunc.C (dispatch): adjust for lyx::find
6877
6878         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6879         lyx::find instead. Reorganize a bit.
6880         (LyXReplace): rename to replace
6881         (LyXFind): rename to find
6882
6883         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6884         (dispatch): ditto
6885
6886 2003-07-26  André Pönitz  <poenitz@gmx.net>
6887
6888         * text.C (setHeightOfRow): restrict scope of temporary variable
6889
6890         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6891           code (never has been used?)
6892
6893 2003-07-27  Asger Alstrup  <alstrup@local>
6894
6895         * text.C (fill): Optimise algorithm to exploit that we can reuse
6896         the LyXFont for many characters.
6897         (setHeightOfRow): Same thing.
6898         (rowBreakPoint): Same thing.
6899
6900 2003-07-26  Asger Alstrup  <alstrup@local>
6901
6902         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6903
6904         * text.C (singleWidth): Spurious font copying in hot-spot
6905         singleWidth avoided. Reorder tests for arabic for efficiency.
6906
6907         * text.C (fill): handle empty paragraphs better.
6908
6909 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6910
6911         * ispell.C:
6912         * encoding.h: add includes
6913
6914         * lyxrc.C: remove reading of bind files
6915
6916         * lyx_main.C (init): setup bindings and menus only if we have a
6917         gui.
6918
6919         * kbmap.C (read): new method. Do the actual reading of bind
6920         files.
6921
6922         * converter.C (dvipdfm_options):
6923         * bufferparams.C:
6924         * lyxrc.C (read):
6925         (output): adapt PAPER_* enums.
6926
6927         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6928
6929         * bufferparams.h: remove paper-related enums from there
6930
6931         * paper.h: New file. A trivial header file to hold paper-related
6932         enums. It should later expand to contain many paper-related
6933         horrors access.
6934
6935         * lyxrc.C: declare extern displayTranslator
6936
6937 2003-07-27  José Matos  <jamatos@fep.up.pt>
6938
6939         * tabular.[Ch] (linuxdoc): add support for tables and figures
6940         (linuxdoc).
6941
6942 2003-07-27  José Matos  <jamatos@fep.up.pt>
6943
6944         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6945         consistency in both functions.
6946         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6947
6948 2003-07-26  Asger Alstrup  <alstrup@local>
6949
6950         * rowpainter.C (paintRows): Change algorithm to work directly on
6951         the insets rather than asking every character in the document
6952         whether its an inset.
6953
6954 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6955
6956         * buffer.C (openFileWrite): factorize some code
6957
6958 2003-07-26  Angus Leeming  <leeming@lyx.org>
6959
6960         * lyx_cb.C:
6961         * lyx_main.[Ch]: replace occurances of system_tempdir with
6962         os::getTmpDir().
6963
6964 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * rename Inset to InsetOld
6967
6968 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6969
6970         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6971         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6972         which I think is a bit clearer. EDIT is gone, since it was
6973         premature optimisation, and broken for mathed anyway.
6974         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6975         with cursor positioning in insets as well (math insets still do not
6976         work, but that's a different story anyway.) It mysteriously
6977         crashes sometimes with undo in the first paragraph, but I'm fairly
6978         confident that this is a compiler bug.
6979
6980 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6981
6982         * paragraph.C (Paragraph): adjust for new clone return type
6983         (operator==): ditto
6984         (copyIntoMinibuffer): ditto
6985
6986 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6987
6988         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6989         by not having a special case, and always doing a full rebreak of
6990         the document after undo.
6991
6992 2003-07-23  Angus Leeming  <leeming@lyx.org>
6993
6994         * factory.C (createInset): InsetExternal::setParams now takes a
6995         Buffer const * arg.
6996
6997 2003-07-23  Angus Leeming  <leeming@lyx.org>
6998
6999         * factory.C (createInset): changed interface to the external and
7000         graphics mailers' string2params functions.
7001
7002 2003-07-23  Angus Leeming  <leeming@lyx.org>
7003
7004         * factory.C (createInset): pass a
7005         Buffer const * parameter to InsetExternalMailer's string2params.
7006
7007 2003-07-22  John Levon  <levon@movementarian.org>
7008
7009         * Thesaurus.h: include the right aiksaurus header
7010
7011 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7012
7013         * MenuBackend.C (expand): check menu shortcuts unconditionally
7014
7015 2003-07-21  Angus Leeming  <leeming@lyx.org>
7016
7017         * factory.C (createInset): pass a
7018         buffer_path parameter to InsetGraphicsMailer's string2params.
7019
7020 2003-07-21  Angus Leeming  <leeming@lyx.org>
7021
7022         * BufferView_pimpl.C (buffer):
7023         * buffer.C (d-tor):
7024         * lyx_main.C (LyX):
7025         * lyxfunc.C (dispatch):
7026         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7027         rather than the grfx shortcut.
7028
7029 2003-07-21  André Pönitz  <poenitz@gmx.net>
7030
7031         * rowpainter.C: remove unused variables
7032
7033         * tabular_funcs.C:
7034         * tabular_funcs.h: move to tabular.C
7035         * Makefile.am: adjust
7036
7037         * tabular.[Ch]: basic optical cleaning
7038
7039         * author.h: pass references, not values
7040
7041 2003-07-18  André Pönitz  <poenitz@gmx.net>
7042
7043         * lyxtext.h:
7044         * metricsinfo.C:
7045         * metricsinfo.h:
7046         * rowpainter.C:
7047         * text.C:
7048         * text2.C:
7049         * text3.C: two-phase drawing for InsetText and InsetTabular
7050         some float -> int changes.
7051
7052 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7053
7054         * lyx_main.C: fix the fix
7055
7056 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7057
7058         * lyx_main.C: fix a crash in batch mode if no files specified
7059         * converter.C: ws
7060
7061 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7062
7063         * format.[Ch] (papersize): moved to BufferParams
7064         * converter.[Ch] (dvips_options): moved to BufferParams
7065         (dvipdfm_options): moved to anon namespace
7066         * bufferparams.[Ch]: added above functions.
7067
7068 2003-07-17  André Pönitz  <poenitz@gmx.net>
7069
7070         * lyxtext.h:
7071         * rowpainter.C:
7072         * text2.C: don't call inset->update() anymore
7073
7074         * metricsinfo.[Ch]: add convenience constructor
7075
7076 2003-07-16  André Pönitz  <poenitz@gmx.net>
7077
7078         * lyxcursor.[Ch]:
7079         * lyxfunc.[Ch]:
7080         * text.C:
7081         * text2.C: replace the LyXCursor::irow_ member with
7082          on-demand computation of the value
7083
7084 2003-07-16  John Levon  <levon@movementarian.org>
7085
7086         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7087
7088 2003-07-15  André Pönitz  <poenitz@gmx.net>
7089
7090         * text.C:
7091         * text2.C: remove no more needed refresh_row
7092
7093 2003-07-15  André Pönitz  <poenitz@gmx.net>
7094
7095         * lyxtext.h:
7096         * rowpainter.C:
7097         * text2.C:
7098         * text3.C: refresh_status tristate -> need_update bool
7099
7100 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7101
7102         * lyxtext.h (init): remove reinit argument (act as if always true)
7103         * text2.C: adjust to that
7104
7105 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7106
7107         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7108         * text3.C: use it to delete selections in some cases
7109         (bugs 441, 673, 702, 954).
7110
7111 2003-07-14  André Pönitz  <poenitz@gmx.net>
7112
7113         * rowpainter.[Ch]: reduce interface
7114
7115 2003-07-14  André Pönitz  <poenitz@gmx.net>
7116
7117         * BufferView_pimpl.C:
7118         * text2.C: adjust after removing unused BufferView * argument
7119
7120 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7121
7122         * text2.C (init): fix a crash fired on resize
7123
7124 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7125
7126         * buffer.[Ch]: added new closing signal
7127         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7128         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7129         BufferView::Pimpl via the closing the signal
7130
7131 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7132
7133         * buffer.[Ch]: take out all bv-related from buffer
7134         * BufferView.C:
7135         * BufferView_pimpl.[Ch]: connect to new signals
7136         * CutAndPaste.C: removed useless asserts
7137         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7138         * lyxvc.[Ch]:
7139         * vc-backend.[Ch]:
7140         * lyxfunc.C: moved view-related funciontality from vc here
7141         * paragraph.C: removed outdated comments
7142         * text.C: ws
7143
7144 2003-07-10  André Pönitz  <poenitz@gmx.net>
7145
7146         * BufferView_pimpl.C:
7147         * tabular.h:
7148         * tabular_funcs.C:
7149         * text.C:
7150         * text2.C: remove InsetText::InnerCache, clean up consequences
7151
7152 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7153
7154         * ispell.C: fix two typos in error messages
7155
7156 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7157
7158         * Extend Note inset to other forms of annotation like Comment
7159         and Greyedout. Right button click gives dialog.
7160
7161         Files modified or added (+):
7162
7163         * insetnote.[Ch]
7164         * FormNote.[Ch]      +
7165         * ControlNote.[Ch]   +
7166         * form_note.fd       +
7167         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7168         frontends/controllers
7169         * xforms/Dialogs.C
7170         * factory.C
7171
7172 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7173
7174         * aspell.C: add missing namespace lyx::support
7175
7176 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7177
7178         * BufferView.[Ch] (newFile): Add
7179         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7180         * LaTeX.[Ch] (message): added this signal and use it
7181         * buffer.[Ch] (busy, message): added these signals and use them
7182         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7183         * converter.C:
7184         * exporter.C:
7185         * format.C:
7186         * importer.C: use buffer signals instead of direct bv calling
7187         * lyx_cb.[Ch] (ShowMessage): removed
7188         * lyx_main.C:
7189         * lyxfunc.C:
7190         * paragraph_funcs.C:
7191         * text2.C: use buffer signals
7192
7193 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * introduce namespace lyx::graphics
7196
7197 2003-07-02  André Pönitz  <poenitz@gmx.net>
7198
7199         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7200
7201 2003-07-01  André Pönitz  <poenitz@gmx.net>
7202
7203         * text.C:
7204         * text2.C:
7205         * text3.C:
7206         * text_funcs.[Ch]:
7207         * textcursor.h:
7208         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7209           text*.C to text_func.C
7210
7211 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7212
7213         * introduce namespace lyx::support
7214
7215 2003-06-30  André Pönitz  <poenitz@gmx.net>
7216
7217         * Chktex.C:
7218         * funcrequest.C:
7219         * lyxtext.h:
7220         * text.C: re-enable --with-included-string
7221
7222 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * textcursor.C: add <config.h>
7225
7226         * text.C (getWord): remove const from word_location arg
7227
7228         * lyxvc.C (getLogFile): fix const type order
7229
7230         * lyxtext.h: remove const from word_location arg, add arg name
7231
7232         * lyxlayout.h: currect type on labeltype.
7233
7234         * importer.C: correct \file
7235
7236         * converter.C (intToFormat): use std:: on ret val, ws changes
7237
7238         * bufferlist.h: correct \file
7239
7240         * buffer.C (makeLinuxDocFile): fix const type order
7241         (makeDocBookFile): ditto
7242         (fillWithBibKeys): use std:: on stdlib args.
7243
7244         * CutAndPaste.C: fix authors.
7245         (availableSelections): use std:: on return vector
7246
7247 2003-06-27  André Pönitz  <poenitz@gmx.net>
7248
7249         * BufferView_pimpl.C:
7250         * bufferview_funcs.C:
7251         * lyxcursor.C:
7252         * lyxcursor.h:
7253         * lyxfunc.C:
7254         * lyxtext.h:
7255         * rowpainter.C:
7256         * text.C:
7257         * text2.C:
7258         * text3.C: remove LyXCursor::row_ member
7259
7260         * lyxtext.h:
7261         * text.C: rename fullRebreak() to partialRebreak() and implement
7262           a fullRebreak() that really bereks fully
7263
7264         * textcursor.h: new struct for cursor-related data
7265
7266 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7267
7268         * lyx_main.C (LyX): get full path of document loaded on the
7269         command line
7270
7271 2003-06-26  André Pönitz  <poenitz@gmx.net>
7272
7273         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7274           remove unused/broken operator>,<,>=.
7275
7276         *       text.C: remove only use of broken operator<= in an Assert().
7277
7278 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7279
7280         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7281         moved errorlist_.clear to showErrorList
7282
7283 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7284
7285         * converter.C (scanLog, runLaTeX):
7286         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7287         move the bv->showErrorList call to the callers
7288         * lyxfunc.C: i.e. here...
7289         * text2.C: and here
7290         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7291         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7292         namespace, the second to...
7293         * buffer_funcs (BufferFormat, parseErrors): added
7294         * errorlist.C (ErrorList(TeXErrors const &)): removed
7295
7296 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7297
7298         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7299
7300 2003-06-24  "Garst R. Reese" <reese@isn.net>
7301
7302         * debug.C: fix typo
7303
7304 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7305
7306         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7307
7308         * version.C.in: change docversion to 1.4
7309
7310 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7311
7312         * buffer.C: fix a bug just introduced
7313
7314 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7315
7316         * buffer.[Ch]: added the parseError signal and use it, removed
7317         sgmlError
7318         * BufferView.[Ch] (addError): moved to ...
7319         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7320         to the Buffer::parseError signal to catch (guess what) parse errors
7321         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7322
7323 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7324
7325         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7326         ability to create a buffer and to return an existing one from
7327         the list. Moved these functions to...
7328         * buffer_funcs.[Ch]: added
7329         * BufferView.[Ch] (loadLyXFile): added
7330         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7331         job removed from bufferlist::loadLyXFile.
7332         * buffer.C (setReadOnly): make it work without view
7333         (i.e added an if (users))
7334
7335 2003-06-19  Angus Leeming  <leeming@lyx.org>
7336
7337         * lfuns.h:
7338         * LyXAction.C (init):
7339         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7340         with LFUN_DIALOG_SHOW <name> <data>.
7341
7342 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7343
7344         * CutAndPaste.C (availableSelections): small compilation fix for
7345         ancient (gcc 2.9x) compilers
7346
7347 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * text3.C (cursorNext): add tmp var
7350
7351         * text2.C (updateCounters): for function calling out of for clause
7352         (replaceSelectionWithString): ditto
7353         (insertStringAsParagraphs): ditto
7354         (getColumnNearX): add tmp var
7355         (setCursorFromCoordinates): add tmp var
7356         (cursorDownParagraph): add tmp var
7357         (deleteEmptyParagraphMechanism): add tmp var
7358
7359         * text.C (insertChar): add tmp var
7360
7361         * rowpainter.C (paintDepthBar): add tmp var
7362
7363         * CutAndPaste.C (availableSelections): potentially check all
7364         paragraphs in a cut to fill the shown strings.
7365
7366 2003-06-18  André Pönitz  <poenitz@gmx.net>
7367
7368         * kbmap.[Ch]: use vector<> instead of list<>
7369
7370 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7371
7372         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7373         pasteSelection with index
7374
7375         * text2.C (pasteSelection): modify, call pasteSelection with index
7376
7377         * paragraph.C (asString): reimplement version with no interval to
7378         call the one with interval.
7379
7380         * lyxtext.h: add index arg to pasteSelection
7381
7382         * MenuBackend.C (MenuItem): handle PasteRecent
7383         (Menu::read::Menutags): add md_pasterecent
7384         (read): handle it
7385         (expandPasteRecent): new function
7386         (expand): use it
7387
7388         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7389
7390         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7391         the limited stack
7392         (availableSelections): new function
7393
7394 2003-06-17  Angus Leeming  <leeming@lyx.org>
7395
7396         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7397
7398 2003-06-17  Angus Leeming  <leeming@lyx.org>
7399
7400         * lfuns.h:
7401         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7402
7403         * lyxfunc.C (dispatch): invoke it.
7404
7405 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7406
7407         * iterators.C (operator++, ParPosition): reintroduce some
7408         const_cast for the benefit of older compilers.
7409
7410 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7411
7412         * text3.C (dispatch): do not modify clipboard when doing
7413         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7414         LFUN_DELETE_SKIP on a selection selection
7415
7416 2003-06-16  André Pönitz  <poenitz@gmx.net>
7417
7418         * BufferView.C:
7419         * buffer.C:
7420         * buffer.h:
7421         * paragraph.C:
7422         * tabular.[Ch]: IU of clone() and getLabelList();
7423
7424 2003-06-13  André Pönitz  <poenitz@gmx.net>
7425
7426         * tabular.h: compactification
7427
7428 2003-06-12  André Pönitz  <poenitz@gmx.net>
7429
7430         * tabular.C:
7431         * tabular.h:
7432         * tabular_funcs.h: some renaming plus whitespace
7433
7434 2003-06-12  André Pönitz  <poenitz@gmx.net>
7435
7436         * BufferView.C:
7437         * BufferView_pimpl.C:
7438         * CutAndPaste.C:
7439         * buffer.C:
7440         * iterators.[Ch]:
7441         * lyxfunc.C:
7442         * text.C:
7443         * toc.C: Return a Paragraph & for ParIterator::operator*()
7444
7445 2003-06-11  John Levon  <levon@movementarian.org>
7446
7447         * lyx_main.C:
7448         * ToolbarBackend.h:
7449         * ToolbarBackend.C: add "Toolbars" section and
7450         put the flags there
7451
7452 2003-06-10  Angus Leeming  <leeming@lyx.org>
7453
7454         * lfuns.h:
7455         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7456
7457         * lyxfunc.C (dispatch): invoke it.
7458
7459 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7460
7461         * main.C: protect <ios> with HAVE_IOS
7462         (main): protect sync_with_stdio with HAVE_IOS
7463
7464 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7465
7466         * text2.C (cutSelection): adjust
7467         (pasteSelection): adjust
7468
7469         * messages.C: handle get of empty string
7470
7471         * main.C (main): use sync_with_stdio(false)
7472
7473         * lyxfunc.C (dispatch): adjust
7474
7475         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7476         (WriteAs): remove unneeded BufferView arg.
7477
7478         * bufferparams.h: use correct types on papersize, papersize2 and
7479         paperpackage.
7480
7481         * bufferparams.C (readToken): adjust for type
7482         (writeLaTeX): add missing cases to switch.
7483
7484         * bufferlist.C (quitWriteBuffer): adjust
7485         (close): adjust
7486
7487         * buffer.C (asciiParagraph): remove some commented code.
7488
7489         * CutAndPaste.C: remove current_view extern variable.
7490         (cutSelection): add BufferParams arg.
7491         (eraseSelection): add BufferParams arg.
7492         (pasteSelection): add Buffer const & arg
7493
7494 2003-06-07  John Levon  <levon@movementarian.org>
7495
7496         * buffer.C:
7497         * paragraph_funcs.C:
7498         * paragraph_pimpl.C:
7499         * text.C:
7500         * text2.C:
7501         * paragraph.h:
7502         * paragraph.C: allow InsetERT to freely space lines,
7503         and some consolidation of code
7504
7505 2003-06-06  José Matos  <jamatos@fep.up.pt>
7506
7507         * buffer.C (makeDocBookFile): fix bug #821
7508
7509 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7510
7511         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7512
7513 2003-06-04  Angus Leeming  <leeming@lyx.org>
7514
7515         * buffer.C: bump format to 224.
7516
7517 2003-06-05  André Pönitz  <poenitz@gmx.net>
7518
7519         * text2.C (redoParagraphs): remove two const_cast<>
7520
7521 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7522
7523         * ParagraphList.h: remove last remnants of NO_STD_LIST
7524
7525 2003-06-03  Angus Leeming  <leeming@lyx.org>
7526
7527         * factory.C (createInset): small change to the way InsetExternal's params
7528         are set.
7529
7530 2003-06-04  André Pönitz  <poenitz@gmx.net>
7531
7532         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7533
7534         * paragraph_pimpl.h:
7535         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7536
7537         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7538
7539         * undo_funcs.C: make some simple cases of undo work again
7540
7541 2003-06-03  John Levon  <levon@movementarian.org>
7542
7543         * ispell.C: HPUX doesn't have sys/select.h
7544         (from Albert Chin)
7545
7546 2003-06-03  John Levon  <levon@movementarian.org>
7547
7548         * CutAndPaste.C: update tabular and include inset
7549         buffer references
7550
7551         * buffer.h:
7552         * paragraph.h:
7553         * paragraph.C: remove owningBuffer(), don't pass Buffer
7554         to clone()
7555
7556         * factory.C: insetGraphicsParams changed
7557
7558 2003-06-02  John Levon  <levon@movementarian.org>
7559
7560         * LyXAction.C:
7561         * factory.C:
7562         * lfuns.h:
7563         * lyxfunc.C:
7564         * text3.C: remove insetparent
7565
7566 2003-06-02  John Levon  <levon@movementarian.org>
7567
7568         * buffer.h:
7569         * buffer.C: fix inset_iterator.end(), move out of line
7570         (bug 1149)
7571
7572 2003-06-01  John Levon  <levon@movementarian.org>
7573
7574         * text3.C: use a proper cut/paste when doing inset
7575         insert (from Jürgen Spitzmüller)
7576
7577 2003-06-01  John Levon  <levon@movementarian.org>
7578
7579         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7580
7581 2003-05-30  André Pönitz  <poenitz@gmx.net>
7582
7583         * rowpainter.C: unify second drawing phase
7584
7585 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * trans_mgr.C: remove one case of current_view
7588
7589         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7590
7591         * paragraph_funcs.h: remove paragraph.h include
7592
7593         * paragraph.h: delete NO_STD_LIST stuff
7594
7595         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7596
7597         * buffer.h: remove paragraph.h include
7598
7599         * ParagraphList.C: delete file
7600
7601         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7602
7603         * toc.C (getTocList): adjust
7604
7605         * paragraph_pimpl.C (validate): adjust
7606
7607         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7608
7609         * paragraph.C (Paragraph): adjust
7610         (getPositionOfInset): use const_iterator, adjust
7611         (bibitem): use const_iterator, adjust
7612         (setInsetOwner): adjust
7613
7614         * iterators.C (operator++): adjust
7615
7616         * InsetList.[Ch]: Replace selfmade iterator with standard
7617         vector::iterator also introduce const_iterator. Remove getPos,
7618         getInset and setInset from InsetTable. Adjust accordingly.
7619
7620         * BufferView.C (lockInset): adjust
7621         (ChangeInsets): adjust
7622
7623         * tabular.[Ch]: delete commented same_id functions
7624
7625 2003-05-28  John Levon  <levon@movementarian.org>
7626
7627         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7628
7629 2003-05-28  André Pönitz  <poenitz@gmx.net>
7630
7631         * metricsinfo.[Ch]: remove 'fullredraw' member
7632
7633 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7634
7635         * lyxtextclass.C (operator): remove caching.
7636
7637 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7638
7639         * text3.C: adjust
7640
7641         * text2.C (cursorBottom): adjust
7642         (setCounter): use ParagraphList::find, adjust
7643
7644         * text.C (workWidth): use ParagraphList::find, adjust
7645
7646         * lyxcursor.C (LyXCursor): adjust
7647
7648         * buffer.C (inset_iterator): adjust
7649
7650         * ParagraphList.h: make iterator(value_type) private, make
7651         ParagraphList a friend of iterator.
7652
7653         * ParagraphList.C (find): new function
7654
7655         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7656
7657 2003-05-27  André Pönitz  <poenitz@gmx.net>
7658
7659         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7660
7661 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7662
7663         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7664
7665 2003-05-26  John Levon  <levon@movementarian.org>
7666
7667         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7668
7669 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7670
7671         * remove same_id from function signatures, adjust.
7672
7673 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7674
7675         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7676
7677         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7678
7679         * paragraph.C (Paragraph): get rid of same_ids parameter
7680
7681         * ParagraphList.C (insert): adjust
7682         (push_back): adjust
7683
7684 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7685
7686         * paragraph_funcs.C (breakParagraph): adjust
7687         (breakParagraphConservative): adjust
7688
7689         * buffer.C (readParagraph): adjust
7690
7691         * ParagraphList.C (insert): take a reference instead of a pointer
7692         (insert): adjust
7693
7694         * paragraph.[Ch] (id): new function
7695
7696         * bufferlist.C (newFile): adjust
7697
7698         * ParagraphList.C (ParagraphList): adjust
7699         (assign): adjust
7700         (push_back): take a reference instead of a pointer.
7701
7702         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7703
7704         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7705         instead.
7706
7707         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7708         set else use old code.
7709
7710         * ParagraphList.C: remove all NO_NEXT code and only compile this
7711         code of NO_STD_LIST is set.
7712
7713 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7714
7715         * BufferView_pimpl.C:
7716         * TextCache.C:
7717         * TextCache.h:
7718         * bufferlist.C:
7719         * errorlist.h:
7720         * format.C:
7721         * format.h:
7722         * graph.C:
7723         * lyxfunc.C:
7724         * lyxrc.C:
7725         * graphics/GraphicsConverter.C:
7726         * graphics/PreviewLoader.C: header adjustment
7727
7728 2003-05-23  Angus Leeming  <leeming@lyx.org>
7729
7730         * LaTeXFeatures.[Ch] (useBabel): new method.
7731         * bufferparams.C (writeLaTeX): use it.
7732
7733 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7734
7735         * ParagraphList.h (set): remove unused function.
7736
7737 2003-05-23  André Pönitz  <poenitz@gmx.net>
7738
7739         * BufferView.C:
7740         * BufferView_pimpl.C:
7741         * buffer.C:
7742         * buffer.h:
7743         * lyxfunc.C:
7744         * undo_funcs.C: setUndo reworked
7745
7746         * iterators.[Ch]: add access to topmost ParagraphList
7747
7748         * lyxtext.[Ch] (workWidth): add a const
7749
7750 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7751
7752         * texrow.[Ch] (increasePos): remove function
7753         * exporter.C (export): removed unused var and outdated comment
7754
7755 2003-05-23  Angus Leeming  <leeming@lyx.org>
7756
7757         * latexrunparams.h: rename fragile as moving_arg.
7758         * paragraph.C (simpleTeXOnePar): ditto.
7759         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7760
7761 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7762
7763         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7764         (createUndo): ditto
7765         (textUndoOrRedo): comment out a currently unused var.
7766
7767         * paragraph.h (NO_NEXT): enable NO_NEXT
7768
7769         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7770
7771         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7772
7773         * exporter.C (Export): adjust for removeAutoInsets removal.
7774
7775         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7776
7777         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7778
7779         * BufferView.[Ch] (removeAutoInsets): delete function
7780
7781 2003-05-22  Angus Leeming  <leeming@lyx.org>
7782
7783         * latexrunparams.h: add a free_spacing variable.
7784
7785         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7786         to pass moving_arg, as the data is stored in runparams.fragile.
7787
7788         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7789         to Inset::latexOptional or to simpleTeXOnePar.
7790
7791         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7792         free_spacing arg to Inset::latexOptional.
7793
7794         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7795         free_spacing arg.
7796
7797 2003-05-22  Angus Leeming  <leeming@lyx.org>
7798
7799         * latexrunparams.h: add fragile and use_babel variables.
7800
7801         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7802         * buffer.C (makeLaTeXFile): store this returned value in
7803         runparams.use_babel, thus passing it to the inset::latex methods.
7804
7805         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7806         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7807
7808         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7809         longer has a fragile arg, as it is stored in runparams.fragile.
7810
7811         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7812         moving_arg parameter as the data is stored in runparams.fragile.
7813
7814         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7815         a fragile parameter as the data is stored in runparams.fragile.
7816
7817 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7818
7819         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7820
7821 2003-05-22  Angus Leeming  <leeming@lyx.org>
7822
7823         * latexrunparams.h: add a 'bool nice' which defaults to false.
7824
7825         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7826         now encapsulated within runparams.
7827
7828         * bufferlist.C (updateIncludedTeXfiles):
7829         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7830
7831 2003-05-22  Angus Leeming  <leeming@lyx.org>
7832
7833         * latexrunparams.h: new file containing struct LatexRunParams.
7834         * Makefile.am: add new file.
7835
7836         * LaTeX.[Ch] (c-tor, run):
7837         * buffer.[Ch] (makeLaTeXFile):
7838         * bufferlist.[Ch] (updateIncludedTeXfiles):
7839         * converter.C (convert, scanLog):
7840         * converter.[Ch] (runLaTeX):
7841         * exporter.C (Export):
7842         * paragraph.[Ch] (simpleTeXOnePar):
7843         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7844         * paragraph_funcs.[Ch] (latexParagraphs):
7845         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7846         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7847         pass around a LatexRunParams parameter.
7848
7849 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * paragraph.[Ch]: remove unused constructor
7852
7853         * ParagraphList.C (erase): new function, taking two iterators
7854
7855 2003-05-22  André Pönitz  <poenitz@gmx.net>
7856
7857         * undo_funcs.C: remove duplicated code
7858
7859         * iterator.[Ch]: operator=
7860
7861 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * tabular.C (SetMultiColumn): ws changes
7864
7865         * rowpainter.C (paintFirst): get rid of a ->previous
7866
7867         * lyx_cb.C (getPossibleLabel): parlist simplification
7868
7869         * BufferView.C (ChangeInsets): simplify slightly.
7870
7871 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7872
7873         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7874         * lfuns.h: new LFUN_SPACE
7875         * lyxfunc.C: protected space has a new lfun
7876         * paragraph_funcs.C: read new space insets
7877         * text3.C:
7878         * factory.C: handle new space insets
7879
7880 2003-05-22  André Pönitz  <poenitz@gmx.net>
7881
7882         * BufferView.C:
7883         * BufferView_pimpl.C:
7884         * buffer.[Ch]:
7885         * lyxfunc.C:
7886         * undo_funcs.C: return a ParIterator from getParFromID.
7887
7888         * iterators.[Ch]: add two const's
7889
7890 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * toc.C (getTocList): adjust
7893
7894         * iterators.[Ch]: rework for parlist
7895
7896         * buffer.C (par_iterator_begin): adjust
7897         (par_iterator_end): adjust
7898
7899         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7900
7901         * BufferView.C (removeAutoInsets): adjust
7902         (ChangeInsets): adjust
7903
7904 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7905
7906         * text.C (top_y): fix bug 1110
7907
7908 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7909
7910         * errorlist.[Ch]: added
7911         * buffer.C:
7912         * BufferView.[Ch]:
7913         * BufferView_pimpl.C:
7914         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7915         instead
7916
7917 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7918
7919         * Makefile.am: ensure that lyx is relinked upon changes to the
7920         various "convenience" libs.
7921
7922 2003-05-20  Angus Leeming  <leeming@lyx.org>
7923
7924         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7925         files are compiled in alphabetical order again.
7926
7927         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7928
7929 2003-05-19  Angus Leeming  <leeming@lyx.org>
7930
7931         * gettext.[Ch]: remove "char const * _(char const *)".
7932
7933 2003-05-19  André Pönitz  <poenitz@gmx.net>
7934
7935         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7936
7937         * Makefile.am:
7938         * BufferView.C:
7939         * DepTable.h:
7940         * LaTeXFeatures.C:
7941         * buffer.C:
7942         * lyxfont.C:
7943         * lyxlex.h:
7944         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7945
7946 2003-05-19  André Pönitz  <poenitz@gmx.net>
7947
7948         * buffer.C:
7949         * lyxlayout.[Ch]:
7950         * lyxtextclass.[Ch]:
7951         * paragraph.C:
7952         * paragraph_funcs.[Ch]:
7953         * text2.C:
7954         * text3.C: more insetenv work
7955
7956 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7957
7958         * ParagraphParameters.C (params2string): small bug fixed
7959
7960 2003-05-16  André Pönitz  <poenitz@gmx.net>
7961
7962         * debug.C:
7963         * bufferview_funcs.C: patch from Kornel Benko to prevent
7964           crash when _(...) is called twice in a statement
7965
7966 2003-05-16  André Pönitz  <poenitz@gmx.net>
7967
7968         * BufferView.C:
7969         * lyxfunc.C:
7970         * text.C:
7971         * text2.C:
7972         * text3.C:
7973         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7974
7975 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7976
7977         * lyx_main.C (init): remove spurious static_cast
7978
7979 2003-05-14  André Pönitz  <poenitz@gmx.net>
7980
7981         * BufferView.C: fix format string
7982
7983 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7984
7985         * BufferView.[Ch] (insertErrors): removed
7986         * BufferView.[Ch] (showErrorList): added
7987         * buffer.C (runChkTeX):
7988         * converter.C (scanLog): call showErrorList instead of inserterrors
7989
7990 2003-05-13  André Pönitz  <poenitz@gmx.net>
7991
7992         * BufferView_pimpl.C:
7993         * buffer.C:
7994         * bufferview_func.C:
7995         * MenuBackend.C:
7996         * lyxfunc.C:
7997         * lyxrc.C:
7998         * tex-accent.C:
7999         * text3.C:
8000         * toc.C:
8001         * tabular_funcs.h: tostr() from its own header
8002
8003         * ParagraphParameters.C:
8004         * ToolbarBackend.C:
8005         * bufferparams.C:
8006         * format.C:
8007         * lyxlex_pimpl.C:
8008         * text3.C: STRCONV()
8009
8010 2003-05-12  André Pönitz  <poenitz@gmx.net>
8011
8012         * BufferView.C:
8013         * BufferView_pimpl.C:
8014         * CutAndPaste.C:
8015         * LaTeX.C:
8016         * LaTeXFeatures.C:
8017         * ParagraphParameters.C:
8018         * buffer.C:
8019         * bufferlist.C:
8020         * bufferparams.C:
8021         * bufferview_funcs.C:
8022         * converter.C:
8023         * counters.C:
8024         * debug.C:
8025         * exporter.C:
8026         * format.C:
8027         * importer.C:
8028         * lyx_cb.C:
8029         * lyx_main.C:
8030         * lyxfont.C:
8031         * lyxfunc.C:
8032         * lyxvc.C:
8033         * paragraph.C:
8034         * paragraph_funcs.C:
8035         * tabular.C:
8036         * tabular_funcs.C:
8037         * text2.C:
8038         * text3.C:  boost::format -> bformat  all over the place
8039
8040
8041 2003-05-09  André Pönitz  <poenitz@gmx.net>
8042
8043         * LColor.[Ch]: Pimpl the #include <map> away
8044
8045 2003-05-09  John Levon  <levon@movementarian.org>
8046
8047         * bufferlist.C: never remove emergency saves
8048
8049 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * Makefile.am: better lib building
8052
8053 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8054
8055         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8056         instead.
8057         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8058         (simpleTeXSpecialChars): adjust
8059         (simpleTeXSpecialChars): adjust
8060         * paragraph.C (simpleTeXOnePar): adjust
8061         * buffer.C (makeLaTeXFile): adjust
8062
8063         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8064
8065         * text2.C (changeDepth): parlist cleanup
8066         (getColumnNearX): ditto
8067
8068         * rowpainter.C (getLabelFont): parlist cleanup
8069
8070         * bufferlist.C (newFile): parlist cleanup
8071
8072         * CutAndPaste.C (eraseSelection): parlist cleanup
8073
8074         * BufferView_pimpl.C (trackChanges): parlist cleanup
8075         (dispatch): ditto
8076
8077         * BufferView.C (lockInset): parlist cleanup.
8078         (ChangeInsets): ditto
8079
8080 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * CutAndPaste.h: Update file header.
8083
8084         * CutAndPaste.C: Update file header.
8085         Store the parts cut out of the Document in a limited_stack.
8086         (copySelection): adjust
8087         (pasteSelection): new function, takes the index in the limited stack.
8088         (nrOfParagraphs): adjust
8089         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8090         simplify error inset insertion.
8091         (checkPastePossible): adjust
8092
8093 2003-05-06  John Levon  <levon@movementarian.org>
8094
8095         * text2.C: don't cast wrap inset to float
8096
8097 2003-05-05  André Pönitz  <poenitz@gmx.net>
8098
8099         * iterator.C:
8100         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8101
8102         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8103           few naked Paragraph *.
8104
8105 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8106
8107         * bufferparams.C: Output warning if a document with missing
8108         TeX document class is loaded
8109         * exporter.C: Disable TeX exports if the document class is missing
8110         * lyxtextclass.C:
8111         * lyxtextclass.h:
8112         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8113         isTeXClassAvailable()
8114
8115 2003-05-03  John Levon  <levon@movementarian.org>
8116
8117         * BufferView.h:
8118         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8119         explicit cursor show/hide
8120
8121         * BufferView_pimpl.h:
8122         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8123         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8124
8125         * lyxfunc.C: hide cursor before dispatching.
8126
8127         * lyx_cb.C:
8128         * lyxfind.C:
8129         * text.C:
8130         * text3.C: remove explicit cursor hides
8131
8132 2003-05-02  André Pönitz  <poenitz@gmx.net>
8133
8134         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8135
8136         * undo_funcs.C:
8137         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8138           linked lists
8139
8140         * text2.C: tiny whitespace
8141
8142 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8143
8144         * undo_funcs.C: almost only ws changes.
8145
8146         * ParagraphList.C (splice): just return if pl is empty.
8147
8148 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * ParagraphList.C (splice): new function.
8151
8152         * CutAndPaste.C (pasteSelection): use it
8153
8154 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * CutAndPaste.C (pasteSelection): remove the last next and
8157         previous from this file.
8158
8159 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * CutAndPaste.C (pasteSelection): more clean up, user proper
8162         ParagraphList functions for pasteing.
8163
8164         * ParagraphList.C (insert): new function, three arg insert
8165
8166 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8167
8168         * ParagraphList.C (insert): new function, three arg insert
8169
8170         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8171         not on paragraphs.
8172
8173 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8176
8177 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8180
8181 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8184         (copySelection): clean up a bit.
8185         (pasteSelection): use make_pair
8186
8187         * ParagraphList.C (ParagraphList): implement copy constructor
8188         (operator=): implement, base on copy constructor.
8189         (assign): new func
8190
8191         * paragraph.C (erase): return a bool
8192
8193         * paragraph_pimpl.C (erasePos): remove function, move contents...
8194         (erase): ... here. Return a bool.
8195         (erase): call erase instead of erasePos.
8196
8197 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8198
8199         * ParagraphList.h: define PitPosPair
8200         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8201         ParagraphList, fix a bug on pasting multiple pars
8202         * text2.C: change interface to C&P
8203
8204 2003-04-30  André Pönitz  <poenitz@gmx.net>
8205
8206         * undo_func.C: revert part of yesterday's patch 2
8207
8208 2003-04-30  John Levon  <levon@movementarian.org>
8209
8210         * LColor.C: s/tabular/table/
8211
8212 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8213
8214         * text3.C (dispatch): do not convert iterator -> pointer
8215         * undo_funcs.C (setCursorParUndo): ditto
8216         * text_funcs.C (transposeChars): ditto
8217
8218         * text2.C (setLayout): ws changes only
8219
8220         * text.C (breakParagraph): do not convert iterator -> pointer
8221         (insertChar): ditto
8222         (acceptChange): ditto
8223         (rejectChange): ditto
8224         (changeCase): ditto
8225         (Delete): ditto
8226         (backspace): ditto
8227
8228         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8229         pointer
8230
8231 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8232
8233         * text3.C (gotoInset): YABG (yet another bad getChar)
8234
8235 2003-04-29  André Pönitz  <poenitz@gmx.net>
8236
8237         * paragraph.h: make operator= private unimplemented as long as
8238           it is unusable
8239
8240         * ParagraphList.C: whitespace
8241
8242         * paragraph.[Ch]:
8243         * paragraph_pimpl.[Ch]:
8244         * paragraph_funcs.C:
8245         * CutAndPaste.C:
8246         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8247
8248         * text2.C:
8249           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8250
8251 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8252
8253         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8254         * paragraph.[Ch] (erase):
8255         * paragraph_pimpl.[Ch] (erase): change return type and value
8256         * text2.C (cutSelection): some rework
8257
8258 2003-04-28  John Levon  <levon@movementarian.org>
8259
8260         * bufferlist.C: changes for unsaved changes dialog
8261
8262 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8263
8264         * bufferlist.C (newFile): set language (messages_) for new
8265         documents also.
8266
8267         * buffer.C (readFile): ws changes only.
8268
8269 2003-04-28  André Pönitz  <poenitz@gmx.net>
8270
8271         * undo_funcs.C:
8272         * lyxfunc.C:
8273         * buffer.[Ch]:
8274         * BufferView_pimpl.C:
8275         * BufferView.C: getParFromID related ParagraphList::iterator changes
8276
8277 2003-04-28  André Pönitz  <poenitz@gmx.net>
8278
8279         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8280           Changes
8281
8282 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8283
8284         * messages.C: remove one more localedir class variable.
8285
8286 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8287
8288         * messages.C (getLocaleDir): singleton generation function
8289         (Pimpl): use it.
8290         (Messages): add a default constructor.
8291
8292         * main.C (main): do not setup localedir here, do not call
8293         gettext_init.
8294
8295         * gettext.C (_): use it.
8296         (gettext_init): delete funciton
8297
8298 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8299
8300         * gettext.C (getLyXMessages): new singleton generating function.
8301
8302         * buffer.C (updateDocLang): adjust
8303
8304         * Makefile.am (messages.o): add target
8305         (main.o): remove target
8306
8307 2003-04-27  John Levon  <levon@movementarian.org>
8308
8309         * bufferlist.C:
8310         * lyx_cb.C:
8311         * lyxfunc.C:
8312         * lyxvc.C: specify cancel button in Alert::prompt
8313
8314 2003-04-26  John Levon  <levon@movementarian.org>
8315
8316         * text3.C:
8317         * lyxfunc.C:
8318         * lfuns.h:
8319         * LyXAction.C: add LFUN_INSET_SETTINGS
8320
8321         * lyxfunc.C: don't enable tabular-feature when there's
8322         just any locking inset
8323
8324 2003-04-26  John Levon  <levon@movementarian.org>
8325
8326         * bufferlist.C: re-add Cancel to buffer close question
8327
8328         * lyxfunc.C: fix import UI a bit
8329
8330 2003-04-25  John Levon  <levon@movementarian.org>
8331
8332         * gettext.C: remove the broken asserts for now
8333
8334 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8335
8336         * messages.C: make case where setlocale cannot comply work better.
8337
8338         * buffer.C (updateDocLang): new function
8339         (changeLanguage): use it
8340         (readFile): use it
8341
8342         * text2.C (setCounter): use B_ a bit.
8343
8344         * lyxlayout.C (Read): be sure to trim the label strings.
8345
8346         * messages.C (Messages): fix typo in comment
8347
8348         * buffer.C (readFile): set message_ after file is loaded.
8349         (makeDocBookFile): remove double return
8350         (changeLanguage): reset message_ upon language change.
8351         (B_): new func, use this to get translated buffer strings.
8352
8353         * main.C: add myself and Jean Marc as authors.
8354
8355 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * messages.[hC]: pimplify Messages, and three different pimpls to be
8358         used in different circumstances.
8359
8360         * gettext.[Ch]: change for use with new message code.
8361
8362 2003-04-24 André Pönitz <poenitz@gmx.net>
8363
8364         * factory.C: support for eqref
8365
8366 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * messages.[Ch]: add missing char
8369
8370         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8371
8372         * messages.[Ch]: New files
8373
8374 2003-04-18  John Levon  <levon@movementarian.org>
8375
8376         * BufferView.h:
8377         * BufferView.C:
8378         * BufferView_pimpl.C:
8379         * lfuns.h:
8380         * LyXAction.C:
8381         * lyxtext.h:
8382         * text2.C: remove layout-copy/paste (bug 778)
8383
8384 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8385
8386         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8387
8388 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8389
8390         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8391         if they succeed. Act accordingly.
8392
8393 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * text2.C (setCharFont): adjust
8396         (setCounter): adjust
8397         (insertStringAsLines): adjust
8398
8399         * text.C (leftMargin): adjust
8400         (setHeightOfRow): adjust
8401
8402         * rowpainter.C (paintFirst): adjust
8403         (paintLast): adjust
8404
8405         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8406         (outerHook): ditto
8407         (isFirstInSequence): ditto
8408         (getEndLabel): ditto
8409         (outerFont): adjust
8410
8411         * paragraph.C (getParLanguage): comment out some hard stuff.
8412
8413         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8414         (sgmlError): ditto
8415         (simpleDocBookOnePar): ditto
8416         (makeDocBookFile): use ParagraphList::iterator
8417
8418         * CutAndPaste.C (pasteSelection): adjust
8419
8420 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8421
8422         * text2.C (getFont): adjust
8423         (getLayoutFont): adjust
8424         (getLabelFont): adjust
8425
8426         * paragraph_funcs.C (TeXOnePar): adjust
8427
8428         * buffer.C (simpleLinuxDocOnePar): adjust
8429         (simpleDocBookOnePar): adjust
8430
8431         * CutAndPaste.C (pasteSelection): adjust
8432
8433         * BufferView.C (getEncoding): adjust
8434
8435         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8436
8437 2003-04-16  John Levon  <levon@movementarian.org>
8438
8439         * lyxfind.C: use parlist stuff for search/changes
8440
8441 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8442
8443         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8444
8445         * text2.C (deleteEmptyParagraphMechanism): adjust
8446
8447         * text2.[Ch] (ownerParagraph): delete func (both of them
8448
8449 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8450
8451         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8452
8453 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8454
8455         * ParagraphList.C: prepare for NO_NEXT
8456
8457 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8458
8459         * text2.C (getFont): adjust
8460         (getLayoutFont): adjust
8461         (getLabelFont): adjust
8462
8463         * paragraph.C (getFont): adjust
8464         (getLabelFont): adjust
8465         (getLayoutFont): adjust
8466
8467         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8468
8469 2003-04-15  John Levon  <levon@movementarian.org>
8470
8471         From Angus Leeming
8472
8473         * lyx_main.C: handle Include in .ui files
8474
8475 2003-04-15  John Levon  <levon@movementarian.org>
8476
8477         * MenuBackend.C: make the doc files length shorter
8478
8479         * ToolbarBackend.h:
8480         * ToolbarBackend.C: handle toolbar placement flags,
8481         Minibuffer
8482
8483 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8484
8485         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8486         adjust
8487
8488         * paragraph_funcs.C (TeXOnePar): adjust
8489
8490         * paragraph.C (getLabelFont): add outerfont arg, adjust
8491         (getLayoutFont): ditto
8492         (simpleTeXOnePar): adjust
8493
8494         * paragraph_pimpl.C (realizeFont): delete func
8495
8496 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8497
8498         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8499         row argument, constify cur argument.
8500
8501 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8502
8503         * text2.C (getFont): adjust
8504         (getLayoutFont): adjust
8505         (getLabelFont): adjust
8506
8507         * paragraph_funcs.C (TeXOnePar): adjust
8508         (outerFont): new func...
8509         (realizeFont): ...moved out from here, changed this to facilitate
8510         transition
8511
8512         * paragraph.C (getFont): take outerfont as arg, adjust
8513         (simpleTeXOnePar): add outerfont arg, adjust
8514
8515         * buffer.C (simpleLinuxDocOnePar): adjust
8516         (simpleDocBookOnePar): adjust
8517
8518         * CutAndPaste.C (pasteSelection): adjust
8519
8520         * BufferView.C (getEncoding): adjust
8521
8522 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8523
8524         * text2.C (setCharFont): adjust
8525         (setCounter): adjust
8526
8527         * text.C (leftMargin): adjust
8528         (setHeightOfRow): adjust
8529
8530         * rowpainter.C (paintFirst): adjust
8531         (paintLast): adjust
8532
8533         * paragraph_pimpl.C (realizeFont): adjust
8534
8535         * paragraph.C (isFirstInSequence): move from here...
8536         * paragraph_funcs.C (isFirstInSequence): ...to here
8537
8538         * paragraph.C (outerHook): move from here...
8539         * paragraph_funcs.C (outerHook): ...to here
8540
8541         * paragraph.C (depthHook): move from here...
8542         * paragraph_funcs.C (depthHook): ...to here
8543
8544         * paragraph.C (getEndLabel): move from here...
8545         * paragraph_funcs.C (getEndLabel): ...to here
8546
8547         * text2.C (realizeFont): move from here...
8548         * paragraph_funcs.C (realizeFont): ...to here
8549
8550 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8551
8552         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8553
8554 2003-04-14  Angus Leeming  <leeming@lyx.org>
8555
8556         * LColor.[Ch]: scrap LColor mathcursor.
8557
8558 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8559
8560         * lyxlex.[Ch] (text): delete function
8561         * trans.C (Load): adjust
8562         * paragraph_funcs.C (readParToken): adjust
8563
8564 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8567         vector<char> instead of a char[].
8568
8569         * lyxlex_pimpl.C (getString): adjust
8570         (next): adjust
8571         (lex): use getString
8572         (eatLine): adjust
8573         (nextToken): adjust
8574
8575         * lyxlex.C (text): use pimpl_->getString()
8576         (getBool): ditto
8577         (findToken): ditto
8578
8579 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8582         (makeFontEntriesLayoutSpecific): temp var for par.size()
8583         (setLayout): temp var for ownerParagraphs().end()
8584         (fullRebreak): temp var for rows().end()
8585         (selectionAsString): temp var for boost::next(startpit), realize
8586         that the while really is a regular for loop.
8587         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8588         setCursor in one place.
8589         (setParagraph): temp vr for ownerParagraphs().end()
8590         (updateCounters): make the while loop a for loop
8591         (cutSelection): temp var for ownerParagraphs().end()
8592         (updateInset): make the do {} while() a regular for loop
8593         (getCursorX): use temp vars
8594         (setCurrentFont): use temp vars
8595         (getColumnNearX): use temp vars
8596
8597 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * text.C (transformChar): use temp var for getChar
8600         (computeBidiTables): use temp var for row->par()
8601         (fill): move temp vars for row->par() and pit->layout() earlier in
8602         the function.
8603         (labelFill): use temp var for row->par()
8604         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8605         asc and desc, realize that pit never changes and that firstpit is
8606         just a duplicate and not needed. Exchange rit->par() with pit in a
8607         lot of places.
8608         (breakAgain): use a temp var for boost::next(rit)
8609         (breakAgainOneRow): ditto
8610         (breakParagraph): use a temp var for rows().begin()
8611         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8612         (cursorRightOneWord): use temp var for cursor.par() and
8613         cursor.pos(), remove usage of tmpcursor.
8614         (cursorLeftOneWord): use temp var for cursor.par() and
8615         cursor.pos() only set cur at end of function.
8616
8617 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8618
8619         * text.C, text2.C: exchange all usage of Paragraph::next with
8620         boost::next(ParagraphList::iterator)
8621
8622         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8623
8624         * text2.C (cursorTop): simplify implementation
8625         (cursorBottom): ditto
8626         (setParagraph): use ParagraphList::iterator
8627         (setCurrentFont): adjust
8628         (getColumnNearX): adjust
8629         (cursorRight): adjust
8630         (cursorLeft): remove usage of Paragraph::previous
8631         (cursorUpParagraph): ditto
8632         (deleteEmptyParagraphMechanism): slight cleanup
8633
8634         * text.C (isBoundary): take a Paragraph const & instead of a
8635         pointer as arg.
8636         (addressBreakPoint): ditto
8637         (leftMargin): remove usage of Paragraph::previous.
8638         (setHeightOfRow): ditto
8639         (cursorLeftOneWord): ditto
8640         (selectNextWordToSpellcheck): ditto
8641         (Delete): ditto
8642         (backspace): ditto
8643         (breakParagraph): remove one usage of Paragraph::next
8644         (redoParagraph): ditto
8645         (acceptChange): ditto
8646         (insertChar): adjust
8647         (rowBreakPoint): adjust
8648
8649         * bufferview_funcs.C (toggleAndShow): adjust
8650
8651 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8652
8653         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8654         methods to access it.
8655         * lyxtext.h:
8656         * text.C: Added updateRowPositions to compute all row positions.
8657         Make top_y and getRowNearY() to use the cached y position
8658
8659 2003-04-11  John Levon  <levon@movementarian.org>
8660
8661         * text.C (rowBreakPoint): reintroduce the labelEnd
8662         checks, code copied from the row fill stuff. Deep voodoo.
8663
8664         * text.C (fill): add a comment and debugging for the
8665         next poor soul.
8666
8667 2003-04-11  John Levon  <levon@movementarian.org>
8668
8669         * text.C: make sure fullrow insets get wrapped to the next line,
8670         even when they're in a manual label
8671
8672 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8673
8674         * text2.C (insertParagraph): make it take ParagraphList::iterator
8675         as arg.
8676         (setLayout): make it return ParagraphList::iterator
8677         (redoParagraphs): ditto
8678         (setCounter): ditto
8679         (checkParagraph): ditto
8680
8681         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8682
8683         * text2.C: adjust several funcs.
8684         (realizeFont): take a ParagraphList::iterator as arg.
8685         (getLayoutFont): ditto
8686         (getLabelFont): ditto
8687         (setCharFont): ditto
8688
8689         * text.C: adjust several funcs.
8690
8691 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8692
8693         * text.C (selectNextWordToSpellcheck): don't accidentally
8694         skip insets
8695
8696 2003-04-10  John Levon  <levon@movementarian.org>
8697
8698         * ToolbarBackend.C (getIcon): special handling for
8699         LFUN_MATH_DELIM
8700
8701 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8702
8703         * text2.C (cursorRight): a getChar assert fixed
8704
8705 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8706
8707         * text2.C (getFont): change to take a ParagraphList::iterator
8708         instead of Paragraph*
8709         Adjust several functions.
8710
8711         * text.C (transformChar): change to take a ParagraphList::iterator
8712         instead of Paragraph*
8713         (singleWidth): ditto
8714         Adjust several functions.
8715
8716         * rowpainter.C: adjust several functions
8717         * rowpainter.h:store a ParagraphList::iterator and not a
8718         Paragraph&.
8719
8720
8721 2003-04-09  John Levon  <levon@movementarian.org>
8722
8723         * lyxfunc.C:
8724         * lfuns.h:
8725         * LyXAction.h:
8726         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8727         and the "help" bits as well
8728
8729 2003-04-09  John Levon  <levon@movementarian.org>
8730
8731         * ToolbarBackend.h:
8732         * ToolbarBackend.C: allow multiple toolbars
8733
8734 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8735
8736         * undo_funcs.C (setCursorParUndo): adjust
8737
8738         * text_funcs.C (transposeChars): adjust
8739
8740         * text3.C (gotoNextInset): adjust
8741         (dispatch): adjust
8742
8743         * text2.C (setLayout): adjust
8744         (changeDepth): adjust
8745         (setFont): adjust
8746         (redoParagraphs): adjust
8747         (selectionAsString): adjust
8748         (setParagraph): adjust
8749         (insertInset): adjust
8750         (cutSelection): adjust
8751         (copySelection): adjust
8752         (pasteSelection): adjust
8753         (insertStringAsLines): adjust
8754         (updateInset): adjust
8755         (setCursor): change to take a ParagraphList::iterator parameter
8756         (setCursorIntern): change to take a ParagraphList::iterator parameter
8757         (setCurrentFont): adjust
8758         (cursorLeft): adjust
8759         (cursorRight): adjust
8760         (deleteEmptyParagraphMechanism): adjust
8761
8762         * text.C (breakParagraph): adjust
8763         (insertChar): adjust
8764         (acceptChange): adjust
8765         (rejectChange): adjust
8766         (selectNextWordToSpellcheck): adjust
8767         (changeCase): adjust
8768         (Delete): adjust
8769         (backspace): adjust
8770
8771         * lyxfind.C (SearchForward): adjust
8772         (SearchBackward): adjust
8773         (nextChange): adjust
8774
8775         * lyxcursor.C (par): adjust
8776
8777         * lyxcursor.h: store a ParagraphList::iterator instead of a
8778         Paragraph*
8779
8780         * lyx_cb.C (getPossibleLabel): adjust
8781
8782         * bufferview_funcs.C (toggleAndShow): adjust
8783
8784         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8785         (dispatch): adjust
8786
8787         * BufferView.C (removeAutoInsets): adjust
8788         (lockedInsetStoreUndo): adjust
8789
8790 2003-04-09  John Levon  <levon@movementarian.org>
8791
8792         * ToolbarBackend.C: try icon without argument
8793         if with argument fails
8794
8795 2003-04-08  John Levon  <levon@movementarian.org>
8796
8797         * ToolbarBackend.h:
8798         * ToolbarBackend.C: add getIcon(), handle tooltip,
8799         and change from "Icon" to "Item".
8800
8801 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8802
8803         * BufferView.C (lockInset): another bad getchar crunched
8804
8805 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8806
8807         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8808         again)
8809
8810 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8811
8812         * lyxfind.C (searchForward, searchBackwards): bug 782
8813
8814 2003-04-07  John Levon  <levon@movementarian.org>
8815
8816         * paragraph.C: remove dead comment
8817
8818         * text.C: remove troublesome depth-fiddling code
8819         in leftMargin() and rightMargin() (bug 1017)
8820
8821         * text.C: fix breaking of rows in nested lists
8822         (bug 1004)
8823
8824         * text2.C (updateCounters): fix up depth values
8825         (bug 1013)
8826
8827 2003-04-07  John Levon  <levon@movementarian.org>
8828
8829         * BufferView_pimpl.C: clear message when doc finishes resizing,
8830         and after a mouse event
8831
8832         * lyxfunc.C: clear message after exiting inset
8833
8834 2003-04-07  John Levon  <levon@movementarian.org>
8835
8836         * bufferview_funcs.C: show math status not outside
8837         status in the statusbar
8838
8839 2003-04-07  John Levon  <levon@movementarian.org>
8840
8841         * lyxfunc.C: note status changed after a depth change
8842
8843 2003-04-04  Angus Leeming  <leeming@lyx.org>
8844
8845         * LaTeX.h: move AuxInfo operator==, != out of line.
8846         Remove LaTeX virtual destructor; nothing derives from it.
8847         Move operator()() out of public area and rename it startscript().
8848         Change protected for private.
8849
8850 2003-04-04  Angus Leeming  <leeming@lyx.org>
8851
8852         * lyxfunc.C:
8853         * text2.C: remove unneeded #includes.
8854
8855 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8856
8857         * text2.C (dEPM): fix the heigth of the next row
8858
8859 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8860
8861         * text.C: squashed an invalid getChar requester + some ws changes
8862
8863 2003-04-03  John Levon  <levon@movementarian.org>
8864
8865         * bufferview_funcs.h:
8866         * bufferview_funcs.C:
8867         * lyxfunc.C:
8868         * lyxtext.h:
8869         * text2.C: make getStatus work for the env depth lfuns
8870
8871 2003-04-03  John Levon  <levon@movementarian.org>
8872
8873         * bufferview_funcs.h:
8874         * bufferview_funcs.C:
8875         * lyxfunc.C:
8876         * lyxtext.h:
8877         * text2.C: parlistize decDepth(), by merging it with incDepth()
8878
8879 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8880
8881         * lyxrow.h: store a ParagraphList::iterator instead of a
8882         Paragraph* and adjust other class functions to suit.
8883
8884         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8885         above.
8886
8887 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8888
8889         * text2.C (setCursor): do not anchor to cursor row for the time being
8890
8891 2003-04-02  John Levon  <levon@movementarian.org>
8892
8893         * LyXAction.C:
8894         * lfuns.h:
8895         * lyx_main.C:
8896         * lyxtext.h:
8897         * text.C:
8898         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8899
8900 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8901
8902         * paragraph.h: make ParagraphList and ParagraphList::iterator
8903         friends of Paragraph.
8904
8905         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8906
8907         * ParagraphList.C: Use the private next_ and previous_ from
8908         Paragraph.
8909
8910 2003-04-01  John Levon  <levon@movementarian.org>
8911
8912         * ToolbarBackend.h:
8913         * ToolbarBackend.C:
8914         * Makefile.am: rename, remove defaults gunk
8915
8916         * MenuBackend.h:
8917         * MenuBackend.C: remove defaults gunk
8918
8919         * Languages.h:
8920         * Languages.C: remove defaults gunk
8921
8922         * lyx_main.h:
8923         * lyx_main.C: error out if files couldn't be found.
8924
8925 2003-04-02  John Levon  <levon@movementarian.org>
8926
8927         * text2.C: make incDepth() use parlist
8928
8929 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8930
8931         * undo_funcs.C (firstUndoParagraph): adjust
8932
8933         * text3.C (gotoInset): adjust
8934         (dispatch): adjust, and rewrite loop.
8935
8936         * text2.C (init): adjust, and rewrite loop.
8937         (redoParagraphs): adjust
8938         (updateInset): adjust, and rewrite loop.
8939         (deleteEmptyParagraphMechanism): adjust
8940
8941         * tabular.C (LyXTabular): adjust
8942         (SetMultiColumn): adjust
8943         (TeXRow): adjust
8944
8945         * lyxtext.[Ch] (ownerParagraph): delete function
8946         (ownerParagraphs): new function returns a ParagraphList.
8947
8948         * BufferView.C (removeAutoInsets): adjust
8949         (insertErrors): adjust
8950         (setCursorFromRow): adjust
8951
8952 2003-04-01  Angus Leeming  <leeming@lyx.org>
8953
8954         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8955         in the frontends.
8956
8957 2003-04-02  John Levon  <levon@movementarian.org>
8958
8959         * lyxtext.h:
8960         * text.C:
8961         * Makefile.am:
8962         * text_funcs.h:
8963         * text_funcs.C: make transposeChars a free function
8964
8965         * lyxrow_funcs.C: remove wrong comment
8966
8967 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8968
8969         * lyxtext.h: adjust
8970         * rowpainter.C: adjust
8971         * text.C: adjust
8972         * text2.C: adjust
8973         * text3.C: adjust
8974
8975         * lyxrow_funcs. [Ch]: new files
8976
8977         * lyxrow.[Ch]: remove next and previous pointers
8978         (next,previous): remove accessor functions
8979         (isParEnd): move to lyxrow_funcs
8980         (lastPos): move to lyxrow_funcs
8981         (nextRowIsAllInset): move to lyxrow_funcs
8982         (lastPrintablePos): move to lyxrow_funcs
8983         (numberOfSeparators): move to lyxrow_funcs
8984         (numberOfHfills): move to lyxrow_funcs
8985         (numberOfLabelHfills): move to lyxrow_funcs
8986         (hfillExpansion): move to lyxrow_funcs
8987
8988         * lyxfunc.C: adjust
8989
8990         * bufferview_funcs.C (toggleAndShow): adjust
8991
8992         * RowList.h: Remove class RowList from file leave just a
8993         std::list<Row>.
8994
8995         * RowList.C: delete file
8996
8997         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8998         and lyxrow_funcs.h
8999
9000 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9001
9002         * text3.C (cursorPrevious): adjust
9003         (cursorNext): adjust
9004         (dispatch): adjust
9005
9006         * text2.C (redoHeightOfParagraph): adjust
9007         (redoDrawingOfParagraph): adjust
9008         (setCursor): adjust
9009
9010         * text.C (breakParagraph): adjust
9011         (insertChar): adjust
9012         (backspace): adjust
9013
9014         * rowpainter.C (RowPainter): adjust
9015         (leftMargin): simplify and adjust
9016         (most rowpainter functions): adjust.
9017
9018         * rowpainter.h: store the row as RowList::iterator not as Row*
9019
9020         * lyxcursor.C (row): taka RowList::iterator as arg
9021         (irow): ditto
9022
9023         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9024         of Row*.
9025
9026 2003-04-01  Angus Leeming  <leeming@lyx.org>
9027
9028         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9029         stuff like bool Bool.
9030
9031 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9032
9033         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9034         rewrite a loop
9035
9036 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9037
9038         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9039         RowList::iterator.
9040
9041         * lyxtext.h (rows): drop one version and leve a const variant that
9042         returns a RowList::iterator.
9043
9044 2003-03-31  Angus Leeming  <leeming@lyx.org>
9045
9046         * text.C (fill): ensure that the signature is the same as that in the
9047         header file.
9048
9049 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9050
9051         * text2.C (redoParagraphs): adjust
9052         (updateCounters): adjust
9053         (checkParagraph): adjust
9054         (getColumnNearX): adjust and reformat a bit.
9055
9056         * text.C (top_y): adjust
9057         (workWidth): adjust
9058         (leftMargin): adjust
9059         (prepareToPrint): adjust
9060         (getRow): adjust
9061         (getRowNearY): adjust
9062
9063         * lyxtext.h: make rowlist_ mutable.
9064
9065         * RowList.h: add const_iterator
9066         * RowList.C: adjust for RowList::const_iterator.
9067
9068         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9069         adjust.
9070
9071 2003-03-31  John Levon  <levon@movementarian.org>
9072
9073         * lyxrc.h:
9074         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9075
9076         * lyx_main.C: set default fonts from using lyx_gui funcs
9077
9078         * exporter.C: pdf_mode moved from lyxrc
9079
9080         * lyx_cb.C:
9081         * lyxfunc.C: changes from above
9082
9083 2003-03-31  John Levon  <levon@movementarian.org>
9084
9085         * lyx_main.C: fix to the last fix
9086
9087 2003-03-31  John Levon  <levon@movementarian.org>
9088
9089         * bufferlist.C: "Load original" -> "Load Original"
9090
9091         * converter.C:
9092         * exporter.C:
9093         * importer.C:
9094         * lyx_main.C:
9095         * format.C: more Alert cleanups
9096
9097 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9098
9099         * text2.C (removeParagraph): make it take a RowList::iterator as
9100         arg, adjust.
9101         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9102         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9103
9104         * text.C (anchor_row): make it take a RowList::iterator as arg,
9105         adjust.
9106         (computeBidiTables): make it take a const reference to Row instead
9107         of Row pointer, adjust.
9108         (leftMargin): make it take a RowList::iterator as arg, adjust.
9109         (rowBreakPoint): adjust
9110         (breakAgainOneRow): make it take a RowList::iterator as arg,
9111         adjust.
9112         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9113
9114         * bufferview_funcs.C (toggleAndShow): adjust
9115
9116 2003-03-30  John Levon  <levon@movementarian.org>
9117
9118         * Makefile.am:
9119         * BoostFormat.h:
9120         * boost-inst.C: moved to support
9121
9122         * several files: changes as a result
9123
9124 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9125
9126         * text2.C (LyXText): adjust.
9127         (init): adjust
9128         (removeRow): make it take a RowList::iterator as arg, adjust.
9129         (fullRebreak): adjust
9130         (deleteEmptyParagraphMechanism): adjust
9131         (clearPaint): adjust
9132         (postPaint): adjust
9133
9134         * text.C (top_y): adjust
9135         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9136         (breakAgain): make it take a RowList::iterator as arg, adjust.
9137         (breakParagraph): adjust
9138         (insertChar): adjust
9139         (backspace): adjust
9140
9141         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9142         need_break_row, and refresh_row.
9143
9144         * text3.C (dispatch): adjust
9145
9146         * text2.C (checkParagraph): adjust
9147         (setCursor): adjust
9148         (setCursorFromCoordinates): adjust
9149
9150         * text.C (top_y): adjust
9151         (workWidth): adjust
9152         (getRow): make it return a RowList::iterator, adjust
9153         (getRowNearY): make it return a RowList::iterator, adjust
9154
9155         * text2.C (init): adjust
9156         (insertRow): remove function
9157         (insertParagraph): adjust
9158         (redoParagraphs): adjust
9159         (fullRebreak): adjust
9160         (updateCounters): adjust
9161
9162         * text.C (top_y): rewrite to use RowList iterators.
9163         (top_y): adjust
9164         (setHeightOfRow): rewrite to sue RowList iterators.
9165         (appendParagraph): adjust
9166         (breakAgain): adjust
9167         (breakAgainOneRow): adjust
9168         (breakParagraph): adjust
9169         (getRow): adjust
9170         (getRowNearY): adjust, and remove commented code.
9171
9172         * lyxtext.h (firstRow): delete function
9173         (lastRow): delete function
9174         (rows): new function (const and non-const versions.)
9175         (insertRow): delete function
9176
9177         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9178
9179 2003-03-29  John Levon  <levon@movementarian.org>
9180
9181         * BufferView_pimpl.C: always update scrollbar top
9182         because pasting text when we're anchored could mean we
9183         miss an update altogether
9184
9185 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9186
9187         * text2.C (init): use rowlist_.end() and not 0.
9188         (insertRow): change to take a RowList::iterator as arg, adjust
9189         for this.
9190         (insertParagraph): change to take a RowList::iterator as arg,
9191         adjust for this.
9192         (redoParagraphs): remove some debug msgs.
9193
9194         * text.C (appendParagraph): change to take a RowList::iterator
9195         arg, adjust for this.
9196         (breakAgain): add an assert
9197         (breakAgainOneRow): ditto
9198
9199 2003-03-29  John Levon  <levon@movementarian.org>
9200
9201         * text2.C: do not clear selection after inc/decDepth
9202         (bug 550)
9203
9204 2003-03-29  John Levon  <levon@movementarian.org>
9205
9206         * BufferView.C:
9207         * buffer.C: fix broken strerrors according to Lars
9208
9209 2003-03-29  John Levon  <levon@movementarian.org>
9210
9211         * converters.C: more Alert cleanups
9212
9213 2003-03-29  John Levon  <levon@movementarian.org>
9214
9215         * bufferview_funcs.C: remove pointless Alert
9216
9217         * buffer.C: fix confusing error message when
9218         a template is chmoded 000
9219
9220 2003-03-29  John Levon  <levon@movementarian.org>
9221
9222         * BufferView.C:
9223         * BufferView.h:
9224         * BufferView_pimpl.C: Alert fixes
9225
9226         * Makefile.am:
9227         * tabular.C:
9228         * tabular-old.C: remove unused table compat reading
9229
9230 2003-03-29  John Levon  <levon@movementarian.org>
9231
9232         * BufferView.C:
9233         * buffer.C:
9234         * lyx_cb.h:
9235         * lyx_cb.C: more Alert cleanups
9236
9237         * lyxfunc.C: don't allow chktex if not latex document
9238
9239 2003-03-29  John Levon  <levon@movementarian.org>
9240
9241         * lyx_cb.C:
9242         * BufferView.C:
9243         * buffer.C: warnings pushed down from support/,
9244         kill err_alert
9245
9246 2003-03-29  John Levon  <levon@movementarian.org>
9247
9248         * lyxfunc.C: safety check for C-r (revert)
9249
9250 2003-03-29  John Levon  <levon@movementarian.org>
9251
9252         * bufferlist.h:
9253         * bufferlist.C: several UI fixes using Alert::prompt.
9254         Fix the pointless looping quit code. Fix stupid revert
9255         behaviour (bug 938)
9256
9257         * lyxvc.h:
9258         * lyxvc.C:
9259         * lyx_cb.C: use Alert::prompt
9260
9261         * lyx_main.C: remove a silly question
9262
9263         * lyxfunc.C: remove a couple of silly questions,
9264         use Alert::prompt
9265
9266 2003-03-28  John Levon  <levon@movementarian.org>
9267
9268         * text2.C: fix bug 974 (End on empty par)
9269
9270 2003-03-28  John Levon  <levon@movementarian.org>
9271
9272         * BufferView_pimpl.C:
9273         * LyXAction.C:
9274         * lfuns.h: remove do-nothing math greek lfuns
9275
9276 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9277
9278         * lyxgluelength.h (isValidGlueLength): add default arg on
9279         parameter 2. Remove default arg from friend in class.
9280
9281         * lyxlength.h (isValidLength): add default arg on parameter 2.
9282         Remove default arg from friend in class.
9283
9284         * text2.C (LyXText): adjust, initialize refresh_row.
9285         (init): adjust
9286         (removeRow): adjust
9287         (insertRow): adjust
9288         (insertParagraph): adjst
9289         (redoParagraphs): adjust
9290         (fullRebreak): adjust
9291         (updateCounters): adjust
9292         (deleteEmptyParagraphMechanism): first attempt at fixing a
9293         crashing bug.
9294
9295         * text.C (top_y): adjust
9296         (setHeightOfRow): adjust
9297         (getRow): adjust
9298         (getRowNearY): adjust
9299
9300         * lyxtext.h: include RowList.h
9301         (~LyXText): not needed anymore, deleted.
9302         (firstRow): modify for RowList
9303         (lastRow): new function
9304         Delete firstrow and lastrow class variables, add a Rowlist
9305         rowlist_ class variable.
9306
9307         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9308         paragraph is empty.
9309
9310         * RowList.C (insert): fix case where it == begin().
9311
9312 2003-03-26  Angus Leeming  <leeming@lyx.org>
9313
9314         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9315         the thesaurus dialog.
9316
9317 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9318
9319         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9320
9321         * RowList.[Ch]: new files
9322
9323         * ParagraphList.C (erase): handle the case where it == begin
9324         correctly.
9325
9326 2003-03-25  John Levon  <levon@movementarian.org>
9327
9328         * Makefile.am:
9329         * aspell_local.h:
9330         * aspell.C: add new aspell support
9331
9332         * lyxrc.h:
9333         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9334         have it accessible.
9335
9336 2003-03-25  Angus Leeming  <leeming@lyx.org>
9337
9338         * lfuns.h:
9339         * LyXAction.C (init): new LFUN_INSET_INSERT.
9340
9341         * BufferView_pimpl.C (dispatch): split out part of the
9342         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9343
9344         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9345         LFUN_INSET_APPLY.
9346
9347 2003-03-25  Angus Leeming  <leeming@lyx.org>
9348
9349         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9350
9351 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9352
9353         * text2.C:
9354         * text3.C: remove useless row->height(0)
9355
9356 2003-03-25  John Levon  <levon@movementarian.org>
9357
9358         * lyxtext.h:
9359         * text2.C:
9360         * text3.C: rename the refreshing stuff to better names
9361
9362 2003-03-24  John Levon  <levon@movementarian.org>
9363
9364         * BufferView_pimpl.h:
9365         * BufferView_pimpl.C: update layout choice on a mouse
9366         press/release
9367
9368 2003-03-23  John Levon  <levon@movementarian.org>
9369
9370         * Makefile.am: fix commandtags.h reference
9371
9372 2003-03-22  John Levon  <levon@movementarian.org>
9373
9374         * BufferView_pimpl.C:
9375         * lyxtext.h:
9376         * rowpainter.C:
9377         * rowpainter.h:
9378         * text.C:
9379         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9380
9381 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9382
9383         * lyxtext.h:
9384         * text.C: take the rtl methods out of line
9385
9386 2003-03-21 André Pönitz <poenitz@gmx.net>
9387
9388         * metricsinfo.[Ch]: new files containing structures to be passed around
9389         during the two-phase-drawing...
9390
9391 2003-03-21 André Pönitz <poenitz@gmx.net>
9392
9393         * lyxtextclass.C: read 'environment' tag.
9394
9395 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9396
9397         * text2.C (removeRow): fix bug 964
9398
9399 2003-03-20  John Levon  <levon@movementarian.org>
9400
9401         * rowpainter.C:
9402         * text.C:
9403         * text2.C: paint cleanups. Inset::update() dropped font
9404         parameter
9405
9406 2003-03-19  John Levon  <levon@movementarian.org>
9407
9408         * lyxfunc.C: only fitcursor/markDirty if available()
9409
9410 2003-03-19  John Levon  <levon@movementarian.org>
9411
9412         * commandtags.h: rename to ...
9413
9414         * lfuns.h: ... this, and renumber / cleanup
9415
9416 2003-03-19  John Levon  <levon@movementarian.org>
9417
9418         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9419         fit the cursor after an lfun
9420
9421         * BufferView.h:
9422         * BufferView.C:
9423         * BufferView_pimpl.h:
9424         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9425
9426         * LyXAction.C: layout-character should have ReadOnly
9427
9428         * ParagraphParameters.C:
9429         * buffer.C:
9430         * bufferview_funcs.C:
9431         * lyx_cb.C:
9432         * lyxfind.C:
9433         * lyxtext.h:
9434         * text.C:
9435         * text2.C:
9436         * text3.C:
9437         * undo_funcs.C: changes from above
9438
9439 2003-03-18  John Levon  <levon@movementarian.org>
9440
9441         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9442         remove it from update()
9443
9444         * lyxfunc.C: update layout choice after an lfun
9445
9446         * text3.C: remove extra updateLayoutChoice()s
9447
9448 2003-03-18  John Levon  <levon@movementarian.org>
9449
9450         * text.C: top_y change means full repaint, fix
9451         a drawing bug with cursor movement
9452
9453 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9454
9455         * lyxtext.h:
9456         * text.C:
9457         * text2.C: anchor row on setCursor
9458
9459 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9460
9461         * lyxtext.h: remove almost all mutable keywords
9462         * text.C:
9463         * text2.C:
9464         * text3.C: remove const keywords accordingly
9465
9466 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9467
9468         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9469         anon namespace
9470         (TeXEnvironment): ditto
9471         (TeXOnePar): ditto
9472
9473 2003-03-17  John Levon  <levon@movementarian.org>
9474
9475         * text.C (rowBreakPoint): remove attempt to fix displayed
9476         math insets inside a manual label
9477
9478 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9479
9480         * lyxtext.h: remove BufferView* as first arg from almost all class
9481         functions.
9482         * other files: adjust.
9483
9484 2003-03-17  John Levon  <levon@movementarian.org>
9485
9486         * lyxtext.h:
9487         * undo_funcs.C:
9488         * text2.C: more paint cleanups
9489
9490         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9491
9492         * rowpainter.h:
9493         * rowpainter.C: remove "smart" background painting code
9494
9495 2003-03-16  John Levon  <levon@movementarian.org>
9496
9497         * lyxtext.h:
9498         * text.C:
9499         * text2.C:
9500         * text3.C: add helper functions for setting refresh_row/y
9501
9502 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9503
9504         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9505         newline inset which *can* get inserted in the pass_thru layouts.
9506         This is primarily for literate documents.
9507
9508 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9509
9510         * buffer.C: increment LYX_FORMAT to 223
9511
9512 2003-03-14 André Pönitz <poenitz@gmx.net>
9513
9514         * textclass.h: prepare for environment handling, ws changes
9515         * lyxlayout.C: read latexheader and latexfooter tags
9516
9517 2003-03-14  John Levon  <levon@movementarian.org>
9518
9519         * text2.C: rewrite ::status() a bit
9520
9521 2003-03-13  John Levon  <levon@movementarian.org>
9522
9523         * lyxtext.h: add some docs
9524
9525 2003-03-13  John Levon  <levon@movementarian.org>
9526
9527         * lyxtext.h:
9528         * text.C:
9529         * text2.C:
9530         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9531
9532 2003-03-13  John Levon  <levon@movementarian.org>
9533
9534         * text3.C: fix appendix redrawing
9535
9536 2003-03-13  John Levon  <levon@movementarian.org>
9537
9538         * text.C (setHeightOfRow):
9539         * rowpainter.h:
9540         * rowpainter.C: make appendix mark have the text
9541           "Appendix" so the user knows what it is
9542
9543         * LColor.h:
9544         * LColor.C: s/appendixline/appendix/ from above
9545
9546 2003-03-13  John Levon  <levon@movementarian.org>
9547
9548         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9549
9550         * text.C: fix a getChar(pos) bug properly
9551
9552 2003-03-13  Angus Leeming  <leeming@lyx.org>
9553
9554         * commandtags.h:
9555         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9556         Probably only temporary. Let's see how things pan out.
9557
9558         * BufferView.C (unlockInset):
9559         * BufferView_pimpl.C (fitCursor):
9560         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9561
9562         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9563         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9564
9565         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9566         new functions that convert ParagraphParameters to and from a string.
9567
9568         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9569         BufferView::Pimpl's dispatch.
9570         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9571
9572 2003-03-13 André Pönitz <poenitz@gmx.net>
9573
9574         * lyxfunc.C:
9575         * text3.C:
9576         * factory.C: make it aware of InsetEnv
9577
9578 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9579
9580         * text2.C (setCursor): never ask for one past last
9581         (setCursor): add some debugging messages.
9582
9583         * text.C (singleWidth): never ask for one past last
9584         (singleWidth): ditto
9585         (leftMargin): ditto
9586         (rightMargin): ditto
9587         (rowBreakPoint): ditto
9588         (setHeightOfRow): ditto
9589         (prepareToPrint): ditto
9590
9591         * rowpainter.C (paintBackground): never ask for one past last
9592         (paintText): never ask for one past last
9593
9594         * paragraph_pimpl.C (getChar): make the assert stricter, never
9595         allow the one past last pos to be taken
9596
9597         * paragraph.C (getChar): ws changes only
9598
9599         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9600         (numberOfSeparators): ditto
9601         (numberOfHfills): ditto
9602
9603 2003-03-12  John Levon  <levon@movementarian.org>
9604
9605         * author.h:
9606         * author.C:
9607         * bufferparams.h:
9608         * bufferparams.C:
9609         * paragraph_funcs.C: fix per-buffer authorlists
9610
9611 2003-03-12  John Levon  <levon@movementarian.org>
9612
9613         * text.C: fix newline in right address
9614
9615 2003-03-12  Angus Leeming  <leeming@lyx.org>
9616
9617         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9618         duplicate those in LyXFunc::dispatch.
9619
9620         * commandtags.h:
9621         * LyXAction.C:
9622         * ToolbarDefaults.C:
9623         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9624         Add LFUN_FONTFREE_UPDATE.
9625
9626         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9627         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9628
9629         * bufferview_func.[Ch]: several new functions to facilliate
9630         transfer of data to and from the character dialog.
9631
9632 2003-03-12  John Levon  <levon@movementarian.org>
9633
9634         * buffer.C:
9635         * paragraph.h:
9636         * paragraph.C:
9637         * paragraph_funcs.C:
9638         * paragraph_pimpl.C:
9639         * sgml.C:
9640         * tabular.C:
9641         * text.C:
9642         * text3.C: remove META_NEWLINE in favour of an inset
9643
9644         * rowpainter.h:
9645         * rowpainter.C: remove paintNewline (done by inset)
9646
9647 2003-03-12  John Levon  <levon@movementarian.org>
9648
9649         * paragraph_pimpl.C: complain about bad getChar()s
9650         for a while at least
9651
9652 2003-03-12  John Levon  <levon@movementarian.org>
9653
9654         * buffer.h:
9655         * buffer.C: move paragraph read into a separate function,
9656         a little renaming to reflect that.
9657
9658         * bufferparams.h:
9659         * bufferparams.C: remove the author_ids map, not necessary now
9660
9661         * factory.h:
9662         * factory.C: moved Buffer::readInset to here
9663
9664         * paragraph_funcs.h:
9665         * paragraph_funcs.C: readParagraph free function moved from
9666         buffer.C
9667
9668         * tabular.C: name change
9669
9670 2003-03-12  John Levon  <levon@movementarian.org>
9671
9672         * buffer.C:
9673         * ParagraphParameters.C: move par params input to
9674         a read() method
9675
9676         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9677         behave like a normal read from the stream wrt reading
9678         a line vs. a \\token
9679
9680 2003-03-12  John Levon  <levon@movementarian.org>
9681
9682         * paragraph.C:
9683         * ParagraphParameters.h:
9684         * ParagraphParameters.C: move output code to a
9685         ::write() method
9686
9687 2003-03-12  John Levon  <levon@movementarian.org>
9688
9689         * BufferView.C (insertLyXFile):
9690         * buffer.h:
9691         * buffer.C:
9692         * tabular.C: use a parlist iterator for creating the
9693           document.
9694
9695 2003-03-12  John Levon  <levon@movementarian.org>
9696
9697         * buffer.C: make current_change static local not
9698           static file-scope
9699
9700 2003-03-12  John Levon  <levon@movementarian.org>
9701
9702         * buffer.C: fix insertStringAsLines for change tracking
9703
9704 2003-03-12  John Levon  <levon@movementarian.org>
9705
9706         * BufferView.C:
9707         * tabular.C:
9708         * buffer.h:
9709         * buffer.C:
9710         * bufferparams.h:
9711         * bufferparams.C: move author list into params. Rename some
9712           functions. Move the header reading into a separate token
9713           loop. Move the header token reading into BufferParams.
9714
9715 2003-03-12  John Levon  <levon@movementarian.org>
9716
9717         * changes.C: put debug inside lyxerr.debugging() checks
9718
9719 2003-03-11 André Pönitz <poenitz@gmx.net>
9720
9721         * factory.C: make it aware of InsetHFill
9722
9723 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9724
9725         * buffer.C (latexParagraphs): move function from here...
9726         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9727         args.
9728
9729 2003-03-10  Angus Leeming  <leeming@lyx.org>
9730
9731         * LyXAction.C (init): fix bug in poplating array with multiple entries
9732         with the same LFUN (spotted by JMarc).
9733
9734 2003-03-10  John Levon  <levon@movementarian.org>
9735
9736         * text.C:
9737         * text2.C: move getColumnNearX() near its
9738         only call site
9739
9740 2003-03-10  John Levon  <levon@movementarian.org>
9741
9742         * text.C: fix break before a minipage
9743
9744 2003-03-10  John Levon  <levon@movementarian.org>
9745
9746         * text.C: fix the last commit
9747
9748 2003-03-09  John Levon  <levon@movementarian.org>
9749
9750         * lyxtext.h:
9751         * text.C:
9752         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9753         bug 365 (don't break before insets unless needed). Don't
9754         return a value > last under any circumstances.
9755
9756 2003-03-09  Angus Leeming  <leeming@lyx.org>
9757
9758         * BufferView_pimpl.C (trackChanges, dispatch): call
9759         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9760
9761 2003-03-09  Angus Leeming  <leeming@lyx.org>
9762
9763         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9764         than Dialogs::showAboutlyx().
9765
9766 2003-03-09  Angus Leeming  <leeming@lyx.org>
9767
9768         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9769         than Dialogs::showTabularCreate().
9770
9771 2003-03-09  John Levon  <levon@movementarian.org>
9772
9773         * lyxtext.h:
9774         * text.C:
9775         * text2.C: 3rd arg to nextBreakPoint was always the same.
9776           Use references.
9777
9778 2003-03-08  John Levon  <levon@movementarian.org>
9779
9780         * lyxrow.C:
9781         * paragraph.C:
9782         * paragraph.h:
9783         * rowpainter.C:
9784         * text.C:
9785         * text2.C: Remove the "main" bit from the "main body"
9786           notion.
9787
9788 2003-03-08  John Levon  <levon@movementarian.org>
9789
9790         * text.C (leftMargin): The left margin of an empty
9791         manual label paragraph should not include the label width
9792         string length.
9793
9794         * text.C (prepareToPrint): don't attempt to measure hfills
9795         for empty manual label paragraphs - the answer should be 0
9796
9797 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9798
9799         * CutAndPaste.C: remove commented code and reindent.
9800
9801 2003-03-08  John Levon  <levon@movementarian.org>
9802
9803         * lyxfunc.h:
9804         * lyxfunc.C: move reloadBuffer()
9805
9806         * BufferView.h:
9807         * BufferView.C: to here
9808
9809         * lyxvc.C: add comment
9810
9811         * vc-backend.h:
9812         * vc-backend.C: call bv->reload() to avoid
9813           getStatus() check on MENURELOAD
9814
9815 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9816
9817         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9818         to an old format .dep file.
9819
9820 2003-03-07  Angus Leeming  <leeming@lyx.org>
9821
9822         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9823         when the LFUN_MOUSE_RELEASE should have been handled by
9824         inset->localDispatch.
9825
9826 2003-03-07  Angus Leeming  <leeming@lyx.org>
9827
9828         * BufferView_pimpl.C (dispatch):
9829         * LyXAction.C (init):
9830         * ToolbarDefaults.C (init):
9831         * commandtags.h:
9832         * lyxfunc.C (getStatus):
9833         remove LFUN_INSET_GRAPHICS.
9834
9835         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9836
9837 2003-03-07  Angus Leeming  <leeming@lyx.org>
9838
9839         * commandtags.h:
9840         * LyXAction.C (init):
9841         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9842
9843         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9844
9845         * commandtags.h:
9846         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9847
9848         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9849         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9850
9851 2003-03-07  Angus Leeming  <leeming@lyx.org>
9852
9853         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9854         remove "ert".
9855
9856 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9857
9858         * ParagraphList.C (front): new function
9859         (back): implement
9860
9861 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9862
9863         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9864         and top_row_offset_. removed var first_y.
9865         * text.C (top_y):
9866         * text2.C (LyXText, removeRow):
9867         * text3.C:
9868         * BufferView_pimpl.C:
9869         use these methods instead of using first_y
9870
9871 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9872
9873         * text2.C (pasteSelection): adjust for checkPastePossible
9874
9875         * CutAndPaste.C: remove Paragraph * buf and replace with
9876         ParagraphList paragraphs.
9877         (DeleteBuffer): delete
9878         (cutSelection): change the tc type to textclass_type
9879         (copySelection): change the tc type to textclass_type
9880         (copySelection): adjust for ParagraphList
9881         (pasteSelection): change the tc type to textclass_type
9882         (pasteSelection): adjust for Paragraphlist
9883         (nrOfParagraphs): simplify for ParagraphList
9884         (checkPastePossible): simplify for ParagraphList
9885         (checkPastePossible): remove unused arg
9886
9887         * ParagraphList.C (insert): handle the case where there are no
9888         paragraphs yet.
9889
9890         * CutAndPaste.h: make CutAndPaste a namespace.
9891
9892         * text3.C (dispatch): adjust
9893
9894         * text.C (breakParagraph): add a ParagraphList as arg
9895
9896         * paragraph_funcs.C (breakParagraph): change to take a
9897         BufferParams and a ParagraphList as args.
9898         (breakParagraphConservative): ditto
9899         (mergeParagraph): ditto
9900         (TeXDeeper): add a ParagraphList arg
9901         (TeXEnvironment): ditto
9902         (TeXOnePar): ditto
9903
9904         * buffer.C (readLyXformat2): adjust
9905         (insertStringAsLines): adjust
9906         (latexParagraphs): adjust
9907
9908         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9909         (cutSelection): adjust
9910         (pasteSelection): adjust
9911
9912         * BufferView_pimpl.C (insertInset): adjust
9913
9914 2003-03-05  Angus Leeming  <leeming@lyx.org>
9915
9916         * commandtags.h:
9917         * LyXAction.C (init):
9918         * BufferView_pimpl.C (dispatch):
9919         * lyxfunc.C (getStatus):
9920         remove LFUN_CHILD_INSERT.
9921
9922         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9923
9924 2003-03-05  Angus Leeming  <leeming@lyx.org>
9925
9926         * commandtags.h:
9927         * LyXAction.C (init):
9928         * src/factory.C (createInset):
9929         * lyxfunc.C (getStatus):
9930         * text3.C (dispatch):
9931         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9932
9933         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9934
9935 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9936
9937         * ParagraphList.C (insert): handle insert right before end()
9938         (erase): fix cases where it can be first or last paragraph.
9939
9940 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9941
9942         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9943         Paragraph::next and Paragraph::previous
9944         (TeXOnePar): ditto
9945
9946         * text.C (breakParagraph): adjust
9947
9948         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9949         BufferParams& as arg.
9950         (breakParagraph): use ParagraphList::insert
9951         (breakParagraphConservative): take a Buffer* instead of a
9952         BufferParams& as arg.
9953         (breakParagraphConservative): use ParagraphList::insert.
9954
9955         * buffer.C (insertStringAsLines): un-const it
9956         (insertStringAsLines): adjust
9957
9958         * ParagraphList.C (insert): new function
9959
9960         * CutAndPaste.C (pasteSelection): adjust
9961
9962         * text.C (backspace): adjust
9963
9964         * tabular.C (SetMultiColumn): adjust
9965
9966         * CutAndPaste.C (cutSelection): adjust
9967         (pasteSelection): adjust
9968
9969         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9970         Buffer const * as arg
9971
9972         * ParagraphList.C (erase): new function
9973         * paragraph_funcs.C (mergeParagraph): use it
9974         (mergeParagraph): make it take a Buffer* instead of a
9975         BufferParams* as arg
9976
9977         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9978         as arg
9979         (breakParagraphConservative): ditto
9980
9981         * paragraph.h: remove the breakParagraph friend
9982
9983         * paragraph.C (eraseIntern): new function
9984         (setChange): new function
9985
9986         * paragraph_funcs.C (mergeParagraph): make it take a
9987         ParagraphList::iterator instead of a Paragraph *, adjust
9988         accordingly.
9989
9990         * paragraph.h: move an #endif so that the change tracking stuff
9991         also works in the NO_NEXT case.
9992
9993 2003-03-04  Angus Leeming  <leeming@lyx.org>
9994
9995         * commandtags.h:
9996         * LyXAction.C: new LFUN_INSET_MODIFY.
9997
9998         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9999         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10000
10001 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10002
10003         * several files: ws changes only
10004
10005         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10006         (TeXEnvironment): ditto
10007         (TeXDeeper): ditto
10008
10009         * buffer.C (makeLaTeXFile): adjust
10010         (latexParagraphs): make it take ParagraphList::iterator as args
10011
10012 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10013
10014         * buffer.C (latexParagraphs): adjust
10015
10016         * paragraph.C (TeXOnePar): move function...
10017         (optArgInset): move function...
10018         (TeXEnvironment): move function...
10019         * paragraph_pimpl.C (TeXDeeper): move function...
10020         * paragraph_funcs.C: ...here
10021
10022         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10023
10024 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10025
10026         * buffer.C (readInset): remove compability code for old Figure and
10027         InsetInfo insets
10028
10029 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10030
10031         * buffer.C: ws changes
10032         (readInset):
10033
10034         * BufferView_pimpl.C: ditto
10035         * author.C: ditto
10036         * buffer.h: ditto
10037         * bufferlist.h: ditto
10038         * changes.h: ditto
10039         * lyxfunc.C: ditto
10040
10041 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10042
10043         * converter.[Ch]: split into itself +
10044         * graph.[Ch]
10045         * format.[Ch]
10046         * Makefile.am: += graph.[Ch] + format.[Ch]
10047         * MenuBackend.C
10048         * buffer.C
10049         * exporter.C
10050         * importer.C
10051         * lyx_main.C
10052         * lyxfunc.C
10053         * lyxrc.C: added #include "format.h"
10054
10055 2003-02-27  Angus Leeming  <leeming@lyx.org>
10056
10057         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10058           a label.
10059
10060         * factory.C (createInset): add "label" to the factory.
10061
10062         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10063           string and do no more.
10064
10065 2003-02-27  Angus Leeming  <leeming@lyx.org>
10066
10067         * commandtags.h:
10068         * LyXAction.C (init):
10069         * factory.C (createInset):
10070         * BufferView_pimpl.C (dispatch):
10071           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10072
10073         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10074
10075         * lyxfunc.C (dispatch):
10076         * text3.C (dispatch): pass name to params2string.
10077
10078 2003-02-26  Angus Leeming  <leeming@lyx.org>
10079
10080         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10081           blocks together.
10082           Rearrange the ~includes. Strip out the unnecessary ones.
10083
10084         * factory.C (createInset): reformat.
10085           create new insets for the various LFUN_XYZ_APPLY lfuns.
10086
10087 2003-02-26  John Levon  <levon@movementarian.org>
10088
10089         * lyxrow.h:
10090         * lyxrow.C: add isParStart,isParEnd helpers
10091
10092         * paragraph.h: make isInserted/DeletedText take refs
10093
10094         * paragraph_funcs.h:
10095         * paragraph_funcs.C: remove #if 0'd code
10096
10097         * lyxtext.h:
10098         * text3.C:
10099         * text2.C:
10100         * text.C: use lyxrow helpers above.
10101           Move draw and paint routines to RowPainter.
10102           Make several methods use refs not pointers.
10103           Make backgroundColor() const.
10104           Add markChangeInDraw(), isInInset().
10105           Merge changeRegionCase into changeCase.
10106           Make workWidth() shouldn't-happen code into an Assert.
10107
10108         * rowpainter.h:
10109         * rowpainter.C: new class for painting a row.
10110
10111         * vspace.h:
10112         * vspace.C: make inPixels take a ref
10113
10114 2003-02-26  Angus Leeming  <leeming@lyx.org>
10115
10116         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10117         LFUN_REF_APPLY.
10118
10119 2003-02-25  John Levon  <levon@movementarian.org>
10120
10121         * ispell.C: give the forked command a more accurate name
10122
10123 2003-02-22  John Levon  <levon@movementarian.org>
10124
10125         * toc.h:
10126         * toc.C: make TocItem store an id not a Paragraph *
10127           (bug #913)
10128
10129 2003-02-21  Angus Leeming  <leeming@lyx.org>
10130
10131         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10132           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10133           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10134           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10135           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10136           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10137
10138         * BufferView_pimpl.C (dispatch):
10139         * LyXAction.C (init):
10140         * factory.C (createInset):
10141         * lyxfunc.C (getStatus, dispatch):
10142         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10143
10144 2003-02-21  Angus Leeming  <leeming@lyx.org>
10145
10146         * BufferView_pimpl.C (MenuInsertLyXFile):
10147         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10148         * lyxfunc.C (menuNew, open, doImport):
10149           no longer pass a LyXView & to fileDlg.
10150
10151 2003-02-21  Angus Leeming  <leeming@lyx.org>
10152
10153         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10154         * LyXAction.C: change, BIBKEY to BIBITEM.
10155         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10156         Change InsetBibKey to InsetBibitem.
10157         Change BIBKEY_CODE to BIBITEM_CODE.
10158         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10159         * factory.C: replace insetbib.h with insetbibitem.h.
10160         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10161         * paragraph.C: replace insetbib.h with insetbibitem.h.
10162         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10163         Change bibkey() to bibitem().
10164         * text.C: remove insetbib.h.
10165         * text2.C: replace insetbib.h with insetbibitem.h.
10166         change bibkey() to bibitem().
10167         * text3.C: remove insetbib.h.
10168         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10169
10170 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10171
10172         * lyxrc.C (output): enclose user email in quotes (in case there are
10173         several words)
10174
10175 2003-02-18  John Levon  <levon@movementarian.org>
10176
10177         * buffer.h: add std::
10178
10179 2003-02-17  John Levon  <levon@movementarian.org>
10180
10181         * SpellBase.h:
10182         * ispell.h:
10183         * ispell.C:
10184         * pspell.h:
10185         * pspell.C: reworking. Especially in ispell, a large
10186           number of clean ups and bug fixes.
10187
10188         * lyxfunc.C: fix revert to behave sensibly
10189
10190 2003-02-17 André Pönitz <poenitz@gmx.net>
10191
10192         * LyXAction.C:
10193         * commandtags.h: new LFUN_INSERT_BIBKEY
10194
10195         * layout.h:
10196         * lyxlayout.C:
10197         * buffer.C:
10198         * factory.C:
10199         * text.C:
10200         * text2.C:
10201         * text3.C:
10202         * paragraph.[Ch]:
10203         * paragraph_func.C: remove special bibkey handling
10204
10205 2003-02-17  John Levon  <levon@movementarian.org>
10206
10207         * text.C (Delete): fix case where delete at the end of
10208           the very first paragraph would not merge the pars
10209
10210 2003-02-17  John Levon  <levon@movementarian.org>
10211
10212         * lyxrow.C: fix lastPrintablePos()
10213
10214 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10215
10216         * bufferparams.C (writeLaTeX): add a std:here
10217
10218         * buffer.C: and remove a using directive there
10219
10220 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10221
10222         * buffer.C (makeLaTeXFile): move the code that generates the
10223           preamble...
10224
10225         * bufferparams.C (writeLaTeX): ... in this new method
10226
10227         * LaTeXFeatures.C (getEncodingSet): make const
10228           (getLanguages): make const
10229
10230         * MenuBackend.C (binding): returns the binding associated to this
10231           action
10232           (add): sets the status of each item by calling getStatus. Adds
10233           some intelligence.
10234           (read): add support for OptSubMenu
10235           (expand): remove extra separator at the end of expanded menu
10236
10237 2003-02-15  John Levon  <levon@movementarian.org>
10238
10239         * BufferView.C:
10240         * BufferView_pimpl.C:
10241         * bufferlist.h:
10242         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10243           inset code that had no actual effect. Remove unneeded status
10244           code.
10245
10246 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10247
10248         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10249           in preamble
10250
10251 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10252
10253         * text.C (drawLengthMarker): also draw an arrow marker for
10254           symbolic lengths (medskip...)
10255
10256 2003-02-14  John Levon  <levon@movementarian.org>
10257
10258         * tabular.h:
10259         * tabular.C: better method names
10260
10261 2003-02-14  John Levon  <levon@movementarian.org>
10262
10263         * BufferView_pimpl.C:
10264         * bufferlist.C:
10265         * buffer.C:
10266         * converter.C:
10267         * lyx_cb.C:
10268         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10269           it's a more accurate name. Remove some pointless uses.
10270
10271 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10272
10273         * text2.C (LyXText): change order of initilizers to shut off
10274           warnings
10275
10276 2003-02-14  John Levon  <levon@movementarian.org>
10277
10278         * buffer.C: use ParIterator for getParFromID()
10279
10280         * paragraph.h:
10281         * paragraph.C:
10282         * paragraph_pimpl.h:
10283         * paragraph_pimpl.C: remove unused getParFromID()
10284
10285 2003-02-14  John Levon  <levon@movementarian.org>
10286
10287         * buffer.C: remove some very old #if 0'd parse code
10288
10289 2003-02-13  John Levon  <levon@movementarian.org>
10290
10291         * text.h:
10292         * text.C:
10293         * text2.C: move hfillExpansion(), numberOfSeparators(),
10294           rowLast(), rowLastPrintable(), numberofHfills(),
10295           numberOfLabelHfills() ...
10296
10297         * lyxrow.h:
10298         * lyxrow.C: ... to member functions here.
10299
10300         * paragraph.h:
10301         * paragraph.C:
10302         * lyxtext.h:
10303         * text.C: remove LyXText::beginningOfMainBody(), and call
10304           p->beginningOfMainBody() directly. Move the check for
10305           LABEL_MANUAL into the latter.
10306
10307         * text.h:
10308         * text.C:
10309         * text2.C:
10310         * vspace.C:
10311         * BufferView.h:
10312         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10313
10314         * text.h:
10315         * text.C:
10316         * text2.C:
10317         * text3.C:
10318         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10319           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10320
10321 2003-02-13  John Levon  <levon@movementarian.org>
10322
10323         * CutAndPaste.C: remove debug
10324
10325 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10326
10327         * paragraph.C (asString): remove two unused variables
10328
10329         * lyxtextclass.C (readTitleType):
10330           (Read):
10331           (LyXTextClass): handle new members titletype_ and titlename_
10332
10333         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10334
10335 2003-02-09  John Levon  <levon@movementarian.org>
10336
10337         * buffer.h:
10338         * buffer.C: replace hand-coded list with a map for the dep clean
10339
10340 2003-02-08  John Levon  <levon@movementarian.org>
10341
10342         * LaTeX.C: consolidate code into showRunMessage() helper
10343
10344 2003-02-08  John Levon  <levon@movementarian.org>
10345
10346         * lyxfind.C:
10347         * lyxtext.h:
10348         * text2.C:
10349         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10350           and pass the size in explicitly
10351
10352         * BufferView_pimpl.h:
10353         * BufferView_pimpl.C:
10354         * BufferView.h:
10355         * BufferView.C: add getCurrentChange()
10356
10357         * BufferView_pimpl.h:
10358         * BufferView_pimpl.C: handle change lfuns
10359
10360         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10361           for changes. Mark pasted paragraphs as new.
10362
10363         * support/lyxtime.h:
10364         * support/lyxtime.C:
10365         * DepTable.C: abstract time_t as lyx::time_type
10366
10367         * LColor.h:
10368         * LColor.C: add colours for new text, deleted text, changebars
10369
10370         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10371           package use "usenames" option.
10372
10373         * commandtags.h:
10374         * lyxfunc.C:
10375         * LyXAction.C: add change lfuns
10376
10377         * Makefile.am:
10378         * author.h:
10379         * author.C: author handling
10380
10381         * buffer.h:
10382         * buffer.C: add a per-buffer author list, with first entry as
10383           current author. Handle new .lyx tokens for change tracking. Output
10384           author list to .lyx file. Output dvipost stuff to .tex preamble.
10385           Bump lyx format to 222.
10386
10387         * bufferlist.h:
10388         * bufferlist.C: add setCurrentAuthor() to reset current author details
10389           in all buffers.
10390
10391         * bufferparams.h:
10392         * bufferparams.C: add param for tracking
10393
10394         * bufferview_funcs.C: output change info in minibuffer
10395
10396         * Makefile.am:
10397         * changes.h:
10398         * changes.C: add change-tracking structure
10399
10400         * debug.h:
10401         * debug.C: add CHANGES debug flag
10402
10403         * lyxfind.h:
10404         * lyxfind.C: add code for finding the next change piece
10405
10406         * lyxrc.h:
10407         * lyxrc.C: add user_name and user_email
10408
10409         * lyxrow.h:
10410         * lyxrow.C: add a metric for the top of the text line
10411
10412         * lyxtext.h:
10413         * text.C: implement accept/rejectChange()
10414
10415         * lyxtext.h:
10416         * text.C: paint changebars. Paint new/deleted text in the chosen
10417         colours. Strike through deleted text.
10418
10419         * paragraph.h:
10420         * paragraph.C:
10421         * paragraph_pimpl.h:
10422         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10423           in the current change to the insert functions. Rework erase to
10424           mark text as deleted, adding an eraseIntern() and a range-based
10425           erase(). Implement per-paragraph change lookup and
10426           accept/reject.
10427
10428         * paragraph_funcs.C: Fixup paste for change tracking.
10429
10430         * tabular.C: mark added row/columns as new.
10431
10432         * text.C: fix rowLast() to never return -1. Don't allow
10433           spellchecking of deleted text. Track transpose changes. Don't
10434           allow paragraph break or merge where appropriate.
10435
10436         * text2.C: leave cursor at end of selection after a cut.
10437
10438 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10439
10440         * text.C (getLengthMarkerHeight):
10441         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10442         visible on screen too.
10443
10444 2003-02-07  John Levon  <levon@movementarian.org>
10445
10446         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10447
10448 2003-02-05  Angus Leeming  <leeming@lyx.org>
10449
10450         * lyxserver.C (read_ready): revert my patch of 11 September last year
10451         as it sends PC cpu through the roof. Presumably this means that
10452         the lyxserver will no longer run on an Alpha...
10453
10454 2003-01-30  Angus Leeming  <leeming@lyx.org>
10455
10456         * factory.C (createInset): create an InsetCommandParam of type "index"
10457         and use it to 'do the right thing'.
10458
10459         * text2.C (getStringToIndex): ensure that cursor position is always
10460         reset to the reset_cursor position.
10461
10462 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10463
10464         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10465         disabled.
10466
10467 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10468
10469         * bufferview.C:
10470         * lyxcb.C:
10471         * lyxfunc.C: Output messages with identical spelling, punctuation,
10472         and spaces
10473
10474 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10475
10476         * MenuBackend.C (expandFormats): List only viewable export formats
10477         in "View" menu
10478
10479         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10480         message
10481
10482         * lyxfunc.C (getStatus): Make sure that formats other than
10483         "fax" can also be disabled
10484
10485 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10486
10487         * text3.C (dispatch): put the lfuns that insert insets in 3
10488         groups, and call doInsertInset with appropriate arguments.
10489         (doInsertInset): new function, that creates an inset and inserts
10490         it according to some boolean parameters.
10491
10492 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10493
10494         * buffer.C (readFile): remember to pass on 'par' when calling
10495         readFile recursively.
10496
10497 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10498
10499         * MenuBackend.C (expandFormats): add "..." to import formats.
10500
10501 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10502
10503         * paragraph.C (asString): Remove XForms RTL hacks.
10504
10505 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10506         * buffer.C: fix typo
10507
10508 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10509
10510         * Makefile.am (LIBS): delete var
10511         (lyx_LDADD): add @LIBS@ here instead.
10512
10513 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10514
10515         * Clarify the meaning of "wheel mouse jump"
10516
10517 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10518
10519         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10520         tabular in a float
10521
10522 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10523
10524         * importer.C (Loaders): do not preallocate 3 elements in the
10525         vector, since one ends up with 6 elements otherwise
10526
10527 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10528
10529         * DepTable.C (write): write the file name as last element of the
10530         .dep file (because it may contain spaces)
10531         (read): read info in the right order
10532
10533 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10534
10535         * paragraph_pimpl.C (simpleTeXBlanks):
10536         (simpleTeXSpecialChars):
10537         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10538
10539         * tabular.C (latex): add some missing case statements. Reindent.
10540
10541         * MenuBackend.C (expandToc): remove unused variable.
10542
10543 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10544
10545         * LColor.C:
10546         * LaTeX.C:
10547         * LyXAction.C:
10548         * MenuBackend.C:
10549         * buffer.C:
10550         * exporter.C:
10551         * lyxfunc.C:
10552         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10553         and the like.
10554
10555 2003-01-05  John Levon  <levon@movementarian.org>
10556
10557         * BufferView.h:
10558         * BufferView.C: add getEncoding()
10559
10560         * kbsequence.h:
10561         * kbsequence.C: do not store last keypress
10562
10563         * lyxfunc.h:
10564         * lyxfunc.C: store last keypress here instead. Pass encoding
10565           to getISOEncoded()
10566
10567 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10568
10569         * lyx_main.C (init): remove annoying error message when following
10570         symbolic links (bug #780)
10571
10572 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10573
10574         * text.C (insertChar):
10575         * lyxrc.C (getDescription): remove extra spaces
10576
10577 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10578
10579         * lyxrc.C (getDescription): remove extra spaces
10580
10581 2002-12-20  John Levon  <levon@movementarian.org>
10582
10583         * text3.C: hack fix for page up/down across tall rows
10584
10585 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10586
10587         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10588         not been invoked
10589
10590 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10591
10592         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10593         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10594         thesaurus is not compiled in
10595
10596 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10597
10598         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10599
10600 2002-12-16  Angus Leeming  <leeming@lyx.org>
10601
10602         * lyxrc.[Ch]:
10603         * lyx_main.C (init): remove override_x_deadkeys stuff.
10604
10605 2002-12-12  John Levon  <levon@movementarian.org>
10606
10607         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10608           insert. Only remove shift modifier under strict
10609           circumstances.
10610
10611 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10612
10613         * MenuBackend.C (expandToc): fix crash.
10614
10615 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10616
10617         * MenuBackend.C (expandToc): gettext on float names.
10618
10619 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10620
10621         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10622         implement bool empty() [bug 490]
10623
10624 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10625
10626         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10627
10628 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10629
10630         * several files: ws changes
10631
10632 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10633
10634         * text2.C (setCounter): clean up a bit, use boost.format.
10635         (updateCounters): initialize par upon declaration.
10636
10637         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10638         if the layout exists. We do not just store the layout any more.
10639         (SwitchLayoutsBetweenClasses): use boost.format
10640
10641 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10642
10643         * converter.C (convert): if from and to files are the same, use a
10644         temporary files as intermediary
10645
10646 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10647
10648         * commandtags.h:
10649         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10650
10651 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10652
10653         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10654
10655 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10656
10657         * tabular.C (asciiPrintCell): use string(size, char) instead of
10658         explicit loop.
10659
10660         * sgml.C (openTag): fix order of arguments to string constructor
10661         (closeTag): ditto
10662
10663         * lyxfunc.C (dispatch): use boost.format
10664
10665         * lots of files: change "c" -> 'c'
10666
10667 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10668
10669         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10670
10671 2002-11-25  Angus Leeming  <leeming@lyx.org>
10672
10673         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10674
10675         * lyx_main.C (init): compile fix.
10676
10677 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10678
10679         * lyx_cb.C (start): boost.formatify
10680         do not include <iostream>
10681
10682         * lengthcommon.C: ws only
10683
10684         * boost-inst.C,BoostFormat.h: add more explict instantations
10685
10686 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10687
10688         * lots of files: handle USE_BOOST_FORMAT
10689
10690 2002-11-21  John Levon  <levon@movementarian.org>
10691
10692         * pspell.C: fix compile
10693
10694 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10695
10696         * lyxfunc.C (dispatch): use boost::format
10697         (open): ditto
10698         (doImport): ditto
10699
10700         * lyxfont.C (stateText): use boost::format
10701
10702         * lyx_main.C (LyX): use boost::format
10703         (init): ditto
10704         (queryUserLyXDir): ditto
10705         (readRcFile): ditto
10706         (parse_dbg): ditto
10707         (typedef boost::function): use the recommened syntax.
10708
10709         * importer.C (Import): use boost::format
10710
10711         * debug.C (showLevel): use boost::format
10712
10713         * converter.C (view): use boost::format
10714         (convert): ditto
10715         (move): ditto
10716         (scanLog): ditto
10717
10718         * bufferview_funcs.C (currentState): use boost::format
10719
10720         * bufferlist.C (emergencyWrite): use boost::format
10721
10722         * buffer.C (readLyXformat2): use boost::format
10723         (parseSingleLyXformat2Token): ditto
10724
10725         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10726
10727         * LaTeX.C (run): use boost::format
10728
10729         * Chktex.C (scanLogFile): use boost::format
10730
10731         * BufferView_pimpl.C (savePosition): use boost::format
10732         (restorePosition): ditto
10733         (MenuInsertLyXFile): ditto
10734
10735         * BoostFormat.h: help file for explicit instation.
10736
10737 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10738
10739         * tabular.C (latex): Support for block alignment in fixed width
10740         columns.
10741
10742 2002-11-17  John Levon  <levon@movementarian.org>
10743
10744         * BufferView_pimpl.C:
10745         * lyx_cb.C:
10746         * lyxfunc.C: split filedialog into open/save
10747
10748 2002-11-08  Juergen Vigna  <jug@sad.it>
10749
10750         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10751         by my last patch (hopefully).
10752
10753 2002-11-08  John Levon  <levon@movementarian.org>
10754
10755         * iterators.h:
10756         * iterators.C:
10757         * buffer.h:
10758         * buffer.C:
10759         * paragraph.h:
10760         * paragraph.C:
10761         * toc.h:
10762         * toc.C: ParConstIterator, and use it (from Lars)
10763
10764 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10765
10766         * lyxtextclass.[Ch]: revise and add doxygen comments
10767
10768 2002-11-07  John Levon  <levon@movementarian.org>
10769
10770         * text.C: fix progress value for spellchecker
10771
10772         * toc.C: fix navigate menu for insetwrap inside minipage
10773
10774         * paragraph_funcs.C: added FIXME for suspect code
10775
10776 2002-11-07  John Levon  <levon@movementarian.org>
10777
10778         * BufferView_pimpl.C: fix redrawing of insets
10779           on buffer switch
10780
10781 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10782
10783         * text2.C (updateCounters): fix bug 668
10784
10785 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10786
10787         * text3.C (dispatch): Do not make the buffer dirty when moving the
10788         cursor.
10789
10790 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10791
10792         * vc-backend.C: STRCONV
10793         (scanMaster): ditto
10794
10795         * text2.C (setCounter): STRCONV
10796
10797         * paragraph.C (asString): STRCONV
10798
10799         * lyxlength.C (asString): STRCONV
10800         (asLatexString): ditto
10801
10802         * lyxgluelength.C (asString): STRCONV
10803         (asLatexString): ditto
10804
10805         * lyxfunc.C (dispatch): STRCONV
10806         (open): ditto
10807
10808         * lyxfont.C (stateText): STRCONV
10809
10810         * importer.C (Import): STRCONV
10811
10812         * counters.C (labelItem): STRCONV
10813         (numberLabel): ditto
10814         (numberLabel): remove unused ostringstream o
10815
10816         * chset.C: STRCONV
10817         (loadFile): ditto
10818
10819         * bufferview_funcs.C (currentState): STRCONV
10820
10821         * buffer.C (readFile): STRCONV
10822         (asciiParagraph): ditto
10823         (makeLaTeXFile): ditto
10824
10825         * Spacing.C (writeEnvirBegin): STRCONV
10826
10827         * LaTeXFeatures.C (getLanguages): STRCONV
10828         (getPackages): ditto
10829         (getMacros): ditto
10830         (getBabelOptions): ditto
10831         (getTClassPreamble): ditto
10832         (getLyXSGMLEntities): ditto
10833         (getIncludedFiles): ditto
10834
10835         * LaTeX.C: STRCONV
10836         (run): ditto
10837         (scanAuxFile): ditto
10838         (deplog): ditto
10839
10840         * LString.h: add the STRCONV macros
10841
10842         * BufferView_pimpl.C (savePosition): STRCONV
10843         (restorePosition): ditto
10844         (MenuInsertLyXFile): ditto
10845
10846         * vc-backend.C (scanMaster): change from submatch[...] to
10847         submatch.str(...)
10848
10849         * funcrequest.C: include config.h
10850
10851         * factory.C: include config.h
10852
10853         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10854
10855         * box.C: include config.h
10856
10857         * LaTeX.C (scanAuxFile): change from submatch[...] to
10858         submatch.str(...)
10859         (deplog): ditto
10860
10861 2002-10-25  Angus Leeming  <leeming@lyx.org>
10862
10863         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10864
10865         * ispell.[Ch] (setError): new method.
10866         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10867         Use setError() insetead of goto END.
10868
10869         * lyx_cb.C (AutoSave): move out child process into new class
10870         AutoSaveBuffer.
10871
10872 2002-10-30  John Levon  <levon@movementarian.org>
10873
10874         * text3.C: make start appendix undoable
10875
10876 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10877
10878         * lyxlength.C (inPixels): Fix returned value.
10879
10880         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10881         environment.
10882
10883 2002-10-24  Angus Leeming  <leeming@lyx.org>
10884
10885         * lyxgluelength.h: no need to forward declare BufferParams
10886         or BufferView, so don't.
10887
10888 2002-10-21  John Levon  <levon@movementarian.org>
10889
10890         * BufferView.C: menuUndo ->undo, redo
10891
10892         * BufferView.h: document, remove dead, make some methods private
10893
10894         * paragraph_funcs.h:
10895         * paragraph_funcs.C:
10896         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10897
10898         * buffer.h:
10899         * buffer.C:
10900         * sgml.h:
10901         * sgml.C: move sgml open/close tag into sgml.C
10902
10903         * bufferview_funcs.h: unused prototype
10904
10905         * lyxfunc.h:
10906         * lyxfunc.C: remove unused
10907
10908         * lyxtext.h:
10909         * text.C: remove unused
10910
10911 2002-10-21  John Levon  <levon@movementarian.org>
10912
10913         * BufferView.h:
10914         * BufferView.C:
10915         * BufferView_pimpl.h:
10916         * BufferView_pimpl.C: fix mouse wheel handling based on
10917           patch from Darren Freeman
10918
10919 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10920
10921         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10922
10923 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10924
10925         * lyxlength.C (inPixels): Fix hanfling of negative length.
10926         Fix LyXLength::MU case.
10927
10928 2002-10-16  John Levon  <levon@movementarian.org>
10929
10930         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10931
10932 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10933
10934         * converter.C (view): add support for $$i (file name) and $$p
10935         (file path) for the viewer command. If $$i is not specified, then
10936         it is appended to the command (for compatibility with old syntax)
10937
10938 2002-10-14  Juergen Vigna  <jug@sad.it>
10939
10940         * undo_funcs.C (textHandleUndo): alter the order in which the
10941         new undopar is added to the LyXText, as we have to set first
10942         the right prev/next and then add it as otherwise the rebuild of
10943         LyXText is not correct. Also reset the cursor to the right paragraph,
10944         with this IMO we could remove the hack in "redoParagraphs()".
10945
10946 2002-10-09  Angus Leeming  <leeming@lyx.org>
10947
10948         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10949         to turn off an optimisation if a new inset is to be inserted.
10950
10951 2002-10-11 André Pönitz <poenitz@gmx.net>
10952
10953         * lyxtext.h: make some functions public to allow access
10954         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10955
10956 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10957
10958         * text3.C (dispatch): when changing layout, avoid an infinite loop
10959         [bug #652]
10960
10961 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10962
10963         * lyxrc.C (read): treat a viewer or converter command of "none" as
10964         if it were empty.
10965
10966         * MenuBackend.C (expandFormats): for an update, also allow the
10967         formats that are not viewable
10968
10969         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10970         script if it is newer than the lyxrc.defaults in user directory
10971
10972 2002-10-07 André Pönitz <poenitz@gmx.net>
10973
10974         * text.C: Vitaly Lipatov's small i18n fix
10975
10976 2002-09-25  Angus Leeming  <leeming@lyx.org>
10977
10978         * ispell.h: doxygen fix.
10979
10980 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10981
10982         * buffer.h (readFile): Add a new argument to the method, to allow
10983         reading of old-format templates.
10984
10985 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10986
10987         * toc.C (getTocList): Get TOC from InsetWrap.
10988
10989 2002-09-16  John Levon  <levon@movementarian.org>
10990
10991         * lyxfunc.C: check tabular for cut/copy too
10992
10993 2002-09-12  John Levon  <levon@movementarian.org>
10994
10995         * LyXAction.C: tidy
10996
10997         * factory.h:
10998         * factory.C: add header
10999
11000         * paragraph_funcs.h:
11001         * paragraph_funcs.C: cleanup
11002
11003 2002-09-11  John Levon  <levon@movementarian.org>
11004
11005         * PrinterParams.h: odd/even default to true
11006
11007 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11008
11009         * PrinterParams.h: update printer parameters for new xforms dialog
11010
11011 2002-09-11  Angus Leeming  <leeming@lyx.org>
11012
11013         * lyxserver.C (read_ready): re-write to make it more transparent
11014         and to make it work in coherent fashion under Tru64 Unix.
11015
11016 2002-09-11  André Pönitz <poenitz@gmx.net>
11017
11018         * commandtags.h:
11019         * LyXAction.C:
11020         * text3.C: implement LFUN_WORDSEL
11021
11022 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11023
11024         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11025         make floatlist_ a boost::shared_ptr<FloatList>
11026
11027         * lyxtextclass.C: include FloatList.h
11028         (LyXTextClass): initialize floatlist_
11029         (TextClassTags): add TC_NOFLOAT
11030         (Read): match "nofloat" to TC_NOFLOAT and use it.
11031         (readFloat): modify call to floatlist_
11032         (floats): ditto
11033         (floats): ditto
11034
11035         * FloatList.[Ch] (FloatList): remove commented out float
11036         initialization.
11037         (erase): new function
11038
11039 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11040
11041         * MenuBackend.C (expandToc): fix crash when there is no document
11042         open
11043
11044 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11045
11046         * many files: Add insetwrap.
11047
11048 2002-09-09  John Levon  <levon@movementarian.org>
11049
11050         * text2.C: remove confusing and awkward depth wraparound
11051
11052 2002-09-09  John Levon  <levon@movementarian.org>
11053
11054         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11055
11056         * buffer.h:
11057         * buffer.C: remove getIncludeonlyList()
11058
11059         * paragraph.C:
11060         * lyxfunc.C: remove headers
11061
11062 2002-09-09  Juergen Vigna  <jug@sad.it>
11063
11064         * text.C (getColumnNearX): fix form Michael this is most
11065         probably a cut&paste bug.
11066
11067 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11068
11069         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11070
11071         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11072         references, ws changes.
11073
11074         * text2.C (init): update counters after init
11075         (insertParagraph): no need to set counter on idividual paragraphs.
11076         (setCounter): access the counters object in the textclass object
11077         on in the buffer object.
11078         (updateCounters): ditto
11079
11080         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11081         shared_ptr<Counters> to avoid loading counters.h in all
11082         compilation units.
11083         (LyXTextClass): initialize ctrs_
11084         (TextClassTags): add TC_COUNTER, and ...
11085         (Read): use it here.
11086         (CounterTags): new tags
11087         (readCounter): new function
11088         (counters): new funtion
11089         (defaultLayoutName): return a const reference
11090
11091         * counters.C (Counters): remove contructor
11092         (newCounter): remove a couple of unneeded statements.
11093         (newCounter): simplify a bit.
11094         (numberLabel): some small formatting changes.
11095
11096         * buffer.[Ch]: remove all traces of counters, move the Counters
11097         object to the LyXTextClass.
11098
11099 2002-09-06  Alain Castera  <castera@in2p3.fr>
11100
11101         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11102         package to set the horizontal alignment on fixed width columns.
11103
11104         * lyx_sty.C:
11105         * lyx_sty.h: added tabularnewline macro def.
11106
11107         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11108
11109 2002-09-06  John Levon  <levon@movementarian.org>
11110
11111         * LyXAction.C: tooltips for sub/superscript
11112
11113         * MenuBackend.C: a bit more verbose
11114
11115         * lyxfunc.C: tiny clean
11116
11117         * undo_funcs.C: document undo_frozen
11118
11119 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11120
11121         * counters.C (Counters): add missing algorithm counter.
11122
11123         * text2.C (setCounter): lookup the counter with layouts latexname
11124         instead of by section number.
11125         (setCounter): use a hackish way to lookup the correct enum
11126         counter.
11127         a float name->type change
11128         reset enum couners with counter name directly instead of depth value.
11129
11130         * counters.C (Counters): remove the push_backs, change to use the
11131         float type not the float name.
11132         (labelItem): remove unused string, float name->type change
11133
11134         * counters.h: don't include vector, loose the enums and sects vectors
11135
11136 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11137
11138         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11139         (Read): add float->TC_FLOAT to textclassTags
11140         (Read): and handle it in the switch
11141         (readFloat): new function
11142
11143         * FloatList.C (FloatList): comment out the hardcoded float
11144         definitions.
11145
11146         * lyxlayout.h: ws change.
11147
11148 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11149
11150         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11151
11152 2002-09-03  Angus Leeming  <leeming@lyx.org>
11153
11154         * BufferView_pimpl.h: qualified name is not allowed in member
11155         declaration: WorkArea & Pimpl::workarea() const;
11156
11157         * factory.C: added using std::endl directive.
11158
11159         * text3.C: added using std::find and std::vector directives.
11160
11161 2002-08-29  André Pönitz <poenitz@gmx.net>
11162
11163         * lyxtext.h:
11164         * text2.C: remove unused member number_of_rows
11165
11166         * Makefile.am:
11167         * BufferView2.C: remove file, move contents to...
11168         * BufferView.C: ... here
11169
11170         * BufferView_pimpl.C:
11171         * factory.C: move more inset creation to factory
11172
11173         * vspace.C: avoid direct usage of LyXText, ws changes
11174
11175         * BufferView.[Ch]:
11176                 don't provide direct access to WorkArea, use two simple
11177                 acessors haveSelction() and workHeight() instead
11178
11179
11180 2002-08-29  John Levon  <levon@movementarian.org>
11181
11182         * BufferView_pimpl.C (dispatch): do not continue when
11183           no buffer
11184
11185 2002-08-28  André Pönitz <poenitz@gmx.net>
11186
11187         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11188
11189         * BufferView.h:
11190         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11191
11192 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11193
11194         * buffer.C: increment LYX_FORMAT to 221
11195
11196         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11197         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11198
11199         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11200
11201         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11202
11203 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11204
11205         * factory.C (createInset): use LyXTextClass::floats
11206
11207         * MenuBackend.C (expandFloatListInsert):
11208         (expandFloatInsert):
11209         (expandToc):
11210
11211         * text2.C (setCounter):
11212
11213         * LaTeXFeatures.C (useFloat):
11214         (getFloatDefinitions):
11215
11216         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11217
11218         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11219         floatlist_, with accessor floats().
11220
11221         * FloatList.h: remove global FloatList
11222
11223 2002-08-26  André Pönitz <poenitz@gmx.net>
11224
11225         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11226
11227         * BufferView.h:
11228         * BufferView2.C:
11229         * BufferView_pimpl.C:
11230         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11231
11232 2002-08-25  John Levon  <levon@movementarian.org>
11233
11234         * LyXAction.C: fix margin note description
11235
11236 2002-08-24  John Levon  <levon@movementarian.org>
11237
11238         * buffer.C:
11239         * bufferlist.C:
11240         * bufferview_funcs.C:
11241         * lyxfont.C:
11242         * undo_funcs.C: cleanups
11243
11244         * lyxfunc.C: disable CUT/COPY when no selection
11245
11246 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11247
11248         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11249         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11250
11251         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11252         Add backward compatibility to "mono", "gray" and "no".
11253
11254 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11255
11256         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11257         (and file_format >= 200).
11258
11259 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11260
11261         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11262
11263 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11264
11265         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11266
11267 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11268
11269         * BufferView_pimpl.C:
11270         * LyXAction.C:
11271         * buffer.C:
11272         * commandtags.h:
11273         * lyxfunc.C:
11274         * paragraph.[Ch]:
11275         * text2.C:
11276         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11277         inset and code to make it  work with the paragraph code. The inset
11278         can be anywhere in the paragraph, but will only do the expected
11279         thing in LaTeX if the layout file contains the parameter line
11280                         OptionalArgs    1
11281         (or more generally, a nonzero value) for that layout.
11282
11283 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11284
11285         * paragraph.h: remove the declaration of undefined counters class
11286         function.
11287
11288 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11289
11290         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11291         Dr. Richard Hawkins.
11292
11293 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11294
11295         * paragraph_funcs.h: remove some unneeded includes
11296
11297         * text.C (backspace): pasteParagraph now in global scipe
11298
11299         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11300         (pasteSelection): ditto
11301
11302         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11303         * paragraph_funcs.C (pasteParagraph): ... here
11304
11305 2002-08-20  André Pönitz <poenitz@gmx.net>
11306
11307         * commandtags.h: new LFUNs for swapping/copying table row/colums
11308
11309         * LyXAction.C:
11310         * lyxfunc.C: support for new lfuns
11311
11312 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11313
11314         * tabular.C:
11315         * buffer.[Ch]: remove NO_COMPABILITY stuff
11316
11317 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11318
11319         * boost.C (throw_exception): new file, with helper function for
11320         boost compiled without exceptions.
11321
11322         * paragraph.h:
11323         * lyxlength.C:
11324         * buffer.C:
11325         * ParameterStruct.h:
11326         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11327
11328         * bufferlist.C (emergencyWriteAll): use boost bind
11329
11330         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11331
11332         * text.C: include paragraph_funcs.h
11333         (breakParagraph): breakParagraph is now in global scope
11334
11335         * paragraph_funcs.[Ch]: new files
11336
11337         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11338         global scope
11339
11340         * buffer.C: include paragraph_funcs.h
11341         (insertStringAsLines): breakParagraph is now in global scope
11342
11343         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11344         paragraph_funcs.C
11345
11346         * CutAndPaste.C: include paragraph_funcs.h
11347         (cutSelection): breakParagraphConservative is now in global scope
11348         (pasteSelection): ditto
11349
11350         * buffer.h: declare oprator== and operator!= for
11351         Buffer::inset_iterator
11352
11353         * bufferlist.C (emergencyWrite): don't use fmt(...)
11354
11355         * text3.C: add using std::endl
11356
11357         * BufferView.C (moveCursorUpdate): remove default arg
11358
11359 2002-08-20  André Pönitz <poenitz@gmx.net>
11360
11361         * buffer.[Ch]: move inline functions to .C
11362
11363         * BufferView2.C:
11364         * BufferView_pimpl.C:
11365         * text.C:
11366         * buffer.[Ch]: use improved inset_iterator
11367
11368         * buffer.C:
11369         * paragraph.[Ch]: write one paragraph at a time
11370
11371 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11372
11373         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11374         style if style is not specified.
11375
11376 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11377
11378         * text2.C (setCounter): when searching for right label for a
11379         caption, make sure to recurse to parent insets (so that a caption
11380         in a minipage in a figure float works) (bug #568)
11381
11382 2002-08-20  André Pönitz <poenitz@gmx.net>
11383
11384         * text3.C: new file for LyXText::dispatch() and helpers
11385
11386         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11387
11388         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11389
11390 2002-08-19  André Pönitz <poenitz@gmx.net>
11391
11392         * lyxtext.h:
11393         * text.C: new LyXText::dispatch()
11394
11395         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11396
11397 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11398
11399         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11400
11401         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11402         Hebrew text.
11403
11404 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11405
11406         * Makefile.am: use $(variables) instead of @substitutions@
11407
11408 2002-08-15  André Pönitz <poenitz@gmx.net>
11409
11410         * lyxfunc.C:
11411         * BufferView_pimpl.C: streamlining mathed <-> outer world
11412         interaction
11413
11414         * commandtags.h:
11415         * LyXAction.C: remove unused LFUN_MATH
11416
11417 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11418
11419         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11420
11421 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11422
11423         * paragraph.C (Paragraph): reformat a bit
11424         (cutIntoMinibuffer): use builtin InsetList function instad of
11425         doing it manually.
11426         (getInset): ditto
11427
11428         * buffer.C: include boost/bind.hpp, add using std::for_each
11429         (writeFileAscii): use ParagraphList iterators
11430         (validate): use for_each for validate traversal of paragraphs
11431         (getBibkeyList): use ParagraphList iterators
11432         (resizeInsets): use for_each to resizeInsetsLyXText for all
11433         paragraphs.
11434         (getParFromID): use ParagraphList iterators
11435
11436         * BufferView2.C (lockInset): use paragraph list and iterators
11437
11438 2002-08-14  John Levon  <levon@movementarian.org>
11439
11440         * lyxserver.C: remove spurious xforms include
11441
11442 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11443
11444         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11445
11446 2002-08-13  André Pönitz <poenitz@gmx.net>
11447
11448         * LyXAction.[Ch]:
11449         * lyxfunc.C: further cleaning
11450
11451 2002-08-13  André Pönitz <poenitz@gmx.net>
11452
11453         * funcrequest.h: new constructor
11454
11455         * funcrequest.C: move stuff here from .h
11456
11457         * Makefile.am:
11458         * BufferView_pimpl.C:
11459         * LyXAction.C:
11460         * toc.C:
11461         * lyxfunc.C: subsequent changes
11462
11463         * lyxfunc.h: new view() member function
11464
11465         * lyxfunc.C: subsequent changes
11466
11467 2002-08-13  Angus Leeming  <leeming@lyx.org>
11468
11469         * BufferView2.C:
11470         * BufferView_pimpl.C:
11471         * buffer.C:
11472         * converter.C:
11473         * importer.C:
11474         * lyxfunc.C:
11475         * lyxvc.C:
11476         * toc.C:
11477         * vc-backend.C:
11478         changes due to the changed LyXView interface that now returns references
11479         to member variables not pointers.
11480
11481 2002-08-13  Angus Leeming  <leeming@lyx.org>
11482
11483         * WordLangTuple (word, lang_code): return references to strings,
11484         not strings.
11485
11486         * BufferView.h:
11487         * SpellBase.h:
11488         * lyxtext.h: forward-declare WordLangTuple.
11489
11490         * BufferView2.C:
11491         * ispell.C:
11492         * pspell.C:
11493         * text.C: #include "WordLangTuple.h".
11494
11495         * lyxtext.h:
11496         * text.C: (selectNextWordToSpellcheck): constify return type.
11497
11498 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11499
11500         * buffer.C:
11501         * buffer.h:
11502         * lyxtext.h:
11503         * paragraph.C:
11504         * paragraph_pimpl.h:
11505         * text.C:
11506         * text2.C:
11507         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11508         suggested by Angus.
11509         Made updateCounter always count from start of buffer, and removed
11510         second argument (par).
11511         Reverted floats number display to '#'. Perhaps I'll try again when the
11512         code base is sanitized a bit.
11513
11514 2002-08-12  Angus Leeming  <leeming@lyx.org>
11515
11516         * buffer.[Ch] (getLabelList): constify.
11517
11518 2002-08-07  André Pönitz <poenitz@gmx.net>
11519
11520         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11521
11522         * funcrequest.h: extension to keep mouse (x,y) position
11523
11524 2002-08-12  Juergen Vigna  <jug@sad.it>
11525
11526         * BufferView2.C (insertErrors): forbid undo when inserting error
11527         insets.
11528
11529         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11530
11531 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11532
11533         * ParagraphList.[Ch]: new files
11534
11535         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11536
11537         * BufferView2.C (lockInset): ParagraphList changes
11538         * toc.C: ditto
11539         * text2.C: ditto
11540         * bufferlist.C: ditto
11541         * buffer.h: ditto
11542         * buffer.C: ditto
11543
11544 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11545
11546         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11547         unused class variable counter_,
11548
11549         * paragraph.[Ch] (getFirstCounter): delete unused function
11550
11551         * counters.C: include LAssert.h
11552         (reset): add a new function with no arg, change other version to
11553         not have def. arg and to not allow empty arg.
11554
11555         * text2.C (setCounter): remove empty arg from call to Counters::reset
11556
11557 2002-08-11  John Levon  <levon@movementarian.org>
11558
11559         * Makefile.am: add WordLangTuple.h
11560
11561 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11562
11563         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11564         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11565
11566         * insets/insettext.C: InsetList changes
11567
11568         * graphics/GraphicsSupport.C (operator()): InsetList changes
11569
11570         * toc.C (getTocList): InsetList changes
11571
11572         * paragraph_pimpl.[Ch]: InsetList changes
11573
11574         * paragraph.[Ch]: InsetList changes
11575
11576         * buffer.C (inset_iterator): InsetList changes
11577         (setParagraph): ditto
11578         * buffer.h (inset_iterator): ditto
11579         * iterators.C (operator++): ditto
11580         * iterators.h: ditto
11581
11582         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11583
11584         * InsetList.[Ch]: new files, most InsetList handling moved out of
11585         paragraph.C.
11586
11587         * BufferView2.C (removeAutoInsets): InsetList changes
11588         (lockInset): ditto
11589         (ChangeInsets): ditto
11590
11591 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11592
11593         * paragraph_pimpl.h (empty): new function
11594
11595         * paragraph.[Ch] (empty): new function
11596
11597         * other files: use the new Paragraph::empty function
11598
11599 2002-08-09  John Levon  <levon@movementarian.org>
11600
11601         * lyxtext.h: remove unused refresh_height
11602
11603 2002-08-09  John Levon  <levon@movementarian.org>
11604
11605         * Makefile.am:
11606         * sgml.h:
11607         * sgml.C:
11608         * buffer.C:
11609         * paragraph.h:
11610         * paragraph.C: move sgml char escaping out of paragraph
11611
11612         * paragraph.h:
11613         * paragraph.C: remove id setter
11614
11615         * buffer.C:
11616         * paragraph.C:
11617         * paragraph_pimpl.C: remove dead tex_code_break_column
11618
11619         * bufferview_funcs.C: small cleanup
11620
11621         * lyxfunc.C: remove dead proto
11622
11623         * lyxtext.h: make some stuff private. Remove some dead stuff.
11624
11625         * lyxgluelength.C: make as[LyX]String() readable
11626
11627 2002-08-08  John Levon  <levon@movementarian.org>
11628
11629         * LyXAction.h:
11630         * LyXAction.C:
11631         * MenuBackend.C:
11632         * ToolbarDefaults.C:
11633         * lyxfunc.C:
11634         * lyxrc.C:
11635         * toc.C: lyxaction cleanup
11636
11637 2002-08-08  John Levon  <levon@movementarian.org>
11638
11639         * BufferView2.C: small cleanup
11640
11641         * lyxfind.h:
11642         * lyxfind.C: move unnecessary header into the .C
11643
11644 2002-08-08  John Levon  <levon@movementarian.org>
11645
11646         * funcrequest.h: just tedious nonsense
11647
11648         * lyx_main.h:
11649         * lyx_main.C: cleanups
11650
11651         * buffer.C:
11652         * vspace.C: remove dead header lyx_main.h
11653
11654 2002-08-07  Angus Leeming  <leeming@lyx.org>
11655
11656         * Paragraph.[Ch]:
11657         * paragraph_pimpl.h:
11658         Forward declare class Counters in paragraph.h by moving the ctrs member
11659         variable into Paragraph::Pimpl.
11660         (counters): new method, returning a reference to pimpl_->ctrs.
11661
11662         * text2.C: ensuing changes.
11663
11664 2002-08-07  John Levon  <levon@movementarian.org>
11665
11666         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11667
11668         * BufferView_pimpl.C: announce X selection on double/triple
11669           click
11670
11671         * lyx_main.C: use correct bool in batch dispatch
11672
11673         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11674
11675 2002-08-07  André Pönitz <poenitz@gmx.net>
11676
11677         * funcrequest.h: new class to wrap a kb_action and its argument
11678
11679         * BufferView.[Ch]:
11680         * BufferView_pimpl[Ch]:
11681         * LaTeX.C:
11682         * LyXAction.[Ch]:
11683         * lyxfunc.[Ch]:
11684         * lyxrc.C: subsequent changes
11685
11686
11687 2002-08-07  John Levon  <levon@movementarian.org>
11688
11689         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11690           document options change.
11691
11692 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11693
11694         * counters.[Ch]
11695         * text2.C
11696         * paragraph.[Ch]
11697         * makefile.am: move counters functionality over from
11698         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11699
11700 2002-08-06  John Levon  <levon@movementarian.org>
11701
11702         * WordLangTuple.h: new file for word + language code tuple
11703
11704         * SpellBase.h:
11705         * pspell.h:
11706         * pspell.C:
11707         * ispell.h:
11708         * ispell.C:
11709         * lyxtext.h:
11710         * text.C:
11711         * text2.C:
11712         * BufferView.h:
11713         * BufferView2.C: use WordLangTuple
11714
11715         * layout.h:
11716         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11717
11718 2002-08-06  John Levon  <levon@movementarian.org>
11719
11720         * lyx_main.C: fix cmdline batch handling
11721
11722 2002-08-06  André Pönitz <poenitz@gmx.net>
11723
11724         * lyxrc.C: set default for show_banner to true
11725
11726 2002-08-06  John Levon  <levon@movementarian.org>
11727
11728         * pspell.C: fix a crash, and allow new aspell to work
11729
11730 2002-08-06  John Levon  <levon@movementarian.org>
11731
11732         * lyxfunc.C:
11733         * kbmap.C: small cleanup
11734
11735         * vspace.h:
11736         * vspace.C: add const
11737
11738 2002-08-05  John Levon  <levon@movementarian.org>
11739
11740         * LyXAction.C: back to tabular-insert
11741
11742 2002-08-04  John Levon  <levon@movementarian.org>
11743
11744         * BufferView.h:
11745         * BufferView.C: cosmetic change
11746
11747         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11748
11749         * bufferlist.C:
11750         * buffer.h:
11751         * buffer.C:
11752         * lyxcb.h:
11753         * lyxcb.C:
11754         * lyxserver.C:
11755         * lyxvc.C:
11756         * vc-backend.C:
11757         * BufferView2.C: purge all "Lyx" not "LyX" strings
11758
11759         * lyxcursor.h:
11760         * lyxcursor.C: attempt to add some documentation
11761
11762         * lyxfunc.C:
11763         * commandtags.h:
11764         * LyXAction.C:
11765         * ToolbarDefaults.C:
11766         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11767           merge with LFUN_TABULAR_INSERT
11768
11769         * Makefile.am:
11770         * SpellBase.h:
11771         * ispell.h:
11772         * ispell.C:
11773         * pspell.h:
11774         * pspell.C: split up i/pspell implementations into separate
11775           files, many cleanups
11776
11777         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11778
11779         * text2.C: some cleanup
11780
11781         * lyxfunc.C: don't check for isp_command == "none" any more, it
11782           didn't make any sense
11783
11784 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11785
11786         * counters.[Ch]
11787         * text2.C
11788         * paragraph.[Ch]
11789         * makefile.am: move counters functionality over
11790         from text2.C/paragraph.[Ch] to counters.[Ch], and
11791         make proper C++.
11792 2002-08-02  John Levon  <levon@movementarian.org>
11793
11794         * buffer.C: s/lyxconvert/lyx2lyx/
11795
11796 2002-08-02  Angus Leeming  <leeming@lyx.org>
11797
11798         * lyxlex.C: revert John's change as it breaks reading of the user
11799         preamble.
11800
11801 2002-08-02  Angus Leeming  <leeming@lyx.org>
11802
11803         * importer.C (Import):
11804         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11805         changes due to LyXView::view() now returning a boost::shared_ptr.
11806
11807 2002-08-02  John Levon  <levon@movementarian.org>
11808
11809         * lyxlex.C: small cleanup
11810
11811 2002-08-02  John Levon  <levon@movementarian.org>
11812
11813         * text2.C (status): small cleanup, no logic change
11814
11815 2002-08-01  John Levon  <levon@movementarian.org>
11816
11817         * buffer.h:
11818         * buffer.C (writeFile): don't output alerts, caller
11819           handles this
11820
11821         * bufferlist.C:
11822         * lyx_cb.C: from above
11823
11824         * lyxfunc.C: allow to open non-existent files
11825
11826 2002-07-31  John Levon  <levon@movementarian.org>
11827
11828         * lyxserver.C: don't let incidental errors get
11829           in the way (errno)
11830
11831 2002-07-30  John Levon  <levon@movementarian.org>
11832
11833         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11834
11835 2002-07-30  John Levon  <levon@movementarian.org>
11836
11837         * lyxserver.h:
11838         * lyxserver.C: remove I/O callback too
11839
11840 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11843         log.
11844
11845 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11846
11847         * many files: strip,frontStrip -> trim,ltrim,rtrim
11848
11849 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11850
11851         * PrinterParams.h: remove extern containsOnly, and include
11852         support/lstrings.h instead.
11853
11854         * LaTeX.C (scanAuxFile): modify because of strip changes
11855         (deplog): ditto
11856         * buffer.C (makeLaTeXFile): ditto
11857         * bufferparams.C (writeFile): ditt
11858         * lyxfont.C (stateText): ditto
11859         * lyxserver.C (read_ready): ditto
11860         * vc-backend.C (scanMaster): ditto
11861
11862         * BufferView_pimpl.h: ws changes
11863
11864         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11865
11866 2002-07-26  André Pönitz <poenitz@gmx.net>
11867
11868         * kb_sequence.C: remove unnedred usings
11869
11870 2002-07-26  Juergen Vigna  <jug@sad.it>
11871
11872         * lyxfind.C (LyXReplace): we have to check better if the returned
11873         text is not of theLockingInset()->getLockingInset().
11874
11875 2002-07-25  Juergen Vigna  <jug@sad.it>
11876
11877         * lyxfind.C (LyXReplace): don't replace if we don't get the
11878         right LyXText.
11879
11880         * undo_funcs.C (createUndo): remove debugging code.
11881
11882 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11883
11884         * buffer.C (parseSingleLyXformat2Token): Use default placement
11885         when reading old floats.
11886
11887         * FloatList.C (FloatList): Change the default placement of figure
11888         and tables to "tbp".
11889
11890 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11891
11892         * MenuBackend.C: using std::max
11893
11894 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11895
11896         * MenuBackend.C (expandToc):
11897         (expandToc2): code moved from xforms menu frontend. It is now
11898         generic and TOCs are transparent to menu frontends.
11899
11900 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * toc.C (getTocList): protect against buf=0
11903
11904         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11905         Menu as first parameter. Now, this calls itself recursively to
11906         expand a whole tree (this will be useful for TOC handling)
11907         (expandFloatInsert): remove 'wide' version of floats
11908
11909         * MenuBackend.h (submenuname): returns the name of the submenu.
11910         (submenu): returns the submenu itself, provided it has been
11911         created by MenuBackend::expand
11912
11913 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11914
11915         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11916         insets which have noFontChange == true. (bug #172)
11917
11918 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * BufferView_pimpl.C: add connection objects and use them...
11921         (Pimpl): here.
11922
11923 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11924
11925         * MenuBackend.C (expandLastfiles):
11926         (expandDocuments):
11927         (expandFormats):
11928         (expandFloatListInsert):
11929         (expandFloatInsert):
11930         (expand): split expand in parts
11931
11932 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * lyx_gui.C: use lyx_gui::exit()
11935
11936 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * LyXAction.C: show the failing pseudo action
11939
11940 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11941
11942         * buffer.C (readFile): Run the lyxconvert script in order to read
11943         old files.
11944
11945 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11946
11947         * LyXAction.C:
11948         * commandtags.h:
11949         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11950
11951 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * LyXAction.C:
11954         * commandtags.h:
11955         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11956
11957 2002-07-22  Herbert Voss  <voss@lyx.org>
11958
11959         * lengthcommon.C:
11960         * lyxlength.[Ch]: add support for the vertical lengths
11961
11962 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11963
11964         * toc.[Ch]: std:: fixes
11965
11966 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11967
11968         * lyxrc.C: do not include lyx_main.h
11969
11970         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11971         for layouts
11972
11973         * lyxrc.C:
11974         * encoding.C:
11975         * bufferlist.C:
11976         * BufferView2.C: include "lyxlex.h"
11977
11978         * tabular.h:
11979         * bufferparams.h: do not #include "lyxlex.h"
11980
11981         * lyxtextclasslist.C (Add): remove method
11982         (classlist): renamed to classlist_
11983
11984         * paragraph_pimpl.C:
11985         * paragraph.C:
11986         * text2.C:
11987         * CutAndPaste.C:
11988         * bufferview_funcs.C:
11989         * bufferlist.C:
11990         * text.C:
11991         * LaTeXFeatures.C:
11992         * buffer.C:
11993         * toc.C (getTocList): use BufferParams::getLyXTextClass
11994
11995         * toc.C (getTocList): use InsetFloat::addToToc
11996
11997         * toc.[Ch]: new files, containing helper functions to handle table
11998         of contents
11999
12000         * lyxfunc.C (dispatch): no need to remove spaces around command
12001         given as a string
12002         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12003         first command of the sequence; it is not very clever, but I do not
12004         have a better idea, actually
12005
12006         * LyXAction.C (LookupFunc): make sure to remove space at the
12007         beginning and end of the command
12008
12009 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12010
12011         * MenuBackend.C (getMenubar): new method: return the menubar of
12012         this menu set
12013         (read): treat differently reading of menu and menubar (in
12014         particular, the menubar has no name now)
12015         (Menu::menubar): remove
12016
12017         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12018         saving is finished
12019
12020 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12021
12022         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12023         a bibitem inset in a RTL paragraph.
12024
12025 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * paragraph_pimpl.C: constify
12028
12029         * BufferView_pimpl.C:
12030         * LaTeX.C:
12031         * lyxfunc.C: fix dispatch in a nicer way
12032
12033 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12034
12035         * lyxfunc.C (dispatch):
12036         * BufferView_pimpl.C:
12037         * BufferView_pimpl.h:
12038         * BufferView.C:
12039         * BufferView.h: rename Dispatch() to dispatch()
12040
12041         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12042
12043         * lyxlayout.C (Read): honor DependsOn tag
12044
12045         * lyxlayout.[Ch] (depends_on): new method
12046
12047         * version.C.in: update lyx_docversion
12048
12049         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12050
12051         * paragraph.C (validate): remove from here...
12052         * paragraph_pimpl.C (validate): ... and move here
12053         (isTextAt): make it const
12054
12055         * buffer.C (getLists): ws cleanup
12056
12057 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12058
12059         * language.C (read): Use iso8859-1 encoding in latex_lang
12060         (this prevents LyX from crashing when using iso10646-1 encoding).
12061
12062 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12063
12064         * text2.C (toggleInset): if cursor is inside an inset, close the
12065         inset and leave cursor _after_ it
12066
12067 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * lyxfunc.C: move minibuffer completion handling out of here
12070
12071 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * BufferView_pimpl.C:
12074         * LaTeX.C: fix dispatch calls
12075
12076 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12077
12078         * text.C (drawChars): Fix Arabic text rendering.
12079
12080 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * LyXAction.C:
12083         * commandtags.h:
12084         * lyxfunc.C: remove message-push/pop
12085
12086         * lyxserver.C:
12087         * lyxfunc.h:
12088         * lyxfunc.C: rationalise some code by removing verboseDispatch
12089           in favour of a bool argument to dispatch()
12090
12091 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12092
12093         * lyx_main.C (init): make sure to read symlinks as absolute paths
12094
12095 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12096
12097         * lyxfunc.h:
12098         * lyxfunc.C: no need for commandshortcut to be a member
12099
12100 2002-07-15  André Pönitz <poenitz@gmx.net>
12101
12102         * converter.C: add support for $$s (scripts from lib/scripts dir)
12103         * lyx_main.C: white space
12104
12105 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12106
12107         * bufferlist.C:
12108         * lyxrc.h:
12109         * lyxrc.C: remove second exit confirmation
12110
12111 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * BufferView.h:
12114         * BufferView.C:
12115         * BufferView2.C:
12116         * BufferView_pimpl.h:
12117         * BufferView_pimpl.C:
12118         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12119
12120 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12121
12122         * MenuBackend.C (expand): add numeric shortcuts to document menu
12123
12124         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12125
12126 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12127
12128         * lyxfont.C (setLyXFamily):
12129         (setLyXSeries):
12130         (setLyXShape):
12131         (setLyXSize):
12132         (setLyXMisc):
12133         (lyxRead):
12134         * debug.C (value):
12135         * buffer.C (asciiParagraph): use ascii_lowercase
12136
12137 2002-07-15  Mike Fabian  <mfabian@suse.de>
12138
12139         * lyxlex_pimpl.C (search_kw):
12140         * lyxlex.C (getLongString):
12141         * converter.h (operator<):
12142         * converter.C (operator<):
12143         * buffer.C (parseSingleLyXformat2Token):
12144         (asciiParagraph):
12145         * ToolbarDefaults.C (read):
12146         * MenuBackend.C (checkShortcuts):
12147         (read):
12148         * LColor.C (getFromGUIName):
12149         (getFromLyXName): use the compare_ascii_no_case instead of
12150         compare_no_case, because in turkish, 'i' is not the lowercase
12151         version of 'I', and thus turkish locale breaks parsing of tags.
12152
12153 2002-07-16  Angus Leeming  <leeming@lyx.org>
12154
12155         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12156         now takes a Buffer const & argument.
12157
12158 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * BufferView.C (resize): check there's a buffer to resize
12161
12162 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * lyxfunc.C: remove dead code
12165
12166         * lyxserver.h:
12167         * lyxserver.C: use lyx_guii::set_read_callback
12168
12169 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12170
12171         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12172         an inset in a RTL paragraph.
12173
12174 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * lyxfunc.C: repaint after a font size update
12177
12178 2002-07-15  André Pönitz <poenitz@gmx.net>
12179
12180         * lyxlength.C: inBP should be able to return negative values
12181
12182 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * lyxfunc.C: use lyx_gui::update_fonts()
12185
12186 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12187
12188         * lyxfunc.C: use lyx_gui::update_color()
12189
12190 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * bufferlist.C:
12193         * lyxfunc.h:
12194         * lyxfunc.C:
12195         * lyxrc.h:
12196         * lyxrc.C: remove file->new asks for name option, and let
12197           buffer-new take an argument
12198
12199 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * BufferView_pimpl.C: remove unneeded extra repaint()
12202
12203 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12204
12205         * LyXAction.C: allow command-sequence with NoBuffer
12206
12207         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12208
12209 2002-07-10  Angus Leeming  <leeming@lyx.org>
12210
12211         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12212
12213 2002-07-09  Angus Leeming  <leeming@lyx.org>
12214
12215         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12216
12217 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12218
12219         * lengthcommon.h: whitespace
12220
12221         * lyxfunc.C: update scrollbar after goto paragraph
12222
12223         * lyxtext.h: factor out page break drawing, and fix it so
12224           page break/added space paints as selected nicely
12225
12226 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * BufferView_pimpl.C: add FIXMEs, clean up a little
12229
12230 2002-07-09  André Pönitz <poenitz@gmx.net>
12231
12232         * lyxfont.[Ch]: support for wasy symbols
12233
12234 2002-07-08  André Pönitz <poenitz@gmx.net>
12235
12236         * BufferView_pimpl.C: apply John's patch for #93.
12237
12238 2002-07-05  Angus Leeming  <leeming@lyx.org>
12239
12240         * BufferView_pimpl.C (buffer): generate previews if desired.
12241
12242         * LColor.h: add "preview" to the color enum.
12243
12244         * LColor.C (LColor): add a corresponding entry to the items array.
12245
12246         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12247         with this buffer.
12248
12249 2002-07-05  Angus Leeming  <leeming@lyx.org>
12250
12251         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12252         The body of the code is now in the method that is passed an ostream &
12253         rather than a file name.
12254         Pass an additional only_preamble parameter, useful for the forthcoming
12255         preview stuff.
12256
12257 2002-07-03  André Pönitz <poenitz@gmx.net>
12258
12259         * lyxfunc.C: simplify getStatus() a bit for math stuff
12260
12261 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12262
12263         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12264
12265 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12266
12267         * text.C (changeRegionCase): do not change case of all the
12268         document when region ends at paragraph end (bug #461)
12269
12270 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12271
12272         * paragraph.C (startTeXParParams):
12273         (endTeXParParams): add \protect when necessary
12274
12275 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12276
12277         * BufferView_pimpl.C (workAreaExpose): remove warning
12278
12279 2002-06-27  Angus Leeming  <leeming@lyx.org>
12280
12281         * Makefile.am: add lyxlayout_ptr_fwd.h.
12282
12283 2002-06-26  André Pönitz <poenitz@gmx.net>
12284
12285         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12286
12287 2002-06-25  Angus Leeming  <leeming@lyx.org>
12288
12289         * lyxfunc.C (dispatch): Comment out the call to
12290         grfx::GCache::changeDisplay. The method no longer exists now that the
12291         pixmap generation part of the graphics loader has been moved into
12292         InsetGraphics.
12293
12294 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12295
12296         * text2.C: layout as layout
12297
12298         * text.C: layout as layout
12299
12300         * tabular.C (OldFormatRead): layout as layout
12301
12302         * paragraph_pimpl.C (TeXDeeper): layout as layout
12303         (realizeFont): layout as layout
12304
12305         * paragraph.C (writeFile): layout as layout
12306         (validate): layout as layout
12307         (getFont): layout as layout
12308         (getLabelFont): layout as layout
12309         (getLayoutFont): layout as layout
12310         (breakParagraph): layout as layout
12311         (stripLeadingSpaces): layout as layout
12312         (getEndLabel): layout as layout
12313         (getMaxDepthAfter): layout as layout
12314         (applyLayout): layout as layout
12315         (TeXOnePar): layout as layout
12316         (simpleTeXOnePar): layout as layout
12317         (TeXEnvironment): layout as layout
12318         (layout): layout as layout
12319         (layout): layout as layout
12320
12321         * lyxtextclass.C (compare_name): new functor to work with
12322         shared_ptr, layout as layout
12323         (Read): layout as layout
12324         (hasLayout): layout as layout
12325         (operator): layout as layout
12326         (delete_layout): layout as layout
12327         (defaultLayout): layout as layout
12328
12329         * lyxlayout_ptr_fwd.h: new file
12330
12331         * lyxlayout.C (Read): layout as layout
12332
12333         * lyx_cb.C (MenuInsertLabel): layout as layout
12334
12335         * bufferlist.C (newFile): layout as layout
12336
12337         * buffer.C (readLyXformat2): layout as layout
12338         (parseSingleLyXformat2Token): layout as layout
12339         (insertStringAsLines): layout as layout
12340         (asciiParagraph): layout as layout
12341         (latexParagraphs): layout as layout
12342         (makeLinuxDocFile): layout as layout
12343         (simpleLinuxDocOnePar): layout as layout
12344         (makeDocBookFile): layout as layout
12345         (simpleDocBookOnePar): layout as layout
12346         (getLists): layout as layout
12347
12348         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12349
12350         * CutAndPaste.C (cutSelection): layout as layout
12351         (pasteSelection): layout as layout
12352         (SwitchLayoutsBetweenClasses): layout as layout
12353
12354         * BufferView_pimpl.C (Dispatch): layout as layout
12355         (smartQuote): layout as layout
12356
12357         * BufferView2.C (unlockInset): layout as layout
12358
12359 2002-06-24  André Pönitz <poenitz@gmx.net>
12360
12361         * lyxfunc.C: fix #487
12362
12363 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * lyxrc.h:
12366         * lyxrc.C:
12367         * lyxfunc.C: remove display_shortcuts, show_banner
12368
12369 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * Buffer_pimpl.C: oops, update on resize
12372
12373 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * buffer.C:
12376         * converter.C:
12377         * exporter.C:
12378         * lyxfunc.C:
12379         * BufferView.h:
12380         * BufferView.C: use repaint()
12381
12382         * BufferView_pimpl.h:
12383         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12384           as it's a clearer description. Remove superfluous
12385           redraws.
12386
12387 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * text.C: fix bug 488. Not ideal, but getting
12390           getWord() to work properly for the insets that
12391           matter is more difficult ...
12392
12393 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * BufferView_pimpl.C:
12396         * LyXAction.C:
12397         * commandtags.h:
12398         * lyxfunc.C: remove the six million index lyxfuncs to just
12399           one, and DTRT (bug 458)
12400
12401 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12402
12403         * BufferView.h:
12404         * BufferView.C:
12405         * BufferView_pimpl.h:
12406         * BufferView_pimpl.C: clean up resize() stuff,
12407           and unnecessary updateScreen()s
12408
12409 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * BufferView.h:
12412         * BufferView.C:
12413         * BufferView_pimpl.h:
12414         * BufferView_pimpl.C:
12415         * lyxfind.h:
12416         * lyxfind.C:
12417         * minibuffer.C: remove focus management of workarea,
12418           not needed. Use screen's greyOut()
12419
12420 2002-06-17  Herbert Voss  <voss@lyx.org>
12421
12422         * converter.C: (convert) do not post a message, when converting
12423         fails, let the calling function decide what to do in this case
12424
12425 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * lyxfunc.C: tidy up a little
12428
12429 2002-06-16    <alstrup@diku.dk>
12430
12431         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12432         Got rid of FORMS_H_LOCATION include. Now we are
12433         GUII.
12434
12435 2002-06-15  LyX Development team  <lyx@rilke>
12436
12437         * buffer.[Ch] (sgmlOpenTag):
12438         (sgmlCloseTag): Added support for avoiding pernicious mixed
12439         content. Return number of lines written.
12440
12441         (makeLinuxDocFile):
12442         (makeDocBookFile): Fixed calls to sgml*Tag.
12443         Simple white space clean.
12444
12445         (simpleDocBookOnePar): Simple white space clean.
12446
12447         * tabular.[Ch] (docBook): Renamed to docbook and got another
12448         argument to related with the pernicious mixed content.
12449
12450         (docbookRow): Fixed calls for docbook inset method.
12451
12452 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12453
12454         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12455         so it's X11 independent.
12456
12457         * kb*.[Ch]: ditto.
12458
12459         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12460
12461 2002-06-15  Lyx Development team  <lyx@electronia>
12462
12463         * intl.h: Renamed getTrans to getTransManager.
12464
12465 2002-06-14  Angus Leeming  <leeming@lyx.org>
12466
12467         * Makefile.am: nuke forgotten stl_string_fwd.h.
12468
12469 2002-06-12  Angus Leeming  <leeming@lyx.org>
12470
12471         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12472
12473 2002-06-13  Angus Leeming  <leeming@lyx.org>
12474
12475         * LaTeX.C:
12476         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12477
12478 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12479
12480         * kbmap.C (getiso): add support for cyrillic and greek
12481
12482 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * BufferView.h:
12485         * BufferView.C:
12486         * BufferView_pimpl.h:
12487         * BufferView_pimpl.C: move bogus scrolling logic
12488           to xforms
12489
12490 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * lyxfunc.C:
12493         * BufferView_pimpl.C: view->resize() change
12494
12495 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * BufferView_pimpl.C: topCursorVisible
12498           prototype change
12499
12500 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * Makefile.am:
12503         * lyx_gui.h:
12504         * lyx_gui.C: move to frontends/
12505
12506         * main.C:
12507         * lyx_main.h:
12508         * lyx_main.C: changes from above
12509
12510 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * intl.C:
12513         * intl.h:
12514         * kbmap.C:
12515         * kbsequence.C:
12516         * lyx_cb.C:
12517         * lyx_main.C: minor tidy
12518
12519 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12520
12521         * BufferView_pimpl.h:
12522         * BufferView_pimpl.C:
12523         * BufferView.h:
12524         * BufferView.C: make painter() const,
12525           remove dead code
12526
12527         * BufferView2.C: use screen() accessor
12528
12529         * lyx_main.h:
12530         * lyx_main.C: some minor cleanup
12531
12532 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * BufferView_pimpl.h:
12535         * BufferView_pimpl.C: remove enter/leaveView,
12536           use workHeight()
12537
12538 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12539
12540         * BufferView.h:
12541         * BufferView.C:
12542         * BufferView2.C:
12543         * BufferView_pimpl.h:
12544         * BufferView_pimpl.C: only construct screen once,
12545           rename
12546
12547         * lyxrc.C: remove pointless comment
12548
12549 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * BufferView.h:
12552         * BufferView.C: remove active() and belowMouse()
12553
12554         * BufferView_pimpl.h:
12555         * BufferView_pimpl.C: use workarea() not workarea_,
12556           and make it use a scoped_ptr instead
12557
12558 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * lyx_gui.C: add debug message on BadWindow
12561
12562 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12563
12564         * sp_spell.C: fdopen is not part of the C++ standard.
12565
12566         * paragraph.C (InsetIterator): use >= instead of ==
12567
12568 2002-06-07  Angus Leeming  <leeming@lyx.org>
12569
12570         Fixes needed to compile with Compaq cxx 6.5.
12571         * BufferView_pimpl.C:
12572         * DepTable.C:
12573         * buffer.C:
12574         * converter.C:
12575         * encoding.C:
12576         * lyx_gui.C:
12577         * lyx_main.C:
12578         * lyxtextclasslist.C:
12579         * minibuffer.C:
12580         * sp_spell.C:
12581         * tabular_funcs.C:
12582         * vc-backend.C:
12583         all c-library variables have been moved into namespace std. Wrap
12584         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12585
12586         * lyxlength.C:
12587         * tabular-old.C:
12588         * tabular.C:
12589         Add a using std::abs declaration.
12590
12591         * kbmap.h (modifier_pair):
12592         * paragraph.h (InsetTable, InsetList):
12593         * lyxfont.h (FontBits):
12594         type definition made public.
12595
12596         * bufferlist.C (emergencyWriteAll): the compiler complains that
12597         there is more than one possible lyx::class_fun template to choose from.
12598         I re-named the void specialisation as lyx::void_class_fun.
12599
12600         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12601
12602         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12603         the compiler is is unable to find tostr in write_attribute.
12604
12605 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12606
12607         * buffer.C (sgmlError): hide #warning
12608
12609 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12610
12611         * xtl/*: get rid of xtl, which is not in use anyway
12612
12613         * LyXAction.C (init):
12614         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12615         were unimplemented xtl experimentation
12616
12617 2002-06-04  André Pönitz <poenitz@gmx.net>
12618
12619         * lyxfunc.C: disable array operation on simple formulae
12620
12621 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * converter.C: constify a bit
12624
12625 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * lyx_gui.C: check xforms version correctly
12628
12629 2002-04-30  Herbert Voss  <voss@lyx.org>
12630
12631         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12632         "keep" option
12633
12634 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12637           attempt to register it with a VCS)
12638
12639 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12640
12641         * lyx_main.C (init): honor variables LYX_DIR_13x and
12642         LYX_USERDIR_13x
12643
12644 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12645
12646         * buffer.h:
12647         * buffer.C:
12648         * lyx_main.C: fix a crash on bad command line,
12649           and give a useful exit status on error
12650
12651         * lyxfunc.C (doImport): allow -i lyx to work
12652
12653 2002-03-30  André Pönitz <poenitz@gmx.net>
12654
12655         * lyxfunc.C: mathed font changes
12656
12657 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12658
12659         * LaTeX.C:
12660         * importer.h:
12661         * importer.C:
12662         * lyx_sty.h:
12663         * lyx_sty.C:
12664         * lyxlex.C:
12665         * lyxrow.h:
12666         * lyxtext.h:
12667         * paragraph.h:
12668         * paragraph.C:
12669         * texrow.h:
12670         * texrow.C:
12671         * text.C:
12672         * trans_mgr.h: srcdocs, and some minor cleanups
12673
12674 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12675
12676         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12677         call getFont all the time)
12678
12679 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * switch from SigC signals to boost::signals
12682
12683 2002-05-29  André Pönitz <poenitz@gmx.net>
12684
12685         * paragraph_pimpl.C (getChar): don't call size() too often...
12686
12687 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12688
12689         * paragraph_pimpl.C (insertChar): do not try to update tables when
12690         appending (pos == size())
12691
12692         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12693         in order to reduce drastically the number of comparisons needed to
12694         parse a large document
12695
12696 2002-05-29  André Pönitz <poenitz@gmx.net>
12697
12698         * text.C:
12699         * text2.C:
12700         * lyxtextclass.C:
12701         * sp_pspell.h:
12702         * textclasslist.[Ch]:
12703         * sp_ispell.h: whitespace change
12704
12705 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12706
12707         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12708         lyxaction directly now.
12709
12710 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * trans.C:
12713         * lyxfont.C:
12714         * lyxvc.C: remove unused headers
12715
12716 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12717
12718         * Makefile.am:
12719         * buffer.h:
12720         * undostack.h:
12721         * undostack.C:
12722         * undo_funcs.h:
12723         * undo_funcs.C: some cleanups. Use shared_ptr
12724           and a template for the undo stacks.
12725
12726 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * BufferView_pimpl.h:
12729         * BufferView_pimpl.C:
12730         * kbmap.h:
12731         * kbmap.C:
12732         * kbsequence.h:
12733         * kbsequence.C:
12734         * lyxfunc.h:
12735         * lyxfunc.C:
12736         * text2.C: use key_state/mouse_state
12737
12738 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12739
12740         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12741         and LSubstring
12742
12743         * chset.C: change include order
12744         (loadFile): use boost regex and get rid of LRegex and LSubstring
12745
12746         * Makefile.am (BOOST_LIBS): new variable
12747         (lyx_LDADD): use it
12748
12749         * LaTeX.C: change include order.
12750         (scanAuxFile): use boost regex and get rid of LRegex and
12751         LSubstring
12752         (deplog): ditto
12753
12754 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * ColorHandler.h:
12757         * ColorHandler.C:
12758         * FontInfo.h:
12759         * FontInfo.C: moved to frontends/xforms/
12760
12761         * FontLoader.h:
12762         * FontLoader.C: moved into frontends for GUIIzation
12763
12764         * Makefile.am:
12765         * lyx_gui.C:
12766         * lyxfont.C:
12767         * lyxfunc.C: changes from above
12768
12769 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12770
12771         * LColor.C: remove spurious X include
12772
12773         * BufferView_pimpl.C:
12774         * Makefile.am:
12775         * font.h:
12776         * font.C:
12777         * text.C:
12778         * text2.C: move font metrics to frontends/
12779
12780 2002-05-24  Juergen Vigna  <jug@sad.it>
12781
12782         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12783         setting the undo_cursor.
12784
12785         * ParagraphParameters.h: include local includes first.
12786
12787 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12788
12789         * BufferView_pimpl.C:
12790         * BufferView_pimpl.h:
12791         * Makefile.am:
12792         * WorkArea.h:
12793         * WorkArea.C:
12794         * screen.C: move WorkArea into frontends/
12795
12796         * lyxscreen.h:
12797         * screen.C:
12798         * text.C:
12799         * BufferView.C:
12800         * BufferView2.C: move LyXScreen into frontends/
12801
12802         * lyxlookup.h:
12803         * lyxlookup.C:
12804         * lyx_gui.C: move lyxlookup into frontends/xforms/
12805
12806 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12807
12808         * BufferView2.C:
12809         * BufferView_pimpl.C:
12810         * FontLoader.C:
12811         * LyXView.h:
12812         * LyXView.C:
12813         * Makefile.am:
12814         * WorkArea.C:
12815         * XFormsView.h:
12816         * XFormsView.C:
12817         * buffer.C:
12818         * bufferlist.C:
12819         * bufferview_funcs.C:
12820         * converter.C:
12821         * importer.C:
12822         * lyx_cb.C:
12823         * lyx_gui.C:
12824         * lyx_main.C:
12825         * lyx_find.C:
12826         * lyxfunc.C:
12827         * lyxvc.C:
12828         * minibuffer.C:
12829         * text.C:
12830         * text2.C:
12831         * trans.C:
12832         * vc-backend.C: move LyX/XFormsView into frontends/
12833
12834 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12835
12836         * Makefile.am:
12837         * PainterBase.C:
12838         * PainterBase.h:
12839         * Painter.C:
12840         * Painter.h:
12841         * WorkArea.C:
12842         * WorkArea.h:
12843         * screen.C:
12844         * tabular.C:
12845         * text.C:
12846         * text2.C: move Painter to frontends/
12847
12848 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12849
12850         * buffer.C: comment out some some code that depend upon lyx_format
12851         < 220
12852
12853         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12854         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12855
12856         * buffer.h (NO_COMPABILITY): turn off compability
12857
12858         * ColorHandler.C: include scoped_array.hpp
12859
12860         * font.C: Use more specific smart_ptr header.
12861         * Painter.C: ditto
12862         * gettext.C: ditto
12863         * ShareContainer.h: ditto
12864         * lyx_main.h: ditto
12865         * kbmap.h: ditto
12866         * FontInfo.h: ditto
12867         * BufferView_pimpl.h: ditto
12868         * ColorHandler.h: ditto
12869
12870         * kbmap.C (defkey): change call to shared_ptr::reset
12871
12872 2002-05-21  Juergen Vigna  <jug@sad.it>
12873
12874         * buffer.C (insertErtContents): fix to insert ert asis if it is
12875         non empty. Skip it completely if it contains only whitespaces.
12876
12877 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12878
12879         * BufferView_pimpl.C:
12880         * BufferView2.C: clear selection on paste (bug 393)
12881
12882 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12883
12884         * DepTable.C: include ctime
12885
12886 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12887
12888         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12889
12890 2002-05-14  Juergen Vigna  <jug@sad.it>
12891
12892         * text.C (breakParagraph): fixed function to honor the keepempty
12893         layout in the right maner and also to permit the right breaking
12894         algorithm on empty or non empyt keepempty paragraphs.
12895
12896         * paragraph.C (breakParagraph): we have to check also if the par
12897         is really empty (!size()) for isempty otherwise we do the wrong
12898         paragraph break.
12899
12900 2002-05-10  Juergen Vigna  <jug@sad.it>
12901
12902         * buffer.[Ch] : The following are only changes to the ert
12903         compatibility read reading old LaTeX layout and font stuff and
12904         convert it to ERTInsets.
12905
12906         * buffer.h: added isErtInset().
12907
12908         * buffer.C (struct ErtComp): add a fromlayout bool to check
12909         if we're inside a LaTeX layout.
12910         (isErtInset): new helper function.
12911         (insertErtContents): look for other ert insets before this one
12912         and insert the contents there, so that we don't have subsequent
12913         ERT insets with nothing between them. This way we create only one
12914         inset with multiple paragraphs. Also check if we don't insert only
12915         spaces ' ' as they are ignored anyway afterwards in the .tex file
12916         so if we have only spaces we will ignore this latex part in the
12917         new file.
12918         (parseSingleLyXformat2Token \\layout): better compatibility when
12919         reading layout-latex stuff.
12920         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12921         language tag.
12922         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12923         stuff after reading the inset only get the information back from
12924         the stack.
12925
12926 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12927
12928         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12929
12930         * LaTeXFeatures.C (getBabelOptions): New method.
12931
12932 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * BufferView_pimpl.C (Dispatch): work around missing argument for
12935         'layout'
12936
12937 2002-05-08  Juergen Vigna  <jug@sad.it>
12938
12939         * text.C (leftMargin): handle paragraph leftindent.
12940
12941         * paragraph.C (writeFile): write the new \\leftindent tag.
12942         (validate): handle leftindent code.
12943         (TeXEnvironment): handle paragraphleftindent code again.
12944
12945         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12946
12947         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12948         for paragrap_extra indent code and new token \\leftindent.
12949         (latexParagraphs): handle the leftindent as environment.
12950
12951         * ParameterStruct.h: added leftindent support.
12952
12953         * ParagraphParameters.C (leftIndent): added support functions for
12954         the paragraph left indent.
12955
12956         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12957         more appropriate.
12958
12959 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12960
12961         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12962         inside insetERT.
12963
12964         * text.C (computeBidiTables): No bidi in insetERT.
12965
12966         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12967         in RTL documents.
12968
12969 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * version.C.in: pre 5
12972
12973 2002-05-02  José Matos  <jamatos@fep.up.pt>
12974         * buffer.C (makeDocBookFile): white space changes, add newline to
12975         command styles.
12976         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12977
12978         * tabular.C (docBook): fix typo.
12979
12980 2002-05-03  Juergen Vigna  <jug@sad.it>
12981
12982         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12983         change in LyXText as we can not be sure it was not freed.
12984         (drawOneRow): remove unused code.
12985
12986         * text.C (drawInset): redo the calculation of the need_break_row as
12987         it could have a row which was already freed.
12988         (draw): look at the return value of drawInset and return false if
12989         it also returned false.
12990         (paintRowText): look at the return value of draw and return false if
12991         it also returned false.
12992
12993         * lyxtext.h: added bool return type to drawInset() and draw() so that
12994         if we have a change in the row so that the rowbreak has to be redone
12995         we abort drawing as it will be called again.
12996
12997 2002-05-02  Juergen Vigna  <jug@sad.it>
12998
12999         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13000         a change in the maintext also if we're inside an inset.
13001         (Dispatch): set the cursor again after a break line and after the
13002         screen has been updated as it could be we're in a different row.
13003
13004         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13005         to set the cursor behind the pargraph with > size().
13006         (setCursor): check also for the same paragraph when checking where
13007         to put the cursor if we have a NFR inset.
13008
13009         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13010         parts of layout read further up as it still was in the wrong
13011         position.
13012
13013 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * screen.C (drawFromTo): change sine fullRebreak always return
13016         true.
13017
13018         * buffer.C (parseSingleLyXformat2Token): reindent some
13019
13020         * BufferView_pimpl.C (update): change since fullRebreak always
13021         return true.
13022         (Dispatch): git rid of the last hardcoded "Standard"s.
13023
13024 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13025
13026         * text2.[Ch] (fullRebreak): make it return void now that we always
13027         returned true.
13028
13029 2002-04-30  Juergen Vigna  <jug@sad.it>
13030
13031         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13032         ert compatibility check for "latex" layout.
13033
13034 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13035
13036         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13037         minipages: use col% instead of p%, and also use the current font.
13038         (makeLaTeXFile): Fix use babel condition.
13039         (parseSingleLyXformat2Token): Correct font when reading old floats.
13040
13041 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13042
13043         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13044         inserting list of floats.
13045
13046 2002-04-25  Herbert Voss  <voss@lyx.org>
13047
13048         * MenuBackend.C (expand): don't add the graphics extensions to the
13049         export menu
13050
13051 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13052
13053         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13054         non-existing layout, do not complain if it was the default layout
13055         of the original class (bug #342)
13056
13057 2002-04-24  Juergen Vigna  <jug@sad.it>
13058
13059         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13060         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13061
13062 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13063
13064         * buffer.C (getBibkeyList): If using \bibliography, return the
13065         option field with the reference itself. Enables us to provide natbib
13066         support when using \bibliography.
13067
13068 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13069
13070         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13071
13072         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13073         natbib is provided by the LaTeX class.
13074
13075 2002-04-23  Juergen Vigna  <jug@sad.it>
13076
13077         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13078         Wakeup functions.
13079
13080         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13081
13082 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13083
13084         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13085
13086         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13087         ensuremath around textordmasculine, textordfeminine and
13088         textdegree.
13089
13090 2002-04-19  Juergen Vigna  <jug@sad.it>
13091
13092         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13093         reinitializing the buffer otherwise row-dimensions may be wrong.
13094         (update): reset also the selection cursors if they do exits otherwise
13095         their x/y positions may be wrong.
13096
13097         * text2.C (cursorDown): don't enter the inset if we came from a row
13098         above and are one row over the inset.
13099
13100         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13101         really leaving an inset.
13102
13103 2002-04-18  Juergen Vigna  <jug@sad.it>
13104
13105         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13106         of the selected paragraph does not have the selected layout also if
13107         the last one had!
13108
13109         * text2.C (setLayout): fixed bug which did not change last selected
13110         paragraph.
13111
13112         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13113         changed the read and substituted \\end_float with \\end_inset!
13114
13115         * BufferView_pimpl.C (cursorPrevious):
13116         (cursorNext): fixed to make it work with rows heigher than the work
13117         area without moving the cursor only the draw of the row.
13118         (workAreaMotionNotify): fix jumping over high rows.
13119
13120 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13121
13122         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13123         Ressler.
13124
13125 2002-04-16  Juergen Vigna  <jug@sad.it>
13126
13127         * text2.C (setCursor): set also the irow().
13128         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13129         (cursorUp):
13130         (cursorDown): support for locking an inset if the x_fix value goes
13131         inside it. That way I can transverse insets too with cursor up/down.
13132
13133         * lyxrow.h: added irow helper function same as other (i) functions.
13134
13135         * BufferView_pimpl.C (cursorPrevious):
13136         (cursorNext): fixed for insets!
13137
13138 2002-04-15  Juergen Vigna  <jug@sad.it>
13139
13140         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13141         position otherwise it is wrong in some cases.
13142
13143         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13144         inside the inset before the call.
13145
13146 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * buffer.[Ch] (getBibkeyList): make it const.
13149
13150 2002-04-12  Juergen Vigna  <jug@sad.it>
13151
13152         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13153
13154         * text2.C (getCursorX): new helper function
13155         (setCursor): compute also ix_
13156         (setCursorFromCoordinates): set also ix.
13157
13158         * lyxcursor.h: added ix_ and helper functions.
13159
13160         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13161
13162         * buffer.C (insertStringAsLines): dont break paragraph if the this
13163         paragraph is inside an inset which does not permit it!
13164
13165         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13166         also with no chars on this paragraph.
13167         (paintRowText): only paint stuff if it's inside the workarea!
13168
13169         * paragraph.C (breakParagraph): honor keepempty flag and break the
13170         paragraph always below not above.
13171
13172         * BufferView2.C (unlockInset): update the paragraph layout on inset
13173         unlock as we changed paragraph in such a case.
13174
13175         * lyxfind.C (LyXFind): clear the former selection if not found!
13176
13177         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13178         again called in insertChar().
13179
13180         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13181         an inset which uses the whole row!
13182         (rightMargin): ditto.
13183         (insertChar): force a rebreak if we inserted an inset!
13184
13185 2002-03-28  Herbert Voss  <voss@lyx.org>
13186
13187         * lyxlength.[Ch]: add inBP() to get the right PS-point
13188         units (BigPoint). With inPixels we have rounding errors
13189
13190 2002-04-11  Juergen Vigna  <jug@sad.it>
13191
13192         * text2.C (setCursorFromCoordinates): set iy to the right value.
13193         (setCursor): add check if row->previous exists!
13194
13195         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13196         an old float_type as this was the case in the old code!
13197
13198         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13199
13200         * BufferView2.C (showLockedInsetCursor): use iy
13201         (fitLockedInsetCursor): ditto
13202
13203         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13204         locked insets as there we have the right value now.
13205
13206         * lyxcursor.C: added iy_ variable and iy functions to set to the
13207         baseline of cursor-y of the locked inset.
13208
13209         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13210         (setCursor): fixed for insets which need a full row.
13211
13212         * text.C (rowLastPrintable): don't ignore the last space when before
13213         an inset which needs a full row.
13214         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13215         as last character of a row when before a inset which needs a full row.
13216
13217 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13218
13219         * version.C.in: update date
13220
13221         * text2.C (fullRebreak): try to always return true and see what
13222         happens...
13223
13224 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13225
13226         * MenuBackend.C (expand): use Floating::listName
13227
13228         * FloatList.C (FloatList): add listName argument to the built-in
13229         floats
13230
13231         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13232         text associated with the float.
13233
13234 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13235
13236         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13237
13238 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * ShareContainer.h: add a couple of missing typenames.
13241
13242 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13243
13244         * lyxrc.C (getDescription): use _() correctly rather than N_().
13245
13246 2002-03-28  Herbert Voss  <voss@lyx.org>
13247
13248         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13249         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13250
13251 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13252
13253         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13254         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13255
13256 2002-03-29  Juergen Vigna  <jug@sad.it>
13257
13258         * lyxfunc.C (dispatch): add a missing fitCursor call.
13259
13260         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13261         it was scrolled by a cursor move, so return the bool status.
13262
13263         * BufferView.C (fitCursor): return the bool flag also to the outside
13264         world as this is needed.
13265
13266         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13267
13268         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13269         call the edit() as it is not needed (and wrong) IMO.
13270         (workAreaButtonPress): set the screen_first variable before evt.
13271         unlock the inset as this may change screen_first and then we have
13272         a wrong y position for the click!
13273
13274 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13275
13276         * MenuBackend.C (expand): another translation that I missed
13277
13278 2002-03-28  Juergen Vigna  <jug@sad.it>
13279
13280         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13281
13282         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13283
13284 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13285
13286         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13287
13288         * MenuBackend.C (expand): fix export/view/update when there is no
13289         document open.
13290
13291 2002-03-27  Herbert Voss  <voss@lyx.org>
13292
13293         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13294         and text%
13295
13296 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13297
13298         * bufferview_funcs.C (currentState): only show paragraph number
13299         for is DEVEL_VERSION is set.
13300
13301         * lyxfunc.C (dispatch): put warning in INFO channel
13302
13303         * MenuBackend.C (expand): translate the name of floats
13304
13305         * FloatList.C (FloatList): mark the float names for translation
13306
13307         * converter.C (convert): use LibScriptSearch
13308
13309 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13310
13311         * MenuBackend.C (defaults): fix default menu (we might as well get
13312         rid of it...)
13313
13314 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13315
13316         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13317         directory.
13318
13319 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13320
13321         * lyxvc.C: reorder includes.
13322
13323 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13324
13325         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13326           properly
13327
13328 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13329
13330         * CutAndPaste.C: change layouts earlier on paste
13331           to avoid crashing when calling getFont()
13332
13333 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13334
13335         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13336         irritating #error.
13337
13338 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * WorkArea.C: remove 'Pending' debug message.
13341
13342         * most files: ws cleanup
13343
13344         * buffer.[Ch]: ws changes
13345
13346         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13347
13348 2002-03-21  Juergen Vigna  <jug@sad.it>
13349
13350         * tabular.C (SetMultiColumn): collapse also the contents of the
13351         cells and set the last border right. Added a Buffer const * param.
13352
13353 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13356         linking or not.
13357
13358 2002-03-19  Juergen Vigna  <jug@sad.it>
13359
13360         * text2.C (clearSelection): reset also xsel_cache.
13361
13362         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13363         where it needs to be called (John tells us to do so too :)
13364         (selectionLost): reset sel_cache.
13365
13366         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13367
13368 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13369
13370         * text2.C (setCursorIntern): put debuging code in INSETS channel
13371
13372 2002-03-19  André Pönitz <poenitz@gmx.net>
13373
13374         * lyxfunc.C: tiny whitespace change
13375
13376 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13377
13378         * ToolbarDefaults.C (init):
13379         * LyXAction.C (init):
13380         * commandtags.h:
13381         * BufferView_pimpl.C (Dispatch):
13382         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13383
13384 2002-03-19  Allan Rae  <rae@lyx.org>
13385
13386         * exporter.C (Export): removeAutoInsets before doing anything else.
13387         While I've just introduced a dependency on BufferView this really is
13388         the best place to clean the buffer otherwise you need to cleanup in
13389         a dozen places before calling export or cleanup in a dozen functions
13390         that export calls.
13391
13392         * converter.C (runLaTeX):
13393         (scanLog): Better handling of removeAutoInsets and screen updates.
13394
13395         * lyxfunc.C (dispatch): small whitespace changes
13396
13397 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13398
13399         * WorkArea.C (C_WorkAreaEvent): return a value.
13400         (event_cb): return 1 if we handled the event, 0 otherwise.
13401
13402         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13403
13404 2002-03-18  Juergen Vigna  <jug@sad.it>
13405
13406         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13407         (GetAdditionalWidth): ditto.
13408         (RightLine): ditto.
13409         (LeftLine): ditto.
13410
13411         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13412         inset if we're there actually (probably not used right now but this
13413         is the direction to go for unifying code).
13414         (paste): disable code to clear the selection.
13415
13416         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13417         inside an InsetText and move the check further up as it is in the
13418         wrong place.
13419
13420         * text2.C (pasteSelection): set a selection over the pasted text.
13421
13422 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13423
13424         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13425         and libgraphics to build on Cygwin.
13426
13427 2002-03-15  Juergen Vigna  <jug@sad.it>
13428
13429         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13430         inserting an Inset into the paragraph. I know this is not the best
13431         fix but we already use current_view in CutAndPaste so we will remove
13432         all of it's using at the same time.
13433
13434         * buffer.C (sgmlError): deactivated function till it is rewritten in
13435         the right mode, now it can create problems.
13436
13437         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13438         before accessing it.
13439
13440 2002-03-14  Juergen Vigna  <jug@sad.it>
13441
13442         * undo_funcs.C (textHandleUndo): do the right thing when updating
13443         the inset after the undo/redo.
13444
13445         * text2.C (setCursor): just some testcode for #44 not ready yet.
13446
13447         * undo_funcs.C (textHandleUndo): set the next() and previous()
13448         pointers of the paragraph to 0 before deleting otherwise we have
13449         problems with the Paragraph::[destructor].
13450
13451         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13452         on a paragraph insertion.
13453
13454 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13455
13456         * buffer.C (asciiParagraph): use += operator for char append to
13457         string.
13458
13459         * paragraph.C (getFontSettings): compare >= not just >
13460         (highestFontInRange): ditto
13461         (setFont): ditto
13462
13463 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13464
13465         * paragraph.C: change several algorithm to be more appripriate for
13466         the problem domain. This is lookip in FontList and in the InsetList.
13467
13468 2002-03-13  André Pönitz <poenitz@gmx.net>
13469
13470         * commandtags.h:
13471         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13472
13473 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13474
13475         * commandtags.h:
13476         * LyXAction.C:
13477         * lyxfunc.C:
13478         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13479
13480 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13481
13482         * Painter.C (display): anon helper function, adjust code for this
13483         change.
13484         (pixmap): remove function.
13485
13486         * Painter.h: remove private display variable.
13487
13488         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13489
13490 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13491
13492         * WorkArea.[Ch]: remove figinset_canvas cruft.
13493
13494 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13495
13496         * lyxtextclass.C (operator): add one item cache optimization.
13497
13498         * bufferlist.h: doxy changes
13499
13500         * bufferlist.C: ws changes
13501
13502         * DepTable.[Ch] (ext_exist): place const in the right spot.
13503
13504         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13505         call resizeInsets.
13506         (workAreaExpose): call resizeInsets when the with BufferView changes.
13507         (Dispatch): adjust for protectedBlank removal
13508         (specialChar): call updateInset if the insert went ok.
13509
13510         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13511         specialChar instead.
13512
13513         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13514
13515         * BufferView.h: doxy change
13516
13517         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13518
13519         * lyxtextclass.C (operator[]): remove non-const version
13520         (defaultLayout): remove non-const version
13521
13522 2002-03-12  Juergen Vigna  <jug@sad.it>
13523
13524         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13525         did resize the LyXText too.
13526
13527         * buffer.C (readLyXformat2): set layout information on newly allocated
13528         paragraphs.
13529
13530         * tabular.C (OldFormatRead): set layout information on the paragraph.
13531
13532 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13533
13534         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13535
13536 2002-03-11  Juergen Vigna  <jug@sad.it>
13537
13538         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13539         plainly wrong.
13540         (resizeCurrentBuffer): force also the insets to resize themselfes.
13541         (moveCursorUpdate): fixed up for InsetText.
13542
13543 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13544
13545         * commandtags.h:
13546         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13547         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13548         value of Dialogs::tooltipsEnabled().
13549         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13550
13551 2002-03-08  Juergen Vigna  <jug@sad.it>
13552
13553         * BufferView_pimpl.C (updateInset): update inset inside inset also
13554         if it isn't inside theLockingInset().
13555
13556 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13557
13558         * buffer.C (asciiParagraph): redo some of the word and line length
13559         handling.
13560         (getLists): look for Caption instead of caption.
13561
13562 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13563
13564         * buffer.C (Buffer): initialize niceFile to true
13565         (makeLaTeXFile):
13566         (makeLinuxDocFile):
13567         (makeDocBookFile): make sure niceFile is true on exit
13568
13569 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13570
13571         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13572
13573 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13574
13575         * LyXSendto.C: remove.
13576         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13577         * lyx_gui.C: remove now-redundant comment.
13578         * ColorHandler.h: remove forward declaration of class WorkArea.
13579         * lyxfunc.C: remove #include "WorkArea.h".
13580
13581 2002-03-07  Juergen Vigna  <jug@sad.it>
13582
13583         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13584         got moved away with the DEPM and also set the inset_owner always
13585         right which before could have been omitted.
13586
13587 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13588
13589         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13590         wanted layout is not found.
13591
13592 2002-03-07  Juergen Vigna  <jug@sad.it>
13593
13594         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13595
13596 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13597
13598         * paragraph.C (breakParagraph): use default layout not layout of
13599         prev paragraph.
13600         (Paragraph): clear ParagraphParameters.
13601
13602 2002-03-06  Juergen Vigna  <jug@sad.it>
13603
13604         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13605         otherwise it would not be a valid lenght. Fixed a special case in
13606         the minipage compatibility read where we end the document with a
13607         minipage.
13608
13609         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13610         was set as it could be 0 for InsetTexts first entry.
13611
13612 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13613
13614         * paragraph.C (writeFile): if layout is empty write out
13615         defaultLayoutName().
13616
13617         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13618         file without named layout we set layout to defaultLayoutName().
13619
13620 2002-03-06  Juergen Vigna  <jug@sad.it>
13621
13622         * CutAndPaste.C (copySelection): set layout for new paragraph.
13623
13624         * text.C (prepareToPrint): leave ERT inset left aligned
13625         (leftMargin): don't indent paragraphs inside ERT insets
13626
13627 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * paragraph.C (breakParagraph): dont call clear do the work manually
13630
13631         * paragraph.[Ch] (clear): remove function
13632
13633 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * paragraph.C (Paragraph): dont call clear, the work has already
13636         been done.
13637
13638         * lyxtextclass.C (operator): assert if n is empty
13639
13640         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13641         work manually instead.
13642
13643 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13644
13645         * BufferView_pimpl.C: protect selectionLost against text == 0
13646
13647 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13648
13649         * text.C (breakParagraph): fix a setting layout to '0' problem.
13650
13651 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13652
13653         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13654         final location of file, for the included files, and graphics.
13655
13656 2002-03-05  Juergen Vigna  <jug@sad.it>
13657
13658         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13659
13660 2002-03-04  Juergen Vigna  <jug@sad.it>
13661
13662         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13663
13664         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13665         last column of multicolumn cells.
13666         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13667
13668 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13669
13670         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13671         file if it doesn't go to a temporary file.
13672
13673         * buffer.C (sgmlOpenTag):
13674         (sgmlCloseTag):  remove extra newline insertion.
13675
13676 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13677
13678         * text.C (getRowNearY): comment out debug msg
13679
13680 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * text2.C: first -> first_y
13683
13684         * text.C (getRowNearY): add some attemts at a possible
13685         optimization, not working.
13686
13687         * tabular.[Ch]: add BufferParams to several function so that newly
13688         created paragraph can be initialized to he default layotu for the
13689         buffers textclass.
13690
13691         * tabular-old.C (ReadOld): add buf->params to call of Init
13692
13693         * screen.C: rename text->first to text->first_y
13694
13695         * paragraph.C (breakParagraph): always set layout in the broken
13696         paragraph
13697
13698         * lyxtextclass.C (Read): remove lowercase
13699         (hasLayout): ditto
13700         (operator): ditto
13701         (delete_layout): ditto
13702
13703         * lyxtext.h: rename first -> first_y
13704
13705         * lyxlayout.C (Read): remove lowercase
13706         (name): ditto
13707         (setName): ditto
13708         (obsoleted_by): ditto
13709
13710         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13711
13712         * buffer.C (insertErtContents): add params are to InsetERT
13713         (parseSingleLyXformat2Token): add code to check if a paragraphs
13714         layout really exist.
13715         (parseSingleLyXformat2Token): add params to several inset
13716         constructors
13717         (asciiParagraph): remove lowercase, do the layout comparisons with
13718         no_case
13719
13720         * BufferView_pimpl.C (cursorNext): first -> first_y
13721         (resizeCurrentBuffer): first -> first_y
13722         (updateScrollbar): first -> first_y
13723         (scrollCB): first -> first_y
13724         (workAreaMotionNotify): first -> first_y
13725         (workAreaButtonPress): first -> first_y
13726         (checkInsetHit): first -> first_y
13727         (cursorPrevious): first -> first_y
13728         (cursorNext): first -> first_y
13729         (Dispatch): add buffer_->params to severl inset contructors
13730
13731 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13732
13733         * lyxlayout.C (Read): remove some debug info that I forgot.
13734
13735         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13736         clean up the code slightly.
13737         (makeLinuxDocFile): ditto
13738         (makeDocBookFile): ditto
13739
13740         * text2.C: layout as string
13741
13742         * text.C: layout as string
13743
13744         * paragraph_pimpl.C: layout as string
13745
13746         * paragraph.[Ch]: layout as string
13747
13748         * lyxtextclasslist.[Ch]: layout as string
13749
13750         * lyxtextclass.[Ch]: layout as string
13751
13752         * lyxtext.h: layout as string
13753
13754         * lyxlayout.[Ch]: layout as string
13755
13756         * lyx_cb.C: layout as string
13757
13758         * bufferview_funcs.C: layout as string
13759
13760         * bufferparams.C: layout as string
13761
13762         * buffer.C: layout as string
13763
13764         * LyXView.[Ch]: layout as string
13765
13766         * LaTeXFeatures.[Ch]: layout as string
13767
13768         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13769
13770         * BufferView_pimpl.C: change current_layout to string, remove
13771         lyx::layout_type.
13772         (Dispatch):
13773         (smartQuote):
13774         (insertInset):
13775         (workAreaButtonRelease): layout as string
13776
13777         * BufferView2.C (unlockInset): adjust
13778
13779         * vspace.C (asLatexCommand): use an explict temp variable.
13780
13781 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * Makefile.am: use FRONTEND_*
13784
13785 2002-03-01  Juergen Vigna  <jug@sad.it>
13786
13787         * tabular.C (SetWidthOfMulticolCell): changed to something better
13788         I hope but still work in progress.
13789         (recalculateMulticolumnsOfColumn): renamed function from
13790         recalculateMulticolCells as it is more appropriate now.
13791         (SetWidthOfCell): calculate multicols better.
13792
13793 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13794
13795         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13796
13797         * lyxfunc.C (processKeySym): print sequence also if it is
13798         `deleted' (complete)
13799
13800         * kbsequence.C (print): print sequence even if it is deleted
13801         (complete would be a better word, actually).
13802
13803         * lyxfunc.C (dispatch): print complete options after a prefix key
13804
13805         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13806
13807 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13808
13809         * text2.C (setCharFont): eliminate setCharFont code duplication.
13810
13811 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13812
13813         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13814         LFUN_TABULAR_FEATURE (bug #177)
13815
13816 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13817
13818         * Makefile.am: remove figure.h
13819
13820 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13821
13822         * Bufferview_pimpl.C:
13823         * CutAndPasteC:
13824         * LaTeX.C:
13825         * LyXSendto.C:
13826         * buffer.C:
13827         * bufferlist.C:
13828         * converter.C:
13829         * language.C:
13830         * lyxfunc.C:
13831         * lyxvc.C:
13832         * paragraph.C:
13833         * text.C:
13834         * text2.C: remove #include "lyx_gui_misc.h".
13835
13836         * LaTeX.C: added #include <cstdio>
13837
13838 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13839
13840         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13841         that the paragraph following this one can have.
13842
13843         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13844
13845         * vspace.C (asLatexCommand): fix bogus gcc warning
13846
13847         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13848
13849 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13850
13851         * text2.C (setLayout): get rid of redundant code
13852
13853 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13854
13855         * text2.C (incDepth): make sure depth cannot be increased beyond
13856         reasonable values.
13857
13858 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13859
13860         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13861         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13862
13863         * PainterBase.h (image):
13864         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13865         a LyXImage const *.
13866
13867 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13868
13869         * BufferView.C:
13870         * BufferView.h:
13871         * BufferView_pimpl.C:
13872         * BufferView_pimpl.h:
13873         * LaTeXFeatures.C:
13874         * LyXAction.C:
13875         * LyXView.C:
13876         * Makefile.am:
13877         * UpdateList.h:
13878         * UpdateList.C:
13879         * buffer.C:
13880         * figure.h:
13881         * figureForm.C:
13882         * figureForm.h:
13883         * figure_form.C:
13884         * figure_form.h:
13885         * lyx_cb.C:
13886         * lyx_gui.C:
13887         * lyx_gui_misc.C:
13888         * lyxfunc.C:
13889         * sp_base.h:
13890         * sp_ispell.h:
13891         * sp_pspell.h:
13892         * sp_spell.C: remove fig inset, and the crap house of
13893           cards that follows it
13894
13895 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13896
13897         * Makefile.am:
13898         * lyxserver.C:
13899         * os2_defines.h:
13900         * os2_errortable.h:
13901         * nt_defines.h: move .h into support/
13902
13903         * vms_defines.h: remove
13904
13905         * WorkArea.C: add space in debug output
13906
13907         * text2.C:
13908         * paragraph.C:
13909         * buffer.C: add WITH_WARNINGS
13910
13911         * vc-backend.h:
13912         * vc-backend.C:
13913         * bufferlist.C: s/retrive/retrieve/, add docs
13914
13915         * vspace.h:
13916         * vspace.C:
13917         * kbmap.h:
13918         * lyxlength.h:
13919         * lyxgluelength.h:
13920         * length_common.h:
13921         * chset.h:
13922         * chset.C: add docs
13923
13924         * lyxgui.C: add ID to X error handler
13925
13926         * lyxtestclass.c: fix typo
13927
13928 2002-02-26  Juergen Vigna  <jug@sad.it>
13929
13930         * tabular_funcs.C (write_attribute): changed so that some default
13931         attributes are not written at all.
13932         (getTokenValue): set default values before trying to read the
13933         value so we have the return value always set as default if we don't
13934         find the token we search for.
13935
13936         * tabular.C (Write): write bools as bools not as strings!
13937
13938 2002-02-22  Juergen Vigna  <jug@sad.it>
13939
13940         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13941         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13942
13943         * text.C (leftMargin): don't add an indent for paragraphs inside
13944         tabular cells (fix #208).
13945
13946 2002-02-21  José Matos  <jamatos@fep.up.pt>
13947
13948         * tabular.C (docBook): fixed support for long tables.
13949
13950 2002-02-20  Juergen Vigna  <jug@sad.it>
13951
13952         * text2.C (getFont): get the drawing font of the Inset if this
13953         paragraph is inside an inset (only important for InsetERT for now).
13954
13955         * buffer.C (insertErtContents): use new lanugage params in ERT
13956         constructor.
13957
13958         * CutAndPaste.C: commenting out seemingly uneeded code.
13959
13960 2002-02-19  Allan Rae  <rae@lyx.org>
13961
13962         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13963         Iterators might be simple to use but they also get invalidated.
13964         (removeAutoInsets): renamed saved cursor tracking variables and added
13965         some comments to clarify what everything does.
13966
13967 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13968
13969         * Chktex.C:
13970         * LaTeX.C:
13971         * LyXSendto.C:
13972         * converter.C:
13973         * lyx_cb.C:
13974         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13975         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13976
13977         * lyxfunc.C:
13978         * vc-backend.h: remove #include "support/syscall.h"
13979
13980         * LaTeX.C:
13981         * LyXSendto.C:
13982         * converter.C: rearrange #includes in Lars' approved fashion.
13983
13984         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13985         forward declare class Timeout in the header file.
13986
13987         * XFormsView.C: changes due to the above.
13988
13989         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13990         similar to LyXView.
13991
13992         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13993         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13994
13995 2002-02-18  José Matos  <jamatos@fep.up.pt>
13996
13997         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13998         insets contents.
13999
14000 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14001
14002         * a lot of small ws changes
14003         * add a lot of using std::XXX
14004         * use std construcs some places where approp.
14005         * use some exisint stuff from lyxfunctional where approp.
14006         * Make file changes to use partial linking (lets test this now...)
14007
14008 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14009
14010         * Chktex.C:
14011         * buffer.C:
14012         remove #include "support/syscontr.h" as it's redundant. Always has been.
14013
14014         * Chktex.C:
14015         * LaTeX.C:
14016         * LyXSendto.C:
14017         * converter.C:
14018         * lyx_cb.C:
14019         * vc-backend.C:
14020         change Systemcalls::System to Systemcalls::Wait and
14021         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14022         No change of functionality, just reflects the stripped down Systemcalls
14023         class.
14024
14025 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14026
14027         * debug.[Ch]: add a GRAPHICS type to the enum.
14028
14029 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14030
14031         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14032
14033         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14034         there is an inset.
14035
14036 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14037
14038         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14039         match the changes below.
14040
14041         * text2.C (toggleInset): if there is not editable inset at cursor
14042         position, try to see if cursor is _inside_ a collapsable inset
14043         and close it.
14044
14045 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14046
14047         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14048         document menu has a nice checkbox
14049
14050 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14051
14052         * lyxlength.C (asLatexString): change PW to output as percent of
14053         \textwidth.
14054
14055         * lengthcommon.C: change '%' to 't%'
14056
14057         * lyxfunc.C (dispatch): a few comments from Martin
14058
14059 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14060
14061         * WorkArea.h:
14062         * WorkArea.C:
14063         * BufferView_pimpl.h:
14064         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14065           the X selection.
14066
14067 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14068
14069         * vspace.C (inPixels): fix compiler warning
14070
14071 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14072
14073         * lyxfunc.C (getStatus): fix status message for disabled commands.
14074
14075 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14076
14077         * BufferView_pimpl.C: fix crash on close buffer
14078         during selection (#227)
14079
14080 2002-01-27  Herbert Voss  <voss@lyx.org>
14081
14082         * buffer.C: link old Figure to new graphic inset
14083
14084 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14085
14086         * FontLoader.C (getFontinfo): Change the latex font names in order
14087         to match the names of type1inst.
14088
14089 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14090
14091         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14092
14093         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14094         (extchanged): ditto
14095         (ext_exist): ditto
14096         (remove_files_with_extension): ditto
14097         (remove_file): ditto
14098         (write): ditto
14099
14100         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14101         document is smaller than the work area height. Do not initialize
14102         static variables to 0.
14103
14104 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14105
14106         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14107
14108         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14109         LFUN_LAYOUT_PARAGRAPHS.
14110
14111         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14112         tabular. It is possible to provide a possible cell, which will
14113         typically be the actcell from the corresponding insettabular
14114
14115         * lyxfunc.C (getStatus): small cleanup; disable
14116         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14117         true
14118
14119 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14120
14121         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14122
14123         * paragraph.C (startTeXParParams):
14124         (endTeXParParams): new methods. The LaTeX code to
14125         start/end paragraph formatting
14126         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14127         empty (fixes bug #200)
14128
14129         * vspace.C (inPixels): adapt to the change below
14130         (inPixels): [later] more cleanups (remove unused variables)
14131
14132         * lyxlength.C (inPixels): change to use a width and a height as
14133         parameter.
14134
14135 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14136
14137         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14138         Replaced with \paperwidth
14139
14140         * DepTable.C (insert): add std:: qualifier
14141
14142 2002-01-18  Allan Rae  <rae@lyx.org>
14143
14144         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14145         updated also?
14146
14147         * text.C (drawInset): Turned out I didn't know enough about how
14148         rebreaking worked.  This fixes most of the redraw problems.  I see
14149         an occasional cursor trail when a line is broken now and the cursor
14150         placement can seem out by a few pixels also after a rebreak.
14151
14152 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14153
14154         * buffer.C (parseSingleLyXformat2Token): update because minipage
14155         width is now a LyXLength
14156
14157         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14158
14159         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14160         math insets
14161
14162 2002-01-17  Juergen Vigna  <jug@sad.it>
14163
14164         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14165
14166         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14167         is set correctly and the inset is updated correctly.
14168
14169 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14170
14171         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14172         the beginning of the loop.
14173
14174 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14175
14176         * lyxrc.C: improve help for use_scalable_fonts
14177
14178 2002-01-17  Allan Rae  <rae@lyx.org>
14179
14180         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14181
14182 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14183
14184         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14185         make sure to set their inset_owner to the right value (bug #171)
14186
14187 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14188
14189         * DepTable.h
14190         * DepTable.C: Implement mtime checking to reduce time spent doing
14191         CRCs.
14192
14193 2002-01-16  Juergen Vigna  <jug@sad.it>
14194
14195         * tabular.C (GetAdditionalHeight): one of error fixed.
14196
14197         * lyxrc.C (output): small fix in writing use_pspell.
14198
14199 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * sp_base.h: #include LString.h
14202
14203 2002-01-16  Allan Rae  <rae@lyx.org>
14204
14205         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14206         Can someone check this please?
14207
14208         * text.C (drawInset): It was possible that p.row would be removed by
14209         breakAgainOneRow upsetting a few other settings.  There may be another
14210         small tweak possible by setting need_break_row = 0 when p.row has been
14211         removed but I don't know enough about the logic here.
14212
14213 2002-01-15  Allan Rae  <rae@lyx.org>
14214
14215         * text.C (insertChar): removed conditional truism.
14216
14217         * BufferView2.C (removeAutoInsets): More tweaks.
14218         cur_par_prev could be a stray pointer.  Check for trailing empty line
14219         in case last line was cur_par and only had an error inset on it.
14220
14221 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14222
14223         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14224         absolute
14225
14226         * vc-backend.C (most methods):
14227         * exporter.C (Export):
14228         * converter.C (convert):
14229         (runLaTeX):
14230         * LyXSendto.C (SendtoApplyCB):
14231         * lyxfunc.C (dispatch):
14232         (menuNew):
14233         (open):
14234         (doImport):
14235         * lyx_cb.C (AutoSave):
14236         (InsertAsciiFile):
14237         * BufferView_pimpl.C (MenuInsertLyXFile):
14238         * buffer.C (runChktex): use Buffer::filePath().
14239
14240         * buffer.h: rename filename to filename_; rename filepath to
14241         filepath_ and make it private
14242         (filePath): new method
14243
14244         * buffer.C (writeFile): use fileName()
14245         (getLatexName):
14246
14247         * lyx_main.C (init): fix starting  of LyX when the binary is a
14248         link from so,ewhere else.
14249
14250         * minibuffer.C: include <cctype> for isprint
14251
14252 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14253
14254         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14255         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14256         name clash with InsetCollapsable's width function.
14257
14258 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14259
14260         * lastfiles.C: include <iterator>
14261
14262 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14263
14264         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14265         std::count.
14266
14267         * buffer.C (makeLaTeXFile): ditto.
14268         Also make loop operation more transparent.
14269
14270 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14271
14272         * ToolbarDefaults.C: remove trailing comma closing namespace.
14273
14274         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14275
14276         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14277         as in WorkArea.
14278
14279         * trans.C (Load): comment out unused variable, allowed.
14280
14281 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14282
14283         * minibuffer.[Ch] (append_char): new method to recieve input from the
14284         drop-down completion browser. If a key was pressed, then recieve this
14285         char and append it to the existing string.
14286         (peek_event): modify the positioning data passed to the completion
14287         browser so that it can be placed above the minibuffer rather than below.
14288 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14289
14290         * LyXAction.C (init): alloe error-next for readonly documents.
14291
14292         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14293         count.
14294
14295 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14296
14297         * bufferlist.C (readFile): create the buffer _after_ checking that
14298         the file exists.
14299
14300         * lyxfunc.C (verboseDispatch): fix handling of arguments
14301
14302         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14303
14304         * lyxrc.C: use string::erase() instead of initializing to "".
14305
14306
14307 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14308
14309         * BufferView_pimpl.h:
14310         * BufferView_pimpl.C:
14311         * WorkArea.h:
14312         * WorkArea.C:
14313         * text2.C: tell X when we have made a selection for copying
14314
14315 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14316
14317         * BufferView_pimpl.C (MenuInsertLyXFile):
14318         * lyxfunc.C (menuNew):
14319         (open):
14320         (doImport): add shortcuts to directory buttons
14321
14322         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14323         open a float)
14324
14325         * lyxfunc.C (setStatusMessage):
14326         (getStatusMessage): new methods
14327         (getStatus):use setStatusMessage instead of setErrorMessage
14328         (dispatch): when function is disabled, set error message here
14329         [instead of in getStatus previously]
14330
14331         * BufferView_pimpl.C (workAreaButtonRelease): update
14332         toolbar/menubar here too.
14333
14334 2002-01-13  Allan Rae  <rae@lyx.org>
14335
14336         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14337         Now seems indestructible.  Remaining task is to audit all other
14338         code affected by deleteEmptyParagraphMechanism.  One small quirk
14339         left is that an empty document with an error in the preamble can
14340         be made to report an error but no error box appears.  I don't know
14341         where it goes.
14342         (removeAutoInsets): Improved comments.
14343
14344 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14345
14346         * Thesaurus.h:
14347         * Thesaurus.C: update for Aiksaurus 0.14
14348
14349 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14350
14351         * text2.C (firstParagraph): removed member function, all uses
14352         replaces with ownerParagraph
14353         (redoParagraphs): here
14354         (updateInset): here
14355         (toggleAppendix): here
14356         * BufferView2.C (insertErrors): here
14357         (setCursorFromRow): here
14358
14359 2002-01-13  Allan Rae  <rae@lyx.org>
14360
14361         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14362         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14363         There is still a way to segfault this although you may have to do this
14364         multiple times: Have an InsetERT with an unknown command in it.
14365         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14366         <down-arrow>, <Enter> again, View->DVI, BANG!
14367
14368         * text2.C (setCursor):
14369         (deleteEmptyParagraphMechanism):
14370         * lyxtext.h (setCursor):
14371         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14372         Making use of the return value may help fix other bugs.
14373
14374 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14375
14376         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14377
14378         * LyXView.C (updateMenubar): call MenuBar::update here
14379         (updateToolbar): but not here
14380         (showState): do not update toolbar/menubar
14381
14382         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14383         should need to care about that.
14384
14385         * lyxfunc.C (verboseDispatch): simplify a bit
14386         (getStatus): have a version which takes a pseudoaction, and
14387         another which requires a (kb_action,string).
14388
14389         * LyXAction.C (retrieveActionArg): make it work also when action
14390         is not a pseudo-action.
14391         (getActionName): simplify a bit
14392         (helpText):
14393
14394 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14395
14396         * lyxfunc.C (verboseDispatch): new families of methods with
14397         several ways to specify a command and a bool to indicate whether
14398         the command name and shortcut should be displayed in minibuffer
14399         (eventually, we could extend that to a finer bitmask like
14400         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14401         (dispatch): the pristine dispatch command which just, well,
14402         dispatchs! Note it still sets its result to minibuffer; I'm not
14403         sure we want that.
14404
14405         * lyxfunc.h: remove setHintMessage
14406
14407         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14408
14409 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14410
14411         * BufferView_pimpl.C (specialChar): delete new inset if we have
14412         not been able to insert it.
14413
14414         * kbmap.C: revert to using int instead of kb_action, since all we
14415         are dealing with is pseudo-actions.
14416
14417         * LyXAction.C (searchActionArg): change to return int instead of
14418         kb_action, since the result is a pseudoaction.
14419
14420 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * buffer.C (insertErtContents): Fix (partially) the font bug.
14423
14424 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14425
14426         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14427         as the other one is broken on my machine!
14428
14429 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14430
14431         * commandtags.h:
14432         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14433
14434 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14435
14436         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14437         reflect their actual use. Provide compatibility code for older lyxrc
14438         files.
14439
14440         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14441         FL_NORMAL_STYLE.
14442         change names of popup font variables in line with the changes to lyxrc.C
14443
14444 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14445
14446         * buffer.C (asciiParagraph): avoid outputing a word twice after
14447         an inset.
14448
14449         * lyxrc.C (getDescription): document that document_path and
14450         template_path can be empty.
14451
14452 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14453
14454         * LaTeXFeatures.C (getMacros):
14455         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14456
14457         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14458
14459         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14460         getPackages.
14461         (getPackages): rename feature "floats" to "float". Use an array to
14462         iterate over 'simple' features (i.e. just a \usepackage). Add
14463         handling of "amsmath" (renamed from "amsstyle").
14464
14465 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14466
14467         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14468         features list.
14469
14470 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14471
14472         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14473         FuncStaus::FuncStatus & FuncStaus::some_method().
14474
14475 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14476
14477         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14478         of the func_satus stuff. Edited and massaged in various ways by
14479         JMarc.
14480
14481         * lyxfunc.C (getStatus): use FuncStatus
14482
14483 2002-01-08  Juergen Vigna  <jug@sad.it>
14484
14485         * text.C (nextBreakPoint): use function Inset::isChar().
14486
14487         * paragraph.C (TeXOnePar): use function
14488         Inset::forceDefaultParagraphs.
14489
14490         * buffer.C (latexParagraphs): use function
14491         Inset::forceDefaultParagraphs.
14492
14493 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14494
14495         * lyx_gui.C (init): set the style of the menu popups to
14496         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14497
14498 2002-01-07  Juergen Vigna  <jug@sad.it>
14499
14500         * text.C (setHeightOfRow): small fix
14501         (prepareToPrint): don't look at alignment if we don't have the place
14502         for doing it.
14503
14504 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14505
14506         * box.C: New file. Move the Box methods and functions out of box.h,
14507         following Lars' suggestion.
14508
14509 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14510
14511         * box.h: #include "support/LOstream.h", needed for inlined function.
14512
14513         * lyxtextclass.C:
14514         * lyxtextclasslist.C: added some using std declarations.
14515
14516 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14517
14518         * box.h: make signed dimensions to allow insets wider than
14519           the screen (bug #162)
14520
14521         * BufferView_pimpl.C: add some insetHit debug
14522
14523 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14524
14525         * vc-backend.C: add FIXME
14526
14527 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14528
14529         * lyxfunc.C (getStatus): enable code for showing math font status
14530         in toolbar/menu.
14531
14532 2002-01-07  Juergen Vigna  <jug@sad.it>
14533
14534         * text.C (nextBreakPoint): removed debug output not needed anymore.
14535
14536 2002-01-06  Juergen Vigna  <jug@sad.it>
14537
14538         * text.C (nextBreakPoint): fixed up this function we had this bug
14539         since ever but now hopefully we break row better.
14540         (insertChar): we have to check if an inset is the next char as it
14541         could now happen that a large inset is causing a break.
14542
14543 2002-01-05  Juergen Vigna  <jug@sad.it>
14544
14545         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14546         if it doesn't like to be drawed.
14547
14548 2002-01-04  Juergen Vigna  <jug@sad.it>
14549
14550         * BufferView2.C (lockInset): forgot to set a cursor.
14551
14552         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14553
14554 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14555
14556         * FormMathsPanel.C:
14557         * FormMathsPanel.h
14558         * MathsSymbols.C:
14559         * form_maths_panel.C:
14560         * form_maths_panel.h:
14561         * form_maths_panel.fd: implemented sub- and super- buttons in math
14562         panel.
14563
14564         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14565         (or ^ space) to be used as in TeX (req'd by Andr�.
14566
14567         * lyxfunc.C: Allow ^ and _ again to be used both as
14568         super/subscript (mathed) and as themselves (in text).
14569
14570 2002-01-03  Allan Rae  <rae@lyx.org>
14571
14572         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14573         "LyX" or the filename of the current buffer if it has one.  This is a
14574         modified form of John Levon's patch.
14575
14576         * XFormsView.C (setWindowTitle): also set icon title.
14577
14578         * LyXView.h (setWindowTitle): signature changed.
14579         * XFormsView.h (setWindowTitle): ditto.
14580
14581 2002-01-02  Juergen Vigna  <jug@sad.it>
14582
14583         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14584
14585 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14586
14587         * screen.C (topCursorVisible): introduce a temp var for
14588         text->cursor.row(), handle the case where this row is null. (kindo
14589         hachish)
14590
14591         * text2.C (setCursor): add a couple of asserts.
14592
14593         * paragraph.h (inset_iterator): add -> operator
14594
14595         * paragraph.[Ch] (autoDeleteInsets): remove member function
14596
14597         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14598         cursor pos correctly and handle inset deletion by itself.
14599         (insertErrors): move iterator declaration out of for expression
14600
14601         * lyxtextclass.C: add <algorithm>
14602
14603         * Makefile.am: added the new files to sources, removed layout.C
14604
14605         * layout.C: removed file
14606
14607         * layout.h: remove LYX_DUMMY_LAYOUT
14608
14609         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14610         layout.
14611
14612         * lyxlayout.[Ch]:
14613         * lyxtextclass.[Ch]:
14614         * lyxtextclasslist.[Ch]: new files
14615
14616         * include order changes to a lot of files, also changes because of
14617         the six new files.
14618
14619 2001-12-27  Juergen Vigna  <jug@sad.it>
14620
14621         * buffer.C (asciiParagraph): more fixes.
14622
14623         * tabular.C (ascii): make ascii export support export of only the
14624         data separated by a column-delimiter.
14625         (ascii): better support for ascii export.
14626
14627         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14628
14629 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14630
14631         * tabular_funcs.C: use a "using std::getline" instead of the
14632         previous fix from Angus (necessary for cxx + lyxstring)
14633
14634 2001-12-24  Juergen Vigna  <jug@sad.it>
14635
14636         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14637
14638         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14639         problems. First check a minipage also if we have some ert-contents
14640         (not only on par->size(), second set the right depth of the paragraph
14641         on the relink to the root-paragraph-list!
14642
14643         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14644         which then did not anymore update the main paragraphs on undo/redo!
14645
14646 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14647
14648         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14649         code. Support all font-changing funcs (even those which are not in
14650         menu currently). Support for reporting font settings in
14651         mathed (disabled until Andre provides a function on mathed's side).
14652
14653         * func_status.h (toggle): small helper function to set toggle
14654         state on a flag.
14655
14656 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14657
14658         * tabular_funcs.C: getline -> std::getline
14659
14660 2001-12-21  Juergen Vigna  <jug@sad.it>
14661
14662         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14663         accessed and could be 0 (I couldn't generate this but it seems
14664         Michael could!).
14665
14666 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14667
14668         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14669         * tabular_funcs.h: here and include iosfwd
14670
14671 2001-12-20  Juergen Vigna  <jug@sad.it>
14672
14673         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14674         inside inset but undo_par was.
14675
14676 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14677
14678         * Thesaurus.C: always include <config.h> in sources.
14679
14680         * Painter.h:
14681         * lyxlookup.h:
14682         * box.h: do not include <config.h> in header files
14683
14684         * text.C (paintLastRow): remove unused variable
14685
14686         * text.C (transformChar):
14687         (insertChar):
14688         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14689
14690         * Painter.C (text):
14691         * font.C (width): rewrite to use uppercase() instead of
14692         islower/toupper.
14693
14694         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14695
14696 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14697
14698         * lyxfind.C: clean up of find failure position change
14699
14700 2001-12-20  Juergen Vigna  <jug@sad.it>
14701
14702         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14703
14704         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14705         (TeXRow): added to LaTeX a single tabular row.
14706         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14707         (Latex): simplified and finally good LT-h/f support.
14708         (various_functions): just small adaptions for LT-h/f support.
14709
14710         * tabular_funcs.[hC]: added and moved here all not classfunctions
14711         of LyXTabular.
14712
14713 2001-12-19  Juergen Vigna  <jug@sad.it>
14714
14715         * tabular.[Ch]: better support for longtabular options (not finished
14716         yet!)
14717
14718 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14719
14720         * text.C (paintLastRow): use the label font instead of the font of
14721         the last character to compute the size of *_BOX. This makes more
14722         sense and avoids a crash with empty paragraphs.
14723         Use Painter::rectangle to draw EMPTY_BOX.
14724
14725 2001-12-19  Juergen Vigna  <jug@sad.it>
14726
14727         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14728         the paragraphs if the replaced paragraph is not the first one!
14729         Tried to delete not used paragraphs but does not work yet so for
14730         now it's inside #ifdef's and by default off!
14731
14732 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14733
14734         * MenuBackend.C: include "lyx_main.h" instead of declaring
14735         lastfiles (actually was declared as LastFiles* instead of a
14736         scoped_ptr).
14737
14738 2001-12-17  Juergen Vigna  <jug@sad.it>
14739
14740         * tabular.C (AppendColumn): applied John's fix
14741
14742 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14743
14744         * BufferView.h:
14745         * BufferView.C:
14746         * BufferView_pimpl.h:
14747         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14748
14749         * Makefile.am:
14750         * box.h: new start of class for above
14751
14752         * lyxfunc.C: ignore space-only minibuffer dispatches.
14753           Show the command name when it doesn't exist
14754
14755         * minibuffer.C: don't add empty lines to the history
14756
14757         * minibuffer.C: add a space on dropdown completion
14758
14759 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14760
14761         * text.C: fix line above/below drawing in insets
14762
14763 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14764
14765         * lyxlength.C (LyXLength): Initialize private variables.
14766
14767 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14768
14769         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14770         when inserting error insets.
14771
14772 2001-12-13  Juergen Vigna  <jug@sad.it>
14773
14774         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14775         actually sometimes the before-paragraph.
14776         (setUndo): don't clear the redostack if we're not actually undoing!
14777
14778 2001-12-06  Juergen Vigna  <jug@sad.it>
14779
14780         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14781         and fixed redoing of main paragraph, so we can use it now ;)
14782
14783         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14784
14785 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14786
14787         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14788         Juergen's request
14789
14790 2001-12-13  André Pönitz <poenitz@gmx.net>
14791
14792         * undostack.[Ch]:
14793         * undo_func.C: minor cleanup
14794
14795 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14796
14797         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14798         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14799         font in urw-fonts package which is marked as -urw-fontspecific and
14800         does not work (incidentally, changing the encoding in the
14801         fonts.dir of this package to -adobe-fontspecific fixes the
14802         problem).
14803
14804         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14805         is a crash when undoing first paragraph (Juergen, please take a
14806         look). THis does not mean the undo fix is wrong, just that it
14807         uncovers problems.
14808
14809         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14810         the (Paragraph*) version when needed instead of duplicating the
14811         code.
14812
14813         * text.C (workWidth): use Inset::parOwner to find out where the
14814         inset has been inserted. This is a huge performance gain for large
14815         documents with lots of insets. If Inset::parOwner is not set, fall
14816         back on the brute force method
14817
14818         * paragraph_pimpl.C (insertInset):
14819         * paragraph.C (Paragraph):
14820         (cutIntoMinibuffer): set parOwner of insets when
14821         inserting/removing them
14822
14823         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14824
14825 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14826
14827         * commandtags.h:
14828         * LyXAction.C:
14829         * lyx_main.C:
14830         * lyxfunc.C:
14831         * mathed/formulabase.C:
14832         * mathed/math_cursor.[Ch]:
14833         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14834
14835
14836 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * lyxlength.[Ch] (operator!=): new function
14839
14840 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14841
14842         * text.C (workWidth): use Inset::parOwner to find out where the
14843         inset has been inserted. This is a huge performance gain for large
14844         documents with lots of insets. If Inset::parOwner is not set, fall
14845         back on the brute force method
14846
14847         * paragraph_pimpl.C (insertInset):
14848         * paragraph.C (Paragraph):
14849         (cutIntoMinibuffer): set parOwner of insets when
14850         inserting/removing them
14851
14852         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14853
14854 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14855
14856         * tabular-old.C (getTokenValue):
14857         * tabular.C (getTokenValue):
14858         (write_attribute): new versions for LyXLength
14859         (everywhere): adjust the use of widths
14860
14861         * tabular.h: change the type of widths from string to LyXLength
14862
14863 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14864
14865         * paragraph.C: fixed missing line number count when exporting
14866         Environments to LaTeX file
14867
14868         * buffer.C: added informational message for checking line numbers.
14869
14870 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14871
14872         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14873         paragraph, do the 'double space' part, but not the 'empty
14874         paragraph' one.
14875
14876         * text.C (workWidth): small optimization
14877         (getLengthMarkerHeight): use minimal size for negative lengths.
14878
14879 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14880
14881         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14882
14883         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14884
14885 2001-12-11  André Pönitz <poenitz@gmx.net>
14886
14887         * FontLoader.C:
14888         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14889
14890 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14891
14892         * text2.C: keep selection on a setFont()
14893
14894 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * lyx_cb.C: another bv->text misuse, from insert label
14897
14898 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14899
14900         * kbsequence.h:
14901         * kbsequence.C: re-instate nmodifier mask
14902
14903 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14904
14905         * lyx_main.h: make lyxGUI private.
14906
14907 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14908
14909         * lyxfind.C: place the cursor correctly on failed search
14910
14911 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14912
14913         * text.C (getLengthMarkerHeight): for small heights, the arrows
14914         are not always on top/bottom of the text
14915         (drawLengthMarker): smaller arrows; take the left margin in
14916         account; draw also vfills.
14917         (paintFirstRow):
14918         (paintLastRow): remove special code for vfill and standard spaces,
14919         since everything is handled in drawLengthMarker now.
14920
14921 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * buffer.C (insertErtContents): try to handle font and language
14924         interaction a bit better.g
14925
14926         * ColorHandler.C (updateColor): change the hash to cover the whole
14927         LColor enum, ws cleanup
14928         (getGCLinepars): ditto
14929         (getGCLinepars): only lookup in the linecache once.
14930
14931 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14932
14933         * iterators.C (operator++): Make the iterator more robust
14934
14935         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14936         (John's patch)
14937         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14938
14939 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14940
14941         * lyxtext.h:
14942         * text.C: better added space drawing
14943
14944 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14945
14946         * LyXView.C:
14947         * BufferView2.C: fix layout combo update on inset unlock
14948
14949 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14950
14951         * Makefile.am: don't compile unused files
14952
14953 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14954
14955         * lyxfunc.C:
14956         * commandtags.h:
14957         * LyXAction.C: remove old LFUN_LAYOUTNO
14958
14959 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14960
14961         * paragraph_pimpl.h:
14962         * paragraph_pimpl.C: isTextAt() doesn't need font param
14963
14964 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * lyxlex.h:
14967         * lyxlex.C: little cleanup
14968
14969 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14970
14971         * BufferView_pimpl.C: fix insertAscii for insets
14972
14973 2001-12-05  Juergen Vigna  <jug@sad.it>
14974
14975         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14976         set the right font on the "multi" paragraph paste!
14977
14978 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * trans_decl.h:
14981         * trans_mgr.[Ch]:
14982         * trans.[Ch]:
14983         * lyxgluelength.C:
14984         * lyxlength.C: remove out-commented code.
14985
14986         * BufferView_pimpl:
14987         * CutAndPaste.C:
14988         * DepTable.C:
14989         * buffer.C:
14990         * chset.C:
14991         * lastfiles.C:
14992         * lyxlex.C:
14993         * lyxlex_pimpl.C:
14994         * lyxserver.C:
14995         * screen.C:
14996         * tabular-old.C:
14997         * tabular.C:
14998         * text.C:
14999         * trans_mgr.C:
15000         * vc-backend.C: change "while(" to "while ("
15001
15002         * lyxlength.[Ch]: add zero function to check if length is zero or
15003         not
15004         * lyxgluelength.C: use it
15005
15006 2001-12-05  Allan Rae  <rae@lyx.org>
15007
15008         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15009         Works for 2.95.3, from what I understand of Garst's reports this should
15010         work for other g++ versions.  We're screwed if the abs(int) definition
15011         changed between bugfix releases of gcc.
15012
15013 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15014
15015         * text.C: fix chapter label offset !
15016
15017 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * lyxtext.h:
15020         * text.C: fix hfill at end of line, clean up
15021
15022 2001-12-04  Juergen Vigna  <jug@sad.it>
15023
15024         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15025         that we force an update of the inset and it's owners if neccessary.
15026
15027 2001-12-03  Juergen Vigna  <jug@sad.it>
15028
15029         * text.C (rowLast): simplified code
15030
15031 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15032
15033         * lyxfunc.C: fix show options on timeout
15034
15035 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15036
15037         * screen.C (topCursorVisible): scroll half a page when the cursor
15038         reached top of bottom of screen
15039
15040 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15041
15042         * minibuffer.C: deactivate on loss of focus
15043
15044 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * vspace.[Ch] (operator!=): add operator.
15047
15048 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15049
15050         * BufferView_pimpl.C: refuse to open an inset when
15051         there's a selection.
15052
15053 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15054
15055         * BufferView_pimpl.C: allow to click on RHS of full row insets
15056
15057 2001-11-30  Juergen Vigna  <jug@sad.it>
15058
15059         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15060         insets for undo reasons.
15061
15062 2001-11-28  André Pönitz <poenitz@gmx.net>
15063
15064         * vspace.[Ch]: cosmetical changes
15065
15066 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15067
15068         * LyXAction.h:
15069         * LyXAction.C:
15070         * lyxfunc.h:
15071         * lyxfunc.C:
15072         * kbmap.h:
15073         * kbmap.C:
15074         * lyxrc.C:
15075         * kbsequence.h:
15076         * kbsequence.C: part re-write of old kb code
15077
15078         * Painter.C:
15079         * WorkArea.C: remove Lgb_bug_find_hack
15080
15081 2001-11-30  José Matos <jamatos@fep.up.pt>
15082
15083         * buffer.C (makeDocBookFile): add a comment to point a hack.
15084         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15085         Fixed a double write of labels.
15086
15087 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15088
15089         * LaTeX.C:
15090         * LaTeX.h Fixed bug in LaTeX class where it would not
15091         re-run latex if no depfiles were changed, but the .dvi was removed.
15092
15093 2001-11-28  André Pönitz <poenitz@gmx.net>
15094
15095         * all the files from the change on 2001/11/26:
15096         use lyx::layout_type instead of LyXTextClass::size_type
15097         use lyx::textclass_type instead of LyXTextClassList::size_type
15098
15099 2001-11-29  Juergen Vigna  <jug@sad.it>
15100
15101         * text.C: added support for paragraph::isFreeSpacing()
15102
15103         * buffer.C: same as above
15104
15105         * paragraph.h: inserted isFreeSpacing() function to enable
15106         FreeSpacing inside InsetERT.
15107
15108         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15109         of the paragraph's in the cut/copy buffer to 0!
15110
15111         * text2.C (removeRow): remove the assert as it can!
15112
15113         * lyxtext.h: added helper function firstRow returning firstrow and
15114         made firstrow private again.
15115
15116         * BufferView2.C (lockInset): don't relock if we're already locked!
15117
15118         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15119         the only paragraph.
15120         (removeRow): added Assert::(firstrow)
15121
15122         * debug.C: forgot to add INSETTEXT here.
15123
15124 2001-11-28  Juergen Vigna  <jug@sad.it>
15125
15126         * sp_spell.C (initialize): changed error text to more general
15127         spellchecker command use (not only ispell!)
15128
15129         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15130
15131         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15132
15133 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15134
15135         * vspace.C: initialise lyxgluelength on failure
15136
15137 2001-11-28  Allan Rae  <rae@lyx.org>
15138
15139         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15140         declaration & definition that looks like a function declaration.
15141
15142 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15143
15144         * BufferView2.C (copy):
15145         (copyEnvironment): do not clear the selection when doing a copy.
15146
15147         * text.C (paintFirstRow): compilation fix
15148
15149 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15150
15151         * tabular.C (Latex): correct line count when writing latex.
15152
15153 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15154
15155         * paragraph_pimpl.h:
15156         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15157           bug a bit
15158
15159 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15160
15161         * text.C:
15162         * LColor.h:
15163         * LColor.C: change vfillline->added_space
15164
15165         * text.C: add markers and text for added space
15166
15167         * vspace.C: fix comment
15168
15169 2001-11-28  André Pönitz <poenitz@gmx.net>
15170
15171         * paragraph.C: whitespace changes
15172         * all the other files from the change on 2001/11/26:
15173         change *::pos_type into lyx::pos_type
15174
15175 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15178         language of the document when inserting error insets.
15179
15180 2001-11-26  André Pönitz <poenitz@gmx.net>
15181
15182         * BufferView_pimpl.[Ch]:
15183         *       CutAndPaste.C:
15184         * buffer.[Ch]:
15185         * lyxcursor.[Ch]:
15186         * lyxfind.C:
15187         * lyxfunc.C:
15188         * lyxrow.[Ch]:
15189         * paragraph.[Ch]:
15190         * paragraph_pimpl.[Ch]:
15191         * sp_spell.C:
15192         * text.C:
15193         * text2.C: reduce header dependencies, introduce type for positions
15194
15195 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15196
15197         * <various>: change to use Alert.h
15198
15199 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15200
15201         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15202         when encountering an unknown token.
15203         (readLyXformat2): Show an error message if there were unknown tokens.
15204
15205 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15206
15207         * BufferView2.C:
15208         * BufferView_pimpl.C:
15209         * buffer.C:
15210         * paragraph.h:
15211         * text.C:
15212         * text2.C: use par->isInset()
15213
15214 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * paragraph_pimpl.h:
15217         * paragraph_pimpl.C: cleanup
15218
15219 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15220
15221         * text2.C (removeRow):
15222         * text.C (setHeightOfRow): remove useless (and costly) call to
15223         getRow.
15224
15225 2001-11-20  Allan Rae  <rae@lyx.org>
15226
15227         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15228         Now need Inset*::checkInsertChar() to return true for appropriate
15229         cases so that the characters in the minibuffer will actually be
15230         inserted.
15231
15232 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15233
15234         * text.C: change the order of the includes.
15235         (workWidth): initialize it at once.
15236         (workWidth): make maxw unsigned
15237         (setHeightOfRow): remove unused variable (inset)
15238         (selectSelectedWord): remove unused variable (inset)
15239         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15240
15241 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15242
15243         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15244         server is not running.
15245         (openConnection):
15246         (closeConnection): add debug info when server is disabled.
15247
15248         * ColorHandler.C (getGCForeground): send debug message to GUI
15249         channel.
15250
15251         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15252
15253         * kbmap.C (bind): modify because return conventions of
15254         kb_sequence::parse have changed.
15255
15256         * kbsequence.C (parse): only ignore spaces and not any stupid
15257         control character. This avoids tests like s[i] <= ' ', which are
15258         guaranteed to fail with 8bit characters and signed chars.
15259         Change return code to string::npos when there have been no error
15260         (0 was a bad idea when error is at first character)
15261
15262 2001-11-14  José Matos  <jamatos@fep.up.pt>
15263
15264         * buffer.h:
15265         * buffer.C (simpleDocBookOnePar): removed unused argument.
15266
15267 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15268
15269         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15270         insets which are part of a word. Paragraph::isLetter takes care of
15271         that now. Use Paragraph::isInset to identify insets.
15272         (selectSelectedWord): do not test for hyphenation break.
15273
15274         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15275         that protected spaces are considered as spaces.
15276
15277         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15278         Inset::isLetter.
15279
15280 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15281
15282         * lyxserver.h:
15283         * lyxserver.C: fix it. and small cleanup.
15284
15285 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15286
15287         * BufferView_pimpl.C: use inline helpers
15288
15289         * LaTeXFeatures.h:
15290         * LaTeXFeatures.C: fix typos
15291
15292         * Spacing.h:
15293         * Spacing.C: move spacing_string into class
15294
15295         * ToolbarDefaults.C: move stuff into namespace anon
15296
15297         * layout.h: update enum
15298
15299         * lyxfunc.C: use better debug
15300
15301         * minibuffer.h: fix typo
15302
15303         * debug.h:
15304         * debug.C:
15305         * WorkArea.C: add and use Debug::WORKAREA
15306
15307         * lyxtext.h:
15308         * text.C:
15309         * text2.C: code re-organisation, inline helpers
15310
15311 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15312
15313         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15314         std::vector.empty().
15315
15316 2001-11-09  Allan Rae  <rae@lyx.org>
15317
15318         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15319         '\n's after tables.  Tabular and ERT inset work now makes this no
15320         longer necessary.
15321
15322 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15323
15324         * minibuffer.h:
15325         * minibuffer.C: fix crash, improve drop-down completion
15326
15327 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15328
15329         * lyxserver.h:
15330         * lyxserver.C: invalidate fd's when doing endPipe()
15331
15332 2001-11-08  José Matos  <jamatos@fep.up.pt>
15333
15334         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15335         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15336
15337         * paragraph.h:
15338         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15339
15340 2001-11-07  José Matos  <jamatos@fep.up.pt>
15341
15342         * buffer.h:
15343         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15344         const qualifier.
15345
15346         * buffer.C (sgmlOpenTag):
15347         * buffer.C (sgmlCloseTag): removed debug info.
15348
15349         * buffer.h (sgmlOpenTag):
15350         * buffer.h (sgmlCloseTag): made public.
15351
15352 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15353
15354         * buffer.C (saveParamsAsDefaults):
15355         * lyx_cb.C (MenuLayoutSave): remove
15356
15357         * LyXAction.C (init):
15358         * commandtags.h:
15359         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15360
15361 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15362
15363         * buffer.C (setPaperStuff): removed from here...
15364
15365         * bufferparams.C (setPaperStuff): ... and moved there.
15366
15367 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15368
15369         * minibuffer.h:
15370         * minibuffer.C:
15371         * XFormsView.C: add support for drop-down completion
15372
15373 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15374
15375         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15376         commands.
15377
15378 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15379
15380         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15381         disabled.
15382
15383 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15384
15385         * lyx_main.C: change ref to known bugs
15386
15387 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15388
15389         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15390         to work around older babel problems.
15391
15392 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15393
15394         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15395
15396 2001-10-24  Juergen Vigna  <jug@sad.it>
15397
15398         * tabular-old.C (ReadOld): below variable changes reflected.
15399
15400         * tabular.[Ch]: added ltType struct for longtable header/footer
15401         defines and changed all instances where they are used. Added
15402         future support for double top/bottom rows.
15403
15404 2001-10-24  José Matos  <jamatos@fep.up.pt>
15405
15406         * buffer.h (docbookHandleCaption):
15407         * buffer.C (docbookHandleCaption): removed unused function.
15408         (makeDocBookFile): moved docbook supported version to v4.1.
15409
15410 2001-10-24  José Matos  <jamatos@fep.up.pt>
15411
15412         * tabular.h:
15413         * tabular.C (docbookRow): new function to export docbook code of a row.
15414         (DocBook): now honors the longtable flags.
15415
15416 2001-10-23  José Matos  <jamatos@fep.up.pt>
15417
15418         * LaTeXFeatures.h:
15419         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15420         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15421
15422         * buffer.C (makeLinuxDocFile):
15423         (makeDocBookFile): reworked the preamble, more clean, and with
15424         support for lyx defined entities. Changed the document declaration
15425         to be more XML friendly.
15426
15427         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15428         if we need to output XML that should be done with a filter.
15429
15430 2001-10-22  Juergen Vigna  <jug@sad.it>
15431
15432         * sp_pspell.h (class PSpell): add alive function needed in the
15433         controller to see if the spellchecker could be started.
15434
15435 2001-10-22  Juergen Vigna  <jug@sad.it>
15436
15437         * buffer.C (insertStringAsLines): modify the font for inserting
15438         chars in certain conditions by calling checkInsertChar(font).
15439
15440 2001-10-19  Juergen Vigna  <jug@sad.it>
15441
15442         * text.C (workWidth): use getRow instead of wrong algorithm.
15443         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15444
15445 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15446
15447         * lyxserver.h:
15448         * lyxserver.C:
15449         * lyx_main.h:
15450         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15451
15452 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15453
15454         * text.C (workWidth): do not search for the exact row when
15455         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15456         optimization for big documents.
15457
15458 2001-10-18  Juergen Vigna  <jug@sad.it>
15459
15460         * text.C (workWidth): new function with added Inset * parameter.
15461
15462 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15465
15466         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15467         change return type of getColumnNearX.
15468
15469
15470         * text.C (changeRegionCase): use uppercase/lowercase instead of
15471         toupper/tolower.
15472         (leftMargin):
15473         (rightMargin): simplify code by factoring out the uses of
15474         textclasslist.
15475         (labelFill):
15476         (numberOfHfills):
15477         (setHeightOfRow):
15478         (appendParagraph): use Paragraph::size_type
15479
15480 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15481
15482         * vspace.C (asLatexString): add a missing break
15483
15484 2001-10-15  Herbert Voss  <voss@perce.de>
15485
15486         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15487
15488 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15489
15490         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15491         is not available.
15492
15493 2001-10-10  André Pönitz <poenitz@gmx.net>
15494
15495         * lyxfunc.C: removed greek_kb_flag.
15496
15497 2001-10-10  Herbert Voss  <voss@perce.de>
15498
15499         * lyx_main.C: delete global string help_lyxdir.
15500
15501 2001-10-09  Herbert Voss  <voss@perce.de>
15502
15503         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15504
15505         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15506
15507         * lyx_main.C: added global string help_lyxdir.
15508
15509         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15510
15511 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15512
15513         * lyxrc.C (set_font_norm_type): support iso8859-4
15514
15515 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15516
15517         * LaTeX.C (deplog): add another regex for MikTeX
15518
15519 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15520
15521         * lyxrc.C (set_font_norm_type): support iso8859-3
15522
15523 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15524
15525         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15526
15527         * LaTeXFeatures.C: remove special case of french and index
15528
15529         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15530         before \begin{document}). This solves several incompatibilities.
15531
15532 2001-10-03  Garst Reese  <reese@isn.net>
15533
15534         * lyx_cb.C: change CheckTex error msg.
15535
15536 2001-10-03  José Matos  <jamatos@fep.up.pt>
15537
15538         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15539
15540 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * .cvsignore: update
15543
15544         * lyx_main.C (commandLineVersionInfo): use new style version info.
15545
15546         * buffer.C (writeFile):
15547         (makeLaTeXFile):
15548         (makeLinuxDocFile):
15549         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15550
15551         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15552
15553         * version.h: update to use stuff in version.C
15554
15555         * version.C.in: new file. Contains version information determined
15556         at compile time. This is a merging of version.h and
15557         version_info.h.in.
15558
15559 2001-10-03  Juergen Vigna  <jug@sad.it>
15560
15561         * BufferView_pimpl.C (update): don't change "dirty" status in
15562         updateInset call.
15563
15564 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15565
15566         * WorkArea.C (c-tor): re-position version string slightly.
15567
15568 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15569
15570         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15571         revert to previous code.
15572
15573         WorkArea.[Ch]: (show, destroySplash): methods removed.
15574
15575         WorkArea.C: rework code so that it's an amalgam of the codes before and
15576         after the splash screen was moved to WorkArea.
15577
15578 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15579
15580         * lyxrc.C (read):
15581         * vspace.C (inPixels):
15582         (lyx_advance):
15583         * kbmap.C (bind):
15584         * buffer.C (insertStringAsLines):
15585         (asciiParagraph): fix types to be large enough
15586
15587         * lyxlex_pimpl.h: change member status from short to int
15588
15589         * layout.h: fix type of endlabeltype
15590
15591         * kbmap.C (bind):
15592         * kbsequence.C (parse): change return type to string::size_type
15593
15594         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15595         variable
15596
15597         * Bullet.C (bulletSize):
15598         (bulletEntry): do not use short ints as parameters
15599
15600         * BufferView2.C (insertLyXFile): change a char to an int.
15601
15602         * WorkArea.C (WorkArea): remove unneeded floats in computation
15603
15604 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15605
15606         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15607
15608         * paragraph.C (asString): Do not ignore newline/hfill chars when
15609         copying to the clipboard.
15610
15611 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15612
15613         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15614         after a multi-line inset.
15615
15616 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15617
15618         * paragraph.C (validate): Set NeedLyXFootnoteCode
15619
15620 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15621
15622         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15623         and decrease-error to decrease.
15624
15625 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15626
15627         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15628         it more readable (should be equivalent)
15629
15630 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15631
15632         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15633
15634 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15635
15636         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15637         of a cursor (row, etc.) after a character has been deleted
15638         (deleteEmptyParagraphMechanism): call the method above on _all_
15639         cursors held by the LyXText when a double space has been
15640         detected/deleted.
15641
15642 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15643
15644         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15645         pixmap.
15646         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15647
15648         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15649         background. Use greyOut() and the new show() methods to toggle between
15650         the foreground and background. Add code to remove the splash after
15651         its initial showing.
15652
15653         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15654         (create_forms): no longer call Dialogs::showSplash.
15655
15656 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15657
15658         * .cvsignore: add version_info.h
15659
15660 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * version_info.h.in: new file
15663
15664         * Makefile.am: add version_info.h.in
15665
15666         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15667         version_info.h instead of VERSION_INFO
15668
15669 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15670
15671         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15672         The ERT inset now returns string().
15673
15674 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15675
15676         * lyxtext.h, text.C (selectNextWord): renamed as
15677         selectNextWordToSpellcheck.
15678
15679         * text.C (selectNextWordToSpellcheck): Modified to not select
15680         words inside an ERT inset.
15681
15682 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15683
15684         * lyx_cb.C (MenuLayoutSave): change a bit the question
15685
15686         * sp_base.h: include <sys/types.h>
15687
15688 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15689
15690         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15691
15692 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15693
15694         * several files: fix typos in user-visible strings
15695
15696 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15697
15698         * text2.C (pasteSelection): do not set the selection, since it
15699         will be cleared later. Actually, the intent was to fix the way the
15700         selection was set, but I figured rmoving the code was just as good.
15701
15702 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15703
15704         * FontLoader.C (available): Check if font is available without
15705         loading the font.
15706
15707 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15708
15709         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15710
15711 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15712
15713         * lyxrc.[Ch]: added display_graphics variable and associated code.
15714
15715 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15716
15717         * bufferparams.C (hasClassDefaults): new method. Returns true if
15718         the buffer parameters correspond to known class defaults
15719
15720 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15721
15722         * XFormsView.C (show): set minimum size to the main window.
15723
15724 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15725
15726         * text2.C (copySelection):
15727         (cutSelection):
15728         * lyxfind.C (LyXReplace):
15729         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15730         LyXText::selectionAsString.
15731
15732         * paragraph.C (asString): add "label" argument to the second form
15733
15734         * text2.C (selectionAsString): add "label" argument and pass it to
15735         Paragraph::asString.
15736
15737 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15738
15739         * lyx_main.C (commandLineHelp): remove version information
15740
15741 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15742
15743         * lyx_main.C: add -version commandline option
15744
15745 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15746
15747         * paragraph.h: make the optional constructor arg required instead.
15748         some modifications to other files because of this.
15749
15750         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15751
15752         * lyxserver.C (C_LyXComm_callback): make it static
15753
15754         * lyx_main.C (error_handler): make it static
15755
15756         * lyx_gui.C (LyX_XErrHandler): make it static
15757
15758         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15759
15760         * WorkArea.C: make the extern "C" methods static.
15761
15762         * Makefile.am (lyx_LDADD): simplify
15763
15764 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15765
15766         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15767         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15768
15769         * LyXAction.C (init):
15770         * lyxfunc.C (dispatch): associated code removal.
15771
15772 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * lyxfont.h (isSymbolFont): shut off warning
15775
15776         * text.C (setHeightOfRow):
15777         (getVisibleRow): fix crash with empty paragraphs which have a
15778         bottom line
15779
15780 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15781
15782         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15783         code.
15784
15785 2001-09-04  José Matos  <jamatos@fep.up.pt>
15786         * buffer.C
15787         * buffer.h
15788         * tabular.C (docbook): rename docBook method to docbook.
15789
15790 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15791
15792         * Makefile.am: add dependencies to main.o.
15793
15794 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15795
15796         * FontLoader.C (available): Return false if !lyxrc.use_gui
15797
15798 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15799
15800         * FontInfo.C (query):
15801         * converter.C (view):
15802         * importer.C (Import):
15803         * exporter.C (Export): Can not -> cannot.
15804
15805 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15806
15807         * BufferView_pimpl.C: allow to create index inset even if
15808           string is empty
15809
15810 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15811
15812         * buffer.C (getLists): replace boost::tie code with an explicit pair
15813         as boost::tie can break some compilers.
15814
15815         * iterators.h: Added a std:: declaration to the return type of
15816         ParIterator::size.
15817
15818 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15819
15820         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15821           case.
15822
15823 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15824
15825         * iterators.[Ch]: New files. Provide paragraph iterators.
15826
15827         * buffer.C (changeLanguage): Use paragraph iterators.
15828         (isMultiLingual): ditto
15829
15830         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15831
15832 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15833
15834         * FontLoader.C: Support for cmr font.
15835
15836 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15837
15838         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15839         (available): New method.
15840
15841         * FontInfo.C (getFontname): Use scalable fonts even when
15842         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15843         found.
15844
15845 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15846
15847         * converter.C (Formats::view): reverted! Incorrect fix.
15848
15849 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15850
15851         * converter.C (Formats::view): only output the -paper option
15852         if the dvi viewer is xdvi, thereby fixing bug #233429.
15853
15854 2001-08-23  Herbert Voss  <voss@perce>
15855
15856         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15857
15858 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15859
15860         * Spacing.h (Spacing): Set space to Default on in the default
15861         constructor.
15862
15863 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15864
15865         * vc-backend.h (RCS::versionString): add RCS to version
15866         (CVS::versionString): add CVS to version
15867
15868         * vc-backend.C (scanMaster): do not add CVS to version.
15869         (scanMaster): do not add RCS to version
15870
15871         * lyxvc.C (versionString): new method
15872
15873         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15874
15875 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15876
15877         * Spacing.C (set): initialize fval
15878
15879 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15880
15881         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15882         " or \.
15883
15884 2001-08-16  Juergen Vigna  <jug@sad.it>
15885
15886         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15887
15888 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15889
15890         * BufferView_pimpl.C:
15891         * figureForm.C:
15892         * lyxtext.h:
15893         * text2.C: setParagraph takes linespacing now
15894
15895 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15896
15897         * LyxAction.C: add internal LFUN_CITATION_INSERT
15898
15899         * LyXView.C: actually apply fix
15900
15901         * bufferlist.C: fix open non-existent file
15902
15903         * lyxfind.C: fix indentation
15904
15905         * lyxfunc.C: remove unneeded assert, fix typo
15906
15907 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15908
15909         * MenuBackend.C: use "Floatname List"
15910
15911 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15912
15913         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15914         when converting LaTeX layout to insetERT.
15915         Generate a non-collapsed float when reading old float
15916
15917 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15918
15919         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15920         ERT insets.
15921
15922 2001-08-13  Juergen Vigna  <jug@sad.it>
15923
15924         * text.C (fill): return 0 instead of 20 as this seems to be the more
15925         correct value.
15926
15927 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15928
15929         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15930         lyxrc.font_norm.
15931
15932 2001-08-13  Juergen Vigna  <jug@sad.it>
15933
15934         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15935         casesensitive off.
15936         (SearchBackward): comment out the unlocking of the inset_owner this
15937         should not be needed!
15938
15939 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15940
15941         * Many files: Remove inherit_language, and add latex_language
15942
15943         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15944         collapsible insets.
15945
15946 2001-08-10  Juergen Vigna  <jug@sad.it>
15947
15948         * text.C (prepareToPrint): fixed hfill-width in draw!
15949
15950         * BufferView2.C (selectLastWord): save the selection cursor as this
15951         now is cleared in the function LyXText::clearSelection!
15952
15953 2001-08-08  Juergen Vigna  <jug@sad.it>
15954
15955         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15956         BACKSPACE type functions.
15957
15958         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15959         is only cutted from the document but not put in the cut-buffer, where
15960         still the old stuff should be.
15961
15962         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15963
15964         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15965
15966         * tabular.C (SetWidthOfCell): fixed special case where the width
15967         was not updated!
15968         (LeftLine): handle '|' in align_special.
15969         (RightLine): ditto
15970         (LeftAlreadyDrawed): ditto
15971         (SetWidthOfCell): ditto
15972
15973 2001-08-07  Juergen Vigna  <jug@sad.it>
15974
15975         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15976
15977 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15978
15979         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15980         * lyxlex.[hC]: ditto
15981
15982 2001-08-06  Juergen Vigna  <jug@sad.it>
15983
15984         * text.C (getVisibleRow): fix up row clearing a bit.
15985
15986 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15987
15988         * minibuffer.C: make sure the X server sees the changes in the input.
15989
15990 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15991
15992         * paragraph.C (getFont): split into...
15993         (getLabelFont): this
15994         (getLayoutFont): and this
15995         * paragraph_pimpl.C (realizeFont): calling this
15996
15997         * text2.C (getFont): split into...
15998         (getLayoutFont): this
15999         (getLabelFont): and this
16000         (realizeFont): all three calling this
16001
16002         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16003         files where used.
16004
16005 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16006
16007         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16008
16009 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16010
16011         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16012         layouts from the Quote inset insertion.
16013
16014 2001-08-03  Juergen Vigna  <jug@sad.it>
16015
16016         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16017
16018         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16019         only if status not is already CHANGED_IN_DRAW (second level).
16020
16021         * text.C (draw): don't set the need_break_row when inside an
16022         InsetText LyXText.
16023
16024 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * buffer.C (parseSingleLyXformat2Token): handle more latex
16027         conversion cases.
16028
16029         * bufferview_funcs.[hC]: change function names to
16030         begin with small char, adjust other files.
16031
16032 2001-08-02  André Pönitz <poenitz@gmx.net>
16033
16034         * lyxfunc.C:
16035         BufferView_pimpl.C: remove broken special code for math-greek
16036
16037 2001-08-02  Juergen Vigna  <jug@sad.it>
16038
16039         * BufferView_pimpl.C (update): redone this function so that we
16040         update the text again if there was a CHANGE_IN_DRAW.
16041
16042         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16043         (drawFromTo): added a new internal bool which is used by draw() and
16044         redraw() function.
16045         (general): some cursor drawing problems fixed.
16046
16047 2001-08-01  Juergen Vigna  <jug@sad.it>
16048
16049         * lyxfind.C (LyXFind): fixed
16050         (SearchForward): ditto
16051         (SearchBackward): ditto
16052
16053         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16054         spurius drawing of the cursor in the main area.
16055
16056         * text2.C (status): small fix which could lead to a segfault!
16057         (clearSelection): remove unneeded BufferView param.
16058
16059 2001-08-01  André Pönitz <poenitz@gmx.net>
16060
16061         * lyxfunc.C: small change due to changed mathed interface
16062
16063 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16064
16065         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16066
16067 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16068
16069         * lyxfunc.c: fail gracefully if file doesn't exist
16070
16071         * LyXSendto.C:
16072         * buffer.C:
16073         * lyxfunc.C:
16074         * BufferView_pimpl.C: IsDirWriteable() proto changed
16075
16076         * LyXView.C: fix updateWindowTitle() to store the last title
16077
16078 2001-07-31  Juergen Vigna  <jug@sad.it>
16079
16080         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16081         the font (wrong since using of Paragraph::highestFontInRange).
16082
16083         * paragraph.C (highestFontInRange): added a default_size parameter.
16084
16085         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16086         (setHeightOfRow): reformat
16087
16088 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16089
16090         * converter.[hC] + affected files: move to (inital-char)lowercase
16091         function names.
16092
16093         * ParagraphParameters.C (ParagraphParameters): remove commented code
16094
16095         * PainterBase.[Ch]: remove commented code
16096
16097         * LaTeXFeatures.h: add "bool floats" for float.sty
16098
16099         * LaTeXFeatures.C (LaTeXFeatures): init floats
16100         (require): handle float
16101         (getPackages): do it with floats
16102
16103 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16104
16105         * BufferView_pimpl.C (Dispatch): improve handling of
16106         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16107
16108         * commandtags.h: #include lyxfont.h here temporarily to avoid
16109         keybinding bug.
16110
16111         * bufferlist.h: include LString.h here.
16112
16113 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16114
16115         * text2.C (getStringToIndex): new method.
16116
16117 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16118
16119         * *: Reduced header file dependencies all over.
16120
16121 2001-07-30  Baruch Even  <baruch@lyx.org>
16122
16123         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16124
16125 2001-07-29  Baruch Even  <baruch@lyx.org>
16126
16127         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16128
16129 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16130
16131         * ParameterStruct.h (endif): add a default constructor to make
16132         sure that all variables is initialized.
16133
16134         * ParagraphParameters.C (ParagraphParameters): adjust
16135
16136 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16137
16138         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16139         index; also, check that there is something to index, and that it
16140         does not span over several paragraphs.
16141         (doubleClick): use WHOLE_WORD_STRICT for double click.
16142
16143         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16144
16145         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16146         scheme.
16147
16148 2001-07-26  Baruch Even  <baruch@lyx.org>
16149
16150         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16151         an InsetFig figure, backwards compatible reading of old figure code.
16152
16153 2001-07-27  Juergen Vigna  <jug@sad.it>
16154
16155         * text2.C: font.realize function adaption.
16156
16157         * text.C (draw): add a warnings lyxerr text if needed.
16158
16159         * layout.C: font.realize function adaption.
16160
16161         * language.C: add inherit_language and implement it's handlings
16162
16163         * bufferview_funcs.C (StyleReset): remove language parameter from
16164         font creation (should be language_inherit now).
16165
16166         * bufferparams.C (writeFile): handle ignore_language.
16167
16168         * paragraph.C (getFontSettings): the language has to be resolved
16169         otherwise we have problems in LyXFont!
16170
16171         * lyxfont.C (lyxWriteChanges): added document_language parameter
16172         (update): removed unneeded language parameter
16173
16174         * paragraph.C (validate): fixed wrong output of color-package when
16175         using interface colors for certain fonts in certain environments,
16176         which should not seen as that on the final output.
16177
16178 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16179
16180         * BufferView_pimpl.C:
16181         * Thesaurus.h:
16182         * Thesaurus.C:
16183         * Makefile.am:
16184         * commandtags.h:
16185         * LyXAction.C: add thesaurus support
16186
16187         * lyxfind.h:
16188         * lyxfind.C: add "once" parameter, for thesaurus, to not
16189           move to the next match
16190
16191 2001-07-26  Juergen Vigna  <jug@sad.it>
16192
16193         * lyxfont.C (realize): honor ignore_language too!
16194         (resolved): ditto.
16195
16196         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16197
16198         * text.C (draw): one place more for ignore_language to not draw
16199         itself!
16200
16201 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16202
16203         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16204
16205 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16206
16207         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16208         the minipage conversion problem.
16209
16210 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16211
16212         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16213         insert an inset.
16214
16215 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16216
16217         * BufferView.h: don't forward declare WorkArea
16218
16219         * BufferView.C: don't include WorkArea.h
16220
16221 2001-07-25  André Pönitz <poenitz@gmx.net>
16222
16223         * commandtags.h:
16224         * LyXAction.C:
16225         * lyxfunc.C:  new LFUN 'math-space'
16226
16227         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16228
16229 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16230
16231         * text2.C (toggleInset): call open/close
16232
16233 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16234
16235         * lyxfunc.C (dispatch): add debug for the disabled case
16236
16237         * font.C (buttonText): make similar to rectText
16238
16239         * buffer.C (readInset): comment out parsing of insetlist and
16240         insttheorem
16241
16242         * PainterBase.C (rectText): small correction
16243
16244         * BufferView_pimpl.C: comment out insettheorem and insetlist
16245         * LyXAction.C: ditto
16246         * commandtags.h: ditto
16247
16248 2001-07-24  Juergen Vigna  <jug@sad.it>
16249
16250         * text.C (draw): honor the ignore_language.
16251
16252         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16253
16254 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16255
16256         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16257         char inset.
16258
16259 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16260
16261         * lyxtext.h: remove unused (and unimplemented) methods
16262
16263 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16264
16265         * text.C (getVisibleRow): honor background color
16266
16267         * PainterBase.h:
16268         * Painter.h: remove default color argument for fillRectangle
16269
16270         * text.C (backgroundColor): new method
16271
16272 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16273
16274         * text.C (getVisibleRow): adjust
16275
16276         * font.[Ch] (rectText): new method, metrics
16277         (buttonText): new method, metrics
16278
16279         * PainterBase.[hC]: make rectText and buttonText always draw and take
16280         fewer paramteres.
16281
16282 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16283
16284         * ToolbarDefaults.C (read):
16285         * MenuBackend.C (read): allow escaping in all strings
16286
16287         * BufferView_pimpl.C (insertAndEditInset): new method.
16288         (Dispatch): use insertAndEditInset whenever appropriate.
16289
16290         * BufferView_pimpl.C (insertNote): removed
16291
16292         * BufferView_pimpl.C (smartQuote): new method, moved from
16293         BufferView; if an insetquote cannot be inserted, insert a '"'
16294         character instead.
16295
16296         * BufferView2.C: remove insertCorrectQuote();
16297
16298         * lyxfunc.C (getStatus): Add support for all remaingin
16299         inset-insert lfuns.
16300
16301         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16302
16303         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16304         command (necessary to pass " as parameter of self-insert.
16305
16306         * text.C (selectWordWhenUnderCursor):
16307         (selectWord): add word_location parameter
16308         (selectWordWhenUnderCursor): same + remove special code for word
16309         boundary.
16310         (selectNextWord): use kind() to guess type of insetspecialchar,
16311         not latex().
16312
16313         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16314         (insertErtContents): create ert insets as collapsed.
16315         (readInset): better compatibility code for Info inset.
16316
16317 2001-07-20  Juergen Vigna  <jug@sad.it>
16318
16319         * lyxfunc.C (dispatch): use always LyXFind now!
16320
16321         * text2.C (init): add a reinit flag so that the LyXText can be
16322         reinited instead of deleted and reallocated (used in InsetText).
16323
16324         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16325
16326         * text.C: ditto
16327
16328         * text2.C: ditto
16329
16330 2001-07-18  Juergen Vigna  <jug@sad.it>
16331
16332         * text.C (selectNextWord): handle insets inside inset by calling
16333         always the bv->text functions so that we can go up the_locking_inset!
16334
16335         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16336         in strange locations when inside an inset!
16337
16338         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16339         handling to include insets.
16340
16341         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16342
16343 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16344
16345         * LyXAction.C (init):
16346         * commandtags.h:
16347         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16348         LIGATURE_BREAK, since the name is so stupid.
16349
16350 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16351
16352         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16353         InsetInfos.
16354
16355         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16356
16357         * sp_form.[Ch]: remove.
16358
16359         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16360
16361         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16362         InsetInfo.
16363
16364         * src/buffer.C (readInset): ditto.
16365
16366 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16367
16368         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16369         menuSeparator(), endOfSentenceDot(), ldots() and
16370         hyphenationPoint(), which are therefore removed.
16371         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16372
16373         * LyXAction.C (init):
16374         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16375
16376         * paragraph.C (getWord): removed.
16377
16378         * BufferView_pimpl.C (Dispatch): use last word or selection for
16379         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16380
16381         * lyx_main.C (queryUserLyXDir): do not ask before creating
16382         user_dir, except if it has been named explicitely.
16383
16384 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16385
16386         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16387         a document of zero size.
16388
16389 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16390
16391         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16392         approriately in the c-tor and in require().
16393         (getPackages): output the appropriate LaTeX for natbib support.
16394
16395         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16396         variables "use_natbib" and "use_numerical_citations" when reading the
16397         LyX file.
16398         (readInset): read the various natbib cite commands.
16399         (validate): white-space change.
16400
16401         * bufferparams.[Ch]: new variables "bool use_natbib" and
16402         "bool use_numerical_citations".
16403         (writeFile): output them in the LyX file.
16404
16405 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16406
16407         * lyxfunc.C (getStatus): add support for all the inset insertion
16408         commands.
16409
16410         * text2.C (insertInset):
16411         * paragraph.C (insetAllowed):
16412         * BufferView_pimpl.C (insertInset): update to take in account the
16413         renaming of insertInsetAllowed
16414
16415         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16416
16417         * text2.C (getInset): new method. returns inset at cursor position.
16418
16419         * BufferView_pimpl.C (Dispatch): changes because of this.
16420
16421         * LyXAction.C (init): rename open-stuff to inset-toggle.
16422
16423         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16424
16425         * text2.C (toggleInset): renamed from openStuff; use
16426         Inset::open().
16427
16428 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16429
16430         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16431
16432         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16433
16434 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16435
16436         * buffer.C (readLyXformat2): Add filename to the error dialog
16437
16438 2001-07-18  Juergen Vigna  <jug@sad.it>
16439
16440         * tabular.C (GetCellNumber): put an assert here instead of the check!
16441
16442 2001-07-17  Juergen Vigna  <jug@sad.it>
16443
16444         * BufferView_pimpl.C (toggleSelection): adapted too.
16445
16446         * text.C (selectNextWord): adapted for use with insets.
16447         (selectSelectedWord): ditto
16448
16449 2001-07-17  Juergen Vigna  <jug@sad.it>
16450
16451         * sp_spell.C (PSpell): fix initialitation order.
16452
16453 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16454
16455         * paragraph.C: spacing
16456
16457 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16458
16459         * sp_spell.C: repair language selection for pspell
16460
16461 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16462
16463         * lyxfunc.h: change more methods to begin with lower char.
16464
16465 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16466
16467         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16468         for unknown layouts.
16469
16470 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16471
16472         * buffer.C (readLyXformat2): Generate an error dialog if there are
16473         unknown layouts.
16474
16475 2001-07-16  Juergen Vigna  <jug@sad.it>
16476
16477         * sp_spell.C: always compile ISpell part.
16478
16479         * lyxrc.C: added use_pspell entry and it's handling.
16480
16481 2001-07-13  Juergen Vigna  <jug@sad.it>
16482
16483         * sp_spell.C: removed double includes.
16484
16485 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16486
16487         Consistent use of Lsstream.h:
16488         * Lsstream.h: added using std::stringstream for consistencies sake.
16489
16490         * buffer.C: removed using std::stringstream
16491
16492         * lyxfont.C (stateText):
16493         * paragraph.C (asString):
16494         * text.C (selectNextWord, selectSelectedWord):
16495         * text2.C (setCounter):
16496         * vspace.C (asString, asLatexString):
16497         std::ostringstream -> ostringstream.
16498
16499 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16500
16501         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16502         * commandtags.h: add LFUN_HELP_ABOUTLYX
16503         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16504
16505 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16506
16507         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16508         cursorToggle()
16509         * lyx_gui_misc.C: remove spellchecker
16510         * lyxfunc.C: showSpellchecker
16511         * sp_base.h: added
16512         * sp_ispell.h: added
16513         * sp_pspell.h: added
16514         * sp_spell.C: added
16515         * sp_form.[Ch]: removed
16516         * spellchecker.[Ch]: removed
16517
16518 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16519
16520         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16521         is set.
16522         (simpleTeXSpecialChars): Simply print the input character without
16523         any special translation if pass_thru is set.
16524
16525         * layout.h: Added bool pass_thru to layout class for being able to
16526         implement pass through of a paragraph for Literate Programming.
16527
16528         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16529         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16530         * layout.C (Read): add "passthru" to list of layout tags and add
16531         code to set the pass_thru boolean when it is read.
16532
16533 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16534
16535         * trans_decl.h: remove allowed from KmodInfo
16536
16537         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16538         remove allowed code
16539         (Load): adjust
16540
16541         * paragraph_pimpl.C (erase): use boost::prior
16542
16543         * Painter.C (text): use data() instead of c_str() when length is
16544         also provided.
16545         * WorkArea.C (putClipboard): ditto
16546         * font.h (width): ditto
16547
16548         * BufferView2.C: use it-> instead of (*it). for iterators
16549         * texrow.C: ditto
16550         * paragraph_pimpl.C: ditto
16551         * paragraph.C: ditto
16552         * minibuffer.C: ditto
16553         * language.C: ditto
16554         * kbmap.C: ditto
16555         * encoding.C: ditto
16556         * counters.C: ditto
16557         * converter.C: ditto
16558         * chset.C: ditto
16559         * Variables.C: ditto
16560         * TextCache.C: ditto
16561         * MenuBackend.C: ditto
16562         * LyXAction.C: ditto
16563         * LColor.C: ditto
16564         * FloatList.C: ditto
16565         * DepTable.C: ditto
16566         * ColorHandler.C (LyXColorHandler): ditto
16567
16568 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16569
16570         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16571
16572         * text2.C (openStuff): reintroduce this method (which had been
16573         nuked in NEW_INSETS frenzy).
16574
16575         * lyxfunc.C (Dispatch): when an action has not been handled, use
16576         its name in the error message, not its number.
16577
16578         * paragraph.C (inInset): change method name to begin with lowercase.
16579
16580         * undo_funcs.C:
16581         * text2.C: updates because of this.
16582
16583 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16584
16585         * ToolbarDefaults.C (add): add spaces in error message
16586
16587 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16588
16589         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16590         (readLyXformat2): rename return_par to first_par, use lyxlex's
16591         pushToken and remove the manual push handling.
16592         (parseSingleLyXformat2Token): add another ert comp. variable:
16593         in_tabular, rename return_par to first_par. handle newlines better
16594
16595 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16596
16597         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16598
16599 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16600
16601         * text2.C (getParFromID): removed
16602
16603         * buffer.C (getParFromID): new method moved form lyxtext.
16604         * BufferView2.C (insertErrors): adjust
16605         (setCursorFromRow): adjust
16606         * BufferView_pimpl.C (restorePosition): adjust
16607         * lyxfunc.C (Dispatch): adjust
16608         * undo_funcs.C (textUndo): adjust
16609         (textRedo): adjust
16610         (textHandleUndo): adjust
16611         (textHandleUndo): adjust
16612
16613 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16614
16615         * buffer.C: up' the LYX_FORMAT
16616
16617         * lyxfont.h: turn NO_LATEX on as default
16618
16619         * buffer.C (insertErtContents): new methods of tex style compability.
16620         (parseSingleLyXformat2Token): use it several places.
16621         * tabular.C (OldFormatRead): and here
16622
16623 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16624
16625         * text2.C: remove some commented code.
16626         reindent file.
16627
16628         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16629         * trans.C: changes because of the above.
16630
16631 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16632
16633         * text2.C (setCounter): Fix counters bug with bibliography layout.
16634
16635 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16636
16637         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16638         own member functions
16639         (simpleTeXSpecialChars): ditto
16640
16641 2001-07-06  Juergen Vigna  <jug@sad.it>
16642
16643         * a lot of files: changed the access to LyXText::status and the
16644         call of undo-functions.
16645
16646         * undo.[Ch]: added a inset_id to the undo informations.
16647
16648         * undo_funcs.[Ch]: added and moved here all undo functions.
16649
16650         * lyxtext.h: give the status enum a weight, made status_ a private
16651         variable and made accessor functions for it, removed the whole bunch
16652         of undo-functions as they are now in their own file, make some
16653         functions publically available. Added function ownerParagraph with
16654         int parameter.
16655
16656         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16657         made InInset() a const function, added getParFromID() function.
16658
16659         * buffer.[Ch]: added const version for inset_iterator functions,
16660         added getInsetFromID() function.
16661
16662         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16663         changed undo functions for new version.
16664
16665 2001-07-05  Juergen Vigna  <jug@sad.it>
16666
16667         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16668         unknow mechanism does not call the proper constructor but only this
16669         one also if I request the other!?
16670
16671 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16672
16673         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16674
16675         * text2.C (LyXText): use initialization lists.
16676
16677         * lyxtext.h (Selection): initialize set_ and mark_
16678         (init): remove method
16679
16680 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16681
16682         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16683
16684 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16685
16686         * screen.[Ch]: change method names to begin with lowercase
16687
16688         * BufferView_pimpl.C (updateScrollbar): simplify further and
16689         hopefully make it a bit faster.
16690
16691 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16692
16693         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16694         calling directly xforms functions.
16695
16696         * Painter.C (Painter):
16697         * lyx_cb.C (MenuWrite):
16698         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16699         fl_display.
16700
16701         * lyx_gui.C: remove bogus guiruntime extern declaration.
16702
16703 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16704
16705         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16706         in NEW_INSETS
16707         (redoDrawingOfParagraph): ditto
16708         (redoParagraphs): ditto
16709         (cutSelection): don't create a object for CutAndPaste use the
16710         static method directly
16711         (pasteSelection): ditto
16712
16713         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16714         LyXview (+ rename)
16715
16716 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16717
16718         * modifications to some other files because of this.
16719
16720         * Makefile.am (lyx_SOURCES): add XFormsView
16721
16722         * XFormsView.[Ch]: new files
16723
16724         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16725         the main window. Move the gui dependent stuff to XFormsView
16726
16727 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16728
16729         * tabular.C (GetCellInset): update cur_cell also in the row/col
16730         version of this function.
16731
16732         * lyxfunc.C: no need to include figure_form.h here.
16733
16734         * FontLoader.h:
16735         * lyxfunc.h:
16736         * lyxscreen.h:
16737         * text2.C:
16738         * lyxvc.C: no need to include forms.h here.
16739
16740 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16741
16742         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16743
16744         * lyxfunc.C (Dispatch):
16745         * Spacing.C (set):
16746         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16747         constructor argument.
16748
16749 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16750
16751         * paragraph.C (Paragraph): dont't clear, and just set layout.
16752         (makeSameLayout): use params's copy contructor.
16753
16754         * ParagraphParameters.[Ch] (makeSame): delete method
16755
16756 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16757
16758         * Variables.[Ch]: fix indentation, rename set to isSet
16759
16760 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16761
16762         * lyxfunc.C (Dispatch): fix typo
16763
16764 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16765
16766         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16767         upper_bound.
16768
16769         * bufferlist.C: include assert.h for emergencyWrite().
16770
16771 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16772
16773         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16774           give up at last (bug #425202) !
16775
16776 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16777
16778         * lyx_gui_misc.C:
16779         * sp_form.h:
16780         * sp_form.C:
16781         * spellchecker.h:
16782         * spellchecker.C: strip spellchecker options and bring up
16783           preferences tab instead
16784
16785 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16786
16787         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16788         the istringstream constructor
16789
16790 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16791
16792         * paragraph.C (getLayout): fix return value
16793
16794         * paragraph.h: do not declare getLayout as inline.
16795
16796         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16797
16798 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16799
16800         * lyxcursor.h (operator<): new func
16801         (operator>): new func
16802         (operator>=): new func
16803         (operator<=): new func
16804
16805         * text.C (changeCase): use selection.start and selection.end
16806         (changeRegionCase): require from to be <= to. Require par to be a
16807         valid paragraph.
16808
16809         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16810
16811 2001-06-27  Juergen Vigna  <jug@sad.it>
16812
16813         * text.C (cursorLeftOneWord): changed to return the cursor and added
16814         overlay with BufferView * parameter which calls this one.
16815         (getWord): added
16816         (selectWord): use new getWord function.
16817         (changeCase): renamed from changeWordCase as and extended to work
16818         also on selections.
16819
16820         * lyxtext.h: added enum word_location
16821
16822         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16823         changeCase as this operates now also on selections.
16824
16825 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16826
16827         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16828
16829         * many files: send debug output to Debug::INFO instead of
16830         Debug::ANY.
16831
16832         * converter.C (View):
16833         (Convert):
16834         (Move): send debug output to Debug::FILES instead of console.
16835
16836 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16837
16838         * lyxfunc.C (getStatus): use func_status
16839
16840         * func_status.h: new header, describing the results of
16841         LyXFunc::getStatus;
16842
16843         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16844         LFUN_MATH_HALIGN.
16845
16846 2001-06-25  The LyX Project  <jug@sad.it>
16847
16848         * buffer.C (sgmlOpenTag):
16849         (sgmlCloseTag):
16850         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16851
16852 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16853
16854         * text2.C: remove some dead code
16855
16856         * tabular.C (GetCellInset): store the last cell checked (gotten)
16857
16858         * tabular.h: add the helper for the speedup
16859
16860         * lyxtext.h: remove some dead code
16861
16862 2001-06-26  The LyX Project  <Asger>
16863
16864         * paragraph.C: Change export to LaTeX of alignment to
16865         \begin{center} and family for better roundtrip work with reLyX.
16866
16867         * Tune the math drawing a bit.
16868
16869 2001-06-25  The LyX Project  <Asger>
16870
16871         * LColor.C (LColor): New color for math background. New color
16872         for buttons.
16873
16874 2001-06-25  The LyX Project  <jug@sad.it>
16875
16876         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16877
16878         * lyxfunc.C (Open):
16879         * bufferlist.C (newFile): do not restrict to files ending with
16880         .lyx
16881
16882         * BufferView_pimpl.C (MenuInsertLyXFile):
16883
16884 2001-06-24  The LyX Project  <jug@sad.it>
16885
16886         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16887         of compare_no_case
16888
16889 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16890
16891         * lyxtext.h: rename most methods to begin with a small char.
16892         Lots of changes because of this.
16893
16894         * paragraph.C (Paragraph): do not call fitToSize
16895         (erase): call Pimpl::erase
16896         (insertChar): call Pimpl::insertChar
16897         (insertInset): call Pipl::insertInset
16898         (breakParagraph): do not call fitToSize
16899         (breakParagraphConservative): do not call fitToSize
16900         (fitToSize): remove method
16901
16902         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16903
16904 2001-06-24  The LyX Project  <Asger>
16905
16906         * Fix Qt compilation^2
16907
16908 2001-06-24  The LyX Project  <jug@sad.it>
16909
16910         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16911         depthHook(getDepth()-1).
16912
16913         * paragraph.h:
16914         * ParagraphParameters.h:
16915         * ParameterStruct.h: change type of depth to unsigned int ==
16916         depth_type. Many adaptations to other files before of that.
16917
16918 2001-06-24  The LyX Project  <Asger>
16919
16920         * Fix Qt compilation.
16921
16922 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16923
16924         * paragraph.h: renamed several methods to begin with small letter.
16925         several changes to many parts of the code because of this.
16926
16927 2001-06-23  The LyX Project  <jug@sad.it>
16928
16929         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16930         rewritten to discard all double spaces when KeepEmpty is off
16931         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16932         to only handle newlines but not fiddle with spaces and friends.
16933
16934         * lyxfunc.C (MenuNew): when doing 'new from template', use
16935         template_path as default directory
16936
16937 2001-06-23  The LyX Project  <Asger>
16938
16939         * Clean-up of header file includes all over
16940         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16941
16942 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16943
16944         * paragraph.h: renamed from lyxparagraph.h
16945
16946 2001-06-23  Asger  <lyx@violet.home.sad.it>
16947
16948         * Buffer.h: Removed Buffer::resize
16949         * BufferList.h: Removed BufferList::resize
16950         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16951         the document lazily when we change the width, or the font settings.
16952
16953 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16954
16955         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16956
16957 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16958
16959         * buffer.h: remove out of date comment
16960
16961 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16962
16963         * lyxscreen.h:
16964         * screen.C: fix "theoretical" GC leak
16965
16966 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16967
16968         * LaTeX.C (scanAuxFile):
16969         (deplog): remove trailing \r when reading stream (useful under
16970         win32)
16971
16972 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16973
16974         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16975         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16976         and BufferView::theLockingInset(Inset*), so should use them and not
16977         access bv_->text->the_locking_inset directly.
16978
16979         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16980
16981 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16982
16983         * Makefile.am:
16984         * tex-defs.h: remove old unused file
16985
16986 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16987
16988         * BufferView_pimpl.C: fix typo, remove minibuffer message
16989           when buffer has loaded
16990
16991 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16992
16993         * lyxfunc.C (Dispatch): use stringstream
16994         (MenuNew): use stringstream
16995         (Open): use stringstream
16996
16997         * importer.C (Import): use stringstream
16998
16999         * bufferview_funcs.C (CurrentState): use stringstream
17000
17001         * LaTeX.C (run): use stringstream
17002
17003         * BufferView_pimpl.C (savePosition): use stringstream
17004         (restorePosition): use stringstream
17005         (MenuInsertLyXFile): use stringstream
17006
17007 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17008
17009         * BufferView.C:
17010         * Bullet.C:
17011         * ColorHandler.C:
17012         * FontInfo.C:
17013         * FontLoader.C:
17014         * LColor.C:
17015         * LaTeXFeatures.C:
17016         * Painter.C:
17017         * gettext.C:
17018         * lyx_gui_misc.C:
17019         * lyxserver.C:
17020         * vspace.C: removed // -*- C++ -*- as first line.
17021
17022         * lyxfind.h:
17023         * version.h: added // -*- C++ -*- as first line.
17024
17025 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17026
17027         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17028
17029         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17030         of string
17031
17032 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17033
17034         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17035         of floats.
17036
17037 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17038
17039         * gettext.C: include LString.h even when --disable-nls is on.
17040
17041 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17042
17043         * converter.h (Get): changed argument type from int to
17044         FormatList::size_type to avoid unnecessary conversion.
17045
17046         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17047         before using it.
17048
17049 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17050
17051         * gettext.h: include LString.h even when --disable-nls is on.
17052
17053 2001-06-07  Juergen Vigna  <jug@sad.it>
17054
17055         * text.C (BreakAgain): subst spaces with tabs.
17056
17057         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17058         (resizeInsetsLyXText): set force on resizeLyXText.
17059
17060 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17061
17062         * gettext.h (gettext_init):
17063         (locale_init): use a real definition instead of a macro
17064
17065 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17066
17067         * Bufferview_pimpl.C:
17068         * LColor.h:
17069         * LColor.C: further lcolor tidies
17070
17071 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17072
17073         * BufferView_pimpl.C (updateScrollbar): simplify.
17074
17075         * BufferView2.C: don't include insets/insetinfo.h, change
17076         prototype for insertInset and call the Pimpl version. let
17077         updateInset call Pimpl version.
17078
17079         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17080         gotoInset to BufferView::Pimpl
17081
17082 2001-06-01  Juergen Vigna  <jug@sad.it>
17083
17084         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17085         inside a LockingInset (is the update needed at all?).
17086
17087 2001-05-31  Juergen Vigna  <jug@sad.it>
17088
17089         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17090         here not the old one otherwise how should we compare it afterwards
17091         if it's the same!
17092
17093 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17094
17095         * lyxfont.C:
17096         * tabular.C:
17097         * tabular-old.C:
17098         * FontInfo.C: bring C functions into global namespace when
17099         necessary
17100
17101 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17102
17103         * LString.h: make sure config.h has been loaded before LString.h.
17104
17105         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17106         (one for each char read by EatLine!).
17107
17108         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17109         variables.
17110
17111 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17112
17113         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17114         to the same as the par we break from
17115
17116 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17117
17118         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17119
17120         * MenuBackend.C (expand): also create menu entries for wide
17121         versions of the floats.
17122
17123         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17124
17125         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17126
17127         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17128         frontends/Makefile.am
17129
17130         * text2.C: adjust
17131         * text.C: adjust
17132
17133
17134         * tabular.C (getTokenValue): add std::
17135
17136         * tabular-old.C (getTokenValue): add std::
17137         (getTokenValue): ditto
17138         (getTokenValue): ditto
17139
17140         * screen.C (ToggleSelection): adjust
17141
17142         * lyxtext.h: put selection cursors inside a Selection struct.
17143
17144         * lyxfunc.C (moveCursorUpdate): adjust
17145
17146         * lyxfont.C (latexWriteStartChanges): add std::
17147
17148         * lyxfind.C: adjust
17149
17150         * font.h: delete with(char const *, LyXFont const &)
17151
17152         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17153
17154         * FontInfo.C (getFontname): add std::
17155
17156         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17157         (workAreaButtonPress): adjust
17158         (tripleClick): adjust
17159         (update): adjust
17160         (moveCursorUpdate): adjust
17161         (Dispatch): adjust
17162
17163         * BufferView2.C (gotoInset): adjust
17164
17165 2001-05-30  Juergen Vigna  <jug@sad.it>
17166
17167         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17168         to check pspell I add this as default as I now have new pspell
17169         libraries and they seem to use this.
17170
17171 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17172
17173         * text2.C (CutSelection): make the cursor valid before the call to
17174         ClearSelection.
17175
17176 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17177
17178         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17179         relied on 0 terminated strings and other horrors. Bug found due to
17180         the new assert in lyxstring!
17181
17182         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17183         KP_ keys.
17184
17185 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17186
17187         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17188         to latinkeys.bind.
17189
17190         * lyxfunc.C (processKeySym): change method of getting to the
17191         self-insert char.
17192
17193         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17194         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17195         * BufferView_pimpl.[Ch]: here as private methods.
17196
17197 2001-05-28  Juergen Vigna  <jug@sad.it>
17198
17199         * text.C (SetHeightOfRow): added the update() call again as it is
17200         needed to initialize inset dimensions!
17201
17202 2001-05-16  Juergen Vigna  <jug@sad.it>
17203
17204         * text2.C (SetCharFont): Add new function with BufferView * and
17205         bool toggleall parameters for setting insets internal fonts.
17206         (SetFont): Freeze the undo as we may change fonts in Insets and
17207         all this change should be inside only one Undo!
17208
17209         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17210         setting font's in insets as for them we have the SetFont function!
17211
17212 2001-05-15  Juergen Vigna  <jug@sad.it>
17213
17214         * text2.C (ClearSelection): to be sure we REALLY don't have any
17215         selection anymore!
17216
17217         * tabular.C (TeXCellPreamble): fixed the left border problem for
17218         multicolumn cells.
17219
17220 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17221
17222         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17223         dependancy file
17224
17225 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17226
17227         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17228         LFUN_BREAKPARAGRAPH.
17229
17230         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17231         help test to "internal only", similar for LFUN_INSERT_URL
17232
17233         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17234         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17235         auto_region_delete and deadkeys.
17236
17237 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17238
17239         * LColor.h:
17240         * LColor.C: remove some dead entries, tidy a little
17241
17242 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17243
17244         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17245         commented code.
17246         (Dispatch): implement LFUN_ESCAPE
17247
17248         * commandtags.h: add LFUN_ESCAPE
17249
17250         * LyXAction.C (init): add entry for LFUN_ESCAPE
17251
17252         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17253         Remove commented code.
17254         (insertNote): moved here
17255         (open_new_inset): moved here
17256
17257         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17258         BufferView_pimpl
17259
17260 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17261
17262         * kbmap.C (findbinding): clean it up and make it work correctly.
17263
17264         * lyx_main.C (init): do not pass argc and argv as parameters
17265
17266 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17267
17268         * buffer.C: fix path for OS/2 & Win32
17269
17270         * lyx_gui.C:
17271         * lyx_main:
17272         * lyx_main.C: Added os:: class.
17273
17274         * os2_defines.h: update
17275
17276 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17277
17278         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17279         better by trying again with reduced state.
17280
17281 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17282
17283         * lyxrc.C (read): print error about invalid key sequence only when
17284         debugging (because not all latinX keysyms are known to some X
17285         servers)
17286
17287         * kbsequence.C (getiso): add a few std:: qualifiers
17288         (getiso): comment out extra return statement.
17289
17290 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17291
17292         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17293         handling.
17294         (Dispatch): enhance the accent inset a bit. (not perfect)
17295
17296 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17297
17298         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17299
17300 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17301
17302         * bufferlist.C (emergencyWrite): fix assert() call
17303
17304 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17305
17306         * text.C (InsertChar): Added trivial patch to only send the "you
17307         can not do multiple spaces this way" message once during a
17308         session.
17309
17310 2001-05-08  Baruch Even  <baruch@lyx.org>
17311
17312         * Makefile.am: Changed order of libraries to get LyX to link properly
17313         with the gnome frontend.
17314
17315 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17316
17317         * LaTeXFeatures.h: add a std:: qualifier
17318
17319 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17320
17321         * paragraph.C (String): use stringstream
17322
17323 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17324
17325         * paragraph.C (writeFile): remove footflag arg
17326
17327         * buffer.C (makeLaTeXFile): use stringstream
17328         (latexParagraphs): remove footnot gurba
17329
17330         * LaTeXFeatures.C (getPackages): use stringstream
17331         (getMacros): likewise
17332         (getTClassPreamble): likewise
17333         (getFloatDefinitions): new method
17334
17335         * paragraph.C (writeFile): reindent
17336         (Erase): reindent
17337
17338         * WorkArea.h: revert the xpos + etc changes.
17339
17340         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17341
17342         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17343
17344         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17345         (pasteSelection): likewise
17346         * text2.C (CreateUndo): likewise
17347
17348 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17349
17350         * minibuffer.C (peek_event): temporarily reduce the functionality
17351         of the minibuffer (to allow args on lfuns)
17352
17353         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17354         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17355
17356         * buffer.C (readInset): add compability reading of old float
17357         lists, add reading of new style float list.
17358         (readInset): avoid reevaluation of inscmd.getCmdName()
17359         (getLists): reindent
17360
17361         * MenuBackend.C (MenuItem): implement parsing of
17362         md_floatlistinsert and md_floatinsert.
17363         (expand::LastFiles): move initalizaton of iterators out of loop,
17364         avoid reevaluation.
17365         (expand::Documents): introduce typdedef vector<string> Strings,
17366         and use it.
17367         (expand::ExportFormats): introduce typedef vector<Format const *>
17368         Formats, and use it.
17369         (expand): implement FloatListInsert and FloatInsert.
17370
17371         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17372         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17373         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17374
17375         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17376         handling.
17377         (Dispatch::LFUN_FLOAT_LIST): implement
17378
17379 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17380
17381         * LaTeX.C (run): Fix problem with --export code.
17382
17383 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17384
17385         * BufferView.[Ch] (workarea): removed.
17386         (getClipboard) new method; wrapper for workarea()->getClipboard()
17387
17388         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17389         bug.
17390
17391         * WorkArea.h (width, height, xpos, ypos): These methods all
17392         returned the dimensions of the work_area sub-area of WorkArea,
17393         resulting in a position error if the WorkArea were resized. Now
17394         return the dimensions of the entire WorkArea.
17395
17396         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17397
17398 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17399
17400         * LaTeX.C (deplog): correct the syntax of regex reg1
17401
17402 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17403
17404         * undo.C: remove !NEW_INSETS cruft
17405
17406 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17407
17408         * text2.C: remove !NEW_INSETS cruft
17409
17410         * text.C: remove !NEW_INSETS cruft
17411
17412         * tabular.C: remove !NEW_INSETS cruft
17413
17414         * spellchecker.C: remove !NEW_INSETS cruft
17415
17416         * lyxtext.h: remove !NEW_INSETS cruft
17417
17418         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17419
17420         * lyxfunc.C: remove !NEW_INSETS cruft
17421
17422         * lyxfind.C: remove !NEW_INSETS cruft
17423
17424         * lyx_cb.C: remove !NEW_INSETS cruft
17425
17426         * figureForm.C: remove  !NEW_INSETS cruft
17427
17428         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17429
17430         * buffer.[Ch]: remove !NEW_INSETS cruft
17431
17432         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17433
17434         * CutAndPaste.C: remove !NEW_INSETS cruft
17435
17436         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17437
17438         * BufferView2.C: remove !NEW_INSETS cruft
17439
17440         * BufferView.h: remove !NEW_INSETS cruft
17441
17442 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17443
17444         * Lsstream.h: include LString.h before the sstream headers to
17445         fix problem with gcc 2.95.3 and lyxstring
17446
17447 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17448
17449         * lyx_main.C: add using directives when needed for C functions
17450         declared in std:: namespace.
17451
17452 2001-04-27  Juergen Vigna  <jug@sad.it>
17453
17454         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17455         (SetHeightOfRow): comment out the update call should not be needed!
17456
17457 2001-04-13  Juergen Vigna  <jug@sad.it>
17458
17459         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17460         (LyXTabular): tried to minimize operator= operations (and realized
17461         hopfully Lars wish).
17462
17463 2001-04-27  Juergen Vigna  <jug@sad.it>
17464
17465         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17466
17467 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17468
17469         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17470
17471         * buffer.C (readInset): hack to make listof algorithm work
17472
17473         * BufferView_pimpl.C: hack to make listof algorithm work
17474
17475 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17476
17477         * LyXAction.C: removed all !NEW_INSETS cruft
17478         (init): moved lfun_item in method
17479
17480         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17481
17482 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17483
17484         * BufferView2.C (theLockingInset): white space.
17485
17486 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17487
17488         * minibuffer.C: include <iostream>
17489
17490         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17491
17492         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17493
17494         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17495
17496         * text.[Ch] (TransposeChars): new method
17497
17498 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17499
17500         * call message directly through LyXView instead of through LyXFunc
17501         * BufferView2.C: adjust
17502         * BufferView_pimpl.C: adjust
17503         * FontLoader.C: adjust
17504         * buffer.C: adjust
17505         * bufferview_funcs.C: adjust
17506         * converter.C: adjust
17507         * figureForm.C: adjust
17508         * importer.C: adjust
17509         * lyx_cb.C: adjust
17510         * lyx_gui_misc.C: adjust
17511         * lyxfunc.C: adjust
17512         * lyxvc.C: adjust
17513         * text2.C: adjust
17514         + more files in subdirs
17515
17516         * lyxparagraph.h (size): move up int file
17517         (GetLayout): ditto
17518
17519         * adjust all uses of Assert to lyx::Assert.
17520
17521         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17522         lyxfunctional in namespace lyx
17523         * layout.C (hasLayout): ditto
17524         (GetLayout): ditto
17525         (GetLayout): ditto
17526         (delete_layout): ditto
17527         (NumberOfClass): ditto
17528         * converter.C (GetFormat): ditto
17529         (GetNumber): ditto
17530         (Add): ditto
17531         (Delete): ditto
17532         (SetViewer): ditto
17533         * bufferlist.C (getFileNames): ditto
17534         (emergencyWriteAll): ditto
17535         (exists): ditto
17536         (getBuffer): ditto
17537         * MenuBackend.C (hasSubmenu): ditto
17538         (hasMenu): ditto
17539         (getMenu): ditto
17540         * BufferView_pimpl.C (getInsetByCode): ditto
17541
17542 2001-04-18  Juergen Vigna  <jug@sad.it>
17543
17544         * vspace.C (asLatexString): fixed the 100% problem.
17545
17546 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17547
17548         * lyxfunc.C (Dispatch):
17549         * minibuffer.C:
17550         * minibuffer.h: add a few std:: qualifiers
17551
17552 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17553
17554         * minibuffer.[Ch]: reimplement so that commands is initiated and
17555         run from lyxfunc, simplified som handling, and made the completion
17556         and history code for complete. wip.
17557
17558         * lyxfunc.C (processKeySym): call message
17559         (miniDispatch): new temporary method
17560         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17561         (LFUN_MESSAGE): implement
17562         (LFUN_MESSAGE_PUSH): implement
17563         (LFUN_MESSAGE_POP): implement
17564         (initMiniBuffer): the initial/defualt minibuffer message.
17565
17566         * lyxfont.[Ch]: inline some more getters
17567
17568         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17569
17570         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17571
17572         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17573         (AutoSave): use LFUN_MESSAGE
17574         (Reconfigure): ditto
17575
17576         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17577
17578         * figureForm.C: use LFUN_MESSAGE
17579
17580         * converter.C (runLaTeX): use LFUN_MESSAGE
17581
17582         * bufferview_funcs.C: use LFUN_MESSAGE
17583         (Melt): ditto
17584         (changeDepth): ditto
17585
17586         * bufferparams.h: use boost::
17587
17588         * bufferlist.h: inherit privately from noncopyable
17589
17590         * bufferlist.C (loadLyXFile): remove some commented code.
17591
17592         * buffer.C (runChktex): use LFUN_MESSAGE
17593
17594         * ShareContainer.h: inherit privately from noncopyable
17595
17596         * ParagraphParameters.[hC] (depth): inline it.
17597
17598         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17599         methods.
17600         (message): new method
17601         (messagePush): ditto
17602         (messagePop): ditto
17603         (show): init minibuffer
17604         (showState): direct call
17605
17606         * LaTeX.[Ch]: inherit privately from noncopyable
17607         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17608         instead of WriteStatus.
17609
17610         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17611
17612         * BufferView_pimpl.C (buffer): don't init minibuffer
17613         (workAreaButtonPress): use LFUN_MESSAGE
17614         (workAreaButtonRelease): ditto
17615         (savePosition): ditto
17616         (restorePosition): ditto
17617         (MenuInsertLyXFile): ditto
17618         (workAreaExpose): don't init minibuffer
17619         (update): remove commented code, simplify
17620
17621         * BufferView2.C (openStuff): use LFUN_MESSAGE
17622         (toggleFloat): ditto
17623         (menuUndo): ditto
17624         (menuRedo): ditto
17625         (copyEnvironment): ditto
17626         (pasteEnvironment): ditto
17627         (copy): ditto
17628         (cut): ditto
17629         (paste): ditto
17630         (gotoInset): ditto
17631         (updateInset): remove some commented code
17632
17633         * lastfiles.h: inherit privately from noncopyable
17634         * layout.h: ditto
17635         * lyx_gui.h: ditto
17636         * lyx_main.h: ditto
17637         * lyxlex.h: ditto
17638         * lyxlex_pimpl.h: ditto
17639
17640         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17641         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17642         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17643
17644         * LyXAction.h: inherit privately from noncopyable, add methods
17645         func_begin, func_end, returning iterators to the func map.
17646
17647         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17648         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17649         (func_begin): new method
17650         (func_end): new method
17651
17652         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17653         and not)
17654         (copySelection): ditto
17655         (pasteSelection): ditto
17656
17657         * BufferView.C: whitespace change
17658         * BufferView.h: inherit privately from noncopyable
17659
17660 2001-04-16  Allan Rae  <rae@lyx.org>
17661
17662         * tabular-old.C (l_getline):
17663         * spellchecker.C (sc_check_word):
17664         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17665         an unrecognised preprocessor directive.  So ensure they're wrapped.
17666
17667 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17668
17669         * src/exporter.C (Export): Give an error message when path to file
17670         contains spaces.
17671
17672 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17673
17674         * LaTeX.C (deplog): Always check that foundfile exists.
17675
17676 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17677
17678         * lyx_main.h:
17679         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17680
17681 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17682
17683         * tabular.[Ch] (getLabelList): implement new method
17684
17685         * minibuffer.h: comment ouf setTiimer
17686
17687         * minibuffer.C (ExecutingCB): constify res
17688         (peek_event): constify s
17689         (Set): constify ntext
17690         (Init): constify nicename
17691
17692         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17693
17694         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17695         (savePosition): use two params to Minibuffer::Set
17696         (restorePosition): ditto
17697
17698 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17699
17700         * lyx_main.C: include language.h
17701
17702         * Makefile.am (lyx_main.o): add language.h
17703
17704 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17705
17706         * exporter.C:
17707         * paragraph.C:
17708         * screen.C:
17709         * tabular.C:
17710         * CutAndPaste.C: include gettext.h
17711
17712         * lyxfont.h: remove old hack with ON and OFF.
17713
17714         * lyxparagraph.h:
17715         * lyxfont.h: do not include language.h...
17716
17717         * BufferView2.C:
17718         * LaTeXFeatures.C:
17719         * Painter.C:
17720         * bufferview_funcs.C:
17721         * font.C:
17722         * lyxfont.C:
17723         * text.C:
17724         * text2.C:
17725         * trans_mgr.C:
17726         * paragraph.C: ... but do it here instead
17727
17728 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17729
17730         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17731
17732         * tabular.C: small reformat
17733
17734         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17735         NEW_INSETS version
17736         (GetChar): ditto
17737         (BreakParagraph): ditto
17738         (SetOnlyLayout): ditto
17739         (SetLayout): ditto
17740
17741         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17742         with one arg less.
17743
17744         * lastfiles.C: removed most using decl, add std:: where needed
17745
17746         * buffer.C: ws changes
17747
17748         * MenuBackend.C (class compare_format): put into anon namespace
17749         (expand): constify label, names, action, action2
17750         (expand):
17751
17752         * text.C (SingleWidth): constify font
17753         (IsBoundary): constify rtl2
17754         (GetVisibleRow): constify ww
17755
17756         * LaTeX.C (deplog): constify logfile
17757
17758         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17759         start_x, end_x
17760         (workAreaExpose): constify widthChange, heightChange
17761
17762         * lyxrow.C (par): moved
17763         (height): moved
17764         (next): moved
17765         * lyxrow.h: as inlines here
17766
17767         * lyxfont.h (shape): moved from lyxfont.C
17768         (emph): moved from lyxfont.C
17769
17770         * lyxfont.C (LyXFont): use initialization list for all
17771         constructors
17772         (shape): move to lyxfont.h as inline
17773         (emph): move to lyxfont.h as inline
17774
17775
17776 2001-04-04  Juergen Vigna  <jug@sad.it>
17777
17778         * vspace.C: had to include stdio.h for use of sscanf
17779
17780 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17781
17782         * BufferView.h:
17783         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17784         independent of xforms.
17785
17786 2001-04-02  Juergen Vigna  <jug@sad.it>
17787
17788         * spellchecker.C: fixed namespace placing!
17789
17790 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17791
17792         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17793         the LyXParagraph * is 0.
17794
17795 2001-03-29  Juergen Vigna  <jug@sad.it>
17796
17797         * vspace.C: added support for %, c%, p%, l%.
17798         (stringFromUnit): added helper function.
17799         (asLatexString): changed to give right results for the %-values.
17800
17801         * buffer.C: convert the widthp in a width%.
17802
17803 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17804
17805         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17806         figureForm.[Ch].
17807
17808         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17809         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17810
17811         * lyx_cb.[Ch]: see above.
17812
17813         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17814         form1.[Ch].
17815
17816         * form1.[Ch]:
17817         * lyx.[Ch]: replaced by figure_form.[Ch].
17818
17819         * lyx_gui.C:
17820         * lyx_gui_misc.C:
17821         * lyxfunc.C: changed headers associated with above changes.
17822
17823 2001-03-27  Juergen Vigna  <jug@sad.it>
17824
17825         * BufferView_pimpl.C: set the temporary cursor right!
17826
17827 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17828
17829         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17830
17831 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17832
17833         * LString.h: removed "using std::getline"!
17834
17835         * BufferView_pimpl.C (Dispatch): changes due to changes in
17836         InsetInclude::Params.
17837
17838         * buffer.C (tag_name): removed redundant break statements as they were
17839         producing lots of warnings with my compiler.
17840
17841 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17842
17843         * LString.h: add "using std::getline" when using the real <string>.
17844
17845 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17846
17847         * buffer.C: removed bitset usage.
17848         PAR_TAG moved to an anonymous name space.
17849         (tag_name): new funtion, also in the anonymous namespace.
17850         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17851         (makeDocBookFile): clean code. Completed transition from string arrays
17852         to string vectors.
17853         (SimpleDocBookOnePar): code clean.
17854
17855 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17856
17857         * tabular.C: add some comments.
17858
17859 2001-03-22  Juergen Vigna  <jug@sad.it>
17860
17861         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17862         compatibility read a bit and fixed bug with minipage in different
17863         depth.
17864
17865 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17866
17867         * buffer.C (pop_tag): removed.
17868         (push_tag): removed.
17869         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17870         array replaced with vector. Added support for CDATA sections.
17871         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17872         at any nest level.
17873         (makeDocBookFile): XML conformant declaration of CDATA section,
17874         fixed bug related to <emphasis> in the first paragraph char.
17875         (sgmlOpenTag): exclude empty tags.
17876         (sgmlCloseTag): ditto.
17877
17878         * buffer.h (pop_tag): removed.
17879         (push_tag): removed.
17880
17881 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17882
17883         * language.h (Languages): added size_type and size().
17884
17885 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17886
17887         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17888         response on compability reading of minipages. One probliem is that
17889         the old usage of minipages was flertydig
17890
17891         * several files here and in subdirs: don't use static at file
17892         scope use anon namespaces instead.
17893
17894 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17895
17896         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17897         LaTeX output. This is necessary for Literate document
17898         processing.
17899
17900 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17901
17902         * buffer.C: insert hfill when needed.
17903
17904         * tabular.C (l_getline): use string::erase, small whitespace change.
17905
17906         * BufferView_pimpl.C: try the anon namespace.
17907         * WorkArea.C: ditto
17908
17909 2001-03-16  Juergen Vigna  <jug@sad.it>
17910
17911         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17912         otherwise it won't open options-dialogs.
17913
17914         * buffer.C: honor pextraWidth(p) on converting minipages.
17915
17916         * tabular.C (l_getline): changed the functions to strip trailing \r.
17917
17918 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17919
17920         * BufferView_pimpl.C:
17921         * minibuffer..C: added "using SigC::slot" declaration.
17922
17923 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17924
17925         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17926
17927         * text2.C: ditto
17928
17929         * text.C: ditto
17930
17931         * paragraph.C: ditto
17932
17933         * lyxtext.h: NO_PEXTRA
17934
17935         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17936
17937         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17938         * ParameterStruct.h: ditto
17939         * ParagraphParameters.h: ditto
17940         * lyxparagraph.h: ditto
17941
17942 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17943
17944         * buffer.C: add compability for minipage alignment.
17945         (latexParagraphs): remove unwanted pextra check.
17946
17947         * several files: remove CXX_WORKING_NAMESPACES
17948
17949         * buffer.C (pop_tag): tie is in namespace boost
17950
17951         * BufferView.h: noncopyable is in namespace boost
17952         * lyxlex.h: ditto
17953         * lyx_main.h: ditto
17954         * lyx_gui.h: ditto
17955         * layout.h: ditto
17956         * lastfiles.h: ditto
17957         * bufferlist.h: ditto
17958         * ShareContainer.h: ditto
17959         * LyXView.h: ditto
17960         * LyXAction.h: ditto
17961         * LaTeX.h: ditto
17962
17963 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17964
17965         * Merging changes from BRANCH_MVC back into HEAD.
17966
17967         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17968
17969 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17970
17971         * BufferView_pimpl.C: change from intl.C
17972
17973         * combox.h:
17974         * combox.C:
17975         * Makefile.am: move combox.*
17976
17977         * form1.h:
17978         * form1.C:
17979         * lyx_gui.C:
17980         * intl.h:
17981         * intl.C: remove dialog (covered by prefs)
17982
17983 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17984
17985         * lyxfunc.C (Dispatch): removed redundant break statement.
17986
17987 2001-03-14  Juergen Vigna  <jug@sad.it>
17988
17989         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17990
17991 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17992
17993         * buffer.C: add hack to fix compability reading of minipages.
17994
17995 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17996
17997         * buffer.C (getLists): Cleanup.
17998
17999 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18000
18001         * lyxfont.C (update): don't honor toggleall on font size.
18002
18003 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18004
18005         * bmtable.c:
18006         * bmtable.h:
18007         * Makefile.am: moved to frontends/xforms/
18008
18009         * lyx_gui_misc.C:
18010         * lyxfunc.C:
18011         * BufferView_pimpl.C: changes for moved mathpanel
18012
18013 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18014
18015         * gettext.h: fix gettext_init() in --disable-nls
18016
18017 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18018
18019         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18020
18021 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18022
18023         * lyx.C:
18024         * lyx.h: strip external form
18025
18026 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18027
18028         * BufferView_pimpl.C: add comment, destroySplash()
18029
18030 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18031
18032         * BufferView_pimpl.C:
18033         * LyXAction.C:
18034         * buffer.C:
18035         * commandtags.h:
18036         * lyxfunc.C: use re-worked insetinclude
18037
18038 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18039
18040         * buffer.C: add using std::stringstream.
18041
18042         * lyx_cb.C: readd using std::ios.
18043
18044         * buffer.C: add using std::map.
18045
18046         * BufferView_pimpl.C: add using std::vector.
18047
18048         * ShareContainer.h: add std:: to swap.
18049
18050         * buffer.h: add some typedefs
18051         * buffer.C (getLists): use them
18052         (getLists): renamed from getTocList.
18053         add a counter for the different float types and use it in the
18054         generated string.
18055         (getLists): use the same counter for the NEW_INSETS and the "non"
18056         NEW_INSETS
18057
18058         * lyx_cb.h: remove unused items, includes, using etc.
18059
18060         * ShareContainer.h: remove some commented code, add more comments
18061         and "documentation".
18062
18063 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18064
18065         * buffer.C (getTocList): make the list also when NEW_INSETS is
18066         defined.
18067
18068         * buffer.h: remove TocType
18069
18070         * buffer.C (getTocList): change to return a map<string,
18071         vector<TocItem> >, implement for dynamic number of list.
18072
18073         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18074         * text2.C (PasteSelection): adjust
18075         * CutAndPaste.C (pasteSelection): adjust
18076
18077         * FloatList.C (FloatList): update from the new_insets branch.
18078         * Floating.[Ch]: ditto
18079         * LaTeXFeatures.C: ditto
18080         * buffer.C: ditto
18081         * lyxlex_pimpl.C: ditto
18082
18083         * paragraph.C (Last): remove when NEW_INSETS is defined.
18084
18085         * other file: changes because of the above.
18086
18087 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18088
18089         * lyxparagraph.h: rename next to next_, previous to previous_,
18090         make them private for NEW_INSETS. Rename Next() to next(),
18091         Previous() to previous().
18092
18093         * other files: changes because of the above.
18094
18095 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18096
18097         * BufferView.h:
18098         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18099         problem.
18100
18101 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18102
18103         * main.C (main): pass lyx_localedir to gettext_init().
18104
18105         * gettext.h: remove locale_init and gettext_init macros
18106
18107         * gettext.C (locale_init): new function
18108         (gettext_init): new function
18109
18110         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18111         setlocale().
18112
18113 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18114
18115         * Moved credits to frontends:
18116         * credits.[Ch]: removed
18117         * credits_form.[Ch]: removed
18118         * lyx_gui_misc.C: remove credits stuff
18119         * Makefile.am:
18120
18121 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18122
18123         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18124
18125         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18126         unneeded destructor.
18127
18128         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18129         a standalone pointer again.
18130
18131         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18132
18133 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18134
18135         * Makefile.am:
18136         * filedlg.h:
18137         * filedlg.C:
18138         * LyXAction.C:
18139         * ToolbarDefaults.C:
18140         * bufferlist.C:
18141         * commandtags.h:
18142         * form1.C:
18143         * form1.h:
18144         * lyx_cb.C:
18145         * lyx_cb.h:
18146         * lyxfunc.h:
18147         * lyxfunc.C:
18148         * BufferView_pimpl.C: use new file dialog in GUII
18149
18150         * lyx_cb.h:
18151         * lyx_cb.C: remove LayoutsCB to Toolbar
18152
18153 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18154
18155         * ShareContainer.h (get): add std:: qualifier
18156
18157 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18158
18159         * ShareContainer.h: define a proper ShareContainer::value_type
18160         type (and use typename to please compaq cxx)
18161
18162 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18163
18164         * lyxparagraph.h: move serveral local vars to
18165         ParameterStruct/ParagraphParameters., use ShareContainer in
18166         FontTable., make vars in FontTable private and add getter and
18167         setter.
18168
18169         * paragraph.C: changes because of the above.
18170
18171         * lyxfont.h: remove copy constructor and copy assignment. (the
18172         default ones is ok), move number inside FontBits. move inlines to
18173         lyxfont.C
18174
18175         * lyxfont.C: add number to initializaton of statics, move several
18176         inlines here. constify several local vars. some whitespace
18177         cleanup. Dont hide outerscope variables.
18178
18179         * Spacing.h: add two new constructors to match the set methods.
18180
18181         * ShareContainer.h: new file, will perhaps be moved to support
18182
18183         * ParameterStruct.h: new file
18184
18185         * ParagraphParameters.h: new file
18186
18187         * ParagraphParameters.C: new file
18188
18189         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18190         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18191
18192         * BufferView_pimpl.C: ParagraphParameter changes.
18193         * buffer.C: Likewise.
18194         * bufferview_funcs.C: Likewise.
18195         * text.C: Likewise.
18196         * text2.C: Likewise.
18197
18198 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18199
18200         * lyxfind.C (LyXReplace): do not redefine default argument in
18201         implementation.
18202         (IsStringInText): ditto
18203         (SearchForward): ditto
18204         (SearchBackward): ditto
18205
18206 2001-03-06  Juergen Vigna  <jug@sad.it>
18207
18208         * lyxfind.C (IsStringInText): put parentes around expressions.
18209
18210 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18211
18212         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18213
18214 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18215
18216         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18217
18218         * stl_string_fwd.h: add comment
18219
18220         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18221
18222         * tabular.h:
18223         * tabular.C: remove unused DocBook methods
18224
18225         * intl.C:
18226         * language.C:
18227         * paragraph.C:
18228         * buffer.C:
18229         killed DO_USE_DEFAULT_LANGUAGE
18230
18231 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18232
18233         * lyx_gui.C: do not include language.h.
18234
18235         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18236         arguments in function implementation.
18237
18238 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18239
18240         * BufferView_pimpl.C: add <ctime>
18241
18242 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18243
18244         * BufferView_pimpl.C: add using std::find_if
18245
18246 2001-02-27  José Matos  <jamatos@fep.up.pt>
18247
18248         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18249         by OnlyPath.
18250
18251 2001-02-11  José Matos  <jamatos@fep.up.pt>
18252
18253         * buffer.C (makeDocBookFile): command styles now have a parameter as
18254         "title" by default.
18255
18256 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18257
18258         * layout_forms.[Ch]: removed
18259         * lyx_cb.[Ch]: out character
18260         * lyx_gui.C: out character
18261         * lyx_gui_misc.C: out character
18262         * bufferview_funcs.C: : out character,
18263         added toggleall as parameter in ToggleAndShow
18264
18265 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18266
18267         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18268
18269         * text2.C (SetCurrentFont): Disable number property at boundary.
18270
18271 2001-02-26  Juergen Vigna  <jug@sad.it>
18272
18273         * lyxfunc.C (getStatus): added a string argument override function so
18274         that this is correctly called from LyXFunc::Dispatch if it contains a
18275         do_not_use_argument which is used!
18276         (Dispatch): added check for "custom" export and call appropriate func.
18277
18278 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18279
18280         * lyxrc.C: Add language_command_local, language_use_babel and
18281         language_global_options.
18282
18283         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18284
18285         * buffer.C (makeLaTeXFile): Use language_use_babel and
18286         language_global_options.
18287
18288 2001-02-23  Juergen Vigna  <jug@sad.it>
18289
18290         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18291         which works with LyXText and putted it inside BufferView. Here now we
18292         only call for that part the BufferView::Dispatch() function.
18293
18294         * BufferView.C (Dispatch): added.
18295
18296         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18297         functions which needs to use a LyXText over from LyXFunc.
18298         (MenuInsertLyXFile): added
18299         (getInsetByCode): added
18300         (moveCursorUpdate): added
18301         (static TEXT): added
18302
18303 2001-02-22  Juergen Vigna  <jug@sad.it>
18304
18305         * BufferView_pimpl.C (update): call a status update to see if LyXText
18306         needs it.
18307
18308 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18309
18310         * vc-backend.C (revert): implement for CVS
18311         (getLog): implement for CVS
18312
18313 2001-02-20  Juergen Vigna  <jug@sad.it>
18314
18315         * text2.C (ClearSelection): added BufferView param for inset_owner call
18316
18317         * lyxfunc.C (TEXT): added this function and use it instead of
18318         directly owner->view()-text of getLyXText().
18319
18320 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18321
18322         * src/layout_forms.C: out preamble
18323         * src/layout_forms.h: out preamble
18324         * src/lyx_cb.C: out preamble
18325         * src/lyx_cb.h: out preamble
18326         * src/lyx_gui.C: out preamble
18327         * src/lyx_gui_misc.C: out preamble
18328         * src/lyxfunc.C: connect with guii preamble
18329
18330 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18331
18332         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18333
18334 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18335
18336         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18337         whether to run bibtex.
18338
18339 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18340
18341         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18342
18343 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18344
18345         * Makefile.am (lyx_SOURCES): removed bibforms.h
18346
18347         * vspace.h: doxygen
18348
18349         * text.C (GetVisibleRow): make several local vars const
18350
18351         * tabular.C: small cleanup.
18352
18353         * lyxserver.C (callback): use compare instead of strncmp
18354
18355         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18356         inlines to after class or to paragraph.C
18357
18358         * lyxfont.h: remove friend operator!=
18359
18360         * converter.h: move friend bool operator< to non friend and after
18361         class def.
18362
18363         * combox.h: small cleanup
18364
18365         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18366         to inlines after class def.
18367
18368         * buffer.C (pop_tag): use string operations instead of strcmp
18369
18370         * bmtable.c: doxygen, small cleanup
18371
18372         * LaTeX.h: remove friend operator==
18373
18374 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18375
18376         * screen.C:
18377         * lyxrc.[Ch]:
18378         * lyxfunc.C:
18379         * lyxfont.[Ch]:
18380         * lyx_cb.C:
18381         * intl.[Ch]:
18382         * commandtags.h:
18383         * buffer.C:
18384         * WorkArea.[Ch]:
18385         * LyXAction.C:
18386         * BufferView_pimpl.C:
18387         * BufferView.[Ch]: remove cruft
18388
18389 2001-02-14  Juergen Vigna  <jug@sad.it>
18390
18391         * lyxfunc.C: removed #if 0 unused code
18392
18393         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18394
18395         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18396
18397         * text2.C (SetSelection): added a BufferView * parameter
18398
18399 2001-02-13  Juergen Vigna  <jug@sad.it>
18400
18401         * lyxfunc.C (Dispatch): fixed protected blank problem.
18402         * BufferView2.C (protectedBlank): added LyxText * parameter.
18403
18404         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18405         (AppendColumn): same as above for column_info.
18406
18407         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18408         (moveCursorUpdate): use a LyXText param for support of InsetText.
18409
18410         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18411         (tripleClick): ditto
18412
18413         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18414
18415         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18416
18417         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18418
18419         * text2.C (SetSelection): set correct update status if inset_owner
18420         (ToggleFree): ditto
18421
18422 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18423
18424         * tabular.C: remove some commented code.
18425
18426 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18427
18428         * BufferView_pimpl.C: call hideSplash()
18429
18430         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18431
18432         * include_form.h:
18433         * bibforms.h: remove
18434
18435         * lyxfunc.C:
18436         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18437           add LFUN_CHILD_CREATE
18438
18439         * counters.h: fix tiny typo
18440
18441         * lyx_cb.C:
18442         * lyx.h:
18443         * lyx_gui.C:
18444         * lyx.C: move splash to frontends/xforms/
18445
18446         * lyx_gui_misc.C: move Include and Bibform to frontends
18447
18448         * lyxvc.h: clarify comment
18449
18450         * vspace.C: tiny housekeeping
18451
18452 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18453
18454         * text.C (PrepareToPrint): RTL Fix.
18455
18456         * paragraph.C (GetUChar): New method.
18457         (String):  Use GetUChar.
18458
18459         * buffer.C (asciiParagraph): Use GetUChar.
18460
18461 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18462
18463         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18464
18465 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18466
18467         * buffer.h:
18468         * buffer.C: rename to getLogName(), handle
18469           build log / latex log nicely
18470
18471 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18472
18473         * MenuBackend.C:
18474         * MenuBackend.h: remove support for reference menuitem type.
18475
18476 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18477
18478         * BufferView_pimpl.C: housekeeping
18479         * BufferView_pimpl.h:
18480         * LyXView.h:
18481         * Makefile.am:
18482         * Timeout.C:
18483         * Timeout.h:
18484         * minibuffer.h: move Timeout GUI-I
18485
18486 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18487
18488         * lyxrc.C (read): Update converters data-structures.
18489
18490 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18491
18492         * LaTeX.h (operator!=): add operator != for Aux_Info
18493
18494 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18495
18496         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18497
18498         * LaTeXLog.C: deleted, useful code moved to Buffer
18499
18500         * buffer.h:
18501         * buffer.C: new function getLatexLogName()
18502
18503         * lyx_gui_misc.C:
18504         * lyx_gui.C:
18505         * lyxvc.C:
18506         * lyxvc.h:
18507         * lyxfunc.C: use frontends for LaTeX and VC logs
18508
18509 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18510
18511         * LaTeX.h: yet another std:: that Allan forgot.
18512
18513         * Variables.C (set): renamed from isset(), because this clashes
18514         with some HP-UX macros (grr).
18515
18516 2001-02-06  Allan Rae  <rae@lyx.org>
18517
18518         * LaTeX.h: Another bug fix.  Missing std:: this time.
18519
18520 2001-02-04  Allan Rae  <rae@lyx.org>
18521
18522         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18523         floats problem. I've left it commented out because it's not quite
18524         correct.  It should also test that the current object is a table or
18525         figure inset.  But I haven't gotten around to figuring out how to do
18526         that.  I *think* it'll be something like: "table" == inset.type()
18527
18528         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18529         bool.
18530
18531 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18532
18533         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18534         all the citation/databases/styles in the auxilary file.
18535         (run): Rerun latex if there was a babel language error.
18536
18537 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18538
18539         * text.C (Backspace): Preserve the font when changing newline char
18540         with a space.
18541         (BreakParagraph): If the cursor is before a space, delete the space.
18542
18543         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18544
18545 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18546
18547         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18548         new argument (code).
18549         (ChangeCitationsIfUnique): New method.
18550
18551         * paragraph.C (GetPositionOfInset): Handle bibkey.
18552
18553 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18554
18555         * BufferView_pimpl.h: change type of Position::par_pos to
18556         LyXParagraph::size_type.
18557
18558 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18559
18560         * BufferView_pimpl.C (savePosition, restorePosition): Write
18561         messages to minibuffer.
18562
18563 2001-01-28  José Matos  <jamatos@fep.up.pt>
18564
18565         * buffer.C (makeDocBookFile): adds support for document language.
18566         A silly restriction on the name of LatexCommand types where removed.
18567         Added support for CDATA sections, allows to chars unescaped, used
18568         among others in code, to avoid escape < and >.
18569
18570 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18571
18572         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18573         saved positions instrad of a stack. Furthermore, a position is
18574         stored using paragraph id/paragraph position.
18575
18576         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18577         Remove LFUN_REF_BACK.
18578
18579 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18580
18581         * converter.C (dvipdfm_options): New method.
18582
18583 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18584
18585         * vspace.C (isValidLength): Fix for empty input string.
18586
18587 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18588
18589         * LyXAction.C (init): change description of LFUN_FIGURE to
18590         "Insert Graphics"
18591
18592 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18593
18594         * LaTeX.C: add using directive
18595
18596 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18597
18598         * MenuBackend.C (expand): Fix the sorting of the formats.
18599
18600 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18601
18602         * lyx_main.C: tiny error message fix
18603
18604 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18605
18606         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18607         calling fl_initialize(). This fixes the problem with ',' as
18608         decimal separator in text files.
18609
18610 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18611
18612         * trans.C (process): Fix the keymap bug.
18613
18614 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18615
18616         * LaTeX.C (scanAuxFiles): New method. Provides support for
18617         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18618         (scanLogFile) Scan for "run BibTeX" messages.
18619
18620         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18621         OT1 font encoding. Also, load the aecompl package if the ae
18622         package is loaded.
18623
18624         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18625
18626 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18627
18628         * texrow.C (increasePos): turn two error messages into debug
18629         messages.
18630
18631 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18632
18633         * LaTeX.C (scanAux): Handle the \@input macro.
18634         (runBibTeX): Use scanAux().
18635
18636         * language.C (latex_options_): New field.
18637
18638         * LaTeXFeatures.C (getMacros): Add language macros.
18639
18640         * buffer.C (makeLaTeXFile): Small fix.
18641
18642 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18643
18644         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18645
18646         * text2.C: add a using directive.
18647
18648 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18649
18650         * BufferView2.C:
18651         * lyx_gui_misc.h:
18652         * lyxfr1.C:
18653         * lyxfunc.C: kill LyXBell.
18654
18655 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18656
18657         * text.C (IsBoundary): Remove the error message
18658
18659         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18660
18661         * lyxrc.C (setDefaults): Correct initialization value for
18662         font_norm_type.
18663
18664 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18665
18666         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18667         gotoError().
18668
18669         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18670         and GotoNextNote().
18671
18672         * src/LyXAction.C: Added reference-next.
18673
18674         * text.C (InsertChar): Use contains instead of strchr.
18675
18676         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18677
18678 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18679
18680         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18681         alignment commands (when needed).
18682
18683         * text.C (InsertChar): Add ':' to number separator chars.